docs.go 1.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询企业风管期货商品信息",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1214. "name": "userid",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GZBSFWOrderOperate": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "保税服务单据操作信息",
  7570. "parameters": [
  7571. {
  7572. "type": "integer",
  7573. "description": "单据ID",
  7574. "name": "orderid",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "type": "array",
  7584. "items": {
  7585. "$ref": "#/definitions/models.Gzbsfworderoperate"
  7586. }
  7587. }
  7588. },
  7589. "500": {
  7590. "description": "Internal Server Error",
  7591. "schema": {
  7592. "$ref": "#/definitions/app.Response"
  7593. }
  7594. }
  7595. }
  7596. }
  7597. },
  7598. "/Guangzuan/GetGoods": {
  7599. "get": {
  7600. "security": [
  7601. {
  7602. "ApiKeyAuth": []
  7603. },
  7604. {
  7605. "LoginID": []
  7606. },
  7607. {
  7608. "Group": []
  7609. }
  7610. ],
  7611. "produces": [
  7612. "application/json"
  7613. ],
  7614. "tags": [
  7615. "广钻"
  7616. ],
  7617. "summary": "获取钻石详情",
  7618. "parameters": [
  7619. {
  7620. "type": "string",
  7621. "description": "商品编号",
  7622. "name": "goodsno",
  7623. "in": "query",
  7624. "required": true
  7625. }
  7626. ],
  7627. "responses": {
  7628. "200": {
  7629. "description": "OK",
  7630. "schema": {
  7631. "$ref": "#/definitions/models.GZGoods"
  7632. }
  7633. },
  7634. "500": {
  7635. "description": "Internal Server Error",
  7636. "schema": {
  7637. "$ref": "#/definitions/app.Response"
  7638. }
  7639. }
  7640. }
  7641. }
  7642. },
  7643. "/Guangzuan/GzCertAddressConfig": {
  7644. "get": {
  7645. "security": [
  7646. {
  7647. "ApiKeyAuth": []
  7648. },
  7649. {
  7650. "LoginID": []
  7651. },
  7652. {
  7653. "Group": []
  7654. }
  7655. ],
  7656. "produces": [
  7657. "application/json"
  7658. ],
  7659. "tags": [
  7660. "广钻"
  7661. ],
  7662. "summary": "Rapaport最新报价表(广钻)",
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.Gzcertaddressconfig"
  7670. }
  7671. }
  7672. },
  7673. "500": {
  7674. "description": "Internal Server Error",
  7675. "schema": {
  7676. "$ref": "#/definitions/app.Response"
  7677. }
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "/Guangzuan/GzCertAddressParam": {
  7683. "get": {
  7684. "security": [
  7685. {
  7686. "ApiKeyAuth": []
  7687. },
  7688. {
  7689. "LoginID": []
  7690. },
  7691. {
  7692. "Group": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "广钻"
  7700. ],
  7701. "summary": "钻石证书地址参数",
  7702. "responses": {
  7703. "200": {
  7704. "description": "OK",
  7705. "schema": {
  7706. "type": "array",
  7707. "items": {
  7708. "$ref": "#/definitions/models.Gzcertaddressparam"
  7709. }
  7710. }
  7711. },
  7712. "500": {
  7713. "description": "Internal Server Error",
  7714. "schema": {
  7715. "$ref": "#/definitions/app.Response"
  7716. }
  7717. }
  7718. }
  7719. }
  7720. },
  7721. "/Guangzuan/HomeData": {
  7722. "get": {
  7723. "security": [
  7724. {
  7725. "ApiKeyAuth": []
  7726. },
  7727. {
  7728. "LoginID": []
  7729. },
  7730. {
  7731. "Group": []
  7732. }
  7733. ],
  7734. "produces": [
  7735. "application/json"
  7736. ],
  7737. "tags": [
  7738. "广钻"
  7739. ],
  7740. "summary": "首页统计数据",
  7741. "parameters": [
  7742. {
  7743. "type": "integer",
  7744. "description": "用户ID",
  7745. "name": "userid",
  7746. "in": "query",
  7747. "required": true
  7748. }
  7749. ],
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "$ref": "#/definitions/models.GZHomeData"
  7755. }
  7756. },
  7757. "500": {
  7758. "description": "Internal Server Error",
  7759. "schema": {
  7760. "$ref": "#/definitions/app.Response"
  7761. }
  7762. }
  7763. }
  7764. }
  7765. },
  7766. "/Guangzuan/PriceCalc": {
  7767. "get": {
  7768. "security": [
  7769. {
  7770. "ApiKeyAuth": []
  7771. },
  7772. {
  7773. "LoginID": []
  7774. },
  7775. {
  7776. "Group": []
  7777. }
  7778. ],
  7779. "produces": [
  7780. "application/json"
  7781. ],
  7782. "tags": [
  7783. "广钻"
  7784. ],
  7785. "summary": "钻石价格计算器",
  7786. "parameters": [
  7787. {
  7788. "type": "integer",
  7789. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  7790. "name": "zsshape",
  7791. "in": "query",
  7792. "required": true
  7793. },
  7794. {
  7795. "type": "string",
  7796. "description": "颜色(D-M)",
  7797. "name": "zscolor",
  7798. "in": "query",
  7799. "required": true
  7800. },
  7801. {
  7802. "type": "string",
  7803. "description": "净度",
  7804. "name": "zsclarity",
  7805. "in": "query",
  7806. "required": true
  7807. },
  7808. {
  7809. "type": "number",
  7810. "description": "重量",
  7811. "name": "weight",
  7812. "in": "query",
  7813. "required": true
  7814. },
  7815. {
  7816. "type": "number",
  7817. "description": "汇率",
  7818. "name": "rate",
  7819. "in": "query",
  7820. "required": true
  7821. },
  7822. {
  7823. "type": "number",
  7824. "description": "折扣(%), 方向(加:10, 减:-10 )",
  7825. "name": "discount",
  7826. "in": "query"
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.Gzrapaportprice"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Guangzuan/QueryBuyOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. },
  7854. {
  7855. "LoginID": []
  7856. },
  7857. {
  7858. "Group": []
  7859. }
  7860. ],
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "广钻"
  7866. ],
  7867. "summary": "查询求购大厅委托单",
  7868. "parameters": [
  7869. {
  7870. "type": "integer",
  7871. "description": "页码",
  7872. "name": "page",
  7873. "in": "query"
  7874. },
  7875. {
  7876. "type": "integer",
  7877. "description": "每页条数",
  7878. "name": "pagesize",
  7879. "in": "query"
  7880. },
  7881. {
  7882. "type": "string",
  7883. "description": "商品(查询字段-模糊查询)",
  7884. "name": "zsallproperties",
  7885. "in": "query"
  7886. },
  7887. {
  7888. "type": "string",
  7889. "description": "钻石分类, 格式:1,2,3",
  7890. "name": "zscategorys",
  7891. "in": "query"
  7892. },
  7893. {
  7894. "type": "integer",
  7895. "description": "委托单号",
  7896. "name": "wrtradeorderid",
  7897. "in": "query"
  7898. },
  7899. {
  7900. "type": "string",
  7901. "description": "买方(查询字段-模糊查询)",
  7902. "name": "buyusername",
  7903. "in": "query"
  7904. }
  7905. ],
  7906. "responses": {
  7907. "200": {
  7908. "description": "OK",
  7909. "schema": {
  7910. "type": "array",
  7911. "items": {
  7912. "$ref": "#/definitions/models.BuyOrder"
  7913. }
  7914. }
  7915. },
  7916. "500": {
  7917. "description": "Internal Server Error",
  7918. "schema": {
  7919. "$ref": "#/definitions/app.Response"
  7920. }
  7921. }
  7922. }
  7923. }
  7924. },
  7925. "/Guangzuan/QueryDiamond": {
  7926. "post": {
  7927. "security": [
  7928. {
  7929. "ApiKeyAuth": []
  7930. },
  7931. {
  7932. "LoginID": []
  7933. },
  7934. {
  7935. "Group": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "广钻"
  7943. ],
  7944. "summary": "钻石搜索",
  7945. "parameters": [
  7946. {
  7947. "description": "钻石搜索入参",
  7948. "name": "data",
  7949. "in": "body",
  7950. "required": true,
  7951. "schema": {
  7952. "$ref": "#/definitions/models.SellOrderQueryReq"
  7953. }
  7954. }
  7955. ],
  7956. "responses": {
  7957. "200": {
  7958. "description": "OK",
  7959. "schema": {
  7960. "type": "array",
  7961. "items": {
  7962. "$ref": "#/definitions/models.SellOrder"
  7963. }
  7964. }
  7965. },
  7966. "500": {
  7967. "description": "Internal Server Error",
  7968. "schema": {
  7969. "$ref": "#/definitions/app.Response"
  7970. }
  7971. }
  7972. }
  7973. }
  7974. },
  7975. "/Guangzuan/QueryGZBSFWOrder": {
  7976. "get": {
  7977. "security": [
  7978. {
  7979. "ApiKeyAuth": []
  7980. },
  7981. {
  7982. "LoginID": []
  7983. },
  7984. {
  7985. "Group": []
  7986. }
  7987. ],
  7988. "produces": [
  7989. "application/json"
  7990. ],
  7991. "tags": [
  7992. "广钻"
  7993. ],
  7994. "summary": "查询保税服务单据",
  7995. "parameters": [
  7996. {
  7997. "type": "integer",
  7998. "description": "用户ID",
  7999. "name": "userid",
  8000. "in": "query",
  8001. "required": true
  8002. },
  8003. {
  8004. "type": "integer",
  8005. "description": "页码",
  8006. "name": "page",
  8007. "in": "query"
  8008. },
  8009. {
  8010. "type": "integer",
  8011. "description": "每页条数",
  8012. "name": "pagesize",
  8013. "in": "query"
  8014. }
  8015. ],
  8016. "responses": {
  8017. "200": {
  8018. "description": "OK",
  8019. "schema": {
  8020. "type": "array",
  8021. "items": {
  8022. "$ref": "#/definitions/models.GzbsfworderM"
  8023. }
  8024. }
  8025. },
  8026. "500": {
  8027. "description": "Internal Server Error",
  8028. "schema": {
  8029. "$ref": "#/definitions/app.Response"
  8030. }
  8031. }
  8032. }
  8033. }
  8034. },
  8035. "/Guangzuan/QueryGZBSFWOrderDetail": {
  8036. "get": {
  8037. "security": [
  8038. {
  8039. "ApiKeyAuth": []
  8040. },
  8041. {
  8042. "LoginID": []
  8043. },
  8044. {
  8045. "Group": []
  8046. }
  8047. ],
  8048. "produces": [
  8049. "application/json"
  8050. ],
  8051. "tags": [
  8052. "广钻"
  8053. ],
  8054. "summary": "查询保税服务单据明细",
  8055. "parameters": [
  8056. {
  8057. "type": "integer",
  8058. "description": "用户ID",
  8059. "name": "userid",
  8060. "in": "query",
  8061. "required": true
  8062. },
  8063. {
  8064. "type": "integer",
  8065. "description": "单据ID",
  8066. "name": "orderid",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "integer",
  8071. "description": "页码",
  8072. "name": "page",
  8073. "in": "query"
  8074. },
  8075. {
  8076. "type": "integer",
  8077. "description": "每页条数",
  8078. "name": "pagesize",
  8079. "in": "query"
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "type": "array",
  8087. "items": {
  8088. "$ref": "#/definitions/models.GzbsfworderdetailM"
  8089. }
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Guangzuan/QueryGZCJBSOrderFile": {
  8102. "get": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. },
  8107. {
  8108. "LoginID": []
  8109. },
  8110. {
  8111. "Group": []
  8112. }
  8113. ],
  8114. "produces": [
  8115. "application/json"
  8116. ],
  8117. "tags": [
  8118. "广钻"
  8119. ],
  8120. "summary": "出境保税单据文件",
  8121. "parameters": [
  8122. {
  8123. "type": "integer",
  8124. "description": "单据ID",
  8125. "name": "orderid",
  8126. "in": "query",
  8127. "required": true
  8128. },
  8129. {
  8130. "type": "integer",
  8131. "description": "页码",
  8132. "name": "page",
  8133. "in": "query"
  8134. },
  8135. {
  8136. "type": "integer",
  8137. "description": "每页条数",
  8138. "name": "pagesize",
  8139. "in": "query"
  8140. }
  8141. ],
  8142. "responses": {
  8143. "200": {
  8144. "description": "OK",
  8145. "schema": {
  8146. "type": "array",
  8147. "items": {
  8148. "$ref": "#/definitions/models.GzcjbsorderfileM"
  8149. }
  8150. }
  8151. },
  8152. "500": {
  8153. "description": "Internal Server Error",
  8154. "schema": {
  8155. "$ref": "#/definitions/app.Response"
  8156. }
  8157. }
  8158. }
  8159. }
  8160. },
  8161. "/Guangzuan/QueryGZCJJCOrder": {
  8162. "get": {
  8163. "security": [
  8164. {
  8165. "ApiKeyAuth": []
  8166. },
  8167. {
  8168. "LoginID": []
  8169. },
  8170. {
  8171. "Group": []
  8172. }
  8173. ],
  8174. "produces": [
  8175. "application/json"
  8176. ],
  8177. "tags": [
  8178. "广钻"
  8179. ],
  8180. "summary": "查询出境检测单据",
  8181. "parameters": [
  8182. {
  8183. "type": "integer",
  8184. "description": "用户ID",
  8185. "name": "userid",
  8186. "in": "query",
  8187. "required": true
  8188. },
  8189. {
  8190. "type": "integer",
  8191. "description": "页码",
  8192. "name": "page",
  8193. "in": "query"
  8194. },
  8195. {
  8196. "type": "integer",
  8197. "description": "每页条数",
  8198. "name": "pagesize",
  8199. "in": "query"
  8200. }
  8201. ],
  8202. "responses": {
  8203. "200": {
  8204. "description": "OK",
  8205. "schema": {
  8206. "type": "array",
  8207. "items": {
  8208. "$ref": "#/definitions/models.GzcjjcorderM"
  8209. }
  8210. }
  8211. },
  8212. "500": {
  8213. "description": "Internal Server Error",
  8214. "schema": {
  8215. "$ref": "#/definitions/app.Response"
  8216. }
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "/Guangzuan/QueryGZCJJCOrderDetail": {
  8222. "get": {
  8223. "security": [
  8224. {
  8225. "ApiKeyAuth": []
  8226. },
  8227. {
  8228. "LoginID": []
  8229. },
  8230. {
  8231. "Group": []
  8232. }
  8233. ],
  8234. "produces": [
  8235. "application/json"
  8236. ],
  8237. "tags": [
  8238. "广钻"
  8239. ],
  8240. "summary": "查询出境检测单据明细(批次信息)",
  8241. "parameters": [
  8242. {
  8243. "type": "integer",
  8244. "description": "用户ID",
  8245. "name": "userid",
  8246. "in": "query",
  8247. "required": true
  8248. },
  8249. {
  8250. "type": "integer",
  8251. "description": "单据ID",
  8252. "name": "orderid",
  8253. "in": "query"
  8254. },
  8255. {
  8256. "type": "integer",
  8257. "description": "页码",
  8258. "name": "page",
  8259. "in": "query"
  8260. },
  8261. {
  8262. "type": "integer",
  8263. "description": "每页条数",
  8264. "name": "pagesize",
  8265. "in": "query"
  8266. }
  8267. ],
  8268. "responses": {
  8269. "200": {
  8270. "description": "OK",
  8271. "schema": {
  8272. "type": "array",
  8273. "items": {
  8274. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  8275. }
  8276. }
  8277. },
  8278. "500": {
  8279. "description": "Internal Server Error",
  8280. "schema": {
  8281. "$ref": "#/definitions/app.Response"
  8282. }
  8283. }
  8284. }
  8285. }
  8286. },
  8287. "/Guangzuan/QueryMemberReport": {
  8288. "get": {
  8289. "security": [
  8290. {
  8291. "ApiKeyAuth": []
  8292. },
  8293. {
  8294. "LoginID": []
  8295. },
  8296. {
  8297. "Group": []
  8298. }
  8299. ],
  8300. "produces": [
  8301. "application/json"
  8302. ],
  8303. "tags": [
  8304. "广钻"
  8305. ],
  8306. "summary": "查询会员报表",
  8307. "parameters": [
  8308. {
  8309. "type": "integer",
  8310. "description": "用户ID",
  8311. "name": "userid",
  8312. "in": "query",
  8313. "required": true
  8314. },
  8315. {
  8316. "type": "integer",
  8317. "description": "页码",
  8318. "name": "page",
  8319. "in": "query"
  8320. },
  8321. {
  8322. "type": "integer",
  8323. "description": "每页条数",
  8324. "name": "pagesize",
  8325. "in": "query"
  8326. },
  8327. {
  8328. "type": "string",
  8329. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  8330. "name": "cycletype",
  8331. "in": "query"
  8332. },
  8333. {
  8334. "type": "string",
  8335. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8336. "name": "begindate",
  8337. "in": "query",
  8338. "required": true
  8339. },
  8340. {
  8341. "type": "string",
  8342. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8343. "name": "enddate",
  8344. "in": "query",
  8345. "required": true
  8346. }
  8347. ],
  8348. "responses": {
  8349. "200": {
  8350. "description": "OK",
  8351. "schema": {
  8352. "type": "array",
  8353. "items": {
  8354. "$ref": "#/definitions/models.Reckondaytaaccount"
  8355. }
  8356. }
  8357. },
  8358. "500": {
  8359. "description": "Internal Server Error",
  8360. "schema": {
  8361. "$ref": "#/definitions/app.Response"
  8362. }
  8363. }
  8364. }
  8365. }
  8366. },
  8367. "/Guangzuan/QueryMyBargainApply": {
  8368. "get": {
  8369. "security": [
  8370. {
  8371. "ApiKeyAuth": []
  8372. },
  8373. {
  8374. "LoginID": []
  8375. },
  8376. {
  8377. "Group": []
  8378. }
  8379. ],
  8380. "produces": [
  8381. "application/json"
  8382. ],
  8383. "tags": [
  8384. "广钻"
  8385. ],
  8386. "summary": "查询询价-求购",
  8387. "parameters": [
  8388. {
  8389. "type": "integer",
  8390. "description": "用户ID",
  8391. "name": "userid",
  8392. "in": "query",
  8393. "required": true
  8394. },
  8395. {
  8396. "type": "integer",
  8397. "description": "页码",
  8398. "name": "page",
  8399. "in": "query"
  8400. },
  8401. {
  8402. "type": "integer",
  8403. "description": "每页条数",
  8404. "name": "pagesize",
  8405. "in": "query"
  8406. },
  8407. {
  8408. "type": "integer",
  8409. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8410. "name": "applystatus",
  8411. "in": "query"
  8412. },
  8413. {
  8414. "type": "integer",
  8415. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8416. "name": "type",
  8417. "in": "query"
  8418. },
  8419. {
  8420. "type": "string",
  8421. "description": "关联委托单ID",
  8422. "name": "wrtradeorderid",
  8423. "in": "query"
  8424. }
  8425. ],
  8426. "responses": {
  8427. "200": {
  8428. "description": "OK",
  8429. "schema": {
  8430. "type": "array",
  8431. "items": {
  8432. "$ref": "#/definitions/models.MyBargainApply"
  8433. }
  8434. }
  8435. },
  8436. "500": {
  8437. "description": "Internal Server Error",
  8438. "schema": {
  8439. "$ref": "#/definitions/app.Response"
  8440. }
  8441. }
  8442. }
  8443. }
  8444. },
  8445. "/Guangzuan/QueryMyBuyOrder": {
  8446. "get": {
  8447. "security": [
  8448. {
  8449. "ApiKeyAuth": []
  8450. },
  8451. {
  8452. "LoginID": []
  8453. },
  8454. {
  8455. "Group": []
  8456. }
  8457. ],
  8458. "produces": [
  8459. "application/json"
  8460. ],
  8461. "tags": [
  8462. "广钻"
  8463. ],
  8464. "summary": "查询我的求购",
  8465. "parameters": [
  8466. {
  8467. "type": "integer",
  8468. "description": "用户ID",
  8469. "name": "userid",
  8470. "in": "query",
  8471. "required": true
  8472. },
  8473. {
  8474. "type": "integer",
  8475. "description": "页码",
  8476. "name": "page",
  8477. "in": "query"
  8478. },
  8479. {
  8480. "type": "integer",
  8481. "description": "每页条数",
  8482. "name": "pagesize",
  8483. "in": "query"
  8484. },
  8485. {
  8486. "type": "string",
  8487. "description": "商品(查询字段-模糊查询)",
  8488. "name": "zsallproperties",
  8489. "in": "query"
  8490. },
  8491. {
  8492. "type": "string",
  8493. "description": "钻石分类, 格式:1,2,3",
  8494. "name": "zscategorys",
  8495. "in": "query"
  8496. },
  8497. {
  8498. "type": "integer",
  8499. "description": "委托单号",
  8500. "name": "wrtradeorderid",
  8501. "in": "query"
  8502. },
  8503. {
  8504. "type": "boolean",
  8505. "description": "是否历史查询",
  8506. "name": "ishis",
  8507. "in": "query"
  8508. },
  8509. {
  8510. "type": "string",
  8511. "description": "开始交易日(yyyymmdd)",
  8512. "name": "begindate",
  8513. "in": "query"
  8514. },
  8515. {
  8516. "type": "string",
  8517. "description": "结束交易日(yyyymmdd)",
  8518. "name": "enddate",
  8519. "in": "query"
  8520. }
  8521. ],
  8522. "responses": {
  8523. "200": {
  8524. "description": "OK",
  8525. "schema": {
  8526. "type": "array",
  8527. "items": {
  8528. "$ref": "#/definitions/models.MyBuyOrder"
  8529. }
  8530. }
  8531. },
  8532. "500": {
  8533. "description": "Internal Server Error",
  8534. "schema": {
  8535. "$ref": "#/definitions/app.Response"
  8536. }
  8537. }
  8538. }
  8539. }
  8540. },
  8541. "/Guangzuan/QueryMyDeListing": {
  8542. "get": {
  8543. "security": [
  8544. {
  8545. "ApiKeyAuth": []
  8546. },
  8547. {
  8548. "LoginID": []
  8549. },
  8550. {
  8551. "Group": []
  8552. }
  8553. ],
  8554. "produces": [
  8555. "application/json"
  8556. ],
  8557. "tags": [
  8558. "广钻"
  8559. ],
  8560. "summary": "查询我的摘牌",
  8561. "parameters": [
  8562. {
  8563. "type": "integer",
  8564. "description": "用户ID",
  8565. "name": "userid",
  8566. "in": "query",
  8567. "required": true
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "页码",
  8572. "name": "page",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "每页条数",
  8578. "name": "pagesize",
  8579. "in": "query"
  8580. },
  8581. {
  8582. "type": "string",
  8583. "description": "商品(查询字段-模糊查询)",
  8584. "name": "zsallproperties",
  8585. "in": "query"
  8586. },
  8587. {
  8588. "type": "string",
  8589. "description": "钻石分类, 格式:1,2,3",
  8590. "name": "zscategorys",
  8591. "in": "query"
  8592. },
  8593. {
  8594. "type": "integer",
  8595. "description": "成交单号",
  8596. "name": "wrtradedetailid",
  8597. "in": "query"
  8598. },
  8599. {
  8600. "type": "integer",
  8601. "description": "方向,0-购买 1-出售",
  8602. "name": "buyorsell",
  8603. "in": "query"
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "对手方(模糊匹配)",
  8608. "name": "matchusername",
  8609. "in": "query"
  8610. },
  8611. {
  8612. "type": "string",
  8613. "description": "开始交易日(yyyymmdd)",
  8614. "name": "begindate",
  8615. "in": "query"
  8616. },
  8617. {
  8618. "type": "string",
  8619. "description": "结束交易日(yyyymmdd)",
  8620. "name": "enddate",
  8621. "in": "query"
  8622. }
  8623. ],
  8624. "responses": {
  8625. "200": {
  8626. "description": "OK",
  8627. "schema": {
  8628. "type": "array",
  8629. "items": {
  8630. "$ref": "#/definitions/models.MyDeListing"
  8631. }
  8632. }
  8633. },
  8634. "500": {
  8635. "description": "Internal Server Error",
  8636. "schema": {
  8637. "$ref": "#/definitions/app.Response"
  8638. }
  8639. }
  8640. }
  8641. }
  8642. },
  8643. "/Guangzuan/QueryMyDelistingApply": {
  8644. "get": {
  8645. "security": [
  8646. {
  8647. "ApiKeyAuth": []
  8648. },
  8649. {
  8650. "LoginID": []
  8651. },
  8652. {
  8653. "Group": []
  8654. }
  8655. ],
  8656. "produces": [
  8657. "application/json"
  8658. ],
  8659. "tags": [
  8660. "广钻"
  8661. ],
  8662. "summary": "查询询价-出售",
  8663. "parameters": [
  8664. {
  8665. "type": "integer",
  8666. "description": "用户ID",
  8667. "name": "userid",
  8668. "in": "query",
  8669. "required": true
  8670. },
  8671. {
  8672. "type": "integer",
  8673. "description": "页码",
  8674. "name": "page",
  8675. "in": "query"
  8676. },
  8677. {
  8678. "type": "integer",
  8679. "description": "每页条数",
  8680. "name": "pagesize",
  8681. "in": "query"
  8682. },
  8683. {
  8684. "type": "integer",
  8685. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8686. "name": "applystatus",
  8687. "in": "query"
  8688. },
  8689. {
  8690. "type": "integer",
  8691. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8692. "name": "type",
  8693. "in": "query"
  8694. },
  8695. {
  8696. "type": "string",
  8697. "description": "买委托单ID",
  8698. "name": "buywrtradeorderid",
  8699. "in": "query"
  8700. }
  8701. ],
  8702. "responses": {
  8703. "200": {
  8704. "description": "OK",
  8705. "schema": {
  8706. "type": "array",
  8707. "items": {
  8708. "$ref": "#/definitions/models.MyDelistingApply"
  8709. }
  8710. }
  8711. },
  8712. "500": {
  8713. "description": "Internal Server Error",
  8714. "schema": {
  8715. "$ref": "#/definitions/app.Response"
  8716. }
  8717. }
  8718. }
  8719. }
  8720. },
  8721. "/Guangzuan/QueryMyFavorite": {
  8722. "get": {
  8723. "security": [
  8724. {
  8725. "ApiKeyAuth": []
  8726. },
  8727. {
  8728. "LoginID": []
  8729. },
  8730. {
  8731. "Group": []
  8732. }
  8733. ],
  8734. "produces": [
  8735. "application/json"
  8736. ],
  8737. "tags": [
  8738. "广钻"
  8739. ],
  8740. "summary": "查询我的收藏",
  8741. "parameters": [
  8742. {
  8743. "type": "integer",
  8744. "description": "用户ID",
  8745. "name": "userid",
  8746. "in": "query",
  8747. "required": true
  8748. },
  8749. {
  8750. "type": "integer",
  8751. "description": "页码",
  8752. "name": "page",
  8753. "in": "query"
  8754. },
  8755. {
  8756. "type": "integer",
  8757. "description": "每页条数",
  8758. "name": "pagesize",
  8759. "in": "query"
  8760. },
  8761. {
  8762. "type": "string",
  8763. "description": "钻石分类, 格式:1,2,3",
  8764. "name": "zscategorys",
  8765. "in": "query"
  8766. }
  8767. ],
  8768. "responses": {
  8769. "200": {
  8770. "description": "OK",
  8771. "schema": {
  8772. "type": "array",
  8773. "items": {
  8774. "$ref": "#/definitions/models.MyFavorite"
  8775. }
  8776. }
  8777. },
  8778. "500": {
  8779. "description": "Internal Server Error",
  8780. "schema": {
  8781. "$ref": "#/definitions/app.Response"
  8782. }
  8783. }
  8784. }
  8785. }
  8786. },
  8787. "/Guangzuan/QueryMyPerformanc": {
  8788. "get": {
  8789. "security": [
  8790. {
  8791. "ApiKeyAuth": []
  8792. },
  8793. {
  8794. "LoginID": []
  8795. },
  8796. {
  8797. "Group": []
  8798. }
  8799. ],
  8800. "produces": [
  8801. "application/json"
  8802. ],
  8803. "tags": [
  8804. "广钻"
  8805. ],
  8806. "summary": "查询我的履约",
  8807. "parameters": [
  8808. {
  8809. "type": "integer",
  8810. "description": "用户ID",
  8811. "name": "userid",
  8812. "in": "query",
  8813. "required": true
  8814. },
  8815. {
  8816. "type": "integer",
  8817. "description": "页码",
  8818. "name": "page",
  8819. "in": "query"
  8820. },
  8821. {
  8822. "type": "integer",
  8823. "description": "每页条数",
  8824. "name": "pagesize",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "string",
  8829. "description": "商品(查询字段-模糊查询)",
  8830. "name": "zsallproperties",
  8831. "in": "query"
  8832. },
  8833. {
  8834. "type": "integer",
  8835. "description": "方向,0-买 1-卖",
  8836. "name": "buyorsell",
  8837. "in": "query"
  8838. },
  8839. {
  8840. "type": "boolean",
  8841. "description": "是否历史查询",
  8842. "name": "ishis",
  8843. "in": "query"
  8844. },
  8845. {
  8846. "type": "string",
  8847. "description": "开始交易日(yyyymmdd)",
  8848. "name": "begindate",
  8849. "in": "query"
  8850. },
  8851. {
  8852. "type": "string",
  8853. "description": "结束交易日(yyyymmdd)",
  8854. "name": "enddate",
  8855. "in": "query"
  8856. }
  8857. ],
  8858. "responses": {
  8859. "200": {
  8860. "description": "OK",
  8861. "schema": {
  8862. "type": "array",
  8863. "items": {
  8864. "$ref": "#/definitions/models.MyPerformanc"
  8865. }
  8866. }
  8867. },
  8868. "500": {
  8869. "description": "Internal Server Error",
  8870. "schema": {
  8871. "$ref": "#/definitions/app.Response"
  8872. }
  8873. }
  8874. }
  8875. }
  8876. },
  8877. "/Guangzuan/QueryMySellOrder": {
  8878. "get": {
  8879. "security": [
  8880. {
  8881. "ApiKeyAuth": []
  8882. },
  8883. {
  8884. "LoginID": []
  8885. },
  8886. {
  8887. "Group": []
  8888. }
  8889. ],
  8890. "produces": [
  8891. "application/json"
  8892. ],
  8893. "tags": [
  8894. "广钻"
  8895. ],
  8896. "summary": "查询我的出售",
  8897. "parameters": [
  8898. {
  8899. "type": "integer",
  8900. "description": "用户ID",
  8901. "name": "userid",
  8902. "in": "query",
  8903. "required": true
  8904. },
  8905. {
  8906. "type": "integer",
  8907. "description": "页码",
  8908. "name": "page",
  8909. "in": "query"
  8910. },
  8911. {
  8912. "type": "integer",
  8913. "description": "每页条数",
  8914. "name": "pagesize",
  8915. "in": "query"
  8916. },
  8917. {
  8918. "type": "string",
  8919. "description": "商品(查询字段-模糊查询)",
  8920. "name": "zsallproperties",
  8921. "in": "query"
  8922. },
  8923. {
  8924. "type": "string",
  8925. "description": "钻石分类, 格式:1,2,3",
  8926. "name": "zscategorys",
  8927. "in": "query"
  8928. },
  8929. {
  8930. "type": "integer",
  8931. "description": "委托单号",
  8932. "name": "wrtradeorderid",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "boolean",
  8937. "description": "是否历史查询",
  8938. "name": "ishis",
  8939. "in": "query"
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "开始交易日(yyyymmdd)",
  8944. "name": "begindate",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "结束交易日(yyyymmdd)",
  8950. "name": "enddate",
  8951. "in": "query"
  8952. }
  8953. ],
  8954. "responses": {
  8955. "200": {
  8956. "description": "OK",
  8957. "schema": {
  8958. "type": "array",
  8959. "items": {
  8960. "$ref": "#/definitions/models.MySellOrder"
  8961. }
  8962. }
  8963. },
  8964. "500": {
  8965. "description": "Internal Server Error",
  8966. "schema": {
  8967. "$ref": "#/definitions/app.Response"
  8968. }
  8969. }
  8970. }
  8971. }
  8972. },
  8973. "/Guangzuan/QueryMyWRPosition": {
  8974. "get": {
  8975. "security": [
  8976. {
  8977. "ApiKeyAuth": []
  8978. },
  8979. {
  8980. "LoginID": []
  8981. },
  8982. {
  8983. "Group": []
  8984. }
  8985. ],
  8986. "produces": [
  8987. "application/json"
  8988. ],
  8989. "tags": [
  8990. "广钻"
  8991. ],
  8992. "summary": "查询我的库存",
  8993. "parameters": [
  8994. {
  8995. "type": "integer",
  8996. "description": "页码",
  8997. "name": "page",
  8998. "in": "query"
  8999. },
  9000. {
  9001. "type": "integer",
  9002. "description": "每页条数",
  9003. "name": "pagesize",
  9004. "in": "query"
  9005. },
  9006. {
  9007. "type": "integer",
  9008. "description": "登录用户ID",
  9009. "name": "wruserid",
  9010. "in": "query",
  9011. "required": true
  9012. },
  9013. {
  9014. "type": "string",
  9015. "description": "商品(查询字段-模糊查询)",
  9016. "name": "zsallproperties",
  9017. "in": "query"
  9018. },
  9019. {
  9020. "type": "string",
  9021. "description": "钻石分类, 格式:1,2,3",
  9022. "name": "zscategorys",
  9023. "in": "query"
  9024. },
  9025. {
  9026. "type": "integer",
  9027. "description": "仓库ID",
  9028. "name": "warehouseid",
  9029. "in": "query"
  9030. },
  9031. {
  9032. "type": "integer",
  9033. "description": "是否上架,0-全部 1-是 2-否",
  9034. "name": "marketflag",
  9035. "in": "query"
  9036. }
  9037. ],
  9038. "responses": {
  9039. "200": {
  9040. "description": "OK",
  9041. "schema": {
  9042. "type": "array",
  9043. "items": {
  9044. "$ref": "#/definitions/models.MyWRPosition"
  9045. }
  9046. }
  9047. },
  9048. "500": {
  9049. "description": "Internal Server Error",
  9050. "schema": {
  9051. "$ref": "#/definitions/app.Response"
  9052. }
  9053. }
  9054. }
  9055. }
  9056. },
  9057. "/Guangzuan/QuerySellOrder": {
  9058. "get": {
  9059. "security": [
  9060. {
  9061. "ApiKeyAuth": []
  9062. },
  9063. {
  9064. "LoginID": []
  9065. },
  9066. {
  9067. "Group": []
  9068. }
  9069. ],
  9070. "produces": [
  9071. "application/json"
  9072. ],
  9073. "tags": [
  9074. "广钻"
  9075. ],
  9076. "summary": "查询出售大厅委托单",
  9077. "parameters": [
  9078. {
  9079. "type": "integer",
  9080. "description": "页码",
  9081. "name": "page",
  9082. "in": "query"
  9083. },
  9084. {
  9085. "type": "integer",
  9086. "description": "每页条数",
  9087. "name": "pagesize",
  9088. "in": "query"
  9089. },
  9090. {
  9091. "type": "string",
  9092. "description": "商品(查询字段-模糊查询)",
  9093. "name": "zsallproperties",
  9094. "in": "query"
  9095. },
  9096. {
  9097. "type": "string",
  9098. "description": "钻石分类, 格式:1,2,3",
  9099. "name": "zscategorys",
  9100. "in": "query"
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "委托单号",
  9105. "name": "wrtradeorderid",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "string",
  9110. "description": "卖方(查询字段-模糊查询)",
  9111. "name": "buyusername",
  9112. "in": "query"
  9113. }
  9114. ],
  9115. "responses": {
  9116. "200": {
  9117. "description": "OK",
  9118. "schema": {
  9119. "type": "array",
  9120. "items": {
  9121. "$ref": "#/definitions/models.SellOrder"
  9122. }
  9123. }
  9124. },
  9125. "500": {
  9126. "description": "Internal Server Error",
  9127. "schema": {
  9128. "$ref": "#/definitions/app.Response"
  9129. }
  9130. }
  9131. }
  9132. }
  9133. },
  9134. "/Guangzuan/QueryWRPositionReport": {
  9135. "get": {
  9136. "security": [
  9137. {
  9138. "ApiKeyAuth": []
  9139. },
  9140. {
  9141. "LoginID": []
  9142. },
  9143. {
  9144. "Group": []
  9145. }
  9146. ],
  9147. "produces": [
  9148. "application/json"
  9149. ],
  9150. "tags": [
  9151. "广钻"
  9152. ],
  9153. "summary": "查询仓储报表",
  9154. "parameters": [
  9155. {
  9156. "type": "integer",
  9157. "description": "用户ID",
  9158. "name": "userid",
  9159. "in": "query",
  9160. "required": true
  9161. },
  9162. {
  9163. "type": "integer",
  9164. "description": "页码",
  9165. "name": "page",
  9166. "in": "query"
  9167. },
  9168. {
  9169. "type": "integer",
  9170. "description": "每页条数",
  9171. "name": "pagesize",
  9172. "in": "query"
  9173. },
  9174. {
  9175. "type": "string",
  9176. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9177. "name": "cycletype",
  9178. "in": "query"
  9179. },
  9180. {
  9181. "type": "string",
  9182. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9183. "name": "begindate",
  9184. "in": "query",
  9185. "required": true
  9186. },
  9187. {
  9188. "type": "string",
  9189. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9190. "name": "enddate",
  9191. "in": "query",
  9192. "required": true
  9193. },
  9194. {
  9195. "type": "integer",
  9196. "description": "商品分类",
  9197. "name": "zscategory",
  9198. "in": "query"
  9199. },
  9200. {
  9201. "type": "integer",
  9202. "description": "商品币种",
  9203. "name": "zscurrencytype",
  9204. "in": "query"
  9205. }
  9206. ],
  9207. "responses": {
  9208. "200": {
  9209. "description": "OK",
  9210. "schema": {
  9211. "type": "array",
  9212. "items": {
  9213. "$ref": "#/definitions/models.WRPositionReport"
  9214. }
  9215. }
  9216. },
  9217. "500": {
  9218. "description": "Internal Server Error",
  9219. "schema": {
  9220. "$ref": "#/definitions/app.Response"
  9221. }
  9222. }
  9223. }
  9224. }
  9225. },
  9226. "/Guangzuan/QueryWarehouseInfo": {
  9227. "get": {
  9228. "security": [
  9229. {
  9230. "ApiKeyAuth": []
  9231. },
  9232. {
  9233. "LoginID": []
  9234. },
  9235. {
  9236. "Group": []
  9237. }
  9238. ],
  9239. "produces": [
  9240. "application/json"
  9241. ],
  9242. "tags": [
  9243. "广钻"
  9244. ],
  9245. "summary": "查询仓库信息",
  9246. "parameters": [
  9247. {
  9248. "type": "integer",
  9249. "description": "页码",
  9250. "name": "page",
  9251. "in": "query"
  9252. },
  9253. {
  9254. "type": "integer",
  9255. "description": "每页条数",
  9256. "name": "pagesize",
  9257. "in": "query"
  9258. },
  9259. {
  9260. "type": "integer",
  9261. "description": "用户ID",
  9262. "name": "userid",
  9263. "in": "query",
  9264. "required": true
  9265. },
  9266. {
  9267. "type": "string",
  9268. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  9269. "name": "status",
  9270. "in": "query"
  9271. },
  9272. {
  9273. "type": "boolean",
  9274. "description": "是返回交易所仓库",
  9275. "name": "isincludeexchange",
  9276. "in": "query"
  9277. }
  9278. ],
  9279. "responses": {
  9280. "200": {
  9281. "description": "OK",
  9282. "schema": {
  9283. "type": "array",
  9284. "items": {
  9285. "$ref": "#/definitions/models.GZWarehouseinfo"
  9286. }
  9287. }
  9288. },
  9289. "500": {
  9290. "description": "Internal Server Error",
  9291. "schema": {
  9292. "$ref": "#/definitions/app.Response"
  9293. }
  9294. }
  9295. }
  9296. }
  9297. },
  9298. "/Market/GetAllExExchanges": {
  9299. "get": {
  9300. "security": [
  9301. {
  9302. "ApiKeyAuth": []
  9303. }
  9304. ],
  9305. "produces": [
  9306. "application/json"
  9307. ],
  9308. "tags": [
  9309. "通用市场"
  9310. ],
  9311. "summary": "获取所有外部交易所信息",
  9312. "responses": {
  9313. "200": {
  9314. "description": "OK",
  9315. "schema": {
  9316. "$ref": "#/definitions/models.Goods"
  9317. }
  9318. },
  9319. "500": {
  9320. "description": "Internal Server Error",
  9321. "schema": {
  9322. "$ref": "#/definitions/app.Response"
  9323. }
  9324. }
  9325. }
  9326. }
  9327. },
  9328. "/Market/QueryGoodsesByLoginID": {
  9329. "get": {
  9330. "security": [
  9331. {
  9332. "ApiKeyAuth": []
  9333. }
  9334. ],
  9335. "produces": [
  9336. "application/json"
  9337. ],
  9338. "tags": [
  9339. "通用市场"
  9340. ],
  9341. "summary": "获取登录账号有权限的商品信息",
  9342. "parameters": [
  9343. {
  9344. "type": "integer",
  9345. "description": "登录账号",
  9346. "name": "loginID",
  9347. "in": "query",
  9348. "required": true
  9349. },
  9350. {
  9351. "type": "string",
  9352. "description": "市场ID列表,格式:1,2,3",
  9353. "name": "marketIDs",
  9354. "in": "query"
  9355. }
  9356. ],
  9357. "responses": {
  9358. "200": {
  9359. "description": "OK",
  9360. "schema": {
  9361. "$ref": "#/definitions/models.Goods"
  9362. }
  9363. },
  9364. "500": {
  9365. "description": "Internal Server Error",
  9366. "schema": {
  9367. "$ref": "#/definitions/app.Response"
  9368. }
  9369. }
  9370. }
  9371. }
  9372. },
  9373. "/Market/QueryMarketRun": {
  9374. "get": {
  9375. "security": [
  9376. {
  9377. "ApiKeyAuth": []
  9378. }
  9379. ],
  9380. "produces": [
  9381. "application/json"
  9382. ],
  9383. "tags": [
  9384. "通用市场"
  9385. ],
  9386. "summary": "查询市场运行信息",
  9387. "parameters": [
  9388. {
  9389. "type": "integer",
  9390. "description": "市场ID,不传返回所有",
  9391. "name": "marketID",
  9392. "in": "query"
  9393. }
  9394. ],
  9395. "responses": {
  9396. "200": {
  9397. "description": "OK",
  9398. "schema": {
  9399. "$ref": "#/definitions/models.Marketrun"
  9400. }
  9401. },
  9402. "500": {
  9403. "description": "Internal Server Error",
  9404. "schema": {
  9405. "$ref": "#/definitions/app.Response"
  9406. }
  9407. }
  9408. }
  9409. }
  9410. },
  9411. "/Market/QueryMarketsByLoginID": {
  9412. "get": {
  9413. "security": [
  9414. {
  9415. "ApiKeyAuth": []
  9416. }
  9417. ],
  9418. "produces": [
  9419. "application/json"
  9420. ],
  9421. "tags": [
  9422. "通用市场"
  9423. ],
  9424. "summary": "获取登录账号有权限的市场信息",
  9425. "parameters": [
  9426. {
  9427. "type": "integer",
  9428. "description": "登录账号",
  9429. "name": "loginID",
  9430. "in": "query",
  9431. "required": true
  9432. }
  9433. ],
  9434. "responses": {
  9435. "200": {
  9436. "description": "OK",
  9437. "schema": {
  9438. "$ref": "#/definitions/models.Market"
  9439. }
  9440. },
  9441. "500": {
  9442. "description": "Internal Server Error",
  9443. "schema": {
  9444. "$ref": "#/definitions/app.Response"
  9445. }
  9446. }
  9447. }
  9448. }
  9449. },
  9450. "/Order/QueryHisTradeDetail": {
  9451. "get": {
  9452. "security": [
  9453. {
  9454. "ApiKeyAuth": []
  9455. }
  9456. ],
  9457. "produces": [
  9458. "application/json"
  9459. ],
  9460. "tags": [
  9461. "通用单据"
  9462. ],
  9463. "summary": "历史成交单查询(合约市场)",
  9464. "parameters": [
  9465. {
  9466. "type": "string",
  9467. "description": "资金账户 - 格式:1,2,3",
  9468. "name": "accountID",
  9469. "in": "query",
  9470. "required": true
  9471. },
  9472. {
  9473. "type": "integer",
  9474. "description": "成交单号",
  9475. "name": "tradeID",
  9476. "in": "query"
  9477. },
  9478. {
  9479. "type": "integer",
  9480. "description": "委托单号",
  9481. "name": "orderID",
  9482. "in": "query"
  9483. },
  9484. {
  9485. "type": "integer",
  9486. "description": "商品ID",
  9487. "name": "goodsID",
  9488. "in": "query"
  9489. },
  9490. {
  9491. "type": "string",
  9492. "description": "交易模式 - 格式:1,2,3",
  9493. "name": "tradeMode",
  9494. "in": "query"
  9495. },
  9496. {
  9497. "type": "integer",
  9498. "description": "委托单据类型",
  9499. "name": "buildType",
  9500. "in": "query"
  9501. },
  9502. {
  9503. "type": "string",
  9504. "description": "成交类别 - 格式:1,2,3",
  9505. "name": "tradeType",
  9506. "in": "query"
  9507. },
  9508. {
  9509. "type": "string",
  9510. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9511. "name": "startDate",
  9512. "in": "query"
  9513. },
  9514. {
  9515. "type": "string",
  9516. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9517. "name": "endDate",
  9518. "in": "query"
  9519. }
  9520. ],
  9521. "responses": {
  9522. "200": {
  9523. "description": "OK",
  9524. "schema": {
  9525. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9526. }
  9527. },
  9528. "500": {
  9529. "description": "Internal Server Error",
  9530. "schema": {
  9531. "$ref": "#/definitions/app.Response"
  9532. }
  9533. }
  9534. }
  9535. }
  9536. },
  9537. "/Order/QueryHisTradeOrderDetail": {
  9538. "get": {
  9539. "security": [
  9540. {
  9541. "ApiKeyAuth": []
  9542. }
  9543. ],
  9544. "produces": [
  9545. "application/json"
  9546. ],
  9547. "tags": [
  9548. "通用单据"
  9549. ],
  9550. "summary": "历史委托单查询请求(合约市场)",
  9551. "parameters": [
  9552. {
  9553. "type": "string",
  9554. "description": "资金账户 - 格式:1,2,3",
  9555. "name": "accountID",
  9556. "in": "query",
  9557. "required": true
  9558. },
  9559. {
  9560. "type": "string",
  9561. "description": "交易模式 - 格式:1,2,3",
  9562. "name": "tradeMode",
  9563. "in": "query"
  9564. },
  9565. {
  9566. "type": "string",
  9567. "description": "委托状态 - 格式:1,2,3",
  9568. "name": "orderStatus",
  9569. "in": "query"
  9570. },
  9571. {
  9572. "type": "integer",
  9573. "description": "委托单号",
  9574. "name": "orderID",
  9575. "in": "query"
  9576. },
  9577. {
  9578. "type": "string",
  9579. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9580. "name": "startDate",
  9581. "in": "query"
  9582. },
  9583. {
  9584. "type": "string",
  9585. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9586. "name": "endDate",
  9587. "in": "query"
  9588. }
  9589. ],
  9590. "responses": {
  9591. "200": {
  9592. "description": "OK",
  9593. "schema": {
  9594. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9595. }
  9596. },
  9597. "500": {
  9598. "description": "Internal Server Error",
  9599. "schema": {
  9600. "$ref": "#/definitions/app.Response"
  9601. }
  9602. }
  9603. }
  9604. }
  9605. },
  9606. "/Order/QueryTradeDetail": {
  9607. "get": {
  9608. "security": [
  9609. {
  9610. "ApiKeyAuth": []
  9611. }
  9612. ],
  9613. "produces": [
  9614. "application/json"
  9615. ],
  9616. "tags": [
  9617. "通用单据"
  9618. ],
  9619. "summary": "成交单查询(合约市场)",
  9620. "parameters": [
  9621. {
  9622. "type": "string",
  9623. "description": "资金账户 - 格式:1,2,3",
  9624. "name": "accountID",
  9625. "in": "query",
  9626. "required": true
  9627. },
  9628. {
  9629. "type": "integer",
  9630. "description": "成交单号",
  9631. "name": "tradeID",
  9632. "in": "query"
  9633. },
  9634. {
  9635. "type": "integer",
  9636. "description": "委托单号",
  9637. "name": "orderID",
  9638. "in": "query"
  9639. },
  9640. {
  9641. "type": "string",
  9642. "description": "交易模式 - 格式:1,2,3",
  9643. "name": "tradeMode",
  9644. "in": "query"
  9645. },
  9646. {
  9647. "type": "integer",
  9648. "description": "委托单据类型",
  9649. "name": "buildType",
  9650. "in": "query"
  9651. },
  9652. {
  9653. "type": "string",
  9654. "description": "成交类别 - 格式:1,2,3",
  9655. "name": "tradeType",
  9656. "in": "query"
  9657. },
  9658. {
  9659. "type": "integer",
  9660. "description": "商品ID",
  9661. "name": "goodsID",
  9662. "in": "query"
  9663. }
  9664. ],
  9665. "responses": {
  9666. "200": {
  9667. "description": "OK",
  9668. "schema": {
  9669. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9670. }
  9671. },
  9672. "500": {
  9673. "description": "Internal Server Error",
  9674. "schema": {
  9675. "$ref": "#/definitions/app.Response"
  9676. }
  9677. }
  9678. }
  9679. }
  9680. },
  9681. "/Order/QueryTradeHolderDetail": {
  9682. "get": {
  9683. "security": [
  9684. {
  9685. "ApiKeyAuth": []
  9686. }
  9687. ],
  9688. "produces": [
  9689. "application/json"
  9690. ],
  9691. "tags": [
  9692. "通用单据"
  9693. ],
  9694. "summary": "查询持仓明细",
  9695. "parameters": [
  9696. {
  9697. "type": "integer",
  9698. "description": "用户id",
  9699. "name": "userid",
  9700. "in": "query"
  9701. },
  9702. {
  9703. "type": "string",
  9704. "description": "资金账号, 格式 1,2,3",
  9705. "name": "accids",
  9706. "in": "query"
  9707. },
  9708. {
  9709. "type": "string",
  9710. "description": "交易模式, 格式 1,2,3",
  9711. "name": "trademodes",
  9712. "in": "query"
  9713. },
  9714. {
  9715. "type": "string",
  9716. "description": "市场id, 格式 1,2,3",
  9717. "name": "marketids",
  9718. "in": "query"
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "商品id",
  9723. "name": "goodsid",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "买卖方向 0-买 1-卖",
  9729. "name": "buyorsell",
  9730. "in": "query"
  9731. }
  9732. ],
  9733. "responses": {
  9734. "200": {
  9735. "description": "OK",
  9736. "schema": {
  9737. "type": "array",
  9738. "items": {
  9739. "$ref": "#/definitions/models.TradeHolderDetail"
  9740. }
  9741. }
  9742. },
  9743. "500": {
  9744. "description": "Internal Server Error",
  9745. "schema": {
  9746. "$ref": "#/definitions/app.Response"
  9747. }
  9748. }
  9749. }
  9750. }
  9751. },
  9752. "/Order/QueryTradeOrderDetail": {
  9753. "get": {
  9754. "security": [
  9755. {
  9756. "ApiKeyAuth": []
  9757. }
  9758. ],
  9759. "produces": [
  9760. "application/json"
  9761. ],
  9762. "tags": [
  9763. "通用单据"
  9764. ],
  9765. "summary": "委托单查询请求(合约市场)",
  9766. "parameters": [
  9767. {
  9768. "type": "string",
  9769. "description": "资金账户 - 格式:1,2,3",
  9770. "name": "accountID",
  9771. "in": "query",
  9772. "required": true
  9773. },
  9774. {
  9775. "type": "string",
  9776. "description": "交易模式 - 格式:1,2,3",
  9777. "name": "tradeMode",
  9778. "in": "query"
  9779. },
  9780. {
  9781. "type": "string",
  9782. "description": "委托状态 - 格式:1,2,3",
  9783. "name": "orderStatus",
  9784. "in": "query"
  9785. },
  9786. {
  9787. "type": "integer",
  9788. "description": "委托单号",
  9789. "name": "orderID",
  9790. "in": "query"
  9791. }
  9792. ],
  9793. "responses": {
  9794. "200": {
  9795. "description": "OK",
  9796. "schema": {
  9797. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9798. }
  9799. },
  9800. "500": {
  9801. "description": "Internal Server Error",
  9802. "schema": {
  9803. "$ref": "#/definitions/app.Response"
  9804. }
  9805. }
  9806. }
  9807. }
  9808. },
  9809. "/Order/QueryTradePosition": {
  9810. "get": {
  9811. "security": [
  9812. {
  9813. "ApiKeyAuth": []
  9814. }
  9815. ],
  9816. "produces": [
  9817. "application/json"
  9818. ],
  9819. "tags": [
  9820. "通用单据"
  9821. ],
  9822. "summary": "持仓汇总查询(合约市场)",
  9823. "parameters": [
  9824. {
  9825. "type": "string",
  9826. "description": "资金账户 - 格式:1,2,3",
  9827. "name": "accountID",
  9828. "in": "query",
  9829. "required": true
  9830. },
  9831. {
  9832. "type": "string",
  9833. "description": "交易模式 - 格式:1,2,3",
  9834. "name": "tradeMode",
  9835. "in": "query"
  9836. }
  9837. ],
  9838. "responses": {
  9839. "200": {
  9840. "description": "OK",
  9841. "schema": {
  9842. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9843. }
  9844. },
  9845. "500": {
  9846. "description": "Internal Server Error",
  9847. "schema": {
  9848. "$ref": "#/definitions/app.Response"
  9849. }
  9850. }
  9851. }
  9852. }
  9853. },
  9854. "/Qhj/QueryAccountInOutApply": {
  9855. "get": {
  9856. "security": [
  9857. {
  9858. "ApiKeyAuth": []
  9859. }
  9860. ],
  9861. "produces": [
  9862. "application/json"
  9863. ],
  9864. "tags": [
  9865. "大连千海金"
  9866. ],
  9867. "summary": "查询充值提现",
  9868. "parameters": [
  9869. {
  9870. "type": "integer",
  9871. "description": "用户ID",
  9872. "name": "userid",
  9873. "in": "query",
  9874. "required": true
  9875. },
  9876. {
  9877. "type": "string",
  9878. "description": "申请起始日期(格式yyyymmdd)",
  9879. "name": "begindate",
  9880. "in": "query"
  9881. },
  9882. {
  9883. "type": "string",
  9884. "description": "申请截止日期(格式yyyymmdd)",
  9885. "name": "enddate",
  9886. "in": "query"
  9887. },
  9888. {
  9889. "type": "string",
  9890. "description": "模糊搜索名称",
  9891. "name": "likename",
  9892. "in": "query"
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9897. "name": "applystatus",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  9903. "name": "querytype",
  9904. "in": "query"
  9905. }
  9906. ],
  9907. "responses": {
  9908. "200": {
  9909. "description": "OK",
  9910. "schema": {
  9911. "type": "array",
  9912. "items": {
  9913. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9914. }
  9915. }
  9916. },
  9917. "500": {
  9918. "description": "Internal Server Error",
  9919. "schema": {
  9920. "$ref": "#/definitions/app.Response"
  9921. }
  9922. }
  9923. }
  9924. }
  9925. },
  9926. "/Qhj/QueryAreaFinanceConfig": {
  9927. "get": {
  9928. "security": [
  9929. {
  9930. "ApiKeyAuth": []
  9931. }
  9932. ],
  9933. "produces": [
  9934. "application/json"
  9935. ],
  9936. "tags": [
  9937. "大连千海金"
  9938. ],
  9939. "summary": "查询企业配置表",
  9940. "parameters": [
  9941. {
  9942. "type": "integer",
  9943. "description": "机构用户ID 其他做市关系,都设置为 1",
  9944. "name": "userid",
  9945. "in": "query"
  9946. }
  9947. ],
  9948. "responses": {
  9949. "200": {
  9950. "description": "OK",
  9951. "schema": {
  9952. "type": "array",
  9953. "items": {
  9954. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9955. }
  9956. }
  9957. },
  9958. "500": {
  9959. "description": "Internal Server Error",
  9960. "schema": {
  9961. "$ref": "#/definitions/app.Response"
  9962. }
  9963. }
  9964. }
  9965. }
  9966. },
  9967. "/Qhj/QueryBankAccountSign": {
  9968. "get": {
  9969. "security": [
  9970. {
  9971. "ApiKeyAuth": []
  9972. }
  9973. ],
  9974. "produces": [
  9975. "application/json"
  9976. ],
  9977. "tags": [
  9978. "大连千海金"
  9979. ],
  9980. "summary": "查询签约银行信息(提现账户管理)",
  9981. "parameters": [
  9982. {
  9983. "type": "integer",
  9984. "description": "用户ID",
  9985. "name": "userid",
  9986. "in": "query",
  9987. "required": true
  9988. }
  9989. ],
  9990. "responses": {
  9991. "200": {
  9992. "description": "OK",
  9993. "schema": {
  9994. "type": "array",
  9995. "items": {
  9996. "$ref": "#/definitions/models.QhjBankAccountSign"
  9997. }
  9998. }
  9999. },
  10000. "500": {
  10001. "description": "Internal Server Error",
  10002. "schema": {
  10003. "$ref": "#/definitions/app.Response"
  10004. }
  10005. }
  10006. }
  10007. }
  10008. },
  10009. "/Qhj/QueryBankInfo": {
  10010. "get": {
  10011. "security": [
  10012. {
  10013. "ApiKeyAuth": []
  10014. }
  10015. ],
  10016. "produces": [
  10017. "application/json"
  10018. ],
  10019. "tags": [
  10020. "大连千海金"
  10021. ],
  10022. "summary": "查询开户行",
  10023. "responses": {
  10024. "200": {
  10025. "description": "OK",
  10026. "schema": {
  10027. "type": "array",
  10028. "items": {
  10029. "$ref": "#/definitions/models.QhjBankInfo"
  10030. }
  10031. }
  10032. },
  10033. "500": {
  10034. "description": "Internal Server Error",
  10035. "schema": {
  10036. "$ref": "#/definitions/app.Response"
  10037. }
  10038. }
  10039. }
  10040. }
  10041. },
  10042. "/Qhj/QueryBrokerApply": {
  10043. "get": {
  10044. "security": [
  10045. {
  10046. "ApiKeyAuth": []
  10047. }
  10048. ],
  10049. "produces": [
  10050. "application/json"
  10051. ],
  10052. "tags": [
  10053. "大连千海金"
  10054. ],
  10055. "summary": "查询经纪人申请",
  10056. "parameters": [
  10057. {
  10058. "type": "integer",
  10059. "description": "所属机构ID",
  10060. "name": "userid",
  10061. "in": "query"
  10062. },
  10063. {
  10064. "type": "string",
  10065. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10066. "name": "filterstatus",
  10067. "in": "query"
  10068. }
  10069. ],
  10070. "responses": {
  10071. "200": {
  10072. "description": "OK",
  10073. "schema": {
  10074. "type": "array",
  10075. "items": {
  10076. "$ref": "#/definitions/models.QhjBrokerApply"
  10077. }
  10078. }
  10079. },
  10080. "500": {
  10081. "description": "Internal Server Error",
  10082. "schema": {
  10083. "$ref": "#/definitions/app.Response"
  10084. }
  10085. }
  10086. }
  10087. }
  10088. },
  10089. "/Qhj/QueryBrokerApplyEx": {
  10090. "get": {
  10091. "security": [
  10092. {
  10093. "ApiKeyAuth": []
  10094. }
  10095. ],
  10096. "produces": [
  10097. "application/json"
  10098. ],
  10099. "tags": [
  10100. "大连千海金"
  10101. ],
  10102. "summary": "查询经纪人信息和申请记录",
  10103. "parameters": [
  10104. {
  10105. "type": "integer",
  10106. "description": "所属机构ID",
  10107. "name": "userid",
  10108. "in": "query"
  10109. }
  10110. ],
  10111. "responses": {
  10112. "200": {
  10113. "description": "OK",
  10114. "schema": {
  10115. "type": "array",
  10116. "items": {
  10117. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  10118. }
  10119. }
  10120. },
  10121. "500": {
  10122. "description": "Internal Server Error",
  10123. "schema": {
  10124. "$ref": "#/definitions/app.Response"
  10125. }
  10126. }
  10127. }
  10128. }
  10129. },
  10130. "/Qhj/QueryBrokerRewardLog": {
  10131. "get": {
  10132. "security": [
  10133. {
  10134. "ApiKeyAuth": []
  10135. }
  10136. ],
  10137. "produces": [
  10138. "application/json"
  10139. ],
  10140. "tags": [
  10141. "大连千海金"
  10142. ],
  10143. "summary": "查询奖励流水(我的奖励)",
  10144. "parameters": [
  10145. {
  10146. "type": "integer",
  10147. "description": "用户ID",
  10148. "name": "userid",
  10149. "in": "query",
  10150. "required": true
  10151. },
  10152. {
  10153. "type": "string",
  10154. "description": "开始交易日(yyyymmdd)",
  10155. "name": "begindate",
  10156. "in": "query"
  10157. },
  10158. {
  10159. "type": "string",
  10160. "description": "结束交易日(yyyymmdd)",
  10161. "name": "enddate",
  10162. "in": "query"
  10163. }
  10164. ],
  10165. "responses": {
  10166. "200": {
  10167. "description": "OK",
  10168. "schema": {
  10169. "type": "array",
  10170. "items": {
  10171. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10172. }
  10173. }
  10174. },
  10175. "500": {
  10176. "description": "Internal Server Error",
  10177. "schema": {
  10178. "$ref": "#/definitions/app.Response"
  10179. }
  10180. }
  10181. }
  10182. }
  10183. },
  10184. "/Qhj/QueryContract": {
  10185. "get": {
  10186. "security": [
  10187. {
  10188. "ApiKeyAuth": []
  10189. }
  10190. ],
  10191. "produces": [
  10192. "application/json"
  10193. ],
  10194. "tags": [
  10195. "大连千海金"
  10196. ],
  10197. "summary": "查询融资明细(合同)",
  10198. "parameters": [
  10199. {
  10200. "type": "integer",
  10201. "description": "用户ID",
  10202. "name": "userid",
  10203. "in": "query"
  10204. },
  10205. {
  10206. "type": "integer",
  10207. "description": "scf合同id",
  10208. "name": "scfcontractid",
  10209. "in": "query"
  10210. }
  10211. ],
  10212. "responses": {
  10213. "200": {
  10214. "description": "OK",
  10215. "schema": {
  10216. "type": "array",
  10217. "items": {
  10218. "$ref": "#/definitions/models.QhjContract"
  10219. }
  10220. }
  10221. },
  10222. "500": {
  10223. "description": "Internal Server Error",
  10224. "schema": {
  10225. "$ref": "#/definitions/app.Response"
  10226. }
  10227. }
  10228. }
  10229. }
  10230. },
  10231. "/Qhj/QueryContractLog": {
  10232. "get": {
  10233. "security": [
  10234. {
  10235. "ApiKeyAuth": []
  10236. }
  10237. ],
  10238. "produces": [
  10239. "application/json"
  10240. ],
  10241. "tags": [
  10242. "大连千海金"
  10243. ],
  10244. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10245. "parameters": [
  10246. {
  10247. "type": "integer",
  10248. "description": "scf合同id",
  10249. "name": "scfcontractid",
  10250. "in": "query",
  10251. "required": true
  10252. },
  10253. {
  10254. "type": "string",
  10255. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10256. "name": "amounttype",
  10257. "in": "query"
  10258. }
  10259. ],
  10260. "responses": {
  10261. "200": {
  10262. "description": "OK",
  10263. "schema": {
  10264. "type": "array",
  10265. "items": {
  10266. "$ref": "#/definitions/models.QhjContractLog"
  10267. }
  10268. }
  10269. },
  10270. "500": {
  10271. "description": "Internal Server Error",
  10272. "schema": {
  10273. "$ref": "#/definitions/app.Response"
  10274. }
  10275. }
  10276. }
  10277. }
  10278. },
  10279. "/Qhj/QueryCusBankSignBank": {
  10280. "get": {
  10281. "security": [
  10282. {
  10283. "ApiKeyAuth": []
  10284. }
  10285. ],
  10286. "produces": [
  10287. "application/json"
  10288. ],
  10289. "tags": [
  10290. "大连千海金"
  10291. ],
  10292. "summary": "查询托管银行",
  10293. "responses": {
  10294. "200": {
  10295. "description": "OK",
  10296. "schema": {
  10297. "type": "array",
  10298. "items": {
  10299. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10300. }
  10301. }
  10302. },
  10303. "500": {
  10304. "description": "Internal Server Error",
  10305. "schema": {
  10306. "$ref": "#/definitions/app.Response"
  10307. }
  10308. }
  10309. }
  10310. }
  10311. },
  10312. "/Qhj/QueryCustomerInfo": {
  10313. "get": {
  10314. "security": [
  10315. {
  10316. "ApiKeyAuth": []
  10317. }
  10318. ],
  10319. "produces": [
  10320. "application/json"
  10321. ],
  10322. "tags": [
  10323. "大连千海金"
  10324. ],
  10325. "summary": "查询客户资料",
  10326. "parameters": [
  10327. {
  10328. "type": "integer",
  10329. "description": "用户ID",
  10330. "name": "userid",
  10331. "in": "query",
  10332. "required": true
  10333. },
  10334. {
  10335. "type": "integer",
  10336. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10337. "name": "querytype",
  10338. "in": "query",
  10339. "required": true
  10340. },
  10341. {
  10342. "type": "integer",
  10343. "description": "客户类型 1-个人 2-企业",
  10344. "name": "userinfotype",
  10345. "in": "query"
  10346. },
  10347. {
  10348. "type": "string",
  10349. "description": "客户名称(模糊匹配)",
  10350. "name": "customername",
  10351. "in": "query"
  10352. },
  10353. {
  10354. "type": "string",
  10355. "description": "昵称(模糊匹配)",
  10356. "name": "nickname",
  10357. "in": "query"
  10358. },
  10359. {
  10360. "type": "integer",
  10361. "description": "是否包含子级 1-包含",
  10362. "name": "includesub",
  10363. "in": "query"
  10364. }
  10365. ],
  10366. "responses": {
  10367. "200": {
  10368. "description": "OK",
  10369. "schema": {
  10370. "type": "array",
  10371. "items": {
  10372. "$ref": "#/definitions/models.QhjCustomer"
  10373. }
  10374. }
  10375. },
  10376. "500": {
  10377. "description": "Internal Server Error",
  10378. "schema": {
  10379. "$ref": "#/definitions/app.Response"
  10380. }
  10381. }
  10382. }
  10383. }
  10384. },
  10385. "/Qhj/QueryGoodsEx": {
  10386. "get": {
  10387. "security": [
  10388. {
  10389. "ApiKeyAuth": []
  10390. }
  10391. ],
  10392. "produces": [
  10393. "application/json"
  10394. ],
  10395. "tags": [
  10396. "大连千海金"
  10397. ],
  10398. "summary": "交易商品扩展表",
  10399. "parameters": [
  10400. {
  10401. "type": "integer",
  10402. "description": "商品id",
  10403. "name": "goodsid",
  10404. "in": "query"
  10405. }
  10406. ],
  10407. "responses": {
  10408. "200": {
  10409. "description": "OK",
  10410. "schema": {
  10411. "type": "array",
  10412. "items": {
  10413. "$ref": "#/definitions/models.Qhjgoodsex"
  10414. }
  10415. }
  10416. },
  10417. "500": {
  10418. "description": "Internal Server Error",
  10419. "schema": {
  10420. "$ref": "#/definitions/app.Response"
  10421. }
  10422. }
  10423. }
  10424. }
  10425. },
  10426. "/Qhj/QueryMyTeam": {
  10427. "get": {
  10428. "security": [
  10429. {
  10430. "ApiKeyAuth": []
  10431. }
  10432. ],
  10433. "produces": [
  10434. "application/json"
  10435. ],
  10436. "tags": [
  10437. "大连千海金"
  10438. ],
  10439. "summary": "查询我的团队",
  10440. "parameters": [
  10441. {
  10442. "type": "integer",
  10443. "description": "用户ID",
  10444. "name": "userid",
  10445. "in": "query",
  10446. "required": true
  10447. }
  10448. ],
  10449. "responses": {
  10450. "200": {
  10451. "description": "OK",
  10452. "schema": {
  10453. "type": "array",
  10454. "items": {
  10455. "$ref": "#/definitions/models.QhjMyTeamEx"
  10456. }
  10457. }
  10458. },
  10459. "500": {
  10460. "description": "Internal Server Error",
  10461. "schema": {
  10462. "$ref": "#/definitions/app.Response"
  10463. }
  10464. }
  10465. }
  10466. }
  10467. },
  10468. "/Qhj/QueryMyTeamOrder": {
  10469. "get": {
  10470. "security": [
  10471. {
  10472. "ApiKeyAuth": []
  10473. }
  10474. ],
  10475. "produces": [
  10476. "application/json"
  10477. ],
  10478. "tags": [
  10479. "大连千海金"
  10480. ],
  10481. "summary": "查询团队订单(我的团队/团队订单)",
  10482. "parameters": [
  10483. {
  10484. "type": "integer",
  10485. "description": "页码",
  10486. "name": "page",
  10487. "in": "query"
  10488. },
  10489. {
  10490. "type": "integer",
  10491. "description": "每页条数",
  10492. "name": "pagesize",
  10493. "in": "query"
  10494. },
  10495. {
  10496. "type": "integer",
  10497. "description": "用户ID",
  10498. "name": "userid",
  10499. "in": "query",
  10500. "required": true
  10501. },
  10502. {
  10503. "type": "integer",
  10504. "description": "交易模式",
  10505. "name": "trademode",
  10506. "in": "query"
  10507. },
  10508. {
  10509. "type": "string",
  10510. "description": "名称(模糊搜索账户)",
  10511. "name": "filtername",
  10512. "in": "query"
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "type": "array",
  10520. "items": {
  10521. "$ref": "#/definitions/models.QhjTeamOrder"
  10522. }
  10523. }
  10524. },
  10525. "500": {
  10526. "description": "Internal Server Error",
  10527. "schema": {
  10528. "$ref": "#/definitions/app.Response"
  10529. }
  10530. }
  10531. }
  10532. }
  10533. },
  10534. "/Qhj/QueryParentAreaList": {
  10535. "get": {
  10536. "security": [
  10537. {
  10538. "ApiKeyAuth": []
  10539. }
  10540. ],
  10541. "produces": [
  10542. "application/json"
  10543. ],
  10544. "tags": [
  10545. "大连千海金"
  10546. ],
  10547. "summary": "查询所属机构列表",
  10548. "parameters": [
  10549. {
  10550. "type": "integer",
  10551. "description": "用户ID",
  10552. "name": "userid",
  10553. "in": "query",
  10554. "required": true
  10555. }
  10556. ],
  10557. "responses": {
  10558. "200": {
  10559. "description": "OK",
  10560. "schema": {
  10561. "type": "array",
  10562. "items": {
  10563. "$ref": "#/definitions/models.QhjParentAreaList"
  10564. }
  10565. }
  10566. },
  10567. "500": {
  10568. "description": "Internal Server Error",
  10569. "schema": {
  10570. "$ref": "#/definitions/app.Response"
  10571. }
  10572. }
  10573. }
  10574. }
  10575. },
  10576. "/Qhj/QueryPayOrder": {
  10577. "get": {
  10578. "security": [
  10579. {
  10580. "ApiKeyAuth": []
  10581. }
  10582. ],
  10583. "produces": [
  10584. "application/json"
  10585. ],
  10586. "tags": [
  10587. "大连千海金"
  10588. ],
  10589. "summary": "查询待付款单据",
  10590. "parameters": [
  10591. {
  10592. "type": "integer",
  10593. "description": "资金账号id",
  10594. "name": "accountid",
  10595. "in": "query",
  10596. "required": true
  10597. },
  10598. {
  10599. "type": "integer",
  10600. "description": "成交单号",
  10601. "name": "tradeid",
  10602. "in": "query"
  10603. },
  10604. {
  10605. "type": "string",
  10606. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10607. "name": "payflag",
  10608. "in": "query"
  10609. }
  10610. ],
  10611. "responses": {
  10612. "200": {
  10613. "description": "OK",
  10614. "schema": {
  10615. "type": "array",
  10616. "items": {
  10617. "$ref": "#/definitions/models.QhjPayOrder"
  10618. }
  10619. }
  10620. },
  10621. "500": {
  10622. "description": "Internal Server Error",
  10623. "schema": {
  10624. "$ref": "#/definitions/app.Response"
  10625. }
  10626. }
  10627. }
  10628. }
  10629. },
  10630. "/Qhj/QueryPickArea": {
  10631. "get": {
  10632. "security": [
  10633. {
  10634. "ApiKeyAuth": []
  10635. }
  10636. ],
  10637. "produces": [
  10638. "application/json"
  10639. ],
  10640. "tags": [
  10641. "大连千海金"
  10642. ],
  10643. "summary": "查询提货门店",
  10644. "parameters": [
  10645. {
  10646. "type": "integer",
  10647. "description": "用户ID",
  10648. "name": "userid",
  10649. "in": "query"
  10650. }
  10651. ],
  10652. "responses": {
  10653. "200": {
  10654. "description": "OK",
  10655. "schema": {
  10656. "type": "array",
  10657. "items": {
  10658. "$ref": "#/definitions/models.QhjPickArea"
  10659. }
  10660. }
  10661. },
  10662. "500": {
  10663. "description": "Internal Server Error",
  10664. "schema": {
  10665. "$ref": "#/definitions/app.Response"
  10666. }
  10667. }
  10668. }
  10669. }
  10670. },
  10671. "/Qhj/QueryPickGoods": {
  10672. "get": {
  10673. "security": [
  10674. {
  10675. "ApiKeyAuth": []
  10676. }
  10677. ],
  10678. "produces": [
  10679. "application/json"
  10680. ],
  10681. "tags": [
  10682. "大连千海金"
  10683. ],
  10684. "summary": "查询提货商品",
  10685. "parameters": [
  10686. {
  10687. "type": "integer",
  10688. "description": "交易商品id",
  10689. "name": "goodsid",
  10690. "in": "query",
  10691. "required": true
  10692. },
  10693. {
  10694. "type": "string",
  10695. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10696. "name": "status",
  10697. "in": "query"
  10698. }
  10699. ],
  10700. "responses": {
  10701. "200": {
  10702. "description": "OK",
  10703. "schema": {
  10704. "type": "array",
  10705. "items": {
  10706. "$ref": "#/definitions/models.QhjPickGoods"
  10707. }
  10708. }
  10709. },
  10710. "500": {
  10711. "description": "Internal Server Error",
  10712. "schema": {
  10713. "$ref": "#/definitions/app.Response"
  10714. }
  10715. }
  10716. }
  10717. }
  10718. },
  10719. "/Qhj/QueryRSTriggerLog": {
  10720. "get": {
  10721. "security": [
  10722. {
  10723. "ApiKeyAuth": []
  10724. }
  10725. ],
  10726. "produces": [
  10727. "application/json"
  10728. ],
  10729. "tags": [
  10730. "大连千海金"
  10731. ],
  10732. "summary": "查询定投记录(定投管理/详情/定投记录)",
  10733. "parameters": [
  10734. {
  10735. "type": "integer",
  10736. "description": "用户ID",
  10737. "name": "userid",
  10738. "in": "query"
  10739. },
  10740. {
  10741. "type": "integer",
  10742. "description": "定投策略id",
  10743. "name": "regularlystrategyid",
  10744. "in": "query"
  10745. },
  10746. {
  10747. "type": "integer",
  10748. "description": "商品id",
  10749. "name": "goodsid",
  10750. "in": "query"
  10751. },
  10752. {
  10753. "type": "string",
  10754. "description": "开始交易日(yyyymmdd)",
  10755. "name": "begindate",
  10756. "in": "query"
  10757. },
  10758. {
  10759. "type": "string",
  10760. "description": "结束交易日(yyyymmdd)",
  10761. "name": "enddate",
  10762. "in": "query"
  10763. },
  10764. {
  10765. "type": "string",
  10766. "description": "名称(模糊搜索账户)",
  10767. "name": "filtername",
  10768. "in": "query"
  10769. }
  10770. ],
  10771. "responses": {
  10772. "200": {
  10773. "description": "OK",
  10774. "schema": {
  10775. "type": "array",
  10776. "items": {
  10777. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10778. }
  10779. }
  10780. },
  10781. "500": {
  10782. "description": "Internal Server Error",
  10783. "schema": {
  10784. "$ref": "#/definitions/app.Response"
  10785. }
  10786. }
  10787. }
  10788. }
  10789. },
  10790. "/Qhj/QueryRStrategy": {
  10791. "get": {
  10792. "security": [
  10793. {
  10794. "ApiKeyAuth": []
  10795. }
  10796. ],
  10797. "produces": [
  10798. "application/json"
  10799. ],
  10800. "tags": [
  10801. "大连千海金"
  10802. ],
  10803. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10804. "parameters": [
  10805. {
  10806. "type": "integer",
  10807. "description": "用户ID",
  10808. "name": "userid",
  10809. "in": "query"
  10810. },
  10811. {
  10812. "type": "integer",
  10813. "description": "商品id",
  10814. "name": "goodsid",
  10815. "in": "query"
  10816. },
  10817. {
  10818. "type": "string",
  10819. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10820. "name": "status",
  10821. "in": "query"
  10822. },
  10823. {
  10824. "type": "string",
  10825. "description": "名称(模糊搜索账户)",
  10826. "name": "filtername",
  10827. "in": "query"
  10828. }
  10829. ],
  10830. "responses": {
  10831. "200": {
  10832. "description": "OK",
  10833. "schema": {
  10834. "type": "array",
  10835. "items": {
  10836. "$ref": "#/definitions/models.QhjRStrategy"
  10837. }
  10838. }
  10839. },
  10840. "500": {
  10841. "description": "Internal Server Error",
  10842. "schema": {
  10843. "$ref": "#/definitions/app.Response"
  10844. }
  10845. }
  10846. }
  10847. }
  10848. },
  10849. "/Qhj/QueryReckonPriceLog": {
  10850. "get": {
  10851. "security": [
  10852. {
  10853. "ApiKeyAuth": []
  10854. }
  10855. ],
  10856. "produces": [
  10857. "application/json"
  10858. ],
  10859. "tags": [
  10860. "大连千海金"
  10861. ],
  10862. "summary": "查询定投价(结算价)",
  10863. "parameters": [
  10864. {
  10865. "type": "integer",
  10866. "description": "商品ID",
  10867. "name": "goodsid",
  10868. "in": "query"
  10869. },
  10870. {
  10871. "type": "string",
  10872. "description": "交易日 格式(yyyymmdd)",
  10873. "name": "tradedate",
  10874. "in": "query"
  10875. }
  10876. ],
  10877. "responses": {
  10878. "200": {
  10879. "description": "OK",
  10880. "schema": {
  10881. "type": "array",
  10882. "items": {
  10883. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10884. }
  10885. }
  10886. },
  10887. "500": {
  10888. "description": "Internal Server Error",
  10889. "schema": {
  10890. "$ref": "#/definitions/app.Response"
  10891. }
  10892. }
  10893. }
  10894. }
  10895. },
  10896. "/Qhj/QueryScoreLog": {
  10897. "get": {
  10898. "security": [
  10899. {
  10900. "ApiKeyAuth": []
  10901. }
  10902. ],
  10903. "produces": [
  10904. "application/json"
  10905. ],
  10906. "tags": [
  10907. "大连千海金"
  10908. ],
  10909. "summary": "查询积分流水(我的积分)",
  10910. "parameters": [
  10911. {
  10912. "type": "integer",
  10913. "description": "用户ID",
  10914. "name": "userid",
  10915. "in": "query",
  10916. "required": true
  10917. },
  10918. {
  10919. "type": "string",
  10920. "description": "开始交易日(yyyymmdd)",
  10921. "name": "begindate",
  10922. "in": "query"
  10923. },
  10924. {
  10925. "type": "string",
  10926. "description": "结束交易日(yyyymmdd)",
  10927. "name": "enddate",
  10928. "in": "query"
  10929. },
  10930. {
  10931. "type": "integer",
  10932. "description": "最近多少条",
  10933. "name": "lastnum",
  10934. "in": "query"
  10935. }
  10936. ],
  10937. "responses": {
  10938. "200": {
  10939. "description": "OK",
  10940. "schema": {
  10941. "type": "array",
  10942. "items": {
  10943. "$ref": "#/definitions/models.QhjScoreLog"
  10944. }
  10945. }
  10946. },
  10947. "500": {
  10948. "description": "Internal Server Error",
  10949. "schema": {
  10950. "$ref": "#/definitions/app.Response"
  10951. }
  10952. }
  10953. }
  10954. }
  10955. },
  10956. "/Qhj/QuerySiteColumnDetail": {
  10957. "get": {
  10958. "security": [
  10959. {
  10960. "ApiKeyAuth": []
  10961. }
  10962. ],
  10963. "produces": [
  10964. "application/json"
  10965. ],
  10966. "tags": [
  10967. "大连千海金"
  10968. ],
  10969. "summary": "查询资讯",
  10970. "parameters": [
  10971. {
  10972. "type": "integer",
  10973. "description": "用户ID",
  10974. "name": "userid",
  10975. "in": "query",
  10976. "required": true
  10977. }
  10978. ],
  10979. "responses": {
  10980. "200": {
  10981. "description": "OK",
  10982. "schema": {
  10983. "type": "array",
  10984. "items": {
  10985. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10986. }
  10987. }
  10988. },
  10989. "500": {
  10990. "description": "Internal Server Error",
  10991. "schema": {
  10992. "$ref": "#/definitions/app.Response"
  10993. }
  10994. }
  10995. }
  10996. }
  10997. },
  10998. "/Qhj/QueryTradeGoodsPickup": {
  10999. "get": {
  11000. "security": [
  11001. {
  11002. "ApiKeyAuth": []
  11003. }
  11004. ],
  11005. "produces": [
  11006. "application/json"
  11007. ],
  11008. "tags": [
  11009. "大连千海金"
  11010. ],
  11011. "summary": "查询提货",
  11012. "parameters": [
  11013. {
  11014. "type": "integer",
  11015. "description": "用户ID",
  11016. "name": "userid",
  11017. "in": "query",
  11018. "required": true
  11019. },
  11020. {
  11021. "type": "integer",
  11022. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  11023. "name": "takeorderstatus",
  11024. "in": "query"
  11025. }
  11026. ],
  11027. "responses": {
  11028. "200": {
  11029. "description": "OK",
  11030. "schema": {
  11031. "type": "array",
  11032. "items": {
  11033. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  11034. }
  11035. }
  11036. },
  11037. "500": {
  11038. "description": "Internal Server Error",
  11039. "schema": {
  11040. "$ref": "#/definitions/app.Response"
  11041. }
  11042. }
  11043. }
  11044. }
  11045. },
  11046. "/Qhj/QueryUserCollectConfig": {
  11047. "get": {
  11048. "security": [
  11049. {
  11050. "ApiKeyAuth": []
  11051. }
  11052. ],
  11053. "produces": [
  11054. "application/json"
  11055. ],
  11056. "tags": [
  11057. "大连千海金"
  11058. ],
  11059. "summary": "查询提现账户设置",
  11060. "parameters": [
  11061. {
  11062. "type": "integer",
  11063. "description": "用户ID",
  11064. "name": "userid",
  11065. "in": "query",
  11066. "required": true
  11067. }
  11068. ],
  11069. "responses": {
  11070. "200": {
  11071. "description": "OK",
  11072. "schema": {
  11073. "type": "array",
  11074. "items": {
  11075. "$ref": "#/definitions/models.UserCollectConfig"
  11076. }
  11077. }
  11078. },
  11079. "500": {
  11080. "description": "Internal Server Error",
  11081. "schema": {
  11082. "$ref": "#/definitions/app.Response"
  11083. }
  11084. }
  11085. }
  11086. }
  11087. },
  11088. "/Qhj/QueryUserReceiveInfo": {
  11089. "get": {
  11090. "security": [
  11091. {
  11092. "ApiKeyAuth": []
  11093. }
  11094. ],
  11095. "produces": [
  11096. "application/json"
  11097. ],
  11098. "tags": [
  11099. "大连千海金"
  11100. ],
  11101. "summary": "查询收货地址信息",
  11102. "parameters": [
  11103. {
  11104. "type": "integer",
  11105. "description": "用户ID",
  11106. "name": "userid",
  11107. "in": "query",
  11108. "required": true
  11109. }
  11110. ],
  11111. "responses": {
  11112. "200": {
  11113. "description": "OK",
  11114. "schema": {
  11115. "type": "array",
  11116. "items": {
  11117. "$ref": "#/definitions/models.UserReceiveInfo"
  11118. }
  11119. }
  11120. },
  11121. "500": {
  11122. "description": "Internal Server Error",
  11123. "schema": {
  11124. "$ref": "#/definitions/app.Response"
  11125. }
  11126. }
  11127. }
  11128. }
  11129. },
  11130. "/QhjMgr/QueryAccountInOutApply": {
  11131. "get": {
  11132. "security": [
  11133. {
  11134. "ApiKeyAuth": []
  11135. }
  11136. ],
  11137. "produces": [
  11138. "application/json"
  11139. ],
  11140. "tags": [
  11141. "大连千海金(PCWeb)"
  11142. ],
  11143. "summary": "查询充值提现",
  11144. "parameters": [
  11145. {
  11146. "type": "integer",
  11147. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  11148. "name": "querytype",
  11149. "in": "query",
  11150. "required": true
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  11155. "name": "applystatus",
  11156. "in": "query"
  11157. },
  11158. {
  11159. "type": "string",
  11160. "description": "申请起始日期(格式yyyymmdd)",
  11161. "name": "begindate",
  11162. "in": "query"
  11163. },
  11164. {
  11165. "type": "string",
  11166. "description": "申请截止日期(格式yyyymmdd)",
  11167. "name": "enddate",
  11168. "in": "query"
  11169. },
  11170. {
  11171. "type": "string",
  11172. "description": "模糊搜索名称",
  11173. "name": "likename",
  11174. "in": "query"
  11175. }
  11176. ],
  11177. "responses": {
  11178. "200": {
  11179. "description": "OK",
  11180. "schema": {
  11181. "type": "array",
  11182. "items": {
  11183. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11184. }
  11185. }
  11186. },
  11187. "500": {
  11188. "description": "Internal Server Error",
  11189. "schema": {
  11190. "$ref": "#/definitions/app.Response"
  11191. }
  11192. }
  11193. }
  11194. }
  11195. },
  11196. "/QhjMgr/QueryBrokerApply": {
  11197. "get": {
  11198. "security": [
  11199. {
  11200. "ApiKeyAuth": []
  11201. }
  11202. ],
  11203. "produces": [
  11204. "application/json"
  11205. ],
  11206. "tags": [
  11207. "大连千海金(PCWeb)"
  11208. ],
  11209. "summary": "查询经纪人申请",
  11210. "parameters": [
  11211. {
  11212. "type": "integer",
  11213. "description": "所属机构ID",
  11214. "name": "userid",
  11215. "in": "query"
  11216. },
  11217. {
  11218. "type": "string",
  11219. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11220. "name": "filterstatus",
  11221. "in": "query"
  11222. },
  11223. {
  11224. "type": "string",
  11225. "description": "名称(模糊匹配)",
  11226. "name": "filtername",
  11227. "in": "query"
  11228. },
  11229. {
  11230. "type": "integer",
  11231. "description": "是否包含子级 1-包含",
  11232. "name": "includesub",
  11233. "in": "query"
  11234. }
  11235. ],
  11236. "responses": {
  11237. "200": {
  11238. "description": "OK",
  11239. "schema": {
  11240. "type": "array",
  11241. "items": {
  11242. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11243. }
  11244. }
  11245. },
  11246. "500": {
  11247. "description": "Internal Server Error",
  11248. "schema": {
  11249. "$ref": "#/definitions/app.Response"
  11250. }
  11251. }
  11252. }
  11253. }
  11254. },
  11255. "/QhjMgr/QueryBrokerRewardReport": {
  11256. "get": {
  11257. "security": [
  11258. {
  11259. "ApiKeyAuth": []
  11260. }
  11261. ],
  11262. "produces": [
  11263. "application/json"
  11264. ],
  11265. "tags": [
  11266. "大连千海金(PCWeb)"
  11267. ],
  11268. "summary": "查询经纪人奖励报表(废弃)",
  11269. "parameters": [
  11270. {
  11271. "type": "integer",
  11272. "description": "所属机构ID",
  11273. "name": "userid",
  11274. "in": "query",
  11275. "required": true
  11276. },
  11277. {
  11278. "type": "integer",
  11279. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11280. "name": "cycletype",
  11281. "in": "query",
  11282. "required": true
  11283. },
  11284. {
  11285. "type": "string",
  11286. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11287. "name": "cycletime",
  11288. "in": "query",
  11289. "required": true
  11290. },
  11291. {
  11292. "type": "string",
  11293. "description": "名称(模糊匹配)",
  11294. "name": "filtername",
  11295. "in": "query"
  11296. },
  11297. {
  11298. "type": "integer",
  11299. "description": "是否包含子级 1-包含",
  11300. "name": "includesub",
  11301. "in": "query"
  11302. }
  11303. ],
  11304. "responses": {
  11305. "200": {
  11306. "description": "OK",
  11307. "schema": {
  11308. "type": "array",
  11309. "items": {
  11310. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11311. }
  11312. }
  11313. },
  11314. "500": {
  11315. "description": "Internal Server Error",
  11316. "schema": {
  11317. "$ref": "#/definitions/app.Response"
  11318. }
  11319. }
  11320. }
  11321. }
  11322. },
  11323. "/QhjMgr/QueryContract": {
  11324. "get": {
  11325. "security": [
  11326. {
  11327. "ApiKeyAuth": []
  11328. }
  11329. ],
  11330. "produces": [
  11331. "application/json"
  11332. ],
  11333. "tags": [
  11334. "大连千海金(PCWeb)"
  11335. ],
  11336. "summary": "查询融资信息(合同)",
  11337. "parameters": [
  11338. {
  11339. "type": "integer",
  11340. "description": "用户ID",
  11341. "name": "userid",
  11342. "in": "query"
  11343. },
  11344. {
  11345. "type": "integer",
  11346. "description": "商品id",
  11347. "name": "goodsid",
  11348. "in": "query"
  11349. },
  11350. {
  11351. "type": "string",
  11352. "description": "名称(模糊搜索账户)",
  11353. "name": "filtername",
  11354. "in": "query"
  11355. },
  11356. {
  11357. "type": "string",
  11358. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11359. "name": "risklevel",
  11360. "in": "query"
  11361. },
  11362. {
  11363. "type": "string",
  11364. "description": "开始交易日(yyyymmdd)",
  11365. "name": "begindate",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "string",
  11370. "description": "结束交易日(yyyymmdd)",
  11371. "name": "enddate",
  11372. "in": "query"
  11373. }
  11374. ],
  11375. "responses": {
  11376. "200": {
  11377. "description": "OK",
  11378. "schema": {
  11379. "type": "array",
  11380. "items": {
  11381. "$ref": "#/definitions/models.QhjMgrContract"
  11382. }
  11383. }
  11384. },
  11385. "500": {
  11386. "description": "Internal Server Error",
  11387. "schema": {
  11388. "$ref": "#/definitions/app.Response"
  11389. }
  11390. }
  11391. }
  11392. }
  11393. },
  11394. "/QhjMgr/QueryCustomerInfo": {
  11395. "get": {
  11396. "security": [
  11397. {
  11398. "ApiKeyAuth": []
  11399. }
  11400. ],
  11401. "produces": [
  11402. "application/json"
  11403. ],
  11404. "tags": [
  11405. "大连千海金(PCWeb)"
  11406. ],
  11407. "summary": "查询客户资料",
  11408. "parameters": [
  11409. {
  11410. "type": "integer",
  11411. "description": "用户ID",
  11412. "name": "userid",
  11413. "in": "query",
  11414. "required": true
  11415. },
  11416. {
  11417. "type": "integer",
  11418. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11419. "name": "querytype",
  11420. "in": "query",
  11421. "required": true
  11422. },
  11423. {
  11424. "type": "integer",
  11425. "description": "客户类型 1-个人 2-企业",
  11426. "name": "userinfotype",
  11427. "in": "query"
  11428. },
  11429. {
  11430. "type": "string",
  11431. "description": "客户名称(模糊匹配)",
  11432. "name": "customername",
  11433. "in": "query"
  11434. },
  11435. {
  11436. "type": "string",
  11437. "description": "昵称(模糊匹配)",
  11438. "name": "nickname",
  11439. "in": "query"
  11440. },
  11441. {
  11442. "type": "string",
  11443. "description": "所属客户经理(模糊匹配)",
  11444. "name": "brokername",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "string",
  11449. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11450. "name": "birthday",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "是否包含子级 1-包含",
  11456. "name": "includesub",
  11457. "in": "query"
  11458. }
  11459. ],
  11460. "responses": {
  11461. "200": {
  11462. "description": "OK",
  11463. "schema": {
  11464. "type": "array",
  11465. "items": {
  11466. "$ref": "#/definitions/models.QhjMgrCustomer"
  11467. }
  11468. }
  11469. },
  11470. "500": {
  11471. "description": "Internal Server Error",
  11472. "schema": {
  11473. "$ref": "#/definitions/app.Response"
  11474. }
  11475. }
  11476. }
  11477. }
  11478. },
  11479. "/QhjMgr/QueryPickGoods": {
  11480. "get": {
  11481. "security": [
  11482. {
  11483. "ApiKeyAuth": []
  11484. }
  11485. ],
  11486. "produces": [
  11487. "application/json"
  11488. ],
  11489. "tags": [
  11490. "大连千海金(PCWeb)"
  11491. ],
  11492. "summary": "查询提货商品",
  11493. "parameters": [
  11494. {
  11495. "type": "string",
  11496. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11497. "name": "status",
  11498. "in": "query"
  11499. }
  11500. ],
  11501. "responses": {
  11502. "200": {
  11503. "description": "OK",
  11504. "schema": {
  11505. "type": "array",
  11506. "items": {
  11507. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11508. }
  11509. }
  11510. },
  11511. "500": {
  11512. "description": "Internal Server Error",
  11513. "schema": {
  11514. "$ref": "#/definitions/app.Response"
  11515. }
  11516. }
  11517. }
  11518. }
  11519. },
  11520. "/QhjMgr/QuerySubArea": {
  11521. "get": {
  11522. "security": [
  11523. {
  11524. "ApiKeyAuth": []
  11525. }
  11526. ],
  11527. "produces": [
  11528. "application/json"
  11529. ],
  11530. "tags": [
  11531. "大连千海金(PCWeb)"
  11532. ],
  11533. "summary": "查询子机构列表",
  11534. "parameters": [
  11535. {
  11536. "type": "integer",
  11537. "description": "用户ID",
  11538. "name": "userid",
  11539. "in": "query",
  11540. "required": true
  11541. }
  11542. ],
  11543. "responses": {
  11544. "200": {
  11545. "description": "OK",
  11546. "schema": {
  11547. "type": "array",
  11548. "items": {
  11549. "$ref": "#/definitions/models.QhjMgrSubArea"
  11550. }
  11551. }
  11552. },
  11553. "500": {
  11554. "description": "Internal Server Error",
  11555. "schema": {
  11556. "$ref": "#/definitions/app.Response"
  11557. }
  11558. }
  11559. }
  11560. }
  11561. },
  11562. "/QhjMgr/QueryTradeDetail": {
  11563. "get": {
  11564. "security": [
  11565. {
  11566. "ApiKeyAuth": []
  11567. }
  11568. ],
  11569. "produces": [
  11570. "application/json"
  11571. ],
  11572. "tags": [
  11573. "大连千海金(PCWeb)"
  11574. ],
  11575. "summary": "查询成交明细",
  11576. "parameters": [
  11577. {
  11578. "type": "integer",
  11579. "description": "用户ID",
  11580. "name": "userid",
  11581. "in": "query",
  11582. "required": true
  11583. },
  11584. {
  11585. "type": "integer",
  11586. "description": "用户类型 1-个人 2-企业",
  11587. "name": "userinfotype",
  11588. "in": "query"
  11589. },
  11590. {
  11591. "type": "integer",
  11592. "description": "交易模式",
  11593. "name": "trademode",
  11594. "in": "query"
  11595. },
  11596. {
  11597. "type": "integer",
  11598. "description": "商品id",
  11599. "name": "goodsid",
  11600. "in": "query"
  11601. },
  11602. {
  11603. "type": "string",
  11604. "description": "名称(模糊搜索账户)",
  11605. "name": "filtername",
  11606. "in": "query"
  11607. },
  11608. {
  11609. "type": "string",
  11610. "description": "开始交易日(yyyymmdd)",
  11611. "name": "begindate",
  11612. "in": "query"
  11613. },
  11614. {
  11615. "type": "string",
  11616. "description": "结束交易日(yyyymmdd)",
  11617. "name": "enddate",
  11618. "in": "query"
  11619. },
  11620. {
  11621. "type": "integer",
  11622. "description": "是否包含子级 1-包含",
  11623. "name": "includesub",
  11624. "in": "query"
  11625. }
  11626. ],
  11627. "responses": {
  11628. "200": {
  11629. "description": "OK",
  11630. "schema": {
  11631. "type": "array",
  11632. "items": {
  11633. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  11634. }
  11635. }
  11636. },
  11637. "500": {
  11638. "description": "Internal Server Error",
  11639. "schema": {
  11640. "$ref": "#/definitions/app.Response"
  11641. }
  11642. }
  11643. }
  11644. }
  11645. },
  11646. "/QhjMgr/QueryTradeOrderDetail": {
  11647. "get": {
  11648. "security": [
  11649. {
  11650. "ApiKeyAuth": []
  11651. }
  11652. ],
  11653. "produces": [
  11654. "application/json"
  11655. ],
  11656. "tags": [
  11657. "大连千海金(PCWeb)"
  11658. ],
  11659. "summary": "查询委托明细",
  11660. "parameters": [
  11661. {
  11662. "type": "integer",
  11663. "description": "用户ID",
  11664. "name": "userid",
  11665. "in": "query",
  11666. "required": true
  11667. },
  11668. {
  11669. "type": "integer",
  11670. "description": "用户类型 1-个人 2-企业",
  11671. "name": "userinfotype",
  11672. "in": "query"
  11673. },
  11674. {
  11675. "type": "integer",
  11676. "description": "交易模式",
  11677. "name": "trademode",
  11678. "in": "query"
  11679. },
  11680. {
  11681. "type": "integer",
  11682. "description": "商品id",
  11683. "name": "goodsid",
  11684. "in": "query"
  11685. },
  11686. {
  11687. "type": "string",
  11688. "description": "名称(模糊搜索账户)",
  11689. "name": "filtername",
  11690. "in": "query"
  11691. },
  11692. {
  11693. "type": "string",
  11694. "description": "开始交易日(yyyymmdd)",
  11695. "name": "begindate",
  11696. "in": "query"
  11697. },
  11698. {
  11699. "type": "string",
  11700. "description": "结束交易日(yyyymmdd)",
  11701. "name": "enddate",
  11702. "in": "query"
  11703. },
  11704. {
  11705. "type": "integer",
  11706. "description": "是否包含子级 1-包含",
  11707. "name": "includesub",
  11708. "in": "query"
  11709. }
  11710. ],
  11711. "responses": {
  11712. "200": {
  11713. "description": "OK",
  11714. "schema": {
  11715. "type": "array",
  11716. "items": {
  11717. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  11718. }
  11719. }
  11720. },
  11721. "500": {
  11722. "description": "Internal Server Error",
  11723. "schema": {
  11724. "$ref": "#/definitions/app.Response"
  11725. }
  11726. }
  11727. }
  11728. }
  11729. },
  11730. "/QhjMgr/QueryTradePayOrder": {
  11731. "get": {
  11732. "security": [
  11733. {
  11734. "ApiKeyAuth": []
  11735. }
  11736. ],
  11737. "produces": [
  11738. "application/json"
  11739. ],
  11740. "tags": [
  11741. "大连千海金(PCWeb)"
  11742. ],
  11743. "summary": "查询待付款单",
  11744. "parameters": [
  11745. {
  11746. "type": "integer",
  11747. "description": "用户ID",
  11748. "name": "userid",
  11749. "in": "query",
  11750. "required": true
  11751. },
  11752. {
  11753. "type": "string",
  11754. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11755. "name": "payflag",
  11756. "in": "query"
  11757. },
  11758. {
  11759. "type": "integer",
  11760. "description": "用户类型 1-个人 2-企业",
  11761. "name": "userinfotype",
  11762. "in": "query"
  11763. },
  11764. {
  11765. "type": "integer",
  11766. "description": "交易模式",
  11767. "name": "trademode",
  11768. "in": "query"
  11769. },
  11770. {
  11771. "type": "integer",
  11772. "description": "商品id",
  11773. "name": "goodsid",
  11774. "in": "query"
  11775. },
  11776. {
  11777. "type": "string",
  11778. "description": "名称(模糊搜索账户)",
  11779. "name": "filtername",
  11780. "in": "query"
  11781. },
  11782. {
  11783. "type": "string",
  11784. "description": "开始交易日(yyyymmdd)",
  11785. "name": "begindate",
  11786. "in": "query"
  11787. },
  11788. {
  11789. "type": "string",
  11790. "description": "结束交易日(yyyymmdd)",
  11791. "name": "enddate",
  11792. "in": "query"
  11793. },
  11794. {
  11795. "type": "integer",
  11796. "description": "是否包含子级 1-包含",
  11797. "name": "includesub",
  11798. "in": "query"
  11799. }
  11800. ],
  11801. "responses": {
  11802. "200": {
  11803. "description": "OK",
  11804. "schema": {
  11805. "type": "array",
  11806. "items": {
  11807. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11808. }
  11809. }
  11810. },
  11811. "500": {
  11812. "description": "Internal Server Error",
  11813. "schema": {
  11814. "$ref": "#/definitions/app.Response"
  11815. }
  11816. }
  11817. }
  11818. }
  11819. },
  11820. "/QhjMgr/QueryTradePosition": {
  11821. "get": {
  11822. "security": [
  11823. {
  11824. "ApiKeyAuth": []
  11825. }
  11826. ],
  11827. "produces": [
  11828. "application/json"
  11829. ],
  11830. "tags": [
  11831. "大连千海金(PCWeb)"
  11832. ],
  11833. "summary": "查询持仓汇总",
  11834. "parameters": [
  11835. {
  11836. "type": "integer",
  11837. "description": "用户ID",
  11838. "name": "userid",
  11839. "in": "query",
  11840. "required": true
  11841. },
  11842. {
  11843. "type": "integer",
  11844. "description": "用户类型 1-个人 2-企业",
  11845. "name": "userinfotype",
  11846. "in": "query"
  11847. },
  11848. {
  11849. "type": "integer",
  11850. "description": "交易模式",
  11851. "name": "trademode",
  11852. "in": "query"
  11853. },
  11854. {
  11855. "type": "integer",
  11856. "description": "商品id",
  11857. "name": "goodsid",
  11858. "in": "query"
  11859. },
  11860. {
  11861. "type": "string",
  11862. "description": "名称(模糊搜索账户)",
  11863. "name": "filtername",
  11864. "in": "query"
  11865. },
  11866. {
  11867. "type": "integer",
  11868. "description": "是否包含子级 1-包含",
  11869. "name": "includesub",
  11870. "in": "query"
  11871. }
  11872. ],
  11873. "responses": {
  11874. "200": {
  11875. "description": "OK",
  11876. "schema": {
  11877. "type": "array",
  11878. "items": {
  11879. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11880. }
  11881. }
  11882. },
  11883. "500": {
  11884. "description": "Internal Server Error",
  11885. "schema": {
  11886. "$ref": "#/definitions/app.Response"
  11887. }
  11888. }
  11889. }
  11890. }
  11891. },
  11892. "/QhjSys/QueryAgreementChangeLog": {
  11893. "get": {
  11894. "security": [
  11895. {
  11896. "ApiKeyAuth": []
  11897. }
  11898. ],
  11899. "produces": [
  11900. "application/json"
  11901. ],
  11902. "tags": [
  11903. "大连千海金(协议和签约信息)"
  11904. ],
  11905. "summary": "查询协议配置变更流水",
  11906. "parameters": [
  11907. {
  11908. "type": "integer",
  11909. "description": "协议ID",
  11910. "name": "agreementid",
  11911. "in": "query"
  11912. },
  11913. {
  11914. "type": "integer",
  11915. "description": "协议版本号",
  11916. "name": "agreementversion",
  11917. "in": "query"
  11918. },
  11919. {
  11920. "type": "integer",
  11921. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11922. "name": "agreementtype",
  11923. "in": "query"
  11924. },
  11925. {
  11926. "type": "string",
  11927. "description": "协议编号(模糊匹配)",
  11928. "name": "agreementno",
  11929. "in": "query"
  11930. },
  11931. {
  11932. "type": "string",
  11933. "description": "协议名称(模糊匹配)",
  11934. "name": "agreementname",
  11935. "in": "query"
  11936. }
  11937. ],
  11938. "responses": {
  11939. "200": {
  11940. "description": "OK",
  11941. "schema": {
  11942. "type": "array",
  11943. "items": {
  11944. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11945. }
  11946. }
  11947. },
  11948. "500": {
  11949. "description": "Internal Server Error",
  11950. "schema": {
  11951. "$ref": "#/definitions/app.Response"
  11952. }
  11953. }
  11954. }
  11955. }
  11956. },
  11957. "/QhjSys/QueryAgreementConfig": {
  11958. "get": {
  11959. "security": [
  11960. {
  11961. "ApiKeyAuth": []
  11962. }
  11963. ],
  11964. "produces": [
  11965. "application/json"
  11966. ],
  11967. "tags": [
  11968. "大连千海金(协议和签约信息)"
  11969. ],
  11970. "summary": "查询协议配置",
  11971. "parameters": [
  11972. {
  11973. "type": "integer",
  11974. "description": "协议ID",
  11975. "name": "agreementid",
  11976. "in": "query"
  11977. },
  11978. {
  11979. "type": "integer",
  11980. "description": "协议版本号",
  11981. "name": "agreementversion",
  11982. "in": "query"
  11983. },
  11984. {
  11985. "type": "integer",
  11986. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11987. "name": "agreementtype",
  11988. "in": "query"
  11989. },
  11990. {
  11991. "type": "integer",
  11992. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11993. "name": "isvalid",
  11994. "in": "query"
  11995. },
  11996. {
  11997. "type": "string",
  11998. "description": "协议编号(模糊匹配)",
  11999. "name": "agreementno",
  12000. "in": "query"
  12001. },
  12002. {
  12003. "type": "string",
  12004. "description": "协议名称(模糊匹配)",
  12005. "name": "agreementname",
  12006. "in": "query"
  12007. }
  12008. ],
  12009. "responses": {
  12010. "200": {
  12011. "description": "OK",
  12012. "schema": {
  12013. "type": "array",
  12014. "items": {
  12015. "$ref": "#/definitions/models.QhjAgreementConfig"
  12016. }
  12017. }
  12018. },
  12019. "500": {
  12020. "description": "Internal Server Error",
  12021. "schema": {
  12022. "$ref": "#/definitions/app.Response"
  12023. }
  12024. }
  12025. }
  12026. }
  12027. },
  12028. "/QhjSys/QueryCustomerSignStatus": {
  12029. "get": {
  12030. "security": [
  12031. {
  12032. "ApiKeyAuth": []
  12033. }
  12034. ],
  12035. "produces": [
  12036. "application/json"
  12037. ],
  12038. "tags": [
  12039. "大连千海金(协议和签约信息)"
  12040. ],
  12041. "summary": "查询客户协议签约状态",
  12042. "parameters": [
  12043. {
  12044. "type": "integer",
  12045. "description": "客户ID",
  12046. "name": "userid",
  12047. "in": "query"
  12048. },
  12049. {
  12050. "type": "integer",
  12051. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  12052. "name": "nodetype",
  12053. "in": "query"
  12054. },
  12055. {
  12056. "type": "integer",
  12057. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12058. "name": "goodsid",
  12059. "in": "query"
  12060. },
  12061. {
  12062. "type": "string",
  12063. "description": "创建交易日(yyyyMMdd)",
  12064. "name": "tradedate",
  12065. "in": "query"
  12066. },
  12067. {
  12068. "type": "string",
  12069. "description": "用户名称(模糊匹配)",
  12070. "name": "username",
  12071. "in": "query"
  12072. }
  12073. ],
  12074. "responses": {
  12075. "200": {
  12076. "description": "OK",
  12077. "schema": {
  12078. "type": "array",
  12079. "items": {
  12080. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  12081. }
  12082. }
  12083. },
  12084. "500": {
  12085. "description": "Internal Server Error",
  12086. "schema": {
  12087. "$ref": "#/definitions/app.Response"
  12088. }
  12089. }
  12090. }
  12091. }
  12092. },
  12093. "/QhjSys/QueryNodeAgreementConfig": {
  12094. "get": {
  12095. "security": [
  12096. {
  12097. "ApiKeyAuth": []
  12098. }
  12099. ],
  12100. "produces": [
  12101. "application/json"
  12102. ],
  12103. "tags": [
  12104. "大连千海金(协议和签约信息)"
  12105. ],
  12106. "summary": "查询协议节点配置",
  12107. "parameters": [
  12108. {
  12109. "type": "integer",
  12110. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12111. "name": "configid",
  12112. "in": "query"
  12113. },
  12114. {
  12115. "type": "integer",
  12116. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12117. "name": "nodetype",
  12118. "in": "query"
  12119. },
  12120. {
  12121. "type": "integer",
  12122. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12123. "name": "goodsid",
  12124. "in": "query"
  12125. },
  12126. {
  12127. "type": "integer",
  12128. "description": "协议ID",
  12129. "name": "agreementid",
  12130. "in": "query"
  12131. },
  12132. {
  12133. "type": "integer",
  12134. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12135. "name": "agreementtype",
  12136. "in": "query"
  12137. },
  12138. {
  12139. "type": "integer",
  12140. "description": "协议版本号",
  12141. "name": "agreementversion",
  12142. "in": "query"
  12143. },
  12144. {
  12145. "type": "string",
  12146. "description": "协议编号(模糊匹配)",
  12147. "name": "agreementno",
  12148. "in": "query"
  12149. },
  12150. {
  12151. "type": "string",
  12152. "description": "协议名称(模糊匹配)",
  12153. "name": "agreementname",
  12154. "in": "query"
  12155. }
  12156. ],
  12157. "responses": {
  12158. "200": {
  12159. "description": "OK",
  12160. "schema": {
  12161. "type": "array",
  12162. "items": {
  12163. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  12164. }
  12165. }
  12166. },
  12167. "500": {
  12168. "description": "Internal Server Error",
  12169. "schema": {
  12170. "$ref": "#/definitions/app.Response"
  12171. }
  12172. }
  12173. }
  12174. }
  12175. },
  12176. "/QhjSys/QueryQhjCustomerSignLog": {
  12177. "get": {
  12178. "security": [
  12179. {
  12180. "ApiKeyAuth": []
  12181. }
  12182. ],
  12183. "produces": [
  12184. "application/json"
  12185. ],
  12186. "tags": [
  12187. "大连千海金(协议和签约信息)"
  12188. ],
  12189. "summary": "查询客户协议签约流水",
  12190. "parameters": [
  12191. {
  12192. "type": "integer",
  12193. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12194. "name": "logid",
  12195. "in": "query"
  12196. },
  12197. {
  12198. "type": "integer",
  12199. "description": "客户ID",
  12200. "name": "userid",
  12201. "in": "query"
  12202. },
  12203. {
  12204. "type": "integer",
  12205. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12206. "name": "nodetype",
  12207. "in": "query"
  12208. },
  12209. {
  12210. "type": "integer",
  12211. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12212. "name": "goodsid",
  12213. "in": "query"
  12214. },
  12215. {
  12216. "type": "integer",
  12217. "description": "协议ID",
  12218. "name": "agreementid",
  12219. "in": "query"
  12220. },
  12221. {
  12222. "type": "string",
  12223. "description": "用户名称(模糊匹配)",
  12224. "name": "username",
  12225. "in": "query"
  12226. },
  12227. {
  12228. "type": "string",
  12229. "description": "协议编号(模糊匹配)",
  12230. "name": "agreementno",
  12231. "in": "query"
  12232. },
  12233. {
  12234. "type": "string",
  12235. "description": "协议名称(模糊匹配)",
  12236. "name": "agreementname",
  12237. "in": "query"
  12238. }
  12239. ],
  12240. "responses": {
  12241. "200": {
  12242. "description": "OK",
  12243. "schema": {
  12244. "type": "array",
  12245. "items": {
  12246. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12247. }
  12248. }
  12249. },
  12250. "500": {
  12251. "description": "Internal Server Error",
  12252. "schema": {
  12253. "$ref": "#/definitions/app.Response"
  12254. }
  12255. }
  12256. }
  12257. }
  12258. },
  12259. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12260. "get": {
  12261. "security": [
  12262. {
  12263. "ApiKeyAuth": []
  12264. }
  12265. ],
  12266. "produces": [
  12267. "application/json"
  12268. ],
  12269. "tags": [
  12270. "大连千海金(协议和签约信息)"
  12271. ],
  12272. "summary": "查询用户协议节点配置和状态",
  12273. "parameters": [
  12274. {
  12275. "type": "integer",
  12276. "description": "客户ID",
  12277. "name": "userid",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12283. "name": "configid",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12289. "name": "nodetype",
  12290. "in": "query"
  12291. },
  12292. {
  12293. "type": "integer",
  12294. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12295. "name": "goodsid",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "integer",
  12300. "description": "协议ID",
  12301. "name": "agreementid",
  12302. "in": "query"
  12303. },
  12304. {
  12305. "type": "integer",
  12306. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12307. "name": "agreementtype",
  12308. "in": "query"
  12309. },
  12310. {
  12311. "type": "integer",
  12312. "description": "协议版本号",
  12313. "name": "agreementversion",
  12314. "in": "query"
  12315. },
  12316. {
  12317. "type": "string",
  12318. "description": "协议编号(模糊匹配)",
  12319. "name": "agreementno",
  12320. "in": "query"
  12321. },
  12322. {
  12323. "type": "string",
  12324. "description": "协议名称(模糊匹配)",
  12325. "name": "agreementname",
  12326. "in": "query"
  12327. }
  12328. ],
  12329. "responses": {
  12330. "200": {
  12331. "description": "OK",
  12332. "schema": {
  12333. "type": "array",
  12334. "items": {
  12335. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12336. }
  12337. }
  12338. },
  12339. "500": {
  12340. "description": "Internal Server Error",
  12341. "schema": {
  12342. "$ref": "#/definitions/app.Response"
  12343. }
  12344. }
  12345. }
  12346. }
  12347. },
  12348. "/Quote/QueryHistoryDatas": {
  12349. "get": {
  12350. "security": [
  12351. {
  12352. "ApiKeyAuth": []
  12353. }
  12354. ],
  12355. "produces": [
  12356. "application/json"
  12357. ],
  12358. "tags": [
  12359. "行情服务"
  12360. ],
  12361. "summary": "查询行情历史数据",
  12362. "parameters": [
  12363. {
  12364. "type": "integer",
  12365. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12366. "name": "cycleType",
  12367. "in": "query",
  12368. "required": true
  12369. },
  12370. {
  12371. "type": "string",
  12372. "description": "商品代码",
  12373. "name": "goodsCode",
  12374. "in": "query",
  12375. "required": true
  12376. },
  12377. {
  12378. "type": "string",
  12379. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12380. "name": "startTime",
  12381. "in": "query"
  12382. },
  12383. {
  12384. "type": "string",
  12385. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12386. "name": "endTime",
  12387. "in": "query"
  12388. },
  12389. {
  12390. "type": "integer",
  12391. "description": "条数",
  12392. "name": "count",
  12393. "in": "query"
  12394. },
  12395. {
  12396. "type": "boolean",
  12397. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12398. "name": "isAsc",
  12399. "in": "query"
  12400. }
  12401. ],
  12402. "responses": {
  12403. "200": {
  12404. "description": "OK",
  12405. "schema": {
  12406. "$ref": "#/definitions/quote.HistoryData"
  12407. }
  12408. },
  12409. "500": {
  12410. "description": "Internal Server Error",
  12411. "schema": {
  12412. "$ref": "#/definitions/app.Response"
  12413. }
  12414. }
  12415. }
  12416. }
  12417. },
  12418. "/Quote/QueryHistoryTikDatas": {
  12419. "get": {
  12420. "security": [
  12421. {
  12422. "ApiKeyAuth": []
  12423. }
  12424. ],
  12425. "produces": [
  12426. "application/json"
  12427. ],
  12428. "tags": [
  12429. "行情服务"
  12430. ],
  12431. "summary": "查询行情Tik数据",
  12432. "parameters": [
  12433. {
  12434. "type": "string",
  12435. "description": "商品代码",
  12436. "name": "goodsCode",
  12437. "in": "query",
  12438. "required": true
  12439. },
  12440. {
  12441. "type": "string",
  12442. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12443. "name": "startTime",
  12444. "in": "query"
  12445. },
  12446. {
  12447. "type": "string",
  12448. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12449. "name": "endTime",
  12450. "in": "query"
  12451. },
  12452. {
  12453. "type": "integer",
  12454. "description": "条数",
  12455. "name": "count",
  12456. "in": "query"
  12457. },
  12458. {
  12459. "type": "boolean",
  12460. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12461. "name": "isAsc",
  12462. "in": "query"
  12463. }
  12464. ],
  12465. "responses": {
  12466. "200": {
  12467. "description": "OK",
  12468. "schema": {
  12469. "$ref": "#/definitions/quote.HistoryTikData"
  12470. }
  12471. },
  12472. "500": {
  12473. "description": "Internal Server Error",
  12474. "schema": {
  12475. "$ref": "#/definitions/app.Response"
  12476. }
  12477. }
  12478. }
  12479. }
  12480. },
  12481. "/Quote/QueryQuoteDay": {
  12482. "get": {
  12483. "security": [
  12484. {
  12485. "ApiKeyAuth": []
  12486. }
  12487. ],
  12488. "produces": [
  12489. "application/json"
  12490. ],
  12491. "tags": [
  12492. "行情服务"
  12493. ],
  12494. "summary": "获取商品盘面信息",
  12495. "parameters": [
  12496. {
  12497. "type": "string",
  12498. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12499. "name": "goodsCodes",
  12500. "in": "query"
  12501. }
  12502. ],
  12503. "responses": {
  12504. "200": {
  12505. "description": "OK",
  12506. "schema": {
  12507. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12508. }
  12509. },
  12510. "500": {
  12511. "description": "Internal Server Error",
  12512. "schema": {
  12513. "$ref": "#/definitions/app.Response"
  12514. }
  12515. }
  12516. }
  12517. }
  12518. },
  12519. "/Quote/QueryTSData": {
  12520. "get": {
  12521. "security": [
  12522. {
  12523. "ApiKeyAuth": []
  12524. }
  12525. ],
  12526. "produces": [
  12527. "application/json"
  12528. ],
  12529. "tags": [
  12530. "行情服务"
  12531. ],
  12532. "summary": "分时图数据查询",
  12533. "parameters": [
  12534. {
  12535. "type": "string",
  12536. "description": "商品代码",
  12537. "name": "goodsCode",
  12538. "in": "query",
  12539. "required": true
  12540. }
  12541. ],
  12542. "responses": {
  12543. "200": {
  12544. "description": "OK",
  12545. "schema": {
  12546. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12547. }
  12548. },
  12549. "500": {
  12550. "description": "Internal Server Error",
  12551. "schema": {
  12552. "$ref": "#/definitions/app.Response"
  12553. }
  12554. }
  12555. }
  12556. }
  12557. },
  12558. "/SZDZ/QueryConvertConfig": {
  12559. "get": {
  12560. "security": [
  12561. {
  12562. "ApiKeyAuth": []
  12563. }
  12564. ],
  12565. "produces": [
  12566. "application/json"
  12567. ],
  12568. "tags": [
  12569. "定制【尚志大宗】"
  12570. ],
  12571. "summary": "查询交易系统转换设置",
  12572. "parameters": [
  12573. {
  12574. "type": "integer",
  12575. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12576. "name": "convertType",
  12577. "in": "query"
  12578. },
  12579. {
  12580. "type": "string",
  12581. "description": "外部商品代码[JD\\PD]",
  12582. "name": "outerGoodsCode",
  12583. "in": "query"
  12584. },
  12585. {
  12586. "type": "string",
  12587. "description": "内部商品ID列表[交易],格式:1,2,3",
  12588. "name": "innerGoodsIDs",
  12589. "in": "query"
  12590. }
  12591. ],
  12592. "responses": {
  12593. "200": {
  12594. "description": "OK",
  12595. "schema": {
  12596. "$ref": "#/definitions/models.Szdz3convertconfig"
  12597. }
  12598. },
  12599. "500": {
  12600. "description": "Internal Server Error",
  12601. "schema": {
  12602. "$ref": "#/definitions/app.Response"
  12603. }
  12604. }
  12605. }
  12606. }
  12607. },
  12608. "/SZDZ/QueryConvertLog": {
  12609. "get": {
  12610. "security": [
  12611. {
  12612. "ApiKeyAuth": []
  12613. }
  12614. ],
  12615. "produces": [
  12616. "application/json"
  12617. ],
  12618. "tags": [
  12619. "定制【尚志大宗】"
  12620. ],
  12621. "summary": "交易系统转换流水查询",
  12622. "parameters": [
  12623. {
  12624. "type": "string",
  12625. "description": "资金账户 - 格式:1,2,3",
  12626. "name": "accountID",
  12627. "in": "query",
  12628. "required": true
  12629. },
  12630. {
  12631. "type": "string",
  12632. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12633. "name": "startDate",
  12634. "in": "query"
  12635. },
  12636. {
  12637. "type": "string",
  12638. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12639. "name": "endDate",
  12640. "in": "query"
  12641. }
  12642. ],
  12643. "responses": {
  12644. "200": {
  12645. "description": "OK",
  12646. "schema": {
  12647. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  12648. }
  12649. },
  12650. "500": {
  12651. "description": "Internal Server Error",
  12652. "schema": {
  12653. "$ref": "#/definitions/app.Response"
  12654. }
  12655. }
  12656. }
  12657. }
  12658. },
  12659. "/SZDZ/QueryGoodsPickup": {
  12660. "get": {
  12661. "security": [
  12662. {
  12663. "ApiKeyAuth": []
  12664. }
  12665. ],
  12666. "produces": [
  12667. "application/json"
  12668. ],
  12669. "tags": [
  12670. "定制【尚志大宗】"
  12671. ],
  12672. "summary": "商品提货单查询",
  12673. "parameters": [
  12674. {
  12675. "type": "string",
  12676. "description": "资金账户 - 格式:1,2,3",
  12677. "name": "accountID",
  12678. "in": "query",
  12679. "required": true
  12680. },
  12681. {
  12682. "type": "integer",
  12683. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12684. "name": "takeOrderStatus",
  12685. "in": "query"
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12693. }
  12694. },
  12695. "500": {
  12696. "description": "Internal Server Error",
  12697. "schema": {
  12698. "$ref": "#/definitions/app.Response"
  12699. }
  12700. }
  12701. }
  12702. }
  12703. },
  12704. "/SZDZ/QueryRecieptOrder": {
  12705. "get": {
  12706. "security": [
  12707. {
  12708. "ApiKeyAuth": []
  12709. }
  12710. ],
  12711. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12712. "produces": [
  12713. "application/json"
  12714. ],
  12715. "tags": [
  12716. "定制【尚志大宗】"
  12717. ],
  12718. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  12719. "parameters": [
  12720. {
  12721. "type": "integer",
  12722. "description": "页码",
  12723. "name": "page",
  12724. "in": "query"
  12725. },
  12726. {
  12727. "type": "integer",
  12728. "description": "每页条数",
  12729. "name": "pagesize",
  12730. "in": "query"
  12731. },
  12732. {
  12733. "type": "integer",
  12734. "description": "商品ID",
  12735. "name": "goodsID",
  12736. "in": "query",
  12737. "required": true
  12738. },
  12739. {
  12740. "type": "string",
  12741. "description": "所属账户名称",
  12742. "name": "accountName",
  12743. "in": "query"
  12744. },
  12745. {
  12746. "type": "integer",
  12747. "description": "市场ID",
  12748. "name": "marketID",
  12749. "in": "query"
  12750. },
  12751. {
  12752. "type": "integer",
  12753. "description": "方向 - 0:买 1:卖",
  12754. "name": "buyorsell",
  12755. "in": "query",
  12756. "required": true
  12757. }
  12758. ],
  12759. "responses": {
  12760. "200": {
  12761. "description": "OK",
  12762. "schema": {
  12763. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12764. }
  12765. },
  12766. "500": {
  12767. "description": "Internal Server Error",
  12768. "schema": {
  12769. "$ref": "#/definitions/app.Response"
  12770. }
  12771. }
  12772. }
  12773. }
  12774. },
  12775. "/SZDZ/QuerySZDZTradePosition": {
  12776. "get": {
  12777. "security": [
  12778. {
  12779. "ApiKeyAuth": []
  12780. }
  12781. ],
  12782. "produces": [
  12783. "application/json"
  12784. ],
  12785. "tags": [
  12786. "定制【尚志大宗】"
  12787. ],
  12788. "summary": "持仓汇总查询(尚志大宗)",
  12789. "parameters": [
  12790. {
  12791. "type": "integer",
  12792. "description": "资金账户",
  12793. "name": "accountID",
  12794. "in": "query",
  12795. "required": true
  12796. }
  12797. ],
  12798. "responses": {
  12799. "200": {
  12800. "description": "OK",
  12801. "schema": {
  12802. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12803. }
  12804. },
  12805. "500": {
  12806. "description": "Internal Server Error",
  12807. "schema": {
  12808. "$ref": "#/definitions/app.Response"
  12809. }
  12810. }
  12811. }
  12812. }
  12813. },
  12814. "/SZDZ/SearchWhite": {
  12815. "get": {
  12816. "security": [
  12817. {
  12818. "ApiKeyAuth": []
  12819. }
  12820. ],
  12821. "produces": [
  12822. "application/json"
  12823. ],
  12824. "tags": [
  12825. "定制【尚志大宗】"
  12826. ],
  12827. "summary": "搜索白名单",
  12828. "parameters": [
  12829. {
  12830. "type": "integer",
  12831. "description": "用户ID",
  12832. "name": "userID",
  12833. "in": "query",
  12834. "required": true
  12835. }
  12836. ],
  12837. "responses": {
  12838. "200": {
  12839. "description": "OK",
  12840. "schema": {
  12841. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12842. }
  12843. },
  12844. "500": {
  12845. "description": "Internal Server Error",
  12846. "schema": {
  12847. "$ref": "#/definitions/app.Response"
  12848. }
  12849. }
  12850. }
  12851. }
  12852. },
  12853. "/Search/SearchGoodses": {
  12854. "get": {
  12855. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12856. "produces": [
  12857. "application/json"
  12858. ],
  12859. "tags": [
  12860. "检索服务"
  12861. ],
  12862. "summary": "检索商品信息",
  12863. "parameters": [
  12864. {
  12865. "type": "string",
  12866. "description": "检索内容",
  12867. "name": "content",
  12868. "in": "query",
  12869. "required": true
  12870. },
  12871. {
  12872. "type": "string",
  12873. "description": "交易模式,格式:1,2,3",
  12874. "name": "tradeModes",
  12875. "in": "query"
  12876. }
  12877. ],
  12878. "responses": {
  12879. "200": {
  12880. "description": "OK",
  12881. "schema": {
  12882. "$ref": "#/definitions/models.SearchGoods"
  12883. }
  12884. },
  12885. "500": {
  12886. "description": "Internal Server Error",
  12887. "schema": {
  12888. "$ref": "#/definitions/app.Response"
  12889. }
  12890. }
  12891. }
  12892. }
  12893. },
  12894. "/TaAccount/GetTaAccounts": {
  12895. "get": {
  12896. "security": [
  12897. {
  12898. "ApiKeyAuth": []
  12899. }
  12900. ],
  12901. "produces": [
  12902. "application/json"
  12903. ],
  12904. "tags": [
  12905. "资金账户"
  12906. ],
  12907. "summary": "获取资金账户信息",
  12908. "parameters": [
  12909. {
  12910. "type": "integer",
  12911. "description": "登录账户",
  12912. "name": "loginID",
  12913. "in": "query",
  12914. "required": true
  12915. },
  12916. {
  12917. "type": "integer",
  12918. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12919. "name": "taAccountType",
  12920. "in": "query"
  12921. }
  12922. ],
  12923. "responses": {
  12924. "200": {
  12925. "description": "OK",
  12926. "schema": {
  12927. "$ref": "#/definitions/models.Taaccount"
  12928. }
  12929. },
  12930. "500": {
  12931. "description": "Internal Server Error",
  12932. "schema": {
  12933. "$ref": "#/definitions/app.Response"
  12934. }
  12935. }
  12936. }
  12937. }
  12938. },
  12939. "/TaAccount/QueryAmountLog": {
  12940. "get": {
  12941. "security": [
  12942. {
  12943. "ApiKeyAuth": []
  12944. }
  12945. ],
  12946. "produces": [
  12947. "application/json"
  12948. ],
  12949. "tags": [
  12950. "资金账户"
  12951. ],
  12952. "summary": "资金流水查询(当前)",
  12953. "parameters": [
  12954. {
  12955. "type": "integer",
  12956. "description": "页码",
  12957. "name": "page",
  12958. "in": "query"
  12959. },
  12960. {
  12961. "type": "integer",
  12962. "description": "每页条数",
  12963. "name": "pagesize",
  12964. "in": "query"
  12965. },
  12966. {
  12967. "type": "string",
  12968. "description": "资金账户 - 格式:1,2,3",
  12969. "name": "accountID",
  12970. "in": "query",
  12971. "required": true
  12972. },
  12973. {
  12974. "type": "string",
  12975. "description": "资金操作类型 - 格式:1,2,3",
  12976. "name": "OperateType",
  12977. "in": "query"
  12978. }
  12979. ],
  12980. "responses": {
  12981. "200": {
  12982. "description": "OK",
  12983. "schema": {
  12984. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12985. }
  12986. },
  12987. "500": {
  12988. "description": "Internal Server Error",
  12989. "schema": {
  12990. "$ref": "#/definitions/app.Response"
  12991. }
  12992. }
  12993. }
  12994. }
  12995. },
  12996. "/TaAccount/QueryHisAmountLog": {
  12997. "get": {
  12998. "security": [
  12999. {
  13000. "ApiKeyAuth": []
  13001. }
  13002. ],
  13003. "produces": [
  13004. "application/json"
  13005. ],
  13006. "tags": [
  13007. "资金账户"
  13008. ],
  13009. "summary": "资金流水查询(历史)",
  13010. "parameters": [
  13011. {
  13012. "type": "integer",
  13013. "description": "页码",
  13014. "name": "page",
  13015. "in": "query"
  13016. },
  13017. {
  13018. "type": "integer",
  13019. "description": "每页条数",
  13020. "name": "pagesize",
  13021. "in": "query"
  13022. },
  13023. {
  13024. "type": "string",
  13025. "description": "资金账户 - 格式:1,2,3",
  13026. "name": "accountID",
  13027. "in": "query",
  13028. "required": true
  13029. },
  13030. {
  13031. "type": "string",
  13032. "description": "资金操作类型 - 格式:1,2,3",
  13033. "name": "OperateType",
  13034. "in": "query"
  13035. },
  13036. {
  13037. "type": "string",
  13038. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  13039. "name": "startDate",
  13040. "in": "query"
  13041. },
  13042. {
  13043. "type": "string",
  13044. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  13045. "name": "endDate",
  13046. "in": "query"
  13047. }
  13048. ],
  13049. "responses": {
  13050. "200": {
  13051. "description": "OK",
  13052. "schema": {
  13053. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  13054. }
  13055. },
  13056. "500": {
  13057. "description": "Internal Server Error",
  13058. "schema": {
  13059. "$ref": "#/definitions/app.Response"
  13060. }
  13061. }
  13062. }
  13063. }
  13064. },
  13065. "/TaAccount/QueryRelatedTaAccount": {
  13066. "get": {
  13067. "security": [
  13068. {
  13069. "ApiKeyAuth": []
  13070. }
  13071. ],
  13072. "produces": [
  13073. "application/json"
  13074. ],
  13075. "tags": [
  13076. "资金账户"
  13077. ],
  13078. "summary": "查询关联资金账户信息",
  13079. "parameters": [
  13080. {
  13081. "type": "integer",
  13082. "description": "关联UserID",
  13083. "name": "relateduserid",
  13084. "in": "query",
  13085. "required": true
  13086. }
  13087. ],
  13088. "responses": {
  13089. "200": {
  13090. "description": "OK",
  13091. "schema": {
  13092. "type": "array",
  13093. "items": {
  13094. "$ref": "#/definitions/models.RelatedTaAccount"
  13095. }
  13096. }
  13097. },
  13098. "500": {
  13099. "description": "Internal Server Error",
  13100. "schema": {
  13101. "$ref": "#/definitions/app.Response"
  13102. }
  13103. }
  13104. }
  13105. }
  13106. },
  13107. "/Tjmd/QueryQuoteGoodsList": {
  13108. "get": {
  13109. "security": [
  13110. {
  13111. "ApiKeyAuth": []
  13112. }
  13113. ],
  13114. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  13115. "produces": [
  13116. "application/json"
  13117. ],
  13118. "tags": [
  13119. "天津麦顿"
  13120. ],
  13121. "summary": "查询掉期报价列表",
  13122. "parameters": [
  13123. {
  13124. "type": "integer",
  13125. "description": "用户类型",
  13126. "name": "usertype",
  13127. "in": "query",
  13128. "required": true
  13129. },
  13130. {
  13131. "type": "string",
  13132. "description": "市场id, 格式 1,2,3",
  13133. "name": "marketids",
  13134. "in": "query"
  13135. },
  13136. {
  13137. "type": "integer",
  13138. "description": "商品组id",
  13139. "name": "goodsgroupid",
  13140. "in": "query"
  13141. },
  13142. {
  13143. "type": "integer",
  13144. "description": "商品id",
  13145. "name": "goodsid",
  13146. "in": "query"
  13147. }
  13148. ],
  13149. "responses": {
  13150. "200": {
  13151. "description": "OK",
  13152. "schema": {
  13153. "type": "array",
  13154. "items": {
  13155. "$ref": "#/definitions/models.TjmdQuoteGoods"
  13156. }
  13157. }
  13158. },
  13159. "500": {
  13160. "description": "Internal Server Error",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. }
  13165. }
  13166. }
  13167. },
  13168. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  13169. "get": {
  13170. "security": [
  13171. {
  13172. "ApiKeyAuth": []
  13173. }
  13174. ],
  13175. "produces": [
  13176. "application/json"
  13177. ],
  13178. "tags": [
  13179. "天津麦顿"
  13180. ],
  13181. "summary": "掉期商品订单详情(交易确认书)",
  13182. "parameters": [
  13183. {
  13184. "type": "string",
  13185. "description": "成交单号",
  13186. "name": "tradeid",
  13187. "in": "query",
  13188. "required": true
  13189. }
  13190. ],
  13191. "responses": {
  13192. "200": {
  13193. "description": "OK",
  13194. "schema": {
  13195. "type": "array",
  13196. "items": {
  13197. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13198. }
  13199. }
  13200. },
  13201. "500": {
  13202. "description": "Internal Server Error",
  13203. "schema": {
  13204. "$ref": "#/definitions/app.Response"
  13205. }
  13206. }
  13207. }
  13208. }
  13209. },
  13210. "/Tjmd/QueryTjmdMarketSection": {
  13211. "get": {
  13212. "security": [
  13213. {
  13214. "ApiKeyAuth": []
  13215. }
  13216. ],
  13217. "produces": [
  13218. "application/json"
  13219. ],
  13220. "tags": [
  13221. "天津麦顿"
  13222. ],
  13223. "summary": "查询市场板块",
  13224. "responses": {
  13225. "200": {
  13226. "description": "OK",
  13227. "schema": {
  13228. "type": "array",
  13229. "items": {
  13230. "$ref": "#/definitions/models.TjmdMarketSection"
  13231. }
  13232. }
  13233. },
  13234. "500": {
  13235. "description": "Internal Server Error",
  13236. "schema": {
  13237. "$ref": "#/definitions/app.Response"
  13238. }
  13239. }
  13240. }
  13241. }
  13242. },
  13243. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13244. "get": {
  13245. "security": [
  13246. {
  13247. "ApiKeyAuth": []
  13248. }
  13249. ],
  13250. "produces": [
  13251. "application/json"
  13252. ],
  13253. "tags": [
  13254. "天津麦顿"
  13255. ],
  13256. "summary": "查询今日账户保证金配置",
  13257. "parameters": [
  13258. {
  13259. "type": "string",
  13260. "description": "市场id",
  13261. "name": "marketid",
  13262. "in": "query"
  13263. },
  13264. {
  13265. "type": "string",
  13266. "description": "商品id",
  13267. "name": "goodsid",
  13268. "in": "query"
  13269. },
  13270. {
  13271. "type": "string",
  13272. "description": "资金账号",
  13273. "name": "accountid",
  13274. "in": "query"
  13275. }
  13276. ],
  13277. "responses": {
  13278. "200": {
  13279. "description": "OK",
  13280. "schema": {
  13281. "type": "array",
  13282. "items": {
  13283. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13284. }
  13285. }
  13286. },
  13287. "500": {
  13288. "description": "Internal Server Error",
  13289. "schema": {
  13290. "$ref": "#/definitions/app.Response"
  13291. }
  13292. }
  13293. }
  13294. }
  13295. },
  13296. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13297. "get": {
  13298. "security": [
  13299. {
  13300. "ApiKeyAuth": []
  13301. }
  13302. ],
  13303. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13304. "produces": [
  13305. "application/json"
  13306. ],
  13307. "tags": [
  13308. "天津麦顿"
  13309. ],
  13310. "summary": "查询掉期买卖大厅",
  13311. "parameters": [
  13312. {
  13313. "type": "integer",
  13314. "description": "页码",
  13315. "name": "page",
  13316. "in": "query"
  13317. },
  13318. {
  13319. "type": "integer",
  13320. "description": "每页条数",
  13321. "name": "pagesize",
  13322. "in": "query"
  13323. },
  13324. {
  13325. "type": "integer",
  13326. "description": "用户id",
  13327. "name": "userid",
  13328. "in": "query",
  13329. "required": true
  13330. },
  13331. {
  13332. "type": "integer",
  13333. "description": "用户类型",
  13334. "name": "usertype",
  13335. "in": "query",
  13336. "required": true
  13337. },
  13338. {
  13339. "type": "string",
  13340. "description": "市场id, 格式 1,2,3",
  13341. "name": "marketids",
  13342. "in": "query"
  13343. },
  13344. {
  13345. "type": "integer",
  13346. "description": "商品id",
  13347. "name": "goodsid",
  13348. "in": "query",
  13349. "required": true
  13350. },
  13351. {
  13352. "type": "integer",
  13353. "description": "买卖方向 0-买 1-卖",
  13354. "name": "buyorsell",
  13355. "in": "query",
  13356. "required": true
  13357. }
  13358. ],
  13359. "responses": {
  13360. "200": {
  13361. "description": "OK",
  13362. "schema": {
  13363. "type": "array",
  13364. "items": {
  13365. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13366. }
  13367. }
  13368. },
  13369. "500": {
  13370. "description": "Internal Server Error",
  13371. "schema": {
  13372. "$ref": "#/definitions/app.Response"
  13373. }
  13374. }
  13375. }
  13376. }
  13377. },
  13378. "/Tjmd/QueryTjmdTransferApply": {
  13379. "get": {
  13380. "security": [
  13381. {
  13382. "ApiKeyAuth": []
  13383. }
  13384. ],
  13385. "produces": [
  13386. "application/json"
  13387. ],
  13388. "tags": [
  13389. "天津麦顿"
  13390. ],
  13391. "summary": "查询掉期协议单",
  13392. "parameters": [
  13393. {
  13394. "type": "integer",
  13395. "description": "类型 1-我的申请 2-对方申请",
  13396. "name": "applytype",
  13397. "in": "query",
  13398. "required": true
  13399. },
  13400. {
  13401. "type": "string",
  13402. "description": "市场id, 格式 1,2,3",
  13403. "name": "marketids",
  13404. "in": "query"
  13405. },
  13406. {
  13407. "type": "string",
  13408. "description": "资金账号, 格式 25000000001,25000000003",
  13409. "name": "accountids",
  13410. "in": "query"
  13411. },
  13412. {
  13413. "type": "string",
  13414. "description": "开始交易日(yyyymmdd)",
  13415. "name": "begindate",
  13416. "in": "query"
  13417. },
  13418. {
  13419. "type": "string",
  13420. "description": "结束交易日(yyyymmdd)",
  13421. "name": "enddate",
  13422. "in": "query"
  13423. }
  13424. ],
  13425. "responses": {
  13426. "200": {
  13427. "description": "OK",
  13428. "schema": {
  13429. "type": "array",
  13430. "items": {
  13431. "$ref": "#/definitions/models.TjmdTransferApply"
  13432. }
  13433. }
  13434. },
  13435. "500": {
  13436. "description": "Internal Server Error",
  13437. "schema": {
  13438. "$ref": "#/definitions/app.Response"
  13439. }
  13440. }
  13441. }
  13442. }
  13443. },
  13444. "/Trade/QueryRecieptOrder": {
  13445. "get": {
  13446. "security": [
  13447. {
  13448. "ApiKeyAuth": []
  13449. }
  13450. ],
  13451. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13452. "produces": [
  13453. "application/json"
  13454. ],
  13455. "tags": [
  13456. "通用交易"
  13457. ],
  13458. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13459. "parameters": [
  13460. {
  13461. "type": "integer",
  13462. "description": "页码",
  13463. "name": "page",
  13464. "in": "query"
  13465. },
  13466. {
  13467. "type": "integer",
  13468. "description": "每页条数",
  13469. "name": "pagesize",
  13470. "in": "query"
  13471. },
  13472. {
  13473. "type": "integer",
  13474. "description": "商品ID",
  13475. "name": "goodsID",
  13476. "in": "query",
  13477. "required": true
  13478. },
  13479. {
  13480. "type": "string",
  13481. "description": "所属账户名称",
  13482. "name": "accountName",
  13483. "in": "query"
  13484. },
  13485. {
  13486. "type": "integer",
  13487. "description": "市场ID",
  13488. "name": "marketID",
  13489. "in": "query"
  13490. },
  13491. {
  13492. "type": "integer",
  13493. "description": "方向 - 0:买 1:卖",
  13494. "name": "buyorsell",
  13495. "in": "query",
  13496. "required": true
  13497. }
  13498. ],
  13499. "responses": {
  13500. "200": {
  13501. "description": "OK",
  13502. "schema": {
  13503. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13504. }
  13505. },
  13506. "500": {
  13507. "description": "Internal Server Error",
  13508. "schema": {
  13509. "$ref": "#/definitions/app.Response"
  13510. }
  13511. }
  13512. }
  13513. }
  13514. },
  13515. "/User/AddMessageBoard": {
  13516. "post": {
  13517. "security": [
  13518. {
  13519. "ApiKeyAuth": []
  13520. }
  13521. ],
  13522. "produces": [
  13523. "application/json"
  13524. ],
  13525. "tags": [
  13526. "用户信息"
  13527. ],
  13528. "summary": "添加用户留言板信息",
  13529. "parameters": [
  13530. {
  13531. "type": "integer",
  13532. "description": "用户ID",
  13533. "name": "userID",
  13534. "in": "query",
  13535. "required": true
  13536. },
  13537. {
  13538. "type": "string",
  13539. "description": "留言信息",
  13540. "name": "message",
  13541. "in": "query",
  13542. "required": true
  13543. },
  13544. {
  13545. "type": "string",
  13546. "description": "联系电话",
  13547. "name": "contactNum",
  13548. "in": "query",
  13549. "required": true
  13550. }
  13551. ],
  13552. "responses": {
  13553. "200": {
  13554. "description": "OK",
  13555. "schema": {
  13556. "$ref": "#/definitions/app.Response"
  13557. }
  13558. },
  13559. "500": {
  13560. "description": "Internal Server Error",
  13561. "schema": {
  13562. "$ref": "#/definitions/app.Response"
  13563. }
  13564. }
  13565. }
  13566. }
  13567. },
  13568. "/User/AddUserFavoriteGoods": {
  13569. "post": {
  13570. "security": [
  13571. {
  13572. "ApiKeyAuth": []
  13573. }
  13574. ],
  13575. "produces": [
  13576. "application/json"
  13577. ],
  13578. "tags": [
  13579. "用户信息"
  13580. ],
  13581. "summary": "添加用户商品收藏信息",
  13582. "parameters": [
  13583. {
  13584. "type": "integer",
  13585. "description": "用户ID",
  13586. "name": "userID",
  13587. "in": "query",
  13588. "required": true
  13589. },
  13590. {
  13591. "type": "integer",
  13592. "description": "商品ID",
  13593. "name": "goodsID",
  13594. "in": "query",
  13595. "required": true
  13596. }
  13597. ],
  13598. "responses": {
  13599. "200": {
  13600. "description": "OK",
  13601. "schema": {
  13602. "$ref": "#/definitions/app.Response"
  13603. }
  13604. },
  13605. "500": {
  13606. "description": "Internal Server Error",
  13607. "schema": {
  13608. "$ref": "#/definitions/app.Response"
  13609. }
  13610. }
  13611. }
  13612. }
  13613. },
  13614. "/User/GetLoginID": {
  13615. "get": {
  13616. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13617. "produces": [
  13618. "application/json"
  13619. ],
  13620. "tags": [
  13621. "用户信息"
  13622. ],
  13623. "summary": "获取登录ID",
  13624. "parameters": [
  13625. {
  13626. "type": "string",
  13627. "description": "登录代码",
  13628. "name": "username",
  13629. "in": "query",
  13630. "required": true
  13631. }
  13632. ],
  13633. "responses": {
  13634. "200": {
  13635. "description": "OK",
  13636. "schema": {
  13637. "$ref": "#/definitions/app.Response"
  13638. }
  13639. },
  13640. "500": {
  13641. "description": "Internal Server Error",
  13642. "schema": {
  13643. "$ref": "#/definitions/app.Response"
  13644. }
  13645. }
  13646. }
  13647. }
  13648. },
  13649. "/User/GetUserAccount": {
  13650. "get": {
  13651. "security": [
  13652. {
  13653. "ApiKeyAuth": []
  13654. }
  13655. ],
  13656. "produces": [
  13657. "application/json"
  13658. ],
  13659. "tags": [
  13660. "用户信息"
  13661. ],
  13662. "summary": "获取用户账号信息",
  13663. "parameters": [
  13664. {
  13665. "type": "integer",
  13666. "description": "用户ID",
  13667. "name": "userID",
  13668. "in": "query",
  13669. "required": true
  13670. }
  13671. ],
  13672. "responses": {
  13673. "200": {
  13674. "description": "OK",
  13675. "schema": {
  13676. "$ref": "#/definitions/models.Useraccount"
  13677. }
  13678. },
  13679. "500": {
  13680. "description": "Internal Server Error",
  13681. "schema": {
  13682. "$ref": "#/definitions/app.Response"
  13683. }
  13684. }
  13685. }
  13686. }
  13687. },
  13688. "/User/GetUserAuthStatus": {
  13689. "get": {
  13690. "security": [
  13691. {
  13692. "ApiKeyAuth": []
  13693. }
  13694. ],
  13695. "produces": [
  13696. "application/json"
  13697. ],
  13698. "tags": [
  13699. "用户信息"
  13700. ],
  13701. "summary": "获取用户实名认证状态",
  13702. "parameters": [
  13703. {
  13704. "type": "integer",
  13705. "description": "用户ID",
  13706. "name": "userID",
  13707. "in": "query",
  13708. "required": true
  13709. }
  13710. ],
  13711. "responses": {
  13712. "200": {
  13713. "description": "OK",
  13714. "schema": {
  13715. "$ref": "#/definitions/app.Response"
  13716. }
  13717. },
  13718. "500": {
  13719. "description": "Internal Server Error",
  13720. "schema": {
  13721. "$ref": "#/definitions/app.Response"
  13722. }
  13723. }
  13724. }
  13725. }
  13726. },
  13727. "/User/LoginQuery": {
  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": "integer",
  13744. "description": "登录账号",
  13745. "name": "loginID",
  13746. "in": "query",
  13747. "required": true
  13748. }
  13749. ],
  13750. "responses": {
  13751. "200": {
  13752. "description": "OK",
  13753. "schema": {
  13754. "$ref": "#/definitions/user.LoginQueryRsp"
  13755. }
  13756. },
  13757. "500": {
  13758. "description": "Internal Server Error",
  13759. "schema": {
  13760. "$ref": "#/definitions/app.Response"
  13761. }
  13762. }
  13763. }
  13764. }
  13765. },
  13766. "/User/QueryMessageBoard": {
  13767. "get": {
  13768. "security": [
  13769. {
  13770. "ApiKeyAuth": []
  13771. }
  13772. ],
  13773. "produces": [
  13774. "application/json"
  13775. ],
  13776. "tags": [
  13777. "用户信息"
  13778. ],
  13779. "summary": "获取用户留言板信息",
  13780. "parameters": [
  13781. {
  13782. "type": "integer",
  13783. "description": "用户ID",
  13784. "name": "userID",
  13785. "in": "query",
  13786. "required": true
  13787. }
  13788. ],
  13789. "responses": {
  13790. "200": {
  13791. "description": "OK",
  13792. "schema": {
  13793. "$ref": "#/definitions/models.Messageboard"
  13794. }
  13795. },
  13796. "500": {
  13797. "description": "Internal Server Error",
  13798. "schema": {
  13799. "$ref": "#/definitions/app.Response"
  13800. }
  13801. }
  13802. }
  13803. }
  13804. },
  13805. "/User/QueryUserFavoriteGoodses": {
  13806. "get": {
  13807. "security": [
  13808. {
  13809. "ApiKeyAuth": []
  13810. }
  13811. ],
  13812. "produces": [
  13813. "application/json"
  13814. ],
  13815. "tags": [
  13816. "用户信息"
  13817. ],
  13818. "summary": "获取用户商品收藏信息",
  13819. "parameters": [
  13820. {
  13821. "type": "integer",
  13822. "description": "用户ID",
  13823. "name": "userID",
  13824. "in": "query",
  13825. "required": true
  13826. }
  13827. ],
  13828. "responses": {
  13829. "200": {
  13830. "description": "OK",
  13831. "schema": {
  13832. "$ref": "#/definitions/models.Userfavoritegoods"
  13833. }
  13834. },
  13835. "500": {
  13836. "description": "Internal Server Error",
  13837. "schema": {
  13838. "$ref": "#/definitions/app.Response"
  13839. }
  13840. }
  13841. }
  13842. }
  13843. },
  13844. "/User/QueryUserInfo": {
  13845. "get": {
  13846. "security": [
  13847. {
  13848. "ApiKeyAuth": []
  13849. }
  13850. ],
  13851. "produces": [
  13852. "application/json"
  13853. ],
  13854. "tags": [
  13855. "用户信息"
  13856. ],
  13857. "summary": "获取用户信息",
  13858. "parameters": [
  13859. {
  13860. "type": "integer",
  13861. "description": "用户ID",
  13862. "name": "userID",
  13863. "in": "query",
  13864. "required": true
  13865. },
  13866. {
  13867. "type": "boolean",
  13868. "description": "是否解密",
  13869. "name": "isDecrypt",
  13870. "in": "query"
  13871. }
  13872. ],
  13873. "responses": {
  13874. "200": {
  13875. "description": "OK",
  13876. "schema": {
  13877. "$ref": "#/definitions/models.Userinfo"
  13878. }
  13879. },
  13880. "500": {
  13881. "description": "Internal Server Error",
  13882. "schema": {
  13883. "$ref": "#/definitions/app.Response"
  13884. }
  13885. }
  13886. }
  13887. }
  13888. },
  13889. "/User/QueryUserReferNum": {
  13890. "get": {
  13891. "produces": [
  13892. "application/json"
  13893. ],
  13894. "tags": [
  13895. "用户信息"
  13896. ],
  13897. "summary": "获取用户邀请码",
  13898. "parameters": [
  13899. {
  13900. "type": "integer",
  13901. "description": "用户ID",
  13902. "name": "userID",
  13903. "in": "query",
  13904. "required": true
  13905. }
  13906. ],
  13907. "responses": {
  13908. "200": {
  13909. "description": "OK",
  13910. "schema": {
  13911. "$ref": "#/definitions/app.Response"
  13912. }
  13913. },
  13914. "500": {
  13915. "description": "Internal Server Error",
  13916. "schema": {
  13917. "$ref": "#/definitions/app.Response"
  13918. }
  13919. }
  13920. }
  13921. }
  13922. },
  13923. "/User/RemoveUserFavoriteGoods": {
  13924. "post": {
  13925. "security": [
  13926. {
  13927. "ApiKeyAuth": []
  13928. }
  13929. ],
  13930. "produces": [
  13931. "application/json"
  13932. ],
  13933. "tags": [
  13934. "用户信息"
  13935. ],
  13936. "summary": "移除用户商品收藏信息",
  13937. "parameters": [
  13938. {
  13939. "type": "integer",
  13940. "description": "用户ID",
  13941. "name": "userID",
  13942. "in": "query",
  13943. "required": true
  13944. },
  13945. {
  13946. "type": "integer",
  13947. "description": "商品ID",
  13948. "name": "goodsID",
  13949. "in": "query",
  13950. "required": true
  13951. }
  13952. ],
  13953. "responses": {
  13954. "200": {
  13955. "description": "OK",
  13956. "schema": {
  13957. "$ref": "#/definitions/app.Response"
  13958. }
  13959. },
  13960. "500": {
  13961. "description": "Internal Server Error",
  13962. "schema": {
  13963. "$ref": "#/definitions/app.Response"
  13964. }
  13965. }
  13966. }
  13967. }
  13968. },
  13969. "/User/UpdateUserAccountStatus": {
  13970. "post": {
  13971. "security": [
  13972. {
  13973. "ApiKeyAuth": []
  13974. }
  13975. ],
  13976. "produces": [
  13977. "application/json"
  13978. ],
  13979. "tags": [
  13980. "用户信息"
  13981. ],
  13982. "summary": "更新用户状态",
  13983. "parameters": [
  13984. {
  13985. "type": "integer",
  13986. "description": "用户ID",
  13987. "name": "userID",
  13988. "in": "query",
  13989. "required": true
  13990. },
  13991. {
  13992. "type": "integer",
  13993. "description": "账户状态 - 4:正常 6:注销(停用)",
  13994. "name": "accountStatus",
  13995. "in": "query",
  13996. "required": true
  13997. }
  13998. ],
  13999. "responses": {
  14000. "200": {
  14001. "description": "OK",
  14002. "schema": {
  14003. "$ref": "#/definitions/app.Response"
  14004. }
  14005. },
  14006. "500": {
  14007. "description": "Internal Server Error",
  14008. "schema": {
  14009. "$ref": "#/definitions/app.Response"
  14010. }
  14011. }
  14012. }
  14013. }
  14014. },
  14015. "/WRTrade/GetAllDeliveryGoods": {
  14016. "get": {
  14017. "security": [
  14018. {
  14019. "ApiKeyAuth": []
  14020. }
  14021. ],
  14022. "produces": [
  14023. "application/json"
  14024. ],
  14025. "tags": [
  14026. "仓单贸易",
  14027. "仓单贸易"
  14028. ],
  14029. "summary": "获取带仓单分类的种类信息",
  14030. "responses": {
  14031. "200": {
  14032. "description": "OK",
  14033. "schema": {
  14034. "$ref": "#/definitions/app.Response"
  14035. }
  14036. },
  14037. "500": {
  14038. "description": "Internal Server Error",
  14039. "schema": {
  14040. "$ref": "#/definitions/app.Response"
  14041. }
  14042. }
  14043. }
  14044. }
  14045. },
  14046. "/WrTrade2/InsertXhcpSellBackApply": {
  14047. "post": {
  14048. "security": [
  14049. {
  14050. "ApiKeyAuth": []
  14051. }
  14052. ],
  14053. "produces": [
  14054. "application/json"
  14055. ],
  14056. "tags": [
  14057. "仓单贸易v2"
  14058. ],
  14059. "summary": "新增回收申请(新会陈皮)",
  14060. "parameters": [
  14061. {
  14062. "description": "回收申请",
  14063. "name": "jsonBody",
  14064. "in": "body",
  14065. "required": true,
  14066. "schema": {
  14067. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  14068. }
  14069. }
  14070. ],
  14071. "responses": {
  14072. "200": {
  14073. "description": "OK",
  14074. "schema": {
  14075. "$ref": "#/definitions/app.Response"
  14076. }
  14077. },
  14078. "500": {
  14079. "description": "Internal Server Error",
  14080. "schema": {
  14081. "$ref": "#/definitions/app.Response"
  14082. }
  14083. }
  14084. }
  14085. }
  14086. },
  14087. "/WrTrade2/QueryDeliveryGoodsSection": {
  14088. "get": {
  14089. "security": [
  14090. {
  14091. "ApiKeyAuth": []
  14092. }
  14093. ],
  14094. "produces": [
  14095. "application/json"
  14096. ],
  14097. "tags": [
  14098. "仓单贸易v2"
  14099. ],
  14100. "summary": "查询板块(分类)",
  14101. "responses": {
  14102. "200": {
  14103. "description": "OK",
  14104. "schema": {
  14105. "type": "array",
  14106. "items": {
  14107. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  14108. }
  14109. }
  14110. },
  14111. "500": {
  14112. "description": "Internal Server Error",
  14113. "schema": {
  14114. "$ref": "#/definitions/app.Response"
  14115. }
  14116. }
  14117. }
  14118. }
  14119. },
  14120. "/WrTrade2/QueryFaProductDetail": {
  14121. "get": {
  14122. "security": [
  14123. {
  14124. "ApiKeyAuth": []
  14125. }
  14126. ],
  14127. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  14128. "produces": [
  14129. "application/json"
  14130. ],
  14131. "tags": [
  14132. "仓单贸易v2"
  14133. ],
  14134. "summary": "查询融资产品列表",
  14135. "parameters": [
  14136. {
  14137. "type": "integer",
  14138. "description": "仓单要素id",
  14139. "name": "wrfactortypeid",
  14140. "in": "query",
  14141. "required": true
  14142. }
  14143. ],
  14144. "responses": {
  14145. "200": {
  14146. "description": "OK",
  14147. "schema": {
  14148. "type": "array",
  14149. "items": {
  14150. "$ref": "#/definitions/models.WrFAProductDetail"
  14151. }
  14152. }
  14153. },
  14154. "500": {
  14155. "description": "Internal Server Error",
  14156. "schema": {
  14157. "$ref": "#/definitions/app.Response"
  14158. }
  14159. }
  14160. }
  14161. }
  14162. },
  14163. "/WrTrade2/QueryFilterItem": {
  14164. "get": {
  14165. "security": [
  14166. {
  14167. "ApiKeyAuth": []
  14168. }
  14169. ],
  14170. "produces": [
  14171. "application/json"
  14172. ],
  14173. "tags": [
  14174. "仓单贸易v2"
  14175. ],
  14176. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14177. "parameters": [
  14178. {
  14179. "type": "string",
  14180. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14181. "name": "itype",
  14182. "in": "query",
  14183. "required": true
  14184. }
  14185. ],
  14186. "responses": {
  14187. "200": {
  14188. "description": "OK",
  14189. "schema": {
  14190. "type": "array",
  14191. "items": {
  14192. "$ref": "#/definitions/models.WrFilterItem"
  14193. }
  14194. }
  14195. },
  14196. "500": {
  14197. "description": "Internal Server Error",
  14198. "schema": {
  14199. "$ref": "#/definitions/app.Response"
  14200. }
  14201. }
  14202. }
  14203. }
  14204. },
  14205. "/WrTrade2/QueryFtDeliveryGoods": {
  14206. "get": {
  14207. "security": [
  14208. {
  14209. "ApiKeyAuth": []
  14210. }
  14211. ],
  14212. "produces": [
  14213. "application/json"
  14214. ],
  14215. "tags": [
  14216. "仓单贸易v2"
  14217. ],
  14218. "summary": "查询品种品类筛选框列表",
  14219. "responses": {
  14220. "200": {
  14221. "description": "OK",
  14222. "schema": {
  14223. "type": "array",
  14224. "items": {
  14225. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14226. }
  14227. }
  14228. },
  14229. "500": {
  14230. "description": "Internal Server Error",
  14231. "schema": {
  14232. "$ref": "#/definitions/app.Response"
  14233. }
  14234. }
  14235. }
  14236. }
  14237. },
  14238. "/WrTrade2/QueryHoldLB": {
  14239. "get": {
  14240. "security": [
  14241. {
  14242. "ApiKeyAuth": []
  14243. }
  14244. ],
  14245. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14246. "produces": [
  14247. "application/json"
  14248. ],
  14249. "tags": [
  14250. "仓单贸易v2"
  14251. ],
  14252. "summary": "查询仓单持有记录",
  14253. "parameters": [
  14254. {
  14255. "type": "integer",
  14256. "description": "资金账号",
  14257. "name": "accountid",
  14258. "in": "query",
  14259. "required": true
  14260. },
  14261. {
  14262. "type": "integer",
  14263. "description": "仓库id",
  14264. "name": "warehouseid",
  14265. "in": "query"
  14266. },
  14267. {
  14268. "type": "integer",
  14269. "description": "品种id",
  14270. "name": "deliverygoodsid",
  14271. "in": "query"
  14272. },
  14273. {
  14274. "type": "integer",
  14275. "description": "品类id",
  14276. "name": "wrstandardid",
  14277. "in": "query"
  14278. },
  14279. {
  14280. "type": "integer",
  14281. "description": "仓单要素id",
  14282. "name": "wrfactortypeid",
  14283. "in": "query"
  14284. },
  14285. {
  14286. "type": "string",
  14287. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14288. "name": "dgitemname",
  14289. "in": "query"
  14290. }
  14291. ],
  14292. "responses": {
  14293. "200": {
  14294. "description": "OK",
  14295. "schema": {
  14296. "type": "array",
  14297. "items": {
  14298. "$ref": "#/definitions/models.WrHoldLB"
  14299. }
  14300. }
  14301. },
  14302. "500": {
  14303. "description": "Internal Server Error",
  14304. "schema": {
  14305. "$ref": "#/definitions/app.Response"
  14306. }
  14307. }
  14308. }
  14309. }
  14310. },
  14311. "/WrTrade2/QueryOrderQuote": {
  14312. "get": {
  14313. "security": [
  14314. {
  14315. "ApiKeyAuth": []
  14316. }
  14317. ],
  14318. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14319. "produces": [
  14320. "application/json"
  14321. ],
  14322. "tags": [
  14323. "仓单贸易v2"
  14324. ],
  14325. "summary": "查询大厅行情列表",
  14326. "parameters": [
  14327. {
  14328. "type": "integer",
  14329. "description": "页码",
  14330. "name": "page",
  14331. "in": "query"
  14332. },
  14333. {
  14334. "type": "integer",
  14335. "description": "每页条数",
  14336. "name": "pagesize",
  14337. "in": "query"
  14338. },
  14339. {
  14340. "type": "integer",
  14341. "description": "仓单贸易市场id",
  14342. "name": "marketid",
  14343. "in": "query"
  14344. },
  14345. {
  14346. "type": "integer",
  14347. "description": "价格方式 - 1:固定价 2-浮动价",
  14348. "name": "wrpricetype",
  14349. "in": "query",
  14350. "required": true
  14351. },
  14352. {
  14353. "type": "integer",
  14354. "description": "0:仓单预售 1:仓单贸易",
  14355. "name": "haswr",
  14356. "in": "query"
  14357. },
  14358. {
  14359. "type": "string",
  14360. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14361. "name": "dgitemname",
  14362. "in": "query"
  14363. },
  14364. {
  14365. "type": "integer",
  14366. "description": "仓库id(筛选条件)",
  14367. "name": "warehouseid",
  14368. "in": "query"
  14369. },
  14370. {
  14371. "type": "integer",
  14372. "description": "品种id",
  14373. "name": "deliverygoodsid",
  14374. "in": "query"
  14375. },
  14376. {
  14377. "type": "integer",
  14378. "description": "品类id",
  14379. "name": "wrstandardid",
  14380. "in": "query"
  14381. },
  14382. {
  14383. "type": "integer",
  14384. "description": "品牌id(dgfactoryitemid)",
  14385. "name": "brandid",
  14386. "in": "query"
  14387. },
  14388. {
  14389. "type": "integer",
  14390. "description": "年份id(dgfactoryitemid)",
  14391. "name": "yearsid",
  14392. "in": "query"
  14393. },
  14394. {
  14395. "type": "integer",
  14396. "description": "仓单要素id",
  14397. "name": "wrfactortypeid",
  14398. "in": "query"
  14399. },
  14400. {
  14401. "type": "string",
  14402. "description": "交收月(yyyy-mm) 仓单预售填写",
  14403. "name": "deliverymonth",
  14404. "in": "query"
  14405. }
  14406. ],
  14407. "responses": {
  14408. "200": {
  14409. "description": "OK",
  14410. "schema": {
  14411. "type": "array",
  14412. "items": {
  14413. "$ref": "#/definitions/models.WrOrderQuote"
  14414. }
  14415. }
  14416. },
  14417. "500": {
  14418. "description": "Internal Server Error",
  14419. "schema": {
  14420. "$ref": "#/definitions/app.Response"
  14421. }
  14422. }
  14423. }
  14424. }
  14425. },
  14426. "/WrTrade2/QueryOrderQuoteDetail": {
  14427. "get": {
  14428. "security": [
  14429. {
  14430. "ApiKeyAuth": []
  14431. }
  14432. ],
  14433. "produces": [
  14434. "application/json"
  14435. ],
  14436. "tags": [
  14437. "仓单贸易v2"
  14438. ],
  14439. "summary": "查询买卖大厅",
  14440. "parameters": [
  14441. {
  14442. "type": "integer",
  14443. "description": "页码",
  14444. "name": "page",
  14445. "in": "query"
  14446. },
  14447. {
  14448. "type": "integer",
  14449. "description": "每页条数",
  14450. "name": "pagesize",
  14451. "in": "query"
  14452. },
  14453. {
  14454. "type": "integer",
  14455. "description": "仓单贸易市场id",
  14456. "name": "marketid",
  14457. "in": "query"
  14458. },
  14459. {
  14460. "type": "integer",
  14461. "description": "价格方式 - 1:固定价 2-浮动价",
  14462. "name": "wrpricetype",
  14463. "in": "query",
  14464. "required": true
  14465. },
  14466. {
  14467. "type": "integer",
  14468. "description": "0:仓单预售 1:仓单贸易",
  14469. "name": "haswr",
  14470. "in": "query"
  14471. },
  14472. {
  14473. "type": "integer",
  14474. "description": "仓单要素id",
  14475. "name": "wrfactortypeid",
  14476. "in": "query",
  14477. "required": true
  14478. },
  14479. {
  14480. "type": "integer",
  14481. "description": "期货商品id(浮动价方式时填)",
  14482. "name": "goodsid",
  14483. "in": "query"
  14484. },
  14485. {
  14486. "type": "integer",
  14487. "description": "买卖方向 0-买 1-卖",
  14488. "name": "buyorsell",
  14489. "in": "query",
  14490. "required": true
  14491. },
  14492. {
  14493. "type": "string",
  14494. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14495. "name": "deliverymonth",
  14496. "in": "query"
  14497. }
  14498. ],
  14499. "responses": {
  14500. "200": {
  14501. "description": "OK",
  14502. "schema": {
  14503. "type": "array",
  14504. "items": {
  14505. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14506. }
  14507. }
  14508. },
  14509. "500": {
  14510. "description": "Internal Server Error",
  14511. "schema": {
  14512. "$ref": "#/definitions/app.Response"
  14513. }
  14514. }
  14515. }
  14516. }
  14517. },
  14518. "/WrTrade2/QueryOrderQuoteMyq": {
  14519. "get": {
  14520. "security": [
  14521. {
  14522. "ApiKeyAuth": []
  14523. }
  14524. ],
  14525. "produces": [
  14526. "application/json"
  14527. ],
  14528. "tags": [
  14529. "仓单贸易v2"
  14530. ],
  14531. "summary": "查询贸易圈挂牌大厅",
  14532. "parameters": [
  14533. {
  14534. "type": "integer",
  14535. "description": "页码",
  14536. "name": "page",
  14537. "in": "query"
  14538. },
  14539. {
  14540. "type": "integer",
  14541. "description": "每页条数",
  14542. "name": "pagesize",
  14543. "in": "query"
  14544. },
  14545. {
  14546. "type": "integer",
  14547. "description": "用户id",
  14548. "name": "userid",
  14549. "in": "query",
  14550. "required": true
  14551. },
  14552. {
  14553. "type": "integer",
  14554. "description": "仓单贸易市场id",
  14555. "name": "marketid",
  14556. "in": "query"
  14557. },
  14558. {
  14559. "type": "integer",
  14560. "description": "0:仓单预售 1:仓单贸易",
  14561. "name": "haswr",
  14562. "in": "query"
  14563. },
  14564. {
  14565. "type": "integer",
  14566. "description": "买卖方向 0-买 1-卖",
  14567. "name": "buyorsell",
  14568. "in": "query",
  14569. "required": true
  14570. },
  14571. {
  14572. "type": "integer",
  14573. "description": "品种id",
  14574. "name": "deliverygoodsid",
  14575. "in": "query"
  14576. },
  14577. {
  14578. "type": "integer",
  14579. "description": "品类id",
  14580. "name": "wrstandardid",
  14581. "in": "query"
  14582. },
  14583. {
  14584. "type": "string",
  14585. "description": "交收月(yyyy-mm) 仓单预售填写",
  14586. "name": "deliverymonth",
  14587. "in": "query"
  14588. },
  14589. {
  14590. "type": "string",
  14591. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14592. "name": "dgitemname",
  14593. "in": "query"
  14594. }
  14595. ],
  14596. "responses": {
  14597. "200": {
  14598. "description": "OK",
  14599. "schema": {
  14600. "type": "array",
  14601. "items": {
  14602. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14603. }
  14604. }
  14605. },
  14606. "500": {
  14607. "description": "Internal Server Error",
  14608. "schema": {
  14609. "$ref": "#/definitions/app.Response"
  14610. }
  14611. }
  14612. }
  14613. }
  14614. },
  14615. "/WrTrade2/QueryPerformancePlan": {
  14616. "get": {
  14617. "security": [
  14618. {
  14619. "ApiKeyAuth": []
  14620. }
  14621. ],
  14622. "produces": [
  14623. "application/json"
  14624. ],
  14625. "tags": [
  14626. "仓单贸易v2"
  14627. ],
  14628. "summary": "查询履约信息",
  14629. "parameters": [
  14630. {
  14631. "type": "integer",
  14632. "description": "用户id",
  14633. "name": "userid",
  14634. "in": "query",
  14635. "required": true
  14636. },
  14637. {
  14638. "type": "integer",
  14639. "description": "买卖方向 0-买 1-卖",
  14640. "name": "buyorsell",
  14641. "in": "query",
  14642. "required": true
  14643. },
  14644. {
  14645. "type": "string",
  14646. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  14647. "name": "status",
  14648. "in": "query"
  14649. },
  14650. {
  14651. "type": "string",
  14652. "description": "开始交易日(yyyymmdd)",
  14653. "name": "begindate",
  14654. "in": "query"
  14655. },
  14656. {
  14657. "type": "string",
  14658. "description": "结束交易日(yyyymmdd)",
  14659. "name": "enddate",
  14660. "in": "query"
  14661. }
  14662. ],
  14663. "responses": {
  14664. "200": {
  14665. "description": "OK",
  14666. "schema": {
  14667. "type": "array",
  14668. "items": {
  14669. "$ref": "#/definitions/models.WrPerformancePlan"
  14670. }
  14671. }
  14672. },
  14673. "500": {
  14674. "description": "Internal Server Error",
  14675. "schema": {
  14676. "$ref": "#/definitions/app.Response"
  14677. }
  14678. }
  14679. }
  14680. }
  14681. },
  14682. "/WrTrade2/QueryPermancePlanTmp": {
  14683. "get": {
  14684. "security": [
  14685. {
  14686. "ApiKeyAuth": []
  14687. }
  14688. ],
  14689. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14690. "produces": [
  14691. "application/json"
  14692. ],
  14693. "tags": [
  14694. "仓单贸易v2"
  14695. ],
  14696. "summary": "查询履约模板",
  14697. "parameters": [
  14698. {
  14699. "type": "integer",
  14700. "description": "用户id",
  14701. "name": "userid",
  14702. "in": "query"
  14703. },
  14704. {
  14705. "type": "string",
  14706. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14707. "name": "tmptype",
  14708. "in": "query"
  14709. },
  14710. {
  14711. "type": "integer",
  14712. "description": "是否包含公共模板(用户id为空的) 1-包含",
  14713. "name": "includepub",
  14714. "in": "query"
  14715. },
  14716. {
  14717. "type": "integer",
  14718. "description": "市场id(天津麦顿指定此参数,其它不用)",
  14719. "name": "marketid",
  14720. "in": "query"
  14721. }
  14722. ],
  14723. "responses": {
  14724. "200": {
  14725. "description": "OK",
  14726. "schema": {
  14727. "type": "array",
  14728. "items": {
  14729. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  14730. }
  14731. }
  14732. },
  14733. "500": {
  14734. "description": "Internal Server Error",
  14735. "schema": {
  14736. "$ref": "#/definitions/app.Response"
  14737. }
  14738. }
  14739. }
  14740. }
  14741. },
  14742. "/WrTrade2/QuerySiteColumnDetail": {
  14743. "get": {
  14744. "security": [
  14745. {
  14746. "ApiKeyAuth": []
  14747. }
  14748. ],
  14749. "produces": [
  14750. "application/json"
  14751. ],
  14752. "tags": [
  14753. "仓单贸易v2"
  14754. ],
  14755. "summary": "查询资讯",
  14756. "parameters": [
  14757. {
  14758. "type": "integer",
  14759. "description": "页码",
  14760. "name": "page",
  14761. "in": "query"
  14762. },
  14763. {
  14764. "type": "integer",
  14765. "description": "每页条数",
  14766. "name": "pagesize",
  14767. "in": "query"
  14768. },
  14769. {
  14770. "type": "integer",
  14771. "description": "所属栏目id",
  14772. "name": "columnid",
  14773. "in": "query"
  14774. }
  14775. ],
  14776. "responses": {
  14777. "200": {
  14778. "description": "OK",
  14779. "schema": {
  14780. "type": "array",
  14781. "items": {
  14782. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14783. }
  14784. }
  14785. },
  14786. "500": {
  14787. "description": "Internal Server Error",
  14788. "schema": {
  14789. "$ref": "#/definitions/app.Response"
  14790. }
  14791. }
  14792. }
  14793. }
  14794. },
  14795. "/WrTrade2/QuerySpotGroupTradeSum": {
  14796. "get": {
  14797. "security": [
  14798. {
  14799. "ApiKeyAuth": []
  14800. }
  14801. ],
  14802. "produces": [
  14803. "application/json"
  14804. ],
  14805. "tags": [
  14806. "仓单贸易v2"
  14807. ],
  14808. "summary": "查询指数",
  14809. "responses": {
  14810. "200": {
  14811. "description": "OK",
  14812. "schema": {
  14813. "type": "array",
  14814. "items": {
  14815. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14816. }
  14817. }
  14818. },
  14819. "500": {
  14820. "description": "Internal Server Error",
  14821. "schema": {
  14822. "$ref": "#/definitions/app.Response"
  14823. }
  14824. }
  14825. }
  14826. }
  14827. },
  14828. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14829. "get": {
  14830. "security": [
  14831. {
  14832. "ApiKeyAuth": []
  14833. }
  14834. ],
  14835. "description": "查询的结果将会按日期 从小到大 排序",
  14836. "produces": [
  14837. "application/json"
  14838. ],
  14839. "tags": [
  14840. "仓单贸易v2"
  14841. ],
  14842. "summary": "查询指数详细(价格走势图)",
  14843. "parameters": [
  14844. {
  14845. "type": "integer",
  14846. "description": "现货商品id",
  14847. "name": "deliverygoodsid",
  14848. "in": "query",
  14849. "required": true
  14850. },
  14851. {
  14852. "type": "integer",
  14853. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14854. "name": "lastnum",
  14855. "in": "query"
  14856. }
  14857. ],
  14858. "responses": {
  14859. "200": {
  14860. "description": "OK",
  14861. "schema": {
  14862. "type": "array",
  14863. "items": {
  14864. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14865. }
  14866. }
  14867. },
  14868. "500": {
  14869. "description": "Internal Server Error",
  14870. "schema": {
  14871. "$ref": "#/definitions/app.Response"
  14872. }
  14873. }
  14874. }
  14875. }
  14876. },
  14877. "/WrTrade2/QueryWrAverageTradePrice": {
  14878. "get": {
  14879. "security": [
  14880. {
  14881. "ApiKeyAuth": []
  14882. }
  14883. ],
  14884. "produces": [
  14885. "application/json"
  14886. ],
  14887. "tags": [
  14888. "仓单贸易v2"
  14889. ],
  14890. "summary": "查询成交价(历史走势)",
  14891. "parameters": [
  14892. {
  14893. "type": "integer",
  14894. "description": "页码",
  14895. "name": "page",
  14896. "in": "query"
  14897. },
  14898. {
  14899. "type": "integer",
  14900. "description": "每页条数",
  14901. "name": "pagesize",
  14902. "in": "query"
  14903. },
  14904. {
  14905. "type": "integer",
  14906. "description": "0:仓单预售 1:仓单贸易",
  14907. "name": "haswr",
  14908. "in": "query",
  14909. "required": true
  14910. },
  14911. {
  14912. "type": "integer",
  14913. "description": "仓单要素id",
  14914. "name": "wrfactortypeid",
  14915. "in": "query",
  14916. "required": true
  14917. }
  14918. ],
  14919. "responses": {
  14920. "200": {
  14921. "description": "OK",
  14922. "schema": {
  14923. "type": "array",
  14924. "items": {
  14925. "$ref": "#/definitions/models.WrAverageTradePrice"
  14926. }
  14927. }
  14928. },
  14929. "500": {
  14930. "description": "Internal Server Error",
  14931. "schema": {
  14932. "$ref": "#/definitions/app.Response"
  14933. }
  14934. }
  14935. }
  14936. }
  14937. },
  14938. "/WrTrade2/QueryWrBrandAndYears": {
  14939. "get": {
  14940. "security": [
  14941. {
  14942. "ApiKeyAuth": []
  14943. }
  14944. ],
  14945. "produces": [
  14946. "application/json"
  14947. ],
  14948. "tags": [
  14949. "仓单贸易v2"
  14950. ],
  14951. "summary": "查询品牌和年份",
  14952. "responses": {
  14953. "200": {
  14954. "description": "OK",
  14955. "schema": {
  14956. "type": "array",
  14957. "items": {
  14958. "$ref": "#/definitions/models.WrBrandAndYears"
  14959. }
  14960. }
  14961. },
  14962. "500": {
  14963. "description": "Internal Server Error",
  14964. "schema": {
  14965. "$ref": "#/definitions/app.Response"
  14966. }
  14967. }
  14968. }
  14969. }
  14970. },
  14971. "/WrTrade2/QueryWrBsGoodsInfo": {
  14972. "get": {
  14973. "security": [
  14974. {
  14975. "ApiKeyAuth": []
  14976. }
  14977. ],
  14978. "description": "合约交易/买卖大厅/详情",
  14979. "produces": [
  14980. "application/json"
  14981. ],
  14982. "tags": [
  14983. "仓单贸易v2"
  14984. ],
  14985. "summary": "查询合约交易买卖大厅详情",
  14986. "parameters": [
  14987. {
  14988. "type": "integer",
  14989. "description": "商品id",
  14990. "name": "goodsid",
  14991. "in": "query",
  14992. "required": true
  14993. }
  14994. ],
  14995. "responses": {
  14996. "200": {
  14997. "description": "OK",
  14998. "schema": {
  14999. "type": "array",
  15000. "items": {
  15001. "$ref": "#/definitions/models.WrBsGoodsInfo"
  15002. }
  15003. }
  15004. },
  15005. "500": {
  15006. "description": "Internal Server Error",
  15007. "schema": {
  15008. "$ref": "#/definitions/app.Response"
  15009. }
  15010. }
  15011. }
  15012. }
  15013. },
  15014. "/WrTrade2/QueryWrBuybackDetail": {
  15015. "get": {
  15016. "security": [
  15017. {
  15018. "ApiKeyAuth": []
  15019. }
  15020. ],
  15021. "produces": [
  15022. "application/json"
  15023. ],
  15024. "tags": [
  15025. "仓单贸易v2"
  15026. ],
  15027. "summary": "查询仓单回购明细",
  15028. "parameters": [
  15029. {
  15030. "type": "integer",
  15031. "description": "融资合同id",
  15032. "name": "scfcontractid",
  15033. "in": "query"
  15034. }
  15035. ],
  15036. "responses": {
  15037. "200": {
  15038. "description": "OK",
  15039. "schema": {
  15040. "type": "array",
  15041. "items": {
  15042. "$ref": "#/definitions/models.WrBuybackDetail"
  15043. }
  15044. }
  15045. },
  15046. "500": {
  15047. "description": "Internal Server Error",
  15048. "schema": {
  15049. "$ref": "#/definitions/app.Response"
  15050. }
  15051. }
  15052. }
  15053. }
  15054. },
  15055. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  15056. "get": {
  15057. "security": [
  15058. {
  15059. "ApiKeyAuth": []
  15060. }
  15061. ],
  15062. "produces": [
  15063. "application/json"
  15064. ],
  15065. "tags": [
  15066. "仓单贸易v2"
  15067. ],
  15068. "summary": "查询固定广告配置",
  15069. "responses": {
  15070. "200": {
  15071. "description": "OK",
  15072. "schema": {
  15073. "type": "array",
  15074. "items": {
  15075. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  15076. }
  15077. }
  15078. },
  15079. "500": {
  15080. "description": "Internal Server Error",
  15081. "schema": {
  15082. "$ref": "#/definitions/app.Response"
  15083. }
  15084. }
  15085. }
  15086. }
  15087. },
  15088. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  15089. "get": {
  15090. "security": [
  15091. {
  15092. "ApiKeyAuth": []
  15093. }
  15094. ],
  15095. "produces": [
  15096. "application/json"
  15097. ],
  15098. "tags": [
  15099. "仓单贸易v2"
  15100. ],
  15101. "summary": "查询合约交收可点选仓单",
  15102. "parameters": [
  15103. {
  15104. "type": "integer",
  15105. "description": "资金账号",
  15106. "name": "accountid",
  15107. "in": "query",
  15108. "required": true
  15109. },
  15110. {
  15111. "type": "integer",
  15112. "description": "商品id",
  15113. "name": "goodsid",
  15114. "in": "query",
  15115. "required": true
  15116. }
  15117. ],
  15118. "responses": {
  15119. "200": {
  15120. "description": "OK",
  15121. "schema": {
  15122. "type": "array",
  15123. "items": {
  15124. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  15125. }
  15126. }
  15127. },
  15128. "500": {
  15129. "description": "Internal Server Error",
  15130. "schema": {
  15131. "$ref": "#/definitions/app.Response"
  15132. }
  15133. }
  15134. }
  15135. }
  15136. },
  15137. "/WrTrade2/QueryWrDeliveryDetail": {
  15138. "get": {
  15139. "security": [
  15140. {
  15141. "ApiKeyAuth": []
  15142. }
  15143. ],
  15144. "produces": [
  15145. "application/json"
  15146. ],
  15147. "tags": [
  15148. "仓单贸易v2"
  15149. ],
  15150. "summary": "查询交收",
  15151. "parameters": [
  15152. {
  15153. "type": "integer",
  15154. "description": "用户id",
  15155. "name": "userid",
  15156. "in": "query",
  15157. "required": true
  15158. },
  15159. {
  15160. "type": "integer",
  15161. "description": "资金账号id",
  15162. "name": "accountid",
  15163. "in": "query"
  15164. },
  15165. {
  15166. "type": "string",
  15167. "description": "开始交易日(yyyymmdd)",
  15168. "name": "begindate",
  15169. "in": "query"
  15170. },
  15171. {
  15172. "type": "string",
  15173. "description": "结束交易日(yyyymmdd)",
  15174. "name": "enddate",
  15175. "in": "query"
  15176. }
  15177. ],
  15178. "responses": {
  15179. "200": {
  15180. "description": "OK",
  15181. "schema": {
  15182. "type": "array",
  15183. "items": {
  15184. "$ref": "#/definitions/models.WrDeliveryDetail"
  15185. }
  15186. }
  15187. },
  15188. "500": {
  15189. "description": "Internal Server Error",
  15190. "schema": {
  15191. "$ref": "#/definitions/app.Response"
  15192. }
  15193. }
  15194. }
  15195. }
  15196. },
  15197. "/WrTrade2/QueryWrDraftUserInfo": {
  15198. "get": {
  15199. "security": [
  15200. {
  15201. "ApiKeyAuth": []
  15202. }
  15203. ],
  15204. "produces": [
  15205. "application/json"
  15206. ],
  15207. "tags": [
  15208. "仓单贸易v2"
  15209. ],
  15210. "summary": "查询实名认证信息",
  15211. "parameters": [
  15212. {
  15213. "type": "integer",
  15214. "description": "用户ID",
  15215. "name": "userid",
  15216. "in": "query",
  15217. "required": true
  15218. },
  15219. {
  15220. "type": "integer",
  15221. "description": "用户状态 1:正常 2:注销",
  15222. "name": "userstatus",
  15223. "in": "query"
  15224. }
  15225. ],
  15226. "responses": {
  15227. "200": {
  15228. "description": "OK",
  15229. "schema": {
  15230. "type": "array",
  15231. "items": {
  15232. "$ref": "#/definitions/models.WrDraftUserInfo"
  15233. }
  15234. }
  15235. },
  15236. "500": {
  15237. "description": "Internal Server Error",
  15238. "schema": {
  15239. "$ref": "#/definitions/app.Response"
  15240. }
  15241. }
  15242. }
  15243. }
  15244. },
  15245. "/WrTrade2/QueryWrFactorTypeInfo": {
  15246. "get": {
  15247. "security": [
  15248. {
  15249. "ApiKeyAuth": []
  15250. }
  15251. ],
  15252. "produces": [
  15253. "application/json"
  15254. ],
  15255. "tags": [
  15256. "仓单贸易v2"
  15257. ],
  15258. "summary": "查询仓单要素详细信息",
  15259. "parameters": [
  15260. {
  15261. "type": "integer",
  15262. "description": "仓单要素id",
  15263. "name": "wrfactortypeid",
  15264. "in": "query",
  15265. "required": true
  15266. }
  15267. ],
  15268. "responses": {
  15269. "200": {
  15270. "description": "OK",
  15271. "schema": {
  15272. "type": "array",
  15273. "items": {
  15274. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15275. }
  15276. }
  15277. },
  15278. "500": {
  15279. "description": "Internal Server Error",
  15280. "schema": {
  15281. "$ref": "#/definitions/app.Response"
  15282. }
  15283. }
  15284. }
  15285. }
  15286. },
  15287. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15288. "get": {
  15289. "security": [
  15290. {
  15291. "ApiKeyAuth": []
  15292. }
  15293. ],
  15294. "produces": [
  15295. "application/json"
  15296. ],
  15297. "tags": [
  15298. "仓单贸易v2"
  15299. ],
  15300. "summary": "查询仓单要素详细信息列表项",
  15301. "parameters": [
  15302. {
  15303. "type": "integer",
  15304. "description": "仓单要素id",
  15305. "name": "wrfactortypeid",
  15306. "in": "query",
  15307. "required": true
  15308. }
  15309. ],
  15310. "responses": {
  15311. "200": {
  15312. "description": "OK",
  15313. "schema": {
  15314. "type": "array",
  15315. "items": {
  15316. "$ref": "#/definitions/models.WrTypeItem"
  15317. }
  15318. }
  15319. },
  15320. "500": {
  15321. "description": "Internal Server Error",
  15322. "schema": {
  15323. "$ref": "#/definitions/app.Response"
  15324. }
  15325. }
  15326. }
  15327. }
  15328. },
  15329. "/WrTrade2/QueryWrFinanceBuyApply": {
  15330. "get": {
  15331. "security": [
  15332. {
  15333. "ApiKeyAuth": []
  15334. }
  15335. ],
  15336. "description": "页面 融资信息+ / 申请单",
  15337. "produces": [
  15338. "application/json"
  15339. ],
  15340. "tags": [
  15341. "仓单贸易v2"
  15342. ],
  15343. "summary": "查询融资购买申请",
  15344. "parameters": [
  15345. {
  15346. "type": "integer",
  15347. "description": "用户id",
  15348. "name": "userid",
  15349. "in": "query",
  15350. "required": true
  15351. }
  15352. ],
  15353. "responses": {
  15354. "200": {
  15355. "description": "OK",
  15356. "schema": {
  15357. "type": "array",
  15358. "items": {
  15359. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15360. }
  15361. }
  15362. },
  15363. "500": {
  15364. "description": "Internal Server Error",
  15365. "schema": {
  15366. "$ref": "#/definitions/app.Response"
  15367. }
  15368. }
  15369. }
  15370. }
  15371. },
  15372. "/WrTrade2/QueryWrFriendApply": {
  15373. "get": {
  15374. "security": [
  15375. {
  15376. "ApiKeyAuth": []
  15377. }
  15378. ],
  15379. "produces": [
  15380. "application/json"
  15381. ],
  15382. "tags": [
  15383. "仓单贸易v2"
  15384. ],
  15385. "summary": "查询好友申请记录",
  15386. "parameters": [
  15387. {
  15388. "type": "integer",
  15389. "description": "用户id",
  15390. "name": "userid",
  15391. "in": "query",
  15392. "required": true
  15393. }
  15394. ],
  15395. "responses": {
  15396. "200": {
  15397. "description": "OK",
  15398. "schema": {
  15399. "type": "array",
  15400. "items": {
  15401. "$ref": "#/definitions/models.WrFriendApply"
  15402. }
  15403. }
  15404. },
  15405. "500": {
  15406. "description": "Internal Server Error",
  15407. "schema": {
  15408. "$ref": "#/definitions/app.Response"
  15409. }
  15410. }
  15411. }
  15412. }
  15413. },
  15414. "/WrTrade2/QueryWrGoodsInfo": {
  15415. "get": {
  15416. "security": [
  15417. {
  15418. "ApiKeyAuth": []
  15419. }
  15420. ],
  15421. "produces": [
  15422. "application/json"
  15423. ],
  15424. "tags": [
  15425. "仓单贸易v2"
  15426. ],
  15427. "summary": "查询仓单商品信息",
  15428. "parameters": [
  15429. {
  15430. "type": "integer",
  15431. "description": "仓单贸易市场id",
  15432. "name": "marketid",
  15433. "in": "query"
  15434. },
  15435. {
  15436. "type": "integer",
  15437. "description": "0:仓单预售 1:仓单贸易",
  15438. "name": "haswr",
  15439. "in": "query",
  15440. "required": true
  15441. },
  15442. {
  15443. "type": "integer",
  15444. "description": "仓单要素id",
  15445. "name": "wrfactortypeid",
  15446. "in": "query",
  15447. "required": true
  15448. },
  15449. {
  15450. "type": "integer",
  15451. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15452. "name": "tmplateid",
  15453. "in": "query"
  15454. }
  15455. ],
  15456. "responses": {
  15457. "200": {
  15458. "description": "OK",
  15459. "schema": {
  15460. "type": "array",
  15461. "items": {
  15462. "$ref": "#/definitions/models.WrGoodsInfo"
  15463. }
  15464. }
  15465. },
  15466. "500": {
  15467. "description": "Internal Server Error",
  15468. "schema": {
  15469. "$ref": "#/definitions/app.Response"
  15470. }
  15471. }
  15472. }
  15473. }
  15474. },
  15475. "/WrTrade2/QueryWrMarketTradeConfig": {
  15476. "get": {
  15477. "security": [
  15478. {
  15479. "ApiKeyAuth": []
  15480. }
  15481. ],
  15482. "produces": [
  15483. "application/json"
  15484. ],
  15485. "tags": [
  15486. "仓单贸易v2"
  15487. ],
  15488. "summary": "查询市场交易参数配置",
  15489. "parameters": [
  15490. {
  15491. "type": "integer",
  15492. "description": "市场id",
  15493. "name": "marketid",
  15494. "in": "query"
  15495. }
  15496. ],
  15497. "responses": {
  15498. "200": {
  15499. "description": "OK",
  15500. "schema": {
  15501. "type": "array",
  15502. "items": {
  15503. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15504. }
  15505. }
  15506. },
  15507. "500": {
  15508. "description": "Internal Server Error",
  15509. "schema": {
  15510. "$ref": "#/definitions/app.Response"
  15511. }
  15512. }
  15513. }
  15514. }
  15515. },
  15516. "/WrTrade2/QueryWrOrderDetail": {
  15517. "get": {
  15518. "security": [
  15519. {
  15520. "ApiKeyAuth": []
  15521. }
  15522. ],
  15523. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15524. "produces": [
  15525. "application/json"
  15526. ],
  15527. "tags": [
  15528. "仓单贸易v2"
  15529. ],
  15530. "summary": "查询仓单委托单",
  15531. "parameters": [
  15532. {
  15533. "type": "integer",
  15534. "description": "页码",
  15535. "name": "page",
  15536. "in": "query"
  15537. },
  15538. {
  15539. "type": "integer",
  15540. "description": "每页条数",
  15541. "name": "pagesize",
  15542. "in": "query"
  15543. },
  15544. {
  15545. "type": "integer",
  15546. "description": "用户id",
  15547. "name": "userid",
  15548. "in": "query",
  15549. "required": true
  15550. },
  15551. {
  15552. "type": "integer",
  15553. "description": "仓单贸易市场id",
  15554. "name": "marketid",
  15555. "in": "query"
  15556. },
  15557. {
  15558. "type": "integer",
  15559. "description": "0:仓单预售 1:仓单贸易",
  15560. "name": "haswr",
  15561. "in": "query",
  15562. "required": true
  15563. },
  15564. {
  15565. "type": "integer",
  15566. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15567. "name": "bcancel",
  15568. "in": "query"
  15569. },
  15570. {
  15571. "type": "integer",
  15572. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15573. "name": "wrtradetype",
  15574. "in": "query"
  15575. },
  15576. {
  15577. "type": "string",
  15578. "description": "开始交易日(yyyymmdd)",
  15579. "name": "begindate",
  15580. "in": "query"
  15581. },
  15582. {
  15583. "type": "string",
  15584. "description": "结束交易日(yyyymmdd)",
  15585. "name": "enddate",
  15586. "in": "query"
  15587. }
  15588. ],
  15589. "responses": {
  15590. "200": {
  15591. "description": "OK",
  15592. "schema": {
  15593. "type": "array",
  15594. "items": {
  15595. "$ref": "#/definitions/models.WrOrderDetail"
  15596. }
  15597. }
  15598. },
  15599. "500": {
  15600. "description": "Internal Server Error",
  15601. "schema": {
  15602. "$ref": "#/definitions/app.Response"
  15603. }
  15604. }
  15605. }
  15606. }
  15607. },
  15608. "/WrTrade2/QueryWrOutInApply": {
  15609. "get": {
  15610. "security": [
  15611. {
  15612. "ApiKeyAuth": []
  15613. }
  15614. ],
  15615. "produces": [
  15616. "application/json"
  15617. ],
  15618. "tags": [
  15619. "仓单贸易v2"
  15620. ],
  15621. "summary": "查询提货申请",
  15622. "parameters": [
  15623. {
  15624. "type": "integer",
  15625. "description": "页码",
  15626. "name": "page",
  15627. "in": "query"
  15628. },
  15629. {
  15630. "type": "integer",
  15631. "description": "每页条数",
  15632. "name": "pagesize",
  15633. "in": "query"
  15634. },
  15635. {
  15636. "type": "integer",
  15637. "description": "用户id",
  15638. "name": "userid",
  15639. "in": "query",
  15640. "required": true
  15641. },
  15642. {
  15643. "type": "string",
  15644. "description": "开始交易日(yyyymmdd)",
  15645. "name": "begindate",
  15646. "in": "query"
  15647. },
  15648. {
  15649. "type": "string",
  15650. "description": "结束交易日(yyyymmdd)",
  15651. "name": "enddate",
  15652. "in": "query"
  15653. }
  15654. ],
  15655. "responses": {
  15656. "200": {
  15657. "description": "OK",
  15658. "schema": {
  15659. "type": "array",
  15660. "items": {
  15661. "$ref": "#/definitions/models.WrOutInApply"
  15662. }
  15663. }
  15664. },
  15665. "500": {
  15666. "description": "Internal Server Error",
  15667. "schema": {
  15668. "$ref": "#/definitions/app.Response"
  15669. }
  15670. }
  15671. }
  15672. }
  15673. },
  15674. "/WrTrade2/QueryWrPerformancePlanStep": {
  15675. "get": {
  15676. "security": [
  15677. {
  15678. "ApiKeyAuth": []
  15679. }
  15680. ],
  15681. "produces": [
  15682. "application/json"
  15683. ],
  15684. "tags": [
  15685. "仓单贸易v2"
  15686. ],
  15687. "summary": "查询履约信息详情",
  15688. "parameters": [
  15689. {
  15690. "type": "integer",
  15691. "description": "履约计划id(performanceplanid)",
  15692. "name": "planid",
  15693. "in": "query",
  15694. "required": true
  15695. },
  15696. {
  15697. "type": "integer",
  15698. "description": "当前步骤id",
  15699. "name": "curstepid",
  15700. "in": "query"
  15701. }
  15702. ],
  15703. "responses": {
  15704. "200": {
  15705. "description": "OK",
  15706. "schema": {
  15707. "type": "array",
  15708. "items": {
  15709. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15710. }
  15711. }
  15712. },
  15713. "500": {
  15714. "description": "Internal Server Error",
  15715. "schema": {
  15716. "$ref": "#/definitions/app.Response"
  15717. }
  15718. }
  15719. }
  15720. }
  15721. },
  15722. "/WrTrade2/QueryWrPerformanceStepType": {
  15723. "get": {
  15724. "security": [
  15725. {
  15726. "ApiKeyAuth": []
  15727. }
  15728. ],
  15729. "produces": [
  15730. "application/json"
  15731. ],
  15732. "tags": [
  15733. "仓单贸易v2"
  15734. ],
  15735. "summary": "查询履约步骤枚举",
  15736. "responses": {
  15737. "200": {
  15738. "description": "OK",
  15739. "schema": {
  15740. "type": "array",
  15741. "items": {
  15742. "$ref": "#/definitions/models.WrPerformanceStepType"
  15743. }
  15744. }
  15745. },
  15746. "500": {
  15747. "description": "Internal Server Error",
  15748. "schema": {
  15749. "$ref": "#/definitions/app.Response"
  15750. }
  15751. }
  15752. }
  15753. }
  15754. },
  15755. "/WrTrade2/QueryWrPosition": {
  15756. "get": {
  15757. "security": [
  15758. {
  15759. "ApiKeyAuth": []
  15760. }
  15761. ],
  15762. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15763. "produces": [
  15764. "application/json"
  15765. ],
  15766. "tags": [
  15767. "仓单贸易v2"
  15768. ],
  15769. "summary": "查询现货(预售)仓单持仓",
  15770. "parameters": [
  15771. {
  15772. "type": "integer",
  15773. "description": "用户id",
  15774. "name": "userid",
  15775. "in": "query",
  15776. "required": true
  15777. },
  15778. {
  15779. "type": "integer",
  15780. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15781. "name": "querytype",
  15782. "in": "query",
  15783. "required": true
  15784. },
  15785. {
  15786. "type": "integer",
  15787. "description": "0:仓单预售 1:仓单贸易",
  15788. "name": "haswr",
  15789. "in": "query",
  15790. "required": true
  15791. },
  15792. {
  15793. "type": "string",
  15794. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15795. "name": "dgitemname",
  15796. "in": "query"
  15797. },
  15798. {
  15799. "type": "integer",
  15800. "description": "仓库id(筛选条件)",
  15801. "name": "warehouseid",
  15802. "in": "query"
  15803. },
  15804. {
  15805. "type": "integer",
  15806. "description": "品种id",
  15807. "name": "deliverygoodsid",
  15808. "in": "query"
  15809. },
  15810. {
  15811. "type": "integer",
  15812. "description": "品类id",
  15813. "name": "wrstandardid",
  15814. "in": "query"
  15815. }
  15816. ],
  15817. "responses": {
  15818. "200": {
  15819. "description": "OK",
  15820. "schema": {
  15821. "type": "array",
  15822. "items": {
  15823. "$ref": "#/definitions/models.WrPosition"
  15824. }
  15825. }
  15826. },
  15827. "500": {
  15828. "description": "Internal Server Error",
  15829. "schema": {
  15830. "$ref": "#/definitions/app.Response"
  15831. }
  15832. }
  15833. }
  15834. }
  15835. },
  15836. "/WrTrade2/QueryWrPreSaleInfo": {
  15837. "get": {
  15838. "security": [
  15839. {
  15840. "ApiKeyAuth": []
  15841. }
  15842. ],
  15843. "produces": [
  15844. "application/json"
  15845. ],
  15846. "tags": [
  15847. "仓单贸易v2"
  15848. ],
  15849. "summary": "查询新品发布",
  15850. "parameters": [
  15851. {
  15852. "type": "integer",
  15853. "description": "市场id",
  15854. "name": "marketid",
  15855. "in": "query"
  15856. },
  15857. {
  15858. "type": "string",
  15859. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15860. "name": "presalestatus",
  15861. "in": "query"
  15862. },
  15863. {
  15864. "type": "integer",
  15865. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15866. "name": "lotteryflag",
  15867. "in": "query"
  15868. },
  15869. {
  15870. "type": "integer",
  15871. "description": "最近多少条记录(按创建时间倒序)",
  15872. "name": "lastnum",
  15873. "in": "query"
  15874. }
  15875. ],
  15876. "responses": {
  15877. "200": {
  15878. "description": "OK",
  15879. "schema": {
  15880. "type": "array",
  15881. "items": {
  15882. "$ref": "#/definitions/models.WrPreSaleInfo"
  15883. }
  15884. }
  15885. },
  15886. "500": {
  15887. "description": "Internal Server Error",
  15888. "schema": {
  15889. "$ref": "#/definitions/app.Response"
  15890. }
  15891. }
  15892. }
  15893. }
  15894. },
  15895. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15896. "get": {
  15897. "security": [
  15898. {
  15899. "ApiKeyAuth": []
  15900. }
  15901. ],
  15902. "produces": [
  15903. "application/json"
  15904. ],
  15905. "tags": [
  15906. "仓单贸易v2"
  15907. ],
  15908. "summary": "查询价格走势",
  15909. "parameters": [
  15910. {
  15911. "type": "integer",
  15912. "description": "市场id",
  15913. "name": "marketid",
  15914. "in": "query",
  15915. "required": true
  15916. },
  15917. {
  15918. "type": "integer",
  15919. "description": "现货商品id",
  15920. "name": "wrstandardid",
  15921. "in": "query",
  15922. "required": true
  15923. },
  15924. {
  15925. "type": "string",
  15926. "description": "开始交易日(yyyymmdd)",
  15927. "name": "begindate",
  15928. "in": "query"
  15929. },
  15930. {
  15931. "type": "string",
  15932. "description": "结束交易日(yyyymmdd)",
  15933. "name": "enddate",
  15934. "in": "query"
  15935. },
  15936. {
  15937. "type": "integer",
  15938. "description": "最近多少条记录(按交易日倒序)",
  15939. "name": "lastnum",
  15940. "in": "query"
  15941. },
  15942. {
  15943. "type": "boolean",
  15944. "description": "是否今日",
  15945. "name": "istoday",
  15946. "in": "query"
  15947. }
  15948. ],
  15949. "responses": {
  15950. "200": {
  15951. "description": "OK",
  15952. "schema": {
  15953. "type": "array",
  15954. "items": {
  15955. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15956. }
  15957. }
  15958. },
  15959. "500": {
  15960. "description": "Internal Server Error",
  15961. "schema": {
  15962. "$ref": "#/definitions/app.Response"
  15963. }
  15964. }
  15965. }
  15966. }
  15967. },
  15968. "/WrTrade2/QueryWrScfContract": {
  15969. "get": {
  15970. "security": [
  15971. {
  15972. "ApiKeyAuth": []
  15973. }
  15974. ],
  15975. "produces": [
  15976. "application/json"
  15977. ],
  15978. "tags": [
  15979. "仓单贸易v2"
  15980. ],
  15981. "summary": "查询仓单贸易融资合同",
  15982. "parameters": [
  15983. {
  15984. "type": "integer",
  15985. "description": "用户id",
  15986. "name": "userid",
  15987. "in": "query",
  15988. "required": true
  15989. },
  15990. {
  15991. "type": "integer",
  15992. "description": "融资合同id",
  15993. "name": "scfcontractid",
  15994. "in": "query"
  15995. }
  15996. ],
  15997. "responses": {
  15998. "200": {
  15999. "description": "OK",
  16000. "schema": {
  16001. "type": "array",
  16002. "items": {
  16003. "$ref": "#/definitions/models.WrScfContract"
  16004. }
  16005. }
  16006. },
  16007. "500": {
  16008. "description": "Internal Server Error",
  16009. "schema": {
  16010. "$ref": "#/definitions/app.Response"
  16011. }
  16012. }
  16013. }
  16014. }
  16015. },
  16016. "/WrTrade2/QueryWrScfContractInterest": {
  16017. "get": {
  16018. "security": [
  16019. {
  16020. "ApiKeyAuth": []
  16021. }
  16022. ],
  16023. "produces": [
  16024. "application/json"
  16025. ],
  16026. "tags": [
  16027. "仓单贸易v2"
  16028. ],
  16029. "summary": "查询融资合同费用明细",
  16030. "parameters": [
  16031. {
  16032. "type": "integer",
  16033. "description": "融资合同id",
  16034. "name": "scfcontractid",
  16035. "in": "query"
  16036. }
  16037. ],
  16038. "responses": {
  16039. "200": {
  16040. "description": "OK",
  16041. "schema": {
  16042. "type": "array",
  16043. "items": {
  16044. "$ref": "#/definitions/models.WrScfContractInterest"
  16045. }
  16046. }
  16047. },
  16048. "500": {
  16049. "description": "Internal Server Error",
  16050. "schema": {
  16051. "$ref": "#/definitions/app.Response"
  16052. }
  16053. }
  16054. }
  16055. }
  16056. },
  16057. "/WrTrade2/QueryWrSearchUser": {
  16058. "get": {
  16059. "security": [
  16060. {
  16061. "ApiKeyAuth": []
  16062. }
  16063. ],
  16064. "produces": [
  16065. "application/json"
  16066. ],
  16067. "tags": [
  16068. "仓单贸易v2"
  16069. ],
  16070. "summary": "查询用户",
  16071. "parameters": [
  16072. {
  16073. "type": "string",
  16074. "description": "用户名称(模糊匹配)",
  16075. "name": "username",
  16076. "in": "query",
  16077. "required": true
  16078. }
  16079. ],
  16080. "responses": {
  16081. "200": {
  16082. "description": "OK",
  16083. "schema": {
  16084. "type": "array",
  16085. "items": {
  16086. "$ref": "#/definitions/models.WrSearchUser"
  16087. }
  16088. }
  16089. },
  16090. "500": {
  16091. "description": "Internal Server Error",
  16092. "schema": {
  16093. "$ref": "#/definitions/app.Response"
  16094. }
  16095. }
  16096. }
  16097. }
  16098. },
  16099. "/WrTrade2/QueryWrSpecialMatchOrder": {
  16100. "get": {
  16101. "security": [
  16102. {
  16103. "ApiKeyAuth": []
  16104. }
  16105. ],
  16106. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  16107. "produces": [
  16108. "application/json"
  16109. ],
  16110. "tags": [
  16111. "仓单贸易v2"
  16112. ],
  16113. "summary": "查询指定成交",
  16114. "parameters": [
  16115. {
  16116. "type": "integer",
  16117. "description": "页码",
  16118. "name": "page",
  16119. "in": "query"
  16120. },
  16121. {
  16122. "type": "integer",
  16123. "description": "每页条数",
  16124. "name": "pagesize",
  16125. "in": "query"
  16126. },
  16127. {
  16128. "type": "integer",
  16129. "description": "用户id",
  16130. "name": "userid",
  16131. "in": "query",
  16132. "required": true
  16133. },
  16134. {
  16135. "type": "integer",
  16136. "description": "仓单贸易市场id",
  16137. "name": "marketid",
  16138. "in": "query"
  16139. },
  16140. {
  16141. "type": "integer",
  16142. "description": "0:仓单预售 1:仓单贸易",
  16143. "name": "haswr",
  16144. "in": "query",
  16145. "required": true
  16146. },
  16147. {
  16148. "type": "integer",
  16149. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  16150. "name": "isspecified",
  16151. "in": "query"
  16152. }
  16153. ],
  16154. "responses": {
  16155. "200": {
  16156. "description": "OK",
  16157. "schema": {
  16158. "type": "array",
  16159. "items": {
  16160. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  16161. }
  16162. }
  16163. },
  16164. "500": {
  16165. "description": "Internal Server Error",
  16166. "schema": {
  16167. "$ref": "#/definitions/app.Response"
  16168. }
  16169. }
  16170. }
  16171. }
  16172. },
  16173. "/WrTrade2/QueryWrStandardFactoryItem": {
  16174. "get": {
  16175. "security": [
  16176. {
  16177. "ApiKeyAuth": []
  16178. }
  16179. ],
  16180. "produces": [
  16181. "application/json"
  16182. ],
  16183. "tags": [
  16184. "仓单贸易v2"
  16185. ],
  16186. "summary": "查询品类要素定义项",
  16187. "parameters": [
  16188. {
  16189. "type": "integer",
  16190. "description": "品类id",
  16191. "name": "wrstandardid",
  16192. "in": "query",
  16193. "required": true
  16194. }
  16195. ],
  16196. "responses": {
  16197. "200": {
  16198. "description": "OK",
  16199. "schema": {
  16200. "type": "array",
  16201. "items": {
  16202. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16203. }
  16204. }
  16205. },
  16206. "500": {
  16207. "description": "Internal Server Error",
  16208. "schema": {
  16209. "$ref": "#/definitions/app.Response"
  16210. }
  16211. }
  16212. }
  16213. }
  16214. },
  16215. "/WrTrade2/QueryWrTradeBargainApply": {
  16216. "get": {
  16217. "security": [
  16218. {
  16219. "ApiKeyAuth": []
  16220. }
  16221. ],
  16222. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16223. "produces": [
  16224. "application/json"
  16225. ],
  16226. "tags": [
  16227. "仓单贸易v2"
  16228. ],
  16229. "summary": "查询议价单",
  16230. "parameters": [
  16231. {
  16232. "type": "integer",
  16233. "description": "议价人id(摘牌方)",
  16234. "name": "userid",
  16235. "in": "query"
  16236. },
  16237. {
  16238. "type": "integer",
  16239. "description": "挂牌方id(查对方议价时,填写此项)",
  16240. "name": "matchuserid",
  16241. "in": "query"
  16242. },
  16243. {
  16244. "type": "integer",
  16245. "description": "关联委托单id",
  16246. "name": "wrtradeorderid",
  16247. "in": "query"
  16248. },
  16249. {
  16250. "type": "integer",
  16251. "description": "0:仓单预售 1:仓单贸易",
  16252. "name": "haswr",
  16253. "in": "query",
  16254. "required": true
  16255. },
  16256. {
  16257. "type": "string",
  16258. "description": "开始交易日(yyyymmdd)",
  16259. "name": "begindate",
  16260. "in": "query"
  16261. },
  16262. {
  16263. "type": "string",
  16264. "description": "结束交易日(yyyymmdd)",
  16265. "name": "enddate",
  16266. "in": "query"
  16267. }
  16268. ],
  16269. "responses": {
  16270. "200": {
  16271. "description": "OK",
  16272. "schema": {
  16273. "type": "array",
  16274. "items": {
  16275. "$ref": "#/definitions/models.WRTradeBargainApply"
  16276. }
  16277. }
  16278. },
  16279. "500": {
  16280. "description": "Internal Server Error",
  16281. "schema": {
  16282. "$ref": "#/definitions/app.Response"
  16283. }
  16284. }
  16285. }
  16286. }
  16287. },
  16288. "/WrTrade2/QueryWrTradeDetail": {
  16289. "get": {
  16290. "security": [
  16291. {
  16292. "ApiKeyAuth": []
  16293. }
  16294. ],
  16295. "produces": [
  16296. "application/json"
  16297. ],
  16298. "tags": [
  16299. "仓单贸易v2"
  16300. ],
  16301. "summary": "查询仓单成交明细",
  16302. "parameters": [
  16303. {
  16304. "type": "integer",
  16305. "description": "页码",
  16306. "name": "page",
  16307. "in": "query"
  16308. },
  16309. {
  16310. "type": "integer",
  16311. "description": "每页条数",
  16312. "name": "pagesize",
  16313. "in": "query"
  16314. },
  16315. {
  16316. "type": "integer",
  16317. "description": "用户id",
  16318. "name": "userid",
  16319. "in": "query",
  16320. "required": true
  16321. },
  16322. {
  16323. "type": "integer",
  16324. "description": "仓单贸易市场id",
  16325. "name": "marketid",
  16326. "in": "query"
  16327. },
  16328. {
  16329. "type": "integer",
  16330. "description": "0:仓单预售 1:仓单贸易",
  16331. "name": "haswr",
  16332. "in": "query",
  16333. "required": true
  16334. },
  16335. {
  16336. "type": "string",
  16337. "description": "开始交易日(yyyymmdd)",
  16338. "name": "begindate",
  16339. "in": "query"
  16340. },
  16341. {
  16342. "type": "string",
  16343. "description": "结束交易日(yyyymmdd)",
  16344. "name": "enddate",
  16345. "in": "query"
  16346. }
  16347. ],
  16348. "responses": {
  16349. "200": {
  16350. "description": "OK",
  16351. "schema": {
  16352. "type": "array",
  16353. "items": {
  16354. "$ref": "#/definitions/models.WrTradeDetail"
  16355. }
  16356. }
  16357. },
  16358. "500": {
  16359. "description": "Internal Server Error",
  16360. "schema": {
  16361. "$ref": "#/definitions/app.Response"
  16362. }
  16363. }
  16364. }
  16365. }
  16366. },
  16367. "/WrTrade2/QueryWrTradeOrderDetail": {
  16368. "get": {
  16369. "security": [
  16370. {
  16371. "ApiKeyAuth": []
  16372. }
  16373. ],
  16374. "produces": [
  16375. "application/json"
  16376. ],
  16377. "tags": [
  16378. "仓单贸易v2"
  16379. ],
  16380. "summary": "查询合约交易买卖大厅",
  16381. "parameters": [
  16382. {
  16383. "type": "integer",
  16384. "description": "页码",
  16385. "name": "page",
  16386. "in": "query"
  16387. },
  16388. {
  16389. "type": "integer",
  16390. "description": "每页条数",
  16391. "name": "pagesize",
  16392. "in": "query"
  16393. },
  16394. {
  16395. "type": "integer",
  16396. "description": "商品id",
  16397. "name": "goodsid",
  16398. "in": "query",
  16399. "required": true
  16400. },
  16401. {
  16402. "type": "integer",
  16403. "description": "买卖方向 0-买 1-卖",
  16404. "name": "buyorsell",
  16405. "in": "query",
  16406. "required": true
  16407. }
  16408. ],
  16409. "responses": {
  16410. "200": {
  16411. "description": "OK",
  16412. "schema": {
  16413. "type": "array",
  16414. "items": {
  16415. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16416. }
  16417. }
  16418. },
  16419. "500": {
  16420. "description": "Internal Server Error",
  16421. "schema": {
  16422. "$ref": "#/definitions/app.Response"
  16423. }
  16424. }
  16425. }
  16426. }
  16427. },
  16428. "/WrTrade2/QueryWrTradeQuote": {
  16429. "get": {
  16430. "security": [
  16431. {
  16432. "ApiKeyAuth": []
  16433. }
  16434. ],
  16435. "produces": [
  16436. "application/json"
  16437. ],
  16438. "tags": [
  16439. "仓单贸易v2"
  16440. ],
  16441. "summary": "查询仓单贸易成交行情",
  16442. "parameters": [
  16443. {
  16444. "type": "integer",
  16445. "description": "现货商品id",
  16446. "name": "wrstandardid",
  16447. "in": "query",
  16448. "required": true
  16449. },
  16450. {
  16451. "type": "string",
  16452. "description": "开始日期(yyyymmdd)",
  16453. "name": "begindate",
  16454. "in": "query",
  16455. "required": true
  16456. },
  16457. {
  16458. "type": "string",
  16459. "description": "结束日期(yyyymmdd)",
  16460. "name": "enddate",
  16461. "in": "query",
  16462. "required": true
  16463. },
  16464. {
  16465. "type": "integer",
  16466. "description": "市场id",
  16467. "name": "marketid",
  16468. "in": "query"
  16469. }
  16470. ],
  16471. "responses": {
  16472. "200": {
  16473. "description": "OK",
  16474. "schema": {
  16475. "type": "array",
  16476. "items": {
  16477. "$ref": "#/definitions/models.Wrtradetradequote"
  16478. }
  16479. }
  16480. },
  16481. "500": {
  16482. "description": "Internal Server Error",
  16483. "schema": {
  16484. "$ref": "#/definitions/app.Response"
  16485. }
  16486. }
  16487. }
  16488. }
  16489. },
  16490. "/WrTrade2/QueryWrUserFriend": {
  16491. "get": {
  16492. "security": [
  16493. {
  16494. "ApiKeyAuth": []
  16495. }
  16496. ],
  16497. "produces": [
  16498. "application/json"
  16499. ],
  16500. "tags": [
  16501. "仓单贸易v2"
  16502. ],
  16503. "summary": "查询我的朋友",
  16504. "parameters": [
  16505. {
  16506. "type": "integer",
  16507. "description": "用户id",
  16508. "name": "userid",
  16509. "in": "query",
  16510. "required": true
  16511. },
  16512. {
  16513. "type": "integer",
  16514. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16515. "name": "newuserid",
  16516. "in": "query"
  16517. }
  16518. ],
  16519. "responses": {
  16520. "200": {
  16521. "description": "OK",
  16522. "schema": {
  16523. "type": "array",
  16524. "items": {
  16525. "$ref": "#/definitions/models.WrUserFriend"
  16526. }
  16527. }
  16528. },
  16529. "500": {
  16530. "description": "Internal Server Error",
  16531. "schema": {
  16532. "$ref": "#/definitions/app.Response"
  16533. }
  16534. }
  16535. }
  16536. }
  16537. },
  16538. "/WrTrade2/QueryWrUserReceiptInfo": {
  16539. "get": {
  16540. "security": [
  16541. {
  16542. "ApiKeyAuth": []
  16543. }
  16544. ],
  16545. "produces": [
  16546. "application/json"
  16547. ],
  16548. "tags": [
  16549. "仓单贸易v2"
  16550. ],
  16551. "summary": "查询发票信息",
  16552. "parameters": [
  16553. {
  16554. "type": "integer",
  16555. "description": "用户id",
  16556. "name": "userid",
  16557. "in": "query"
  16558. },
  16559. {
  16560. "type": "integer",
  16561. "description": "发票类型 - 1:个人 2:企业",
  16562. "name": "receipttype",
  16563. "in": "query"
  16564. }
  16565. ],
  16566. "responses": {
  16567. "200": {
  16568. "description": "OK",
  16569. "schema": {
  16570. "type": "array",
  16571. "items": {
  16572. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16573. }
  16574. }
  16575. },
  16576. "500": {
  16577. "description": "Internal Server Error",
  16578. "schema": {
  16579. "$ref": "#/definitions/app.Response"
  16580. }
  16581. }
  16582. }
  16583. }
  16584. },
  16585. "/WrTrade2/QueryXhcpSellBackApply": {
  16586. "get": {
  16587. "security": [
  16588. {
  16589. "ApiKeyAuth": []
  16590. }
  16591. ],
  16592. "produces": [
  16593. "application/json"
  16594. ],
  16595. "tags": [
  16596. "仓单贸易v2"
  16597. ],
  16598. "summary": "查询我的回收申请(新会陈皮)",
  16599. "parameters": [
  16600. {
  16601. "type": "integer",
  16602. "description": "用户ID",
  16603. "name": "userid",
  16604. "in": "query",
  16605. "required": true
  16606. }
  16607. ],
  16608. "responses": {
  16609. "200": {
  16610. "description": "OK",
  16611. "schema": {
  16612. "type": "array",
  16613. "items": {
  16614. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16615. }
  16616. }
  16617. },
  16618. "500": {
  16619. "description": "Internal Server Error",
  16620. "schema": {
  16621. "$ref": "#/definitions/app.Response"
  16622. }
  16623. }
  16624. }
  16625. }
  16626. },
  16627. "/ZJ/GetBankTip": {
  16628. "get": {
  16629. "produces": [
  16630. "application/json"
  16631. ],
  16632. "tags": [
  16633. "中江"
  16634. ],
  16635. "summary": "获取中江网银端出入金提示信息",
  16636. "responses": {
  16637. "200": {
  16638. "description": "OK",
  16639. "schema": {
  16640. "type": "string"
  16641. }
  16642. },
  16643. "500": {
  16644. "description": "Internal Server Error",
  16645. "schema": {
  16646. "$ref": "#/definitions/app.Response"
  16647. }
  16648. }
  16649. }
  16650. }
  16651. },
  16652. "/ZJ/GetCusBankChannels": {
  16653. "get": {
  16654. "produces": [
  16655. "application/json"
  16656. ],
  16657. "tags": [
  16658. "中江"
  16659. ],
  16660. "summary": "获取中江出入金渠道显示列表",
  16661. "responses": {
  16662. "200": {
  16663. "description": "OK",
  16664. "schema": {
  16665. "type": "array",
  16666. "items": {
  16667. "type": "string"
  16668. }
  16669. }
  16670. },
  16671. "500": {
  16672. "description": "Internal Server Error",
  16673. "schema": {
  16674. "$ref": "#/definitions/app.Response"
  16675. }
  16676. }
  16677. }
  16678. }
  16679. }
  16680. },
  16681. "definitions": {
  16682. "app.Response": {
  16683. "type": "object",
  16684. "properties": {
  16685. "code": {
  16686. "type": "integer"
  16687. },
  16688. "data": {},
  16689. "msg": {
  16690. "type": "string"
  16691. },
  16692. "page": {
  16693. "description": "页码",
  16694. "type": "integer"
  16695. },
  16696. "pagesize": {
  16697. "description": "每页条数",
  16698. "type": "integer"
  16699. },
  16700. "total": {
  16701. "description": "总条数",
  16702. "type": "integer"
  16703. }
  16704. }
  16705. },
  16706. "common.ClientMenu": {
  16707. "type": "object",
  16708. "properties": {
  16709. "children": {
  16710. "description": "子菜单列表",
  16711. "type": "array",
  16712. "items": {
  16713. "$ref": "#/definitions/common.ClientMenu"
  16714. }
  16715. },
  16716. "code": {
  16717. "description": "ID",
  16718. "type": "string"
  16719. },
  16720. "isshow": {
  16721. "description": "是否显示",
  16722. "type": "boolean"
  16723. },
  16724. "remark": {
  16725. "description": "备注",
  16726. "type": "string"
  16727. },
  16728. "rulekey": {
  16729. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  16730. "type": "string"
  16731. },
  16732. "sort": {
  16733. "description": "排序",
  16734. "type": "integer"
  16735. },
  16736. "title": {
  16737. "description": "标题",
  16738. "type": "string"
  16739. },
  16740. "type": {
  16741. "description": "类型,1:菜单 2:按钮",
  16742. "type": "integer"
  16743. },
  16744. "url": {
  16745. "description": "URL",
  16746. "type": "string"
  16747. }
  16748. }
  16749. },
  16750. "common.PCWebMenu": {
  16751. "type": "object",
  16752. "properties": {
  16753. "auth": {
  16754. "description": "页面权限列表",
  16755. "type": "array",
  16756. "items": {
  16757. "$ref": "#/definitions/common.PCWebMenuAuth"
  16758. }
  16759. },
  16760. "children": {
  16761. "description": "子菜单列表",
  16762. "type": "array",
  16763. "items": {
  16764. "$ref": "#/definitions/common.PCWebMenu"
  16765. }
  16766. },
  16767. "code": {
  16768. "description": "ID,新版本中权限KEY也是这个字段",
  16769. "type": "string"
  16770. },
  16771. "component": {
  16772. "description": "路由组件",
  16773. "type": "string"
  16774. },
  16775. "isshow": {
  16776. "description": "是否显示",
  16777. "type": "boolean"
  16778. },
  16779. "path": {
  16780. "description": "路由路径",
  16781. "type": "string"
  16782. },
  16783. "remark": {
  16784. "description": "备注",
  16785. "type": "string"
  16786. },
  16787. "rulekey": {
  16788. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16789. "type": "string"
  16790. },
  16791. "sort": {
  16792. "description": "排序",
  16793. "type": "integer"
  16794. },
  16795. "title": {
  16796. "description": "标题",
  16797. "type": "string"
  16798. },
  16799. "url": {
  16800. "description": "URL",
  16801. "type": "string"
  16802. }
  16803. }
  16804. },
  16805. "common.PCWebMenuAuth": {
  16806. "type": "object",
  16807. "properties": {
  16808. "code": {
  16809. "description": "ID,新版本中权限KEY也是这个字段",
  16810. "type": "string"
  16811. },
  16812. "isshow": {
  16813. "description": "是否显示",
  16814. "type": "boolean"
  16815. },
  16816. "label": {
  16817. "description": "标题",
  16818. "type": "string"
  16819. },
  16820. "remark": {
  16821. "description": "备注",
  16822. "type": "string"
  16823. },
  16824. "rulekey": {
  16825. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16826. "type": "string"
  16827. }
  16828. }
  16829. },
  16830. "common.QueryImageConfigsRsp": {
  16831. "type": "object",
  16832. "required": [
  16833. "configid"
  16834. ],
  16835. "properties": {
  16836. "areauserid": {
  16837. "description": "所属机构ID",
  16838. "type": "integer"
  16839. },
  16840. "configid": {
  16841. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16842. "type": "integer"
  16843. },
  16844. "createdate": {
  16845. "description": "创建时间",
  16846. "type": "string"
  16847. },
  16848. "creatorid": {
  16849. "description": "创建人",
  16850. "type": "integer"
  16851. },
  16852. "imagedetailpath": {
  16853. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16854. "type": "string"
  16855. },
  16856. "imagepath": {
  16857. "description": "图片",
  16858. "type": "string"
  16859. },
  16860. "imagetype": {
  16861. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16862. "type": "integer"
  16863. },
  16864. "isshow": {
  16865. "description": "是否展示 - 0:不展示 1:展示",
  16866. "type": "integer"
  16867. },
  16868. "marketid": {
  16869. "description": "市场ID",
  16870. "type": "integer"
  16871. },
  16872. "modifierid": {
  16873. "description": "操作人",
  16874. "type": "integer"
  16875. },
  16876. "sort": {
  16877. "description": "排序",
  16878. "type": "integer"
  16879. },
  16880. "title": {
  16881. "description": "标题",
  16882. "type": "string"
  16883. },
  16884. "trademode": {
  16885. "description": "交易模式",
  16886. "type": "integer"
  16887. },
  16888. "updatedate": {
  16889. "description": "修改时间",
  16890. "type": "string"
  16891. },
  16892. "url": {
  16893. "description": "链接(地址或商品ID)",
  16894. "type": "string"
  16895. },
  16896. "urltype": {
  16897. "description": "链接类型 - 1:直接地址 2:商品ID",
  16898. "type": "integer"
  16899. }
  16900. }
  16901. },
  16902. "common.QueryNoticeRsp": {
  16903. "type": "object",
  16904. "required": [
  16905. "autoid"
  16906. ],
  16907. "properties": {
  16908. "auditoruserid": {
  16909. "description": "审核人",
  16910. "type": "integer"
  16911. },
  16912. "auditremark": {
  16913. "description": "审核备注",
  16914. "type": "string"
  16915. },
  16916. "audittime": {
  16917. "description": "审核日期",
  16918. "type": "string"
  16919. },
  16920. "autoid": {
  16921. "description": "自增ID",
  16922. "type": "integer"
  16923. },
  16924. "content": {
  16925. "description": "内容",
  16926. "type": "string"
  16927. },
  16928. "createtime": {
  16929. "description": "创建时间",
  16930. "type": "string"
  16931. },
  16932. "creatorid": {
  16933. "description": "建仓人",
  16934. "type": "integer"
  16935. },
  16936. "endtime": {
  16937. "description": "结束时间",
  16938. "type": "string"
  16939. },
  16940. "istop": {
  16941. "description": "是否置顶 - 0:不置顶 1:置顶",
  16942. "type": "integer"
  16943. },
  16944. "msgiconurl": {
  16945. "description": "消息图标Url",
  16946. "type": "string"
  16947. },
  16948. "msgtype": {
  16949. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16950. "type": "integer"
  16951. },
  16952. "publisher": {
  16953. "description": "消息发布者",
  16954. "type": "string"
  16955. },
  16956. "readed": {
  16957. "description": "是否已读",
  16958. "type": "boolean"
  16959. },
  16960. "scheduletime": {
  16961. "description": "计划发送时间",
  16962. "type": "string"
  16963. },
  16964. "sendtype": {
  16965. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16966. "type": "integer"
  16967. },
  16968. "sentstatus": {
  16969. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16970. "type": "integer"
  16971. },
  16972. "title": {
  16973. "description": "标题",
  16974. "type": "string"
  16975. },
  16976. "userid": {
  16977. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16978. "type": "integer"
  16979. }
  16980. }
  16981. },
  16982. "common.QueryProvincesAndCitiesRsp": {
  16983. "type": "object",
  16984. "properties": {
  16985. "cities": {
  16986. "description": "市",
  16987. "type": "array",
  16988. "items": {
  16989. "$ref": "#/definitions/models.Division"
  16990. }
  16991. },
  16992. "province": {
  16993. "description": "省",
  16994. "$ref": "#/definitions/models.Division"
  16995. }
  16996. }
  16997. },
  16998. "common.QueryTableDefineRsp": {
  16999. "type": "object",
  17000. "required": [
  17001. "tablekey"
  17002. ],
  17003. "properties": {
  17004. "columns": {
  17005. "description": "列头信息数组",
  17006. "type": "array",
  17007. "items": {
  17008. "$ref": "#/definitions/models.Tablecolumnconfig"
  17009. }
  17010. },
  17011. "remark": {
  17012. "description": "Remark",
  17013. "type": "string"
  17014. },
  17015. "tabelmenu": {
  17016. "description": "列表菜单",
  17017. "type": "string"
  17018. },
  17019. "tablekey": {
  17020. "description": "列表Key",
  17021. "type": "string"
  17022. },
  17023. "tablename": {
  17024. "description": "列表名称",
  17025. "type": "string"
  17026. },
  17027. "tabletype": {
  17028. "description": "列表类型 - 1:管理端 2:终端",
  17029. "type": "integer"
  17030. }
  17031. }
  17032. },
  17033. "common.QueryTraderMenuRsp": {
  17034. "type": "object",
  17035. "properties": {
  17036. "OperationMenu": {
  17037. "description": "功能菜单",
  17038. "type": "array",
  17039. "items": {
  17040. "$ref": "#/definitions/models.OperationPrimaryMenu"
  17041. }
  17042. },
  17043. "QuoteMenu": {
  17044. "description": "报价牌分类菜单",
  17045. "type": "array",
  17046. "items": {
  17047. "$ref": "#/definitions/models.QuotePrimaryMenu"
  17048. }
  17049. }
  17050. }
  17051. },
  17052. "cptrade.Cptradepositioncancel": {
  17053. "type": "object",
  17054. "required": [
  17055. "cancelid"
  17056. ],
  17057. "properties": {
  17058. "accountid": {
  17059. "description": "申请人账户ID",
  17060. "type": "integer"
  17061. },
  17062. "applystatus": {
  17063. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17064. "type": "integer"
  17065. },
  17066. "applytime": {
  17067. "description": "申请时间",
  17068. "type": "string"
  17069. },
  17070. "cancelid": {
  17071. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  17072. "type": "integer"
  17073. },
  17074. "cancelqty": {
  17075. "description": "注销数量",
  17076. "type": "integer"
  17077. },
  17078. "createtime": {
  17079. "description": "创建时间",
  17080. "type": "string"
  17081. },
  17082. "creatorid": {
  17083. "description": "创建人ID",
  17084. "type": "integer"
  17085. },
  17086. "creatorname": {
  17087. "description": "创建人",
  17088. "type": "string"
  17089. },
  17090. "goodscode": {
  17091. "description": "订单商品代码",
  17092. "type": "string"
  17093. },
  17094. "goodsid": {
  17095. "description": "商品ID",
  17096. "type": "integer"
  17097. },
  17098. "goodsname": {
  17099. "description": "订单商品名称",
  17100. "type": "string"
  17101. },
  17102. "goodunit": {
  17103. "description": "报价单位",
  17104. "type": "string"
  17105. },
  17106. "handlestatus": {
  17107. "description": "处理状态",
  17108. "type": "integer"
  17109. },
  17110. "marketid": {
  17111. "description": "市场ID",
  17112. "type": "integer"
  17113. },
  17114. "marketname": {
  17115. "description": "市场名称",
  17116. "type": "string"
  17117. },
  17118. "tradedate": {
  17119. "description": "交易日(yyyyMMdd)",
  17120. "type": "string"
  17121. },
  17122. "userid": {
  17123. "description": "申请人ID",
  17124. "type": "integer"
  17125. }
  17126. }
  17127. },
  17128. "cptrade.Cptradepresaleapply": {
  17129. "type": "object",
  17130. "required": [
  17131. "applyid"
  17132. ],
  17133. "properties": {
  17134. "accountid": {
  17135. "description": "申请人账户ID",
  17136. "type": "integer"
  17137. },
  17138. "applyid": {
  17139. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  17140. "type": "integer"
  17141. },
  17142. "applyremark": {
  17143. "description": "申请备注",
  17144. "type": "string"
  17145. },
  17146. "applystatus": {
  17147. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17148. "type": "integer"
  17149. },
  17150. "applytime": {
  17151. "description": "申请时间",
  17152. "type": "string"
  17153. },
  17154. "attachmenturl": {
  17155. "description": "附件地址",
  17156. "type": "string"
  17157. },
  17158. "endtime": {
  17159. "description": "预售结束时间",
  17160. "type": "string"
  17161. },
  17162. "goodscode": {
  17163. "description": "商品代码",
  17164. "type": "string"
  17165. },
  17166. "goodsid": {
  17167. "description": "商品ID",
  17168. "type": "integer"
  17169. },
  17170. "goodsname": {
  17171. "description": "商品名称",
  17172. "type": "string"
  17173. },
  17174. "goodunit": {
  17175. "description": "报价单位",
  17176. "type": "string"
  17177. },
  17178. "handlestatus": {
  17179. "description": "处理状态",
  17180. "type": "integer"
  17181. },
  17182. "marketid": {
  17183. "description": "预售市场ID",
  17184. "type": "integer"
  17185. },
  17186. "marketname": {
  17187. "description": "预售市场名称",
  17188. "type": "string"
  17189. },
  17190. "presaleqty": {
  17191. "description": "预售数量",
  17192. "type": "integer"
  17193. },
  17194. "relatedgoodscode": {
  17195. "description": "关联交易合约代码",
  17196. "type": "string"
  17197. },
  17198. "relatedgoodsid": {
  17199. "description": "关联交易合约ID",
  17200. "type": "integer"
  17201. },
  17202. "relatedgoodsname": {
  17203. "description": "关联交易合约名称",
  17204. "type": "string"
  17205. },
  17206. "starttime": {
  17207. "description": "预售开始时间",
  17208. "type": "string"
  17209. },
  17210. "tradedate": {
  17211. "description": "交易日(yyyyMMdd)",
  17212. "type": "string"
  17213. },
  17214. "trademode": {
  17215. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17216. "type": "integer"
  17217. },
  17218. "userid": {
  17219. "description": "申请人ID",
  17220. "type": "integer"
  17221. }
  17222. }
  17223. },
  17224. "cptrade.Cptradeusergoodsdata": {
  17225. "type": "object",
  17226. "required": [
  17227. "accountid",
  17228. "goodsid"
  17229. ],
  17230. "properties": {
  17231. "EnabledQty": {
  17232. "description": "可用量",
  17233. "type": "integer"
  17234. },
  17235. "GoodsCode": {
  17236. "description": "订单商品代码",
  17237. "type": "string"
  17238. },
  17239. "GoodsName": {
  17240. "description": "订单商品名称",
  17241. "type": "string"
  17242. },
  17243. "WRStandardCode": {
  17244. "description": "仓单标准代码",
  17245. "type": "string"
  17246. },
  17247. "WRStandardName": {
  17248. "description": "仓单标准名称",
  17249. "type": "string"
  17250. },
  17251. "accountid": {
  17252. "description": "账户ID",
  17253. "type": "integer"
  17254. },
  17255. "cancelqty": {
  17256. "description": "注销量",
  17257. "type": "integer"
  17258. },
  17259. "curpresaleqty": {
  17260. "description": "当前预售量",
  17261. "type": "integer"
  17262. },
  17263. "deliveryqty": {
  17264. "description": "交割量",
  17265. "type": "integer"
  17266. },
  17267. "freezeamount": {
  17268. "description": "冻结金额",
  17269. "type": "number"
  17270. },
  17271. "goodsid": {
  17272. "description": "商品ID",
  17273. "type": "integer"
  17274. },
  17275. "goodunit": {
  17276. "description": "报价单位",
  17277. "type": "string"
  17278. },
  17279. "hasspotfreeze": {
  17280. "description": "是否有现货冻结 - 0:否 1:有",
  17281. "type": "integer"
  17282. },
  17283. "inqty": {
  17284. "description": "转入量(总数量)",
  17285. "type": "integer"
  17286. },
  17287. "marketid": {
  17288. "description": "市场ID",
  17289. "type": "integer"
  17290. },
  17291. "presaledamount": {
  17292. "description": "已预售总金额",
  17293. "type": "integer"
  17294. },
  17295. "presaledqty": {
  17296. "description": "已预售量",
  17297. "type": "integer"
  17298. },
  17299. "userid": {
  17300. "description": "用户ID",
  17301. "type": "integer"
  17302. },
  17303. "wrstandardid": {
  17304. "description": "仓单标准ID",
  17305. "type": "integer"
  17306. }
  17307. }
  17308. },
  17309. "cptrade.QueryCPTradeMyBidRsp": {
  17310. "type": "object",
  17311. "required": [
  17312. "accountid",
  17313. "goodsid",
  17314. "marketid",
  17315. "orderid",
  17316. "orderqty",
  17317. "ordertime",
  17318. "tradeprice",
  17319. "tradeqty"
  17320. ],
  17321. "properties": {
  17322. "accountid": {
  17323. "description": "账户ID[报价币种]",
  17324. "type": "integer"
  17325. },
  17326. "goodsid": {
  17327. "description": "商品ID",
  17328. "type": "integer"
  17329. },
  17330. "goodunit": {
  17331. "description": "报价单位",
  17332. "type": "string"
  17333. },
  17334. "marketid": {
  17335. "description": "市场ID",
  17336. "type": "integer"
  17337. },
  17338. "orderid": {
  17339. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17340. "type": "integer"
  17341. },
  17342. "orderprice": {
  17343. "description": "委托价格",
  17344. "type": "number"
  17345. },
  17346. "orderqty": {
  17347. "description": "委托数量",
  17348. "type": "integer"
  17349. },
  17350. "ordertime": {
  17351. "description": "委托时间",
  17352. "type": "string"
  17353. },
  17354. "ordertotalprice": {
  17355. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17356. "type": "number"
  17357. },
  17358. "ordertotalweight": {
  17359. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17360. "type": "integer"
  17361. },
  17362. "totaltotalprice": {
  17363. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17364. "type": "number"
  17365. },
  17366. "tradeprice": {
  17367. "description": "成交价格",
  17368. "type": "number"
  17369. },
  17370. "tradeqty": {
  17371. "description": "成交数量",
  17372. "type": "integer"
  17373. }
  17374. }
  17375. },
  17376. "cptrade.QueryCPTradeOrderDetailRsq": {
  17377. "type": "object",
  17378. "required": [
  17379. "accountid",
  17380. "buildtype",
  17381. "buyorsell",
  17382. "goodsid",
  17383. "marketid",
  17384. "memberuserid",
  17385. "operatetype",
  17386. "orderqty",
  17387. "ordertime",
  17388. "pricemode",
  17389. "strorderid",
  17390. "tradedate",
  17391. "validtype"
  17392. ],
  17393. "properties": {
  17394. "accountid": {
  17395. "description": "账户ID[报价币种]",
  17396. "type": "integer"
  17397. },
  17398. "buildtype": {
  17399. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17400. "type": "integer"
  17401. },
  17402. "buyorsell": {
  17403. "description": "买卖 - 0:买 1:卖",
  17404. "type": "integer"
  17405. },
  17406. "cancelorderid": {
  17407. "description": "撤单单号(撤单时填写)",
  17408. "type": "integer"
  17409. },
  17410. "cancelqty": {
  17411. "description": "撤单数量",
  17412. "type": "integer"
  17413. },
  17414. "clientordertime": {
  17415. "description": "客户端委托时间",
  17416. "type": "string"
  17417. },
  17418. "clientticket": {
  17419. "description": "客户端流水号",
  17420. "type": "string"
  17421. },
  17422. "clienttype": {
  17423. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17424. "type": "integer"
  17425. },
  17426. "closeexchagechargevalue": {
  17427. "description": "平仓交易所手续费设置值",
  17428. "type": "number"
  17429. },
  17430. "closefeealgorithm": {
  17431. "description": "平仓手续费收取方式 1:比率 2:固定",
  17432. "type": "integer"
  17433. },
  17434. "closefreezecharge": {
  17435. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17436. "type": "number"
  17437. },
  17438. "closememberchargevalue": {
  17439. "description": "平仓会员手续费设置值",
  17440. "type": "number"
  17441. },
  17442. "closeqty": {
  17443. "description": "平仓数量(先建后平操作 需要记录)",
  17444. "type": "integer"
  17445. },
  17446. "closetradeqty": {
  17447. "description": "平仓成交数量(先建后平操作,需要记录)",
  17448. "type": "integer"
  17449. },
  17450. "closeunfreezecharge": {
  17451. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17452. "type": "number"
  17453. },
  17454. "delistingtype": {
  17455. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17456. "type": "integer"
  17457. },
  17458. "freezecharge": {
  17459. "description": "冻结手续费",
  17460. "type": "number"
  17461. },
  17462. "freezemargin": {
  17463. "description": "冻结保证金(冻结交易金额)",
  17464. "type": "number"
  17465. },
  17466. "gcaccountid": {
  17467. "description": "账户ID[合约币种]",
  17468. "type": "integer"
  17469. },
  17470. "goodsid": {
  17471. "description": "商品ID",
  17472. "type": "integer"
  17473. },
  17474. "isconfirmexercise": {
  17475. "description": "是否确认行权- 0:否 1:是",
  17476. "type": "integer"
  17477. },
  17478. "ispreexercise": {
  17479. "description": "是否预申报- 0:否 1:是",
  17480. "type": "integer"
  17481. },
  17482. "listingselecttype": {
  17483. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17484. "type": "integer"
  17485. },
  17486. "marginalgorithm": {
  17487. "description": "保证金收取方式 1:比率 2:固定",
  17488. "type": "integer"
  17489. },
  17490. "marginvalue": {
  17491. "description": "即市保证金设置值",
  17492. "type": "number"
  17493. },
  17494. "marketid": {
  17495. "description": "市场ID",
  17496. "type": "integer"
  17497. },
  17498. "marketmaxsub": {
  17499. "description": "市价最大偏移范围",
  17500. "type": "number"
  17501. },
  17502. "memberuserid": {
  17503. "description": "所属会员UserID",
  17504. "type": "integer"
  17505. },
  17506. "openexchagechargevalue": {
  17507. "description": "建仓交易所手续费设置值",
  17508. "type": "number"
  17509. },
  17510. "openfeealgorithm": {
  17511. "description": "建仓手续费收取方式 1:比率 2:固定",
  17512. "type": "integer"
  17513. },
  17514. "openfreezecharge": {
  17515. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17516. "type": "number"
  17517. },
  17518. "openmemberchargevalue": {
  17519. "description": "建仓会员手续费设置值",
  17520. "type": "number"
  17521. },
  17522. "openqty": {
  17523. "description": "开仓数量(先建后平操作,需要记录)",
  17524. "type": "integer"
  17525. },
  17526. "opentradeqty": {
  17527. "description": "开仓成交数量(先建后平操作,需要记录)",
  17528. "type": "integer"
  17529. },
  17530. "openunfreezecharge": {
  17531. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17532. "type": "number"
  17533. },
  17534. "operatetype": {
  17535. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17536. "type": "integer"
  17537. },
  17538. "operatorid": {
  17539. "description": "登录账号(LoginID)",
  17540. "type": "integer"
  17541. },
  17542. "optiontype": {
  17543. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17544. "type": "integer"
  17545. },
  17546. "orderprice": {
  17547. "description": "委托价格",
  17548. "type": "number"
  17549. },
  17550. "orderqty": {
  17551. "description": "委托数量",
  17552. "type": "integer"
  17553. },
  17554. "ordersrc": {
  17555. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17556. "type": "integer"
  17557. },
  17558. "orderstatus": {
  17559. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17560. "type": "integer"
  17561. },
  17562. "ordertime": {
  17563. "description": "委托时间",
  17564. "type": "string"
  17565. },
  17566. "preexerciseprice": {
  17567. "description": "预申报价格",
  17568. "type": "number"
  17569. },
  17570. "premium": {
  17571. "description": "权利金",
  17572. "type": "number"
  17573. },
  17574. "preorderid": {
  17575. "description": "关联预埋单号(止盈止损单时填写)",
  17576. "type": "integer"
  17577. },
  17578. "pricemode": {
  17579. "description": "取价方式 - 1:市价 2: 限价",
  17580. "type": "integer"
  17581. },
  17582. "quoteid": {
  17583. "description": "报价单ID",
  17584. "type": "integer"
  17585. },
  17586. "relatedid": {
  17587. "description": "关联单号(交割单)",
  17588. "type": "integer"
  17589. },
  17590. "retcode": {
  17591. "description": "错误代码",
  17592. "type": "integer"
  17593. },
  17594. "sessionid": {
  17595. "description": "会话ID",
  17596. "type": "integer"
  17597. },
  17598. "strorderid": {
  17599. "description": "委托单号",
  17600. "type": "string"
  17601. },
  17602. "tradedate": {
  17603. "description": "交易日(yyyyMMdd)",
  17604. "type": "string"
  17605. },
  17606. "tradeproperty": {
  17607. "description": "交易属性",
  17608. "type": "integer"
  17609. },
  17610. "tradeqty": {
  17611. "description": "成交数量",
  17612. "type": "integer"
  17613. },
  17614. "unfreezecharge": {
  17615. "description": "解冻手续费",
  17616. "type": "number"
  17617. },
  17618. "unfreezemargin": {
  17619. "description": "解冻保证金",
  17620. "type": "number"
  17621. },
  17622. "updatetime": {
  17623. "description": "更新时间",
  17624. "type": "string"
  17625. },
  17626. "uuid": {
  17627. "description": "发起端唯一id",
  17628. "type": "string"
  17629. },
  17630. "validtime": {
  17631. "description": "有效期限",
  17632. "type": "string"
  17633. },
  17634. "validtype": {
  17635. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17636. "type": "integer"
  17637. },
  17638. "volumetype": {
  17639. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17640. "type": "integer"
  17641. }
  17642. }
  17643. },
  17644. "cptrade.QueryMyCPTradeGoodsRsp": {
  17645. "type": "object",
  17646. "required": [
  17647. "goodscode",
  17648. "goodsid",
  17649. "goodsname",
  17650. "marketid",
  17651. "relatedgoodscode",
  17652. "relatedgoodsname"
  17653. ],
  17654. "properties": {
  17655. "accountid": {
  17656. "description": "卖方账户ID",
  17657. "type": "integer"
  17658. },
  17659. "agreeunit": {
  17660. "description": "合约单位",
  17661. "type": "number"
  17662. },
  17663. "applyid": {
  17664. "description": "关联申请ID",
  17665. "type": "integer"
  17666. },
  17667. "attachmenturl": {
  17668. "description": "附件地址",
  17669. "type": "string"
  17670. },
  17671. "createtime": {
  17672. "description": "创建时间",
  17673. "type": "string"
  17674. },
  17675. "currencyid": {
  17676. "description": "报价货币ID",
  17677. "type": "integer"
  17678. },
  17679. "decimalplace": {
  17680. "description": "报价小数位",
  17681. "type": "integer"
  17682. },
  17683. "endtime": {
  17684. "description": "预售结束时间",
  17685. "type": "string"
  17686. },
  17687. "floorprice": {
  17688. "description": "底价[大宗式竞拍]",
  17689. "type": "number"
  17690. },
  17691. "goodscode": {
  17692. "description": "商品代码(预售)",
  17693. "type": "string"
  17694. },
  17695. "goodsdetail": {
  17696. "description": "详情[大宗]",
  17697. "type": "string"
  17698. },
  17699. "goodsid": {
  17700. "description": "商品ID(自增ID SEQ_GOODS)",
  17701. "type": "integer"
  17702. },
  17703. "goodsname": {
  17704. "description": "商品名称(预售)",
  17705. "type": "string"
  17706. },
  17707. "goodunit": {
  17708. "description": "报价单位",
  17709. "type": "string"
  17710. },
  17711. "goodunitid": {
  17712. "description": "报价单位ID",
  17713. "type": "integer"
  17714. },
  17715. "marketid": {
  17716. "description": "所属市场ID",
  17717. "type": "integer"
  17718. },
  17719. "marketname": {
  17720. "description": "预售市场名称",
  17721. "type": "string"
  17722. },
  17723. "presaledamount": {
  17724. "description": "已预售总金额(预售结束时更新)",
  17725. "type": "number"
  17726. },
  17727. "presaledqty": {
  17728. "description": "已预售量(预售结束时更新)",
  17729. "type": "integer"
  17730. },
  17731. "presalemode": {
  17732. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17733. "type": "integer"
  17734. },
  17735. "presaleqty": {
  17736. "description": "预售数量",
  17737. "type": "integer"
  17738. },
  17739. "refprice": {
  17740. "description": "参考价格[一口价]",
  17741. "type": "number"
  17742. },
  17743. "relatedgoodscode": {
  17744. "description": "商品代码(订单)",
  17745. "type": "string"
  17746. },
  17747. "relatedgoodsid": {
  17748. "description": "关联交易合约ID",
  17749. "type": "integer"
  17750. },
  17751. "relatedgoodsname": {
  17752. "description": "商品名称(订单)",
  17753. "type": "string"
  17754. },
  17755. "relatedmarketid": {
  17756. "description": "关联交易合约市场ID",
  17757. "type": "integer"
  17758. },
  17759. "sellstatus": {
  17760. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17761. "type": "integer"
  17762. },
  17763. "startprice": {
  17764. "description": "起拍价[大宗式竞拍]",
  17765. "type": "number"
  17766. },
  17767. "starttime": {
  17768. "description": "预售开始时间",
  17769. "type": "string"
  17770. },
  17771. "tradedate": {
  17772. "description": "交易日(yyyyMMdd)",
  17773. "type": "string"
  17774. },
  17775. "tradeprice": {
  17776. "description": "成交价[大宗]",
  17777. "type": "number"
  17778. },
  17779. "userid": {
  17780. "description": "卖方用户ID",
  17781. "type": "integer"
  17782. }
  17783. }
  17784. },
  17785. "cptrade.QueryPresaleGoodsExRsp": {
  17786. "type": "object",
  17787. "required": [
  17788. "goodsid"
  17789. ],
  17790. "properties": {
  17791. "attachmenturl": {
  17792. "description": "附件地址",
  17793. "type": "string"
  17794. },
  17795. "createtime": {
  17796. "description": "创建时间",
  17797. "type": "string"
  17798. },
  17799. "endtime": {
  17800. "description": "预售结束时间",
  17801. "type": "string"
  17802. },
  17803. "floorprice": {
  17804. "description": "底价[大宗式竞拍]",
  17805. "type": "number"
  17806. },
  17807. "goodsdetail": {
  17808. "description": "详情[大宗]",
  17809. "type": "string"
  17810. },
  17811. "goodsid": {
  17812. "description": "商品ID(预售)",
  17813. "type": "integer"
  17814. },
  17815. "goodunit": {
  17816. "description": "报价单位",
  17817. "type": "string"
  17818. },
  17819. "marketid": {
  17820. "description": "预售市场ID - 根据预售模式选择市场",
  17821. "type": "integer"
  17822. },
  17823. "presaledamount": {
  17824. "description": "已预售总金额(预售结束时更新)",
  17825. "type": "number"
  17826. },
  17827. "presaledqty": {
  17828. "description": "已预售量(预售结束时更新)",
  17829. "type": "integer"
  17830. },
  17831. "presalemode": {
  17832. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17833. "type": "integer"
  17834. },
  17835. "presaleqty": {
  17836. "description": "预售数量",
  17837. "type": "integer"
  17838. },
  17839. "refprice": {
  17840. "description": "参考价格[一口价]",
  17841. "type": "number"
  17842. },
  17843. "relatedgoodsid": {
  17844. "description": "关联交易合约ID",
  17845. "type": "integer"
  17846. },
  17847. "relatedmarketid": {
  17848. "description": "关联交易合约市场ID",
  17849. "type": "integer"
  17850. },
  17851. "sellstatus": {
  17852. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17853. "type": "integer"
  17854. },
  17855. "startprice": {
  17856. "description": "起拍价[大宗式竞拍]",
  17857. "type": "number"
  17858. },
  17859. "starttime": {
  17860. "description": "预售开始时间",
  17861. "type": "string"
  17862. },
  17863. "tradedate": {
  17864. "description": "交易日(yyyyMMdd)",
  17865. "type": "string"
  17866. },
  17867. "tradeprice": {
  17868. "description": "成交价[大宗]",
  17869. "type": "number"
  17870. }
  17871. }
  17872. },
  17873. "delivery.QueryDeliveryRelationRsp": {
  17874. "type": "object",
  17875. "required": [
  17876. "begindate",
  17877. "enddate",
  17878. "goodsid",
  17879. "mindeliveryqty",
  17880. "xdeliveryratio"
  17881. ],
  17882. "properties": {
  17883. "begindate": {
  17884. "description": "起始日期(yyyyMMdd)",
  17885. "type": "string"
  17886. },
  17887. "buytemplateid": {
  17888. "description": "买履约计划模板ID",
  17889. "type": "integer"
  17890. },
  17891. "deliverygoodscode": {
  17892. "description": "品种代码",
  17893. "type": "string"
  17894. },
  17895. "deliverygoodsid": {
  17896. "description": "交割商品",
  17897. "type": "integer"
  17898. },
  17899. "deliverygoodsname": {
  17900. "description": "品种名称",
  17901. "type": "string"
  17902. },
  17903. "deliverymode": {
  17904. "description": "交割方式 - 1:点选式 2:申报式",
  17905. "type": "integer"
  17906. },
  17907. "deliverypricerule": {
  17908. "description": "交割价规则- 1:行情价 2:建仓价",
  17909. "type": "integer"
  17910. },
  17911. "deliverytype": {
  17912. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17913. "type": "integer"
  17914. },
  17915. "enddate": {
  17916. "description": "结束日期(yyyyMMdd)",
  17917. "type": "string"
  17918. },
  17919. "enumdicname": {
  17920. "description": "品类单位名称",
  17921. "type": "string"
  17922. },
  17923. "goodscode": {
  17924. "description": "商品代码",
  17925. "type": "string"
  17926. },
  17927. "goodsid": {
  17928. "description": "交易合约ID",
  17929. "type": "integer"
  17930. },
  17931. "goodsname": {
  17932. "description": "商品名称",
  17933. "type": "string"
  17934. },
  17935. "marketid": {
  17936. "description": "市场ID",
  17937. "type": "integer"
  17938. },
  17939. "mindeliveryqty": {
  17940. "description": "最小交割系数(K)",
  17941. "type": "integer"
  17942. },
  17943. "p2deliveryprice": {
  17944. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17945. "type": "number"
  17946. },
  17947. "p2deliveryratio": {
  17948. "description": "P2合约系数(p)",
  17949. "type": "integer"
  17950. },
  17951. "p2goodsid": {
  17952. "description": "P2合约ID",
  17953. "type": "integer"
  17954. },
  17955. "p2pricemode": {
  17956. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17957. "type": "integer"
  17958. },
  17959. "pdeliveryprice": {
  17960. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17961. "type": "number"
  17962. },
  17963. "pdeliveryratio": {
  17964. "description": "P合约系数(n)",
  17965. "type": "integer"
  17966. },
  17967. "pgoodscode": {
  17968. "description": "p合约代码",
  17969. "type": "string"
  17970. },
  17971. "pgoodsid": {
  17972. "description": "P合约ID",
  17973. "type": "integer"
  17974. },
  17975. "ppricemode": {
  17976. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17977. "type": "integer"
  17978. },
  17979. "rratio": {
  17980. "description": "兑换系数(R)",
  17981. "type": "integer"
  17982. },
  17983. "rratio1": {
  17984. "description": "兑换系数(交易合约)(R1)",
  17985. "type": "integer"
  17986. },
  17987. "rratio2": {
  17988. "description": "兑换系数(仓单标准)(R2)",
  17989. "type": "integer"
  17990. },
  17991. "selltemplateid": {
  17992. "description": "卖履约计划模板ID",
  17993. "type": "integer"
  17994. },
  17995. "wrstandardid": {
  17996. "description": "仓单标准ID",
  17997. "type": "integer"
  17998. },
  17999. "xdeliveryratio": {
  18000. "description": "交易合约系数(m)",
  18001. "type": "integer"
  18002. }
  18003. }
  18004. },
  18005. "ermcp.ExposureDetailRsp": {
  18006. "type": "object",
  18007. "properties": {
  18008. "areauserid": {
  18009. "description": "机构ID",
  18010. "type": "integer"
  18011. },
  18012. "changeQty": {
  18013. "description": "套保变动量",
  18014. "type": "number"
  18015. },
  18016. "contracttype": {
  18017. "description": "现货合同类型 - 1:采购 -1:销售",
  18018. "type": "integer"
  18019. },
  18020. "convertfactor": {
  18021. "description": "标仓系数",
  18022. "type": "number"
  18023. },
  18024. "convertratio": {
  18025. "description": "套保系数",
  18026. "type": "number"
  18027. },
  18028. "createtime": {
  18029. "description": "时间",
  18030. "type": "string"
  18031. },
  18032. "enumdicname": {
  18033. "description": "现货商品单位名称",
  18034. "type": "string"
  18035. },
  18036. "logtype": {
  18037. "description": "类型 - 1:套保计划 2:现货合同",
  18038. "type": "integer"
  18039. },
  18040. "middlegoodsId": {
  18041. "description": "套保商品id",
  18042. "type": "integer"
  18043. },
  18044. "middlegoodscode": {
  18045. "description": "套保商品代码",
  18046. "type": "string"
  18047. },
  18048. "middlegoodsname": {
  18049. "description": "套保商品名称",
  18050. "type": "string"
  18051. },
  18052. "qty": {
  18053. "description": "数量",
  18054. "type": "number"
  18055. },
  18056. "relateNo": {
  18057. "description": "现货合同/套保计划编号",
  18058. "type": "string"
  18059. },
  18060. "wrstandardcode": {
  18061. "description": "现货商品代码",
  18062. "type": "string"
  18063. },
  18064. "wrstandardid": {
  18065. "description": "现货商品ID",
  18066. "type": "integer"
  18067. },
  18068. "wrstandardname": {
  18069. "description": "现货商品名称",
  18070. "type": "string"
  18071. }
  18072. }
  18073. },
  18074. "ermcp.ExposureHedgePosDetailRsp": {
  18075. "type": "object",
  18076. "properties": {
  18077. "buyorsell": {
  18078. "description": "买卖方向 0-买 1-卖",
  18079. "type": "integer"
  18080. },
  18081. "channelbuildtype": {
  18082. "description": "开平方向 1-建仓 2-平仓",
  18083. "type": "integer"
  18084. },
  18085. "goodscode": {
  18086. "description": "商品代码",
  18087. "type": "string"
  18088. },
  18089. "goodsname": {
  18090. "description": "商品名称",
  18091. "type": "string"
  18092. },
  18093. "hedgegoodsid": {
  18094. "description": "商品id",
  18095. "type": "integer"
  18096. },
  18097. "tradeqty": {
  18098. "description": "数量(成交数量)",
  18099. "type": "integer"
  18100. },
  18101. "tradetime": {
  18102. "description": "时间(成交时间)",
  18103. "type": "string"
  18104. }
  18105. }
  18106. },
  18107. "ermcp.ExposureHedgePositionRsp": {
  18108. "type": "object",
  18109. "properties": {
  18110. "accountid": {
  18111. "description": "资金账号[外部母账户]",
  18112. "type": "integer"
  18113. },
  18114. "curbuyposition": {
  18115. "description": "期末买头寸",
  18116. "type": "integer"
  18117. },
  18118. "cursellposition": {
  18119. "description": "期末卖头寸",
  18120. "type": "integer"
  18121. },
  18122. "curtdbuyposition": {
  18123. "description": "期末今日买头寸",
  18124. "type": "integer"
  18125. },
  18126. "curtdsellposition": {
  18127. "description": "期末今日卖头寸",
  18128. "type": "integer"
  18129. },
  18130. "curydbuyposition": {
  18131. "description": "期末上日买头寸",
  18132. "type": "integer"
  18133. },
  18134. "curydsellposition": {
  18135. "description": "期末上日卖头寸",
  18136. "type": "integer"
  18137. },
  18138. "decreaseqty": {
  18139. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18140. "type": "integer"
  18141. },
  18142. "fretdbuyposition": {
  18143. "description": "冻结今日买头寸",
  18144. "type": "integer"
  18145. },
  18146. "fretdsellposition": {
  18147. "description": "冻结今日卖头寸",
  18148. "type": "integer"
  18149. },
  18150. "freydbuyposition": {
  18151. "description": "冻结上日买头寸",
  18152. "type": "integer"
  18153. },
  18154. "freydsellposition": {
  18155. "description": "冻结上日卖头寸",
  18156. "type": "integer"
  18157. },
  18158. "goodscode": {
  18159. "description": "商品代码",
  18160. "type": "string"
  18161. },
  18162. "goodsid": {
  18163. "description": "商品id",
  18164. "type": "integer"
  18165. },
  18166. "goodsname": {
  18167. "description": "商品名称",
  18168. "type": "string"
  18169. },
  18170. "hedgeaccountcode": {
  18171. "description": "对冲账号",
  18172. "type": "string"
  18173. },
  18174. "hedgegoodsid": {
  18175. "description": "对冲合约ID",
  18176. "type": "integer"
  18177. },
  18178. "increaseqty": {
  18179. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18180. "type": "integer"
  18181. },
  18182. "marketid": {
  18183. "description": "市场ID",
  18184. "type": "integer"
  18185. },
  18186. "relateduserid": {
  18187. "description": "关联用户id",
  18188. "type": "integer"
  18189. },
  18190. "totalcurqty": {
  18191. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18192. "type": "integer"
  18193. },
  18194. "totalydqty": {
  18195. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18196. "type": "integer"
  18197. },
  18198. "tradedate": {
  18199. "description": "交易日(yyyyMMdd)",
  18200. "type": "string"
  18201. },
  18202. "ydbuyposition": {
  18203. "description": "期初买头寸",
  18204. "type": "integer"
  18205. },
  18206. "ydsellposition": {
  18207. "description": "期初卖头寸",
  18208. "type": "integer"
  18209. }
  18210. }
  18211. },
  18212. "ermcp.ExposureSpotDetailRsp": {
  18213. "type": "object",
  18214. "properties": {
  18215. "contracttype": {
  18216. "description": "合同类型 1-采购 -1-销售",
  18217. "type": "integer"
  18218. },
  18219. "createtime": {
  18220. "description": "创建时间",
  18221. "type": "string"
  18222. },
  18223. "enumdicname": {
  18224. "description": "现货商品单位名称",
  18225. "type": "string"
  18226. },
  18227. "logtype": {
  18228. "description": "记录类型 1-套保 2-现货合同",
  18229. "type": "integer"
  18230. },
  18231. "qty": {
  18232. "description": "数量",
  18233. "type": "number"
  18234. },
  18235. "recordname": {
  18236. "description": "类型名称",
  18237. "type": "string"
  18238. },
  18239. "relatedid": {
  18240. "description": "套保计划ID/现货合同ID",
  18241. "type": "string"
  18242. },
  18243. "relatedno": {
  18244. "description": "编号",
  18245. "type": "string"
  18246. },
  18247. "strtime": {
  18248. "description": "时间",
  18249. "type": "string"
  18250. },
  18251. "wrstandardcode": {
  18252. "description": "现货商品代码",
  18253. "type": "string"
  18254. },
  18255. "wrstandardname": {
  18256. "description": "现货商品名称",
  18257. "type": "string"
  18258. }
  18259. }
  18260. },
  18261. "ermcp.ExposureSpotRsp": {
  18262. "type": "object",
  18263. "properties": {
  18264. "areauserid": {
  18265. "description": "所属机构",
  18266. "type": "integer"
  18267. },
  18268. "decreaseqty": {
  18269. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18270. "type": "number"
  18271. },
  18272. "increaseqty": {
  18273. "description": "增加数量=销售计划数量+采购已定价数量",
  18274. "type": "number"
  18275. },
  18276. "oritoalspotqty": {
  18277. "description": "昨日数量",
  18278. "type": "number"
  18279. },
  18280. "totalspotqty": {
  18281. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18282. "type": "number"
  18283. },
  18284. "updatetime": {
  18285. "description": "更新时间",
  18286. "type": "string"
  18287. },
  18288. "wrstandardcode": {
  18289. "description": "现货品种代码",
  18290. "type": "string"
  18291. },
  18292. "wrstandardid": {
  18293. "description": "现货商品ID",
  18294. "type": "integer"
  18295. },
  18296. "wrstandardname": {
  18297. "description": "现货品种",
  18298. "type": "string"
  18299. }
  18300. }
  18301. },
  18302. "ermcp.HisExposureRsp": {
  18303. "type": "object",
  18304. "properties": {
  18305. "data": {
  18306. "description": "历史敞口",
  18307. "type": "array",
  18308. "items": {
  18309. "$ref": "#/definitions/models.ErmcpHisExposure"
  18310. }
  18311. },
  18312. "enumdicname": {
  18313. "description": "单位名称",
  18314. "type": "string"
  18315. },
  18316. "middlegoodscode": {
  18317. "description": "套保品种代码",
  18318. "type": "string"
  18319. },
  18320. "middlegoodsid": {
  18321. "description": "套保品种ID",
  18322. "type": "integer"
  18323. },
  18324. "middlegoodsname": {
  18325. "description": "套保品种名称",
  18326. "type": "string"
  18327. }
  18328. }
  18329. },
  18330. "ermcp.PendingAuditCntRsp": {
  18331. "type": "object",
  18332. "properties": {
  18333. "areastockqty": {
  18334. "description": "待审核数量: 库存申请",
  18335. "type": "integer"
  18336. },
  18337. "businessdjqty": {
  18338. "description": "待审核数量: 点价",
  18339. "type": "integer"
  18340. },
  18341. "businessfpqty": {
  18342. "description": "待审核数量: 发票",
  18343. "type": "integer"
  18344. },
  18345. "businessjsqty": {
  18346. "description": "待审核数量: 结算",
  18347. "type": "integer"
  18348. },
  18349. "businesskxqty": {
  18350. "description": "待审核数量: 款项",
  18351. "type": "integer"
  18352. },
  18353. "hedgeplanqty": {
  18354. "description": "待审核数量: 套保计划",
  18355. "type": "integer"
  18356. },
  18357. "spotcontractqty": {
  18358. "description": "待审核数量: 现货合同",
  18359. "type": "integer"
  18360. },
  18361. "userqty": {
  18362. "description": "待审核数量: 用户",
  18363. "type": "integer"
  18364. }
  18365. }
  18366. },
  18367. "ermcp.QryAvalidGPRsp": {
  18368. "type": "object",
  18369. "properties": {
  18370. "goodsgroupid": {
  18371. "description": "期货品种id",
  18372. "type": "integer"
  18373. },
  18374. "goodsgroupname": {
  18375. "description": "期货品种名称",
  18376. "type": "string"
  18377. },
  18378. "goodunitid": {
  18379. "description": "品种单位id",
  18380. "type": "integer"
  18381. },
  18382. "goodunitname": {
  18383. "description": "品种单位名称",
  18384. "type": "string"
  18385. },
  18386. "outergroupcode": {
  18387. "description": "期货品种代码",
  18388. "type": "string"
  18389. }
  18390. }
  18391. },
  18392. "ermcp.QryBusinessDjRsp": {
  18393. "type": "object",
  18394. "properties": {
  18395. "amount": {
  18396. "description": "期初均价",
  18397. "type": "number"
  18398. },
  18399. "applyid": {
  18400. "description": "申请人",
  18401. "type": "string"
  18402. },
  18403. "applyname": {
  18404. "description": "申请人名称",
  18405. "type": "string"
  18406. },
  18407. "applystatus": {
  18408. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18409. "type": "integer"
  18410. },
  18411. "applytime": {
  18412. "description": "申请时间",
  18413. "type": "string"
  18414. },
  18415. "attachurl": {
  18416. "description": "附件",
  18417. "type": "string"
  18418. },
  18419. "auditid": {
  18420. "description": "审核人ID",
  18421. "type": "string"
  18422. },
  18423. "auditname": {
  18424. "description": "审核人名称",
  18425. "type": "string"
  18426. },
  18427. "auditremark": {
  18428. "description": "审核备注",
  18429. "type": "string"
  18430. },
  18431. "audittime": {
  18432. "description": "审核时间",
  18433. "type": "string"
  18434. },
  18435. "buyusername": {
  18436. "description": "采购方名称",
  18437. "type": "string"
  18438. },
  18439. "contractno": {
  18440. "description": "合同编号",
  18441. "type": "string"
  18442. },
  18443. "contractstatus": {
  18444. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18445. "type": "integer"
  18446. },
  18447. "contracttype": {
  18448. "description": "现货合同类型 - 1:采购 -1:销售",
  18449. "type": "integer"
  18450. },
  18451. "deliverygoodscode": {
  18452. "description": "现货品种代码",
  18453. "type": "string"
  18454. },
  18455. "deliverygoodsid": {
  18456. "description": "现货商品ID",
  18457. "type": "integer"
  18458. },
  18459. "deliverygoodsname": {
  18460. "description": "现货品种名称",
  18461. "type": "string"
  18462. },
  18463. "enumdicname": {
  18464. "description": "单位名称",
  18465. "type": "string"
  18466. },
  18467. "goodscode": {
  18468. "description": "点价合约",
  18469. "type": "string"
  18470. },
  18471. "goodsname": {
  18472. "description": "商品名称",
  18473. "type": "string"
  18474. },
  18475. "operateapplyid": {
  18476. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18477. "type": "string"
  18478. },
  18479. "operateapplytype": {
  18480. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18481. "type": "integer"
  18482. },
  18483. "pricedPrice": {
  18484. "description": "点价价格(非必填)",
  18485. "type": "number"
  18486. },
  18487. "pricedQty": {
  18488. "description": "点价数量(非必填)",
  18489. "type": "number"
  18490. },
  18491. "pricemove": {
  18492. "description": "升贴水",
  18493. "type": "number"
  18494. },
  18495. "pricetype": {
  18496. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18497. "type": "integer"
  18498. },
  18499. "relatedid": {
  18500. "description": "现货合同ID",
  18501. "type": "string"
  18502. },
  18503. "sellusername": {
  18504. "description": "销售方名字",
  18505. "type": "string"
  18506. },
  18507. "userid": {
  18508. "description": "用户ID",
  18509. "type": "integer"
  18510. },
  18511. "wrstandardcode": {
  18512. "description": "品类代码",
  18513. "type": "string"
  18514. },
  18515. "wrstandardid": {
  18516. "description": "品类id",
  18517. "type": "integer"
  18518. },
  18519. "wrstandardname": {
  18520. "description": "品类名称",
  18521. "type": "string"
  18522. }
  18523. }
  18524. },
  18525. "ermcp.QryBussinessFpRsp": {
  18526. "type": "object",
  18527. "properties": {
  18528. "applyid": {
  18529. "description": "申请人",
  18530. "type": "string"
  18531. },
  18532. "applyname": {
  18533. "description": "申请人名称",
  18534. "type": "string"
  18535. },
  18536. "applystatus": {
  18537. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18538. "type": "integer"
  18539. },
  18540. "applytime": {
  18541. "description": "申请时间",
  18542. "type": "string"
  18543. },
  18544. "attachurl": {
  18545. "description": "附件",
  18546. "type": "string"
  18547. },
  18548. "auditid": {
  18549. "description": "审核人ID",
  18550. "type": "string"
  18551. },
  18552. "auditname": {
  18553. "description": "审核人名称",
  18554. "type": "string"
  18555. },
  18556. "auditremark": {
  18557. "description": "审核备注",
  18558. "type": "string"
  18559. },
  18560. "audittime": {
  18561. "description": "审核时间",
  18562. "type": "string"
  18563. },
  18564. "buyusername": {
  18565. "description": "采购方名称",
  18566. "type": "string"
  18567. },
  18568. "contractno": {
  18569. "description": "合同编号",
  18570. "type": "string"
  18571. },
  18572. "contractstatus": {
  18573. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18574. "type": "integer"
  18575. },
  18576. "contracttype": {
  18577. "description": "现货合同类型 - 1:采购 -1:销售",
  18578. "type": "integer"
  18579. },
  18580. "deliverygoodscode": {
  18581. "description": "现货品种代码",
  18582. "type": "string"
  18583. },
  18584. "deliverygoodsid": {
  18585. "description": "现货商品ID",
  18586. "type": "integer"
  18587. },
  18588. "deliverygoodsname": {
  18589. "description": "现货品种名称",
  18590. "type": "string"
  18591. },
  18592. "enumdicname": {
  18593. "description": "单位名称",
  18594. "type": "string"
  18595. },
  18596. "goodscode": {
  18597. "description": "点价合约",
  18598. "type": "string"
  18599. },
  18600. "goodsname": {
  18601. "description": "商品名称",
  18602. "type": "string"
  18603. },
  18604. "invoiceamount": {
  18605. "description": "已开收票金额(销售为开票,采购为收票)",
  18606. "type": "number"
  18607. },
  18608. "operateapplyid": {
  18609. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18610. "type": "string"
  18611. },
  18612. "operateapplytype": {
  18613. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18614. "type": "integer"
  18615. },
  18616. "pricemove": {
  18617. "description": "升贴水",
  18618. "type": "number"
  18619. },
  18620. "pricetype": {
  18621. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18622. "type": "integer"
  18623. },
  18624. "relatedid": {
  18625. "description": "现货合同ID",
  18626. "type": "string"
  18627. },
  18628. "sellusername": {
  18629. "description": "销售方名字",
  18630. "type": "string"
  18631. },
  18632. "userid": {
  18633. "description": "用户ID",
  18634. "type": "integer"
  18635. },
  18636. "wrstandardcode": {
  18637. "description": "品类代码",
  18638. "type": "string"
  18639. },
  18640. "wrstandardid": {
  18641. "description": "品类id",
  18642. "type": "integer"
  18643. },
  18644. "wrstandardname": {
  18645. "description": "品类名称",
  18646. "type": "string"
  18647. }
  18648. }
  18649. },
  18650. "ermcp.QryBussinessJsExRsp": {
  18651. "type": "object",
  18652. "properties": {
  18653. "applyid": {
  18654. "description": "申请人",
  18655. "type": "string"
  18656. },
  18657. "applyname": {
  18658. "description": "申请人名称",
  18659. "type": "string"
  18660. },
  18661. "applystatus": {
  18662. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18663. "type": "integer"
  18664. },
  18665. "applytime": {
  18666. "description": "申请时间",
  18667. "type": "string"
  18668. },
  18669. "attachurl": {
  18670. "description": "附件",
  18671. "type": "string"
  18672. },
  18673. "auditid": {
  18674. "description": "审核人ID",
  18675. "type": "string"
  18676. },
  18677. "auditname": {
  18678. "description": "审核人名称",
  18679. "type": "string"
  18680. },
  18681. "auditremark": {
  18682. "description": "审核备注",
  18683. "type": "string"
  18684. },
  18685. "audittime": {
  18686. "description": "审核时间",
  18687. "type": "string"
  18688. },
  18689. "buyusername": {
  18690. "description": "采购方名称",
  18691. "type": "string"
  18692. },
  18693. "contractno": {
  18694. "description": "合同编号",
  18695. "type": "string"
  18696. },
  18697. "contractstatus": {
  18698. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18699. "type": "integer"
  18700. },
  18701. "contracttype": {
  18702. "description": "现货合同类型 - 1:采购 -1:销售",
  18703. "type": "integer"
  18704. },
  18705. "deliverygoodscode": {
  18706. "description": "现货品种代码",
  18707. "type": "string"
  18708. },
  18709. "deliverygoodsid": {
  18710. "description": "现货商品ID",
  18711. "type": "integer"
  18712. },
  18713. "deliverygoodsname": {
  18714. "description": "现货品种名称",
  18715. "type": "string"
  18716. },
  18717. "enumdicname": {
  18718. "description": "单位名称",
  18719. "type": "string"
  18720. },
  18721. "goodscode": {
  18722. "description": "点价合约",
  18723. "type": "string"
  18724. },
  18725. "goodsname": {
  18726. "description": "商品名称",
  18727. "type": "string"
  18728. },
  18729. "operateapplyid": {
  18730. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18731. "type": "string"
  18732. },
  18733. "operateapplytype": {
  18734. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18735. "type": "integer"
  18736. },
  18737. "pricemove": {
  18738. "description": "升贴水",
  18739. "type": "number"
  18740. },
  18741. "pricetype": {
  18742. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18743. "type": "integer"
  18744. },
  18745. "reckontype": {
  18746. "description": "结算类型",
  18747. "type": "string"
  18748. },
  18749. "reckonvalue": {
  18750. "description": "值",
  18751. "type": "number"
  18752. },
  18753. "relatedid": {
  18754. "description": "现货合同ID",
  18755. "type": "string"
  18756. },
  18757. "sellusername": {
  18758. "description": "销售方名字",
  18759. "type": "string"
  18760. },
  18761. "userid": {
  18762. "description": "用户ID",
  18763. "type": "integer"
  18764. },
  18765. "wrstandardcode": {
  18766. "description": "品类代码",
  18767. "type": "string"
  18768. },
  18769. "wrstandardid": {
  18770. "description": "品类id",
  18771. "type": "integer"
  18772. },
  18773. "wrstandardname": {
  18774. "description": "品类名称",
  18775. "type": "string"
  18776. }
  18777. }
  18778. },
  18779. "ermcp.QryBussinessJsRsp": {
  18780. "type": "object",
  18781. "properties": {
  18782. "addmargin": {
  18783. "description": "追加保证金(非必填)",
  18784. "type": "number"
  18785. },
  18786. "applyid": {
  18787. "description": "申请人",
  18788. "type": "string"
  18789. },
  18790. "applyname": {
  18791. "description": "申请人名称",
  18792. "type": "string"
  18793. },
  18794. "applystatus": {
  18795. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18796. "type": "integer"
  18797. },
  18798. "applytime": {
  18799. "description": "申请时间",
  18800. "type": "string"
  18801. },
  18802. "attachurl": {
  18803. "description": "附件",
  18804. "type": "string"
  18805. },
  18806. "auditid": {
  18807. "description": "审核人ID",
  18808. "type": "string"
  18809. },
  18810. "auditname": {
  18811. "description": "审核人名称",
  18812. "type": "string"
  18813. },
  18814. "auditremark": {
  18815. "description": "审核备注",
  18816. "type": "string"
  18817. },
  18818. "audittime": {
  18819. "description": "审核时间",
  18820. "type": "string"
  18821. },
  18822. "buyusername": {
  18823. "description": "采购方名称",
  18824. "type": "string"
  18825. },
  18826. "contractno": {
  18827. "description": "合同编号",
  18828. "type": "string"
  18829. },
  18830. "contractstatus": {
  18831. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18832. "type": "integer"
  18833. },
  18834. "contracttype": {
  18835. "description": "现货合同类型 - 1:采购 -1:销售",
  18836. "type": "integer"
  18837. },
  18838. "decmargin": {
  18839. "description": "减少保证金(非必填)",
  18840. "type": "number"
  18841. },
  18842. "deliverygoodscode": {
  18843. "description": "现货品种代码",
  18844. "type": "string"
  18845. },
  18846. "deliverygoodsid": {
  18847. "description": "现货商品ID",
  18848. "type": "integer"
  18849. },
  18850. "deliverygoodsname": {
  18851. "description": "现货品种名称",
  18852. "type": "string"
  18853. },
  18854. "enumdicname": {
  18855. "description": "单位名称",
  18856. "type": "string"
  18857. },
  18858. "goodscode": {
  18859. "description": "点价合约",
  18860. "type": "string"
  18861. },
  18862. "goodsname": {
  18863. "description": "商品名称",
  18864. "type": "string"
  18865. },
  18866. "operateapplyid": {
  18867. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18868. "type": "string"
  18869. },
  18870. "operateapplytype": {
  18871. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18872. "type": "integer"
  18873. },
  18874. "pricemove": {
  18875. "description": "升贴水",
  18876. "type": "number"
  18877. },
  18878. "pricetype": {
  18879. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18880. "type": "integer"
  18881. },
  18882. "reckonadjustamount": {
  18883. "description": "结算调整金额(非必填)",
  18884. "type": "number"
  18885. },
  18886. "reckonosamount": {
  18887. "description": "结算溢短金额(非必填)",
  18888. "type": "number"
  18889. },
  18890. "reckonotheramount": {
  18891. "description": "结算其他费用(非必填)",
  18892. "type": "number"
  18893. },
  18894. "reckonrealqty": {
  18895. "description": "结算实际数量(非必填)",
  18896. "type": "number"
  18897. },
  18898. "relatedid": {
  18899. "description": "现货合同ID",
  18900. "type": "string"
  18901. },
  18902. "sellusername": {
  18903. "description": "销售方名字",
  18904. "type": "string"
  18905. },
  18906. "userid": {
  18907. "description": "用户ID",
  18908. "type": "integer"
  18909. },
  18910. "wrstandardcode": {
  18911. "description": "品类代码",
  18912. "type": "string"
  18913. },
  18914. "wrstandardid": {
  18915. "description": "品类id",
  18916. "type": "integer"
  18917. },
  18918. "wrstandardname": {
  18919. "description": "品类名称",
  18920. "type": "string"
  18921. }
  18922. }
  18923. },
  18924. "ermcp.QryBussinessKxRsp": {
  18925. "type": "object",
  18926. "properties": {
  18927. "applyid": {
  18928. "description": "申请人",
  18929. "type": "string"
  18930. },
  18931. "applyname": {
  18932. "description": "申请人名称",
  18933. "type": "string"
  18934. },
  18935. "applystatus": {
  18936. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18937. "type": "integer"
  18938. },
  18939. "applytime": {
  18940. "description": "申请时间",
  18941. "type": "string"
  18942. },
  18943. "attachurl": {
  18944. "description": "附件",
  18945. "type": "string"
  18946. },
  18947. "auditid": {
  18948. "description": "审核人ID",
  18949. "type": "string"
  18950. },
  18951. "auditname": {
  18952. "description": "审核人名称",
  18953. "type": "string"
  18954. },
  18955. "auditremark": {
  18956. "description": "审核备注",
  18957. "type": "string"
  18958. },
  18959. "audittime": {
  18960. "description": "审核时间",
  18961. "type": "string"
  18962. },
  18963. "buyusername": {
  18964. "description": "采购方名称",
  18965. "type": "string"
  18966. },
  18967. "contractno": {
  18968. "description": "合同编号",
  18969. "type": "string"
  18970. },
  18971. "contractstatus": {
  18972. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18973. "type": "integer"
  18974. },
  18975. "contracttype": {
  18976. "description": "现货合同类型 - 1:采购 -1:销售",
  18977. "type": "integer"
  18978. },
  18979. "deductamount": {
  18980. "description": "期初均价",
  18981. "type": "number"
  18982. },
  18983. "deliverygoodscode": {
  18984. "description": "现货品种代码",
  18985. "type": "string"
  18986. },
  18987. "deliverygoodsid": {
  18988. "description": "现货商品ID",
  18989. "type": "integer"
  18990. },
  18991. "deliverygoodsname": {
  18992. "description": "现货品种名称",
  18993. "type": "string"
  18994. },
  18995. "enumdicname": {
  18996. "description": "单位名称",
  18997. "type": "string"
  18998. },
  18999. "goodscode": {
  19000. "description": "点价合约",
  19001. "type": "string"
  19002. },
  19003. "goodsname": {
  19004. "description": "商品名称",
  19005. "type": "string"
  19006. },
  19007. "kxtype": {
  19008. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  19009. "type": "integer"
  19010. },
  19011. "operateapplyid": {
  19012. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19013. "type": "string"
  19014. },
  19015. "operateapplytype": {
  19016. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19017. "type": "integer"
  19018. },
  19019. "payamount": {
  19020. "description": "期初均价",
  19021. "type": "number"
  19022. },
  19023. "pricemove": {
  19024. "description": "升贴水",
  19025. "type": "number"
  19026. },
  19027. "pricetype": {
  19028. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19029. "type": "integer"
  19030. },
  19031. "relatedid": {
  19032. "description": "现货合同ID",
  19033. "type": "string"
  19034. },
  19035. "sellusername": {
  19036. "description": "销售方名字",
  19037. "type": "string"
  19038. },
  19039. "userid": {
  19040. "description": "用户ID",
  19041. "type": "integer"
  19042. },
  19043. "wrstandardcode": {
  19044. "description": "品类代码",
  19045. "type": "string"
  19046. },
  19047. "wrstandardid": {
  19048. "description": "品类id",
  19049. "type": "integer"
  19050. },
  19051. "wrstandardname": {
  19052. "description": "品类名称",
  19053. "type": "string"
  19054. }
  19055. }
  19056. },
  19057. "ermcp.QryGGCovertCfgRsp": {
  19058. "type": "object",
  19059. "properties": {
  19060. "convertratio": {
  19061. "description": "折算系数",
  19062. "type": "number"
  19063. },
  19064. "destgoodsgroupid": {
  19065. "description": "目标品种ID",
  19066. "type": "integer"
  19067. },
  19068. "dstcode": {
  19069. "description": "目录品种代码",
  19070. "type": "string"
  19071. },
  19072. "dstexchangecode": {
  19073. "description": "目标期货交易所",
  19074. "type": "string"
  19075. },
  19076. "dstname": {
  19077. "description": "目标品种名称",
  19078. "type": "string"
  19079. },
  19080. "dstunitid": {
  19081. "description": "目标品种单位ID",
  19082. "type": "integer"
  19083. },
  19084. "dstunitidname": {
  19085. "description": "目标品种单位名称",
  19086. "type": "string"
  19087. },
  19088. "modifytime": {
  19089. "description": "修改时间",
  19090. "type": "string"
  19091. },
  19092. "srccode": {
  19093. "description": "源品种代码",
  19094. "type": "string"
  19095. },
  19096. "srcexchangecode": {
  19097. "description": "源期货交易所",
  19098. "type": "string"
  19099. },
  19100. "srcgoodsgroupid": {
  19101. "description": "源品种ID",
  19102. "type": "integer"
  19103. },
  19104. "srcname": {
  19105. "description": "源品种名称",
  19106. "type": "string"
  19107. },
  19108. "srcunitid": {
  19109. "description": "源品种单位ID",
  19110. "type": "integer"
  19111. },
  19112. "srcunitidname": {
  19113. "description": "源品种单位名称",
  19114. "type": "string"
  19115. }
  19116. }
  19117. },
  19118. "ermcp.QryMGChangeLogRsp": {
  19119. "type": "object",
  19120. "properties": {
  19121. "aftervalue": {
  19122. "description": "变更后",
  19123. "type": "number"
  19124. },
  19125. "applyid": {
  19126. "description": "操作人",
  19127. "type": "integer"
  19128. },
  19129. "applyname": {
  19130. "description": "操作人名称",
  19131. "type": "string"
  19132. },
  19133. "applysrc": {
  19134. "description": "操作来源 - 1:管理端 2:终端",
  19135. "type": "integer"
  19136. },
  19137. "beforevalue": {
  19138. "description": "变更前",
  19139. "type": "number"
  19140. },
  19141. "changelogtype": {
  19142. "description": "变更流水类型 - 1:套保比率变更",
  19143. "type": "integer"
  19144. },
  19145. "handlestatus": {
  19146. "description": "处理状态",
  19147. "type": "integer"
  19148. },
  19149. "logdatetime": {
  19150. "description": "流水日期",
  19151. "type": "string"
  19152. },
  19153. "logid": {
  19154. "description": "流水ID",
  19155. "type": "integer"
  19156. },
  19157. "logremark": {
  19158. "description": "流水备注",
  19159. "type": "string"
  19160. },
  19161. "middlegoodsid": {
  19162. "description": "套保品种ID",
  19163. "type": "integer"
  19164. },
  19165. "tradedate": {
  19166. "description": "交易日(yyyyMMdd)",
  19167. "type": "string"
  19168. },
  19169. "updatetime": {
  19170. "description": "更新时间",
  19171. "type": "string"
  19172. }
  19173. }
  19174. },
  19175. "ermcp.QryMiddleGoodsDetailRsp": {
  19176. "type": "object",
  19177. "properties": {
  19178. "cvList": {
  19179. "description": "期货品种折算列表",
  19180. "type": "array",
  19181. "items": {
  19182. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19183. }
  19184. },
  19185. "mg": {
  19186. "description": "套保品种基本信息",
  19187. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19188. },
  19189. "wrcList": {
  19190. "description": "现货品种列表(现货商品折算配置)",
  19191. "type": "array",
  19192. "items": {
  19193. "$ref": "#/definitions/models.WRSConverTDetail"
  19194. }
  19195. }
  19196. }
  19197. },
  19198. "ermcp.QryMiddleGoodsRsp": {
  19199. "type": "object",
  19200. "properties": {
  19201. "areauserid": {
  19202. "description": "机构用户ID",
  19203. "type": "integer"
  19204. },
  19205. "createtime": {
  19206. "description": "修改时间",
  19207. "type": "string"
  19208. },
  19209. "enumdicname": {
  19210. "description": "单位名称",
  19211. "type": "string"
  19212. },
  19213. "evaluateratio": {
  19214. "description": "估价系数",
  19215. "type": "number"
  19216. },
  19217. "goodsgroupid": {
  19218. "description": "关联期货品种ID",
  19219. "type": "integer"
  19220. },
  19221. "goodsunitid": {
  19222. "description": "单位ID",
  19223. "type": "integer"
  19224. },
  19225. "isvalid": {
  19226. "description": "状态 0-无效(停用) 1-有效(正常)",
  19227. "type": "integer"
  19228. },
  19229. "middlegoodscode": {
  19230. "description": "套保品种代码",
  19231. "type": "string"
  19232. },
  19233. "middlegoodsid": {
  19234. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19235. "type": "integer"
  19236. },
  19237. "middlegoodsname": {
  19238. "description": "套保品种名称",
  19239. "type": "string"
  19240. },
  19241. "modifytime": {
  19242. "description": "修改时间",
  19243. "type": "string"
  19244. },
  19245. "needarbitrageratio": {
  19246. "description": "套利比例",
  19247. "type": "number"
  19248. },
  19249. "needhedgeratio": {
  19250. "description": "套保比率",
  19251. "type": "number"
  19252. },
  19253. "qtydecimalplace": {
  19254. "description": "数量小数位",
  19255. "type": "integer"
  19256. },
  19257. "relatedgoodsid": {
  19258. "description": "关联交易商品ID",
  19259. "type": "integer"
  19260. },
  19261. "relatedgoodstype": {
  19262. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19263. "type": "integer"
  19264. },
  19265. "remark": {
  19266. "description": "备注",
  19267. "type": "string"
  19268. }
  19269. }
  19270. },
  19271. "ermcp.QryOPLogRsp": {
  19272. "type": "object",
  19273. "properties": {
  19274. "aftervalue": {
  19275. "description": "变更后",
  19276. "type": "number"
  19277. },
  19278. "applyid": {
  19279. "description": "操作人ID",
  19280. "type": "string"
  19281. },
  19282. "applyname": {
  19283. "description": "操作人名称",
  19284. "type": "string"
  19285. },
  19286. "beforevalue": {
  19287. "description": "变更前",
  19288. "type": "number"
  19289. },
  19290. "biztype": {
  19291. "description": "业务类型 - 1:套保计划 2:现货合同",
  19292. "type": "integer"
  19293. },
  19294. "contracttype": {
  19295. "description": "现货合同类型 - 1:采购 -1:销售",
  19296. "type": "integer"
  19297. },
  19298. "logvalue": {
  19299. "description": "数值",
  19300. "type": "number"
  19301. },
  19302. "operatelogtype": {
  19303. "description": "操作流水类型",
  19304. "type": "integer"
  19305. },
  19306. "operatelogtypedesc": {
  19307. "description": "操作流水类型名称",
  19308. "type": "string"
  19309. },
  19310. "relatedid": {
  19311. "description": "现货合同ID\\套保计划",
  19312. "type": "string"
  19313. },
  19314. "updatetime": {
  19315. "description": "更新时间",
  19316. "type": "string"
  19317. }
  19318. }
  19319. },
  19320. "ermcp.QryUserInfoRsp": {
  19321. "type": "object",
  19322. "properties": {
  19323. "address": {
  19324. "description": "通讯地址",
  19325. "type": "string"
  19326. },
  19327. "attachment1": {
  19328. "description": "附件1",
  19329. "type": "string"
  19330. },
  19331. "audittime": {
  19332. "description": "审核时间",
  19333. "type": "string"
  19334. },
  19335. "cardbackphotourl": {
  19336. "description": "证件反面图片地址",
  19337. "type": "string"
  19338. },
  19339. "cardfrontphotourl": {
  19340. "description": "证件正面图片地址",
  19341. "type": "string"
  19342. },
  19343. "cardnum": {
  19344. "description": "证件号码",
  19345. "type": "string"
  19346. },
  19347. "cardtype": {
  19348. "description": "证件类型",
  19349. "type": "integer"
  19350. },
  19351. "cardtypename": {
  19352. "description": "证件类型名称",
  19353. "type": "string"
  19354. },
  19355. "cityid": {
  19356. "description": "市",
  19357. "type": "integer"
  19358. },
  19359. "contactname": {
  19360. "description": "联系人",
  19361. "type": "string"
  19362. },
  19363. "countryid": {
  19364. "description": "国家",
  19365. "type": "integer"
  19366. },
  19367. "createtime": {
  19368. "description": "创建时间",
  19369. "type": "string"
  19370. },
  19371. "customername": {
  19372. "description": "企业名称",
  19373. "type": "string"
  19374. },
  19375. "districtid": {
  19376. "description": "区域",
  19377. "type": "integer"
  19378. },
  19379. "email": {
  19380. "description": "邮件",
  19381. "type": "string"
  19382. },
  19383. "legalpersonname": {
  19384. "description": "法人姓名(企业)",
  19385. "type": "string"
  19386. },
  19387. "memberuserid": {
  19388. "description": "所属机构ID",
  19389. "type": "integer"
  19390. },
  19391. "mobile": {
  19392. "description": "手机号码",
  19393. "type": "string"
  19394. },
  19395. "modifytime": {
  19396. "description": "修改时间",
  19397. "type": "string"
  19398. },
  19399. "nickname": {
  19400. "description": "昵称",
  19401. "type": "string"
  19402. },
  19403. "provinceid": {
  19404. "description": "省",
  19405. "type": "integer"
  19406. },
  19407. "remark": {
  19408. "description": "备注",
  19409. "type": "string"
  19410. },
  19411. "status": {
  19412. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19413. "type": "integer"
  19414. },
  19415. "statusdesc": {
  19416. "description": "账户状态中文描述",
  19417. "type": "string"
  19418. },
  19419. "taxpayernum": {
  19420. "description": "纳税人识别号",
  19421. "type": "string"
  19422. },
  19423. "telphone": {
  19424. "description": "联系电话",
  19425. "type": "string"
  19426. },
  19427. "userid": {
  19428. "description": "用户ID",
  19429. "type": "integer"
  19430. },
  19431. "userinfotype": {
  19432. "description": "客户类型",
  19433. "type": "string"
  19434. }
  19435. }
  19436. },
  19437. "ermcp.QryWarehouseRsp": {
  19438. "type": "object",
  19439. "properties": {
  19440. "address": {
  19441. "description": "详细地址",
  19442. "type": "string"
  19443. },
  19444. "areauserid": {
  19445. "description": "所属机构",
  19446. "type": "integer"
  19447. },
  19448. "autoid": {
  19449. "description": "自增ID(仓库ID)",
  19450. "type": "integer"
  19451. },
  19452. "cityid": {
  19453. "description": "市",
  19454. "type": "integer"
  19455. },
  19456. "contactname": {
  19457. "description": "联系人",
  19458. "type": "string"
  19459. },
  19460. "contactnum": {
  19461. "description": "联系电话",
  19462. "type": "string"
  19463. },
  19464. "countryid": {
  19465. "description": "国家",
  19466. "type": "integer"
  19467. },
  19468. "createtime": {
  19469. "description": "创建时间",
  19470. "type": "string"
  19471. },
  19472. "districtid": {
  19473. "description": "区",
  19474. "type": "integer"
  19475. },
  19476. "hasvideo": {
  19477. "description": "是否有视频 - 0:无 1:有",
  19478. "type": "integer"
  19479. },
  19480. "provinceid": {
  19481. "description": "省",
  19482. "type": "integer"
  19483. },
  19484. "remark": {
  19485. "description": "审核备注",
  19486. "type": "string"
  19487. },
  19488. "videourl": {
  19489. "description": "视频地址",
  19490. "type": "string"
  19491. },
  19492. "warehousecode": {
  19493. "description": "仓库代码",
  19494. "type": "string"
  19495. },
  19496. "warehousename": {
  19497. "description": "仓库名称",
  19498. "type": "string"
  19499. },
  19500. "warehousestatus": {
  19501. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19502. "type": "integer"
  19503. },
  19504. "warehousetype": {
  19505. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19506. "type": "integer"
  19507. }
  19508. }
  19509. },
  19510. "ermcp.QueryErmcpTradePositionRsp": {
  19511. "type": "object",
  19512. "properties": {
  19513. "agreeunit": {
  19514. "description": "合约单位",
  19515. "type": "number"
  19516. },
  19517. "buyorsell": {
  19518. "description": "方向 - 0:买 1:卖",
  19519. "type": "integer"
  19520. },
  19521. "curpositionqty": {
  19522. "description": "持仓(总仓数量, 期末头寸)",
  19523. "type": "integer"
  19524. },
  19525. "curtdposition": {
  19526. "description": "今仓数量(期末今日头寸)",
  19527. "type": "integer"
  19528. },
  19529. "curtdpositionenabled": {
  19530. "description": "今仓可用",
  19531. "type": "integer"
  19532. },
  19533. "decimalplace": {
  19534. "description": "报价小数位",
  19535. "type": "integer"
  19536. },
  19537. "enableqty": {
  19538. "description": "可用(总仓可用)",
  19539. "type": "integer"
  19540. },
  19541. "exexchangename": {
  19542. "description": "外部交易所名称",
  19543. "type": "string"
  19544. },
  19545. "exexehangecode": {
  19546. "description": "外部交易所代码",
  19547. "type": "string"
  19548. },
  19549. "exexehangeid": {
  19550. "description": "外部交易所id",
  19551. "type": "integer"
  19552. },
  19553. "goodscode": {
  19554. "description": "商品代码(内部)",
  19555. "type": "string"
  19556. },
  19557. "goodsid": {
  19558. "description": "商品ID(自增ID SEQ_GOODS)",
  19559. "type": "integer"
  19560. },
  19561. "goodsname": {
  19562. "description": "商品名称",
  19563. "type": "string"
  19564. },
  19565. "last": {
  19566. "description": "现价",
  19567. "type": "number"
  19568. },
  19569. "marketid": {
  19570. "description": "所属市场ID",
  19571. "type": "integer"
  19572. },
  19573. "openaverageprice": {
  19574. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19575. "type": "number"
  19576. },
  19577. "opencost": {
  19578. "description": "开仓成本",
  19579. "type": "number"
  19580. },
  19581. "openpl": {
  19582. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19583. "type": "number"
  19584. },
  19585. "outgoodscode": {
  19586. "description": "商品代码(外部)",
  19587. "type": "string"
  19588. },
  19589. "positionaverageprice": {
  19590. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19591. "type": "number"
  19592. },
  19593. "positioncost": {
  19594. "description": "持仓成本",
  19595. "type": "number"
  19596. },
  19597. "positionpl": {
  19598. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19599. "type": "number"
  19600. },
  19601. "positionplrate": {
  19602. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19603. "type": "number"
  19604. },
  19605. "usedmargin": {
  19606. "description": "占用保证金",
  19607. "type": "number"
  19608. }
  19609. }
  19610. },
  19611. "ermcp.RealtimeExposurePositionRsp": {
  19612. "type": "object",
  19613. "properties": {
  19614. "agreeunit": {
  19615. "description": "合约单位",
  19616. "type": "string"
  19617. },
  19618. "areauserid": {
  19619. "description": "所属机构id",
  19620. "type": "integer"
  19621. },
  19622. "convertratio": {
  19623. "description": "期货品种系数(折算系数)",
  19624. "type": "number"
  19625. },
  19626. "curhedgeqty": {
  19627. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  19628. "type": "number"
  19629. },
  19630. "curqty": {
  19631. "description": "当前持仓",
  19632. "type": "integer"
  19633. },
  19634. "diffhedgeqty": {
  19635. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19636. "type": "number"
  19637. },
  19638. "diffqty": {
  19639. "description": "持仓变动量=当前持仓-昨日持仓",
  19640. "type": "integer"
  19641. },
  19642. "goodscode": {
  19643. "description": "商品代码",
  19644. "type": "string"
  19645. },
  19646. "goodsid": {
  19647. "description": "商品id",
  19648. "type": "integer"
  19649. },
  19650. "goodsname": {
  19651. "description": "商品名称",
  19652. "type": "string"
  19653. },
  19654. "hedgeaccountcode": {
  19655. "description": "对冲账号(只有外部账号才有值)",
  19656. "type": "string"
  19657. },
  19658. "middlegoodscode": {
  19659. "description": "套保商品代码",
  19660. "type": "string"
  19661. },
  19662. "middlegoodsid": {
  19663. "description": "套保商品id",
  19664. "type": "integer"
  19665. },
  19666. "middlegoodsname": {
  19667. "description": "套保商品名称",
  19668. "type": "string"
  19669. },
  19670. "ydqty": {
  19671. "description": "昨日持仓",
  19672. "type": "integer"
  19673. }
  19674. }
  19675. },
  19676. "ermcp.RealtimeExposureRsp": {
  19677. "type": "object",
  19678. "properties": {
  19679. "AreaUserID": {
  19680. "description": "所属机构",
  19681. "type": "integer"
  19682. },
  19683. "BuyFutureQty": {
  19684. "description": "买入期货数量",
  19685. "type": "number"
  19686. },
  19687. "BuyPlanQty": {
  19688. "description": "采购计划数量",
  19689. "type": "number"
  19690. },
  19691. "BuyPricedQty": {
  19692. "description": "采购合同已定价数量",
  19693. "type": "number"
  19694. },
  19695. "MiddleGoodsCode": {
  19696. "description": "套保品种代码",
  19697. "type": "string"
  19698. },
  19699. "MiddleGoodsHedgeRatio": {
  19700. "description": "套保比例",
  19701. "type": "number"
  19702. },
  19703. "MiddleGoodsID": {
  19704. "description": "套保品种",
  19705. "type": "integer"
  19706. },
  19707. "MiddleGoodsName": {
  19708. "description": "套保品种名称",
  19709. "type": "string"
  19710. },
  19711. "NeedHedgeExposoure": {
  19712. "description": "应套保敞口(套保敞口)",
  19713. "type": "number"
  19714. },
  19715. "NeedHedgeRatio": {
  19716. "description": "应套保敞口比例",
  19717. "type": "number"
  19718. },
  19719. "OriBuyFutureQty": {
  19720. "description": "期初买入期货数量",
  19721. "type": "number"
  19722. },
  19723. "OriBuyPlanQty": {
  19724. "description": "期初采购计划数量",
  19725. "type": "number"
  19726. },
  19727. "OriBuyPricedQty": {
  19728. "description": "期初采购合同已定价数量",
  19729. "type": "number"
  19730. },
  19731. "OriSellFutureQty": {
  19732. "description": "期初卖出期货数量",
  19733. "type": "number"
  19734. },
  19735. "OriSellPlanQty": {
  19736. "description": "期初销售计划数量",
  19737. "type": "number"
  19738. },
  19739. "OriSellPricedQty": {
  19740. "description": "期初销售合同已定价数量",
  19741. "type": "number"
  19742. },
  19743. "OriTotalSpotQty": {
  19744. "description": "期初现货总量",
  19745. "type": "number"
  19746. },
  19747. "SellFutureQty": {
  19748. "description": "卖出期货数量",
  19749. "type": "number"
  19750. },
  19751. "SellPlanQty": {
  19752. "description": "销售计划数量",
  19753. "type": "number"
  19754. },
  19755. "SellPricedQty": {
  19756. "description": "销售合同已定价数量",
  19757. "type": "number"
  19758. },
  19759. "TotalExposure": {
  19760. "description": "总敞口 平安:净敞口",
  19761. "type": "number"
  19762. },
  19763. "TotalFutureQty": {
  19764. "description": "期货总量 平安:保值净持仓量",
  19765. "type": "number"
  19766. },
  19767. "TotalHedgeRatio": {
  19768. "description": "敞口比例",
  19769. "type": "number"
  19770. },
  19771. "TotalNeedHedgeQty": {
  19772. "description": "应套保总量(现货应套保总量)",
  19773. "type": "number"
  19774. },
  19775. "TotalSpotQty": {
  19776. "description": "现货总量 平安:采销定价净值",
  19777. "type": "number"
  19778. },
  19779. "arbitrageqty": {
  19780. "description": "套利量",
  19781. "type": "number"
  19782. },
  19783. "diffArbitrageQty": {
  19784. "description": "期初均价",
  19785. "type": "number"
  19786. },
  19787. "diffExposoureQty": {
  19788. "description": "期初均价",
  19789. "type": "number"
  19790. },
  19791. "diffFutuQty": {
  19792. "description": "期初均价",
  19793. "type": "number"
  19794. },
  19795. "diffHedgeQty": {
  19796. "description": "期初均价",
  19797. "type": "number"
  19798. },
  19799. "diffQty": {
  19800. "description": "期初均价",
  19801. "type": "number"
  19802. },
  19803. "diffSpotHedgeQty": {
  19804. "description": "期初均价",
  19805. "type": "number"
  19806. },
  19807. "diffSpotQty": {
  19808. "description": "期初均价",
  19809. "type": "number"
  19810. },
  19811. "enumdicname": {
  19812. "description": "单位名称",
  19813. "type": "string"
  19814. },
  19815. "hedgeqty": {
  19816. "description": "套保量",
  19817. "type": "number"
  19818. },
  19819. "needarbitrageqty": {
  19820. "description": "应套利量",
  19821. "type": "number"
  19822. },
  19823. "needarbitrageratio": {
  19824. "description": "套利比例",
  19825. "type": "number"
  19826. },
  19827. "needhedgeqty": {
  19828. "description": "应套保量",
  19829. "type": "number"
  19830. },
  19831. "oriarbitrageqty": {
  19832. "description": "期初套利量",
  19833. "type": "number"
  19834. },
  19835. "orihedgeqty": {
  19836. "description": "期初套保量",
  19837. "type": "number"
  19838. },
  19839. "orineedhedgeexposoure": {
  19840. "description": "期初套保敞口",
  19841. "type": "number"
  19842. },
  19843. "oritotalexposure": {
  19844. "description": "期初总敞口",
  19845. "type": "number"
  19846. },
  19847. "oritotalfutureqty": {
  19848. "description": "期初期货总量",
  19849. "type": "number"
  19850. },
  19851. "oritotalneedhedgeqty": {
  19852. "description": "期初现货应套保量",
  19853. "type": "number"
  19854. }
  19855. }
  19856. },
  19857. "erms2.QueryArbitrageStrategyRsp": {
  19858. "type": "object",
  19859. "required": [
  19860. "asapplyid"
  19861. ],
  19862. "properties": {
  19863. "applybasis": {
  19864. "description": "申请基差",
  19865. "type": "number"
  19866. },
  19867. "asapplyid": {
  19868. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19869. "type": "string"
  19870. },
  19871. "asname": {
  19872. "description": "策略名称",
  19873. "type": "string"
  19874. },
  19875. "asno": {
  19876. "description": "策略编号",
  19877. "type": "string"
  19878. },
  19879. "basischangepl": {
  19880. "description": "基差变动损益[结算更新]",
  19881. "type": "number"
  19882. },
  19883. "biztype": {
  19884. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19885. "type": "integer"
  19886. },
  19887. "closetradedate": {
  19888. "description": "完结交易日(yyyyMMdd)",
  19889. "type": "string"
  19890. },
  19891. "curbasis": {
  19892. "description": "当前基差[结算更新]",
  19893. "type": "number"
  19894. },
  19895. "deliverygoodsid": {
  19896. "description": "现货品种ID",
  19897. "type": "integer"
  19898. },
  19899. "futureavgprice": {
  19900. "description": "期货建仓均价",
  19901. "type": "number"
  19902. },
  19903. "futurecloseamount": {
  19904. "description": "期货平仓金额",
  19905. "type": "number"
  19906. },
  19907. "futurecloseqty": {
  19908. "description": "期货平仓数量",
  19909. "type": "number"
  19910. },
  19911. "futureopenamount": {
  19912. "description": "期货开仓金额",
  19913. "type": "number"
  19914. },
  19915. "futureopenqty": {
  19916. "description": "期货开仓数量",
  19917. "type": "number"
  19918. },
  19919. "futurepl": {
  19920. "description": "期货总盈亏[结算更新]",
  19921. "type": "number"
  19922. },
  19923. "futureqty": {
  19924. "description": "期货持仓数量",
  19925. "type": "number"
  19926. },
  19927. "futurequote": {
  19928. "description": "期货额度",
  19929. "type": "number"
  19930. },
  19931. "goodsgroupid": {
  19932. "description": "期货品种ID",
  19933. "type": "integer"
  19934. },
  19935. "marketid": {
  19936. "description": "市场ID",
  19937. "type": "integer"
  19938. },
  19939. "netexposure": {
  19940. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19941. "type": "number"
  19942. },
  19943. "netexposurepl": {
  19944. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19945. "type": "number"
  19946. },
  19947. "netexposurerate": {
  19948. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19949. "type": "number"
  19950. },
  19951. "openbasis": {
  19952. "description": "建仓基差",
  19953. "type": "number"
  19954. },
  19955. "pricedspotqty": {
  19956. "description": "已定价现货数量",
  19957. "type": "number"
  19958. },
  19959. "pricedspotqtynotax": {
  19960. "description": "已定价现货不含税数量",
  19961. "type": "number"
  19962. },
  19963. "remark": {
  19964. "description": "备注",
  19965. "type": "string"
  19966. },
  19967. "spotavgprice": {
  19968. "description": "现货均价",
  19969. "type": "number"
  19970. },
  19971. "spotbuyamount": {
  19972. "description": "现货采购金额",
  19973. "type": "number"
  19974. },
  19975. "spotbuyqty": {
  19976. "description": "现货采购数量",
  19977. "type": "number"
  19978. },
  19979. "spotpl": {
  19980. "description": "现货总盈亏[结算更新]",
  19981. "type": "number"
  19982. },
  19983. "spotquota": {
  19984. "description": "现货额度",
  19985. "type": "number"
  19986. },
  19987. "spotsellamount": {
  19988. "description": "现货销售金额",
  19989. "type": "number"
  19990. },
  19991. "spotsellqty": {
  19992. "description": "现货销售数量",
  19993. "type": "number"
  19994. },
  19995. "spotusedquota": {
  19996. "description": "现货占用资金",
  19997. "type": "number"
  19998. },
  19999. "strategystatus": {
  20000. "description": "策略状态 - 0:未结束 1:已结束",
  20001. "type": "integer"
  20002. },
  20003. "totalpl": {
  20004. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  20005. "type": "number"
  20006. },
  20007. "tradedate": {
  20008. "description": "交易日(yyyyMMdd)",
  20009. "type": "string"
  20010. },
  20011. "updatetime": {
  20012. "description": "更新时间",
  20013. "type": "string"
  20014. },
  20015. "usedquota": {
  20016. "description": "已占用资金",
  20017. "type": "number"
  20018. },
  20019. "userid": {
  20020. "description": "所属机构",
  20021. "type": "integer"
  20022. }
  20023. }
  20024. },
  20025. "erms2.QueryInnerTradeDetailRsp": {
  20026. "type": "object",
  20027. "required": [
  20028. "asapplyid",
  20029. "buyorsell",
  20030. "goodscode",
  20031. "goodsgroupid",
  20032. "goodsgroupname",
  20033. "goodsname",
  20034. "tradeid"
  20035. ],
  20036. "properties": {
  20037. "accountid": {
  20038. "description": "账号ID",
  20039. "type": "integer"
  20040. },
  20041. "agreeunit": {
  20042. "description": "合约单位",
  20043. "type": "number"
  20044. },
  20045. "asapplyid": {
  20046. "description": "策略申请ID",
  20047. "type": "integer"
  20048. },
  20049. "asname": {
  20050. "description": "策略名称",
  20051. "type": "string"
  20052. },
  20053. "asno": {
  20054. "description": "策略编号",
  20055. "type": "string"
  20056. },
  20057. "buyorsell": {
  20058. "description": "方向 - 0:买 1:卖",
  20059. "type": "integer"
  20060. },
  20061. "channelbuildtype": {
  20062. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20063. "type": "integer"
  20064. },
  20065. "closetype": {
  20066. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20067. "type": "integer"
  20068. },
  20069. "decimalplace": {
  20070. "description": "报价小数位",
  20071. "type": "integer"
  20072. },
  20073. "detailtype": {
  20074. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  20075. "type": "integer"
  20076. },
  20077. "exexchangecode": {
  20078. "description": "外部交易所代码",
  20079. "type": "string"
  20080. },
  20081. "exexchangename": {
  20082. "description": "外部交易所名称",
  20083. "type": "string"
  20084. },
  20085. "goodscode": {
  20086. "description": "商品代码(合约)",
  20087. "type": "string"
  20088. },
  20089. "goodsgroupid": {
  20090. "description": "商品组ID(品种ID)",
  20091. "type": "integer"
  20092. },
  20093. "goodsgroupname": {
  20094. "description": "商品组名称(品种)",
  20095. "type": "string"
  20096. },
  20097. "goodsid": {
  20098. "description": "商品ID",
  20099. "type": "integer"
  20100. },
  20101. "goodsname": {
  20102. "description": "商品名称(合约)",
  20103. "type": "string"
  20104. },
  20105. "goodunit": {
  20106. "description": "报价单位",
  20107. "type": "string"
  20108. },
  20109. "marketid": {
  20110. "description": "市场ID",
  20111. "type": "integer"
  20112. },
  20113. "orderid": {
  20114. "description": "委托单号",
  20115. "type": "string"
  20116. },
  20117. "outgoodscode": {
  20118. "description": "商品代码(外部)",
  20119. "type": "string"
  20120. },
  20121. "relatedouttradeid": {
  20122. "description": "关联外部成交单ID",
  20123. "type": "string"
  20124. },
  20125. "remark": {
  20126. "description": "备注",
  20127. "type": "string"
  20128. },
  20129. "spotcontractid": {
  20130. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  20131. "type": "integer"
  20132. },
  20133. "spotcontractno": {
  20134. "description": "现货合同编号",
  20135. "type": "string"
  20136. },
  20137. "tradeid": {
  20138. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20139. "type": "string"
  20140. },
  20141. "tradeprice": {
  20142. "description": "成交价格",
  20143. "type": "number"
  20144. },
  20145. "tradeqty": {
  20146. "description": "成交数量",
  20147. "type": "integer"
  20148. },
  20149. "tradetime": {
  20150. "description": "成交时间",
  20151. "type": "string"
  20152. },
  20153. "updatetime": {
  20154. "description": "更新时间",
  20155. "type": "string"
  20156. }
  20157. }
  20158. },
  20159. "erms2.QuerySpotContractRsp": {
  20160. "type": "object",
  20161. "required": [
  20162. "spotcontractid"
  20163. ],
  20164. "properties": {
  20165. "accountid": {
  20166. "description": "资金账户ID",
  20167. "type": "integer"
  20168. },
  20169. "areauserid": {
  20170. "description": "所属机构",
  20171. "type": "integer"
  20172. },
  20173. "closedate": {
  20174. "description": "终止日期",
  20175. "type": "string"
  20176. },
  20177. "closeremark": {
  20178. "description": "结束备注",
  20179. "type": "string"
  20180. },
  20181. "closetradedate": {
  20182. "description": "完结交易日(yyyyMMdd)",
  20183. "type": "string"
  20184. },
  20185. "closetype": {
  20186. "description": "终止类型 - 1:违约 2:提前终止",
  20187. "type": "integer"
  20188. },
  20189. "contractamount": {
  20190. "description": "合同金额",
  20191. "type": "number"
  20192. },
  20193. "contractattachment": {
  20194. "description": "合同附件",
  20195. "type": "string"
  20196. },
  20197. "contractno": {
  20198. "description": "现货合同编号",
  20199. "type": "string"
  20200. },
  20201. "contractqty": {
  20202. "description": "合同数量(数值) (用于计算)",
  20203. "type": "number"
  20204. },
  20205. "contractqtychar": {
  20206. "description": "合同数量\\已订价数量 (用于显示)",
  20207. "type": "string"
  20208. },
  20209. "contractstatus": {
  20210. "description": "合同状态 - 0:未结束 1:已结束",
  20211. "type": "integer"
  20212. },
  20213. "contracttype": {
  20214. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20215. "type": "integer"
  20216. },
  20217. "customeraccountid": {
  20218. "description": "客户资金账户ID",
  20219. "type": "integer"
  20220. },
  20221. "customeruserid": {
  20222. "description": "客户ID",
  20223. "type": "integer"
  20224. },
  20225. "deliverygoodsdesc": {
  20226. "description": "品种说明",
  20227. "type": "string"
  20228. },
  20229. "deliverygoodsid": {
  20230. "description": "现货品种ID",
  20231. "type": "integer"
  20232. },
  20233. "handlestatus": {
  20234. "description": "处理状态",
  20235. "type": "integer"
  20236. },
  20237. "invoiceatt": {
  20238. "description": "发票附件",
  20239. "type": "string"
  20240. },
  20241. "invoicedatetime": {
  20242. "description": "开收票更新时间",
  20243. "type": "string"
  20244. },
  20245. "invoiceopentime": {
  20246. "description": "开票时间",
  20247. "type": "string"
  20248. },
  20249. "invoiceremark": {
  20250. "description": "发票备注",
  20251. "type": "string"
  20252. },
  20253. "invoicestatus": {
  20254. "description": "开收票状态 - 0:未开票 1:已开票",
  20255. "type": "integer"
  20256. },
  20257. "lastdate": {
  20258. "description": "交货时间",
  20259. "type": "string"
  20260. },
  20261. "marketid": {
  20262. "description": "市场ID",
  20263. "type": "integer"
  20264. },
  20265. "paydatetime": {
  20266. "description": "收付款更新时间",
  20267. "type": "string"
  20268. },
  20269. "payremark": {
  20270. "description": "收付款备注",
  20271. "type": "string"
  20272. },
  20273. "paystatus": {
  20274. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20275. "type": "integer"
  20276. },
  20277. "positionqty": {
  20278. "description": "头寸数量 - 合同数量去小数部分",
  20279. "type": "integer"
  20280. },
  20281. "producttype": {
  20282. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20283. "type": "integer"
  20284. },
  20285. "relatedqty": {
  20286. "description": "已关联数量",
  20287. "type": "number"
  20288. },
  20289. "relatedstatus": {
  20290. "description": "关联完结状态 - 0:未结束 1:已结束",
  20291. "type": "integer"
  20292. },
  20293. "remark": {
  20294. "description": "备注",
  20295. "type": "string"
  20296. },
  20297. "signdate": {
  20298. "description": "签订日期",
  20299. "type": "string"
  20300. },
  20301. "spotcontractid": {
  20302. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20303. "type": "string"
  20304. },
  20305. "spotdatetime": {
  20306. "description": "收发货更新时间",
  20307. "type": "string"
  20308. },
  20309. "spotprice": {
  20310. "description": "价格",
  20311. "type": "number"
  20312. },
  20313. "spotremark": {
  20314. "description": "收发货备注",
  20315. "type": "string"
  20316. },
  20317. "spotstatus": {
  20318. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20319. "type": "integer"
  20320. },
  20321. "tradedate": {
  20322. "description": "交易日(yyyyMMdd)",
  20323. "type": "string"
  20324. },
  20325. "userid": {
  20326. "description": "业务员用户ID",
  20327. "type": "integer"
  20328. },
  20329. "warehouseid": {
  20330. "description": "仓库ID",
  20331. "type": "integer"
  20332. },
  20333. "wrfactortypeid": {
  20334. "description": "仓单要素类型ID",
  20335. "type": "integer"
  20336. },
  20337. "wrstandardid": {
  20338. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20339. "type": "integer"
  20340. }
  20341. }
  20342. },
  20343. "erms3.AddErms2ASApplyReq": {
  20344. "type": "object",
  20345. "required": [
  20346. "asapplyid"
  20347. ],
  20348. "properties": {
  20349. "applybasis": {
  20350. "description": "申请基差",
  20351. "type": "number"
  20352. },
  20353. "applystatus": {
  20354. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20355. "type": "integer"
  20356. },
  20357. "asapplyid": {
  20358. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20359. "type": "integer"
  20360. },
  20361. "asname": {
  20362. "description": "策略名称",
  20363. "type": "string"
  20364. },
  20365. "asno": {
  20366. "description": "策略编号",
  20367. "type": "string"
  20368. },
  20369. "auditid": {
  20370. "description": "审核人",
  20371. "type": "integer"
  20372. },
  20373. "auditremark": {
  20374. "description": "审核备注",
  20375. "type": "string"
  20376. },
  20377. "audittime": {
  20378. "description": "审核时间",
  20379. "type": "string"
  20380. },
  20381. "biztype": {
  20382. "description": "业务类型 - 1:正向套利 2:反向套利",
  20383. "type": "integer"
  20384. },
  20385. "createtime": {
  20386. "description": "创建时间",
  20387. "type": "string"
  20388. },
  20389. "creatorid": {
  20390. "description": "创建人",
  20391. "type": "integer"
  20392. },
  20393. "deliverygoodsid": {
  20394. "description": "现货品种ID",
  20395. "type": "integer"
  20396. },
  20397. "futurequote": {
  20398. "description": "期货额度",
  20399. "type": "number"
  20400. },
  20401. "goodsgroupid": {
  20402. "description": "期货品种ID",
  20403. "type": "integer"
  20404. },
  20405. "marketid": {
  20406. "description": "市场ID",
  20407. "type": "integer"
  20408. },
  20409. "remark": {
  20410. "description": "备注",
  20411. "type": "string"
  20412. },
  20413. "spotquota": {
  20414. "description": "现货额度",
  20415. "type": "number"
  20416. },
  20417. "tradedate": {
  20418. "description": "交易日(yyyyMMdd)",
  20419. "type": "string"
  20420. },
  20421. "userid": {
  20422. "description": "所属机构",
  20423. "type": "integer"
  20424. }
  20425. }
  20426. },
  20427. "erms3.AddErms2SpotTradeApplyReq": {
  20428. "type": "object",
  20429. "required": [
  20430. "spottradeid"
  20431. ],
  20432. "properties": {
  20433. "applyjsondetail": {
  20434. "description": "申请明细(JSON)",
  20435. "type": "string"
  20436. },
  20437. "applystatus": {
  20438. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20439. "type": "integer"
  20440. },
  20441. "areauserid": {
  20442. "description": "所属机构",
  20443. "type": "integer"
  20444. },
  20445. "auditid": {
  20446. "description": "审核人",
  20447. "type": "integer"
  20448. },
  20449. "auditremark": {
  20450. "description": "审核备注",
  20451. "type": "string"
  20452. },
  20453. "audittime": {
  20454. "description": "审核时间",
  20455. "type": "string"
  20456. },
  20457. "createtime": {
  20458. "description": "创建时间",
  20459. "type": "string"
  20460. },
  20461. "creatorid": {
  20462. "description": "创建人",
  20463. "type": "integer"
  20464. },
  20465. "deliverygoodsid": {
  20466. "description": "现货品种ID",
  20467. "type": "integer"
  20468. },
  20469. "futureaccountid": {
  20470. "description": "期货资金账户",
  20471. "type": "integer"
  20472. },
  20473. "goodsgroupid": {
  20474. "description": "期货品种",
  20475. "type": "integer"
  20476. },
  20477. "marketid": {
  20478. "description": "市场ID",
  20479. "type": "integer"
  20480. },
  20481. "remark": {
  20482. "description": "备注",
  20483. "type": "string"
  20484. },
  20485. "spotaccountid": {
  20486. "description": "现货资金账户",
  20487. "type": "integer"
  20488. },
  20489. "spottradeid": {
  20490. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20491. "type": "integer"
  20492. },
  20493. "spottradename": {
  20494. "description": "业务名称",
  20495. "type": "string"
  20496. },
  20497. "spottradeno": {
  20498. "description": "业务编号",
  20499. "type": "string"
  20500. },
  20501. "tradedate": {
  20502. "description": "交易日(yyyyMMdd)",
  20503. "type": "string"
  20504. },
  20505. "wrstandardid": {
  20506. "description": "仓单标准ID",
  20507. "type": "integer"
  20508. }
  20509. }
  20510. },
  20511. "erms3.AddSpotContractApplyReq": {
  20512. "type": "object",
  20513. "required": [
  20514. "accountid",
  20515. "areauserid",
  20516. "contractno",
  20517. "contracttype",
  20518. "customeraccountid",
  20519. "customeruserid",
  20520. "details",
  20521. "orimargin",
  20522. "signdate"
  20523. ],
  20524. "properties": {
  20525. "accountid": {
  20526. "description": "资金账户ID",
  20527. "type": "integer"
  20528. },
  20529. "areauserid": {
  20530. "description": "所属机构",
  20531. "type": "integer"
  20532. },
  20533. "contractattachment": {
  20534. "description": "合同附件",
  20535. "type": "string"
  20536. },
  20537. "contractno": {
  20538. "description": "现货合同编号",
  20539. "type": "string"
  20540. },
  20541. "contracttype": {
  20542. "description": "现货合同类型 - 1:采购 -1:销售",
  20543. "type": "integer"
  20544. },
  20545. "creatorid": {
  20546. "description": "申请人",
  20547. "type": "integer"
  20548. },
  20549. "customeraccountid": {
  20550. "description": "客户资金账户ID",
  20551. "type": "integer"
  20552. },
  20553. "customeruserid": {
  20554. "description": "客户ID",
  20555. "type": "integer"
  20556. },
  20557. "details": {
  20558. "description": "明细",
  20559. "type": "array",
  20560. "items": {
  20561. "$ref": "#/definitions/erms3.SoptContractDetail"
  20562. }
  20563. },
  20564. "orimargin": {
  20565. "description": "初始保证金",
  20566. "type": "number"
  20567. },
  20568. "remark": {
  20569. "description": "备注",
  20570. "type": "string"
  20571. },
  20572. "signdate": {
  20573. "description": "签订日期",
  20574. "type": "string"
  20575. }
  20576. }
  20577. },
  20578. "erms3.AddSpotContractApplyRsp": {
  20579. "type": "object",
  20580. "required": [
  20581. "contractno"
  20582. ],
  20583. "properties": {
  20584. "contractno": {
  20585. "description": "现货合同编号",
  20586. "type": "string"
  20587. },
  20588. "spotcontractid": {
  20589. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20590. "type": "integer"
  20591. }
  20592. }
  20593. },
  20594. "erms3.AddUserInfoApplyReq": {
  20595. "type": "object",
  20596. "required": [
  20597. "userid"
  20598. ],
  20599. "properties": {
  20600. "accountid": {
  20601. "description": "交易系统帐号Id (加密存储)",
  20602. "type": "integer"
  20603. },
  20604. "areacode": {
  20605. "description": "机构代码",
  20606. "type": "string"
  20607. },
  20608. "areaid": {
  20609. "description": "机构Id",
  20610. "type": "integer"
  20611. },
  20612. "attachment1": {
  20613. "description": "附件1",
  20614. "type": "string"
  20615. },
  20616. "attachment2": {
  20617. "description": "附件2",
  20618. "type": "string"
  20619. },
  20620. "attachment3": {
  20621. "description": "附件3",
  20622. "type": "string"
  20623. },
  20624. "attachment4": {
  20625. "description": "附件4",
  20626. "type": "string"
  20627. },
  20628. "attachment5": {
  20629. "description": "附件5",
  20630. "type": "string"
  20631. },
  20632. "auditedby": {
  20633. "description": "审核人",
  20634. "type": "string"
  20635. },
  20636. "auditime": {
  20637. "description": "审核时间",
  20638. "type": "string"
  20639. },
  20640. "auditsrc": {
  20641. "description": "审核来源 - 1:管理端 2:终端",
  20642. "type": "integer"
  20643. },
  20644. "bankaccount": {
  20645. "description": "银行帐号 (加密存储)",
  20646. "type": "string"
  20647. },
  20648. "bankaccountname": {
  20649. "description": "收款人名称",
  20650. "type": "string"
  20651. },
  20652. "bankcardbackphotourl": {
  20653. "description": "银行卡背面照地址",
  20654. "type": "string"
  20655. },
  20656. "bankcardfrontphotourl": {
  20657. "description": "银行卡正面照地址",
  20658. "type": "string"
  20659. },
  20660. "bankid": {
  20661. "description": "银行编码",
  20662. "type": "string"
  20663. },
  20664. "bankname": {
  20665. "description": "银行名称",
  20666. "type": "string"
  20667. },
  20668. "bankpictureurl": {
  20669. "description": "银行卡正面地址",
  20670. "type": "string"
  20671. },
  20672. "biznature": {
  20673. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20674. "type": "integer"
  20675. },
  20676. "bizscope": {
  20677. "description": "企业经营范围(企业)",
  20678. "type": "string"
  20679. },
  20680. "biztype": {
  20681. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20682. "type": "integer"
  20683. },
  20684. "brokerid": {
  20685. "description": "经纪人ID(加密存储)",
  20686. "type": "string"
  20687. },
  20688. "cardaddress": {
  20689. "description": "证件地址 (加密存储)",
  20690. "type": "string"
  20691. },
  20692. "cardbackphotourl": {
  20693. "description": "背面证件照地址",
  20694. "type": "string"
  20695. },
  20696. "cardfrontphotourl": {
  20697. "description": "正面证件照地址",
  20698. "type": "string"
  20699. },
  20700. "cardnum": {
  20701. "description": "证件号码 (加密存储)",
  20702. "type": "string"
  20703. },
  20704. "cardtype": {
  20705. "description": "证件类型",
  20706. "type": "integer"
  20707. },
  20708. "cityid": {
  20709. "description": "市",
  20710. "type": "integer"
  20711. },
  20712. "company": {
  20713. "description": "公司(个人)",
  20714. "type": "string"
  20715. },
  20716. "contactcardbackphotourl": {
  20717. "description": "联系人证件背面图片地址",
  20718. "type": "string"
  20719. },
  20720. "contactcardfrontphotourl": {
  20721. "description": "联系人证件正面图片地址",
  20722. "type": "string"
  20723. },
  20724. "contactname": {
  20725. "description": "联系人",
  20726. "type": "string"
  20727. },
  20728. "countryid": {
  20729. "description": "国家",
  20730. "type": "integer"
  20731. },
  20732. "createtime": {
  20733. "description": "开户申请时间",
  20734. "type": "string"
  20735. },
  20736. "cusbankid": {
  20737. "description": "签约类型",
  20738. "type": "string"
  20739. },
  20740. "cusbankname": {
  20741. "description": "签约类型名称",
  20742. "type": "string"
  20743. },
  20744. "customername": {
  20745. "description": "客户名称(企业名称)",
  20746. "type": "string"
  20747. },
  20748. "districtid": {
  20749. "description": "地区",
  20750. "type": "integer"
  20751. },
  20752. "email": {
  20753. "description": "Email地址(加密存储)",
  20754. "type": "string"
  20755. },
  20756. "halfbodyphotourl": {
  20757. "description": "半身照地址",
  20758. "type": "string"
  20759. },
  20760. "headurl": {
  20761. "description": "头像地址",
  20762. "type": "string"
  20763. },
  20764. "ipaddress": {
  20765. "description": "IP地址",
  20766. "type": "string"
  20767. },
  20768. "isvalidate": {
  20769. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20770. "type": "string"
  20771. },
  20772. "legalcardbackphotourl": {
  20773. "description": "法人身份证背面照地址",
  20774. "type": "string"
  20775. },
  20776. "legalcardfrontphotourl": {
  20777. "description": "法人身份证正面照地址",
  20778. "type": "string"
  20779. },
  20780. "legalpersonname": {
  20781. "description": "法人姓名(企业)",
  20782. "type": "string"
  20783. },
  20784. "logincode": {
  20785. "description": "登录帐号 (加密存储)",
  20786. "type": "string"
  20787. },
  20788. "memberareaid": {
  20789. "description": "所属会员ID",
  20790. "type": "integer"
  20791. },
  20792. "mobile2": {
  20793. "description": "手机号码[明文-尚志]",
  20794. "type": "string"
  20795. },
  20796. "mobilephone": {
  20797. "description": "手机号码 (加密存储)",
  20798. "type": "string"
  20799. },
  20800. "modifiedby": {
  20801. "description": "修改人帐号",
  20802. "type": "integer"
  20803. },
  20804. "modifiedtime": {
  20805. "description": "修改时间",
  20806. "type": "string"
  20807. },
  20808. "nickname": {
  20809. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20810. "type": "string"
  20811. },
  20812. "openmode": {
  20813. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20814. "type": "integer"
  20815. },
  20816. "otherurl": {
  20817. "description": "其它图片地址[使用分号分隔]",
  20818. "type": "string"
  20819. },
  20820. "postalcode": {
  20821. "description": "邮政编码",
  20822. "type": "string"
  20823. },
  20824. "provinceid": {
  20825. "description": "省",
  20826. "type": "integer"
  20827. },
  20828. "proxystatementurl": {
  20829. "description": "授权委托书",
  20830. "type": "string"
  20831. },
  20832. "qq": {
  20833. "description": "QQ(加密存储",
  20834. "type": "string"
  20835. },
  20836. "referral": {
  20837. "description": "推荐人编码",
  20838. "type": "string"
  20839. },
  20840. "remark": {
  20841. "description": "备注",
  20842. "type": "string"
  20843. },
  20844. "removebeforestatus": {
  20845. "description": "REMOVEBEFORESTATUS",
  20846. "type": "integer"
  20847. },
  20848. "sex": {
  20849. "description": "性别 - 0:女 1:男",
  20850. "type": "integer"
  20851. },
  20852. "signedstatus": {
  20853. "description": "账户一号签签约状态",
  20854. "type": "integer"
  20855. },
  20856. "signpdfurl": {
  20857. "description": "签约pdf文件",
  20858. "type": "string"
  20859. },
  20860. "subbranch": {
  20861. "description": "开户支行",
  20862. "type": "string"
  20863. },
  20864. "taxpayernum": {
  20865. "description": "纳税人识别号",
  20866. "type": "string"
  20867. },
  20868. "telphone": {
  20869. "description": "联系电话(加密存储)",
  20870. "type": "string"
  20871. },
  20872. "userid": {
  20873. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20874. "type": "integer"
  20875. },
  20876. "userinfotype": {
  20877. "description": "用户信息类型 - 1:个人 2:企业",
  20878. "type": "integer"
  20879. },
  20880. "username": {
  20881. "description": "用户姓名",
  20882. "type": "string"
  20883. },
  20884. "userstate": {
  20885. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20886. "type": "integer"
  20887. },
  20888. "usertype": {
  20889. "description": "用户类型 - 1:投资者 2:机构",
  20890. "type": "integer"
  20891. },
  20892. "videourl": {
  20893. "description": "视频地址",
  20894. "type": "string"
  20895. },
  20896. "wechat": {
  20897. "description": "微信号 (加密存储)",
  20898. "type": "string"
  20899. }
  20900. }
  20901. },
  20902. "erms3.CustomerInfo": {
  20903. "type": "object",
  20904. "required": [
  20905. "userid"
  20906. ],
  20907. "properties": {
  20908. "accountids": {
  20909. "description": "资金账户ID列表",
  20910. "type": "array",
  20911. "items": {
  20912. "type": "integer"
  20913. }
  20914. },
  20915. "customername": {
  20916. "description": "名称(企业名称)",
  20917. "type": "string"
  20918. },
  20919. "mobile": {
  20920. "description": "手机号码",
  20921. "type": "string"
  20922. },
  20923. "userid": {
  20924. "description": "用户ID",
  20925. "type": "integer"
  20926. }
  20927. }
  20928. },
  20929. "erms3.ModifyUserInfoApplyReq": {
  20930. "type": "object",
  20931. "required": [
  20932. "userid"
  20933. ],
  20934. "properties": {
  20935. "accountid": {
  20936. "description": "交易系统帐号Id (加密存储)",
  20937. "type": "integer"
  20938. },
  20939. "areacode": {
  20940. "description": "机构代码",
  20941. "type": "string"
  20942. },
  20943. "areaid": {
  20944. "description": "机构Id",
  20945. "type": "integer"
  20946. },
  20947. "attachment1": {
  20948. "description": "附件1",
  20949. "type": "string"
  20950. },
  20951. "attachment2": {
  20952. "description": "附件2",
  20953. "type": "string"
  20954. },
  20955. "attachment3": {
  20956. "description": "附件3",
  20957. "type": "string"
  20958. },
  20959. "attachment4": {
  20960. "description": "附件4",
  20961. "type": "string"
  20962. },
  20963. "attachment5": {
  20964. "description": "附件5",
  20965. "type": "string"
  20966. },
  20967. "auditedby": {
  20968. "description": "审核人",
  20969. "type": "string"
  20970. },
  20971. "auditime": {
  20972. "description": "审核时间",
  20973. "type": "string"
  20974. },
  20975. "auditsrc": {
  20976. "description": "审核来源 - 1:管理端 2:终端",
  20977. "type": "integer"
  20978. },
  20979. "bankaccount": {
  20980. "description": "银行帐号 (加密存储)",
  20981. "type": "string"
  20982. },
  20983. "bankaccountname": {
  20984. "description": "收款人名称",
  20985. "type": "string"
  20986. },
  20987. "bankcardbackphotourl": {
  20988. "description": "银行卡背面照地址",
  20989. "type": "string"
  20990. },
  20991. "bankcardfrontphotourl": {
  20992. "description": "银行卡正面照地址",
  20993. "type": "string"
  20994. },
  20995. "bankid": {
  20996. "description": "银行编码",
  20997. "type": "string"
  20998. },
  20999. "bankname": {
  21000. "description": "银行名称",
  21001. "type": "string"
  21002. },
  21003. "bankpictureurl": {
  21004. "description": "银行卡正面地址",
  21005. "type": "string"
  21006. },
  21007. "biznature": {
  21008. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21009. "type": "integer"
  21010. },
  21011. "bizscope": {
  21012. "description": "企业经营范围(企业)",
  21013. "type": "string"
  21014. },
  21015. "biztype": {
  21016. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21017. "type": "integer"
  21018. },
  21019. "brokerid": {
  21020. "description": "经纪人ID(加密存储)",
  21021. "type": "string"
  21022. },
  21023. "cardaddress": {
  21024. "description": "证件地址 (加密存储)",
  21025. "type": "string"
  21026. },
  21027. "cardbackphotourl": {
  21028. "description": "背面证件照地址",
  21029. "type": "string"
  21030. },
  21031. "cardfrontphotourl": {
  21032. "description": "正面证件照地址",
  21033. "type": "string"
  21034. },
  21035. "cardnum": {
  21036. "description": "证件号码 (加密存储)",
  21037. "type": "string"
  21038. },
  21039. "cardtype": {
  21040. "description": "证件类型",
  21041. "type": "integer"
  21042. },
  21043. "cityid": {
  21044. "description": "市",
  21045. "type": "integer"
  21046. },
  21047. "company": {
  21048. "description": "公司(个人)",
  21049. "type": "string"
  21050. },
  21051. "contactcardbackphotourl": {
  21052. "description": "联系人证件背面图片地址",
  21053. "type": "string"
  21054. },
  21055. "contactcardfrontphotourl": {
  21056. "description": "联系人证件正面图片地址",
  21057. "type": "string"
  21058. },
  21059. "contactname": {
  21060. "description": "联系人",
  21061. "type": "string"
  21062. },
  21063. "countryid": {
  21064. "description": "国家",
  21065. "type": "integer"
  21066. },
  21067. "createtime": {
  21068. "description": "开户申请时间",
  21069. "type": "string"
  21070. },
  21071. "cusbankid": {
  21072. "description": "签约类型",
  21073. "type": "string"
  21074. },
  21075. "cusbankname": {
  21076. "description": "签约类型名称",
  21077. "type": "string"
  21078. },
  21079. "customername": {
  21080. "description": "客户名称(企业名称)",
  21081. "type": "string"
  21082. },
  21083. "districtid": {
  21084. "description": "地区",
  21085. "type": "integer"
  21086. },
  21087. "email": {
  21088. "description": "Email地址(加密存储)",
  21089. "type": "string"
  21090. },
  21091. "halfbodyphotourl": {
  21092. "description": "半身照地址",
  21093. "type": "string"
  21094. },
  21095. "headurl": {
  21096. "description": "头像地址",
  21097. "type": "string"
  21098. },
  21099. "ipaddress": {
  21100. "description": "IP地址",
  21101. "type": "string"
  21102. },
  21103. "isvalidate": {
  21104. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21105. "type": "string"
  21106. },
  21107. "legalcardbackphotourl": {
  21108. "description": "法人身份证背面照地址",
  21109. "type": "string"
  21110. },
  21111. "legalcardfrontphotourl": {
  21112. "description": "法人身份证正面照地址",
  21113. "type": "string"
  21114. },
  21115. "legalpersonname": {
  21116. "description": "法人姓名(企业)",
  21117. "type": "string"
  21118. },
  21119. "logincode": {
  21120. "description": "登录帐号 (加密存储)",
  21121. "type": "string"
  21122. },
  21123. "memberareaid": {
  21124. "description": "所属会员ID",
  21125. "type": "integer"
  21126. },
  21127. "mobile2": {
  21128. "description": "手机号码[明文-尚志]",
  21129. "type": "string"
  21130. },
  21131. "mobilephone": {
  21132. "description": "手机号码 (加密存储)",
  21133. "type": "string"
  21134. },
  21135. "modifiedby": {
  21136. "description": "修改人帐号",
  21137. "type": "integer"
  21138. },
  21139. "modifiedtime": {
  21140. "description": "修改时间",
  21141. "type": "string"
  21142. },
  21143. "nickname": {
  21144. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21145. "type": "string"
  21146. },
  21147. "openmode": {
  21148. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21149. "type": "integer"
  21150. },
  21151. "otherurl": {
  21152. "description": "其它图片地址[使用分号分隔]",
  21153. "type": "string"
  21154. },
  21155. "postalcode": {
  21156. "description": "邮政编码",
  21157. "type": "string"
  21158. },
  21159. "provinceid": {
  21160. "description": "省",
  21161. "type": "integer"
  21162. },
  21163. "proxystatementurl": {
  21164. "description": "授权委托书",
  21165. "type": "string"
  21166. },
  21167. "qq": {
  21168. "description": "QQ(加密存储",
  21169. "type": "string"
  21170. },
  21171. "referral": {
  21172. "description": "推荐人编码",
  21173. "type": "string"
  21174. },
  21175. "remark": {
  21176. "description": "备注",
  21177. "type": "string"
  21178. },
  21179. "removebeforestatus": {
  21180. "description": "REMOVEBEFORESTATUS",
  21181. "type": "integer"
  21182. },
  21183. "sex": {
  21184. "description": "性别 - 0:女 1:男",
  21185. "type": "integer"
  21186. },
  21187. "signedstatus": {
  21188. "description": "账户一号签签约状态",
  21189. "type": "integer"
  21190. },
  21191. "signpdfurl": {
  21192. "description": "签约pdf文件",
  21193. "type": "string"
  21194. },
  21195. "subbranch": {
  21196. "description": "开户支行",
  21197. "type": "string"
  21198. },
  21199. "taxpayernum": {
  21200. "description": "纳税人识别号",
  21201. "type": "string"
  21202. },
  21203. "telphone": {
  21204. "description": "联系电话(加密存储)",
  21205. "type": "string"
  21206. },
  21207. "userid": {
  21208. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21209. "type": "integer"
  21210. },
  21211. "userinfotype": {
  21212. "description": "用户信息类型 - 1:个人 2:企业",
  21213. "type": "integer"
  21214. },
  21215. "username": {
  21216. "description": "用户姓名",
  21217. "type": "string"
  21218. },
  21219. "userstate": {
  21220. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21221. "type": "integer"
  21222. },
  21223. "usertype": {
  21224. "description": "用户类型 - 1:投资者 2:机构",
  21225. "type": "integer"
  21226. },
  21227. "videourl": {
  21228. "description": "视频地址",
  21229. "type": "string"
  21230. },
  21231. "wechat": {
  21232. "description": "微信号 (加密存储)",
  21233. "type": "string"
  21234. }
  21235. }
  21236. },
  21237. "erms3.QryAuditContractRsp": {
  21238. "type": "object",
  21239. "required": [
  21240. "matchcustomername",
  21241. "spotcontractid"
  21242. ],
  21243. "properties": {
  21244. "accountid": {
  21245. "description": "交易员ID",
  21246. "type": "string"
  21247. },
  21248. "applystatus": {
  21249. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21250. "type": "integer"
  21251. },
  21252. "curdeliveryqty": {
  21253. "description": "未交收量",
  21254. "type": "integer"
  21255. },
  21256. "customername": {
  21257. "description": "采购方ID",
  21258. "type": "string"
  21259. },
  21260. "deliverygoodsid": {
  21261. "description": "品种ID",
  21262. "type": "string"
  21263. },
  21264. "deliveryqty": {
  21265. "description": "交收量",
  21266. "type": "integer"
  21267. },
  21268. "enumdicname": {
  21269. "description": "单位名称",
  21270. "type": "string"
  21271. },
  21272. "matchaccountid": {
  21273. "description": "业务员ID",
  21274. "type": "string"
  21275. },
  21276. "matchcustomername": {
  21277. "description": "销售方ID",
  21278. "type": "string"
  21279. },
  21280. "pricedqty": {
  21281. "description": "定价量",
  21282. "type": "number"
  21283. },
  21284. "signdate": {
  21285. "description": "签订日期",
  21286. "type": "string"
  21287. },
  21288. "spotcontractid": {
  21289. "description": "合同ID",
  21290. "type": "string"
  21291. },
  21292. "totaldqty": {
  21293. "description": "合同量",
  21294. "type": "number"
  21295. },
  21296. "unpricedqty": {
  21297. "description": "未定价量",
  21298. "type": "number"
  21299. },
  21300. "wrstandardname": {
  21301. "description": "商品名称",
  21302. "type": "string"
  21303. }
  21304. }
  21305. },
  21306. "erms3.QryPendingBizRsp": {
  21307. "type": "object",
  21308. "properties": {
  21309. "accountid": {
  21310. "description": "现货账户",
  21311. "type": "string"
  21312. },
  21313. "areaname": {
  21314. "description": "所属部门",
  21315. "type": "string"
  21316. },
  21317. "bizid": {
  21318. "description": "业务ID",
  21319. "type": "string"
  21320. },
  21321. "bizname": {
  21322. "description": "业务名称",
  21323. "type": "string"
  21324. },
  21325. "status": {
  21326. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21327. "type": "integer"
  21328. },
  21329. "type": {
  21330. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21331. "type": "integer"
  21332. }
  21333. }
  21334. },
  21335. "erms3.QueryBusinessInfoRsp": {
  21336. "type": "object",
  21337. "properties": {
  21338. "businessid": {
  21339. "description": "业务ID.",
  21340. "type": "integer"
  21341. },
  21342. "buyamount": {
  21343. "description": "采购额.",
  21344. "type": "number"
  21345. },
  21346. "buyqty": {
  21347. "description": "采购量.",
  21348. "type": "string"
  21349. },
  21350. "futurepl": {
  21351. "description": "期货盈亏.",
  21352. "type": "number"
  21353. },
  21354. "futureqty": {
  21355. "description": "期货敞口.",
  21356. "type": "string"
  21357. },
  21358. "goodsid": {
  21359. "description": "商品名称/商品代码.",
  21360. "type": "string"
  21361. },
  21362. "hedgingqty": {
  21363. "description": "套保量.",
  21364. "type": "string"
  21365. },
  21366. "sellamount": {
  21367. "description": "销售额.",
  21368. "type": "number"
  21369. },
  21370. "sellqty": {
  21371. "description": "销售量.",
  21372. "type": "string"
  21373. },
  21374. "spotmarketvalue": {
  21375. "description": "现货市值.",
  21376. "type": "number"
  21377. },
  21378. "spotpl": {
  21379. "description": "浮动权益.",
  21380. "type": "number"
  21381. },
  21382. "spotqty": {
  21383. "description": "现货量.",
  21384. "type": "string"
  21385. },
  21386. "statu": {
  21387. "description": "状态,0-未结束 1-已结束.",
  21388. "type": "integer"
  21389. },
  21390. "totalpl": {
  21391. "description": "总盈亏.",
  21392. "type": "number"
  21393. },
  21394. "totalqty": {
  21395. "description": "总敞口.",
  21396. "type": "string"
  21397. },
  21398. "type": {
  21399. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21400. "type": "integer"
  21401. }
  21402. }
  21403. },
  21404. "erms3.QuerySpotContractAppleFormRsp": {
  21405. "type": "object",
  21406. "properties": {
  21407. "goodses": {
  21408. "description": "合约列表",
  21409. "type": "array",
  21410. "items": {
  21411. "$ref": "#/definitions/models.GoodsIDAndName"
  21412. }
  21413. },
  21414. "oppositeusers": {
  21415. "description": "对方账号列表",
  21416. "type": "array",
  21417. "items": {
  21418. "$ref": "#/definitions/erms3.CustomerInfo"
  21419. }
  21420. },
  21421. "ouruser": {
  21422. "description": "我方账号",
  21423. "$ref": "#/definitions/erms3.CustomerInfo"
  21424. },
  21425. "warehouseinfos": {
  21426. "description": "仓库信息列表",
  21427. "type": "array",
  21428. "items": {
  21429. "$ref": "#/definitions/models.Warehouseinfo"
  21430. }
  21431. },
  21432. "wrstandards": {
  21433. "description": "仓单标准列表",
  21434. "type": "array",
  21435. "items": {
  21436. "$ref": "#/definitions/models.WRStandardInfo"
  21437. }
  21438. }
  21439. }
  21440. },
  21441. "erms3.QuerySpotContractInfoRsp": {
  21442. "type": "object",
  21443. "properties": {
  21444. "accountid": {
  21445. "description": "表示交易员ID.",
  21446. "type": "integer"
  21447. },
  21448. "curdeliveryqty": {
  21449. "description": "表示未交收量.",
  21450. "type": "number"
  21451. },
  21452. "customername": {
  21453. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21454. "type": "string"
  21455. },
  21456. "deliverygoodsid": {
  21457. "description": "表示品种ID.",
  21458. "type": "string"
  21459. },
  21460. "deliveryqty": {
  21461. "description": "表示交收量.",
  21462. "type": "number"
  21463. },
  21464. "matchaccountid": {
  21465. "description": "表示业务员ID.",
  21466. "type": "integer"
  21467. },
  21468. "matchcustomername": {
  21469. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21470. "type": "string"
  21471. },
  21472. "priceqty": {
  21473. "description": "表示定价量.",
  21474. "type": "number"
  21475. },
  21476. "relatedbizid": {
  21477. "description": "表示业务ID.",
  21478. "type": "string"
  21479. },
  21480. "signdate": {
  21481. "description": "表示签订日期.",
  21482. "type": "string"
  21483. },
  21484. "spotcontractid": {
  21485. "description": "合同ID",
  21486. "type": "string"
  21487. },
  21488. "status": {
  21489. "description": "表示状态,0-履约中 1-已完成.",
  21490. "type": "integer"
  21491. },
  21492. "totalqty": {
  21493. "description": "表示合同量.",
  21494. "type": "number"
  21495. },
  21496. "unpricedqty": {
  21497. "description": "表示未定价量.",
  21498. "type": "number"
  21499. },
  21500. "wrstandardname": {
  21501. "description": "表示商品ID.",
  21502. "type": "string"
  21503. }
  21504. }
  21505. },
  21506. "erms3.QueryUserInfoAppliesRsp": {
  21507. "type": "object",
  21508. "required": [
  21509. "userid"
  21510. ],
  21511. "properties": {
  21512. "biznature": {
  21513. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21514. "type": "integer"
  21515. },
  21516. "contactname": {
  21517. "description": "联系人",
  21518. "type": "string"
  21519. },
  21520. "createtime": {
  21521. "description": "开户申请时间",
  21522. "type": "string"
  21523. },
  21524. "userid": {
  21525. "description": "用户ID(自增ID)",
  21526. "type": "integer"
  21527. },
  21528. "userinfotype": {
  21529. "description": "用户信息类型 - 1:个人 2:企业",
  21530. "type": "integer"
  21531. },
  21532. "username": {
  21533. "description": "用户姓名",
  21534. "type": "string"
  21535. },
  21536. "userstate": {
  21537. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21538. "type": "integer"
  21539. }
  21540. }
  21541. },
  21542. "erms3.QueryUserInfosRsp": {
  21543. "type": "object",
  21544. "required": [
  21545. "userid"
  21546. ],
  21547. "properties": {
  21548. "biznature": {
  21549. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21550. "type": "integer"
  21551. },
  21552. "contactname": {
  21553. "description": "联系人",
  21554. "type": "string"
  21555. },
  21556. "customername": {
  21557. "description": "客户名称(企业名称)",
  21558. "type": "string"
  21559. },
  21560. "userid": {
  21561. "description": "用户ID",
  21562. "type": "integer"
  21563. },
  21564. "userinfotype": {
  21565. "description": "用户信息类型 - 1:个人 2:企业",
  21566. "type": "integer"
  21567. },
  21568. "userstatus": {
  21569. "description": "用户状态 - 1:正常 2:注销",
  21570. "type": "integer"
  21571. }
  21572. }
  21573. },
  21574. "erms3.SoptContractDetail": {
  21575. "type": "object",
  21576. "required": [
  21577. "deliverygoodsid",
  21578. "producttype",
  21579. "unitname",
  21580. "warehouseid",
  21581. "wrstandardid",
  21582. "wrstandardname"
  21583. ],
  21584. "properties": {
  21585. "deliverygoodsdesc": {
  21586. "description": "现货品种说明",
  21587. "type": "string"
  21588. },
  21589. "deliverygoodsid": {
  21590. "description": "现货品种ID",
  21591. "type": "integer"
  21592. },
  21593. "deliverygoodsname": {
  21594. "description": "现货品种名称",
  21595. "type": "string"
  21596. },
  21597. "pointdesc": {
  21598. "description": "点价描述",
  21599. "type": "string"
  21600. },
  21601. "producttype": {
  21602. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21603. "type": "integer"
  21604. },
  21605. "producttypename": {
  21606. "description": "产品类型名称",
  21607. "type": "string"
  21608. },
  21609. "spotPointOrderVoList": {
  21610. "description": "点价列表",
  21611. "type": "array",
  21612. "items": {
  21613. "$ref": "#/definitions/erms3.SpotPointOrder"
  21614. }
  21615. },
  21616. "spotPriceOrderList": {
  21617. "description": "定价列表",
  21618. "type": "array",
  21619. "items": {
  21620. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21621. }
  21622. },
  21623. "unitname": {
  21624. "description": "单位名称",
  21625. "type": "string"
  21626. },
  21627. "warehouseid": {
  21628. "description": "仓库ID",
  21629. "type": "integer"
  21630. },
  21631. "warehousename": {
  21632. "description": "仓库名称",
  21633. "type": "string"
  21634. },
  21635. "wrstandardid": {
  21636. "description": "交易标的ID",
  21637. "type": "integer"
  21638. },
  21639. "wrstandardname": {
  21640. "description": "交易标的名称",
  21641. "type": "string"
  21642. }
  21643. }
  21644. },
  21645. "erms3.SpotPointOrder": {
  21646. "type": "object",
  21647. "required": [
  21648. "basic",
  21649. "goodsid",
  21650. "qty"
  21651. ],
  21652. "properties": {
  21653. "basic": {
  21654. "description": "基差",
  21655. "type": "number"
  21656. },
  21657. "deliveryenddate": {
  21658. "description": "交收结束日期",
  21659. "type": "string"
  21660. },
  21661. "deliverystartdate": {
  21662. "description": "交收开始日期",
  21663. "type": "string"
  21664. },
  21665. "enddate": {
  21666. "description": "点价结束日期",
  21667. "type": "string"
  21668. },
  21669. "goodsid": {
  21670. "description": "商品ID",
  21671. "type": "integer"
  21672. },
  21673. "goodsname": {
  21674. "description": "商品名称",
  21675. "type": "string"
  21676. },
  21677. "qty": {
  21678. "description": "数量",
  21679. "type": "number"
  21680. },
  21681. "startdate": {
  21682. "description": "点价开始日期",
  21683. "type": "string"
  21684. }
  21685. }
  21686. },
  21687. "erms3.SpotPriceOrder": {
  21688. "type": "object",
  21689. "required": [
  21690. "amount",
  21691. "price",
  21692. "qty"
  21693. ],
  21694. "properties": {
  21695. "amount": {
  21696. "description": "金额",
  21697. "type": "number"
  21698. },
  21699. "deliveryenddate": {
  21700. "description": "交收结束日期",
  21701. "type": "string"
  21702. },
  21703. "deliverystartdate": {
  21704. "description": "交收开始日期",
  21705. "type": "string"
  21706. },
  21707. "price": {
  21708. "description": "价格",
  21709. "type": "number"
  21710. },
  21711. "qty": {
  21712. "description": "数量",
  21713. "type": "number"
  21714. }
  21715. }
  21716. },
  21717. "models.Arearole": {
  21718. "type": "object",
  21719. "required": [
  21720. "roletype",
  21721. "userid"
  21722. ],
  21723. "properties": {
  21724. "createtime": {
  21725. "description": "创建时间",
  21726. "type": "string"
  21727. },
  21728. "creatorid": {
  21729. "description": "创建人ID",
  21730. "type": "integer"
  21731. },
  21732. "fromuserid": {
  21733. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21734. "type": "integer"
  21735. },
  21736. "isreturnscore": {
  21737. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21738. "type": "integer"
  21739. },
  21740. "modifierid": {
  21741. "description": "修改人ID",
  21742. "type": "integer"
  21743. },
  21744. "modifytime": {
  21745. "description": "修改时间",
  21746. "type": "string"
  21747. },
  21748. "orgtype": {
  21749. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21750. "type": "integer"
  21751. },
  21752. "outuserid": {
  21753. "description": "外部账户[场外期权做市商]",
  21754. "type": "string"
  21755. },
  21756. "parentuserid": {
  21757. "description": "上级组织机构(组织机构)",
  21758. "type": "integer"
  21759. },
  21760. "roletype": {
  21761. "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:门店",
  21762. "type": "integer"
  21763. },
  21764. "rootuserid": {
  21765. "description": "顶级组织机构用户ID(组织机构)",
  21766. "type": "integer"
  21767. },
  21768. "shoppassword": {
  21769. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21770. "type": "string"
  21771. },
  21772. "sublevelpath": {
  21773. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21774. "type": "string"
  21775. },
  21776. "suborgtype": {
  21777. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21778. "type": "integer"
  21779. },
  21780. "tradeaccountid": {
  21781. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21782. "type": "integer"
  21783. },
  21784. "transurl": {
  21785. "description": "物流地址(物流机构)",
  21786. "type": "string"
  21787. },
  21788. "userid": {
  21789. "description": "机构用户ID其他做市关系,都设置为 1",
  21790. "type": "integer"
  21791. }
  21792. }
  21793. },
  21794. "models.BuyOrder": {
  21795. "type": "object",
  21796. "properties": {
  21797. "accountid": {
  21798. "description": "资金账户ID",
  21799. "type": "integer"
  21800. },
  21801. "buyusername": {
  21802. "description": "买方",
  21803. "type": "string"
  21804. },
  21805. "marketid": {
  21806. "description": "市场ID",
  21807. "type": "integer"
  21808. },
  21809. "ordertime": {
  21810. "description": "委托时间",
  21811. "type": "string"
  21812. },
  21813. "origin": {
  21814. "description": "原产地",
  21815. "type": "string"
  21816. },
  21817. "performancetemplateid": {
  21818. "description": "履约计划模板ID",
  21819. "type": "integer"
  21820. },
  21821. "remark": {
  21822. "description": "备注",
  21823. "type": "string"
  21824. },
  21825. "userid": {
  21826. "description": "用户ID",
  21827. "type": "integer"
  21828. },
  21829. "validtime": {
  21830. "description": "有效期限",
  21831. "type": "string"
  21832. },
  21833. "warehouseids": {
  21834. "description": "仓库ID - 多个, 逗号分隔",
  21835. "type": "string"
  21836. },
  21837. "warehouseinfosdisplay": {
  21838. "type": "string"
  21839. },
  21840. "wrtradeorderid": {
  21841. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21842. "type": "string"
  21843. },
  21844. "wrtradeorderstatus": {
  21845. "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、",
  21846. "type": "integer"
  21847. },
  21848. "zscategory": {
  21849. "description": "钻石分类 - 枚举”ZSCategory“",
  21850. "type": "integer"
  21851. },
  21852. "zscategorydisplay": {
  21853. "type": "string"
  21854. },
  21855. "zsclaritytype": {
  21856. "description": "净度 - 两个, 逗号分隔",
  21857. "type": "string"
  21858. },
  21859. "zsclaritytypedisplay": {
  21860. "type": "string"
  21861. },
  21862. "zscolortype": {
  21863. "description": "颜色 - 两个, 逗号分隔",
  21864. "type": "string"
  21865. },
  21866. "zscolortypedisplay": {
  21867. "type": "string"
  21868. },
  21869. "zscrystaltype": {
  21870. "description": "晶型 - 多个,逗号分隔",
  21871. "type": "string"
  21872. },
  21873. "zscrystaltypedisplay": {
  21874. "type": "string"
  21875. },
  21876. "zscurrencytype": {
  21877. "description": "货币类型 - 多个, 逗号分隔",
  21878. "type": "string"
  21879. },
  21880. "zscurrencytypedisplay": {
  21881. "type": "string"
  21882. },
  21883. "zscuttype": {
  21884. "description": "切工 - 两个, 逗号分隔",
  21885. "type": "string"
  21886. },
  21887. "zscuttypedisplay": {
  21888. "type": "string"
  21889. },
  21890. "zsczcolor1type": {
  21891. "description": "彩钻颜色1, 逗号分隔",
  21892. "type": "string"
  21893. },
  21894. "zsczcolor1typedisplay": {
  21895. "type": "string"
  21896. },
  21897. "zsczcolor2type": {
  21898. "description": "彩钻颜色2, 逗号分隔",
  21899. "type": "string"
  21900. },
  21901. "zsczcolor2typedisplay": {
  21902. "type": "string"
  21903. },
  21904. "zsczcolor3type": {
  21905. "description": "彩钻颜色3, 逗号分隔",
  21906. "type": "string"
  21907. },
  21908. "zsczcolor3typedisplay": {
  21909. "type": "string"
  21910. },
  21911. "zsfluorescencetype": {
  21912. "description": "荧光 - 多个, 逗号分隔",
  21913. "type": "string"
  21914. },
  21915. "zsfluorescencetypedisplay": {
  21916. "type": "string"
  21917. },
  21918. "zspolishtype": {
  21919. "description": "抛光度 - 两个, 逗号分隔",
  21920. "type": "string"
  21921. },
  21922. "zspolishtypedisplay": {
  21923. "type": "string"
  21924. },
  21925. "zsshapetype": {
  21926. "description": "形状 - 多个, 逗号分隔",
  21927. "type": "string"
  21928. },
  21929. "zsshapetypedisplay": {
  21930. "type": "string"
  21931. },
  21932. "zssize": {
  21933. "description": "尺寸 - 两个小数, 逗号分隔",
  21934. "type": "string"
  21935. },
  21936. "zsstyletype": {
  21937. "description": "款式 - 多个, 逗号分隔",
  21938. "type": "string"
  21939. },
  21940. "zsstyletypedisplay": {
  21941. "type": "string"
  21942. },
  21943. "zssymmetrytype": {
  21944. "description": "对称度 - 两个, 逗号分隔",
  21945. "type": "string"
  21946. },
  21947. "zssymmetrytypedisplay": {
  21948. "type": "string"
  21949. },
  21950. "zstabledisplay": {
  21951. "description": "求购信息",
  21952. "type": "string"
  21953. }
  21954. }
  21955. },
  21956. "models.DgFactoryItem": {
  21957. "type": "object",
  21958. "properties": {
  21959. "dgfactoryitemid": {
  21960. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21961. "type": "integer"
  21962. },
  21963. "dgfactoryitemtypeid": {
  21964. "description": "要素项类型",
  21965. "type": "integer"
  21966. },
  21967. "dgfactoryitemvalue": {
  21968. "description": "要素项值(类型为仓库时填写仓库名称)",
  21969. "type": "string"
  21970. },
  21971. "orderindex": {
  21972. "description": "顺序",
  21973. "type": "integer"
  21974. }
  21975. }
  21976. },
  21977. "models.Division": {
  21978. "type": "object",
  21979. "required": [
  21980. "autoid",
  21981. "divisioncode"
  21982. ],
  21983. "properties": {
  21984. "autoid": {
  21985. "description": "自增ID",
  21986. "type": "integer"
  21987. },
  21988. "divisioncode": {
  21989. "description": "行政代码",
  21990. "type": "string"
  21991. },
  21992. "divisionlevel": {
  21993. "description": "行政级别",
  21994. "type": "string"
  21995. },
  21996. "divisionname": {
  21997. "description": "行政名称",
  21998. "type": "string"
  21999. },
  22000. "modifierid": {
  22001. "description": "修改人",
  22002. "type": "integer"
  22003. },
  22004. "modifytime": {
  22005. "description": "修改时间",
  22006. "type": "string"
  22007. },
  22008. "parentcode": {
  22009. "description": "上级行政代码",
  22010. "type": "string"
  22011. },
  22012. "pathname": {
  22013. "description": "路径名称",
  22014. "type": "string"
  22015. },
  22016. "postcode": {
  22017. "description": "邮政编码",
  22018. "type": "string"
  22019. },
  22020. "separablename": {
  22021. "description": "可拆分的全称",
  22022. "type": "string"
  22023. },
  22024. "shortcode": {
  22025. "description": "地区简码",
  22026. "type": "string"
  22027. }
  22028. }
  22029. },
  22030. "models.Enumdicitem": {
  22031. "type": "object",
  22032. "required": [
  22033. "autoid",
  22034. "enumdiccode",
  22035. "enumdicid",
  22036. "enumitemname"
  22037. ],
  22038. "properties": {
  22039. "autoid": {
  22040. "description": "自增ID",
  22041. "type": "integer"
  22042. },
  22043. "bankmappedvalue": {
  22044. "description": "银行服务对应值",
  22045. "type": "string"
  22046. },
  22047. "enumdiccode": {
  22048. "description": "所属枚举代码",
  22049. "type": "string"
  22050. },
  22051. "enumdicid": {
  22052. "description": "所属枚举ID",
  22053. "type": "integer"
  22054. },
  22055. "enumdicname": {
  22056. "description": "枚举项名称",
  22057. "type": "string"
  22058. },
  22059. "enumitemname": {
  22060. "description": "枚举项值",
  22061. "type": "integer"
  22062. },
  22063. "enumitemstatus": {
  22064. "description": "枚举项状态 - 1.启用 2.不启用",
  22065. "type": "integer"
  22066. },
  22067. "enumitemvalue": {
  22068. "description": "通用值 - [币种通用简写]",
  22069. "type": "string"
  22070. },
  22071. "param1": {
  22072. "description": "参数1[币种:币种小数位]",
  22073. "type": "string"
  22074. },
  22075. "param2": {
  22076. "description": "参数1[币种:币种显示单位]",
  22077. "type": "string"
  22078. },
  22079. "remark": {
  22080. "description": "备注",
  22081. "type": "string"
  22082. }
  22083. }
  22084. },
  22085. "models.Ermcp2AreaExposure": {
  22086. "type": "object",
  22087. "properties": {
  22088. "areauserid": {
  22089. "description": "所属机构",
  22090. "type": "integer"
  22091. },
  22092. "enumdicname": {
  22093. "description": "单位",
  22094. "type": "string"
  22095. },
  22096. "futureqty": {
  22097. "description": "期货套期量",
  22098. "type": "number"
  22099. },
  22100. "futureqtychange": {
  22101. "description": "期货变动量 = FutureQty - OriFutureQty",
  22102. "type": "number"
  22103. },
  22104. "goodsunitid": {
  22105. "description": "单位ID",
  22106. "type": "integer"
  22107. },
  22108. "hedgedspotexposure": {
  22109. "description": "被套期现货敞口量",
  22110. "type": "number"
  22111. },
  22112. "hedgedspratio": {
  22113. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  22114. "type": "number"
  22115. },
  22116. "hedgedtotalexposourechange": {
  22117. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  22118. "type": "number"
  22119. },
  22120. "hedgedtotalexposure": {
  22121. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  22122. "type": "number"
  22123. },
  22124. "hedgeplanqty": {
  22125. "description": "套期计划量",
  22126. "type": "number"
  22127. },
  22128. "hedgeplanqtychange": {
  22129. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  22130. "type": "number"
  22131. },
  22132. "hedgespotqty": {
  22133. "description": "被套期现货量",
  22134. "type": "number"
  22135. },
  22136. "middlegoodsid": {
  22137. "description": "套保品种",
  22138. "type": "integer"
  22139. },
  22140. "middlegoodsname": {
  22141. "description": "套保品种名称",
  22142. "type": "string"
  22143. },
  22144. "orifutureqty": {
  22145. "description": "期初期货套期量",
  22146. "type": "number"
  22147. },
  22148. "orihedgedspotexposure": {
  22149. "description": "期初被套期现货敞口量",
  22150. "type": "number"
  22151. },
  22152. "orihedgedtotalexposure": {
  22153. "description": "期初套期敞口量",
  22154. "type": "number"
  22155. },
  22156. "orihedgeplanqty": {
  22157. "description": "期初套期计划量",
  22158. "type": "number"
  22159. },
  22160. "orihedgespotqty": {
  22161. "description": "期初被套期现货量",
  22162. "type": "number"
  22163. },
  22164. "orispotexposure": {
  22165. "description": "期初现货敞口量",
  22166. "type": "number"
  22167. },
  22168. "orispotqty": {
  22169. "description": "期初现货总量",
  22170. "type": "number"
  22171. },
  22172. "oritotalexposure": {
  22173. "description": "期初总敞口量",
  22174. "type": "number"
  22175. },
  22176. "spotexposure": {
  22177. "description": "现货敞口量",
  22178. "type": "number"
  22179. },
  22180. "spotqty": {
  22181. "description": "现货总量",
  22182. "type": "number"
  22183. },
  22184. "spotqtychange": {
  22185. "description": "现货变动量 = SpotQty - OriSpotQty",
  22186. "type": "number"
  22187. },
  22188. "spratio": {
  22189. "description": "总期现比例 = 期货套期量/现货敞口量",
  22190. "type": "number"
  22191. },
  22192. "totalexposure": {
  22193. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22194. "type": "number"
  22195. },
  22196. "totalexposurechange": {
  22197. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22198. "type": "number"
  22199. },
  22200. "updatetime": {
  22201. "description": "更新时间 --DATE",
  22202. "type": "string"
  22203. }
  22204. }
  22205. },
  22206. "models.Ermcp2hedgeditem": {
  22207. "type": "object",
  22208. "properties": {
  22209. "accountname": {
  22210. "description": "套期主体",
  22211. "type": "string"
  22212. },
  22213. "applyid": {
  22214. "description": "申请人",
  22215. "type": "integer"
  22216. },
  22217. "applysrc": {
  22218. "description": "申请来源 - 1:管理端 2:终端",
  22219. "type": "integer"
  22220. },
  22221. "areauserid": {
  22222. "description": "企业ID",
  22223. "type": "integer"
  22224. },
  22225. "auditid": {
  22226. "description": "审核人",
  22227. "type": "integer"
  22228. },
  22229. "auditremark": {
  22230. "description": "审核备注",
  22231. "type": "string"
  22232. },
  22233. "auditsrc": {
  22234. "description": "审核来源 - 1:管理端 2:终端",
  22235. "type": "integer"
  22236. },
  22237. "audittime": {
  22238. "description": "审核时间",
  22239. "type": "string"
  22240. },
  22241. "audittradedate": {
  22242. "description": "审核交易日(yyyyMMdd)",
  22243. "type": "string"
  22244. },
  22245. "createtime": {
  22246. "description": "申请时间",
  22247. "type": "string"
  22248. },
  22249. "curprice": {
  22250. "description": "当前市场价",
  22251. "type": "number"
  22252. },
  22253. "curstock": {
  22254. "description": "期末库存量 = 采购总量 - 销售总量",
  22255. "type": "number"
  22256. },
  22257. "deliverygoodsid": {
  22258. "description": "现货品种ID",
  22259. "type": "integer"
  22260. },
  22261. "enddate": {
  22262. "description": "完成日期",
  22263. "type": "string"
  22264. },
  22265. "endtradedate": {
  22266. "description": "完成交易日",
  22267. "type": "string"
  22268. },
  22269. "enumdicname": {
  22270. "description": "单位",
  22271. "type": "string"
  22272. },
  22273. "exeamount": {
  22274. "description": "执行市价总额",
  22275. "type": "number"
  22276. },
  22277. "exeavgprice": {
  22278. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22279. "type": "number"
  22280. },
  22281. "execontractamount": {
  22282. "description": "执行定价总额",
  22283. "type": "number"
  22284. },
  22285. "exeqty": {
  22286. "description": "执行现货量",
  22287. "type": "number"
  22288. },
  22289. "exerestamount": {
  22290. "description": "执行剩余市价总额【现货贸易】",
  22291. "type": "number"
  22292. },
  22293. "futurefloatpl": {
  22294. "description": "期货浮动损益",
  22295. "type": "number"
  22296. },
  22297. "futurehedgepl": {
  22298. "description": "期货实际损益",
  22299. "type": "number"
  22300. },
  22301. "futurehedgeplchange": {
  22302. "description": "期货实际损益变动",
  22303. "type": "number"
  22304. },
  22305. "futurepl": {
  22306. "description": "期货套期损益",
  22307. "type": "number"
  22308. },
  22309. "futureplchange": {
  22310. "description": "期货套期损益变动",
  22311. "type": "number"
  22312. },
  22313. "hedgeamount": {
  22314. "description": "套期市价总额",
  22315. "type": "number"
  22316. },
  22317. "hedgecontractamount": {
  22318. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22319. "type": "number"
  22320. },
  22321. "hedgeditemid": {
  22322. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22323. "type": "string"
  22324. },
  22325. "hedgeditemname": {
  22326. "description": "项目名称",
  22327. "type": "string"
  22328. },
  22329. "hedgeditemnum": {
  22330. "description": "项目编号",
  22331. "type": "string"
  22332. },
  22333. "hedgeditemstatus": {
  22334. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22335. "type": "integer"
  22336. },
  22337. "hedgedtype": {
  22338. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22339. "type": "integer"
  22340. },
  22341. "hedgeqty": {
  22342. "description": "套期现货量",
  22343. "type": "number"
  22344. },
  22345. "hedgerate": {
  22346. "description": "套保比率",
  22347. "type": "number"
  22348. },
  22349. "hedgerestamount": {
  22350. "description": "套期剩余市价总额【现货贸易】",
  22351. "type": "number"
  22352. },
  22353. "hedgesumpl": {
  22354. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22355. "type": "number"
  22356. },
  22357. "middlegoodslist": {
  22358. "description": "套期商品列表",
  22359. "type": "array",
  22360. "items": {
  22361. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22362. }
  22363. },
  22364. "oriavgprice": {
  22365. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22366. "type": "number"
  22367. },
  22368. "orifuturehedgepl": {
  22369. "description": "期初期货实际损益",
  22370. "type": "number"
  22371. },
  22372. "orifuturepl": {
  22373. "description": "期初期货套期损益",
  22374. "type": "number"
  22375. },
  22376. "orispothedgepl": {
  22377. "description": "期初现货实际损益",
  22378. "type": "number"
  22379. },
  22380. "orispotpl": {
  22381. "description": "期初现货套期损益",
  22382. "type": "number"
  22383. },
  22384. "planenddate": {
  22385. "description": "计划结束日期",
  22386. "type": "string"
  22387. },
  22388. "planstartdate": {
  22389. "description": "计划开始日期",
  22390. "type": "string"
  22391. },
  22392. "remark": {
  22393. "description": "备注",
  22394. "type": "string"
  22395. },
  22396. "spotbookamount": {
  22397. "description": "现货账面总额",
  22398. "type": "number"
  22399. },
  22400. "spotfloatpl": {
  22401. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22402. "type": "number"
  22403. },
  22404. "spothedgepl": {
  22405. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22406. "type": "number"
  22407. },
  22408. "spothedgeplchange": {
  22409. "description": "现货实际损益变动",
  22410. "type": "number"
  22411. },
  22412. "spotpl": {
  22413. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22414. "type": "number"
  22415. },
  22416. "spotplchange": {
  22417. "description": "现货套期损益变动",
  22418. "type": "number"
  22419. },
  22420. "spottradepl": {
  22421. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22422. "type": "number"
  22423. },
  22424. "sumobspl": {
  22425. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22426. "type": "number"
  22427. },
  22428. "tradeuserid": {
  22429. "description": "交易用户ID",
  22430. "type": "integer"
  22431. },
  22432. "unexeqty": {
  22433. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22434. "type": "number"
  22435. },
  22436. "updatetime": {
  22437. "description": "更新时间",
  22438. "type": "string"
  22439. },
  22440. "vatpl": {
  22441. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22442. "type": "number"
  22443. },
  22444. "vatrate": {
  22445. "description": "增值税",
  22446. "type": "number"
  22447. },
  22448. "wrstandardid": {
  22449. "description": "现货商品ID",
  22450. "type": "integer"
  22451. },
  22452. "wrstandardname": {
  22453. "description": "商品名称",
  22454. "type": "string"
  22455. }
  22456. }
  22457. },
  22458. "models.Ermcp2hedgeditemlink": {
  22459. "type": "object",
  22460. "required": [
  22461. "relatedspotcontractid"
  22462. ],
  22463. "properties": {
  22464. "areauserid": {
  22465. "description": "企业ID",
  22466. "type": "integer"
  22467. },
  22468. "createtime": {
  22469. "description": "[关联时间]创建时间",
  22470. "type": "string"
  22471. },
  22472. "customeruserid": {
  22473. "description": "对手方 【3:采购合同 4:销售合同】",
  22474. "type": "integer"
  22475. },
  22476. "deliverygoodsid": {
  22477. "description": "现货品种ID",
  22478. "type": "integer"
  22479. },
  22480. "enumdicname": {
  22481. "description": "单位",
  22482. "type": "string"
  22483. },
  22484. "hedgeditemid": {
  22485. "description": "被套期项目ID",
  22486. "type": "integer"
  22487. },
  22488. "hedgeditemlinkid": {
  22489. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22490. "type": "integer"
  22491. },
  22492. "hedgeditemnum": {
  22493. "description": "项目编号",
  22494. "type": "string"
  22495. },
  22496. "hedgedtype": {
  22497. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22498. "type": "integer"
  22499. },
  22500. "relatedamount": {
  22501. "description": "市价总额 = 关联数量 * 期初市场价",
  22502. "type": "number"
  22503. },
  22504. "relatedhedgeplanid": {
  22505. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22506. "type": "integer"
  22507. },
  22508. "relatedqty": {
  22509. "description": "关联数量",
  22510. "type": "number"
  22511. },
  22512. "relatedspotcontractid": {
  22513. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22514. "type": "integer"
  22515. },
  22516. "relatedtype": {
  22517. "description": "关联类型 - 1:套期关联 2:执行关联",
  22518. "type": "integer"
  22519. },
  22520. "spotgoodsbrandid": {
  22521. "description": "现货品牌ID",
  22522. "type": "integer"
  22523. },
  22524. "spotpricedamount": {
  22525. "description": "[关联定价总额]定价总额",
  22526. "type": "number"
  22527. },
  22528. "spotpricedavgprice": {
  22529. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22530. "type": "number"
  22531. },
  22532. "spottype": {
  22533. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22534. "type": "integer"
  22535. },
  22536. "tradeuserid": {
  22537. "description": "交易用户ID",
  22538. "type": "integer"
  22539. },
  22540. "unexeqty": {
  22541. "description": "未执行现货量【项目关联时值】",
  22542. "type": "number"
  22543. },
  22544. "wrstandardid": {
  22545. "description": "现货商品ID",
  22546. "type": "integer"
  22547. },
  22548. "wrstandardname": {
  22549. "description": "现货商品",
  22550. "type": "string"
  22551. }
  22552. }
  22553. },
  22554. "models.Ermcp2hedgeditemsDetail": {
  22555. "type": "object",
  22556. "properties": {
  22557. "accountname": {
  22558. "description": "套期主体",
  22559. "type": "string"
  22560. },
  22561. "areauserid": {
  22562. "description": "企业ID",
  22563. "type": "integer"
  22564. },
  22565. "createtime": {
  22566. "description": "[日期时间]创建时间",
  22567. "type": "string"
  22568. },
  22569. "customeruserid": {
  22570. "description": "对手方 【3:采购合同 4:销售合同】",
  22571. "type": "integer"
  22572. },
  22573. "deliverygoodsid": {
  22574. "description": "现货品种ID",
  22575. "type": "integer"
  22576. },
  22577. "enumdicname": {
  22578. "description": "单位",
  22579. "type": "string"
  22580. },
  22581. "hedgeditemid": {
  22582. "description": "被套期项目ID",
  22583. "type": "string"
  22584. },
  22585. "hedgeditemspotid": {
  22586. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22587. "type": "string"
  22588. },
  22589. "hedgedtype": {
  22590. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22591. "type": "integer"
  22592. },
  22593. "hedgeplanno": {
  22594. "description": "计划编号",
  22595. "type": "string"
  22596. },
  22597. "middlegoodschange": {
  22598. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22599. "type": "number"
  22600. },
  22601. "oriavgprice": {
  22602. "description": "期初市场价[当初市场价]",
  22603. "type": "number"
  22604. },
  22605. "relatedamount": {
  22606. "description": "市价总额 = 关联数量 * 期初市场价",
  22607. "type": "number"
  22608. },
  22609. "relatedhedgeplanid": {
  22610. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22611. "type": "integer"
  22612. },
  22613. "relatedqty": {
  22614. "description": "[期间变化量]关联数量",
  22615. "type": "number"
  22616. },
  22617. "relatedspotcontractid": {
  22618. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22619. "type": "integer"
  22620. },
  22621. "relatedtype": {
  22622. "description": "关联类型 - 1:套期关联 2:执行关联",
  22623. "type": "integer"
  22624. },
  22625. "spotgoodsbrandid": {
  22626. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22627. "type": "integer"
  22628. },
  22629. "spotpricedamount": {
  22630. "description": "定价总额",
  22631. "type": "number"
  22632. },
  22633. "spotpricedavgprice": {
  22634. "description": "现货均价 = 定价总额 / 关联数量",
  22635. "type": "number"
  22636. },
  22637. "spottype": {
  22638. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22639. "type": "integer"
  22640. },
  22641. "tradeuserid": {
  22642. "description": "交易用户ID",
  22643. "type": "integer"
  22644. },
  22645. "unexeqty": {
  22646. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22647. "type": "number"
  22648. },
  22649. "wrstandardid": {
  22650. "description": "现货商品ID",
  22651. "type": "integer"
  22652. },
  22653. "wrstandardname": {
  22654. "description": "现货商品",
  22655. "type": "string"
  22656. }
  22657. }
  22658. },
  22659. "models.Ermcp2hedgeditemspot": {
  22660. "type": "object",
  22661. "required": [
  22662. "hedgeditemid"
  22663. ],
  22664. "properties": {
  22665. "areauserid": {
  22666. "description": "企业ID",
  22667. "type": "integer"
  22668. },
  22669. "createtime": {
  22670. "description": "创建时间",
  22671. "type": "string"
  22672. },
  22673. "customeruserid": {
  22674. "description": "对手方 【3:采购合同 4:销售合同】",
  22675. "type": "integer"
  22676. },
  22677. "deliverygoodsid": {
  22678. "description": "现货品种ID",
  22679. "type": "integer"
  22680. },
  22681. "enumdicname": {
  22682. "description": "单位",
  22683. "type": "string"
  22684. },
  22685. "hedgeditemid": {
  22686. "description": "被套期项目ID",
  22687. "type": "string"
  22688. },
  22689. "hedgeditemspotid": {
  22690. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22691. "type": "string"
  22692. },
  22693. "hedgedtype": {
  22694. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22695. "type": "integer"
  22696. },
  22697. "hedgeplanno": {
  22698. "description": "计划编号",
  22699. "type": "string"
  22700. },
  22701. "oriavgprice": {
  22702. "description": "期初市场价[当初市场价]",
  22703. "type": "number"
  22704. },
  22705. "relatedamount": {
  22706. "description": "市价总额 = 关联数量 * 期初市场价",
  22707. "type": "number"
  22708. },
  22709. "relatedhedgeplanid": {
  22710. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22711. "type": "integer"
  22712. },
  22713. "relatedqty": {
  22714. "description": "关联数量[数量]",
  22715. "type": "number"
  22716. },
  22717. "relatedspotcontractid": {
  22718. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22719. "type": "integer"
  22720. },
  22721. "relatedtype": {
  22722. "description": "关联类型 - 1:套期关联 2:执行关联",
  22723. "type": "integer"
  22724. },
  22725. "spotgoodsbrandid": {
  22726. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22727. "type": "integer"
  22728. },
  22729. "spotpricedamount": {
  22730. "description": "定价总额",
  22731. "type": "number"
  22732. },
  22733. "spotpricedavgprice": {
  22734. "description": "现货均价 = 定价总额 / 关联数量",
  22735. "type": "number"
  22736. },
  22737. "spottype": {
  22738. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22739. "type": "integer"
  22740. },
  22741. "tradeuserid": {
  22742. "description": "交易用户ID",
  22743. "type": "integer"
  22744. },
  22745. "wrstandardid": {
  22746. "description": "现货商品ID",
  22747. "type": "integer"
  22748. },
  22749. "wrstandardname": {
  22750. "description": "现货商品",
  22751. "type": "string"
  22752. }
  22753. }
  22754. },
  22755. "models.Ermcp2hedgeditemspotDetail": {
  22756. "type": "object",
  22757. "required": [
  22758. "hedgeditemid"
  22759. ],
  22760. "properties": {
  22761. "accountname": {
  22762. "description": "对手方",
  22763. "type": "string"
  22764. },
  22765. "areauserid": {
  22766. "description": "企业ID",
  22767. "type": "integer"
  22768. },
  22769. "brandname": {
  22770. "description": "品牌",
  22771. "type": "string"
  22772. },
  22773. "contractno": {
  22774. "description": "合同编号",
  22775. "type": "string"
  22776. },
  22777. "createtime": {
  22778. "description": "创建时间",
  22779. "type": "string"
  22780. },
  22781. "customeruserid": {
  22782. "description": "对手方 【3:采购合同 4:销售合同】",
  22783. "type": "integer"
  22784. },
  22785. "deliverygoodsid": {
  22786. "description": "现货品种ID",
  22787. "type": "integer"
  22788. },
  22789. "enumdicname": {
  22790. "description": "单位",
  22791. "type": "string"
  22792. },
  22793. "hedgeditemid": {
  22794. "description": "被套期项目ID",
  22795. "type": "string"
  22796. },
  22797. "hedgeditemspotid": {
  22798. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22799. "type": "string"
  22800. },
  22801. "hedgedtype": {
  22802. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22803. "type": "integer"
  22804. },
  22805. "oriavgprice": {
  22806. "description": "期初市场价[当初市场价]",
  22807. "type": "number"
  22808. },
  22809. "relatedamount": {
  22810. "description": "市价总额 = 关联数量 * 期初市场价",
  22811. "type": "number"
  22812. },
  22813. "relatedhedgeplanid": {
  22814. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22815. "type": "integer"
  22816. },
  22817. "relatedqty": {
  22818. "description": "关联数量[数量]",
  22819. "type": "number"
  22820. },
  22821. "relatedspotcontractid": {
  22822. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22823. "type": "integer"
  22824. },
  22825. "relatedtype": {
  22826. "description": "关联类型 - 1:套期关联 2:执行关联",
  22827. "type": "integer"
  22828. },
  22829. "spotgoodsbrandid": {
  22830. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22831. "type": "integer"
  22832. },
  22833. "spotpricedamount": {
  22834. "description": "定价总额[金额]",
  22835. "type": "number"
  22836. },
  22837. "spotpricedavgprice": {
  22838. "description": "现货均价 = 定价总额 / 关联数量",
  22839. "type": "number"
  22840. },
  22841. "spottype": {
  22842. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22843. "type": "integer"
  22844. },
  22845. "tradeuserid": {
  22846. "description": "交易用户ID",
  22847. "type": "integer"
  22848. },
  22849. "wrstandardid": {
  22850. "description": "现货商品ID",
  22851. "type": "integer"
  22852. },
  22853. "wrstandardname": {
  22854. "description": "现货商品",
  22855. "type": "string"
  22856. }
  22857. }
  22858. },
  22859. "models.Ermcp2himiddlegoods": {
  22860. "type": "object",
  22861. "required": [
  22862. "hedgeditemid",
  22863. "middlegoodsid"
  22864. ],
  22865. "properties": {
  22866. "futurehedgeqty": {
  22867. "description": "期货持仓套期量",
  22868. "type": "number"
  22869. },
  22870. "hedgeditemid": {
  22871. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22872. "type": "integer"
  22873. },
  22874. "hiexpsoure": {
  22875. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22876. "type": "number"
  22877. },
  22878. "middlegoodscode": {
  22879. "description": "套保商品代码",
  22880. "type": "string"
  22881. },
  22882. "middlegoodsid": {
  22883. "description": "套保品种ID",
  22884. "type": "integer"
  22885. },
  22886. "middlegoodsname": {
  22887. "description": "套保商品名称",
  22888. "type": "string"
  22889. },
  22890. "unexehedgeqty": {
  22891. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22892. "type": "number"
  22893. }
  22894. }
  22895. },
  22896. "models.Ermcp2stockspotchangelog": {
  22897. "type": "object",
  22898. "properties": {
  22899. "accountname": {
  22900. "description": "套期主体",
  22901. "type": "string"
  22902. },
  22903. "aftervalue": {
  22904. "description": "现货量",
  22905. "type": "number"
  22906. },
  22907. "beforevalue": {
  22908. "description": "变更前现货量",
  22909. "type": "number"
  22910. },
  22911. "contractno": {
  22912. "description": "[编号]现货合同编号",
  22913. "type": "string"
  22914. },
  22915. "contracttype": {
  22916. "description": "现货合同类型 - 1:采购 -1:销售",
  22917. "type": "integer"
  22918. },
  22919. "createtime": {
  22920. "description": "创建时间",
  22921. "type": "string"
  22922. },
  22923. "customerusername": {
  22924. "description": "对手方",
  22925. "type": "string"
  22926. },
  22927. "deliverygoodsid": {
  22928. "description": "现货品种ID",
  22929. "type": "integer"
  22930. },
  22931. "exetype": {
  22932. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22933. "type": "integer"
  22934. },
  22935. "logid": {
  22936. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22937. "type": "string"
  22938. },
  22939. "logvalue": {
  22940. "description": "[期间变化量]现货量变更值",
  22941. "type": "number"
  22942. },
  22943. "middlegoodschange": {
  22944. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22945. "type": "number"
  22946. },
  22947. "operatelogtype": {
  22948. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22949. "type": "integer"
  22950. },
  22951. "relatedid": {
  22952. "description": "现货合同ID",
  22953. "type": "integer"
  22954. },
  22955. "spotgoodsbrandid": {
  22956. "description": "现货品牌ID",
  22957. "type": "integer"
  22958. },
  22959. "tradedate": {
  22960. "description": "交易日(yyyyMMdd)",
  22961. "type": "string"
  22962. },
  22963. "userid": {
  22964. "description": "机构ID",
  22965. "type": "integer"
  22966. },
  22967. "warehouseinfoid": {
  22968. "description": "仓库ID",
  22969. "type": "integer"
  22970. },
  22971. "wrfactortypeid": {
  22972. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22973. "type": "integer"
  22974. },
  22975. "wrstandardid": {
  22976. "description": "现货商品ID",
  22977. "type": "integer"
  22978. },
  22979. "wrstandardname": {
  22980. "description": "商品名称",
  22981. "type": "string"
  22982. }
  22983. }
  22984. },
  22985. "models.Ermcp3AreaSpot": {
  22986. "type": "object",
  22987. "properties": {
  22988. "areauserid": {
  22989. "description": "所属机构",
  22990. "type": "integer"
  22991. },
  22992. "convertratio": {
  22993. "description": "套保系数",
  22994. "type": "number"
  22995. },
  22996. "decreaseqty": {
  22997. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22998. "type": "number"
  22999. },
  23000. "enumdicname": {
  23001. "description": "单位名称",
  23002. "type": "string"
  23003. },
  23004. "increaseqty": {
  23005. "description": "增加数量=销售计划数量+采购已定价数量",
  23006. "type": "number"
  23007. },
  23008. "oritoalspotqty": {
  23009. "description": "昨日数量",
  23010. "type": "number"
  23011. },
  23012. "totalspotqty": {
  23013. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  23014. "type": "number"
  23015. },
  23016. "unitid": {
  23017. "description": "现货商品单位id",
  23018. "type": "integer"
  23019. },
  23020. "updatetime": {
  23021. "description": "更新时间",
  23022. "type": "string"
  23023. },
  23024. "wrstandardcode": {
  23025. "description": "现货商品代码",
  23026. "type": "string"
  23027. },
  23028. "wrstandardid": {
  23029. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23030. "type": "integer"
  23031. },
  23032. "wrstandardname": {
  23033. "description": "现货商品名称",
  23034. "type": "string"
  23035. }
  23036. }
  23037. },
  23038. "models.Ermcp3AreaSpotDetail": {
  23039. "type": "object",
  23040. "properties": {
  23041. "contracttype": {
  23042. "description": "合同类型 1-采购 -1-销售",
  23043. "type": "integer"
  23044. },
  23045. "createtime": {
  23046. "description": "创建时间",
  23047. "type": "string"
  23048. },
  23049. "enumdicname": {
  23050. "description": "现货商品单位名称",
  23051. "type": "string"
  23052. },
  23053. "logtype": {
  23054. "description": "记录类型 1-套保 2-现货合同",
  23055. "type": "integer"
  23056. },
  23057. "qty": {
  23058. "description": "数量",
  23059. "type": "number"
  23060. },
  23061. "recordname": {
  23062. "description": "类型名称",
  23063. "type": "string"
  23064. },
  23065. "relatedid": {
  23066. "description": "套保计划ID/现货合同ID",
  23067. "type": "string"
  23068. },
  23069. "relatedno": {
  23070. "description": "编号",
  23071. "type": "string"
  23072. },
  23073. "strtime": {
  23074. "description": "时间",
  23075. "type": "string"
  23076. },
  23077. "wrstandardcode": {
  23078. "description": "现货商品代码",
  23079. "type": "string"
  23080. },
  23081. "wrstandardid": {
  23082. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23083. "type": "integer"
  23084. },
  23085. "wrstandardname": {
  23086. "description": "现货商品名称",
  23087. "type": "string"
  23088. }
  23089. }
  23090. },
  23091. "models.Ermcp3AreaSpotPLReport": {
  23092. "type": "object",
  23093. "properties": {
  23094. "accountid": {
  23095. "description": "期货账户ID (作废, 默认为0)",
  23096. "type": "integer"
  23097. },
  23098. "accountname": {
  23099. "description": "机构名称",
  23100. "type": "string"
  23101. },
  23102. "actualpl": {
  23103. "description": "现货损益",
  23104. "type": "number"
  23105. },
  23106. "areauserid": {
  23107. "description": "所属机构\\交易用户ID",
  23108. "type": "integer"
  23109. },
  23110. "begindate": {
  23111. "description": "开始交易日",
  23112. "type": "string"
  23113. },
  23114. "biztype": {
  23115. "description": "业务类型 - 1:套保 2:套利",
  23116. "type": "integer"
  23117. },
  23118. "brandname": {
  23119. "description": "品牌名称",
  23120. "type": "string"
  23121. },
  23122. "curamount": {
  23123. "description": "期末额",
  23124. "type": "number"
  23125. },
  23126. "curaverageprice": {
  23127. "description": "期初均价",
  23128. "type": "number"
  23129. },
  23130. "curbuyamount": {
  23131. "description": "期末采购总额",
  23132. "type": "number"
  23133. },
  23134. "curbuyqty": {
  23135. "description": "期末采购总量",
  23136. "type": "number"
  23137. },
  23138. "curmarketvalue": {
  23139. "description": "期初均价",
  23140. "type": "number"
  23141. },
  23142. "curqty": {
  23143. "description": "期末量",
  23144. "type": "number"
  23145. },
  23146. "currencyid": {
  23147. "description": "结算币种ID【原值】",
  23148. "type": "integer"
  23149. },
  23150. "currencyname": {
  23151. "description": "币种名称",
  23152. "type": "string"
  23153. },
  23154. "cursellamount": {
  23155. "description": "期末销售总额",
  23156. "type": "number"
  23157. },
  23158. "cursellqty": {
  23159. "description": "期末销售总量",
  23160. "type": "number"
  23161. },
  23162. "curspotprice": {
  23163. "description": "期初均价",
  23164. "type": "number"
  23165. },
  23166. "cycletime": {
  23167. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23168. "type": "string"
  23169. },
  23170. "cycletype": {
  23171. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23172. "type": "integer"
  23173. },
  23174. "deliverygoodscode": {
  23175. "description": "现货品种代码",
  23176. "type": "string"
  23177. },
  23178. "deliverygoodsid": {
  23179. "description": "现货品种ID",
  23180. "type": "integer"
  23181. },
  23182. "deliverygoodsname": {
  23183. "description": "现货品种名称",
  23184. "type": "string"
  23185. },
  23186. "enddate": {
  23187. "description": "结束交易日",
  23188. "type": "string"
  23189. },
  23190. "enumdicname": {
  23191. "description": "现货品种单位名称(作废)",
  23192. "type": "string"
  23193. },
  23194. "floatpl": {
  23195. "description": "期初均价",
  23196. "type": "number"
  23197. },
  23198. "goodsunitid": {
  23199. "description": "现货品种单位id(作废)",
  23200. "type": "integer"
  23201. },
  23202. "oriamount": {
  23203. "description": "期初额",
  23204. "type": "number"
  23205. },
  23206. "oriaverageprice": {
  23207. "description": "期初均价",
  23208. "type": "number"
  23209. },
  23210. "oribuyamount": {
  23211. "description": "期初采购总额",
  23212. "type": "number"
  23213. },
  23214. "oribuyqty": {
  23215. "description": "期初采购总量",
  23216. "type": "number"
  23217. },
  23218. "oriqty": {
  23219. "description": "期初量",
  23220. "type": "number"
  23221. },
  23222. "orisellamount": {
  23223. "description": "期初销售总额",
  23224. "type": "number"
  23225. },
  23226. "orisellqty": {
  23227. "description": "期初销售总量",
  23228. "type": "number"
  23229. },
  23230. "reckondate": {
  23231. "description": "日照时期(yyyyMMdd)",
  23232. "type": "string"
  23233. },
  23234. "spotgoodsbrandid": {
  23235. "description": "现货品牌ID",
  23236. "type": "integer"
  23237. },
  23238. "todaybuyamount": {
  23239. "description": "今日采购额(今采购额)",
  23240. "type": "number"
  23241. },
  23242. "todaybuyaverageprice": {
  23243. "description": "期初均价",
  23244. "type": "number"
  23245. },
  23246. "todaybuyqty": {
  23247. "description": "今日采购量(今采购量)",
  23248. "type": "number"
  23249. },
  23250. "todayinqty": {
  23251. "description": "今日入库量(今入库量)",
  23252. "type": "number"
  23253. },
  23254. "todayoutqty": {
  23255. "description": "今日出库量(今出库量)",
  23256. "type": "number"
  23257. },
  23258. "todaysellamount": {
  23259. "description": "今日销售额(今销售额)",
  23260. "type": "number"
  23261. },
  23262. "todaysellaverageprice": {
  23263. "description": "期初均价",
  23264. "type": "number"
  23265. },
  23266. "todaysellqty": {
  23267. "description": "今日销售量(今销售量)",
  23268. "type": "number"
  23269. },
  23270. "unitid": {
  23271. "description": "品类单位id",
  23272. "type": "integer"
  23273. },
  23274. "unitidname": {
  23275. "description": "品类单位名称",
  23276. "type": "string"
  23277. },
  23278. "updatetime": {
  23279. "description": "更新时间",
  23280. "type": "string"
  23281. },
  23282. "wrfactortypeid": {
  23283. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23284. "type": "integer"
  23285. },
  23286. "wrstandardcode": {
  23287. "description": "现货商品(品类)代码",
  23288. "type": "string"
  23289. },
  23290. "wrstandardid": {
  23291. "description": "现货品类ID",
  23292. "type": "integer"
  23293. },
  23294. "wrstandardname": {
  23295. "description": "现货商品(品类)名称",
  23296. "type": "string"
  23297. }
  23298. }
  23299. },
  23300. "models.Ermcp3AreaStock": {
  23301. "type": "object",
  23302. "required": [
  23303. "userid"
  23304. ],
  23305. "properties": {
  23306. "brandname": {
  23307. "description": "品牌名称",
  23308. "type": "string"
  23309. },
  23310. "curstock": {
  23311. "description": "期末库存量(今日量)",
  23312. "type": "number"
  23313. },
  23314. "deliverygoodscode": {
  23315. "description": "现货品种代码",
  23316. "type": "string"
  23317. },
  23318. "deliverygoodsid": {
  23319. "description": "现货品种id",
  23320. "type": "integer"
  23321. },
  23322. "deliverygoodsname": {
  23323. "description": "现货品种名称",
  23324. "type": "string"
  23325. },
  23326. "enumdicname": {
  23327. "description": "单位名称",
  23328. "type": "string"
  23329. },
  23330. "goodsunitid": {
  23331. "description": "现货商品单位id",
  23332. "type": "integer"
  23333. },
  23334. "oristock": {
  23335. "description": "期初库存量(昨日量)",
  23336. "type": "number"
  23337. },
  23338. "spotgoodsbrandid": {
  23339. "description": "现货品牌ID",
  23340. "type": "integer"
  23341. },
  23342. "todaybuyinqty": {
  23343. "description": "今日采购入库量",
  23344. "type": "number"
  23345. },
  23346. "todayproduceinqty": {
  23347. "description": "今日生产入库量",
  23348. "type": "number"
  23349. },
  23350. "todayproduceoutqty": {
  23351. "description": "今日生产出库量",
  23352. "type": "number"
  23353. },
  23354. "todayselloutqty": {
  23355. "description": "今日销售出库量",
  23356. "type": "number"
  23357. },
  23358. "unitid": {
  23359. "description": "单位id",
  23360. "type": "integer"
  23361. },
  23362. "updatetime": {
  23363. "description": "更新时间",
  23364. "type": "string"
  23365. },
  23366. "userid": {
  23367. "description": "机构ID",
  23368. "type": "integer"
  23369. },
  23370. "username": {
  23371. "description": "机构名称",
  23372. "type": "string"
  23373. },
  23374. "warehousecode": {
  23375. "description": "仓库代码",
  23376. "type": "string"
  23377. },
  23378. "warehouseinfoid": {
  23379. "description": "仓库ID",
  23380. "type": "string"
  23381. },
  23382. "warehousename": {
  23383. "description": "仓库名称",
  23384. "type": "string"
  23385. },
  23386. "warehousetype": {
  23387. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23388. "type": "integer"
  23389. },
  23390. "wrstandardcode": {
  23391. "description": "品类代码",
  23392. "type": "string"
  23393. },
  23394. "wrstandardid": {
  23395. "description": "品类ID",
  23396. "type": "string"
  23397. },
  23398. "wrstandardname": {
  23399. "description": "品类名称",
  23400. "type": "string"
  23401. }
  23402. }
  23403. },
  23404. "models.Ermcp3AreaStockApply": {
  23405. "type": "object",
  23406. "properties": {
  23407. "applyid": {
  23408. "description": "申请人",
  23409. "type": "integer"
  23410. },
  23411. "applyname": {
  23412. "description": "申请人名称",
  23413. "type": "string"
  23414. },
  23415. "applyremark": {
  23416. "description": "申请备注",
  23417. "type": "string"
  23418. },
  23419. "applysrc": {
  23420. "description": "申请来源 - 1:管理端 2:终端",
  23421. "type": "integer"
  23422. },
  23423. "applystatus": {
  23424. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23425. "type": "integer"
  23426. },
  23427. "applytime": {
  23428. "description": "申请时间",
  23429. "type": "string"
  23430. },
  23431. "auditid": {
  23432. "description": "审核人",
  23433. "type": "integer"
  23434. },
  23435. "auditname": {
  23436. "description": "审核人名称",
  23437. "type": "string"
  23438. },
  23439. "auditremark": {
  23440. "description": "审核备注",
  23441. "type": "string"
  23442. },
  23443. "auditsrc": {
  23444. "description": "审核来源 - 1:管理端 2:终端",
  23445. "type": "integer"
  23446. },
  23447. "audittime": {
  23448. "description": "审核时间",
  23449. "type": "string"
  23450. },
  23451. "audittradedate": {
  23452. "description": "审核交易日(yyyyMMdd)",
  23453. "type": "string"
  23454. },
  23455. "brandname": {
  23456. "description": "品牌名称",
  23457. "type": "string"
  23458. },
  23459. "buynickname": {
  23460. "description": "采购方昵称",
  23461. "type": "string"
  23462. },
  23463. "buyuserid": {
  23464. "description": "采购方userid",
  23465. "type": "integer"
  23466. },
  23467. "buyusername": {
  23468. "description": "采购方名称",
  23469. "type": "string"
  23470. },
  23471. "contractno": {
  23472. "description": "合同编号",
  23473. "type": "string"
  23474. },
  23475. "contractqty": {
  23476. "description": "合同量",
  23477. "type": "number"
  23478. },
  23479. "contracttype": {
  23480. "description": "现货合同类型 - 1:采购 -1:销售",
  23481. "type": "integer"
  23482. },
  23483. "deliverygoodscode": {
  23484. "description": "现货品种代码",
  23485. "type": "string"
  23486. },
  23487. "deliverygoodsid": {
  23488. "description": "现货品种id",
  23489. "type": "integer"
  23490. },
  23491. "deliverygoodsname": {
  23492. "description": "现货品种名称",
  23493. "type": "string"
  23494. },
  23495. "detailjson": {
  23496. "description": "明细数据",
  23497. "type": "string"
  23498. },
  23499. "enumdicname": {
  23500. "description": "现货商品单位名称",
  23501. "type": "string"
  23502. },
  23503. "inoutapplyid": {
  23504. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23505. "type": "string"
  23506. },
  23507. "inouttype": {
  23508. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23509. "type": "integer"
  23510. },
  23511. "pricetype": {
  23512. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23513. "type": "integer"
  23514. },
  23515. "qty": {
  23516. "description": "数量",
  23517. "type": "number"
  23518. },
  23519. "sellnickname": {
  23520. "description": "销售方昵称",
  23521. "type": "string"
  23522. },
  23523. "selluserid": {
  23524. "description": "销售方userid",
  23525. "type": "integer"
  23526. },
  23527. "sellusername": {
  23528. "description": "销售方名称",
  23529. "type": "string"
  23530. },
  23531. "spotcontractid": {
  23532. "description": "关联现货合同ID",
  23533. "type": "string"
  23534. },
  23535. "spotgoodsbrandid": {
  23536. "description": "现货品牌ID",
  23537. "type": "integer"
  23538. },
  23539. "unitid": {
  23540. "description": "单位id",
  23541. "type": "integer"
  23542. },
  23543. "userid": {
  23544. "description": "机构ID",
  23545. "type": "integer"
  23546. },
  23547. "warehousecode": {
  23548. "description": "仓库代码",
  23549. "type": "string"
  23550. },
  23551. "warehouseinfoid": {
  23552. "description": "现货仓库ID",
  23553. "type": "string"
  23554. },
  23555. "warehousename": {
  23556. "description": "仓库名称",
  23557. "type": "string"
  23558. },
  23559. "warehousetype": {
  23560. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23561. "type": "integer"
  23562. },
  23563. "wrstandardcode": {
  23564. "description": "品类代码",
  23565. "type": "string"
  23566. },
  23567. "wrstandardid": {
  23568. "description": "品类ID",
  23569. "type": "integer"
  23570. },
  23571. "wrstandardname": {
  23572. "description": "品类名称",
  23573. "type": "string"
  23574. }
  23575. }
  23576. },
  23577. "models.Ermcp3AreaStockApplySum": {
  23578. "type": "object",
  23579. "properties": {
  23580. "brandname": {
  23581. "description": "品牌名称",
  23582. "type": "string"
  23583. },
  23584. "inouttype": {
  23585. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23586. "type": "integer"
  23587. },
  23588. "spotcontractid": {
  23589. "description": "关联现货合同ID",
  23590. "type": "string"
  23591. },
  23592. "spotgoodsbrandid": {
  23593. "description": "品牌id",
  23594. "type": "integer"
  23595. },
  23596. "totalqty": {
  23597. "description": "总数量",
  23598. "type": "number"
  23599. },
  23600. "wrstandardid": {
  23601. "description": "品类id",
  23602. "type": "integer"
  23603. },
  23604. "wrstandardname": {
  23605. "description": "品类名称",
  23606. "type": "string"
  23607. }
  23608. }
  23609. },
  23610. "models.Ermcp3AreaStockReportEx": {
  23611. "type": "object",
  23612. "properties": {
  23613. "begindate": {
  23614. "description": "开始交易日",
  23615. "type": "string"
  23616. },
  23617. "brandname": {
  23618. "description": "品牌名称",
  23619. "type": "string"
  23620. },
  23621. "curstock": {
  23622. "description": "期末库存量",
  23623. "type": "number"
  23624. },
  23625. "cycletime": {
  23626. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23627. "type": "string"
  23628. },
  23629. "cycletype": {
  23630. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23631. "type": "integer"
  23632. },
  23633. "deliverygoodscode": {
  23634. "description": "现货品种代码",
  23635. "type": "string"
  23636. },
  23637. "deliverygoodsid": {
  23638. "description": "现货品种id",
  23639. "type": "integer"
  23640. },
  23641. "deliverygoodsname": {
  23642. "description": "现货品种名称",
  23643. "type": "string"
  23644. },
  23645. "diffqty": {
  23646. "description": "库存变化量 = 期末 - 期初",
  23647. "type": "number"
  23648. },
  23649. "enddate": {
  23650. "description": "结束交易日",
  23651. "type": "string"
  23652. },
  23653. "enumdicname": {
  23654. "description": "单位名称",
  23655. "type": "string"
  23656. },
  23657. "goodsunitid": {
  23658. "description": "现货单位id",
  23659. "type": "integer"
  23660. },
  23661. "oristock": {
  23662. "description": "期初库存量",
  23663. "type": "number"
  23664. },
  23665. "reckondate": {
  23666. "description": "日照时期(yyyyMMdd)",
  23667. "type": "string"
  23668. },
  23669. "spotgoodsbrandid": {
  23670. "description": "现货品牌ID",
  23671. "type": "integer"
  23672. },
  23673. "todaybuyinqty": {
  23674. "description": "今采购入库量",
  23675. "type": "number"
  23676. },
  23677. "todayproduceinqty": {
  23678. "description": "今内部入库量",
  23679. "type": "number"
  23680. },
  23681. "todayproduceoutqty": {
  23682. "description": "今内部出库量",
  23683. "type": "number"
  23684. },
  23685. "todayselloutqty": {
  23686. "description": "今销售出库量",
  23687. "type": "number"
  23688. },
  23689. "unbuyinqty": {
  23690. "description": "采购未入库量(数据库未找到相关字段?)",
  23691. "type": "number"
  23692. },
  23693. "unitid": {
  23694. "description": "品类单位id",
  23695. "type": "integer"
  23696. },
  23697. "unselloutqty": {
  23698. "description": "销售未出库量(数据库未找到相关字段?)",
  23699. "type": "number"
  23700. },
  23701. "updatetime": {
  23702. "description": "更新时间",
  23703. "type": "string"
  23704. },
  23705. "userid": {
  23706. "description": "机构ID",
  23707. "type": "integer"
  23708. },
  23709. "username": {
  23710. "description": "机构名称",
  23711. "type": "string"
  23712. },
  23713. "warehousecode": {
  23714. "description": "仓库代码",
  23715. "type": "string"
  23716. },
  23717. "warehouseinfoid": {
  23718. "description": "仓库ID",
  23719. "type": "string"
  23720. },
  23721. "warehousename": {
  23722. "description": "仓库名称",
  23723. "type": "string"
  23724. },
  23725. "warehousetype": {
  23726. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23727. "type": "integer"
  23728. },
  23729. "wrstandardcode": {
  23730. "description": "品类代码",
  23731. "type": "string"
  23732. },
  23733. "wrstandardid": {
  23734. "description": "品类ID",
  23735. "type": "integer"
  23736. },
  23737. "wrstandardname": {
  23738. "description": "品类名称",
  23739. "type": "string"
  23740. }
  23741. }
  23742. },
  23743. "models.Ermcp3ArealSumPL": {
  23744. "type": "object",
  23745. "properties": {
  23746. "accountname": {
  23747. "description": "机构名称",
  23748. "type": "string"
  23749. },
  23750. "areauserid": {
  23751. "description": "所属机构\\交易用户ID",
  23752. "type": "integer"
  23753. },
  23754. "begindate": {
  23755. "description": "开始交易日",
  23756. "type": "string"
  23757. },
  23758. "currencyid": {
  23759. "description": "结算币种ID",
  23760. "type": "integer"
  23761. },
  23762. "currencyname": {
  23763. "description": "币种名称",
  23764. "type": "string"
  23765. },
  23766. "cycletime": {
  23767. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23768. "type": "string"
  23769. },
  23770. "cycletype": {
  23771. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23772. "type": "integer"
  23773. },
  23774. "enddate": {
  23775. "description": "结束交易日",
  23776. "type": "string"
  23777. },
  23778. "enumdicname": {
  23779. "description": "单位名称(套保品种)",
  23780. "type": "string"
  23781. },
  23782. "futureactualpl": {
  23783. "description": "期货损益",
  23784. "type": "number"
  23785. },
  23786. "futurefloatpl": {
  23787. "description": "期货浮动损益",
  23788. "type": "number"
  23789. },
  23790. "futurespotratio": {
  23791. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23792. "type": "number"
  23793. },
  23794. "goodsunitid": {
  23795. "description": "套保品种单位id",
  23796. "type": "integer"
  23797. },
  23798. "hedgeexposurepl": {
  23799. "description": "套保敞口损益",
  23800. "type": "number"
  23801. },
  23802. "middlegoodscode": {
  23803. "description": "套保品种代码",
  23804. "type": "string"
  23805. },
  23806. "middlegoodsid": {
  23807. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23808. "type": "integer"
  23809. },
  23810. "middlegoodsname": {
  23811. "description": "套保品种名称",
  23812. "type": "string"
  23813. },
  23814. "reckondate": {
  23815. "description": "日照时期(yyyyMMdd)",
  23816. "type": "string"
  23817. },
  23818. "spotactualpl": {
  23819. "description": "现货损益",
  23820. "type": "number"
  23821. },
  23822. "spotfloatpl": {
  23823. "description": "现货浮动损益",
  23824. "type": "number"
  23825. },
  23826. "sumactualpl": {
  23827. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23828. "type": "number"
  23829. },
  23830. "sumpl": {
  23831. "description": "总敞口损益 | 汇总损益",
  23832. "type": "number"
  23833. },
  23834. "totalfutureqty": {
  23835. "description": "期货头寸总量",
  23836. "type": "number"
  23837. },
  23838. "totalneedhedgeqty": {
  23839. "description": "应套保总量",
  23840. "type": "number"
  23841. },
  23842. "totalspotqty": {
  23843. "description": "现货头寸总量",
  23844. "type": "number"
  23845. },
  23846. "updatetime": {
  23847. "description": "更新时间",
  23848. "type": "string"
  23849. }
  23850. }
  23851. },
  23852. "models.Ermcp3Brand": {
  23853. "type": "object",
  23854. "properties": {
  23855. "areauserid": {
  23856. "description": "用户id",
  23857. "type": "integer"
  23858. },
  23859. "brandid": {
  23860. "description": "品牌id",
  23861. "type": "integer"
  23862. },
  23863. "brandname": {
  23864. "description": "品牌名称",
  23865. "type": "string"
  23866. },
  23867. "deliverygoodsid": {
  23868. "description": "品种ID",
  23869. "type": "integer"
  23870. },
  23871. "isvalid": {
  23872. "description": "是否有效",
  23873. "type": "integer"
  23874. }
  23875. }
  23876. },
  23877. "models.Ermcp3Contract": {
  23878. "type": "object",
  23879. "properties": {
  23880. "accountid": {
  23881. "description": "期货账户id",
  23882. "type": "string"
  23883. },
  23884. "amount": {
  23885. "description": "金额 [1:一口价、3:暂定价]",
  23886. "type": "number"
  23887. },
  23888. "attachment": {
  23889. "description": "附件",
  23890. "type": "string"
  23891. },
  23892. "auditremark": {
  23893. "description": "审核意见",
  23894. "type": "string"
  23895. },
  23896. "audittime": {
  23897. "description": "审核时间",
  23898. "type": "string"
  23899. },
  23900. "biztype": {
  23901. "description": "业务类型 1-套保 2-套利",
  23902. "type": "integer"
  23903. },
  23904. "brandname": {
  23905. "description": "品牌名称",
  23906. "type": "string"
  23907. },
  23908. "buynickname": {
  23909. "description": "销售方昵称",
  23910. "type": "string"
  23911. },
  23912. "buyuserid": {
  23913. "description": "采购方ID",
  23914. "type": "integer"
  23915. },
  23916. "buyusername": {
  23917. "description": "采购方名称",
  23918. "type": "string"
  23919. },
  23920. "contracctstatus": {
  23921. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23922. "type": "integer"
  23923. },
  23924. "contractmargin": {
  23925. "description": "合同保证金",
  23926. "type": "number"
  23927. },
  23928. "contractno": {
  23929. "description": "现货合同编号",
  23930. "type": "string"
  23931. },
  23932. "contracttype": {
  23933. "description": "现货合同类型 - 1:采购 -1:销售",
  23934. "type": "integer"
  23935. },
  23936. "convertfactor": {
  23937. "description": "标仓系数(品类)",
  23938. "type": "number"
  23939. },
  23940. "createtime": {
  23941. "description": "创建时间",
  23942. "type": "string"
  23943. },
  23944. "currencyid": {
  23945. "description": "币种id",
  23946. "type": "integer"
  23947. },
  23948. "currencyname": {
  23949. "description": "币种名称",
  23950. "type": "string"
  23951. },
  23952. "deliveryenddate": {
  23953. "description": "交收期(结束)",
  23954. "type": "string"
  23955. },
  23956. "deliverygoodscode": {
  23957. "description": "现货品种代码",
  23958. "type": "string"
  23959. },
  23960. "deliverygoodsid": {
  23961. "description": "现货品种ID",
  23962. "type": "integer"
  23963. },
  23964. "deliverygoodsname": {
  23965. "description": "现货品种名称",
  23966. "type": "string"
  23967. },
  23968. "deliverystartdate": {
  23969. "description": "交收期(开始)",
  23970. "type": "string"
  23971. },
  23972. "enddate": {
  23973. "description": "点价结束日期 [2:点价 3:暂定价]",
  23974. "type": "string"
  23975. },
  23976. "enumdicname": {
  23977. "description": "单位名称",
  23978. "type": "string"
  23979. },
  23980. "goodscode": {
  23981. "description": "点价合约代码",
  23982. "type": "string"
  23983. },
  23984. "goodsid": {
  23985. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23986. "type": "integer"
  23987. },
  23988. "goodsname": {
  23989. "description": "点价商品名称",
  23990. "type": "string"
  23991. },
  23992. "margin": {
  23993. "description": "当前保证金",
  23994. "type": "number"
  23995. },
  23996. "meruserid": {
  23997. "description": "跟单员id",
  23998. "type": "integer"
  23999. },
  24000. "meruserlogincode": {
  24001. "description": "跟单员登录代码",
  24002. "type": "string"
  24003. },
  24004. "merusername": {
  24005. "description": "跟单员名称",
  24006. "type": "string"
  24007. },
  24008. "pointdesc": {
  24009. "description": "点价备注",
  24010. "type": "string"
  24011. },
  24012. "price": {
  24013. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  24014. "type": "number"
  24015. },
  24016. "pricemove": {
  24017. "description": "升贴水 [2:点价 3:暂定价]",
  24018. "type": "number"
  24019. },
  24020. "pricetype": {
  24021. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24022. "type": "integer"
  24023. },
  24024. "producttype": {
  24025. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24026. "type": "integer"
  24027. },
  24028. "qty": {
  24029. "description": "数量",
  24030. "type": "number"
  24031. },
  24032. "remark": {
  24033. "description": "备注",
  24034. "type": "string"
  24035. },
  24036. "saleuserid": {
  24037. "description": "业务员id",
  24038. "type": "integer"
  24039. },
  24040. "saleuserlogincode": {
  24041. "description": "业务员登录代码",
  24042. "type": "string"
  24043. },
  24044. "saleusername": {
  24045. "description": "业务员名称",
  24046. "type": "string"
  24047. },
  24048. "sellnickname": {
  24049. "description": "采购方昵称",
  24050. "type": "string"
  24051. },
  24052. "selluserid": {
  24053. "description": "销售方ID",
  24054. "type": "integer"
  24055. },
  24056. "sellusername": {
  24057. "description": "销售方名称",
  24058. "type": "string"
  24059. },
  24060. "spotcontractid": {
  24061. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24062. "type": "string"
  24063. },
  24064. "spotgoodsbrandid": {
  24065. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24066. "type": "integer"
  24067. },
  24068. "spotgoodsdesc": {
  24069. "description": "商品型号",
  24070. "type": "string"
  24071. },
  24072. "startdate": {
  24073. "description": "点价开始日期 [2:点价 3:暂定价]",
  24074. "type": "string"
  24075. },
  24076. "subjectid": {
  24077. "description": "交易主体ID",
  24078. "type": "integer"
  24079. },
  24080. "subjectname": {
  24081. "description": "交易主体名称",
  24082. "type": "string"
  24083. },
  24084. "tradeuserid": {
  24085. "description": "交易员id",
  24086. "type": "integer"
  24087. },
  24088. "tradeuserlogincode": {
  24089. "description": "交易员登录代码",
  24090. "type": "string"
  24091. },
  24092. "tradeusername": {
  24093. "description": "交易员名称",
  24094. "type": "string"
  24095. },
  24096. "unitid": {
  24097. "description": "单位id(取品类上的单位id)",
  24098. "type": "integer"
  24099. },
  24100. "updatetime": {
  24101. "description": "更新时间",
  24102. "type": "string"
  24103. },
  24104. "userid": {
  24105. "description": "所属机构ID",
  24106. "type": "integer"
  24107. },
  24108. "vatrate": {
  24109. "description": "增值税率",
  24110. "type": "number"
  24111. },
  24112. "wrstandardcode": {
  24113. "description": "品类代码",
  24114. "type": "string"
  24115. },
  24116. "wrstandardid": {
  24117. "description": "品类ID",
  24118. "type": "integer"
  24119. },
  24120. "wrstandardname": {
  24121. "description": "品类名称",
  24122. "type": "string"
  24123. }
  24124. }
  24125. },
  24126. "models.Ermcp3ContractMiddleGoodsCfg": {
  24127. "type": "object",
  24128. "properties": {
  24129. "agreeunit": {
  24130. "description": "合约乘数",
  24131. "type": "number"
  24132. },
  24133. "convertratio": {
  24134. "description": "期货品种系数",
  24135. "type": "number"
  24136. },
  24137. "covertqty": {
  24138. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  24139. "type": "integer"
  24140. },
  24141. "middlegoodsid": {
  24142. "description": "套保品种ID",
  24143. "type": "integer"
  24144. },
  24145. "middlegoodspricedqty3": {
  24146. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24147. "type": "string",
  24148. "example": "0"
  24149. },
  24150. "pendingpricedqty": {
  24151. "description": "待点价量",
  24152. "type": "string",
  24153. "example": "0"
  24154. },
  24155. "relatedmiddlegoodsqty": {
  24156. "description": "已关联量(套保品种-期货)",
  24157. "type": "string",
  24158. "example": "0"
  24159. },
  24160. "spotcontractid": {
  24161. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24162. "type": "string"
  24163. }
  24164. }
  24165. },
  24166. "models.Ermcp3ExposureContractDetail": {
  24167. "type": "object",
  24168. "properties": {
  24169. "biztype": {
  24170. "description": "业务类型 1-套保 2-套利",
  24171. "type": "integer"
  24172. },
  24173. "brandname": {
  24174. "description": "品牌名称",
  24175. "type": "string"
  24176. },
  24177. "buyuserid": {
  24178. "description": "采购方id",
  24179. "type": "integer"
  24180. },
  24181. "buyusername": {
  24182. "description": "采购方名称",
  24183. "type": "string"
  24184. },
  24185. "contractno": {
  24186. "description": "合同编号",
  24187. "type": "string"
  24188. },
  24189. "contracttype": {
  24190. "description": "现货合同类型 - 1:采购 -1:销售",
  24191. "type": "integer"
  24192. },
  24193. "convertfactor": {
  24194. "description": "标仓系数",
  24195. "type": "number"
  24196. },
  24197. "convertratio": {
  24198. "description": "折算系数(套保品种)",
  24199. "type": "number"
  24200. },
  24201. "curqty": {
  24202. "description": "今定价量",
  24203. "type": "number"
  24204. },
  24205. "deliverygoodscode": {
  24206. "description": "现货品种代码",
  24207. "type": "string"
  24208. },
  24209. "deliverygoodsid": {
  24210. "description": "现货品种id",
  24211. "type": "integer"
  24212. },
  24213. "deliverygoodsname": {
  24214. "description": "现货品种名称",
  24215. "type": "string"
  24216. },
  24217. "diffhedgeqty": {
  24218. "description": "套保变动量",
  24219. "type": "number"
  24220. },
  24221. "diffneedhedgeqty": {
  24222. "description": "应套保变动量",
  24223. "type": "number"
  24224. },
  24225. "diffqty": {
  24226. "description": "套保品种今变动量",
  24227. "type": "number"
  24228. },
  24229. "enumdicname": {
  24230. "description": "单位名称",
  24231. "type": "string"
  24232. },
  24233. "mgunitname": {
  24234. "description": "套保品种单位名称",
  24235. "type": "string"
  24236. },
  24237. "middlegoodscode": {
  24238. "description": "套保品种代码",
  24239. "type": "string"
  24240. },
  24241. "middlegoodsid": {
  24242. "description": "套保品种id",
  24243. "type": "integer"
  24244. },
  24245. "middlegoodsname": {
  24246. "description": "套保品种名称",
  24247. "type": "string"
  24248. },
  24249. "needarbitrageratio": {
  24250. "description": "应套利比例",
  24251. "type": "number"
  24252. },
  24253. "needhedgeratio": {
  24254. "description": "应套保比例",
  24255. "type": "number"
  24256. },
  24257. "pricedqty": {
  24258. "description": "已定价量",
  24259. "type": "number"
  24260. },
  24261. "qty": {
  24262. "description": "合同量",
  24263. "type": "number"
  24264. },
  24265. "reckondate": {
  24266. "description": "交易日(reckondate)",
  24267. "type": "string"
  24268. },
  24269. "selluserid": {
  24270. "description": "销售方id",
  24271. "type": "integer"
  24272. },
  24273. "sellusername": {
  24274. "description": "销售方名称",
  24275. "type": "string"
  24276. },
  24277. "spotcontractid": {
  24278. "description": "合同id",
  24279. "type": "string"
  24280. },
  24281. "todaypricedqty": {
  24282. "description": "今定价量",
  24283. "type": "number"
  24284. },
  24285. "tradedate": {
  24286. "description": "交易日",
  24287. "type": "string"
  24288. },
  24289. "unitid": {
  24290. "description": "品类单位id",
  24291. "type": "integer"
  24292. },
  24293. "userid": {
  24294. "description": "机构id",
  24295. "type": "integer"
  24296. },
  24297. "username": {
  24298. "description": "交易用户",
  24299. "type": "string"
  24300. },
  24301. "wrstandardcode": {
  24302. "description": "现货商品代码",
  24303. "type": "string"
  24304. },
  24305. "wrstandardid": {
  24306. "description": "现货商品id",
  24307. "type": "integer"
  24308. },
  24309. "wrstandardname": {
  24310. "description": "现货商品名称",
  24311. "type": "string"
  24312. }
  24313. }
  24314. },
  24315. "models.Ermcp3ExposureDetail": {
  24316. "type": "object",
  24317. "properties": {
  24318. "areauserid": {
  24319. "description": "机构ID",
  24320. "type": "integer"
  24321. },
  24322. "changeQty": {
  24323. "description": "套保变动量",
  24324. "type": "number"
  24325. },
  24326. "contracttype": {
  24327. "description": "现货合同类型 - 1:采购 -1:销售",
  24328. "type": "integer"
  24329. },
  24330. "convertfactor": {
  24331. "description": "标仓系数",
  24332. "type": "number"
  24333. },
  24334. "convertratio": {
  24335. "description": "折算系数",
  24336. "type": "number"
  24337. },
  24338. "createtime": {
  24339. "description": "时间",
  24340. "type": "string"
  24341. },
  24342. "enumdicname": {
  24343. "description": "现货商品单位名称",
  24344. "type": "string"
  24345. },
  24346. "logtype": {
  24347. "description": "类型 - 1:套保计划 2:现货合同",
  24348. "type": "integer"
  24349. },
  24350. "mgunitid": {
  24351. "description": "套保品种单位id",
  24352. "type": "integer"
  24353. },
  24354. "mgunitidname": {
  24355. "description": "套保品种单位名称",
  24356. "type": "string"
  24357. },
  24358. "middlegoodsId": {
  24359. "description": "套保商品id",
  24360. "type": "integer"
  24361. },
  24362. "middlegoodscode": {
  24363. "description": "套保商品代码",
  24364. "type": "string"
  24365. },
  24366. "middlegoodsname": {
  24367. "description": "套保商品名称",
  24368. "type": "string"
  24369. },
  24370. "qty": {
  24371. "description": "数量",
  24372. "type": "number"
  24373. },
  24374. "relateNo": {
  24375. "description": "现货合同/套保计划编号",
  24376. "type": "string"
  24377. },
  24378. "unitid": {
  24379. "description": "现货商品单位id",
  24380. "type": "integer"
  24381. },
  24382. "wrstandardcode": {
  24383. "description": "现货商品代码",
  24384. "type": "string"
  24385. },
  24386. "wrstandardid": {
  24387. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24388. "type": "integer"
  24389. },
  24390. "wrstandardname": {
  24391. "description": "现货商品名称",
  24392. "type": "string"
  24393. }
  24394. }
  24395. },
  24396. "models.Ermcp3ExposureFutuDetail": {
  24397. "type": "object",
  24398. "properties": {
  24399. "accountid": {
  24400. "description": "交易账户id",
  24401. "type": "integer"
  24402. },
  24403. "accountname": {
  24404. "description": "交易账户",
  24405. "type": "string"
  24406. },
  24407. "begindate": {
  24408. "description": "开始交易日",
  24409. "type": "string"
  24410. },
  24411. "buyorsell": {
  24412. "description": "方向 0-买 1-卖",
  24413. "type": "integer"
  24414. },
  24415. "diffmgqty": {
  24416. "description": "套保品种今变化量",
  24417. "type": "number"
  24418. },
  24419. "diffneedqty": {
  24420. "description": "应套保总量变化量",
  24421. "type": "number"
  24422. },
  24423. "difftradeqty": {
  24424. "description": "交易品种今变化量",
  24425. "type": "number"
  24426. },
  24427. "enddate": {
  24428. "description": "结束交易日",
  24429. "type": "string"
  24430. },
  24431. "enumdicname": {
  24432. "description": "单位名称",
  24433. "type": "string"
  24434. },
  24435. "goodscode": {
  24436. "description": "商品代码",
  24437. "type": "string"
  24438. },
  24439. "goodsid": {
  24440. "description": "商品id",
  24441. "type": "integer"
  24442. },
  24443. "goodsname": {
  24444. "description": "商品名称",
  24445. "type": "string"
  24446. },
  24447. "holdqty": {
  24448. "description": "期末持仓量",
  24449. "type": "number"
  24450. },
  24451. "middlegoodscode": {
  24452. "description": "套保商品代码",
  24453. "type": "string"
  24454. },
  24455. "middlegoodsid": {
  24456. "description": "套保商品id",
  24457. "type": "integer"
  24458. },
  24459. "middlegoodsname": {
  24460. "description": "套保商品名称",
  24461. "type": "string"
  24462. },
  24463. "oriholdqty": {
  24464. "description": "期初持仓量",
  24465. "type": "number"
  24466. },
  24467. "reckondate": {
  24468. "description": "交易日(RECKONDATE)",
  24469. "type": "string"
  24470. },
  24471. "todaycloseqty": {
  24472. "description": "今平仓量",
  24473. "type": "number"
  24474. },
  24475. "todayopenqty": {
  24476. "description": "今开仓量",
  24477. "type": "number"
  24478. },
  24479. "tradedate": {
  24480. "description": "交易日(RECKONDATE)",
  24481. "type": "string"
  24482. },
  24483. "username": {
  24484. "description": "用户名称(交易用户)",
  24485. "type": "string"
  24486. }
  24487. }
  24488. },
  24489. "models.Ermcp3ExposureHedgeplanDetail": {
  24490. "type": "object",
  24491. "properties": {
  24492. "biztype": {
  24493. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24494. "type": "integer"
  24495. },
  24496. "changqty": {
  24497. "description": "应套保总量变化量",
  24498. "type": "number"
  24499. },
  24500. "contracttype": {
  24501. "description": "计划类型 - 1:采购 -1:销售",
  24502. "type": "integer"
  24503. },
  24504. "convertratio": {
  24505. "description": "折算系数(套保品种)",
  24506. "type": "number"
  24507. },
  24508. "deliverygoodscode": {
  24509. "description": "现货商品代码",
  24510. "type": "string"
  24511. },
  24512. "deliverygoodsid": {
  24513. "description": "现货商品id",
  24514. "type": "integer"
  24515. },
  24516. "deliverygoodsname": {
  24517. "description": "现货商吕名称",
  24518. "type": "string"
  24519. },
  24520. "dgunitid": {
  24521. "description": "现货商品单位id",
  24522. "type": "integer"
  24523. },
  24524. "dgunitidname": {
  24525. "description": "单位名称(现货商品)",
  24526. "type": "string"
  24527. },
  24528. "diffqty": {
  24529. "description": "套保品种今变动量",
  24530. "type": "number"
  24531. },
  24532. "enumdicname": {
  24533. "description": "单位名称(品类)",
  24534. "type": "string"
  24535. },
  24536. "hedgeplanid": {
  24537. "description": "套保计划id",
  24538. "type": "string"
  24539. },
  24540. "hedgeplanno": {
  24541. "description": "套保计划名称",
  24542. "type": "string"
  24543. },
  24544. "hedgeplanstatus": {
  24545. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24546. "type": "integer"
  24547. },
  24548. "mgunitidname": {
  24549. "description": "单位名称(套保商品)",
  24550. "type": "string"
  24551. },
  24552. "middlegoodscode": {
  24553. "description": "套保品种代码",
  24554. "type": "string"
  24555. },
  24556. "middlegoodsid": {
  24557. "description": "套保品种id",
  24558. "type": "integer"
  24559. },
  24560. "middlegoodsname": {
  24561. "description": "套保品种名称",
  24562. "type": "string"
  24563. },
  24564. "needarbitrageratio": {
  24565. "description": "应套利比例",
  24566. "type": "number"
  24567. },
  24568. "needhedgeratio": {
  24569. "description": "应套保比例",
  24570. "type": "number"
  24571. },
  24572. "pricedqty": {
  24573. "description": "已定价量",
  24574. "type": "number"
  24575. },
  24576. "qty": {
  24577. "description": "合同量",
  24578. "type": "number"
  24579. },
  24580. "reckondate": {
  24581. "description": "交易日(reckondate)",
  24582. "type": "string"
  24583. },
  24584. "tradedate": {
  24585. "description": "交易日(登记日)",
  24586. "type": "string"
  24587. },
  24588. "unitid": {
  24589. "description": "品类单位id",
  24590. "type": "integer"
  24591. },
  24592. "userid": {
  24593. "description": "机构id",
  24594. "type": "integer"
  24595. },
  24596. "wrstandardcode": {
  24597. "description": "品类代码",
  24598. "type": "string"
  24599. },
  24600. "wrstandardid": {
  24601. "description": "品类id",
  24602. "type": "integer"
  24603. },
  24604. "wrstandardname": {
  24605. "description": "品类名称",
  24606. "type": "string"
  24607. }
  24608. }
  24609. },
  24610. "models.Ermcp3ExposureParamChLog": {
  24611. "type": "object",
  24612. "properties": {
  24613. "accountid": {
  24614. "description": "期货账户ID (作废, 默认为0)",
  24615. "type": "integer"
  24616. },
  24617. "aftervalue": {
  24618. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24619. "type": "number"
  24620. },
  24621. "areauserid": {
  24622. "description": "所属机构\\交易用户ID",
  24623. "type": "integer"
  24624. },
  24625. "beforevalue": {
  24626. "description": "应套保\\套利量变更前(调整前应套保总量)",
  24627. "type": "number"
  24628. },
  24629. "begindate": {
  24630. "description": "开始交易日",
  24631. "type": "string"
  24632. },
  24633. "changelogtype": {
  24634. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  24635. "type": "integer"
  24636. },
  24637. "curvalue": {
  24638. "description": "当前套保\\套利量(套保总量|套利总量)",
  24639. "type": "number"
  24640. },
  24641. "diffvalue": {
  24642. "description": "应套保总量变化量",
  24643. "type": "number"
  24644. },
  24645. "enddate": {
  24646. "description": "结束交易日",
  24647. "type": "string"
  24648. },
  24649. "logdatetime": {
  24650. "description": "流水日期",
  24651. "type": "string"
  24652. },
  24653. "logid": {
  24654. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  24655. "type": "string"
  24656. },
  24657. "middlegoodscode": {
  24658. "description": "套保品种代码",
  24659. "type": "string"
  24660. },
  24661. "middlegoodsid": {
  24662. "description": "套保品种",
  24663. "type": "integer"
  24664. },
  24665. "middlegoodsname": {
  24666. "description": "套保品种名称",
  24667. "type": "string"
  24668. },
  24669. "paramaftervalue": {
  24670. "description": "参数变更后(调整后参数值)",
  24671. "type": "number"
  24672. },
  24673. "parambeforevalue": {
  24674. "description": "参数变更前(调整前参数值)",
  24675. "type": "number"
  24676. },
  24677. "reckondate": {
  24678. "description": "交易日(reckondate)",
  24679. "type": "string"
  24680. },
  24681. "tradedate": {
  24682. "description": "交易日(yyyyMMdd)",
  24683. "type": "string"
  24684. }
  24685. }
  24686. },
  24687. "models.Ermcp3ExpourseReport": {
  24688. "type": "object",
  24689. "properties": {
  24690. "accountid": {
  24691. "description": "期货账户ID (作废, 默认为0)",
  24692. "type": "integer"
  24693. },
  24694. "accountname": {
  24695. "description": "机构名称",
  24696. "type": "string"
  24697. },
  24698. "arbitrageqty": {
  24699. "description": "套利量",
  24700. "type": "number"
  24701. },
  24702. "areauserid": {
  24703. "description": "所属机构\\交易用户ID",
  24704. "type": "integer"
  24705. },
  24706. "begindate": {
  24707. "description": "开始交易日",
  24708. "type": "string"
  24709. },
  24710. "buyfutureqty": {
  24711. "description": "买入期货数量",
  24712. "type": "number"
  24713. },
  24714. "buyplanqty": {
  24715. "description": "采购计划数量",
  24716. "type": "number"
  24717. },
  24718. "buypricedqty": {
  24719. "description": "采购合同已定价数量",
  24720. "type": "number"
  24721. },
  24722. "cycletime": {
  24723. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24724. "type": "string"
  24725. },
  24726. "cycletype": {
  24727. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24728. "type": "integer"
  24729. },
  24730. "diffexposure": {
  24731. "description": "变动量(套保敞口)",
  24732. "type": "number"
  24733. },
  24734. "difffutuqty": {
  24735. "description": "变动量(期货)",
  24736. "type": "number"
  24737. },
  24738. "diffhedgeqty": {
  24739. "description": "变动量(现货应套保总量)",
  24740. "type": "number"
  24741. },
  24742. "diffmgqtya": {
  24743. "description": "套保变动量",
  24744. "type": "number"
  24745. },
  24746. "diffmgqtyb": {
  24747. "description": "套利变动量",
  24748. "type": "number"
  24749. },
  24750. "diffneedqty": {
  24751. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24752. "type": "number"
  24753. },
  24754. "diffqty": {
  24755. "description": "变动量(总敞口)",
  24756. "type": "number"
  24757. },
  24758. "diffspotqty": {
  24759. "description": "变动量(现货) | 除税变动量",
  24760. "type": "number"
  24761. },
  24762. "enddate": {
  24763. "description": "结束交易日",
  24764. "type": "string"
  24765. },
  24766. "enumdicname": {
  24767. "description": "单位名称",
  24768. "type": "string"
  24769. },
  24770. "hedgeqty": {
  24771. "description": "套保量",
  24772. "type": "number"
  24773. },
  24774. "mgneedhedgeratio": {
  24775. "description": "套保比例(套保品的)",
  24776. "type": "number"
  24777. },
  24778. "middlegoodsid": {
  24779. "description": "套保品种ID",
  24780. "type": "integer"
  24781. },
  24782. "middlegoodsname": {
  24783. "description": "套保商品名称",
  24784. "type": "string"
  24785. },
  24786. "middlgoodscode": {
  24787. "description": "套保商品代码",
  24788. "type": "string"
  24789. },
  24790. "needarbitrageqty": {
  24791. "description": "应套利量",
  24792. "type": "number"
  24793. },
  24794. "needarbitrageratio": {
  24795. "description": "套利比例(套保品的)",
  24796. "type": "number"
  24797. },
  24798. "needhedgeexposoure": {
  24799. "description": "应套保敞口(套保敞口)",
  24800. "type": "number"
  24801. },
  24802. "needhedgeqty": {
  24803. "description": "应套保量",
  24804. "type": "number"
  24805. },
  24806. "needhedgeratio": {
  24807. "description": "应套保敞口比例",
  24808. "type": "number"
  24809. },
  24810. "needqty": {
  24811. "description": "应套总量 = 应套保量 + 应套利量",
  24812. "type": "number"
  24813. },
  24814. "oriarbitrageqty": {
  24815. "description": "期初套利量",
  24816. "type": "number"
  24817. },
  24818. "oribuyfutureqty": {
  24819. "description": "期初买入期货数量",
  24820. "type": "number"
  24821. },
  24822. "oribuyplanqty": {
  24823. "description": "期初采购计划数量",
  24824. "type": "number"
  24825. },
  24826. "oribuypricedqty": {
  24827. "description": "期初采购合同已定价数量",
  24828. "type": "number"
  24829. },
  24830. "orihedgeqty": {
  24831. "description": "期初套保量",
  24832. "type": "number"
  24833. },
  24834. "orineedarbitrageqty": {
  24835. "description": "期初应套利量",
  24836. "type": "number"
  24837. },
  24838. "orineedhedgeexposoure": {
  24839. "description": "期初应套保敞口",
  24840. "type": "number"
  24841. },
  24842. "orineedhedgeqty": {
  24843. "description": "期初应套保量",
  24844. "type": "number"
  24845. },
  24846. "orisellfutureqty": {
  24847. "description": "期初卖出期货数量",
  24848. "type": "number"
  24849. },
  24850. "orisellplanqty": {
  24851. "description": "期初销售计划数量",
  24852. "type": "number"
  24853. },
  24854. "orisellpricedqty": {
  24855. "description": "期初销售合同已定价数量",
  24856. "type": "number"
  24857. },
  24858. "oritotalexposure": {
  24859. "description": "期初实时总敞口",
  24860. "type": "number"
  24861. },
  24862. "oritotalfutureqty": {
  24863. "description": "期初期货头寸总量",
  24864. "type": "number"
  24865. },
  24866. "oritotalneedhedgeqty": {
  24867. "description": "期初应套保总量",
  24868. "type": "number"
  24869. },
  24870. "oritotalspotqty": {
  24871. "description": "期初现货头寸总量",
  24872. "type": "number"
  24873. },
  24874. "reckondate": {
  24875. "description": "日照时期(yyyyMMdd)",
  24876. "type": "string"
  24877. },
  24878. "sellfutureqty": {
  24879. "description": "卖出期货数量",
  24880. "type": "number"
  24881. },
  24882. "sellplanqty": {
  24883. "description": "销售计划数量",
  24884. "type": "number"
  24885. },
  24886. "sellpricedqty": {
  24887. "description": "销售合同已定价数量",
  24888. "type": "number"
  24889. },
  24890. "totalexposure": {
  24891. "description": "实时总敞口(总敞口)",
  24892. "type": "number"
  24893. },
  24894. "totalfutureqty": {
  24895. "description": "期货头寸总量(期货总量)",
  24896. "type": "number"
  24897. },
  24898. "totalhedgeratio": {
  24899. "description": "敞口比例",
  24900. "type": "number"
  24901. },
  24902. "totalneedhedgeqty": {
  24903. "description": "应套保总量(现货应套保总量)",
  24904. "type": "number"
  24905. },
  24906. "totalspotqty": {
  24907. "description": "现货头寸总量 | 除税总量",
  24908. "type": "number"
  24909. },
  24910. "unitid": {
  24911. "description": "单位id",
  24912. "type": "integer"
  24913. },
  24914. "updatetime": {
  24915. "description": "更新时间",
  24916. "type": "string"
  24917. }
  24918. }
  24919. },
  24920. "models.Ermcp3FinanceReport": {
  24921. "type": "object",
  24922. "properties": {
  24923. "accountname": {
  24924. "description": "机构名称",
  24925. "type": "string"
  24926. },
  24927. "areauserid": {
  24928. "description": "所属机构\\交易用户ID",
  24929. "type": "integer"
  24930. },
  24931. "begindate": {
  24932. "description": "开始交易日",
  24933. "type": "string"
  24934. },
  24935. "biztype": {
  24936. "description": "业务类型 - 1:套保 2:套利",
  24937. "type": "integer"
  24938. },
  24939. "brandname": {
  24940. "description": "品牌名称",
  24941. "type": "string"
  24942. },
  24943. "buypreinvoicedamount": {
  24944. "description": "采购预收票额(预收票额)",
  24945. "type": "number"
  24946. },
  24947. "buyprepaidamount": {
  24948. "description": "采购预付款额(预付货款额)",
  24949. "type": "number"
  24950. },
  24951. "buytodayinvoiceamount": {
  24952. "description": "采购今收票额(今收票额)",
  24953. "type": "number"
  24954. },
  24955. "buytodayrefundamount": {
  24956. "description": "采购今收退款额(今收退款额)",
  24957. "type": "number"
  24958. },
  24959. "buytodaysettleamount": {
  24960. "description": "采购今付款额(今付货款额)",
  24961. "type": "number"
  24962. },
  24963. "buyuninvoicedamount": {
  24964. "description": "采购应收票额(应收票额)",
  24965. "type": "number"
  24966. },
  24967. "buyunpaidamount": {
  24968. "description": "采购应付款额(应付货款额)",
  24969. "type": "number"
  24970. },
  24971. "currencyid": {
  24972. "description": "结算币种ID",
  24973. "type": "integer"
  24974. },
  24975. "currencyname": {
  24976. "description": "币种名称",
  24977. "type": "string"
  24978. },
  24979. "cycletime": {
  24980. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24981. "type": "string"
  24982. },
  24983. "cycletype": {
  24984. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24985. "type": "integer"
  24986. },
  24987. "deliverygoodscode": {
  24988. "description": "现货品种代码",
  24989. "type": "string"
  24990. },
  24991. "deliverygoodsid": {
  24992. "description": "现货品种ID",
  24993. "type": "integer"
  24994. },
  24995. "deliverygoodsname": {
  24996. "description": "现货品种名称",
  24997. "type": "string"
  24998. },
  24999. "enddate": {
  25000. "description": "结束交易日",
  25001. "type": "string"
  25002. },
  25003. "reckondate": {
  25004. "description": "日照时期(yyyyMMdd)",
  25005. "type": "string"
  25006. },
  25007. "sellpreinvoicedamount": {
  25008. "description": "销售预开票额(预开票额)",
  25009. "type": "number"
  25010. },
  25011. "sellprepaidamount": {
  25012. "description": "销售预收款额(预收货款额)",
  25013. "type": "number"
  25014. },
  25015. "selltodayinvoiceamount": {
  25016. "description": "销售今开票额(今开票额)",
  25017. "type": "number"
  25018. },
  25019. "selltodayrefundamount": {
  25020. "description": "销售今付退款额(今付退款额)",
  25021. "type": "number"
  25022. },
  25023. "selltodaysettleamount": {
  25024. "description": "销售今收款额(今收货款额)",
  25025. "type": "number"
  25026. },
  25027. "selluninvoicedamount": {
  25028. "description": "销售应开票额(应开票额)",
  25029. "type": "number"
  25030. },
  25031. "sellunpaidamount": {
  25032. "description": "销售应收款额(应收货款额)",
  25033. "type": "number"
  25034. },
  25035. "spotgoodsbrandid": {
  25036. "description": "现货品牌ID",
  25037. "type": "integer"
  25038. },
  25039. "todaypaysum": {
  25040. "description": "今付款合计",
  25041. "type": "number"
  25042. },
  25043. "todayreceivesum": {
  25044. "description": "今收款合计",
  25045. "type": "number"
  25046. },
  25047. "updatetime": {
  25048. "description": "更新时间",
  25049. "type": "string"
  25050. },
  25051. "wrfactortypeid": {
  25052. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25053. "type": "integer"
  25054. },
  25055. "wrstandardcode": {
  25056. "description": "品类代码",
  25057. "type": "string"
  25058. },
  25059. "wrstandardid": {
  25060. "description": "现货商品ID",
  25061. "type": "integer"
  25062. },
  25063. "wrstandardname": {
  25064. "description": "品类名称",
  25065. "type": "string"
  25066. }
  25067. }
  25068. },
  25069. "models.Ermcp3GoodsGroup": {
  25070. "type": "object",
  25071. "required": [
  25072. "areauserid"
  25073. ],
  25074. "properties": {
  25075. "agreeunit": {
  25076. "description": "合约单位",
  25077. "type": "number"
  25078. },
  25079. "areauserid": {
  25080. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  25081. "type": "integer"
  25082. },
  25083. "canshort": {
  25084. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25085. "type": "integer"
  25086. },
  25087. "closepricemode": {
  25088. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25089. "type": "integer"
  25090. },
  25091. "createtime": {
  25092. "description": "创建时间",
  25093. "type": "string"
  25094. },
  25095. "creatorid": {
  25096. "description": "创建人",
  25097. "type": "integer"
  25098. },
  25099. "currencyid": {
  25100. "description": "报价货币ID",
  25101. "type": "integer"
  25102. },
  25103. "decimalplace": {
  25104. "description": "报价小数位",
  25105. "type": "integer"
  25106. },
  25107. "enumdicname": {
  25108. "description": "单位名称",
  25109. "type": "string"
  25110. },
  25111. "exchangefullname": {
  25112. "description": "交易所全称",
  25113. "type": "string"
  25114. },
  25115. "excludecfg": {
  25116. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  25117. "type": "integer"
  25118. },
  25119. "exexchangecode": {
  25120. "description": "交易所代码",
  25121. "type": "string"
  25122. },
  25123. "exexchangeid": {
  25124. "description": "外部交易所ID[通道交易]",
  25125. "type": "integer"
  25126. },
  25127. "exexchangename": {
  25128. "description": "交易所名称",
  25129. "type": "string"
  25130. },
  25131. "goodsgroupid": {
  25132. "description": "商品组ID(自增ID)",
  25133. "type": "integer"
  25134. },
  25135. "goodsgroupname": {
  25136. "description": "商品组名称",
  25137. "type": "string"
  25138. },
  25139. "goodsgroupstatus": {
  25140. "description": "商品组状态 - 1:正常 2:注销",
  25141. "type": "integer"
  25142. },
  25143. "goodunitid": {
  25144. "description": "报价单位ID",
  25145. "type": "integer"
  25146. },
  25147. "groupcategroyid": {
  25148. "description": "品种分类ID",
  25149. "type": "integer"
  25150. },
  25151. "innerdealmode": {
  25152. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25153. "type": "integer"
  25154. },
  25155. "marketid": {
  25156. "description": "所属市场ID",
  25157. "type": "integer"
  25158. },
  25159. "modifierid": {
  25160. "description": "修改人",
  25161. "type": "integer"
  25162. },
  25163. "modifytime": {
  25164. "description": "修改时间",
  25165. "type": "string"
  25166. },
  25167. "outerdealmode": {
  25168. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25169. "type": "integer"
  25170. },
  25171. "outergroupcode": {
  25172. "description": "外部商品组代码[通道交易]",
  25173. "type": "string"
  25174. },
  25175. "quoteminunit": {
  25176. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25177. "type": "integer"
  25178. },
  25179. "quotesourcegroupid": {
  25180. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25181. "type": "integer"
  25182. },
  25183. "syncgoodsqty": {
  25184. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25185. "type": "integer"
  25186. }
  25187. }
  25188. },
  25189. "models.Ermcp3HPMiddleGoods": {
  25190. "type": "object",
  25191. "properties": {
  25192. "biztype": {
  25193. "description": "业务类型 1:套保 2:套利",
  25194. "type": "integer"
  25195. },
  25196. "contracttype": {
  25197. "description": "合同类型 1:采购 -1:销售",
  25198. "type": "integer"
  25199. },
  25200. "convertratio": {
  25201. "description": "折算系数",
  25202. "type": "number"
  25203. },
  25204. "customername": {
  25205. "description": "对手手名称",
  25206. "type": "string"
  25207. },
  25208. "customeruserid": {
  25209. "description": "对手id",
  25210. "type": "integer"
  25211. },
  25212. "enumdicname": {
  25213. "description": "现货单位名称",
  25214. "type": "string"
  25215. },
  25216. "hedgeplanid": {
  25217. "description": "计划id",
  25218. "type": "string"
  25219. },
  25220. "hedgeplanno": {
  25221. "description": "计划编号",
  25222. "type": "string"
  25223. },
  25224. "middlegoodsid": {
  25225. "description": "套保品种ID",
  25226. "type": "integer"
  25227. },
  25228. "middlegoodsplanqty3": {
  25229. "description": "应套保计划量",
  25230. "type": "number"
  25231. },
  25232. "needhedgeratio": {
  25233. "description": "套保比例",
  25234. "type": "number"
  25235. },
  25236. "pricedqty": {
  25237. "description": "已定价量",
  25238. "type": "number"
  25239. },
  25240. "relatedmiddlegoodsqty": {
  25241. "description": "已关联量(套保品种)(期货)",
  25242. "type": "number"
  25243. },
  25244. "unitid": {
  25245. "description": "现货单位id",
  25246. "type": "integer"
  25247. },
  25248. "userid": {
  25249. "description": "用户id",
  25250. "type": "integer"
  25251. },
  25252. "vatrate": {
  25253. "description": "增值税率",
  25254. "type": "number"
  25255. },
  25256. "wrstandardcode": {
  25257. "description": "现货商品代码",
  25258. "type": "string"
  25259. },
  25260. "wrstandardid": {
  25261. "description": "现货商品id",
  25262. "type": "integer"
  25263. },
  25264. "wrstandardname": {
  25265. "description": "现货商品名称",
  25266. "type": "string"
  25267. }
  25268. }
  25269. },
  25270. "models.Ermcp3HedgePlan": {
  25271. "type": "object",
  25272. "properties": {
  25273. "accountid": {
  25274. "description": "资金账号",
  25275. "type": "integer"
  25276. },
  25277. "areauserid": {
  25278. "description": "用户ID",
  25279. "type": "integer"
  25280. },
  25281. "auditid": {
  25282. "description": "审核id",
  25283. "type": "integer"
  25284. },
  25285. "auditname": {
  25286. "description": "审核人名称",
  25287. "type": "string"
  25288. },
  25289. "auditremark": {
  25290. "description": "审核备注",
  25291. "type": "string"
  25292. },
  25293. "auditsrc": {
  25294. "description": "审核来源 1-管理端 2-终端",
  25295. "type": "integer"
  25296. },
  25297. "audittime": {
  25298. "description": "审核时间",
  25299. "type": "string"
  25300. },
  25301. "contracttype": {
  25302. "description": "计划类型 - 1:采购 -1:销售",
  25303. "type": "integer"
  25304. },
  25305. "convertfactor": {
  25306. "description": "标仓系数",
  25307. "type": "number"
  25308. },
  25309. "createtime": {
  25310. "description": "创建时间",
  25311. "type": "string"
  25312. },
  25313. "currencyid": {
  25314. "description": "币种id",
  25315. "type": "integer"
  25316. },
  25317. "currencyname": {
  25318. "description": "币种名称",
  25319. "type": "string"
  25320. },
  25321. "deliverygoodscode": {
  25322. "description": "现货品种代码",
  25323. "type": "string"
  25324. },
  25325. "deliverygoodsid": {
  25326. "description": "现货品种ID",
  25327. "type": "integer"
  25328. },
  25329. "deliverygoodsname": {
  25330. "description": "现货品种名称",
  25331. "type": "string"
  25332. },
  25333. "enumdicname": {
  25334. "description": "单位名称(现货商品)",
  25335. "type": "string"
  25336. },
  25337. "hedgeplanid": {
  25338. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25339. "type": "string"
  25340. },
  25341. "hedgeplanno": {
  25342. "description": "套保计划编号(名称)",
  25343. "type": "string"
  25344. },
  25345. "hedgeplanstatus": {
  25346. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25347. "type": "integer"
  25348. },
  25349. "planqty": {
  25350. "description": "计划数量",
  25351. "type": "number"
  25352. },
  25353. "plantime": {
  25354. "description": "计划时间",
  25355. "type": "string"
  25356. },
  25357. "producttype": {
  25358. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25359. "type": "integer"
  25360. },
  25361. "remark": {
  25362. "description": "备注",
  25363. "type": "string"
  25364. },
  25365. "spotgoodsdesc": {
  25366. "description": "商品型号",
  25367. "type": "string"
  25368. },
  25369. "taaccountname": {
  25370. "description": "资金账号名称",
  25371. "type": "string"
  25372. },
  25373. "tradeuserid": {
  25374. "description": "交易用户id",
  25375. "type": "integer"
  25376. },
  25377. "tradeusername": {
  25378. "description": "交易用户名称",
  25379. "type": "string"
  25380. },
  25381. "unitid": {
  25382. "description": "单位id(现货商品)",
  25383. "type": "integer"
  25384. },
  25385. "updatetime": {
  25386. "description": "更新时间",
  25387. "type": "string"
  25388. },
  25389. "vatrate": {
  25390. "description": "增值税率",
  25391. "type": "number"
  25392. },
  25393. "wrstandardcode": {
  25394. "description": "品类代码",
  25395. "type": "string"
  25396. },
  25397. "wrstandardid": {
  25398. "description": "品类id",
  25399. "type": "integer"
  25400. },
  25401. "wrstandardname": {
  25402. "description": "品类名称",
  25403. "type": "string"
  25404. },
  25405. "wrunitid": {
  25406. "description": "品类单位id",
  25407. "type": "integer"
  25408. },
  25409. "wrunitidame": {
  25410. "description": "品类单位名称",
  25411. "type": "string"
  25412. }
  25413. }
  25414. },
  25415. "models.Ermcp3InnerTradeLink": {
  25416. "type": "object",
  25417. "properties": {
  25418. "accountid": {
  25419. "description": "期货账号代码 | 资金账号ID",
  25420. "type": "integer"
  25421. },
  25422. "buyorsell": {
  25423. "description": "方向 - 0:买 1:卖",
  25424. "type": "integer"
  25425. },
  25426. "channelbuildtype": {
  25427. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25428. "type": "integer"
  25429. },
  25430. "currencyid": {
  25431. "description": "币种id",
  25432. "type": "integer"
  25433. },
  25434. "currencyname": {
  25435. "description": "结算币种 名称",
  25436. "type": "string"
  25437. },
  25438. "goodscode": {
  25439. "description": "商品代码",
  25440. "type": "string"
  25441. },
  25442. "goodsid": {
  25443. "description": "商品ID",
  25444. "type": "integer"
  25445. },
  25446. "goodsname": {
  25447. "description": "商品名称",
  25448. "type": "string"
  25449. },
  25450. "outtradeid": {
  25451. "description": "外部成交单号",
  25452. "type": "string"
  25453. },
  25454. "taname": {
  25455. "description": "期货账户名称",
  25456. "type": "string"
  25457. },
  25458. "tradeid": {
  25459. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25460. "type": "string"
  25461. },
  25462. "tradeprice": {
  25463. "description": "成交价格",
  25464. "type": "number"
  25465. },
  25466. "tradeqty": {
  25467. "description": "期货成交数量",
  25468. "type": "integer"
  25469. },
  25470. "tradetime": {
  25471. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25472. "type": "string"
  25473. },
  25474. "username": {
  25475. "description": "用户名称",
  25476. "type": "string"
  25477. }
  25478. }
  25479. },
  25480. "models.Ermcp3OutTradeLink": {
  25481. "type": "object",
  25482. "properties": {
  25483. "buyorsell": {
  25484. "description": "买卖方向 - 0:买 1:卖",
  25485. "type": "integer"
  25486. },
  25487. "channelbuildtype": {
  25488. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25489. "type": "integer"
  25490. },
  25491. "currencyname": {
  25492. "description": "币种名称",
  25493. "type": "string"
  25494. },
  25495. "exexchangecode": {
  25496. "description": "交易所代码",
  25497. "type": "string"
  25498. },
  25499. "exexchangename": {
  25500. "description": "交易所名称",
  25501. "type": "string"
  25502. },
  25503. "goodscode": {
  25504. "description": "合约代码",
  25505. "type": "string"
  25506. },
  25507. "goodsid": {
  25508. "description": "合约id",
  25509. "type": "integer"
  25510. },
  25511. "goodsname": {
  25512. "description": "合约名称",
  25513. "type": "string"
  25514. },
  25515. "hasinnerorder": {
  25516. "description": "是否有内部单关联 - 0:无 1:有",
  25517. "type": "integer"
  25518. },
  25519. "hedgeaccountcode": {
  25520. "description": "外部账号 | 对冲账号",
  25521. "type": "string"
  25522. },
  25523. "outtradeid": {
  25524. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25525. "type": "string"
  25526. },
  25527. "tradeprice": {
  25528. "description": "成交价格",
  25529. "type": "number"
  25530. },
  25531. "tradeqty": {
  25532. "description": "成交数量",
  25533. "type": "integer"
  25534. },
  25535. "tradetime": {
  25536. "description": "成交时间",
  25537. "type": "string"
  25538. }
  25539. }
  25540. },
  25541. "models.Ermcp3PaAreaAuditCfg": {
  25542. "type": "object",
  25543. "properties": {
  25544. "areauserid": {
  25545. "description": "用户ID",
  25546. "type": "integer"
  25547. },
  25548. "buyinauditflag": {
  25549. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25550. "type": "integer"
  25551. },
  25552. "costratioauditflag": {
  25553. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25554. "type": "integer"
  25555. },
  25556. "customerauditflag": {
  25557. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25558. "type": "integer"
  25559. },
  25560. "deliveryauditflag": {
  25561. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25562. "type": "integer"
  25563. },
  25564. "invoiceauditflag": {
  25565. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25566. "type": "integer"
  25567. },
  25568. "mgneedhedgeratioauditflag": {
  25569. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25570. "type": "integer"
  25571. },
  25572. "moneyauditflag": {
  25573. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25574. "type": "integer"
  25575. },
  25576. "operatorid": {
  25577. "description": "操作人",
  25578. "type": "integer"
  25579. },
  25580. "operatorsrc": {
  25581. "description": "操作来源 - 1:管理端 2:终端",
  25582. "type": "integer"
  25583. },
  25584. "pointpriceauditflag": {
  25585. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25586. "type": "integer"
  25587. },
  25588. "produceinauditflag": {
  25589. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25590. "type": "integer"
  25591. },
  25592. "produceoutauditflag": {
  25593. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25594. "type": "integer"
  25595. },
  25596. "selloutauditflag": {
  25597. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25598. "type": "integer"
  25599. },
  25600. "sgconvertratioauditflag": {
  25601. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25602. "type": "integer"
  25603. },
  25604. "sgvtaratioauditflag": {
  25605. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25606. "type": "integer"
  25607. },
  25608. "spotcontractauditflag": {
  25609. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25610. "type": "integer"
  25611. },
  25612. "updatetime": {
  25613. "description": "更新时间",
  25614. "type": "string"
  25615. }
  25616. }
  25617. },
  25618. "models.Ermcp3PaAreaSubject": {
  25619. "type": "object",
  25620. "properties": {
  25621. "areauserid": {
  25622. "description": "所属机构",
  25623. "type": "integer"
  25624. },
  25625. "canmodify": {
  25626. "description": "是否可修改 - 0:否 1:是",
  25627. "type": "integer"
  25628. },
  25629. "createtime": {
  25630. "description": "创建时间",
  25631. "type": "string"
  25632. },
  25633. "creatorid": {
  25634. "description": "创建人ID",
  25635. "type": "string"
  25636. },
  25637. "creatorsrc": {
  25638. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25639. "type": "integer"
  25640. },
  25641. "modifierid": {
  25642. "description": "修改人",
  25643. "type": "string"
  25644. },
  25645. "modifiersrc": {
  25646. "description": "修改人来源 - 1:管理端 2:终端",
  25647. "type": "integer"
  25648. },
  25649. "modifytime": {
  25650. "description": "修改时间",
  25651. "type": "string"
  25652. },
  25653. "parentsubjectid": {
  25654. "description": "上级主体ID",
  25655. "type": "string"
  25656. },
  25657. "remark": {
  25658. "description": "备注",
  25659. "type": "string"
  25660. },
  25661. "subjectid": {
  25662. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  25663. "type": "integer"
  25664. },
  25665. "subjectname": {
  25666. "description": "主体名称",
  25667. "type": "string"
  25668. },
  25669. "subjectstatus": {
  25670. "description": "主体状态 - 1:正常 2: 停用",
  25671. "type": "integer"
  25672. },
  25673. "subjecttype": {
  25674. "description": "主体类型 - 1:交易主体 2:业务部门",
  25675. "type": "integer"
  25676. }
  25677. }
  25678. },
  25679. "models.Ermcp3PaTradeLink": {
  25680. "type": "object",
  25681. "properties": {
  25682. "accountid": {
  25683. "description": "期货账户代码 | 账号ID",
  25684. "type": "integer"
  25685. },
  25686. "agreeunit": {
  25687. "description": "合约乘数",
  25688. "type": "number"
  25689. },
  25690. "buyorsell": {
  25691. "description": "方向 - 0:买 1:卖",
  25692. "type": "integer"
  25693. },
  25694. "channelbuildtype": {
  25695. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25696. "type": "integer"
  25697. },
  25698. "charge": {
  25699. "description": "手续费",
  25700. "type": "number"
  25701. },
  25702. "closepl": {
  25703. "description": "平仓盈亏",
  25704. "type": "number"
  25705. },
  25706. "closetype": {
  25707. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25708. "type": "integer"
  25709. },
  25710. "convertratio": {
  25711. "description": "折算系数",
  25712. "type": "number"
  25713. },
  25714. "enumdicname": {
  25715. "description": "单位名称",
  25716. "type": "string"
  25717. },
  25718. "executeprice": {
  25719. "description": "执行价 [期权]",
  25720. "type": "integer"
  25721. },
  25722. "goodscode": {
  25723. "description": "合约代码",
  25724. "type": "string"
  25725. },
  25726. "goodsgroupid": {
  25727. "description": "对冲品种ID[期货合约商品组ID]",
  25728. "type": "integer"
  25729. },
  25730. "goodsid": {
  25731. "description": "商品ID",
  25732. "type": "integer"
  25733. },
  25734. "goodsname": {
  25735. "description": "合约名称",
  25736. "type": "string"
  25737. },
  25738. "goodunitid": {
  25739. "description": "单位id",
  25740. "type": "integer"
  25741. },
  25742. "hedgeflag": {
  25743. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25744. "type": "integer"
  25745. },
  25746. "marketid": {
  25747. "description": "市场ID",
  25748. "type": "integer"
  25749. },
  25750. "middlegoodsid": {
  25751. "description": "套保品种ID",
  25752. "type": "integer"
  25753. },
  25754. "middlegoodsqty": {
  25755. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25756. "type": "number"
  25757. },
  25758. "optioncode": {
  25759. "description": "期权代码 [期权]",
  25760. "type": "string"
  25761. },
  25762. "ordertype": {
  25763. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25764. "type": "integer"
  25765. },
  25766. "ordertypename": {
  25767. "description": "订单类型",
  25768. "type": "string"
  25769. },
  25770. "parentaccountid": {
  25771. "description": "所属母账户",
  25772. "type": "integer"
  25773. },
  25774. "premium": {
  25775. "description": "权利金 [期权]",
  25776. "type": "number"
  25777. },
  25778. "relatedlot": {
  25779. "description": "已关联数量(已关联数量手) | db:关联手数",
  25780. "type": "number"
  25781. },
  25782. "relatedouttradeid": {
  25783. "description": "关联外部成交单ID",
  25784. "type": "string"
  25785. },
  25786. "relatedqty": {
  25787. "description": "关联数量",
  25788. "type": "number"
  25789. },
  25790. "spotcontractid": {
  25791. "description": "现货合同ID [4:套期保值\\10\\11]",
  25792. "type": "string"
  25793. },
  25794. "taname": {
  25795. "description": "期货账户名称",
  25796. "type": "string"
  25797. },
  25798. "tradeamount": {
  25799. "description": "成交金额(账户)",
  25800. "type": "number"
  25801. },
  25802. "tradedate": {
  25803. "description": "交易日(yyyyMMdd)",
  25804. "type": "string"
  25805. },
  25806. "tradeid": {
  25807. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25808. "type": "string"
  25809. },
  25810. "tradelot": {
  25811. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25812. "type": "integer"
  25813. },
  25814. "tradeprice": {
  25815. "description": "成交价格",
  25816. "type": "number"
  25817. },
  25818. "tradetime": {
  25819. "description": "时间 | db:成交时间",
  25820. "type": "string"
  25821. },
  25822. "tradetype": {
  25823. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25824. "type": "integer"
  25825. },
  25826. "userid": {
  25827. "description": "所属机构 - 所属母账户的UserID",
  25828. "type": "string"
  25829. },
  25830. "username": {
  25831. "description": "用户名称",
  25832. "type": "string"
  25833. }
  25834. }
  25835. },
  25836. "models.Ermcp3ParamChangeApp": {
  25837. "type": "object",
  25838. "properties": {
  25839. "aftervalue": {
  25840. "description": "变更后",
  25841. "type": "number"
  25842. },
  25843. "applicationid": {
  25844. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25845. "type": "string"
  25846. },
  25847. "applyid": {
  25848. "description": "申请人",
  25849. "type": "string"
  25850. },
  25851. "applyname": {
  25852. "description": "申请人名称(代码)",
  25853. "type": "string"
  25854. },
  25855. "applyremark": {
  25856. "description": "申请备注",
  25857. "type": "string"
  25858. },
  25859. "applysrc": {
  25860. "description": "申请来源 - 1:管理端 2:终端",
  25861. "type": "integer"
  25862. },
  25863. "applystatus": {
  25864. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25865. "type": "integer"
  25866. },
  25867. "applytime": {
  25868. "description": "申请时间",
  25869. "type": "string"
  25870. },
  25871. "areauserid": {
  25872. "description": "所属机构用户ID",
  25873. "type": "integer"
  25874. },
  25875. "auditid": {
  25876. "description": "审核人",
  25877. "type": "string"
  25878. },
  25879. "auditname": {
  25880. "description": "审核人名称(代码)",
  25881. "type": "string"
  25882. },
  25883. "auditremark": {
  25884. "description": "审核备注",
  25885. "type": "string"
  25886. },
  25887. "auditsrc": {
  25888. "description": "审核来源 - 1:管理端 2:终端",
  25889. "type": "integer"
  25890. },
  25891. "audittime": {
  25892. "description": "审核时间",
  25893. "type": "string"
  25894. },
  25895. "audittradedate": {
  25896. "description": "审核交易日(yyyyMMdd)",
  25897. "type": "string"
  25898. },
  25899. "beforevalue": {
  25900. "description": "变更前",
  25901. "type": "number"
  25902. },
  25903. "deliverygoodscode": {
  25904. "description": "品种代码",
  25905. "type": "string"
  25906. },
  25907. "deliverygoodsid": {
  25908. "description": "品种id",
  25909. "type": "integer"
  25910. },
  25911. "deliverygoodsname": {
  25912. "description": "品种名称",
  25913. "type": "string"
  25914. },
  25915. "middlegoodscode": {
  25916. "description": "套保品种代码",
  25917. "type": "string"
  25918. },
  25919. "middlegoodsid": {
  25920. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25921. "type": "integer"
  25922. },
  25923. "middlegoodsname": {
  25924. "description": "套保品种名称",
  25925. "type": "string"
  25926. },
  25927. "operatetype": {
  25928. "description": "操作类型 - 1:新增 2:修改",
  25929. "type": "integer"
  25930. },
  25931. "paramchangetype": {
  25932. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25933. "type": "integer"
  25934. },
  25935. "wrstandardcode": {
  25936. "description": "现货商品代码",
  25937. "type": "string"
  25938. },
  25939. "wrstandardid": {
  25940. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25941. "type": "integer"
  25942. },
  25943. "wrstandardname": {
  25944. "description": "现货商品名称",
  25945. "type": "string"
  25946. }
  25947. }
  25948. },
  25949. "models.Ermcp3RootUserAccount": {
  25950. "type": "object",
  25951. "properties": {
  25952. "accountname": {
  25953. "description": "账户名称(机构名称)",
  25954. "type": "string"
  25955. },
  25956. "accountstatus": {
  25957. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25958. "type": "integer"
  25959. },
  25960. "applysrc": {
  25961. "description": "申请来源 - 1:管理端 2:终端",
  25962. "type": "integer"
  25963. },
  25964. "auditremark": {
  25965. "description": "审核备注",
  25966. "type": "string"
  25967. },
  25968. "auditsrc": {
  25969. "description": "审核来源 - 1:管理端 2:终端",
  25970. "type": "integer"
  25971. },
  25972. "audittime": {
  25973. "description": "审核时间",
  25974. "type": "string"
  25975. },
  25976. "audituserid": {
  25977. "description": "审核人",
  25978. "type": "integer"
  25979. },
  25980. "broker": {
  25981. "description": "所属经纪人ID",
  25982. "type": "integer"
  25983. },
  25984. "canceltime": {
  25985. "description": "销户时间",
  25986. "type": "string"
  25987. },
  25988. "canceluserid": {
  25989. "description": "销户人",
  25990. "type": "integer"
  25991. },
  25992. "canrecommend": {
  25993. "description": "是否可推荐 - 0:不可 1;可",
  25994. "type": "integer"
  25995. },
  25996. "createtime": {
  25997. "description": "创建时间",
  25998. "type": "string"
  25999. },
  26000. "creatorid": {
  26001. "description": "创建人",
  26002. "type": "integer"
  26003. },
  26004. "hasauth": {
  26005. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26006. "type": "integer"
  26007. },
  26008. "isanonymous": {
  26009. "description": "是否匿名下单 - 0:否 1:是",
  26010. "type": "integer"
  26011. },
  26012. "maxinvestornum": {
  26013. "description": "最大用户数(经纪会员下投资者个数)",
  26014. "type": "integer"
  26015. },
  26016. "memberuserid": {
  26017. "description": "所属会员ID",
  26018. "type": "integer"
  26019. },
  26020. "modifierid": {
  26021. "description": "修改人",
  26022. "type": "integer"
  26023. },
  26024. "modifyremark": {
  26025. "description": "变更备注",
  26026. "type": "string"
  26027. },
  26028. "modifystatus": {
  26029. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26030. "type": "integer"
  26031. },
  26032. "modifytime": {
  26033. "description": "修改时间",
  26034. "type": "string"
  26035. },
  26036. "nickname": {
  26037. "description": "昵称",
  26038. "type": "string"
  26039. },
  26040. "parenttopuser": {
  26041. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26042. "type": "string"
  26043. },
  26044. "parentuserid": {
  26045. "description": "所属机构ID",
  26046. "type": "integer"
  26047. },
  26048. "reckonaccountid": {
  26049. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26050. "type": "integer"
  26051. },
  26052. "refercount": {
  26053. "description": "推荐总人数",
  26054. "type": "integer"
  26055. },
  26056. "refereeuserid": {
  26057. "description": "推荐人ID",
  26058. "type": "integer"
  26059. },
  26060. "refernum": {
  26061. "description": "推荐码",
  26062. "type": "string"
  26063. },
  26064. "rootuserid": {
  26065. "description": "根用户ID",
  26066. "type": "integer"
  26067. },
  26068. "subaccountlevel": {
  26069. "description": "子账户层数",
  26070. "type": "integer"
  26071. },
  26072. "subarealevelpath": {
  26073. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26074. "type": "string"
  26075. },
  26076. "userid": {
  26077. "description": "用户ID",
  26078. "type": "integer"
  26079. },
  26080. "usertype": {
  26081. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26082. "type": "integer"
  26083. }
  26084. }
  26085. },
  26086. "models.Ermcp3SCMiddleGoods": {
  26087. "type": "object",
  26088. "properties": {
  26089. "biztype": {
  26090. "description": "业务类型 1:套保 2:套利",
  26091. "type": "integer"
  26092. },
  26093. "contractno": {
  26094. "description": "合同编号",
  26095. "type": "string"
  26096. },
  26097. "contracttype": {
  26098. "description": "合同类型 1:采购 -1:销售",
  26099. "type": "integer"
  26100. },
  26101. "convertratio": {
  26102. "description": "折算系数",
  26103. "type": "number"
  26104. },
  26105. "customername": {
  26106. "description": "对手手名称",
  26107. "type": "string"
  26108. },
  26109. "customeruserid": {
  26110. "description": "对手id",
  26111. "type": "integer"
  26112. },
  26113. "deliverygoodscode": {
  26114. "description": "现货品种代码",
  26115. "type": "string"
  26116. },
  26117. "deliverygoodsid": {
  26118. "description": "现货品种ID",
  26119. "type": "integer"
  26120. },
  26121. "deliverygoodsname": {
  26122. "description": "现货品种名称",
  26123. "type": "string"
  26124. },
  26125. "enumdicname": {
  26126. "description": "现货单位名称",
  26127. "type": "string"
  26128. },
  26129. "middlegoodsid": {
  26130. "description": "套保品种ID",
  26131. "type": "integer"
  26132. },
  26133. "middlegoodspricedqty3": {
  26134. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  26135. "type": "number"
  26136. },
  26137. "needhedgeratio": {
  26138. "description": "套保比例",
  26139. "type": "number"
  26140. },
  26141. "pricedqty": {
  26142. "description": "已定价量",
  26143. "type": "number"
  26144. },
  26145. "relatedmiddlegoodsqty": {
  26146. "description": "已关联量(套保品种)(期货)",
  26147. "type": "number"
  26148. },
  26149. "spotcontractid": {
  26150. "description": "合同编号",
  26151. "type": "string"
  26152. },
  26153. "unitid": {
  26154. "description": "现货单位id",
  26155. "type": "integer"
  26156. },
  26157. "userid": {
  26158. "description": "用户id",
  26159. "type": "integer"
  26160. },
  26161. "vatrate": {
  26162. "description": "增值税率",
  26163. "type": "number"
  26164. },
  26165. "wrstandardcode": {
  26166. "description": "现货商品代码",
  26167. "type": "string"
  26168. },
  26169. "wrstandardid": {
  26170. "description": "现货商品id",
  26171. "type": "integer"
  26172. },
  26173. "wrstandardname": {
  26174. "description": "现货商品名称",
  26175. "type": "string"
  26176. }
  26177. }
  26178. },
  26179. "models.Ermcp3SCMiddleGoodsReport": {
  26180. "type": "object",
  26181. "properties": {
  26182. "begindate": {
  26183. "description": "开始交易日",
  26184. "type": "string"
  26185. },
  26186. "contractno": {
  26187. "description": "合同编号",
  26188. "type": "string"
  26189. },
  26190. "contracttype": {
  26191. "description": "合同类型 1:采购 -1:销售",
  26192. "type": "integer"
  26193. },
  26194. "convertratio": {
  26195. "description": "期初均价",
  26196. "type": "number"
  26197. },
  26198. "cycletime": {
  26199. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26200. "type": "string"
  26201. },
  26202. "cycletype": {
  26203. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26204. "type": "integer"
  26205. },
  26206. "deliverygoodscode": {
  26207. "description": "品种代码",
  26208. "type": "string"
  26209. },
  26210. "deliverygoodsid": {
  26211. "description": "现货品种ID",
  26212. "type": "integer"
  26213. },
  26214. "deliverygoodsname": {
  26215. "description": "品种名称",
  26216. "type": "string"
  26217. },
  26218. "diffprice": {
  26219. "description": "期初均价",
  26220. "type": "number"
  26221. },
  26222. "diffqty": {
  26223. "description": "期初均价",
  26224. "type": "number"
  26225. },
  26226. "enddate": {
  26227. "description": "结束交易日",
  26228. "type": "string"
  26229. },
  26230. "hedgeplanqty": {
  26231. "description": "期初均价",
  26232. "type": "number"
  26233. },
  26234. "matchname": {
  26235. "description": "交易对手方(个人:用户名称 企业:简称)",
  26236. "type": "string"
  26237. },
  26238. "matchnickname": {
  26239. "description": "交易对手方昵称",
  26240. "type": "string"
  26241. },
  26242. "middlegoodscode": {
  26243. "description": "套保品种代码",
  26244. "type": "string"
  26245. },
  26246. "middlegoodsid": {
  26247. "description": "套保品种ID",
  26248. "type": "integer"
  26249. },
  26250. "middlegoodsname": {
  26251. "description": "套保品种名称",
  26252. "type": "string"
  26253. },
  26254. "middlegoodspricedqty": {
  26255. "description": "期初均价",
  26256. "type": "number"
  26257. },
  26258. "middlegoodspricedqty2": {
  26259. "description": "期初均价",
  26260. "type": "number"
  26261. },
  26262. "middlegoodspricedqty3": {
  26263. "description": "期初均价",
  26264. "type": "number"
  26265. },
  26266. "needhedgeratio": {
  26267. "description": "期初均价",
  26268. "type": "number"
  26269. },
  26270. "pricedamount": {
  26271. "description": "期初均价",
  26272. "type": "number"
  26273. },
  26274. "pricedamount2": {
  26275. "description": "期初均价",
  26276. "type": "number"
  26277. },
  26278. "pricedqty": {
  26279. "description": "期初均价",
  26280. "type": "number"
  26281. },
  26282. "reckondate": {
  26283. "description": "日照时期(yyyyMMdd)",
  26284. "type": "string"
  26285. },
  26286. "relatedmiddlegoodsamount": {
  26287. "description": "期初均价",
  26288. "type": "number"
  26289. },
  26290. "relatedmiddlegoodsqty": {
  26291. "description": "期初均价",
  26292. "type": "number"
  26293. },
  26294. "spotcontractid": {
  26295. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26296. "type": "string"
  26297. },
  26298. "todayavgfutuprice": {
  26299. "description": "期初均价",
  26300. "type": "number"
  26301. },
  26302. "todayavgprice": {
  26303. "description": "期初均价",
  26304. "type": "number"
  26305. },
  26306. "todayavgprice2": {
  26307. "description": "期初均价",
  26308. "type": "number"
  26309. },
  26310. "todaypricedamount": {
  26311. "description": "期初均价",
  26312. "type": "number"
  26313. },
  26314. "todaypricedamount2": {
  26315. "description": "期初均价",
  26316. "type": "number"
  26317. },
  26318. "todaypricedqty": {
  26319. "description": "期初均价",
  26320. "type": "number"
  26321. },
  26322. "todayrelatedfutureqty": {
  26323. "description": "期初均价",
  26324. "type": "number"
  26325. },
  26326. "todayrelatedmiddlegoodsamount": {
  26327. "description": "期初均价",
  26328. "type": "number"
  26329. },
  26330. "todayrelatedmiddlegoodsqty": {
  26331. "description": "期初均价",
  26332. "type": "number"
  26333. },
  26334. "updatetime": {
  26335. "description": "更新时间",
  26336. "type": "string"
  26337. },
  26338. "userid": {
  26339. "description": "合同所属用户id",
  26340. "type": "integer"
  26341. },
  26342. "vatrate": {
  26343. "description": "期初均价",
  26344. "type": "number"
  26345. },
  26346. "wrstandardcode": {
  26347. "description": "商品(品类) 代码",
  26348. "type": "string"
  26349. },
  26350. "wrstandardid": {
  26351. "description": "现货商品ID",
  26352. "type": "integer"
  26353. },
  26354. "wrstandardname": {
  26355. "description": "商品(品类) 名称",
  26356. "type": "string"
  26357. }
  26358. }
  26359. },
  26360. "models.Ermcp3SellBuyContract": {
  26361. "type": "object",
  26362. "properties": {
  26363. "accountid": {
  26364. "description": "期货账户id",
  26365. "type": "string"
  26366. },
  26367. "accountname": {
  26368. "description": "账户名称",
  26369. "type": "string"
  26370. },
  26371. "attachment": {
  26372. "description": "附件",
  26373. "type": "string"
  26374. },
  26375. "audittime": {
  26376. "description": "审核时间",
  26377. "type": "string"
  26378. },
  26379. "bizsubjectid": {
  26380. "description": "归属业务部门ID - SubjectID",
  26381. "type": "integer"
  26382. },
  26383. "biztype": {
  26384. "description": "业务类型 1-套保 2-套利",
  26385. "type": "integer"
  26386. },
  26387. "brandname": {
  26388. "description": "品牌名称",
  26389. "type": "string"
  26390. },
  26391. "contracctstatus": {
  26392. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26393. "type": "integer"
  26394. },
  26395. "contractmargin": {
  26396. "description": "合同保证金",
  26397. "type": "number"
  26398. },
  26399. "contractno": {
  26400. "description": "合同编号",
  26401. "type": "string"
  26402. },
  26403. "contracttype": {
  26404. "description": "合同类型 1-采购, -1-销售",
  26405. "type": "integer"
  26406. },
  26407. "convertfactor": {
  26408. "description": "标仓系数(品类)",
  26409. "type": "number"
  26410. },
  26411. "createtime": {
  26412. "description": "创建时间",
  26413. "type": "string"
  26414. },
  26415. "currencyid": {
  26416. "description": "币种id",
  26417. "type": "integer"
  26418. },
  26419. "currencyname": {
  26420. "description": "币种名称",
  26421. "type": "string"
  26422. },
  26423. "daikaiamount": {
  26424. "description": "应收(开)票额 | 未收票额",
  26425. "type": "number"
  26426. },
  26427. "deliveryenddate": {
  26428. "description": "交割结束日",
  26429. "type": "string"
  26430. },
  26431. "deliverygoodscode": {
  26432. "description": "现货品种代码",
  26433. "type": "string"
  26434. },
  26435. "deliverygoodsid": {
  26436. "description": "现货商品ID",
  26437. "type": "integer"
  26438. },
  26439. "deliverygoodsname": {
  26440. "description": "现货品种名称",
  26441. "type": "string"
  26442. },
  26443. "deliverystartdate": {
  26444. "description": "交割开始日",
  26445. "type": "string"
  26446. },
  26447. "enddate": {
  26448. "description": "点价结束日",
  26449. "type": "string"
  26450. },
  26451. "enumdicname": {
  26452. "description": "单位名称",
  26453. "type": "string"
  26454. },
  26455. "goodscode": {
  26456. "description": "点价商品代码",
  26457. "type": "string"
  26458. },
  26459. "goodsgroupid": {
  26460. "description": "点价商品组id",
  26461. "type": "integer"
  26462. },
  26463. "goodsid": {
  26464. "description": "点价商品ID",
  26465. "type": "integer"
  26466. },
  26467. "goodsname": {
  26468. "description": "点价商品名称",
  26469. "type": "string"
  26470. },
  26471. "invoiceamount": {
  26472. "description": "已开票额",
  26473. "type": "number"
  26474. },
  26475. "loanamount": {
  26476. "description": "贷款总额=已定价额+调整金额",
  26477. "type": "number"
  26478. },
  26479. "margin": {
  26480. "description": "保证金",
  26481. "type": "number"
  26482. },
  26483. "meruserid": {
  26484. "description": "跟单员id",
  26485. "type": "integer"
  26486. },
  26487. "meruserlogincode": {
  26488. "description": "跟单员登录代码",
  26489. "type": "string"
  26490. },
  26491. "merusername": {
  26492. "description": "跟单员名称",
  26493. "type": "string"
  26494. },
  26495. "nickname": {
  26496. "description": "账户昵称",
  26497. "type": "string"
  26498. },
  26499. "orireckonrealqty": {
  26500. "description": "应交收量",
  26501. "type": "number"
  26502. },
  26503. "payamount": {
  26504. "description": "已收付额(收款或付款)",
  26505. "type": "number"
  26506. },
  26507. "preinvoiceamount": {
  26508. "description": "预收(开)票额",
  26509. "type": "number"
  26510. },
  26511. "prepayamount": {
  26512. "description": "预收付额",
  26513. "type": "number"
  26514. },
  26515. "price": {
  26516. "description": "价格",
  26517. "type": "number"
  26518. },
  26519. "pricedamount": {
  26520. "description": "已定价额",
  26521. "type": "number"
  26522. },
  26523. "pricedavg": {
  26524. "description": "已点均价",
  26525. "type": "number"
  26526. },
  26527. "pricedqty": {
  26528. "description": "已定价量",
  26529. "type": "number"
  26530. },
  26531. "pricemove": {
  26532. "description": "升贴水",
  26533. "type": "number"
  26534. },
  26535. "pricetype": {
  26536. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26537. "type": "integer"
  26538. },
  26539. "producttype": {
  26540. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26541. "type": "integer"
  26542. },
  26543. "qty": {
  26544. "description": "合同量",
  26545. "type": "number"
  26546. },
  26547. "reckonadjustamount": {
  26548. "description": "调整金额",
  26549. "type": "number"
  26550. },
  26551. "reckonedamount": {
  26552. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26553. "type": "number"
  26554. },
  26555. "reckonotheramount": {
  26556. "description": "其它费用",
  26557. "type": "number"
  26558. },
  26559. "reckonrealqty": {
  26560. "description": "已交收量",
  26561. "type": "number"
  26562. },
  26563. "remark": {
  26564. "description": "备注",
  26565. "type": "string"
  26566. },
  26567. "saleuserid": {
  26568. "description": "业务员id",
  26569. "type": "integer"
  26570. },
  26571. "saleuserlogincode": {
  26572. "description": "业务员登录代码",
  26573. "type": "string"
  26574. },
  26575. "saleusername": {
  26576. "description": "业务员名称",
  26577. "type": "string"
  26578. },
  26579. "spotcontractid": {
  26580. "description": "合同ID",
  26581. "type": "string"
  26582. },
  26583. "spotgoodsbrandid": {
  26584. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26585. "type": "integer"
  26586. },
  26587. "spotgoodsdesc": {
  26588. "description": "商品型号(商品规格)",
  26589. "type": "string"
  26590. },
  26591. "startdate": {
  26592. "description": "点价开始日",
  26593. "type": "string"
  26594. },
  26595. "subjectid": {
  26596. "description": "交易主体ID",
  26597. "type": "integer"
  26598. },
  26599. "subjectname": {
  26600. "description": "交易主体名称",
  26601. "type": "string"
  26602. },
  26603. "totalamount": {
  26604. "description": "合计总额",
  26605. "type": "number"
  26606. },
  26607. "tradeuserid": {
  26608. "description": "交易员id",
  26609. "type": "integer"
  26610. },
  26611. "tradeuserlogincode": {
  26612. "description": "交易员登录代码",
  26613. "type": "string"
  26614. },
  26615. "tradeusername": {
  26616. "description": "交易员名称",
  26617. "type": "string"
  26618. },
  26619. "unpayamount": {
  26620. "description": "应收付款额(应支付或应收款) | 未付款额",
  26621. "type": "number"
  26622. },
  26623. "unpricedqty": {
  26624. "description": "未定价量",
  26625. "type": "number"
  26626. },
  26627. "unsureqty": {
  26628. "description": "未确定量 | 未交收量",
  26629. "type": "number"
  26630. },
  26631. "userid": {
  26632. "description": "机构ID",
  26633. "type": "integer"
  26634. },
  26635. "vatrate": {
  26636. "description": "增值税率",
  26637. "type": "number"
  26638. },
  26639. "wrstandardcode": {
  26640. "description": "品类代码",
  26641. "type": "string"
  26642. },
  26643. "wrstandardid": {
  26644. "description": "品类ID",
  26645. "type": "integer"
  26646. },
  26647. "wrstandardname": {
  26648. "description": "品类名称",
  26649. "type": "string"
  26650. }
  26651. }
  26652. },
  26653. "models.Ermcp3SpotGoodsPrice": {
  26654. "type": "object",
  26655. "properties": {
  26656. "areauserid": {
  26657. "description": "所属机构id",
  26658. "type": "integer"
  26659. },
  26660. "brandname": {
  26661. "description": "品牌名称",
  26662. "type": "string"
  26663. },
  26664. "currencyid": {
  26665. "description": "报价货币ID",
  26666. "type": "integer"
  26667. },
  26668. "currencyname": {
  26669. "description": "币种名称",
  26670. "type": "string"
  26671. },
  26672. "deliverygoodscode": {
  26673. "description": "现货商品代码",
  26674. "type": "string"
  26675. },
  26676. "deliverygoodsid": {
  26677. "description": "现货商品id",
  26678. "type": "integer"
  26679. },
  26680. "deliverygoodsname": {
  26681. "description": "现货商品名称",
  26682. "type": "string"
  26683. },
  26684. "enumdicname": {
  26685. "description": "现货商品单位名称",
  26686. "type": "string"
  26687. },
  26688. "gbenumdicname": {
  26689. "description": "品类单位名称",
  26690. "type": "string"
  26691. },
  26692. "gmunitid": {
  26693. "description": "品类单位id",
  26694. "type": "integer"
  26695. },
  26696. "isvalid": {
  26697. "description": "是否有效 - 0:无效 1:有效",
  26698. "type": "integer"
  26699. },
  26700. "operateid": {
  26701. "description": "最后操作人",
  26702. "type": "integer"
  26703. },
  26704. "operatesrc": {
  26705. "description": "最后操作来源 - 1:管理端 2:终端",
  26706. "type": "integer"
  26707. },
  26708. "operatetime": {
  26709. "description": "最后操作时间",
  26710. "type": "string"
  26711. },
  26712. "operatorname": {
  26713. "description": "操作人名称",
  26714. "type": "string"
  26715. },
  26716. "spotgoodsbrandid": {
  26717. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26718. "type": "integer"
  26719. },
  26720. "spotgoodsprice": {
  26721. "description": "现货价格",
  26722. "type": "number"
  26723. },
  26724. "tradedate": {
  26725. "description": "交易日(yyyyMMdd)",
  26726. "type": "string"
  26727. },
  26728. "unitid": {
  26729. "description": "现货商品单位id",
  26730. "type": "integer"
  26731. },
  26732. "wrstandardcode": {
  26733. "description": "品类代码",
  26734. "type": "string"
  26735. },
  26736. "wrstandardid": {
  26737. "description": "现货品类ID(通用则为0)",
  26738. "type": "integer"
  26739. },
  26740. "wrstandardname": {
  26741. "description": "品类名称",
  26742. "type": "string"
  26743. }
  26744. }
  26745. },
  26746. "models.Ermcp3SpotGoodsPriceLog": {
  26747. "type": "object",
  26748. "properties": {
  26749. "areauserid": {
  26750. "description": "所属机构id",
  26751. "type": "integer"
  26752. },
  26753. "brandname": {
  26754. "description": "品牌名称",
  26755. "type": "string"
  26756. },
  26757. "currencyid": {
  26758. "description": "报价货币ID",
  26759. "type": "integer"
  26760. },
  26761. "deliverygoodscode": {
  26762. "description": "现货商品代码",
  26763. "type": "string"
  26764. },
  26765. "deliverygoodsid": {
  26766. "description": "现货商品id",
  26767. "type": "integer"
  26768. },
  26769. "deliverygoodsname": {
  26770. "description": "现货商品名称",
  26771. "type": "string"
  26772. },
  26773. "enumdicname": {
  26774. "description": "现货商品单位名称",
  26775. "type": "string"
  26776. },
  26777. "gbenumdicname": {
  26778. "description": "品类单位名称",
  26779. "type": "string"
  26780. },
  26781. "gmunitid": {
  26782. "description": "品类单位id",
  26783. "type": "integer"
  26784. },
  26785. "logid": {
  26786. "description": "日志id",
  26787. "type": "integer"
  26788. },
  26789. "operateid": {
  26790. "description": "最后操作人",
  26791. "type": "integer"
  26792. },
  26793. "operatesrc": {
  26794. "description": "最后操作来源 - 1:管理端 2:终端",
  26795. "type": "integer"
  26796. },
  26797. "operatetime": {
  26798. "description": "最后操作时间",
  26799. "type": "string"
  26800. },
  26801. "operatorname": {
  26802. "description": "操作人名称",
  26803. "type": "string"
  26804. },
  26805. "spotgoodsbrandid": {
  26806. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26807. "type": "integer"
  26808. },
  26809. "spotgoodsprice": {
  26810. "description": "现货价格",
  26811. "type": "number"
  26812. },
  26813. "tradedate": {
  26814. "description": "交易日(yyyyMMdd)",
  26815. "type": "string"
  26816. },
  26817. "unitid": {
  26818. "description": "现货商品单位id",
  26819. "type": "integer"
  26820. },
  26821. "wrstandardcode": {
  26822. "description": "品类代码",
  26823. "type": "string"
  26824. },
  26825. "wrstandardid": {
  26826. "description": "现货品类ID(通用则为0)",
  26827. "type": "integer"
  26828. },
  26829. "wrstandardname": {
  26830. "description": "品类名称",
  26831. "type": "string"
  26832. }
  26833. }
  26834. },
  26835. "models.Ermcp3SubTaaccount": {
  26836. "type": "object",
  26837. "properties": {
  26838. "accountid": {
  26839. "description": "资金账户ID",
  26840. "type": "integer"
  26841. },
  26842. "parentaccountcode": {
  26843. "description": "所属根账号代码(母账号代码)",
  26844. "type": "string"
  26845. },
  26846. "parentaccountid": {
  26847. "description": "所属根账号(母账号)",
  26848. "type": "integer"
  26849. },
  26850. "taname": {
  26851. "description": "资金账号名称",
  26852. "type": "string"
  26853. },
  26854. "tradestatus": {
  26855. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26856. "type": "integer"
  26857. },
  26858. "username": {
  26859. "description": "交易用户",
  26860. "type": "string"
  26861. }
  26862. }
  26863. },
  26864. "models.Ermcp3TaFutuReDataReport": {
  26865. "type": "object",
  26866. "properties": {
  26867. "accountid": {
  26868. "description": "交易账户",
  26869. "type": "integer"
  26870. },
  26871. "accountname": {
  26872. "description": "交易账号名称",
  26873. "type": "string"
  26874. },
  26875. "agreeunit": {
  26876. "description": "商品合约单位",
  26877. "type": "number"
  26878. },
  26879. "begindate": {
  26880. "description": "开始交易日",
  26881. "type": "string"
  26882. },
  26883. "buyorsell": {
  26884. "description": "持仓方向",
  26885. "type": "integer"
  26886. },
  26887. "charge": {
  26888. "description": "手续费",
  26889. "type": "number"
  26890. },
  26891. "closeavgprice": {
  26892. "description": "期初均价",
  26893. "type": "number"
  26894. },
  26895. "closepl": {
  26896. "description": "平仓损益",
  26897. "type": "number"
  26898. },
  26899. "currencyid": {
  26900. "description": "结算币种ID",
  26901. "type": "integer"
  26902. },
  26903. "currencyname": {
  26904. "description": "币种名称",
  26905. "type": "string"
  26906. },
  26907. "cycletime": {
  26908. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26909. "type": "string"
  26910. },
  26911. "cycletype": {
  26912. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26913. "type": "integer"
  26914. },
  26915. "enddate": {
  26916. "description": "结束交易日",
  26917. "type": "string"
  26918. },
  26919. "enumdicname": {
  26920. "description": "单位名称",
  26921. "type": "string"
  26922. },
  26923. "floatpl": {
  26924. "description": "浮动损益",
  26925. "type": "number"
  26926. },
  26927. "goodscode": {
  26928. "description": "交易合约代码",
  26929. "type": "string"
  26930. },
  26931. "goodsgroupid": {
  26932. "description": "交易品种",
  26933. "type": "integer"
  26934. },
  26935. "goodsgroupname": {
  26936. "description": "交易品种名称",
  26937. "type": "string"
  26938. },
  26939. "goodsgroupspotqty": {
  26940. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26941. "type": "number"
  26942. },
  26943. "goodsid": {
  26944. "description": "交易合约",
  26945. "type": "integer"
  26946. },
  26947. "goodsname": {
  26948. "description": "交易合约名称",
  26949. "type": "string"
  26950. },
  26951. "goodunitid": {
  26952. "description": "交易合约单位id",
  26953. "type": "integer"
  26954. },
  26955. "holdamount": {
  26956. "description": "期末持仓额",
  26957. "type": "number"
  26958. },
  26959. "holdqty": {
  26960. "description": "期初均价",
  26961. "type": "number"
  26962. },
  26963. "lastholdamount": {
  26964. "description": "当前持仓额",
  26965. "type": "number"
  26966. },
  26967. "lastprice": {
  26968. "description": "最新价",
  26969. "type": "number"
  26970. },
  26971. "middlegoodsid": {
  26972. "description": "套保品种id",
  26973. "type": "integer"
  26974. },
  26975. "middlegoodsname": {
  26976. "description": "套保商品名称",
  26977. "type": "string"
  26978. },
  26979. "middlegoodsqty": {
  26980. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26981. "type": "number"
  26982. },
  26983. "middlgoodscode": {
  26984. "description": "套保商品代码",
  26985. "type": "string"
  26986. },
  26987. "openamount": {
  26988. "description": "期末开仓额",
  26989. "type": "number"
  26990. },
  26991. "openavgprice": {
  26992. "description": "期初均价",
  26993. "type": "number"
  26994. },
  26995. "oriholdamount": {
  26996. "description": "期初持仓额",
  26997. "type": "number"
  26998. },
  26999. "oriholdqty": {
  27000. "description": "期初均价",
  27001. "type": "number"
  27002. },
  27003. "oriopenamount": {
  27004. "description": "期初开仓额",
  27005. "type": "number"
  27006. },
  27007. "outergroupcode": {
  27008. "description": "交易品种代码",
  27009. "type": "string"
  27010. },
  27011. "qtydecimalplace": {
  27012. "description": "成交量小数位",
  27013. "type": "integer"
  27014. },
  27015. "reckondate": {
  27016. "description": "日照时期(yyyyMMdd)",
  27017. "type": "string"
  27018. },
  27019. "reckonholdamount": {
  27020. "description": "结算持仓额",
  27021. "type": "number"
  27022. },
  27023. "reckonpl": {
  27024. "description": "结算损益",
  27025. "type": "number"
  27026. },
  27027. "reckonpl2": {
  27028. "description": "结算逐笔盈亏",
  27029. "type": "number"
  27030. },
  27031. "reckonprice": {
  27032. "description": "结算价",
  27033. "type": "number"
  27034. },
  27035. "relateduserid": {
  27036. "description": "账户关联用户ID",
  27037. "type": "integer"
  27038. },
  27039. "todaycloseamount": {
  27040. "description": "今平仓额",
  27041. "type": "number"
  27042. },
  27043. "todaycloseqty": {
  27044. "description": "期初均价",
  27045. "type": "number"
  27046. },
  27047. "todaygoodsgroupspotqty": {
  27048. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  27049. "type": "number"
  27050. },
  27051. "todaymiddlegoodsqty": {
  27052. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  27053. "type": "number"
  27054. },
  27055. "todayopenamount": {
  27056. "description": "今开仓额",
  27057. "type": "number"
  27058. },
  27059. "todayopenqty": {
  27060. "description": "期初均价",
  27061. "type": "number"
  27062. },
  27063. "userid": {
  27064. "description": "账户所属用户ID",
  27065. "type": "integer"
  27066. }
  27067. }
  27068. },
  27069. "models.Ermcp3TradeLinkDetail": {
  27070. "type": "object",
  27071. "properties": {
  27072. "accountid": {
  27073. "description": "资金账号",
  27074. "type": "integer"
  27075. },
  27076. "agreeunit": {
  27077. "description": "合约乘数",
  27078. "type": "number"
  27079. },
  27080. "areauserid": {
  27081. "description": "所属机构",
  27082. "type": "string"
  27083. },
  27084. "bizsubjectid": {
  27085. "description": "归属业务部门ID - SubjectID",
  27086. "type": "string"
  27087. },
  27088. "buyorsell": {
  27089. "description": "方向 - 0:买 1:卖",
  27090. "type": "integer"
  27091. },
  27092. "channelbuildtype": {
  27093. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27094. "type": "integer"
  27095. },
  27096. "contractno": {
  27097. "description": "现货编号 (合同编号)",
  27098. "type": "string"
  27099. },
  27100. "convertratio": {
  27101. "description": "折算系数",
  27102. "type": "number"
  27103. },
  27104. "createtime": {
  27105. "description": "关联时间 | 创建时间",
  27106. "type": "string"
  27107. },
  27108. "creatorid": {
  27109. "description": "创建人ID",
  27110. "type": "string"
  27111. },
  27112. "creatorsrc": {
  27113. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27114. "type": "integer"
  27115. },
  27116. "enumdicname": {
  27117. "description": "单位名称",
  27118. "type": "string"
  27119. },
  27120. "goodscode": {
  27121. "description": "合约代码",
  27122. "type": "string"
  27123. },
  27124. "goodsgroupid": {
  27125. "description": "对冲品种ID[期货合约商品组ID]",
  27126. "type": "integer"
  27127. },
  27128. "goodsid": {
  27129. "description": "商品ID",
  27130. "type": "integer"
  27131. },
  27132. "goodsname": {
  27133. "description": "合约名称",
  27134. "type": "string"
  27135. },
  27136. "hedgeflag": {
  27137. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  27138. "type": "integer"
  27139. },
  27140. "linkdetailid": {
  27141. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27142. "type": "string"
  27143. },
  27144. "linkstatus": {
  27145. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27146. "type": "integer"
  27147. },
  27148. "middlegoodscode": {
  27149. "description": "套保品种代码",
  27150. "type": "string"
  27151. },
  27152. "middlegoodsid": {
  27153. "description": "套保品种ID",
  27154. "type": "integer"
  27155. },
  27156. "middlegoodsname": {
  27157. "description": "套保品种名称",
  27158. "type": "string"
  27159. },
  27160. "relatedlot": {
  27161. "description": "关联手数",
  27162. "type": "number"
  27163. },
  27164. "relatedmode": {
  27165. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27166. "type": "integer"
  27167. },
  27168. "relatedqty": {
  27169. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27170. "type": "number"
  27171. },
  27172. "retcode": {
  27173. "description": "返回码",
  27174. "type": "integer"
  27175. },
  27176. "saleuserid": {
  27177. "description": "业务员ID",
  27178. "type": "string"
  27179. },
  27180. "spotcontractid": {
  27181. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27182. "type": "string"
  27183. },
  27184. "taname": {
  27185. "description": "期货账户",
  27186. "type": "string"
  27187. },
  27188. "tradedate": {
  27189. "description": "关联交易日(yyyyMMdd)",
  27190. "type": "string"
  27191. },
  27192. "tradeid": {
  27193. "description": "期货订单号 | 内部成交单ID",
  27194. "type": "string"
  27195. },
  27196. "tradelot": {
  27197. "description": "成交数量 | 成交手数",
  27198. "type": "integer"
  27199. },
  27200. "tradeprice": {
  27201. "description": "成交价格",
  27202. "type": "number"
  27203. },
  27204. "tradetime": {
  27205. "description": "期货成交时间",
  27206. "type": "string"
  27207. },
  27208. "tradetradedate": {
  27209. "description": "成交交易日(yyyyMMdd)",
  27210. "type": "string"
  27211. },
  27212. "username": {
  27213. "description": "用户名称",
  27214. "type": "string"
  27215. }
  27216. }
  27217. },
  27218. "models.Ermcp3Wrstandard": {
  27219. "type": "object",
  27220. "properties": {
  27221. "areauserid": {
  27222. "description": "所属机构",
  27223. "type": "integer"
  27224. },
  27225. "cantrade": {
  27226. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27227. "type": "integer"
  27228. },
  27229. "convertfactor": {
  27230. "description": "标仓系数",
  27231. "type": "number"
  27232. },
  27233. "createtime": {
  27234. "description": "创建时间",
  27235. "type": "string"
  27236. },
  27237. "creatorid": {
  27238. "description": "创建人",
  27239. "type": "integer"
  27240. },
  27241. "deliverygoodsid": {
  27242. "description": "现货品种ID",
  27243. "type": "integer"
  27244. },
  27245. "enumdicname": {
  27246. "description": "品类单位名称",
  27247. "type": "string"
  27248. },
  27249. "isvalid": {
  27250. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27251. "type": "integer"
  27252. },
  27253. "minivalue": {
  27254. "description": "最小变动值",
  27255. "type": "integer"
  27256. },
  27257. "minivaluedp": {
  27258. "description": "最小变动值小数位",
  27259. "type": "integer"
  27260. },
  27261. "realminivalue": {
  27262. "description": "实际最小变动值",
  27263. "type": "integer"
  27264. },
  27265. "realminivaluedp": {
  27266. "description": "实际最小变动值小数位",
  27267. "type": "integer"
  27268. },
  27269. "remark": {
  27270. "description": "备注",
  27271. "type": "string"
  27272. },
  27273. "unitid": {
  27274. "description": "品类单位ID",
  27275. "type": "integer"
  27276. },
  27277. "updatetime": {
  27278. "description": "更新时间",
  27279. "type": "string"
  27280. },
  27281. "wrstandardcode": {
  27282. "description": "品类代码",
  27283. "type": "string"
  27284. },
  27285. "wrstandardid": {
  27286. "description": "品类ID(SEQ_WRSTANDARD)",
  27287. "type": "integer"
  27288. },
  27289. "wrstandardname": {
  27290. "description": "品类名称",
  27291. "type": "string"
  27292. }
  27293. }
  27294. },
  27295. "models.Ermcp8EnableHedgeditem": {
  27296. "type": "object",
  27297. "properties": {
  27298. "accountname": {
  27299. "description": "套期主体",
  27300. "type": "string"
  27301. },
  27302. "hedgeditemid": {
  27303. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27304. "type": "string"
  27305. },
  27306. "hedgeditemname": {
  27307. "description": "项目名称",
  27308. "type": "string"
  27309. },
  27310. "hedgeditemnum": {
  27311. "description": "项目编号",
  27312. "type": "string"
  27313. },
  27314. "hedgedtype": {
  27315. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27316. "type": "integer"
  27317. },
  27318. "planenddate": {
  27319. "description": "计划结束日期",
  27320. "type": "string"
  27321. },
  27322. "planstartdate": {
  27323. "description": "计划开始日期",
  27324. "type": "string"
  27325. },
  27326. "wrstandardid": {
  27327. "description": "现货商品ID",
  27328. "type": "integer"
  27329. },
  27330. "wrstandardname": {
  27331. "description": "现货商品",
  27332. "type": "string"
  27333. }
  27334. }
  27335. },
  27336. "models.Ermcp8HedgeditemReport": {
  27337. "type": "object",
  27338. "properties": {
  27339. "accountname": {
  27340. "description": "套期主体",
  27341. "type": "string"
  27342. },
  27343. "areauserid": {
  27344. "description": "企业ID",
  27345. "type": "integer"
  27346. },
  27347. "curprice": {
  27348. "description": "[当日现货市场价]当前市场价",
  27349. "type": "number"
  27350. },
  27351. "enumdicname": {
  27352. "description": "单位",
  27353. "type": "string"
  27354. },
  27355. "exeamount": {
  27356. "description": "[执行现货金额]执行市价总额",
  27357. "type": "number"
  27358. },
  27359. "exeavgprice": {
  27360. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27361. "type": "number"
  27362. },
  27363. "exeqty": {
  27364. "description": "[执行数量]执行现货量",
  27365. "type": "number"
  27366. },
  27367. "futurehedgepl": {
  27368. "description": "期货实际损益",
  27369. "type": "number"
  27370. },
  27371. "futurehedgeplchange": {
  27372. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27373. "type": "number"
  27374. },
  27375. "futurepl": {
  27376. "description": "期货套期损益",
  27377. "type": "number"
  27378. },
  27379. "futureplchange": {
  27380. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27381. "type": "number"
  27382. },
  27383. "hedgeamount": {
  27384. "description": "[套期现货金额]套期市价总额",
  27385. "type": "number"
  27386. },
  27387. "hedgeditemnum": {
  27388. "description": "项目编号,模糊查询",
  27389. "type": "string"
  27390. },
  27391. "hedgeditemstatus": {
  27392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27393. "type": "integer"
  27394. },
  27395. "hedgedtype": {
  27396. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27397. "type": "integer"
  27398. },
  27399. "hedgeqty": {
  27400. "description": "[套期数量]套期现货量",
  27401. "type": "number"
  27402. },
  27403. "oriavgprice": {
  27404. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27405. "type": "number"
  27406. },
  27407. "orifuturehedgepl": {
  27408. "description": "期初期货实际损益",
  27409. "type": "number"
  27410. },
  27411. "orifuturepl": {
  27412. "description": "期初期货套期损益",
  27413. "type": "number"
  27414. },
  27415. "orispothedgepl": {
  27416. "description": "期初现货实际损益",
  27417. "type": "number"
  27418. },
  27419. "orispotpl": {
  27420. "description": "期初现货套期损益",
  27421. "type": "number"
  27422. },
  27423. "planenddate": {
  27424. "description": "计划结束日期",
  27425. "type": "string"
  27426. },
  27427. "planstartdate": {
  27428. "description": "计划开始日期",
  27429. "type": "string"
  27430. },
  27431. "spothedgepl": {
  27432. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27433. "type": "number"
  27434. },
  27435. "spothedgeplchange": {
  27436. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27437. "type": "number"
  27438. },
  27439. "spotpl": {
  27440. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27441. "type": "number"
  27442. },
  27443. "spotplchange": {
  27444. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27445. "type": "number"
  27446. },
  27447. "tradeuserid": {
  27448. "description": "交易用户ID",
  27449. "type": "integer"
  27450. },
  27451. "unexeqty": {
  27452. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27453. "type": "number"
  27454. },
  27455. "wrstandardcode": {
  27456. "description": "现货品类代码",
  27457. "type": "string"
  27458. },
  27459. "wrstandardid": {
  27460. "description": "现货商品ID",
  27461. "type": "integer"
  27462. },
  27463. "wrstandardname": {
  27464. "description": "[现货商品]现货品类名称",
  27465. "type": "string"
  27466. }
  27467. }
  27468. },
  27469. "models.Ermcp8RunningHedgeditem": {
  27470. "type": "object",
  27471. "properties": {
  27472. "accountname": {
  27473. "description": "套期主体",
  27474. "type": "string"
  27475. },
  27476. "applyid": {
  27477. "description": "申请人",
  27478. "type": "integer"
  27479. },
  27480. "applysrc": {
  27481. "description": "申请来源 - 1:管理端 2:终端",
  27482. "type": "integer"
  27483. },
  27484. "areauserid": {
  27485. "description": "企业ID",
  27486. "type": "integer"
  27487. },
  27488. "auditid": {
  27489. "description": "审核人",
  27490. "type": "integer"
  27491. },
  27492. "auditremark": {
  27493. "description": "审核备注",
  27494. "type": "string"
  27495. },
  27496. "auditsrc": {
  27497. "description": "审核来源 - 1:管理端 2:终端",
  27498. "type": "integer"
  27499. },
  27500. "audittime": {
  27501. "description": "审核时间",
  27502. "type": "string"
  27503. },
  27504. "audittradedate": {
  27505. "description": "审核交易日(yyyyMMdd)",
  27506. "type": "string"
  27507. },
  27508. "createtime": {
  27509. "description": "申请时间",
  27510. "type": "string"
  27511. },
  27512. "curprice": {
  27513. "description": "当前市场价",
  27514. "type": "number"
  27515. },
  27516. "curstock": {
  27517. "description": "期末库存量 = 采购总量 - 销售总量",
  27518. "type": "number"
  27519. },
  27520. "deliverygoodsid": {
  27521. "description": "现货品种ID",
  27522. "type": "integer"
  27523. },
  27524. "enddate": {
  27525. "description": "完成日期",
  27526. "type": "string"
  27527. },
  27528. "endtradedate": {
  27529. "description": "完成交易日",
  27530. "type": "string"
  27531. },
  27532. "enumdicname": {
  27533. "description": "单位",
  27534. "type": "string"
  27535. },
  27536. "exeamount": {
  27537. "description": "执行市价总额",
  27538. "type": "number"
  27539. },
  27540. "exeavgprice": {
  27541. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27542. "type": "number"
  27543. },
  27544. "execontractamount": {
  27545. "description": "执行定价总额",
  27546. "type": "number"
  27547. },
  27548. "exeqty": {
  27549. "description": "执行现货量",
  27550. "type": "number"
  27551. },
  27552. "exerestamount": {
  27553. "description": "执行剩余市价总额【现货贸易】",
  27554. "type": "number"
  27555. },
  27556. "futurefloatpl": {
  27557. "description": "期货浮动损益",
  27558. "type": "number"
  27559. },
  27560. "futurehedgepl": {
  27561. "description": "期货实际损益",
  27562. "type": "number"
  27563. },
  27564. "futurehedgeplchange": {
  27565. "description": "期货实际损益变动",
  27566. "type": "number"
  27567. },
  27568. "futurepl": {
  27569. "description": "期货套期损益",
  27570. "type": "number"
  27571. },
  27572. "futureplchange": {
  27573. "description": "期货套期损益变动",
  27574. "type": "number"
  27575. },
  27576. "hedgeamount": {
  27577. "description": "套期市价总额",
  27578. "type": "number"
  27579. },
  27580. "hedgecontractamount": {
  27581. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27582. "type": "number"
  27583. },
  27584. "hedgeditemid": {
  27585. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27586. "type": "string"
  27587. },
  27588. "hedgeditemname": {
  27589. "description": "项目名称",
  27590. "type": "string"
  27591. },
  27592. "hedgeditemnum": {
  27593. "description": "项目编号",
  27594. "type": "string"
  27595. },
  27596. "hedgeditemstatus": {
  27597. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27598. "type": "integer"
  27599. },
  27600. "hedgedtype": {
  27601. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27602. "type": "integer"
  27603. },
  27604. "hedgeqty": {
  27605. "description": "套期现货量",
  27606. "type": "number"
  27607. },
  27608. "hedgerate": {
  27609. "description": "套保比率",
  27610. "type": "number"
  27611. },
  27612. "hedgerestamount": {
  27613. "description": "套期剩余市价总额【现货贸易】",
  27614. "type": "number"
  27615. },
  27616. "hedgesumpl": {
  27617. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27618. "type": "number"
  27619. },
  27620. "middlegoodslist": {
  27621. "description": "套期商品列表",
  27622. "type": "array",
  27623. "items": {
  27624. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  27625. }
  27626. },
  27627. "oriavgprice": {
  27628. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  27629. "type": "number"
  27630. },
  27631. "orifuturehedgepl": {
  27632. "description": "期初期货实际损益",
  27633. "type": "number"
  27634. },
  27635. "orifuturepl": {
  27636. "description": "期初期货套期损益",
  27637. "type": "number"
  27638. },
  27639. "orispothedgepl": {
  27640. "description": "期初现货实际损益",
  27641. "type": "number"
  27642. },
  27643. "orispotpl": {
  27644. "description": "期初现货套期损益",
  27645. "type": "number"
  27646. },
  27647. "planenddate": {
  27648. "description": "计划结束日期",
  27649. "type": "string"
  27650. },
  27651. "planstartdate": {
  27652. "description": "计划开始日期",
  27653. "type": "string"
  27654. },
  27655. "remark": {
  27656. "description": "备注",
  27657. "type": "string"
  27658. },
  27659. "spotbookamount": {
  27660. "description": "现货账面总额",
  27661. "type": "number"
  27662. },
  27663. "spotfloatpl": {
  27664. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27665. "type": "number"
  27666. },
  27667. "spothedgepl": {
  27668. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27669. "type": "number"
  27670. },
  27671. "spothedgeplchange": {
  27672. "description": "现货实际损益变动",
  27673. "type": "number"
  27674. },
  27675. "spotpl": {
  27676. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27677. "type": "number"
  27678. },
  27679. "spotplchange": {
  27680. "description": "现货套期损益变动",
  27681. "type": "number"
  27682. },
  27683. "spottradepl": {
  27684. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  27685. "type": "number"
  27686. },
  27687. "sumobspl": {
  27688. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  27689. "type": "number"
  27690. },
  27691. "tradeuserid": {
  27692. "description": "交易用户ID",
  27693. "type": "integer"
  27694. },
  27695. "unexeqty": {
  27696. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27697. "type": "number"
  27698. },
  27699. "updatetime": {
  27700. "description": "更新时间",
  27701. "type": "string"
  27702. },
  27703. "vatpl": {
  27704. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  27705. "type": "number"
  27706. },
  27707. "vatrate": {
  27708. "description": "增值税",
  27709. "type": "number"
  27710. },
  27711. "wrstandardid": {
  27712. "description": "现货商品ID",
  27713. "type": "integer"
  27714. },
  27715. "wrstandardname": {
  27716. "description": "商品名称",
  27717. "type": "string"
  27718. }
  27719. }
  27720. },
  27721. "models.ErmcpBizGroupEx": {
  27722. "type": "object",
  27723. "properties": {
  27724. "acclist": {
  27725. "description": "账号列表",
  27726. "type": "array",
  27727. "items": {
  27728. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  27729. }
  27730. },
  27731. "bizgroupid": {
  27732. "description": "业务分组id",
  27733. "type": "integer"
  27734. },
  27735. "biztype": {
  27736. "description": "业务类型 1-套保 2-套利",
  27737. "type": "integer"
  27738. },
  27739. "wrlist": {
  27740. "description": "现货商品表",
  27741. "type": "array",
  27742. "items": {
  27743. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27744. }
  27745. }
  27746. }
  27747. },
  27748. "models.ErmcpBizGroupSpotGoods": {
  27749. "type": "object",
  27750. "properties": {
  27751. "areauserid": {
  27752. "description": "所属机构id",
  27753. "type": "integer"
  27754. },
  27755. "bizgroupid": {
  27756. "description": "分组id",
  27757. "type": "integer"
  27758. },
  27759. "biztype": {
  27760. "description": "业务类型 1-套保 2-套利",
  27761. "type": "integer"
  27762. },
  27763. "deliverygoodscode": {
  27764. "description": "现货商品代码",
  27765. "type": "string"
  27766. },
  27767. "deliverygoodsid": {
  27768. "description": "现货商品id",
  27769. "type": "integer"
  27770. },
  27771. "deliverygoodsname": {
  27772. "description": "现货商品名称",
  27773. "type": "string"
  27774. },
  27775. "unitid": {
  27776. "description": "现货商品单位id",
  27777. "type": "integer"
  27778. }
  27779. }
  27780. },
  27781. "models.ErmcpBizGroupTaAccount": {
  27782. "type": "object",
  27783. "properties": {
  27784. "accountid": {
  27785. "description": "账号id",
  27786. "type": "integer"
  27787. },
  27788. "accountname": {
  27789. "description": "账号名称",
  27790. "type": "string"
  27791. },
  27792. "areauserid": {
  27793. "description": "所属机构id",
  27794. "type": "integer"
  27795. },
  27796. "bizgroupid": {
  27797. "description": "业务分组id",
  27798. "type": "integer"
  27799. },
  27800. "ismain": {
  27801. "description": "是否主账号 1-是 0-否",
  27802. "type": "integer"
  27803. }
  27804. }
  27805. },
  27806. "models.ErmcpDGFactoryItem": {
  27807. "type": "object",
  27808. "properties": {
  27809. "areauserid": {
  27810. "description": "用户id",
  27811. "type": "integer"
  27812. },
  27813. "deliverygoodsid": {
  27814. "description": "现货品种ID",
  27815. "type": "integer"
  27816. },
  27817. "dgfactoryitemid": {
  27818. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27819. "type": "integer"
  27820. },
  27821. "dgfactoryitemtypeid": {
  27822. "description": "要素项类型",
  27823. "type": "integer"
  27824. },
  27825. "dgfactoryitemvalue": {
  27826. "description": "要素项值(类型为仓库时填写仓库名称)",
  27827. "type": "string"
  27828. },
  27829. "isvalid": {
  27830. "description": "是否有效 - 0:无效 1:有效",
  27831. "type": "integer"
  27832. },
  27833. "orderindex": {
  27834. "description": "顺序",
  27835. "type": "integer"
  27836. },
  27837. "warehouseid": {
  27838. "description": "仓库ID(类型为仓库时填写)",
  27839. "type": "integer"
  27840. }
  27841. }
  27842. },
  27843. "models.ErmcpDeliveryGoods": {
  27844. "type": "object",
  27845. "properties": {
  27846. "agreeunit": {
  27847. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27848. "type": "integer"
  27849. },
  27850. "areauserid": {
  27851. "description": "所属机构",
  27852. "type": "integer"
  27853. },
  27854. "auditflag": {
  27855. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27856. "type": "integer"
  27857. },
  27858. "categoryid": {
  27859. "description": "类别ID(SEQ_WRCATEGORY)",
  27860. "type": "integer"
  27861. },
  27862. "deliverygoodscode": {
  27863. "description": "现货品种代码",
  27864. "type": "string"
  27865. },
  27866. "deliverygoodsid": {
  27867. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27868. "type": "integer"
  27869. },
  27870. "deliverygoodsname": {
  27871. "description": "现货品种名称",
  27872. "type": "string"
  27873. },
  27874. "deliverygoodstype": {
  27875. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27876. "type": "integer"
  27877. },
  27878. "dgstatus": {
  27879. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27880. "type": "integer"
  27881. },
  27882. "enumdicname": {
  27883. "description": "现货品种单位名称",
  27884. "type": "string"
  27885. },
  27886. "goodsunitid": {
  27887. "description": "现货品种单位ID",
  27888. "type": "integer"
  27889. },
  27890. "isvalid": {
  27891. "description": "是否有效 - 0:无效 1:有效",
  27892. "type": "integer"
  27893. },
  27894. "qtydecimalplace": {
  27895. "description": "成交量小数位",
  27896. "type": "integer"
  27897. },
  27898. "remark": {
  27899. "description": "备注",
  27900. "type": "string"
  27901. },
  27902. "standardqty": {
  27903. "description": "标准数量(库位数量) [标准品特有]",
  27904. "type": "integer"
  27905. },
  27906. "standardqtyrange": {
  27907. "description": "标准数量偏差范围 [标准品特有]",
  27908. "type": "integer"
  27909. }
  27910. }
  27911. },
  27912. "models.ErmcpFuturesCompany": {
  27913. "type": "object",
  27914. "properties": {
  27915. "brokerid": {
  27916. "description": "经纪公司代码",
  27917. "type": "string"
  27918. },
  27919. "channeladdress": {
  27920. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27921. "type": "string"
  27922. },
  27923. "channelid": {
  27924. "description": "对冲渠道ID",
  27925. "type": "string"
  27926. },
  27927. "createtime": {
  27928. "description": "创建时间",
  27929. "type": "string"
  27930. },
  27931. "creatorid": {
  27932. "description": "创建人",
  27933. "type": "string"
  27934. },
  27935. "fcid": {
  27936. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27937. "type": "integer"
  27938. },
  27939. "fcname": {
  27940. "description": "期货公司名称",
  27941. "type": "string"
  27942. },
  27943. "isvalid": {
  27944. "description": "是否有效 - 0:无效 1:有效",
  27945. "type": "integer"
  27946. },
  27947. "mhpaddress": {
  27948. "description": "MHP服务地址(IP:Port)",
  27949. "type": "string"
  27950. },
  27951. "riskrulegroupid": {
  27952. "description": "风控规则组ID",
  27953. "type": "string"
  27954. },
  27955. "tradefeetmpid": {
  27956. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27957. "type": "string"
  27958. },
  27959. "trademargintmpid": {
  27960. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27961. "type": "string"
  27962. },
  27963. "traderatetmpid": {
  27964. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27965. "type": "string"
  27966. },
  27967. "updatetime": {
  27968. "description": "更新时间",
  27969. "type": "string"
  27970. },
  27971. "updatorid": {
  27972. "description": "更新人",
  27973. "type": "string"
  27974. }
  27975. }
  27976. },
  27977. "models.ErmcpGGConvertCfg": {
  27978. "type": "object",
  27979. "properties": {
  27980. "convertratio": {
  27981. "description": "折算系数",
  27982. "type": "number"
  27983. },
  27984. "destgoodsgroupid": {
  27985. "description": "目标品种ID",
  27986. "type": "integer"
  27987. },
  27988. "dstcode": {
  27989. "description": "目录品种代码",
  27990. "type": "string"
  27991. },
  27992. "dstexchangecode": {
  27993. "description": "目标期货交易所",
  27994. "type": "string"
  27995. },
  27996. "dstname": {
  27997. "description": "目标品种名称",
  27998. "type": "string"
  27999. },
  28000. "dstunitid": {
  28001. "description": "目标品种单位ID",
  28002. "type": "integer"
  28003. },
  28004. "dstunitidname": {
  28005. "description": "目标品种单位名称",
  28006. "type": "string"
  28007. },
  28008. "modifytime": {
  28009. "description": "修改时间",
  28010. "type": "string"
  28011. },
  28012. "srccode": {
  28013. "description": "源品种代码",
  28014. "type": "string"
  28015. },
  28016. "srcexchangecode": {
  28017. "description": "源期货交易所",
  28018. "type": "string"
  28019. },
  28020. "srcgoodsgroupid": {
  28021. "description": "源品种ID",
  28022. "type": "integer"
  28023. },
  28024. "srcname": {
  28025. "description": "源品种名称",
  28026. "type": "string"
  28027. },
  28028. "srcunitid": {
  28029. "description": "源品种单位ID",
  28030. "type": "integer"
  28031. },
  28032. "srcunitidname": {
  28033. "description": "源品种单位名称",
  28034. "type": "string"
  28035. }
  28036. }
  28037. },
  28038. "models.ErmcpGoods": {
  28039. "type": "object",
  28040. "required": [
  28041. "goodscode",
  28042. "goodsid",
  28043. "goodsname",
  28044. "marketid"
  28045. ],
  28046. "properties": {
  28047. "agreeunit": {
  28048. "description": "合约单位",
  28049. "type": "number"
  28050. },
  28051. "areauserid": {
  28052. "description": "所属机构",
  28053. "type": "integer"
  28054. },
  28055. "auditaccountid": {
  28056. "description": "审核操作员账号",
  28057. "type": "integer"
  28058. },
  28059. "audittime": {
  28060. "description": "审核时间",
  28061. "type": "string"
  28062. },
  28063. "cancelaccountid": {
  28064. "description": "注销操作员账号",
  28065. "type": "integer"
  28066. },
  28067. "canceltime": {
  28068. "description": "注销时间",
  28069. "type": "string"
  28070. },
  28071. "closepricemode": {
  28072. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28073. "type": "integer"
  28074. },
  28075. "closepriceparam": {
  28076. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28077. "type": "number"
  28078. },
  28079. "createtime": {
  28080. "description": "创建时间",
  28081. "type": "string"
  28082. },
  28083. "creatorid": {
  28084. "description": "创建人",
  28085. "type": "integer"
  28086. },
  28087. "currencyid": {
  28088. "description": "报价货币ID",
  28089. "type": "integer"
  28090. },
  28091. "cutmode": {
  28092. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28093. "type": "integer"
  28094. },
  28095. "decimalplace": {
  28096. "description": "报价小数位",
  28097. "type": "integer"
  28098. },
  28099. "delistingdate": {
  28100. "description": "商品退市时间(状态:退市) -- 已作废",
  28101. "type": "string"
  28102. },
  28103. "delistingmode": {
  28104. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28105. "type": "integer"
  28106. },
  28107. "deliveryflag": {
  28108. "description": "交割标志 - 0:不可交割 1:可交割",
  28109. "type": "integer"
  28110. },
  28111. "enumdicname": {
  28112. "description": "单位名称",
  28113. "type": "string"
  28114. },
  28115. "forceclosemode": {
  28116. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28117. "type": "integer"
  28118. },
  28119. "forceclosevalue": {
  28120. "description": "定期强平参数 [收益权]",
  28121. "type": "integer"
  28122. },
  28123. "goodscode": {
  28124. "description": "商品代码(内部)",
  28125. "type": "string"
  28126. },
  28127. "goodscurrencyid": {
  28128. "description": "合约货币ID",
  28129. "type": "integer"
  28130. },
  28131. "goodsgroupid": {
  28132. "description": "所属商品组ID",
  28133. "type": "integer"
  28134. },
  28135. "goodsid": {
  28136. "description": "商品ID(自增ID SEQ_GOODS)",
  28137. "type": "integer"
  28138. },
  28139. "goodsname": {
  28140. "description": "商品名称",
  28141. "type": "string"
  28142. },
  28143. "goodsquotetype": {
  28144. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28145. "type": "integer"
  28146. },
  28147. "goodsstatus": {
  28148. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28149. "type": "integer"
  28150. },
  28151. "goodstradetype": {
  28152. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28153. "type": "integer"
  28154. },
  28155. "goodunitid": {
  28156. "description": "报价单位ID",
  28157. "type": "integer"
  28158. },
  28159. "hasquoter": {
  28160. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28161. "type": "integer"
  28162. },
  28163. "hqprotecttime": {
  28164. "description": "行情保护时间(秒)",
  28165. "type": "integer"
  28166. },
  28167. "innerdealmode": {
  28168. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28169. "type": "integer"
  28170. },
  28171. "isbuylimited": {
  28172. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28173. "type": "integer"
  28174. },
  28175. "isvisible": {
  28176. "description": "游客是否可见 - 0:不可见 1:可见",
  28177. "type": "integer"
  28178. },
  28179. "lasttradedate": {
  28180. "description": "最后交易日期(状态:待退市)",
  28181. "type": "string"
  28182. },
  28183. "listingdate": {
  28184. "description": "交易开始日期",
  28185. "type": "string"
  28186. },
  28187. "marketid": {
  28188. "description": "所属市场ID",
  28189. "type": "integer"
  28190. },
  28191. "modifierid": {
  28192. "description": "修改人",
  28193. "type": "integer"
  28194. },
  28195. "modifystatus": {
  28196. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28197. "type": "integer"
  28198. },
  28199. "modifytime": {
  28200. "description": "修改时间",
  28201. "type": "string"
  28202. },
  28203. "outerdealmode": {
  28204. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28205. "type": "integer"
  28206. },
  28207. "outgoodscode": {
  28208. "description": "商品代码(外部)",
  28209. "type": "string"
  28210. },
  28211. "pictureurl": {
  28212. "description": "商品图片",
  28213. "type": "string"
  28214. },
  28215. "qtydecimalplace": {
  28216. "description": "成交量小数位",
  28217. "type": "integer"
  28218. },
  28219. "quotegear": {
  28220. "description": "行情档位(1-10)",
  28221. "type": "integer"
  28222. },
  28223. "quoteminunit": {
  28224. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28225. "type": "integer"
  28226. },
  28227. "quoteshowtype": {
  28228. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28229. "type": "integer"
  28230. },
  28231. "quoteshowtypeinterval": {
  28232. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28233. "type": "integer"
  28234. },
  28235. "relatedgoodsid": {
  28236. "description": "关联参考商品ID",
  28237. "type": "integer"
  28238. },
  28239. "remark": {
  28240. "description": "备注",
  28241. "type": "string"
  28242. },
  28243. "trademode": {
  28244. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28245. "type": "integer"
  28246. }
  28247. }
  28248. },
  28249. "models.ErmcpGoodsBrand": {
  28250. "type": "object",
  28251. "properties": {
  28252. "areauserid": {
  28253. "description": "所属机构",
  28254. "type": "integer"
  28255. },
  28256. "brandid": {
  28257. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28258. "type": "integer"
  28259. },
  28260. "brandname": {
  28261. "description": "品牌名称",
  28262. "type": "string"
  28263. },
  28264. "createtime": {
  28265. "description": "创建时间",
  28266. "type": "string"
  28267. },
  28268. "creatorid": {
  28269. "description": "创建人",
  28270. "type": "integer"
  28271. },
  28272. "creatorsrc": {
  28273. "description": "创建人来源 - 1:管理端 2:终端",
  28274. "type": "integer"
  28275. },
  28276. "deliverygoodsid": {
  28277. "description": "现货品种ID",
  28278. "type": "integer"
  28279. },
  28280. "isvalid": {
  28281. "description": "是否有效 - 0:无效 1:有效",
  28282. "type": "integer"
  28283. },
  28284. "updatetime": {
  28285. "description": "更新时间",
  28286. "type": "string"
  28287. },
  28288. "updatorid": {
  28289. "description": "更新人",
  28290. "type": "integer"
  28291. },
  28292. "updatorsrc": {
  28293. "description": "更新人来源 - 1:管理端 2:终端",
  28294. "type": "integer"
  28295. },
  28296. "wrstandardid": {
  28297. "description": "现货商品ID",
  28298. "type": "integer"
  28299. }
  28300. }
  28301. },
  28302. "models.ErmcpGoodsModel": {
  28303. "type": "object",
  28304. "properties": {
  28305. "areauserid": {
  28306. "description": "所属机构",
  28307. "type": "integer"
  28308. },
  28309. "convertfactor": {
  28310. "description": "标仓系数",
  28311. "type": "number"
  28312. },
  28313. "createtime": {
  28314. "description": "创建时间",
  28315. "type": "string"
  28316. },
  28317. "creatorid": {
  28318. "description": "创建人",
  28319. "type": "integer"
  28320. },
  28321. "creatorsrc": {
  28322. "description": "创建人来源 - 1:管理端 2:终端",
  28323. "type": "integer"
  28324. },
  28325. "deliverygoodsid": {
  28326. "description": "现货品种ID",
  28327. "type": "integer"
  28328. },
  28329. "isvalid": {
  28330. "description": "是否有效 - 0:无效 1:有效",
  28331. "type": "integer"
  28332. },
  28333. "modelid": {
  28334. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28335. "type": "integer"
  28336. },
  28337. "modelname": {
  28338. "description": "型号名称",
  28339. "type": "string"
  28340. },
  28341. "updatetime": {
  28342. "description": "更新时间",
  28343. "type": "string"
  28344. },
  28345. "updatorid": {
  28346. "description": "更新人",
  28347. "type": "integer"
  28348. },
  28349. "updatorsrc": {
  28350. "description": "更新人来源 - 1:管理端 2:终端",
  28351. "type": "integer"
  28352. },
  28353. "wrstandardid": {
  28354. "description": "现货商品ID",
  28355. "type": "integer"
  28356. }
  28357. }
  28358. },
  28359. "models.ErmcpHisExposure": {
  28360. "type": "object",
  28361. "properties": {
  28362. "needhedgeexposoure": {
  28363. "description": "应套保敞口",
  28364. "type": "number"
  28365. },
  28366. "reckondate": {
  28367. "description": "日照时期(yyyyMMdd)",
  28368. "type": "string"
  28369. },
  28370. "totalexposure": {
  28371. "description": "总敞口",
  28372. "type": "number"
  28373. }
  28374. }
  28375. },
  28376. "models.ErmcpLoginTaAccount": {
  28377. "type": "object",
  28378. "properties": {
  28379. "accountid": {
  28380. "description": "账号id",
  28381. "type": "integer"
  28382. },
  28383. "accountname": {
  28384. "description": "账号名称",
  28385. "type": "string"
  28386. }
  28387. }
  28388. },
  28389. "models.ErmcpLoginUser": {
  28390. "type": "object",
  28391. "properties": {
  28392. "acclist": {
  28393. "description": "关联资金账号",
  28394. "type": "array",
  28395. "items": {
  28396. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28397. }
  28398. },
  28399. "accountname": {
  28400. "description": "用户名称",
  28401. "type": "string"
  28402. },
  28403. "clientroleid": {
  28404. "description": "角色id(usertype=2)",
  28405. "type": "integer"
  28406. },
  28407. "createtime": {
  28408. "description": "创建时间",
  28409. "type": "string"
  28410. },
  28411. "logincode": {
  28412. "description": "登录代码",
  28413. "type": "string"
  28414. },
  28415. "loginid": {
  28416. "description": "登录id(LOGINID)",
  28417. "type": "integer"
  28418. },
  28419. "loginname": {
  28420. "description": "登录名称(loginaccount表中的accountname字段)",
  28421. "type": "string"
  28422. },
  28423. "loginstatus": {
  28424. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28425. "type": "integer"
  28426. },
  28427. "memberuserid": {
  28428. "description": "所属会员id",
  28429. "type": "integer"
  28430. },
  28431. "mobile": {
  28432. "description": "手机号",
  28433. "type": "string"
  28434. },
  28435. "modifytime": {
  28436. "description": "修改时间",
  28437. "type": "string"
  28438. },
  28439. "password": {
  28440. "description": "密码(不可解密)",
  28441. "type": "string"
  28442. },
  28443. "rolename": {
  28444. "description": "角色名称",
  28445. "type": "string"
  28446. },
  28447. "rolestatus": {
  28448. "description": "角色状态 1-启用 2-停用",
  28449. "type": "integer"
  28450. },
  28451. "roletype": {
  28452. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28453. "type": "string"
  28454. },
  28455. "userid": {
  28456. "description": "用户id",
  28457. "type": "integer"
  28458. },
  28459. "usertype": {
  28460. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28461. "type": "integer"
  28462. }
  28463. }
  28464. },
  28465. "models.ErmcpLoginUserEx": {
  28466. "type": "object",
  28467. "properties": {
  28468. "accountstatus": {
  28469. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28470. "type": "integer"
  28471. },
  28472. "mobile": {
  28473. "description": "手机号",
  28474. "type": "string"
  28475. },
  28476. "querytype": {
  28477. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28478. "type": "integer"
  28479. },
  28480. "roleid": {
  28481. "description": "角色id(交易账户-\u003e用户id)",
  28482. "type": "integer"
  28483. },
  28484. "rolename": {
  28485. "description": "角色名称(交易账户-\u003e用户名称)",
  28486. "type": "string"
  28487. },
  28488. "userlist": {
  28489. "description": "用户列表",
  28490. "type": "array",
  28491. "items": {
  28492. "$ref": "#/definitions/models.ErmcpLoginUser"
  28493. }
  28494. },
  28495. "usertype": {
  28496. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28497. "type": "integer"
  28498. }
  28499. }
  28500. },
  28501. "models.ErmcpMiddleGoodsModel": {
  28502. "type": "object",
  28503. "properties": {
  28504. "areauserid": {
  28505. "description": "机构用户ID",
  28506. "type": "integer"
  28507. },
  28508. "createtime": {
  28509. "description": "修改时间",
  28510. "type": "string"
  28511. },
  28512. "enumdicname": {
  28513. "description": "单位名称",
  28514. "type": "string"
  28515. },
  28516. "evaluateratio": {
  28517. "description": "估价系数",
  28518. "type": "number"
  28519. },
  28520. "goodsgroupid": {
  28521. "description": "关联期货品种ID",
  28522. "type": "integer"
  28523. },
  28524. "goodsunitid": {
  28525. "description": "单位ID",
  28526. "type": "integer"
  28527. },
  28528. "isvalid": {
  28529. "description": "状态 0-无效(停用) 1-有效(正常)",
  28530. "type": "integer"
  28531. },
  28532. "middlegoodscode": {
  28533. "description": "套保品种代码",
  28534. "type": "string"
  28535. },
  28536. "middlegoodsid": {
  28537. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28538. "type": "integer"
  28539. },
  28540. "middlegoodsname": {
  28541. "description": "套保品种名称",
  28542. "type": "string"
  28543. },
  28544. "modifytime": {
  28545. "description": "修改时间",
  28546. "type": "string"
  28547. },
  28548. "needarbitrageratio": {
  28549. "description": "套利比例",
  28550. "type": "number"
  28551. },
  28552. "needhedgeratio": {
  28553. "description": "套保比率",
  28554. "type": "number"
  28555. },
  28556. "qtydecimalplace": {
  28557. "description": "数量小数位",
  28558. "type": "integer"
  28559. },
  28560. "relatedgoodsid": {
  28561. "description": "关联交易商品ID",
  28562. "type": "integer"
  28563. },
  28564. "relatedgoodstype": {
  28565. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28566. "type": "integer"
  28567. },
  28568. "remark": {
  28569. "description": "备注",
  28570. "type": "string"
  28571. }
  28572. }
  28573. },
  28574. "models.ErmcpMiddlegoodsRelateGoods": {
  28575. "type": "object",
  28576. "properties": {
  28577. "agreeunit": {
  28578. "description": "合约乘数",
  28579. "type": "number"
  28580. },
  28581. "convertratio": {
  28582. "description": "折算系数",
  28583. "type": "number"
  28584. },
  28585. "enumdicname": {
  28586. "description": "单位名称(交易商品)",
  28587. "type": "string"
  28588. },
  28589. "goodscode": {
  28590. "description": "交易商品代码",
  28591. "type": "string"
  28592. },
  28593. "goodsgroupid": {
  28594. "description": "交易品种id",
  28595. "type": "integer"
  28596. },
  28597. "goodsid": {
  28598. "description": "商品Id",
  28599. "type": "integer"
  28600. },
  28601. "goodsname": {
  28602. "description": "交易商品名称",
  28603. "type": "string"
  28604. },
  28605. "goodunitid": {
  28606. "description": "交易商品单位id",
  28607. "type": "integer"
  28608. },
  28609. "middlegoodsid": {
  28610. "description": "套保商品id",
  28611. "type": "integer"
  28612. },
  28613. "middlegoodsname": {
  28614. "description": "套保商品名称",
  28615. "type": "string"
  28616. },
  28617. "middlegoodsswcode": {
  28618. "description": "套保商品代码",
  28619. "type": "string"
  28620. },
  28621. "needarbitrageratio": {
  28622. "description": "应套利比例",
  28623. "type": "number"
  28624. },
  28625. "needhedgeratio": {
  28626. "description": "应套保比例",
  28627. "type": "number"
  28628. }
  28629. }
  28630. },
  28631. "models.ErmcpRole": {
  28632. "type": "object",
  28633. "properties": {
  28634. "areauserid": {
  28635. "description": "所属机构",
  28636. "type": "integer"
  28637. },
  28638. "autoid": {
  28639. "description": "角色ID(自增ID)",
  28640. "type": "integer"
  28641. },
  28642. "modifierid": {
  28643. "description": "修改人(创建人)",
  28644. "type": "integer"
  28645. },
  28646. "modifiername": {
  28647. "description": "修改人名称",
  28648. "type": "string"
  28649. },
  28650. "modifytime": {
  28651. "description": "修改时间(创建时间)",
  28652. "type": "string"
  28653. },
  28654. "rolename": {
  28655. "description": "角色名称",
  28656. "type": "string"
  28657. },
  28658. "rolestatus": {
  28659. "description": "角色状态 - 1:启用 2:停用",
  28660. "type": "integer"
  28661. },
  28662. "roletype": {
  28663. "description": "角色类型 - 1- 管理端 2- 交易端",
  28664. "type": "integer"
  28665. }
  28666. }
  28667. },
  28668. "models.ErmcpRoleMenu": {
  28669. "type": "object",
  28670. "properties": {
  28671. "iconame": {
  28672. "description": "菜单图标",
  28673. "type": "string"
  28674. },
  28675. "ishadrole": {
  28676. "description": "是否有权限",
  28677. "type": "boolean"
  28678. },
  28679. "menutype": {
  28680. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  28681. "type": "integer"
  28682. },
  28683. "parentcode": {
  28684. "description": "上级资源代码",
  28685. "type": "string"
  28686. },
  28687. "remark": {
  28688. "description": "菜单备注",
  28689. "type": "string"
  28690. },
  28691. "resourcecode": {
  28692. "description": "菜单代码",
  28693. "type": "string"
  28694. },
  28695. "resourcelevel": {
  28696. "description": "级别",
  28697. "type": "integer"
  28698. },
  28699. "resourcename": {
  28700. "description": "菜单名称",
  28701. "type": "string"
  28702. },
  28703. "roleid": {
  28704. "description": "角色id",
  28705. "type": "integer"
  28706. },
  28707. "sort": {
  28708. "description": "排序",
  28709. "type": "integer"
  28710. },
  28711. "url": {
  28712. "description": "URL",
  28713. "type": "string"
  28714. },
  28715. "userid": {
  28716. "description": "用户id",
  28717. "type": "integer"
  28718. }
  28719. }
  28720. },
  28721. "models.ErmcpRoleMenuEx": {
  28722. "type": "object",
  28723. "properties": {
  28724. "menu": {
  28725. "description": "父级菜单",
  28726. "$ref": "#/definitions/models.ErmcpRoleMenu"
  28727. },
  28728. "subMenu": {
  28729. "description": "子级菜单",
  28730. "type": "array",
  28731. "items": {
  28732. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  28733. }
  28734. }
  28735. }
  28736. },
  28737. "models.ErmcpSpotContractModelEx": {
  28738. "type": "object",
  28739. "properties": {
  28740. "accountname": {
  28741. "description": "套期主体",
  28742. "type": "string"
  28743. },
  28744. "amount": {
  28745. "description": "金额 [1:一口价、3:暂定价]",
  28746. "type": "number"
  28747. },
  28748. "attachment": {
  28749. "description": "附件",
  28750. "type": "string"
  28751. },
  28752. "auditremark": {
  28753. "description": "审核意见",
  28754. "type": "string"
  28755. },
  28756. "audittime": {
  28757. "description": "审核时间",
  28758. "type": "string"
  28759. },
  28760. "avgprice": {
  28761. "description": "定价均价 = 已定价金额 / 已定价量",
  28762. "type": "number"
  28763. },
  28764. "brandname": {
  28765. "description": "品牌名称",
  28766. "type": "string"
  28767. },
  28768. "buyuserid": {
  28769. "description": "采购方ID",
  28770. "type": "integer"
  28771. },
  28772. "buyusername": {
  28773. "description": "采购方名称",
  28774. "type": "string"
  28775. },
  28776. "contracctstatus": {
  28777. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28778. "type": "integer"
  28779. },
  28780. "contractmargin": {
  28781. "description": "合同保证金",
  28782. "type": "number"
  28783. },
  28784. "contractno": {
  28785. "description": "[合同编号]现货合同编号",
  28786. "type": "string"
  28787. },
  28788. "contracttype": {
  28789. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28790. "type": "integer"
  28791. },
  28792. "convertfactor": {
  28793. "description": "标仓系数",
  28794. "type": "number"
  28795. },
  28796. "createtime": {
  28797. "description": "创建时间",
  28798. "type": "string"
  28799. },
  28800. "customername": {
  28801. "description": "对手方",
  28802. "type": "string"
  28803. },
  28804. "customeruserid": {
  28805. "description": "客户ID",
  28806. "type": "integer"
  28807. },
  28808. "deliveryenddate": {
  28809. "description": "交收期(结束)",
  28810. "type": "string"
  28811. },
  28812. "deliverygoodscode": {
  28813. "description": "现货品种代码",
  28814. "type": "string"
  28815. },
  28816. "deliverygoodsid": {
  28817. "description": "现货品种ID",
  28818. "type": "integer"
  28819. },
  28820. "deliverygoodsname": {
  28821. "description": "现货品种名称",
  28822. "type": "string"
  28823. },
  28824. "deliverystartdate": {
  28825. "description": "交收期(开始)",
  28826. "type": "string"
  28827. },
  28828. "enddate": {
  28829. "description": "点价结束日期 [2:点价 3:暂定价]",
  28830. "type": "string"
  28831. },
  28832. "enumdicname": {
  28833. "description": "单位名称",
  28834. "type": "string"
  28835. },
  28836. "goodscode": {
  28837. "description": "点价合约代码",
  28838. "type": "string"
  28839. },
  28840. "goodsid": {
  28841. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28842. "type": "integer"
  28843. },
  28844. "goodsname": {
  28845. "description": "点价商品名称",
  28846. "type": "string"
  28847. },
  28848. "isrelated": {
  28849. "description": "是否已关联计划项目 - 0:否 1:是",
  28850. "type": "integer"
  28851. },
  28852. "isrelated2": {
  28853. "description": "是否已关联现货项目 - 0:否 1:是",
  28854. "type": "integer"
  28855. },
  28856. "margin": {
  28857. "description": "当前保证金",
  28858. "type": "number"
  28859. },
  28860. "modelname": {
  28861. "description": "型号名称",
  28862. "type": "string"
  28863. },
  28864. "price": {
  28865. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28866. "type": "number"
  28867. },
  28868. "pricedamount": {
  28869. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28870. "type": "number"
  28871. },
  28872. "pricedqty": {
  28873. "description": "已定价量",
  28874. "type": "number"
  28875. },
  28876. "pricemove": {
  28877. "description": "升贴水 [2:点价 3:暂定价]",
  28878. "type": "number"
  28879. },
  28880. "pricetype": {
  28881. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28882. "type": "integer"
  28883. },
  28884. "producttype": {
  28885. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28886. "type": "integer"
  28887. },
  28888. "qty": {
  28889. "description": "[合同数量]数量",
  28890. "type": "number"
  28891. },
  28892. "remark": {
  28893. "description": "备注",
  28894. "type": "string"
  28895. },
  28896. "selluserid": {
  28897. "description": "销售方ID",
  28898. "type": "integer"
  28899. },
  28900. "sellusername": {
  28901. "description": "销售方名称",
  28902. "type": "string"
  28903. },
  28904. "spotamount": {
  28905. "description": "合同现货金额 [不含升贴水]",
  28906. "type": "number"
  28907. },
  28908. "spotavgprice": {
  28909. "description": "现货均价 = 合同现货金额 / 已定价量",
  28910. "type": "number"
  28911. },
  28912. "spotcontractid": {
  28913. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28914. "type": "string"
  28915. },
  28916. "spotgoodsbrandid": {
  28917. "description": "现货品牌ID",
  28918. "type": "integer"
  28919. },
  28920. "spotgoodsdesc": {
  28921. "description": "商品型号",
  28922. "type": "string"
  28923. },
  28924. "spotgoodsmodelid": {
  28925. "description": "现货型号ID",
  28926. "type": "integer"
  28927. },
  28928. "startdate": {
  28929. "description": "点价开始日期 [2:点价 3:暂定价]",
  28930. "type": "string"
  28931. },
  28932. "tradeuserid": {
  28933. "description": "交易用户ID",
  28934. "type": "integer"
  28935. },
  28936. "unpricedqty": {
  28937. "description": "未定价量 = 合同数量 - 已定价量",
  28938. "type": "number"
  28939. },
  28940. "updatetime": {
  28941. "description": "更新时间",
  28942. "type": "string"
  28943. },
  28944. "userid": {
  28945. "description": "机构ID",
  28946. "type": "integer"
  28947. },
  28948. "wrstandardcode": {
  28949. "description": "现货商品代码",
  28950. "type": "string"
  28951. },
  28952. "wrstandardid": {
  28953. "description": "现货商品ID",
  28954. "type": "integer"
  28955. },
  28956. "wrstandardname": {
  28957. "description": "[现货商品]现货商品名称",
  28958. "type": "string"
  28959. }
  28960. }
  28961. },
  28962. "models.ErmcpTaAccount": {
  28963. "type": "object",
  28964. "properties": {
  28965. "accountid": {
  28966. "description": "账户id",
  28967. "type": "integer"
  28968. },
  28969. "accountname": {
  28970. "description": "账户名称",
  28971. "type": "string"
  28972. },
  28973. "currencyid": {
  28974. "description": "币种id",
  28975. "type": "integer"
  28976. },
  28977. "hedgeaccountcode": {
  28978. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28979. "type": "string"
  28980. },
  28981. "ismain": {
  28982. "description": "是否主账户 0-否 1-是",
  28983. "type": "integer"
  28984. },
  28985. "parentaccountid": {
  28986. "description": "父账户id",
  28987. "type": "integer"
  28988. },
  28989. "relateduserid": {
  28990. "description": "关联userid",
  28991. "type": "integer"
  28992. },
  28993. "tradefeetmpid": {
  28994. "description": "手续费模板id",
  28995. "type": "integer"
  28996. },
  28997. "tradefeetmpname": {
  28998. "description": "手续费模板名称",
  28999. "type": "string"
  29000. },
  29001. "trademargintmpid": {
  29002. "description": "保证金模板id",
  29003. "type": "integer"
  29004. },
  29005. "trademargintmpname": {
  29006. "description": "保证金模板名称",
  29007. "type": "string"
  29008. },
  29009. "traderatetmpid": {
  29010. "description": "汇率模板id",
  29011. "type": "integer"
  29012. },
  29013. "traderatetmpname": {
  29014. "description": "汇率模板名称",
  29015. "type": "string"
  29016. },
  29017. "tradestatus": {
  29018. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29019. "type": "integer"
  29020. },
  29021. "userid": {
  29022. "description": "用户id",
  29023. "type": "integer"
  29024. }
  29025. }
  29026. },
  29027. "models.ErmcpTaAccountEx": {
  29028. "type": "object",
  29029. "properties": {
  29030. "mainAcc": {
  29031. "description": "主账号",
  29032. "$ref": "#/definitions/models.ErmcpTaAccountM"
  29033. },
  29034. "subacclist": {
  29035. "description": "子账号列表",
  29036. "type": "array",
  29037. "items": {
  29038. "$ref": "#/definitions/models.ErmcpTaAccount"
  29039. }
  29040. }
  29041. }
  29042. },
  29043. "models.ErmcpTaAccountInfo": {
  29044. "type": "object",
  29045. "properties": {
  29046. "accountid": {
  29047. "description": "资金账户ID",
  29048. "type": "integer"
  29049. },
  29050. "accountname": {
  29051. "description": "账户名称",
  29052. "type": "string"
  29053. },
  29054. "balance": {
  29055. "description": "期初余额",
  29056. "type": "number"
  29057. },
  29058. "capitalbalance": {
  29059. "description": "本金余额[外部子账户实际出入金余额]",
  29060. "type": "number"
  29061. },
  29062. "closepl": {
  29063. "description": "今日平仓盈亏",
  29064. "type": "number"
  29065. },
  29066. "creditdecrease": {
  29067. "description": "今日授信减少",
  29068. "type": "number"
  29069. },
  29070. "creditincrease": {
  29071. "description": "今日授信增加",
  29072. "type": "number"
  29073. },
  29074. "curdebt": {
  29075. "description": "期末欠款",
  29076. "type": "number"
  29077. },
  29078. "currencyid": {
  29079. "description": "货币ID",
  29080. "type": "integer"
  29081. },
  29082. "currentbalance": {
  29083. "description": "期末余额",
  29084. "type": "number"
  29085. },
  29086. "freezecharge": {
  29087. "description": "手续费冻结",
  29088. "type": "number"
  29089. },
  29090. "freezemargin": {
  29091. "description": "冻结保证金",
  29092. "type": "number"
  29093. },
  29094. "fromaccountid": {
  29095. "description": "所属上级账户",
  29096. "type": "integer"
  29097. },
  29098. "inamount": {
  29099. "description": "今日入金金额(包括三方入金)",
  29100. "type": "number"
  29101. },
  29102. "ismain": {
  29103. "description": "是否母账号 0:不是母账户 1:是母账户",
  29104. "type": "integer"
  29105. },
  29106. "mortgagecredit": {
  29107. "description": "授信金额",
  29108. "type": "number"
  29109. },
  29110. "oridebt": {
  29111. "description": "期初欠款",
  29112. "type": "number"
  29113. },
  29114. "orifreezecharge": {
  29115. "description": "期初手续费冻结",
  29116. "type": "number"
  29117. },
  29118. "orifreezemargin": {
  29119. "description": "期初冻结保证金",
  29120. "type": "number"
  29121. },
  29122. "orimortgagecredit": {
  29123. "description": "期初授信金额",
  29124. "type": "number"
  29125. },
  29126. "oriothercredit": {
  29127. "description": "期初其它授信金额",
  29128. "type": "number"
  29129. },
  29130. "oriotherfreezemargin": {
  29131. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29132. "type": "number"
  29133. },
  29134. "orioutamountfreeze": {
  29135. "description": "期初出金冻结",
  29136. "type": "number"
  29137. },
  29138. "oriusedmargin": {
  29139. "description": "期初占用保证金",
  29140. "type": "number"
  29141. },
  29142. "othercredit": {
  29143. "description": "其它授信金额",
  29144. "type": "number"
  29145. },
  29146. "othercreditdecrease": {
  29147. "description": "今日其它授信减少",
  29148. "type": "number"
  29149. },
  29150. "othercreditincrease": {
  29151. "description": "今日其它授信增加",
  29152. "type": "number"
  29153. },
  29154. "otherfreezemargin": {
  29155. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29156. "type": "number"
  29157. },
  29158. "outamount": {
  29159. "description": "今日出金金额(包括三方出金)",
  29160. "type": "number"
  29161. },
  29162. "outamountfreeze": {
  29163. "description": "出金冻结",
  29164. "type": "number"
  29165. },
  29166. "outthreshold": {
  29167. "description": "出金阈值",
  29168. "type": "number"
  29169. },
  29170. "parentaccountid": {
  29171. "description": "所属根账号",
  29172. "type": "integer"
  29173. },
  29174. "paycharge": {
  29175. "description": "今日手续费支出",
  29176. "type": "number"
  29177. },
  29178. "relateduserid": {
  29179. "description": "关联用户",
  29180. "type": "integer"
  29181. },
  29182. "signstatus": {
  29183. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29184. "type": "integer"
  29185. },
  29186. "sublevelpath": {
  29187. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29188. "type": "string"
  29189. },
  29190. "taaccounttype": {
  29191. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29192. "type": "integer"
  29193. },
  29194. "thirdinamount": {
  29195. "description": "今日三方入金",
  29196. "type": "number"
  29197. },
  29198. "thirdoutamount": {
  29199. "description": "今日三方出金",
  29200. "type": "number"
  29201. },
  29202. "tradestatus": {
  29203. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29204. "type": "integer"
  29205. },
  29206. "transferamount": {
  29207. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29208. "type": "number"
  29209. },
  29210. "usedmargin": {
  29211. "description": "占用保证金",
  29212. "type": "number"
  29213. },
  29214. "userid": {
  29215. "description": "用户ID",
  29216. "type": "integer"
  29217. }
  29218. }
  29219. },
  29220. "models.ErmcpTaAccountM": {
  29221. "type": "object",
  29222. "properties": {
  29223. "accountid": {
  29224. "description": "账户id",
  29225. "type": "integer"
  29226. },
  29227. "accountname": {
  29228. "description": "账户名称",
  29229. "type": "string"
  29230. },
  29231. "currencyid": {
  29232. "description": "币种id",
  29233. "type": "integer"
  29234. },
  29235. "fcid": {
  29236. "description": "期货公司id",
  29237. "type": "integer"
  29238. },
  29239. "fcname": {
  29240. "description": "期货公司代码",
  29241. "type": "string"
  29242. },
  29243. "hedgeaccountcode": {
  29244. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29245. "type": "string"
  29246. },
  29247. "ismain": {
  29248. "description": "是否主账户 0-否 1-是",
  29249. "type": "integer"
  29250. },
  29251. "parentaccountid": {
  29252. "description": "父账户id",
  29253. "type": "integer"
  29254. },
  29255. "relateduserid": {
  29256. "description": "关联userid",
  29257. "type": "integer"
  29258. },
  29259. "tradefeetmpid": {
  29260. "description": "手续费模板id",
  29261. "type": "integer"
  29262. },
  29263. "tradefeetmpname": {
  29264. "description": "手续费模板名称",
  29265. "type": "string"
  29266. },
  29267. "trademargintmpid": {
  29268. "description": "保证金模板id",
  29269. "type": "integer"
  29270. },
  29271. "trademargintmpname": {
  29272. "description": "保证金模板名称",
  29273. "type": "string"
  29274. },
  29275. "traderatetmpid": {
  29276. "description": "汇率模板id",
  29277. "type": "integer"
  29278. },
  29279. "traderatetmpname": {
  29280. "description": "汇率模板名称",
  29281. "type": "string"
  29282. },
  29283. "tradestatus": {
  29284. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29285. "type": "integer"
  29286. },
  29287. "userid": {
  29288. "description": "用户id",
  29289. "type": "integer"
  29290. }
  29291. }
  29292. },
  29293. "models.ErmcpTradeConfigTMP": {
  29294. "type": "object",
  29295. "properties": {
  29296. "areauserid": {
  29297. "description": "所属机构",
  29298. "type": "integer"
  29299. },
  29300. "basiccurrencyid": {
  29301. "description": "基本币种ID[汇率] - 目标币种",
  29302. "type": "integer"
  29303. },
  29304. "mainaccountid": {
  29305. "description": "主账户ID",
  29306. "type": "integer"
  29307. },
  29308. "modifierid": {
  29309. "description": "修改人",
  29310. "type": "integer"
  29311. },
  29312. "remark": {
  29313. "description": "备注",
  29314. "type": "string"
  29315. },
  29316. "tradeconfigtmpid": {
  29317. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29318. "type": "integer"
  29319. },
  29320. "tradeconfigtmpname": {
  29321. "description": "交易配置模板名称",
  29322. "type": "string"
  29323. },
  29324. "tradeconfigtmptype": {
  29325. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29326. "type": "integer"
  29327. },
  29328. "updatetime": {
  29329. "description": "更新时间",
  29330. "type": "string"
  29331. }
  29332. }
  29333. },
  29334. "models.Ermcpjrlinkpos": {
  29335. "type": "object",
  29336. "required": [
  29337. "spotcontractid"
  29338. ],
  29339. "properties": {
  29340. "areauserid": {
  29341. "description": "所属企业",
  29342. "type": "integer"
  29343. },
  29344. "averageprice": {
  29345. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29346. "type": "number"
  29347. },
  29348. "closepl": {
  29349. "description": "总平仓盈亏 [期货损益]",
  29350. "type": "number"
  29351. },
  29352. "executeprice": {
  29353. "description": "执行价 - 1:期货单 为 0",
  29354. "type": "integer"
  29355. },
  29356. "futurehedgeqty": {
  29357. "description": "期货套期量",
  29358. "type": "number"
  29359. },
  29360. "goodsid": {
  29361. "description": "期货合约",
  29362. "type": "integer"
  29363. },
  29364. "middlegoodscode": {
  29365. "description": "套保商品代码",
  29366. "type": "string"
  29367. },
  29368. "middlegoodsname": {
  29369. "description": "套保商品名称",
  29370. "type": "string"
  29371. },
  29372. "netqty": {
  29373. "description": "净头寸",
  29374. "type": "number"
  29375. },
  29376. "optioncode": {
  29377. "description": "期权代码",
  29378. "type": "string"
  29379. },
  29380. "ordertype": {
  29381. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29382. "type": "integer"
  29383. },
  29384. "reckonpl": {
  29385. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29386. "type": "number"
  29387. },
  29388. "spotcontractid": {
  29389. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29390. "type": "string"
  29391. },
  29392. "todayfutureclosepl": {
  29393. "description": "今日平仓盈亏",
  29394. "type": "number"
  29395. },
  29396. "totalbuyamount": {
  29397. "description": "买金额 [期货]",
  29398. "type": "number"
  29399. },
  29400. "totalbuyholdamount": {
  29401. "description": "买持仓总金额[期货]",
  29402. "type": "number"
  29403. },
  29404. "totalbuyqty": {
  29405. "description": "买数量",
  29406. "type": "number"
  29407. },
  29408. "totalcharge": {
  29409. "description": "手续费",
  29410. "type": "number"
  29411. },
  29412. "totalpremium": {
  29413. "description": "权利金 [期权]",
  29414. "type": "number"
  29415. },
  29416. "totalsellamount": {
  29417. "description": "卖金额 [期货]",
  29418. "type": "number"
  29419. },
  29420. "totalsellholdamount": {
  29421. "description": "卖持仓总金额[期货]",
  29422. "type": "number"
  29423. },
  29424. "totalsellqty": {
  29425. "description": "卖数量",
  29426. "type": "number"
  29427. },
  29428. "updatetime": {
  29429. "description": "更新时间",
  29430. "type": "string"
  29431. }
  29432. }
  29433. },
  29434. "models.Ermcppatradelinkdetail": {
  29435. "type": "object",
  29436. "required": [
  29437. "hedgeditemid"
  29438. ],
  29439. "properties": {
  29440. "agreeunit": {
  29441. "description": "合约乘数",
  29442. "type": "number"
  29443. },
  29444. "amount": {
  29445. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29446. "type": "number"
  29447. },
  29448. "areauserid": {
  29449. "description": "所属机构",
  29450. "type": "integer"
  29451. },
  29452. "bizsubjectid": {
  29453. "description": "归属业务部门ID - SubjectID",
  29454. "type": "integer"
  29455. },
  29456. "buyorsell": {
  29457. "description": "方向 - 0:买 1:卖",
  29458. "type": "integer"
  29459. },
  29460. "convertratio": {
  29461. "description": "品种系数",
  29462. "type": "number"
  29463. },
  29464. "createtime": {
  29465. "description": "创建时间",
  29466. "type": "string"
  29467. },
  29468. "creatorid": {
  29469. "description": "创建人ID",
  29470. "type": "integer"
  29471. },
  29472. "creatorsrc": {
  29473. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29474. "type": "integer"
  29475. },
  29476. "goodsgroupid": {
  29477. "description": "对冲品种ID[期货合约商品组ID]",
  29478. "type": "integer"
  29479. },
  29480. "goodsid": {
  29481. "description": "商品ID",
  29482. "type": "integer"
  29483. },
  29484. "hedgeditemid": {
  29485. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29486. "type": "integer"
  29487. },
  29488. "hedgeflag": {
  29489. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29490. "type": "integer"
  29491. },
  29492. "linkdetailid": {
  29493. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29494. "type": "string"
  29495. },
  29496. "linkstatus": {
  29497. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29498. "type": "integer"
  29499. },
  29500. "middlegoodsid": {
  29501. "description": "套保品种ID",
  29502. "type": "integer"
  29503. },
  29504. "name": {
  29505. "description": "账户名/子账户",
  29506. "type": "string"
  29507. },
  29508. "optioncode": {
  29509. "description": "[期货合约]期权代码 [期权]",
  29510. "type": "string"
  29511. },
  29512. "ordertype": {
  29513. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29514. "type": "integer"
  29515. },
  29516. "relatedlot": {
  29517. "description": "[数量]关联手数",
  29518. "type": "number"
  29519. },
  29520. "relatedmode": {
  29521. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29522. "type": "integer"
  29523. },
  29524. "relatedqty": {
  29525. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29526. "type": "number"
  29527. },
  29528. "retcode": {
  29529. "description": "返回码",
  29530. "type": "integer"
  29531. },
  29532. "saleuserid": {
  29533. "description": "业务员ID",
  29534. "type": "integer"
  29535. },
  29536. "tradedate": {
  29537. "description": "关联交易日(yyyyMMdd)",
  29538. "type": "string"
  29539. },
  29540. "tradeid": {
  29541. "description": "[成交单号]内部成交单ID",
  29542. "type": "string"
  29543. },
  29544. "tradelot": {
  29545. "description": "成交手数",
  29546. "type": "integer"
  29547. },
  29548. "tradeprice": {
  29549. "description": "[价格]成交价格",
  29550. "type": "number"
  29551. },
  29552. "tradetime": {
  29553. "description": "日期时间",
  29554. "type": "string"
  29555. },
  29556. "tradetradedate": {
  29557. "description": "成交交易日(yyyyMMdd)",
  29558. "type": "string"
  29559. }
  29560. }
  29561. },
  29562. "models.Exchangerateconfig": {
  29563. "type": "object",
  29564. "properties": {
  29565. "descurrencyid": {
  29566. "description": "目标币种ID",
  29567. "type": "integer"
  29568. },
  29569. "exchangerate": {
  29570. "description": "汇率",
  29571. "type": "number"
  29572. },
  29573. "oricurrencyid": {
  29574. "description": "源币种ID",
  29575. "type": "integer"
  29576. },
  29577. "remark": {
  29578. "description": "备注",
  29579. "type": "string"
  29580. }
  29581. }
  29582. },
  29583. "models.Externalexchange": {
  29584. "type": "object",
  29585. "required": [
  29586. "autoid"
  29587. ],
  29588. "properties": {
  29589. "autoid": {
  29590. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29591. "type": "integer"
  29592. },
  29593. "exchangefullname": {
  29594. "description": "外部交易所全称",
  29595. "type": "string"
  29596. },
  29597. "exexchangecode": {
  29598. "description": "外部交易所代码",
  29599. "type": "string"
  29600. },
  29601. "exexchangename": {
  29602. "description": "外部交易所名称(简称)",
  29603. "type": "string"
  29604. },
  29605. "ismarketprice": {
  29606. "description": "是否支持市价 - 0:不支持 1:支持",
  29607. "type": "integer"
  29608. },
  29609. "quotegear": {
  29610. "description": "行情档位(1-10)",
  29611. "type": "integer"
  29612. },
  29613. "showbrokerflag": {
  29614. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29615. "type": "integer"
  29616. },
  29617. "updatetime": {
  29618. "description": "更新时间",
  29619. "type": "string"
  29620. }
  29621. }
  29622. },
  29623. "models.Funcmenulist": {
  29624. "type": "object",
  29625. "required": [
  29626. "resourcecode"
  29627. ],
  29628. "properties": {
  29629. "iconame": {
  29630. "description": "菜单图标",
  29631. "type": "string"
  29632. },
  29633. "menutype": {
  29634. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  29635. "type": "integer"
  29636. },
  29637. "parentcode": {
  29638. "description": "上级资源代码",
  29639. "type": "string"
  29640. },
  29641. "remark": {
  29642. "description": "备注",
  29643. "type": "string"
  29644. },
  29645. "resourcecode": {
  29646. "description": "资源代码",
  29647. "type": "string"
  29648. },
  29649. "resourcelevel": {
  29650. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  29651. "type": "integer"
  29652. },
  29653. "resourcename": {
  29654. "description": "资源名",
  29655. "type": "string"
  29656. },
  29657. "sort": {
  29658. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  29659. "type": "integer"
  29660. },
  29661. "url": {
  29662. "description": "URL",
  29663. "type": "string"
  29664. }
  29665. }
  29666. },
  29667. "models.GZGoods": {
  29668. "type": "object",
  29669. "required": [
  29670. "goodsno"
  29671. ],
  29672. "properties": {
  29673. "address": {
  29674. "description": "详细地址",
  29675. "type": "string"
  29676. },
  29677. "cerno": {
  29678. "description": "证书编号 - 类型:2,4,5",
  29679. "type": "string"
  29680. },
  29681. "cityname": {
  29682. "description": "城市名称",
  29683. "type": "string"
  29684. },
  29685. "countryname": {
  29686. "description": "国家名称",
  29687. "type": "string"
  29688. },
  29689. "cpcertno": {
  29690. "description": "金伯利证书编号 - 类型:3",
  29691. "type": "string"
  29692. },
  29693. "districtname": {
  29694. "description": "地区名称",
  29695. "type": "string"
  29696. },
  29697. "goodsno": {
  29698. "description": "商品编号",
  29699. "type": "string"
  29700. },
  29701. "imagepath": {
  29702. "description": "商品照片(相对地址)",
  29703. "type": "string"
  29704. },
  29705. "isvalid": {
  29706. "description": "是否有效 - 0:无效 1:有效",
  29707. "type": "integer"
  29708. },
  29709. "kppath": {
  29710. "description": "金伯利证书图片(相对地址) - 类型:3",
  29711. "type": "string"
  29712. },
  29713. "kpweight": {
  29714. "description": "金伯利证书重量 - 类型:3",
  29715. "type": "string"
  29716. },
  29717. "marketprice": {
  29718. "description": "市场价",
  29719. "type": "string"
  29720. },
  29721. "mobile": {
  29722. "description": "手机号码",
  29723. "type": "string"
  29724. },
  29725. "origin": {
  29726. "description": "原产地 - 类型:3",
  29727. "type": "string"
  29728. },
  29729. "performancetemplateid": {
  29730. "description": "履约计划模板ID",
  29731. "type": "integer"
  29732. },
  29733. "price": {
  29734. "description": "总价(价格) - 类型:1,2,3,4,5",
  29735. "type": "number"
  29736. },
  29737. "priceper": {
  29738. "description": "克拉单价 - 类型:1,2,3,5",
  29739. "type": "string"
  29740. },
  29741. "provincename": {
  29742. "description": "省名称",
  29743. "type": "string"
  29744. },
  29745. "remainqty": {
  29746. "description": "剩余重量",
  29747. "type": "number"
  29748. },
  29749. "remark": {
  29750. "description": "备注",
  29751. "type": "string"
  29752. },
  29753. "sellusername": {
  29754. "description": "账户名称(机构名称)",
  29755. "type": "string"
  29756. },
  29757. "settingmaterial": {
  29758. "description": "镶嵌材料 - 类型:4",
  29759. "type": "string"
  29760. },
  29761. "size1": {
  29762. "description": "尺寸1 - 类型:2,4,5",
  29763. "type": "string"
  29764. },
  29765. "size2": {
  29766. "description": "尺寸2 - 类型:2,4,5",
  29767. "type": "string"
  29768. },
  29769. "size3": {
  29770. "description": "尺寸3 - 类型:2,4,5",
  29771. "type": "string"
  29772. },
  29773. "sizedisplay": {
  29774. "description": "尺寸",
  29775. "type": "string"
  29776. },
  29777. "stonedesc": {
  29778. "description": "配石描述 - 类型:4",
  29779. "type": "string"
  29780. },
  29781. "userid": {
  29782. "description": "用户ID",
  29783. "type": "integer"
  29784. },
  29785. "warehouseid": {
  29786. "description": "仓库ID",
  29787. "type": "integer"
  29788. },
  29789. "warehousenamedisplay": {
  29790. "type": "string"
  29791. },
  29792. "weight": {
  29793. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29794. "type": "number"
  29795. },
  29796. "weightavg": {
  29797. "description": "平均单颗重量 - 类型:1,3",
  29798. "type": "number"
  29799. },
  29800. "wrpath": {
  29801. "description": "仓单扫描件(相对地址)",
  29802. "type": "string"
  29803. },
  29804. "wrstandardid": {
  29805. "description": "现货商品ID",
  29806. "type": "integer"
  29807. },
  29808. "wrtradeorderid": {
  29809. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29810. "type": "string"
  29811. },
  29812. "zscategory": {
  29813. "description": "钻石分类 - 枚举”ZSCategory“",
  29814. "type": "integer"
  29815. },
  29816. "zscategorydisplay": {
  29817. "type": "string"
  29818. },
  29819. "zscerttype": {
  29820. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29821. "type": "integer"
  29822. },
  29823. "zscerttypedisplay": {
  29824. "type": "string"
  29825. },
  29826. "zsclaritytype1": {
  29827. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29828. "type": "integer"
  29829. },
  29830. "zsclaritytype1display": {
  29831. "type": "string"
  29832. },
  29833. "zsclaritytype2": {
  29834. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29835. "type": "integer"
  29836. },
  29837. "zsclaritytype2display": {
  29838. "type": "string"
  29839. },
  29840. "zscolortype1": {
  29841. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29842. "type": "integer"
  29843. },
  29844. "zscolortype1display": {
  29845. "type": "string"
  29846. },
  29847. "zscolortype2": {
  29848. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29849. "type": "integer"
  29850. },
  29851. "zscolortype2display": {
  29852. "type": "string"
  29853. },
  29854. "zscrystaltype": {
  29855. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29856. "type": "string"
  29857. },
  29858. "zscrystaltypedisplay": {
  29859. "type": "string"
  29860. },
  29861. "zscurrencytype": {
  29862. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29863. "type": "integer"
  29864. },
  29865. "zscurrencytypedisplay": {
  29866. "type": "string"
  29867. },
  29868. "zscurrencytypedisplayunit": {
  29869. "type": "string"
  29870. },
  29871. "zscuttype1": {
  29872. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29873. "type": "integer"
  29874. },
  29875. "zscuttype1display": {
  29876. "type": "string"
  29877. },
  29878. "zscuttype2": {
  29879. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29880. "type": "integer"
  29881. },
  29882. "zscuttype2display": {
  29883. "type": "string"
  29884. },
  29885. "zsczcolor1type": {
  29886. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29887. "type": "integer"
  29888. },
  29889. "zsczcolor1typedisplay": {
  29890. "type": "string"
  29891. },
  29892. "zsczcolor2type": {
  29893. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29894. "type": "integer"
  29895. },
  29896. "zsczcolor2typedisplay": {
  29897. "type": "string"
  29898. },
  29899. "zsczcolor3type": {
  29900. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29901. "type": "integer"
  29902. },
  29903. "zsczcolor3typedisplay": {
  29904. "type": "string"
  29905. },
  29906. "zsfluorescencetype1": {
  29907. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29908. "type": "integer"
  29909. },
  29910. "zsfluorescencetype1display": {
  29911. "type": "string"
  29912. },
  29913. "zsfluorescencetype2": {
  29914. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29915. "type": "integer"
  29916. },
  29917. "zsfluorescencetype2display": {
  29918. "type": "string"
  29919. },
  29920. "zspolishtype1": {
  29921. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29922. "type": "integer"
  29923. },
  29924. "zspolishtype1display": {
  29925. "type": "string"
  29926. },
  29927. "zspolishtype2": {
  29928. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29929. "type": "integer"
  29930. },
  29931. "zspolishtype2display": {
  29932. "type": "string"
  29933. },
  29934. "zsshapetype": {
  29935. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29936. "type": "string"
  29937. },
  29938. "zsshapetypedisplay": {
  29939. "type": "string"
  29940. },
  29941. "zsstyletype": {
  29942. "description": "款式 - 类型:4",
  29943. "type": "integer"
  29944. },
  29945. "zsstyletypedisplay": {
  29946. "type": "string"
  29947. },
  29948. "zssymmetrytype1": {
  29949. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29950. "type": "integer"
  29951. },
  29952. "zssymmetrytype1display": {
  29953. "type": "string"
  29954. },
  29955. "zssymmetrytype2": {
  29956. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29957. "type": "integer"
  29958. },
  29959. "zssymmetrytype2display": {
  29960. "type": "string"
  29961. }
  29962. }
  29963. },
  29964. "models.GZHomeData": {
  29965. "type": "object",
  29966. "properties": {
  29967. "purchasedtransactions": {
  29968. "description": "已购买的交易",
  29969. "type": "integer"
  29970. },
  29971. "transactioninpurchase": {
  29972. "description": "求购中的交易",
  29973. "type": "integer"
  29974. },
  29975. "transactionsonsale": {
  29976. "description": "出售中的交易",
  29977. "type": "integer"
  29978. },
  29979. "transactionssold": {
  29980. "description": "已卖出的交易",
  29981. "type": "integer"
  29982. },
  29983. "unhandledmessage": {
  29984. "description": "未处理消息",
  29985. "type": "integer"
  29986. }
  29987. }
  29988. },
  29989. "models.GZWarehouseinfo": {
  29990. "type": "object",
  29991. "properties": {
  29992. "address": {
  29993. "description": "详细地址",
  29994. "type": "string"
  29995. },
  29996. "areauserid": {
  29997. "description": "所属机构",
  29998. "type": "integer"
  29999. },
  30000. "autoid": {
  30001. "description": "自增ID",
  30002. "type": "integer"
  30003. },
  30004. "cityid": {
  30005. "description": "市",
  30006. "type": "integer"
  30007. },
  30008. "cityname": {
  30009. "description": "城市名称",
  30010. "type": "string"
  30011. },
  30012. "contactname": {
  30013. "description": "联系人",
  30014. "type": "string"
  30015. },
  30016. "contactnum": {
  30017. "description": "联系电话",
  30018. "type": "string"
  30019. },
  30020. "countryid": {
  30021. "description": "国家",
  30022. "type": "integer"
  30023. },
  30024. "countryname": {
  30025. "description": "国家名称",
  30026. "type": "string"
  30027. },
  30028. "createtime": {
  30029. "description": "创建时间",
  30030. "type": "string"
  30031. },
  30032. "districtid": {
  30033. "description": "区",
  30034. "type": "integer"
  30035. },
  30036. "districtname": {
  30037. "description": "地区名称",
  30038. "type": "string"
  30039. },
  30040. "hasvideo": {
  30041. "description": "是否有视频 - 0:无 1:有",
  30042. "type": "integer"
  30043. },
  30044. "provinceid": {
  30045. "description": "省",
  30046. "type": "integer"
  30047. },
  30048. "provincename": {
  30049. "description": "省名称",
  30050. "type": "string"
  30051. },
  30052. "remark": {
  30053. "description": "审核备注",
  30054. "type": "string"
  30055. },
  30056. "videourl": {
  30057. "description": "视频地址",
  30058. "type": "string"
  30059. },
  30060. "warehousecode": {
  30061. "description": "仓库代码",
  30062. "type": "string"
  30063. },
  30064. "warehousename": {
  30065. "description": "仓库名称",
  30066. "type": "string"
  30067. },
  30068. "warehousestatus": {
  30069. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30070. "type": "integer"
  30071. },
  30072. "warehousetype": {
  30073. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30074. "type": "integer"
  30075. }
  30076. }
  30077. },
  30078. "models.Goods": {
  30079. "type": "object",
  30080. "required": [
  30081. "goodscode",
  30082. "goodsid",
  30083. "goodsname",
  30084. "marketid"
  30085. ],
  30086. "properties": {
  30087. "agreeunit": {
  30088. "description": "合约单位",
  30089. "type": "number"
  30090. },
  30091. "areauserid": {
  30092. "description": "所属机构",
  30093. "type": "integer"
  30094. },
  30095. "auditaccountid": {
  30096. "description": "审核操作员账号",
  30097. "type": "integer"
  30098. },
  30099. "audittime": {
  30100. "description": "审核时间",
  30101. "type": "string"
  30102. },
  30103. "cancelaccountid": {
  30104. "description": "注销操作员账号",
  30105. "type": "integer"
  30106. },
  30107. "canceltime": {
  30108. "description": "注销时间",
  30109. "type": "string"
  30110. },
  30111. "closepricemode": {
  30112. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30113. "type": "integer"
  30114. },
  30115. "closepriceparam": {
  30116. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30117. "type": "number"
  30118. },
  30119. "createtime": {
  30120. "description": "创建时间",
  30121. "type": "string"
  30122. },
  30123. "creatorid": {
  30124. "description": "创建人",
  30125. "type": "integer"
  30126. },
  30127. "currencyid": {
  30128. "description": "报价货币ID",
  30129. "type": "integer"
  30130. },
  30131. "cutmode": {
  30132. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30133. "type": "integer"
  30134. },
  30135. "decimalplace": {
  30136. "description": "报价小数位",
  30137. "type": "integer"
  30138. },
  30139. "delistingdate": {
  30140. "description": "商品退市时间(状态:退市) -- 已作废",
  30141. "type": "string"
  30142. },
  30143. "delistingmode": {
  30144. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30145. "type": "integer"
  30146. },
  30147. "deliveryflag": {
  30148. "description": "交割标志 - 0:不可交割 1:可交割",
  30149. "type": "integer"
  30150. },
  30151. "forceclosemode": {
  30152. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30153. "type": "integer"
  30154. },
  30155. "forceclosevalue": {
  30156. "description": "定期强平参数 [收益权]",
  30157. "type": "integer"
  30158. },
  30159. "goodscode": {
  30160. "description": "商品代码(内部)",
  30161. "type": "string"
  30162. },
  30163. "goodscurrencyid": {
  30164. "description": "合约货币ID",
  30165. "type": "integer"
  30166. },
  30167. "goodsgroupid": {
  30168. "description": "所属商品组ID",
  30169. "type": "integer"
  30170. },
  30171. "goodsid": {
  30172. "description": "商品ID(自增ID SEQ_GOODS)",
  30173. "type": "integer"
  30174. },
  30175. "goodsname": {
  30176. "description": "商品名称",
  30177. "type": "string"
  30178. },
  30179. "goodsquotetype": {
  30180. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30181. "type": "integer"
  30182. },
  30183. "goodsstatus": {
  30184. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30185. "type": "integer"
  30186. },
  30187. "goodstradetype": {
  30188. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30189. "type": "integer"
  30190. },
  30191. "goodunitid": {
  30192. "description": "报价单位ID",
  30193. "type": "integer"
  30194. },
  30195. "hasquoter": {
  30196. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30197. "type": "integer"
  30198. },
  30199. "hqprotecttime": {
  30200. "description": "行情保护时间(秒)",
  30201. "type": "integer"
  30202. },
  30203. "innerdealmode": {
  30204. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30205. "type": "integer"
  30206. },
  30207. "isbuylimited": {
  30208. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30209. "type": "integer"
  30210. },
  30211. "isvisible": {
  30212. "description": "游客是否可见 - 0:不可见 1:可见",
  30213. "type": "integer"
  30214. },
  30215. "lasttradedate": {
  30216. "description": "最后交易日期(状态:待退市)",
  30217. "type": "string"
  30218. },
  30219. "listingdate": {
  30220. "description": "交易开始日期",
  30221. "type": "string"
  30222. },
  30223. "marketid": {
  30224. "description": "所属市场ID",
  30225. "type": "integer"
  30226. },
  30227. "modifierid": {
  30228. "description": "修改人",
  30229. "type": "integer"
  30230. },
  30231. "modifystatus": {
  30232. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30233. "type": "integer"
  30234. },
  30235. "modifytime": {
  30236. "description": "修改时间",
  30237. "type": "string"
  30238. },
  30239. "outerdealmode": {
  30240. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30241. "type": "integer"
  30242. },
  30243. "outgoodscode": {
  30244. "description": "商品代码(外部)",
  30245. "type": "string"
  30246. },
  30247. "pictureurl": {
  30248. "description": "商品图片",
  30249. "type": "string"
  30250. },
  30251. "qtydecimalplace": {
  30252. "description": "成交量小数位",
  30253. "type": "integer"
  30254. },
  30255. "quotegear": {
  30256. "description": "行情档位(1-10)",
  30257. "type": "integer"
  30258. },
  30259. "quoteminunit": {
  30260. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30261. "type": "integer"
  30262. },
  30263. "quoteshowtype": {
  30264. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30265. "type": "integer"
  30266. },
  30267. "quoteshowtypeinterval": {
  30268. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30269. "type": "integer"
  30270. },
  30271. "remark": {
  30272. "description": "备注",
  30273. "type": "string"
  30274. }
  30275. }
  30276. },
  30277. "models.GoodsIDAndName": {
  30278. "type": "object",
  30279. "required": [
  30280. "goodscode",
  30281. "goodsid",
  30282. "goodsname",
  30283. "marketid"
  30284. ],
  30285. "properties": {
  30286. "goodscode": {
  30287. "description": "商品代码(内部)",
  30288. "type": "string"
  30289. },
  30290. "goodsid": {
  30291. "description": "商品ID(自增ID SEQ_GOODS)",
  30292. "type": "integer"
  30293. },
  30294. "goodsname": {
  30295. "description": "商品名称",
  30296. "type": "string"
  30297. },
  30298. "marketid": {
  30299. "description": "所属市场ID",
  30300. "type": "integer"
  30301. }
  30302. }
  30303. },
  30304. "models.Goodsgroup": {
  30305. "type": "object",
  30306. "required": [
  30307. "goodsgroupid",
  30308. "goodsgroupname",
  30309. "goodsgroupstatus",
  30310. "marketid"
  30311. ],
  30312. "properties": {
  30313. "agreeunit": {
  30314. "description": "合约单位",
  30315. "type": "number"
  30316. },
  30317. "canshort": {
  30318. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  30319. "type": "integer"
  30320. },
  30321. "closepricemode": {
  30322. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30323. "type": "integer"
  30324. },
  30325. "closepriceparam": {
  30326. "description": "强平最新价浮动比例 - 方式为2时使用",
  30327. "type": "number"
  30328. },
  30329. "createtime": {
  30330. "description": "创建时间",
  30331. "type": "string"
  30332. },
  30333. "creatorid": {
  30334. "description": "创建人",
  30335. "type": "integer"
  30336. },
  30337. "currencyid": {
  30338. "description": "报价货币ID",
  30339. "type": "integer"
  30340. },
  30341. "decimalplace": {
  30342. "description": "报价小数位",
  30343. "type": "integer"
  30344. },
  30345. "exercisetype": {
  30346. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  30347. "type": "integer"
  30348. },
  30349. "exexchangeid": {
  30350. "description": "外部交易所ID[通道交易]",
  30351. "type": "integer"
  30352. },
  30353. "goodsgroupid": {
  30354. "description": "商品组ID(自增ID)",
  30355. "type": "integer"
  30356. },
  30357. "goodsgroupname": {
  30358. "description": "商品组名称",
  30359. "type": "string"
  30360. },
  30361. "goodsgroupstatus": {
  30362. "description": "商品组状态 - 1:正常 2:注销",
  30363. "type": "integer"
  30364. },
  30365. "goodunitid": {
  30366. "description": "报价单位ID",
  30367. "type": "integer"
  30368. },
  30369. "innerdealmode": {
  30370. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30371. "type": "integer"
  30372. },
  30373. "isbuylimited": {
  30374. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30375. "type": "integer"
  30376. },
  30377. "marketid": {
  30378. "description": "所属市场ID",
  30379. "type": "integer"
  30380. },
  30381. "modifierid": {
  30382. "description": "修改人",
  30383. "type": "integer"
  30384. },
  30385. "modifytime": {
  30386. "description": "修改时间",
  30387. "type": "string"
  30388. },
  30389. "outerdealmode": {
  30390. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30391. "type": "integer"
  30392. },
  30393. "outergroupcode": {
  30394. "description": "外部商品组代码[通道交易]",
  30395. "type": "string"
  30396. },
  30397. "premiumdecimalplace": {
  30398. "description": "权利金小数位[场外期权]",
  30399. "type": "integer"
  30400. },
  30401. "premiumspreadalgorithm": {
  30402. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  30403. "type": "integer"
  30404. },
  30405. "premiumspreadvalue": {
  30406. "description": "权利金点差值[场外期权]",
  30407. "type": "number"
  30408. },
  30409. "qtydecimalplace": {
  30410. "description": "成交量小数位",
  30411. "type": "integer"
  30412. },
  30413. "quotegear": {
  30414. "description": "行情档位(1-10)",
  30415. "type": "integer"
  30416. },
  30417. "quoteminunit": {
  30418. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30419. "type": "integer"
  30420. },
  30421. "quoterid": {
  30422. "description": "报价商ID[场外期权]",
  30423. "type": "integer"
  30424. },
  30425. "quotesourcegroupid": {
  30426. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  30427. "type": "integer"
  30428. },
  30429. "syncgoodsqty": {
  30430. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  30431. "type": "integer"
  30432. }
  30433. }
  30434. },
  30435. "models.Goodssortbypreposition": {
  30436. "type": "object",
  30437. "required": [
  30438. "goodscode",
  30439. "tradedate"
  30440. ],
  30441. "properties": {
  30442. "goodscode": {
  30443. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  30444. "type": "string"
  30445. },
  30446. "goodsgroupcode": {
  30447. "description": "品种代码",
  30448. "type": "string"
  30449. },
  30450. "prepositionqty": {
  30451. "description": "昨持仓量",
  30452. "type": "integer"
  30453. },
  30454. "sortindex": {
  30455. "description": "排序",
  30456. "type": "integer"
  30457. },
  30458. "tradedate": {
  30459. "description": "交易日",
  30460. "type": "string"
  30461. },
  30462. "updatetime": {
  30463. "description": "更新时间",
  30464. "type": "string"
  30465. }
  30466. }
  30467. },
  30468. "models.GzbsfworderM": {
  30469. "type": "object",
  30470. "required": [
  30471. "userid"
  30472. ],
  30473. "properties": {
  30474. "accountid": {
  30475. "description": "资金账户ID",
  30476. "type": "integer"
  30477. },
  30478. "addresscn": {
  30479. "description": "地址(中文)",
  30480. "type": "string"
  30481. },
  30482. "addressen": {
  30483. "description": "地址(英文)",
  30484. "type": "string"
  30485. },
  30486. "advanceamount": {
  30487. "description": "总预付款",
  30488. "type": "number"
  30489. },
  30490. "colorrange": {
  30491. "description": "颜色范围",
  30492. "type": "string"
  30493. },
  30494. "companynamecn": {
  30495. "description": "收货人(中文)",
  30496. "type": "string"
  30497. },
  30498. "companynameen": {
  30499. "description": "收货人(英文)",
  30500. "type": "string"
  30501. },
  30502. "contactfax": {
  30503. "description": "收货人传真",
  30504. "type": "string"
  30505. },
  30506. "contactname": {
  30507. "description": "收货人姓名",
  30508. "type": "string"
  30509. },
  30510. "contactphoneno": {
  30511. "description": "收货人电话",
  30512. "type": "string"
  30513. },
  30514. "contentrange": {
  30515. "description": "【内容】内容范围",
  30516. "type": "string"
  30517. },
  30518. "createtime": {
  30519. "description": "创建时间",
  30520. "type": "string"
  30521. },
  30522. "executestatus": {
  30523. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30524. "type": "integer"
  30525. },
  30526. "gzbsdeliverytype": {
  30527. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  30528. "type": "integer"
  30529. },
  30530. "gzbsstatus": {
  30531. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  30532. "type": "integer"
  30533. },
  30534. "gzbsstatusdisplay": {
  30535. "description": "单据状态",
  30536. "type": "string"
  30537. },
  30538. "handlestatus": {
  30539. "description": "处理状态",
  30540. "type": "integer"
  30541. },
  30542. "orderdate": {
  30543. "description": "单据日期",
  30544. "type": "string"
  30545. },
  30546. "orderid": {
  30547. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30548. "type": "integer"
  30549. },
  30550. "orderno": {
  30551. "description": "单据编号 - GZDEBSFW+单据流水号",
  30552. "type": "string"
  30553. },
  30554. "ordersn": {
  30555. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  30556. "type": "string"
  30557. },
  30558. "origincountry": {
  30559. "description": "原产国",
  30560. "type": "string"
  30561. },
  30562. "otherlogistics": {
  30563. "description": "指定其它物流",
  30564. "type": "string"
  30565. },
  30566. "priceper": {
  30567. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  30568. "type": "number"
  30569. },
  30570. "settleamount": {
  30571. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  30572. "type": "number"
  30573. },
  30574. "shaperange": {
  30575. "description": "形状范围",
  30576. "type": "string"
  30577. },
  30578. "taxmargin": {
  30579. "description": "税费保证金 - 确认结算费用时退回",
  30580. "type": "number"
  30581. },
  30582. "totalamount": {
  30583. "description": "总值(美元)",
  30584. "type": "number"
  30585. },
  30586. "totalgrossweightgm": {
  30587. "description": "总毛重(克)",
  30588. "type": "number"
  30589. },
  30590. "totalnetweightgm": {
  30591. "description": "总净重(克)",
  30592. "type": "number"
  30593. },
  30594. "totalnetweigthct": {
  30595. "description": "总净重(克拉)",
  30596. "type": "number"
  30597. },
  30598. "totalnumber": {
  30599. "description": "总粒数",
  30600. "type": "integer"
  30601. },
  30602. "userid": {
  30603. "description": "用户ID",
  30604. "type": "integer"
  30605. },
  30606. "weightrange": {
  30607. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  30608. "type": "string"
  30609. }
  30610. }
  30611. },
  30612. "models.GzbsfworderdetailM": {
  30613. "type": "object",
  30614. "properties": {
  30615. "colorinfo": {
  30616. "description": "彩钻信息",
  30617. "type": "string"
  30618. },
  30619. "createtime": {
  30620. "description": "创建时间",
  30621. "type": "string"
  30622. },
  30623. "grossweightgm": {
  30624. "description": "毛重(克)",
  30625. "type": "number"
  30626. },
  30627. "gzcjshape": {
  30628. "description": "形状(字符)",
  30629. "type": "string"
  30630. },
  30631. "netweigthct": {
  30632. "description": "净重(克拉)",
  30633. "type": "number"
  30634. },
  30635. "netweigthgm": {
  30636. "description": "净重(克)",
  30637. "type": "number"
  30638. },
  30639. "ordercontent": {
  30640. "description": "内容",
  30641. "type": "string"
  30642. },
  30643. "orderdetailid": {
  30644. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  30645. "type": "integer"
  30646. },
  30647. "orderid": {
  30648. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30649. "type": "integer"
  30650. },
  30651. "orderindex": {
  30652. "description": "顺序",
  30653. "type": "integer"
  30654. },
  30655. "perprice": {
  30656. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  30657. "type": "number"
  30658. },
  30659. "remark": {
  30660. "description": "备注(其它)",
  30661. "type": "string"
  30662. },
  30663. "totalamount": {
  30664. "description": "总值(美元)",
  30665. "type": "number"
  30666. }
  30667. }
  30668. },
  30669. "models.Gzbsfworderoperate": {
  30670. "type": "object",
  30671. "required": [
  30672. "orderid"
  30673. ],
  30674. "properties": {
  30675. "advanceproofaddr": {
  30676. "description": "预付款收款凭证(确认结算费用时)",
  30677. "type": "string"
  30678. },
  30679. "bankfee": {
  30680. "description": "汇款银行手续费",
  30681. "type": "number"
  30682. },
  30683. "bankproofaddr": {
  30684. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  30685. "type": "string"
  30686. },
  30687. "customsproofaddr": {
  30688. "description": "海关税费保证金收据(确认结算费用时)",
  30689. "type": "string"
  30690. },
  30691. "gzbsstatus": {
  30692. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  30693. "type": "integer"
  30694. },
  30695. "logisticsfee": {
  30696. "description": "代缴物流保险费",
  30697. "type": "number"
  30698. },
  30699. "logisticsproofaddr": {
  30700. "description": "代缴物流保险费凭证(确认结算费用时)",
  30701. "type": "string"
  30702. },
  30703. "operatetime": {
  30704. "description": "操作时间",
  30705. "type": "string"
  30706. },
  30707. "operatoraccount": {
  30708. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  30709. "type": "string"
  30710. },
  30711. "operatorid": {
  30712. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  30713. "type": "integer"
  30714. },
  30715. "operatorname": {
  30716. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  30717. "type": "string"
  30718. },
  30719. "operatorsrc": {
  30720. "description": "操作人来源 - 1:管理端 2:终端",
  30721. "type": "integer"
  30722. },
  30723. "orderid": {
  30724. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30725. "type": "integer"
  30726. },
  30727. "otherfee": {
  30728. "description": "其它费用",
  30729. "type": "number"
  30730. },
  30731. "remark": {
  30732. "description": "操作备注",
  30733. "type": "string"
  30734. },
  30735. "servicefee": {
  30736. "description": "综合服务费",
  30737. "type": "number"
  30738. },
  30739. "taxmargin": {
  30740. "description": "税费保证金",
  30741. "type": "number"
  30742. },
  30743. "totalfee": {
  30744. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  30745. "type": "number"
  30746. }
  30747. }
  30748. },
  30749. "models.Gzcertaddressconfig": {
  30750. "type": "object",
  30751. "properties": {
  30752. "certregion": {
  30753. "description": "证书地域 - 1:国内 2:国际",
  30754. "type": "integer"
  30755. },
  30756. "certtype": {
  30757. "description": "证书类型",
  30758. "type": "string"
  30759. },
  30760. "orderindex": {
  30761. "description": "显示顺序",
  30762. "type": "integer"
  30763. },
  30764. "orgcnname": {
  30765. "description": "机构名称(中文)",
  30766. "type": "string"
  30767. },
  30768. "orgenname": {
  30769. "description": "机构名称(英文)",
  30770. "type": "string"
  30771. },
  30772. "queryaddress": {
  30773. "description": "查询地址",
  30774. "type": "string"
  30775. },
  30776. "remark": {
  30777. "description": "备注",
  30778. "type": "string"
  30779. },
  30780. "updatetime": {
  30781. "description": "更新时间",
  30782. "type": "string"
  30783. }
  30784. }
  30785. },
  30786. "models.Gzcertaddressparam": {
  30787. "type": "object",
  30788. "properties": {
  30789. "certtype": {
  30790. "description": "证书类型",
  30791. "type": "string"
  30792. },
  30793. "orderindex": {
  30794. "description": "参数顺序",
  30795. "type": "integer"
  30796. },
  30797. "paramkey": {
  30798. "description": "参数Key",
  30799. "type": "string"
  30800. },
  30801. "paramname": {
  30802. "description": "参数名称",
  30803. "type": "string"
  30804. },
  30805. "updatetime": {
  30806. "description": "更新时间",
  30807. "type": "string"
  30808. }
  30809. }
  30810. },
  30811. "models.GzcjbsorderfileM": {
  30812. "type": "object",
  30813. "required": [
  30814. "orderid"
  30815. ],
  30816. "properties": {
  30817. "canmembervisit": {
  30818. "description": "会员是否可访问 - 1:可 2:不可",
  30819. "type": "integer"
  30820. },
  30821. "fileaddress": {
  30822. "description": "文件地址",
  30823. "type": "string"
  30824. },
  30825. "filegentype": {
  30826. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  30827. "type": "integer"
  30828. },
  30829. "filename": {
  30830. "description": "文件名称",
  30831. "type": "string"
  30832. },
  30833. "operatetime": {
  30834. "description": "操作时间",
  30835. "type": "string"
  30836. },
  30837. "operatoraccount": {
  30838. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  30839. "type": "string"
  30840. },
  30841. "operatorid": {
  30842. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  30843. "type": "integer"
  30844. },
  30845. "operatorsrc": {
  30846. "description": "操作人来源 - 1:管理端 2:终端",
  30847. "type": "integer"
  30848. },
  30849. "orderfileid": {
  30850. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  30851. "type": "integer"
  30852. },
  30853. "orderid": {
  30854. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  30855. "type": "integer"
  30856. }
  30857. }
  30858. },
  30859. "models.GzcjjcorderM": {
  30860. "type": "object",
  30861. "required": [
  30862. "userid"
  30863. ],
  30864. "properties": {
  30865. "accountid": {
  30866. "description": "资金账户ID",
  30867. "type": "integer"
  30868. },
  30869. "addresscn": {
  30870. "description": "地址(中文)",
  30871. "type": "string"
  30872. },
  30873. "addressen": {
  30874. "description": "地址(英文)",
  30875. "type": "string"
  30876. },
  30877. "advanceamount": {
  30878. "description": "总预付款",
  30879. "type": "number"
  30880. },
  30881. "colorrange": {
  30882. "description": "颜色范围",
  30883. "type": "string"
  30884. },
  30885. "companynamecn": {
  30886. "description": "公司名称(中文)",
  30887. "type": "string"
  30888. },
  30889. "companynameen": {
  30890. "description": "公司名称(英文)",
  30891. "type": "string"
  30892. },
  30893. "contactname": {
  30894. "description": "联系人姓名",
  30895. "type": "string"
  30896. },
  30897. "contactphoneno": {
  30898. "description": "联系人电话",
  30899. "type": "string"
  30900. },
  30901. "contactposition": {
  30902. "description": "联系人职位",
  30903. "type": "string"
  30904. },
  30905. "createtime": {
  30906. "description": "创建时间",
  30907. "type": "string"
  30908. },
  30909. "email": {
  30910. "description": "邮箱",
  30911. "type": "string"
  30912. },
  30913. "executestatus": {
  30914. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30915. "type": "integer"
  30916. },
  30917. "gzcjaccount": {
  30918. "description": "送检账户",
  30919. "type": "string"
  30920. },
  30921. "gzcjaccounttype": {
  30922. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  30923. "type": "integer"
  30924. },
  30925. "gzcjcategorytype": {
  30926. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  30927. "type": "integer"
  30928. },
  30929. "gzcjcategorytypedisplay": {
  30930. "description": "货物品类",
  30931. "type": "string"
  30932. },
  30933. "gzcjdeliverytype": {
  30934. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  30935. "type": "integer"
  30936. },
  30937. "gzcjdeliverytypedisplay": {
  30938. "description": "收货方式",
  30939. "type": "string"
  30940. },
  30941. "gzcjstatus": {
  30942. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  30943. "type": "integer"
  30944. },
  30945. "gzcjstatusdisplay": {
  30946. "description": "单据状态(出境检测)",
  30947. "type": "string"
  30948. },
  30949. "handlestatus": {
  30950. "description": "处理状态",
  30951. "type": "integer"
  30952. },
  30953. "invoiceremark": {
  30954. "description": "复核备注 - 发票装箱单使用",
  30955. "type": "string"
  30956. },
  30957. "orderid": {
  30958. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  30959. "type": "integer"
  30960. },
  30961. "orderno": {
  30962. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  30963. "type": "string"
  30964. },
  30965. "ordersn": {
  30966. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  30967. "type": "string"
  30968. },
  30969. "origincountry": {
  30970. "description": "原产国",
  30971. "type": "string"
  30972. },
  30973. "processingcountry": {
  30974. "description": "成品钻石加工国",
  30975. "type": "string"
  30976. },
  30977. "realservicefee": {
  30978. "description": "应收综合服务费",
  30979. "type": "number"
  30980. },
  30981. "servicefeesum": {
  30982. "description": "汇总综合服务费 - 明细上值汇总",
  30983. "type": "number"
  30984. },
  30985. "settleamount": {
  30986. "description": "总结算费用",
  30987. "type": "number"
  30988. },
  30989. "shaperange": {
  30990. "description": "形状范围",
  30991. "type": "string"
  30992. },
  30993. "totalamount": {
  30994. "description": "总金额(美元)",
  30995. "type": "number"
  30996. },
  30997. "totalgrossweight": {
  30998. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  30999. "type": "number"
  31000. },
  31001. "totalnumber": {
  31002. "description": "总粒数",
  31003. "type": "integer"
  31004. },
  31005. "totalweight": {
  31006. "description": "总克拉数(保留3位小数)",
  31007. "type": "number"
  31008. },
  31009. "totalweightgm": {
  31010. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  31011. "type": "number"
  31012. },
  31013. "userid": {
  31014. "description": "用户ID",
  31015. "type": "integer"
  31016. },
  31017. "weightrange": {
  31018. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  31019. "type": "string"
  31020. },
  31021. "zsorigin": {
  31022. "description": "天然钻石毛坯原产地",
  31023. "type": "string"
  31024. }
  31025. }
  31026. },
  31027. "models.GzcjjcorderdetailM": {
  31028. "type": "object",
  31029. "properties": {
  31030. "amount": {
  31031. "description": "参考货值(USD)",
  31032. "type": "number"
  31033. },
  31034. "colorinfo": {
  31035. "description": "彩钻信息",
  31036. "type": "string"
  31037. },
  31038. "createtime": {
  31039. "description": "创建时间",
  31040. "type": "string"
  31041. },
  31042. "gzcjmarktype": {
  31043. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  31044. "type": "integer"
  31045. },
  31046. "gzcjpublishtype": {
  31047. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  31048. "type": "integer"
  31049. },
  31050. "gzcjpublishtypestring": {
  31051. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  31052. "type": "string"
  31053. },
  31054. "gzcjservicetype": {
  31055. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  31056. "type": "integer"
  31057. },
  31058. "gzcjservicetypestring": {
  31059. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  31060. "type": "string"
  31061. },
  31062. "gzcjshapetype": {
  31063. "description": "形状 - 枚举\"GZCJShapeType\"",
  31064. "type": "integer"
  31065. },
  31066. "gzcjshapetypestring": {
  31067. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  31068. "type": "string"
  31069. },
  31070. "gzno": {
  31071. "description": "货物编号",
  31072. "type": "string"
  31073. },
  31074. "orderdetailid": {
  31075. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  31076. "type": "integer"
  31077. },
  31078. "orderid": {
  31079. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31080. "type": "integer"
  31081. },
  31082. "orderindex": {
  31083. "description": "顺序",
  31084. "type": "integer"
  31085. },
  31086. "origincertno": {
  31087. "description": "原证书号【送检账户为“广钻账户”】",
  31088. "type": "string"
  31089. },
  31090. "remark": {
  31091. "description": "备注(其它)",
  31092. "type": "string"
  31093. },
  31094. "servicefee": {
  31095. "description": "综合服务费 - 根据市场配置计算",
  31096. "type": "number"
  31097. },
  31098. "weight": {
  31099. "description": "重量(CT)",
  31100. "type": "number"
  31101. }
  31102. }
  31103. },
  31104. "models.Gzrapaportprice": {
  31105. "type": "object",
  31106. "properties": {
  31107. "dollar": {
  31108. "description": "美元",
  31109. "type": "string"
  31110. },
  31111. "rmb": {
  31112. "description": "人民币",
  31113. "type": "string"
  31114. }
  31115. }
  31116. },
  31117. "models.Hedgeinnerholderdetail": {
  31118. "type": "object",
  31119. "required": [
  31120. "buyorsell",
  31121. "tradeid"
  31122. ],
  31123. "properties": {
  31124. "accountid": {
  31125. "description": "账号ID",
  31126. "type": "integer"
  31127. },
  31128. "buyorsell": {
  31129. "description": "方向 - 0:买 1:卖",
  31130. "type": "integer"
  31131. },
  31132. "freezeqty": {
  31133. "description": "冻结数量 - 按单平使用",
  31134. "type": "integer"
  31135. },
  31136. "goodsid": {
  31137. "description": "商品ID",
  31138. "type": "integer"
  31139. },
  31140. "holderamount": {
  31141. "description": "持仓金额 [商品币种]",
  31142. "type": "number"
  31143. },
  31144. "holderdays": {
  31145. "description": "剩余冻结天数",
  31146. "type": "integer"
  31147. },
  31148. "holderprice": {
  31149. "description": "持仓价格",
  31150. "type": "number"
  31151. },
  31152. "holderqty": {
  31153. "description": "持仓数量",
  31154. "type": "integer"
  31155. },
  31156. "marketid": {
  31157. "description": "市场ID",
  31158. "type": "integer"
  31159. },
  31160. "openprice": {
  31161. "description": "建仓价格",
  31162. "type": "number"
  31163. },
  31164. "openqty": {
  31165. "description": "建仓数量",
  31166. "type": "integer"
  31167. },
  31168. "parentaccountid": {
  31169. "description": "所属母账户",
  31170. "type": "integer"
  31171. },
  31172. "releaseamount": {
  31173. "description": "释放持仓金额[商品币种]",
  31174. "type": "number"
  31175. },
  31176. "tradeamount": {
  31177. "description": "成交金额[账户]",
  31178. "type": "number"
  31179. },
  31180. "tradedate": {
  31181. "description": "交易日(yyyyMMdd)",
  31182. "type": "string"
  31183. },
  31184. "tradeid": {
  31185. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31186. "type": "string"
  31187. },
  31188. "tradetime": {
  31189. "description": "交易时间",
  31190. "type": "string"
  31191. }
  31192. }
  31193. },
  31194. "models.Hedgemarketopenlog": {
  31195. "type": "object",
  31196. "required": [
  31197. "accountid"
  31198. ],
  31199. "properties": {
  31200. "accountid": {
  31201. "description": "资金账号[外部母账户]",
  31202. "type": "integer"
  31203. },
  31204. "fcname": {
  31205. "description": "期货公司名称",
  31206. "type": "string"
  31207. },
  31208. "handlestatus": {
  31209. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  31210. "type": "integer"
  31211. },
  31212. "marketid": {
  31213. "description": "市场ID",
  31214. "type": "integer"
  31215. },
  31216. "status": {
  31217. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  31218. "type": "integer"
  31219. },
  31220. "tradedate": {
  31221. "description": "交易日(yyyyMMdd)",
  31222. "type": "string"
  31223. },
  31224. "updatetime": {
  31225. "description": "更新时间",
  31226. "type": "string"
  31227. }
  31228. }
  31229. },
  31230. "models.InternalEnableTradeDetail": {
  31231. "type": "object",
  31232. "required": [
  31233. "areauserid",
  31234. "goodsid",
  31235. "tradeuserid"
  31236. ],
  31237. "properties": {
  31238. "agreeunit": {
  31239. "description": "合约乘数",
  31240. "type": "number"
  31241. },
  31242. "areauserid": {
  31243. "description": "企业ID",
  31244. "type": "integer"
  31245. },
  31246. "convertratio": {
  31247. "description": "品种系数",
  31248. "type": "number"
  31249. },
  31250. "deliverygoodscode": {
  31251. "description": "现货品种代码",
  31252. "type": "string"
  31253. },
  31254. "deliverygoodsid": {
  31255. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31256. "type": "integer"
  31257. },
  31258. "deliverygoodsname": {
  31259. "description": "现货品种名称",
  31260. "type": "string"
  31261. },
  31262. "futurehedgeqty": {
  31263. "description": "[已关联数量]期货持仓套期量",
  31264. "type": "number"
  31265. },
  31266. "goodsid": {
  31267. "description": "期货合约ID",
  31268. "type": "integer"
  31269. },
  31270. "hedgeditemid": {
  31271. "description": "被套期项目ID",
  31272. "type": "string"
  31273. },
  31274. "hedgeditemnum": {
  31275. "description": "项目编号",
  31276. "type": "string"
  31277. },
  31278. "tradeuserid": {
  31279. "description": "交易用户ID",
  31280. "type": "integer"
  31281. },
  31282. "unexehedgeqty": {
  31283. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31284. "type": "number"
  31285. },
  31286. "unexespotqty": {
  31287. "description": "未执行现货量",
  31288. "type": "number"
  31289. },
  31290. "wrstandardcode": {
  31291. "description": "现货品类代码",
  31292. "type": "string"
  31293. },
  31294. "wrstandardid": {
  31295. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31296. "type": "integer"
  31297. },
  31298. "wrstandardname": {
  31299. "description": "现货品类名称",
  31300. "type": "string"
  31301. }
  31302. }
  31303. },
  31304. "models.InternalUncorrelatedTradeDetail": {
  31305. "type": "object",
  31306. "properties": {
  31307. "accountid": {
  31308. "description": "账号ID",
  31309. "type": "integer"
  31310. },
  31311. "accountname": {
  31312. "description": "套期主体",
  31313. "type": "string"
  31314. },
  31315. "agreeunit": {
  31316. "description": "合约乘数",
  31317. "type": "number"
  31318. },
  31319. "areauserid": {
  31320. "description": "所属机构",
  31321. "type": "integer"
  31322. },
  31323. "bizsubjectid": {
  31324. "description": "归属业务部门ID - SubjectID",
  31325. "type": "integer"
  31326. },
  31327. "buyorsell": {
  31328. "description": "方向 - 0:买 1:卖",
  31329. "type": "integer"
  31330. },
  31331. "channelbuildtype": {
  31332. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31333. "type": "integer"
  31334. },
  31335. "convertratio": {
  31336. "description": "品种系数",
  31337. "type": "number"
  31338. },
  31339. "createtime": {
  31340. "description": "创建时间",
  31341. "type": "string"
  31342. },
  31343. "creatorid": {
  31344. "description": "创建人ID",
  31345. "type": "integer"
  31346. },
  31347. "creatorsrc": {
  31348. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31349. "type": "integer"
  31350. },
  31351. "enableqty": {
  31352. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31353. "type": "number"
  31354. },
  31355. "enumdicname": {
  31356. "description": "单位",
  31357. "type": "string"
  31358. },
  31359. "goodscode": {
  31360. "description": "合约代码",
  31361. "type": "string"
  31362. },
  31363. "goodsgroupid": {
  31364. "description": "对冲品种ID[期货合约商品组ID]",
  31365. "type": "integer"
  31366. },
  31367. "goodsid": {
  31368. "description": "商品ID",
  31369. "type": "integer"
  31370. },
  31371. "goodsname": {
  31372. "description": "合约名称",
  31373. "type": "string"
  31374. },
  31375. "hedgeditemid": {
  31376. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31377. "type": "integer"
  31378. },
  31379. "hedgeflag": {
  31380. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31381. "type": "integer"
  31382. },
  31383. "linkdetailid": {
  31384. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31385. "type": "string"
  31386. },
  31387. "linkstatus": {
  31388. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31389. "type": "integer"
  31390. },
  31391. "middlegoodsid": {
  31392. "description": "套保品种ID",
  31393. "type": "integer"
  31394. },
  31395. "middlegoodsqty": {
  31396. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31397. "type": "number"
  31398. },
  31399. "relatedlot": {
  31400. "description": "[数量]关联手数",
  31401. "type": "number"
  31402. },
  31403. "relatedmode": {
  31404. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31405. "type": "integer"
  31406. },
  31407. "relatedqty": {
  31408. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31409. "type": "number"
  31410. },
  31411. "retcode": {
  31412. "description": "返回码",
  31413. "type": "integer"
  31414. },
  31415. "saleuserid": {
  31416. "description": "业务员ID",
  31417. "type": "integer"
  31418. },
  31419. "tradedate": {
  31420. "description": "关联交易日(yyyyMMdd)",
  31421. "type": "string"
  31422. },
  31423. "tradeid": {
  31424. "description": "成交单号",
  31425. "type": "string"
  31426. },
  31427. "tradelot": {
  31428. "description": "成交手数",
  31429. "type": "integer"
  31430. },
  31431. "tradeprice": {
  31432. "description": "成交价",
  31433. "type": "number"
  31434. },
  31435. "tradetime": {
  31436. "description": "成交时间",
  31437. "type": "string"
  31438. },
  31439. "tradetradedate": {
  31440. "description": "成交交易日(yyyyMMdd)",
  31441. "type": "string"
  31442. },
  31443. "tradeuserid": {
  31444. "description": "交易用户ID",
  31445. "type": "integer"
  31446. }
  31447. }
  31448. },
  31449. "models.Loginaccount": {
  31450. "type": "object",
  31451. "required": [
  31452. "loginid"
  31453. ],
  31454. "properties": {
  31455. "accountname": {
  31456. "description": "账户名称",
  31457. "type": "string"
  31458. },
  31459. "canoutin": {
  31460. "description": "是否可出入金 - 0:不可 1:可",
  31461. "type": "integer"
  31462. },
  31463. "clientroleid": {
  31464. "description": "终端角色ID",
  31465. "type": "integer"
  31466. },
  31467. "haslogined": {
  31468. "description": "是否已登录 - 0:未登录 1:已登录",
  31469. "type": "integer"
  31470. },
  31471. "hasupdatedpwd": {
  31472. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31473. "type": "integer"
  31474. },
  31475. "lastloginip": {
  31476. "description": "最新登录地址",
  31477. "type": "string"
  31478. },
  31479. "lastloginmode": {
  31480. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31481. "type": "integer"
  31482. },
  31483. "lastloginremark": {
  31484. "description": "最新登录描述",
  31485. "type": "string"
  31486. },
  31487. "lastlogintime": {
  31488. "description": "最新登录时间",
  31489. "type": "string"
  31490. },
  31491. "logincode": {
  31492. "description": "登录代码",
  31493. "type": "string"
  31494. },
  31495. "loginfailnum": {
  31496. "description": "连续登录失败次数(登录成功时清零)",
  31497. "type": "integer"
  31498. },
  31499. "loginid": {
  31500. "description": "登陆账号",
  31501. "type": "integer"
  31502. },
  31503. "loginport": {
  31504. "description": "最新登录端口",
  31505. "type": "integer"
  31506. },
  31507. "loginstatus": {
  31508. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31509. "type": "integer"
  31510. },
  31511. "loginusertype": {
  31512. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31513. "type": "integer"
  31514. },
  31515. "mobile": {
  31516. "description": "手机号码(加密存储)",
  31517. "type": "string"
  31518. },
  31519. "modifierid": {
  31520. "description": "修改人",
  31521. "type": "integer"
  31522. },
  31523. "modifysrc": {
  31524. "description": "审核来源 - 1:管理端 2:终端",
  31525. "type": "integer"
  31526. },
  31527. "modifytime": {
  31528. "description": "修改时间",
  31529. "type": "string"
  31530. },
  31531. "pwdwrongcount": {
  31532. "description": "密码错误次数",
  31533. "type": "integer"
  31534. },
  31535. "relateduserid": {
  31536. "description": "关联用户ID(机构)",
  31537. "type": "integer"
  31538. },
  31539. "taaccountrighttype": {
  31540. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31541. "type": "integer"
  31542. },
  31543. "unfreezetime": {
  31544. "description": "账户解冻时间",
  31545. "type": "string"
  31546. },
  31547. "userid": {
  31548. "description": "用户ID",
  31549. "type": "integer"
  31550. }
  31551. }
  31552. },
  31553. "models.MainAccountInfo": {
  31554. "type": "object",
  31555. "properties": {
  31556. "accountid": {
  31557. "description": "账号id",
  31558. "type": "integer"
  31559. },
  31560. "accountname": {
  31561. "description": "账号名称(taaccount表中的名称)",
  31562. "type": "string"
  31563. },
  31564. "appid": {
  31565. "description": "AppID",
  31566. "type": "string"
  31567. },
  31568. "authcode": {
  31569. "description": "授权码",
  31570. "type": "string"
  31571. },
  31572. "brokerid": {
  31573. "description": "经纪商id",
  31574. "type": "string"
  31575. },
  31576. "fcid": {
  31577. "description": "期货公司id",
  31578. "type": "integer"
  31579. },
  31580. "fcname": {
  31581. "description": "期货公司代码",
  31582. "type": "string"
  31583. },
  31584. "hedgeaccountcode": {
  31585. "description": "外部账号代码(主账号登录代码)",
  31586. "type": "string"
  31587. },
  31588. "hedgeaccountpwd": {
  31589. "description": "密码",
  31590. "type": "string"
  31591. },
  31592. "ismain": {
  31593. "description": "是否主账号",
  31594. "type": "integer"
  31595. },
  31596. "relateduserid": {
  31597. "description": "关联用户id",
  31598. "type": "integer"
  31599. },
  31600. "userid": {
  31601. "description": "关联用户id",
  31602. "type": "integer"
  31603. }
  31604. }
  31605. },
  31606. "models.Market": {
  31607. "type": "object",
  31608. "required": [
  31609. "marketid",
  31610. "marketstatus",
  31611. "openmethod",
  31612. "reckonpricealgorithm",
  31613. "trademode",
  31614. "tradeproperty"
  31615. ],
  31616. "properties": {
  31617. "auctionwrtype": {
  31618. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31619. "type": "integer"
  31620. },
  31621. "canacceptquote": {
  31622. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31623. "type": "integer"
  31624. },
  31625. "cangoodsexercise": {
  31626. "description": "[期权]是否可现货行权- 0:否 1:是",
  31627. "type": "integer"
  31628. },
  31629. "cangoodsexercisetype": {
  31630. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31631. "type": "integer"
  31632. },
  31633. "canmanualquotestrike": {
  31634. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31635. "type": "integer"
  31636. },
  31637. "canmutistage": {
  31638. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31639. "type": "integer"
  31640. },
  31641. "canpreexercise": {
  31642. "description": "[期权]是否可预申报- 0:否 1:是",
  31643. "type": "integer"
  31644. },
  31645. "clearinterval": {
  31646. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31647. "type": "integer"
  31648. },
  31649. "contracttmp": {
  31650. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31651. "type": "string"
  31652. },
  31653. "exchareaid": {
  31654. "description": "所属交易所,可以没有",
  31655. "type": "integer"
  31656. },
  31657. "goodstype": {
  31658. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31659. "type": "integer"
  31660. },
  31661. "hasrebate": {
  31662. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31663. "type": "integer"
  31664. },
  31665. "hastradecredit": {
  31666. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31667. "type": "integer"
  31668. },
  31669. "haswr": {
  31670. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31671. "type": "integer"
  31672. },
  31673. "isdeductmargin": {
  31674. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31675. "type": "integer"
  31676. },
  31677. "isrecordsource": {
  31678. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31679. "type": "integer"
  31680. },
  31681. "isreleasemargin": {
  31682. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31683. "type": "integer"
  31684. },
  31685. "marginformula": {
  31686. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31687. "type": "integer"
  31688. },
  31689. "marginformula2": {
  31690. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31691. "type": "integer"
  31692. },
  31693. "marketid": {
  31694. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31695. "type": "integer"
  31696. },
  31697. "marketname": {
  31698. "description": "市场名称",
  31699. "type": "string"
  31700. },
  31701. "marketserviceid": {
  31702. "description": "市场服务ID",
  31703. "type": "integer"
  31704. },
  31705. "marketstatus": {
  31706. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31707. "type": "integer"
  31708. },
  31709. "markettype": {
  31710. "description": "市场类型- 1:非交易服务 2:交易服务",
  31711. "type": "integer"
  31712. },
  31713. "matchermode": {
  31714. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  31715. "type": "integer"
  31716. },
  31717. "openmethod": {
  31718. "description": "开盘模式 - 0 自动 1手动",
  31719. "type": "integer"
  31720. },
  31721. "otcuserid": {
  31722. "description": "场外期权做市商[场外期权]",
  31723. "type": "integer"
  31724. },
  31725. "outersynctime": {
  31726. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31727. "type": "string"
  31728. },
  31729. "pendingflag": {
  31730. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31731. "type": "integer"
  31732. },
  31733. "pendingtime": {
  31734. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31735. "type": "string"
  31736. },
  31737. "performancetempid": {
  31738. "description": "履约计划模板ID - 作废",
  31739. "type": "integer"
  31740. },
  31741. "premiumquotemode": {
  31742. "description": "权利金报价方式 - 1:自动 2:手动",
  31743. "type": "integer"
  31744. },
  31745. "rebateratio": {
  31746. "description": "返利比率[竞价式]",
  31747. "type": "number"
  31748. },
  31749. "reckonorder": {
  31750. "description": "结算顺序",
  31751. "type": "integer"
  31752. },
  31753. "reckonpricealgorithm": {
  31754. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31755. "type": "integer"
  31756. },
  31757. "reckonpriceparam": {
  31758. "description": "结算价参数",
  31759. "type": "integer"
  31760. },
  31761. "reckontime": {
  31762. "description": "结算时间[通道交易-对冲](HH:mm)",
  31763. "type": "string"
  31764. },
  31765. "roleprioritytype": {
  31766. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31767. "type": "integer"
  31768. },
  31769. "selllistingauditflag": {
  31770. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31771. "type": "integer"
  31772. },
  31773. "trademarkettype": {
  31774. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31775. "type": "integer"
  31776. },
  31777. "trademode": {
  31778. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31779. "type": "integer"
  31780. },
  31781. "tradeproperty": {
  31782. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31783. "type": "integer"
  31784. },
  31785. "tradetype": {
  31786. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31787. "type": "integer"
  31788. }
  31789. }
  31790. },
  31791. "models.Marketcalendar": {
  31792. "type": "object",
  31793. "properties": {
  31794. "holidaydate": {
  31795. "description": "节假日期(yyyy-MM-dd)",
  31796. "type": "string"
  31797. },
  31798. "marketid": {
  31799. "description": "市场ID",
  31800. "type": "integer"
  31801. }
  31802. }
  31803. },
  31804. "models.Marketrun": {
  31805. "type": "object",
  31806. "required": [
  31807. "marketid",
  31808. "nexttradedate",
  31809. "reckonflag",
  31810. "runstatus",
  31811. "tradedate",
  31812. "tradedate2"
  31813. ],
  31814. "properties": {
  31815. "afternexttradedate": {
  31816. "description": "下下交易日",
  31817. "type": "string"
  31818. },
  31819. "clearquoteflag": {
  31820. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31821. "type": "integer"
  31822. },
  31823. "lastreckondate": {
  31824. "description": "最新交易日(结算成功)",
  31825. "type": "string"
  31826. },
  31827. "machinedate": {
  31828. "description": "机器时间",
  31829. "type": "string"
  31830. },
  31831. "manualflag": {
  31832. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31833. "type": "integer"
  31834. },
  31835. "marketid": {
  31836. "description": "市场ID",
  31837. "type": "integer"
  31838. },
  31839. "nexttradedate": {
  31840. "description": "下一交易日",
  31841. "type": "string"
  31842. },
  31843. "pretradedate": {
  31844. "description": "上一交易日",
  31845. "type": "string"
  31846. },
  31847. "reckonflag": {
  31848. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31849. "type": "integer"
  31850. },
  31851. "runstatus": {
  31852. "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.今日免清算",
  31853. "type": "integer"
  31854. },
  31855. "sectionid": {
  31856. "description": "时间段号[多时段时用]",
  31857. "type": "integer"
  31858. },
  31859. "tradedate": {
  31860. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31861. "type": "string"
  31862. },
  31863. "tradedate2": {
  31864. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31865. "type": "string"
  31866. },
  31867. "updatetime": {
  31868. "description": "更新时间",
  31869. "type": "string"
  31870. }
  31871. }
  31872. },
  31873. "models.Messageboard": {
  31874. "type": "object",
  31875. "required": [
  31876. "messageboardid"
  31877. ],
  31878. "properties": {
  31879. "contactnum": {
  31880. "description": "联系电话",
  31881. "type": "string"
  31882. },
  31883. "createtime": {
  31884. "description": "创建时间",
  31885. "type": "string"
  31886. },
  31887. "message": {
  31888. "description": "留言信息",
  31889. "type": "string"
  31890. },
  31891. "messageboardid": {
  31892. "description": "留言簿ID(SEQ_MessageBoard)",
  31893. "type": "integer"
  31894. },
  31895. "userid": {
  31896. "description": "用户ID",
  31897. "type": "integer"
  31898. }
  31899. }
  31900. },
  31901. "models.MyBargainApply": {
  31902. "type": "object",
  31903. "required": [
  31904. "userid"
  31905. ],
  31906. "properties": {
  31907. "accountid": {
  31908. "description": "摘牌资金账号",
  31909. "type": "integer"
  31910. },
  31911. "applyprice": {
  31912. "description": "申请价格",
  31913. "type": "string"
  31914. },
  31915. "applyremark": {
  31916. "description": "申请备注",
  31917. "type": "string"
  31918. },
  31919. "applystatus": {
  31920. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31921. "type": "integer"
  31922. },
  31923. "applytime": {
  31924. "description": "申请时间",
  31925. "type": "string"
  31926. },
  31927. "buyorsell": {
  31928. "description": "买卖 - 0:买 1:卖",
  31929. "type": "integer"
  31930. },
  31931. "buyusername": {
  31932. "description": "买方",
  31933. "type": "string"
  31934. },
  31935. "confirmprice": {
  31936. "description": "可接受价格(拒绝时填写)-作废",
  31937. "type": "number"
  31938. },
  31939. "confirmqty": {
  31940. "description": "可接受数量(拒绝时填写)-作废",
  31941. "type": "integer"
  31942. },
  31943. "confirmremark": {
  31944. "description": "确认备注",
  31945. "type": "string"
  31946. },
  31947. "confirmtime": {
  31948. "description": "确认时间",
  31949. "type": "string"
  31950. },
  31951. "confirmuserid": {
  31952. "description": "确认人",
  31953. "type": "integer"
  31954. },
  31955. "goodsno": {
  31956. "description": "商品编号",
  31957. "type": "string"
  31958. },
  31959. "handlestatus": {
  31960. "description": "处理状态",
  31961. "type": "integer"
  31962. },
  31963. "ladingbillid": {
  31964. "description": "摘牌方提单ID [卖]",
  31965. "type": "integer"
  31966. },
  31967. "marketid": {
  31968. "description": "市场ID",
  31969. "type": "integer"
  31970. },
  31971. "matchaccountid": {
  31972. "description": "挂牌方资金账号",
  31973. "type": "integer"
  31974. },
  31975. "matchuserid": {
  31976. "description": "挂牌方用户ID",
  31977. "type": "integer"
  31978. },
  31979. "performancetemplateid": {
  31980. "description": "履约计划模板ID",
  31981. "type": "integer"
  31982. },
  31983. "price": {
  31984. "description": "价格",
  31985. "type": "number"
  31986. },
  31987. "priceper": {
  31988. "description": "克拉单价 - 类型:1,2,3,5",
  31989. "type": "string"
  31990. },
  31991. "qty": {
  31992. "description": "申请数量",
  31993. "type": "number"
  31994. },
  31995. "refprice": {
  31996. "description": "参考价格",
  31997. "type": "string"
  31998. },
  31999. "retcode": {
  32000. "description": "委托返回代码",
  32001. "type": "integer"
  32002. },
  32003. "sellusername": {
  32004. "description": "卖方",
  32005. "type": "string"
  32006. },
  32007. "sizedisplay": {
  32008. "description": "尺寸",
  32009. "type": "string"
  32010. },
  32011. "subnum": {
  32012. "description": "摘牌方提单子单号 [卖]",
  32013. "type": "integer"
  32014. },
  32015. "tradedate": {
  32016. "description": "交易日(yyyyMMdd)",
  32017. "type": "string"
  32018. },
  32019. "userid": {
  32020. "description": "摘牌人用户ID",
  32021. "type": "integer"
  32022. },
  32023. "warehousenamedisplay": {
  32024. "type": "string"
  32025. },
  32026. "wrbargainid": {
  32027. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32028. "type": "string"
  32029. },
  32030. "wrtradeorderid": {
  32031. "description": "关联委托单ID",
  32032. "type": "string"
  32033. },
  32034. "zscerttypedisplay": {
  32035. "type": "string"
  32036. },
  32037. "zsclaritytype1display": {
  32038. "type": "string"
  32039. },
  32040. "zsclaritytype2display": {
  32041. "type": "string"
  32042. },
  32043. "zscolortype1display": {
  32044. "type": "string"
  32045. },
  32046. "zscolortype2display": {
  32047. "type": "string"
  32048. },
  32049. "zscrystaltypedisplay": {
  32050. "type": "string"
  32051. },
  32052. "zscurrencytypedisplay": {
  32053. "type": "string"
  32054. },
  32055. "zscurrencytypedisplayunit": {
  32056. "type": "string"
  32057. },
  32058. "zscuttype1display": {
  32059. "type": "string"
  32060. },
  32061. "zscuttype2display": {
  32062. "type": "string"
  32063. },
  32064. "zsczcolor1typedisplay": {
  32065. "type": "string"
  32066. },
  32067. "zsczcolor2typedisplay": {
  32068. "type": "string"
  32069. },
  32070. "zsczcolor3typedisplay": {
  32071. "type": "string"
  32072. },
  32073. "zsfluorescencetype1display": {
  32074. "type": "string"
  32075. },
  32076. "zsfluorescencetype2display": {
  32077. "type": "string"
  32078. },
  32079. "zspolishtype1display": {
  32080. "type": "string"
  32081. },
  32082. "zspolishtype2display": {
  32083. "type": "string"
  32084. },
  32085. "zsshapetypedisplay": {
  32086. "type": "string"
  32087. },
  32088. "zsstyletypedisplay": {
  32089. "type": "string"
  32090. },
  32091. "zssymmetrytype1display": {
  32092. "type": "string"
  32093. },
  32094. "zssymmetrytype2display": {
  32095. "type": "string"
  32096. }
  32097. }
  32098. },
  32099. "models.MyBuyOrder": {
  32100. "type": "object",
  32101. "required": [
  32102. "userid"
  32103. ],
  32104. "properties": {
  32105. "accountid": {
  32106. "description": "资金账户ID",
  32107. "type": "integer"
  32108. },
  32109. "marketid": {
  32110. "description": "市场ID",
  32111. "type": "integer"
  32112. },
  32113. "ordertime": {
  32114. "description": "委托时间",
  32115. "type": "string"
  32116. },
  32117. "origin": {
  32118. "description": "原产地",
  32119. "type": "string"
  32120. },
  32121. "performancetemplateid": {
  32122. "description": "履约计划模板ID",
  32123. "type": "integer"
  32124. },
  32125. "remark": {
  32126. "description": "备注",
  32127. "type": "string"
  32128. },
  32129. "userid": {
  32130. "description": "用户ID",
  32131. "type": "integer"
  32132. },
  32133. "validtime": {
  32134. "description": "有效期限",
  32135. "type": "string"
  32136. },
  32137. "warehouseids": {
  32138. "description": "仓库ID - 多个, 逗号分隔",
  32139. "type": "string"
  32140. },
  32141. "warehouseinfosdisplay": {
  32142. "type": "string"
  32143. },
  32144. "wrtradeorderid": {
  32145. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32146. "type": "string"
  32147. },
  32148. "wrtradeorderstatus": {
  32149. "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、",
  32150. "type": "integer"
  32151. },
  32152. "zscategory": {
  32153. "description": "钻石分类 - 枚举”ZSCategory“",
  32154. "type": "integer"
  32155. },
  32156. "zscategorydisplay": {
  32157. "type": "string"
  32158. },
  32159. "zsclaritytype": {
  32160. "description": "净度 - 两个, 逗号分隔",
  32161. "type": "string"
  32162. },
  32163. "zsclaritytypedisplay": {
  32164. "type": "string"
  32165. },
  32166. "zscolortype": {
  32167. "description": "颜色 - 两个, 逗号分隔",
  32168. "type": "string"
  32169. },
  32170. "zscolortypedisplay": {
  32171. "type": "string"
  32172. },
  32173. "zscrystaltype": {
  32174. "description": "晶型 - 多个,逗号分隔",
  32175. "type": "string"
  32176. },
  32177. "zscrystaltypedisplay": {
  32178. "type": "string"
  32179. },
  32180. "zscurrencytype": {
  32181. "description": "货币类型 - 多个, 逗号分隔",
  32182. "type": "string"
  32183. },
  32184. "zscurrencytypedisplay": {
  32185. "type": "string"
  32186. },
  32187. "zscuttype": {
  32188. "description": "切工 - 两个, 逗号分隔",
  32189. "type": "string"
  32190. },
  32191. "zscuttypedisplay": {
  32192. "type": "string"
  32193. },
  32194. "zsczcolor1type": {
  32195. "description": "彩钻颜色1, 逗号分隔",
  32196. "type": "string"
  32197. },
  32198. "zsczcolor1typedisplay": {
  32199. "type": "string"
  32200. },
  32201. "zsczcolor2type": {
  32202. "description": "彩钻颜色2, 逗号分隔",
  32203. "type": "string"
  32204. },
  32205. "zsczcolor2typedisplay": {
  32206. "type": "string"
  32207. },
  32208. "zsczcolor3type": {
  32209. "description": "彩钻颜色3, 逗号分隔",
  32210. "type": "string"
  32211. },
  32212. "zsczcolor3typedisplay": {
  32213. "type": "string"
  32214. },
  32215. "zsfluorescencetype": {
  32216. "description": "荧光 - 多个, 逗号分隔",
  32217. "type": "string"
  32218. },
  32219. "zsfluorescencetypedisplay": {
  32220. "type": "string"
  32221. },
  32222. "zspolishtype": {
  32223. "description": "抛光度 - 两个, 逗号分隔",
  32224. "type": "string"
  32225. },
  32226. "zspolishtypedisplay": {
  32227. "type": "string"
  32228. },
  32229. "zsshapetype": {
  32230. "description": "形状 - 多个, 逗号分隔",
  32231. "type": "string"
  32232. },
  32233. "zsshapetypedisplay": {
  32234. "type": "string"
  32235. },
  32236. "zssize": {
  32237. "description": "尺寸 - 两个小数, 逗号分隔",
  32238. "type": "string"
  32239. },
  32240. "zsstyletype": {
  32241. "description": "款式 - 多个, 逗号分隔",
  32242. "type": "string"
  32243. },
  32244. "zsstyletypedisplay": {
  32245. "type": "string"
  32246. },
  32247. "zssymmetrytype": {
  32248. "description": "对称度 - 两个, 逗号分隔",
  32249. "type": "string"
  32250. },
  32251. "zssymmetrytypedisplay": {
  32252. "type": "string"
  32253. },
  32254. "zstabledisplay": {
  32255. "description": "求购信息",
  32256. "type": "string"
  32257. }
  32258. }
  32259. },
  32260. "models.MyDeListing": {
  32261. "type": "object",
  32262. "required": [
  32263. "userid"
  32264. ],
  32265. "properties": {
  32266. "buyaccountid": {
  32267. "description": "买方账号ID",
  32268. "type": "integer"
  32269. },
  32270. "buychargevalue": {
  32271. "description": "买方手续费",
  32272. "type": "number"
  32273. },
  32274. "buyuserid": {
  32275. "description": "买方用户ID",
  32276. "type": "integer"
  32277. },
  32278. "deliverygoodsid": {
  32279. "description": "现货品种ID",
  32280. "type": "integer"
  32281. },
  32282. "exchangerate": {
  32283. "description": "汇率",
  32284. "type": "number"
  32285. },
  32286. "goodsno": {
  32287. "description": "商品编号",
  32288. "type": "string"
  32289. },
  32290. "marketid": {
  32291. "description": "市场ID",
  32292. "type": "integer"
  32293. },
  32294. "matchusername": {
  32295. "description": "对手方",
  32296. "type": "string"
  32297. },
  32298. "oritradeamount": {
  32299. "description": "成交金额[商品币种]",
  32300. "type": "number"
  32301. },
  32302. "performanceplanid": {
  32303. "description": "履约计划ID/合同ID",
  32304. "type": "string"
  32305. },
  32306. "price": {
  32307. "description": "价格",
  32308. "type": "number"
  32309. },
  32310. "qty": {
  32311. "description": "成交重量",
  32312. "type": "number"
  32313. },
  32314. "sellaccountid": {
  32315. "description": "卖方账号ID",
  32316. "type": "integer"
  32317. },
  32318. "sellchargevalue": {
  32319. "description": "卖方手续费",
  32320. "type": "number"
  32321. },
  32322. "selluserid": {
  32323. "description": "卖方用户ID",
  32324. "type": "integer"
  32325. },
  32326. "sizedisplay": {
  32327. "description": "尺寸",
  32328. "type": "string"
  32329. },
  32330. "tradeamount": {
  32331. "description": "成交金额",
  32332. "type": "number"
  32333. },
  32334. "tradedate": {
  32335. "description": "交易日(yyyyMMdd)",
  32336. "type": "string"
  32337. },
  32338. "tradeprice": {
  32339. "description": "成交价格",
  32340. "type": "number"
  32341. },
  32342. "tradetime": {
  32343. "description": "成交时间",
  32344. "type": "string"
  32345. },
  32346. "userid": {
  32347. "description": "用户ID",
  32348. "type": "integer"
  32349. },
  32350. "warehousenamedisplay": {
  32351. "type": "string"
  32352. },
  32353. "wrfactortypeid": {
  32354. "description": "仓单要素类型ID",
  32355. "type": "integer"
  32356. },
  32357. "wrstandardid": {
  32358. "description": "现货商品ID",
  32359. "type": "integer"
  32360. },
  32361. "wrtradedetailid": {
  32362. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32363. "type": "string"
  32364. },
  32365. "zscategory": {
  32366. "description": "钻石分类 - 枚举”ZSCategory“",
  32367. "type": "integer"
  32368. },
  32369. "zscategorydisplay": {
  32370. "type": "string"
  32371. },
  32372. "zscerttypedisplay": {
  32373. "type": "string"
  32374. },
  32375. "zsclaritytype1display": {
  32376. "type": "string"
  32377. },
  32378. "zsclaritytype2display": {
  32379. "type": "string"
  32380. },
  32381. "zscolortype1display": {
  32382. "type": "string"
  32383. },
  32384. "zscolortype2display": {
  32385. "type": "string"
  32386. },
  32387. "zscrystaltypedisplay": {
  32388. "type": "string"
  32389. },
  32390. "zscurrencytype": {
  32391. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32392. "type": "integer"
  32393. },
  32394. "zscurrencytypedisplay": {
  32395. "type": "string"
  32396. },
  32397. "zscurrencytypedisplayunit": {
  32398. "type": "string"
  32399. },
  32400. "zscuttype1display": {
  32401. "type": "string"
  32402. },
  32403. "zscuttype2display": {
  32404. "type": "string"
  32405. },
  32406. "zsczcolor1typedisplay": {
  32407. "type": "string"
  32408. },
  32409. "zsczcolor2typedisplay": {
  32410. "type": "string"
  32411. },
  32412. "zsczcolor3typedisplay": {
  32413. "type": "string"
  32414. },
  32415. "zsfluorescencetype1display": {
  32416. "type": "string"
  32417. },
  32418. "zsfluorescencetype2display": {
  32419. "type": "string"
  32420. },
  32421. "zspolishtype1display": {
  32422. "type": "string"
  32423. },
  32424. "zspolishtype2display": {
  32425. "type": "string"
  32426. },
  32427. "zsshapetypedisplay": {
  32428. "type": "string"
  32429. },
  32430. "zsstyletypedisplay": {
  32431. "type": "string"
  32432. },
  32433. "zssymmetrytype1display": {
  32434. "type": "string"
  32435. },
  32436. "zssymmetrytype2display": {
  32437. "type": "string"
  32438. }
  32439. }
  32440. },
  32441. "models.MyDelistingApply": {
  32442. "type": "object",
  32443. "required": [
  32444. "selluserid"
  32445. ],
  32446. "properties": {
  32447. "applyprice": {
  32448. "description": "申请价格",
  32449. "type": "number"
  32450. },
  32451. "applyqty": {
  32452. "description": "申请数量",
  32453. "type": "number"
  32454. },
  32455. "applyremark": {
  32456. "description": "申请备注",
  32457. "type": "string"
  32458. },
  32459. "applystatus": {
  32460. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32461. "type": "integer"
  32462. },
  32463. "applytime": {
  32464. "description": "申请时间",
  32465. "type": "string"
  32466. },
  32467. "auditremark": {
  32468. "description": "确认备注",
  32469. "type": "string"
  32470. },
  32471. "audittime": {
  32472. "description": "确认时间",
  32473. "type": "string"
  32474. },
  32475. "buyuserid": {
  32476. "description": "买方用户ID",
  32477. "type": "integer"
  32478. },
  32479. "buyusername": {
  32480. "description": "买方",
  32481. "type": "string"
  32482. },
  32483. "buywrtradeorderid": {
  32484. "description": "买委托单ID",
  32485. "type": "string"
  32486. },
  32487. "goodsno": {
  32488. "description": "商品编号",
  32489. "type": "string"
  32490. },
  32491. "ladingbillid": {
  32492. "description": "卖方提单ID",
  32493. "type": "string"
  32494. },
  32495. "marketid": {
  32496. "description": "市场ID",
  32497. "type": "integer"
  32498. },
  32499. "performancetemplateid": {
  32500. "description": "履约计划模板ID",
  32501. "type": "integer"
  32502. },
  32503. "price": {
  32504. "description": "价格",
  32505. "type": "number"
  32506. },
  32507. "sellaccountid": {
  32508. "description": "卖方账户ID",
  32509. "type": "integer"
  32510. },
  32511. "selldelistingapplyid": {
  32512. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  32513. "type": "string"
  32514. },
  32515. "selltradeorderid": {
  32516. "description": "卖方委托ID(买方确认成交后更新)",
  32517. "type": "string"
  32518. },
  32519. "selluserid": {
  32520. "description": "卖方用户ID",
  32521. "type": "integer"
  32522. },
  32523. "sellusername": {
  32524. "description": "卖方",
  32525. "type": "string"
  32526. },
  32527. "sizedisplay": {
  32528. "description": "尺寸",
  32529. "type": "string"
  32530. },
  32531. "subnum": {
  32532. "description": "卖方提单子单号",
  32533. "type": "integer"
  32534. },
  32535. "warehouseinfosdisplay": {
  32536. "type": "string"
  32537. },
  32538. "weight": {
  32539. "description": "克拉重量",
  32540. "type": "number"
  32541. },
  32542. "wrfactortypeid": {
  32543. "description": "仓单要素类型ID",
  32544. "type": "string"
  32545. },
  32546. "wrstandardid": {
  32547. "description": "现货商品ID",
  32548. "type": "integer"
  32549. },
  32550. "zsallproperties": {
  32551. "type": "string"
  32552. },
  32553. "zscategorydisplay": {
  32554. "type": "string"
  32555. },
  32556. "zsclaritytypedisplay": {
  32557. "type": "string"
  32558. },
  32559. "zscolortypedisplay": {
  32560. "type": "string"
  32561. },
  32562. "zscrystaltypedisplay": {
  32563. "type": "string"
  32564. },
  32565. "zscurrencytypedisplay": {
  32566. "type": "string"
  32567. },
  32568. "zscurrencytypedisplayunit": {
  32569. "description": "价格单位",
  32570. "type": "string"
  32571. },
  32572. "zscuttypedisplay": {
  32573. "type": "string"
  32574. },
  32575. "zsczcolor1typedisplay": {
  32576. "type": "string"
  32577. },
  32578. "zsczcolor2typedisplay": {
  32579. "type": "string"
  32580. },
  32581. "zsczcolor3typedisplay": {
  32582. "type": "string"
  32583. },
  32584. "zsfluorescencetypedisplay": {
  32585. "type": "string"
  32586. },
  32587. "zspolishtypedisplay": {
  32588. "type": "string"
  32589. },
  32590. "zsshapetypedisplay": {
  32591. "type": "string"
  32592. },
  32593. "zssizedisplay": {
  32594. "type": "string"
  32595. },
  32596. "zsstyletypedisplay": {
  32597. "type": "string"
  32598. },
  32599. "zssymmetrytypedisplay": {
  32600. "type": "string"
  32601. },
  32602. "zstabledisplay": {
  32603. "type": "string"
  32604. }
  32605. }
  32606. },
  32607. "models.MyFavorite": {
  32608. "type": "object",
  32609. "required": [
  32610. "userid"
  32611. ],
  32612. "properties": {
  32613. "accountname": {
  32614. "description": "账户名称(机构名称)",
  32615. "type": "string"
  32616. },
  32617. "buyorsell": {
  32618. "description": "买卖 - 0:买 1:卖",
  32619. "type": "integer"
  32620. },
  32621. "favoritestatus": {
  32622. "description": "收藏状态 - 1:正常 2:失效",
  32623. "type": "integer"
  32624. },
  32625. "goodsno": {
  32626. "description": "商品编号",
  32627. "type": "string"
  32628. },
  32629. "marketid": {
  32630. "description": "市场ID",
  32631. "type": "integer"
  32632. },
  32633. "price": {
  32634. "description": "价格",
  32635. "type": "number"
  32636. },
  32637. "priceper": {
  32638. "description": "克拉单价",
  32639. "type": "string"
  32640. },
  32641. "sizedisplay": {
  32642. "description": "尺寸",
  32643. "type": "string"
  32644. },
  32645. "userid": {
  32646. "description": "用户ID",
  32647. "type": "integer"
  32648. },
  32649. "warehousenamedisplay": {
  32650. "type": "string"
  32651. },
  32652. "weight": {
  32653. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  32654. "type": "number"
  32655. },
  32656. "weightavg": {
  32657. "description": "平均单颗重量 - 类型:1,3",
  32658. "type": "number"
  32659. },
  32660. "wrfactortypeid": {
  32661. "description": "仓单要素类型ID/商品ID(77)",
  32662. "type": "string"
  32663. },
  32664. "wrstandardid": {
  32665. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  32666. "type": "integer"
  32667. },
  32668. "wrtradeorderid": {
  32669. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32670. "type": "string"
  32671. },
  32672. "zscategory": {
  32673. "description": "钻石分类 - 枚举”ZSCategory“",
  32674. "type": "integer"
  32675. },
  32676. "zscategorydisplay": {
  32677. "type": "string"
  32678. },
  32679. "zscerttypedisplay": {
  32680. "type": "string"
  32681. },
  32682. "zsclaritytype1display": {
  32683. "type": "string"
  32684. },
  32685. "zsclaritytype2display": {
  32686. "type": "string"
  32687. },
  32688. "zscolortype1display": {
  32689. "type": "string"
  32690. },
  32691. "zscolortype2display": {
  32692. "type": "string"
  32693. },
  32694. "zscrystaltypedisplay": {
  32695. "type": "string"
  32696. },
  32697. "zscurrencytypedisplay": {
  32698. "type": "string"
  32699. },
  32700. "zscurrencytypedisplayunit": {
  32701. "type": "string"
  32702. },
  32703. "zscuttype1display": {
  32704. "type": "string"
  32705. },
  32706. "zscuttype2display": {
  32707. "type": "string"
  32708. },
  32709. "zsczcolor1typedisplay": {
  32710. "type": "string"
  32711. },
  32712. "zsczcolor2typedisplay": {
  32713. "type": "string"
  32714. },
  32715. "zsczcolor3typedisplay": {
  32716. "type": "string"
  32717. },
  32718. "zsfluorescencetype1display": {
  32719. "type": "string"
  32720. },
  32721. "zsfluorescencetype2display": {
  32722. "type": "string"
  32723. },
  32724. "zspolishtype1display": {
  32725. "type": "string"
  32726. },
  32727. "zspolishtype2display": {
  32728. "type": "string"
  32729. },
  32730. "zsshapetypedisplay": {
  32731. "type": "string"
  32732. },
  32733. "zsstyletypedisplay": {
  32734. "type": "string"
  32735. },
  32736. "zssymmetrytype1display": {
  32737. "type": "string"
  32738. },
  32739. "zssymmetrytype2display": {
  32740. "type": "string"
  32741. }
  32742. }
  32743. },
  32744. "models.MyPerformanc": {
  32745. "type": "object",
  32746. "properties": {
  32747. "accountname": {
  32748. "description": "[对手方]账户名称(机构名称)",
  32749. "type": "string"
  32750. },
  32751. "amount": {
  32752. "description": "履约金额",
  32753. "type": "number"
  32754. },
  32755. "buyaccountid": {
  32756. "description": "买方账号",
  32757. "type": "integer"
  32758. },
  32759. "buyerfreezeamount": {
  32760. "description": "买方履约前冻结资金",
  32761. "type": "number"
  32762. },
  32763. "buyerfreezeamountremain": {
  32764. "description": "买方履约前冻结资金剩余",
  32765. "type": "number"
  32766. },
  32767. "buyerinfo": {
  32768. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  32769. "type": "string"
  32770. },
  32771. "buyorsell": {
  32772. "description": "方向 - 0:买 1:卖",
  32773. "type": "integer"
  32774. },
  32775. "buypaidamount": {
  32776. "description": "买方已冻/已扣金额",
  32777. "type": "number"
  32778. },
  32779. "buytodayamount": {
  32780. "description": "买方今日扣/冻金额 (待开市时清零)",
  32781. "type": "number"
  32782. },
  32783. "curstepid": {
  32784. "description": "当前步骤ID",
  32785. "type": "string"
  32786. },
  32787. "goodsno": {
  32788. "description": "商品编号",
  32789. "type": "string"
  32790. },
  32791. "overshortamount": {
  32792. "description": "溢短金额",
  32793. "type": "number"
  32794. },
  32795. "paymenttype": {
  32796. "description": "买方支付方式 - 1:冻结 2:扣款",
  32797. "type": "integer"
  32798. },
  32799. "performanceplanid": {
  32800. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32801. "type": "string"
  32802. },
  32803. "performancestatus": {
  32804. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32805. "type": "integer"
  32806. },
  32807. "price": {
  32808. "description": "价格",
  32809. "type": "number"
  32810. },
  32811. "priceper": {
  32812. "description": "克拉单价",
  32813. "type": "string"
  32814. },
  32815. "relatedorderid": {
  32816. "description": "关联单号(履约类型的关联单号)",
  32817. "type": "string"
  32818. },
  32819. "remaindays": {
  32820. "description": "剩余天数",
  32821. "type": "integer"
  32822. },
  32823. "sellerfreezeamount": {
  32824. "description": "卖方履约前冻结资金",
  32825. "type": "number"
  32826. },
  32827. "sellerfreezeamountremain": {
  32828. "description": "卖方履约前冻结资金剩余",
  32829. "type": "number"
  32830. },
  32831. "sellerinfo": {
  32832. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  32833. "type": "string"
  32834. },
  32835. "sellreceivedamount": {
  32836. "description": "卖方已收金额",
  32837. "type": "number"
  32838. },
  32839. "selltodayamount": {
  32840. "description": "卖方今日收取金额(待开市时清零)",
  32841. "type": "number"
  32842. },
  32843. "sizedisplay": {
  32844. "description": "尺寸",
  32845. "type": "string"
  32846. },
  32847. "steptypeid": {
  32848. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32849. "type": "integer"
  32850. },
  32851. "warehousenamedisplay": {
  32852. "type": "string"
  32853. },
  32854. "zscategorydisplay": {
  32855. "type": "string"
  32856. },
  32857. "zscerttypedisplay": {
  32858. "type": "string"
  32859. },
  32860. "zsclaritytype1display": {
  32861. "type": "string"
  32862. },
  32863. "zsclaritytype2display": {
  32864. "type": "string"
  32865. },
  32866. "zscolortype1display": {
  32867. "type": "string"
  32868. },
  32869. "zscolortype2display": {
  32870. "type": "string"
  32871. },
  32872. "zscrystaltypedisplay": {
  32873. "type": "string"
  32874. },
  32875. "zscurrencytypedisplay": {
  32876. "type": "string"
  32877. },
  32878. "zscurrencytypedisplayunit": {
  32879. "type": "string"
  32880. },
  32881. "zscuttype1display": {
  32882. "type": "string"
  32883. },
  32884. "zscuttype2display": {
  32885. "type": "string"
  32886. },
  32887. "zsczcolor1typedisplay": {
  32888. "type": "string"
  32889. },
  32890. "zsczcolor2typedisplay": {
  32891. "type": "string"
  32892. },
  32893. "zsczcolor3typedisplay": {
  32894. "type": "string"
  32895. },
  32896. "zsfluorescencetype1display": {
  32897. "type": "string"
  32898. },
  32899. "zsfluorescencetype2display": {
  32900. "type": "string"
  32901. },
  32902. "zspolishtype1display": {
  32903. "type": "string"
  32904. },
  32905. "zspolishtype2display": {
  32906. "type": "string"
  32907. },
  32908. "zsshapetypedisplay": {
  32909. "type": "string"
  32910. },
  32911. "zsstyletypedisplay": {
  32912. "type": "string"
  32913. },
  32914. "zssymmetrytype1display": {
  32915. "type": "string"
  32916. },
  32917. "zssymmetrytype2display": {
  32918. "type": "string"
  32919. }
  32920. }
  32921. },
  32922. "models.MySellOrder": {
  32923. "type": "object",
  32924. "required": [
  32925. "userid"
  32926. ],
  32927. "properties": {
  32928. "accountid": {
  32929. "description": "资金账号",
  32930. "type": "integer"
  32931. },
  32932. "applyid": {
  32933. "description": "申请单ID",
  32934. "type": "integer"
  32935. },
  32936. "attachment1": {
  32937. "description": "附件1",
  32938. "type": "string"
  32939. },
  32940. "attachment2": {
  32941. "description": "附件2",
  32942. "type": "string"
  32943. },
  32944. "buyorsell": {
  32945. "description": "买卖 - 0:买 1:卖",
  32946. "type": "integer"
  32947. },
  32948. "canbargain": {
  32949. "description": "是否可议价 - 0:不可 1:可",
  32950. "type": "integer"
  32951. },
  32952. "cancelqty": {
  32953. "description": "撤销数量",
  32954. "type": "integer"
  32955. },
  32956. "canceltime": {
  32957. "description": "撤销时间",
  32958. "type": "string"
  32959. },
  32960. "cerno": {
  32961. "type": "string"
  32962. },
  32963. "chargealgorithm": {
  32964. "description": "手续费收取方式 1:比率 2:固定",
  32965. "type": "integer"
  32966. },
  32967. "chargealgorithmvalue": {
  32968. "description": "手续费设置值(交易所部分)",
  32969. "type": "number"
  32970. },
  32971. "chargealgorithmvalue2": {
  32972. "description": "手续费设置值(会员部分)",
  32973. "type": "number"
  32974. },
  32975. "clientordertime": {
  32976. "description": "客户端委托时间",
  32977. "type": "string"
  32978. },
  32979. "cpcertno": {
  32980. "type": "string"
  32981. },
  32982. "exchangerate": {
  32983. "description": "汇率[67]",
  32984. "type": "number"
  32985. },
  32986. "firstratio": {
  32987. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  32988. "type": "number"
  32989. },
  32990. "fixedprice": {
  32991. "description": "[克拉单价]固定价格 - [挂牌]",
  32992. "type": "number"
  32993. },
  32994. "freezecharge": {
  32995. "description": "冻结手续费",
  32996. "type": "number"
  32997. },
  32998. "freezefirstamount": {
  32999. "description": "冻结首付金额 - [摘牌]",
  33000. "type": "number"
  33001. },
  33002. "freezemargin": {
  33003. "description": "冻结保证金",
  33004. "type": "number"
  33005. },
  33006. "goodsno": {
  33007. "description": "商品编号",
  33008. "type": "string"
  33009. },
  33010. "imagepath": {
  33011. "type": "string"
  33012. },
  33013. "isspecified": {
  33014. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  33015. "type": "integer"
  33016. },
  33017. "kppath": {
  33018. "type": "string"
  33019. },
  33020. "kpweight": {
  33021. "type": "string"
  33022. },
  33023. "marginalgorithm": {
  33024. "description": "保证金方式 - 1:比率 2:固定",
  33025. "type": "integer"
  33026. },
  33027. "marginvalue": {
  33028. "description": "保证金设置值",
  33029. "type": "number"
  33030. },
  33031. "marketid": {
  33032. "description": "市场ID",
  33033. "type": "integer"
  33034. },
  33035. "marketprice": {
  33036. "type": "string"
  33037. },
  33038. "orderamount": {
  33039. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  33040. "type": "number"
  33041. },
  33042. "ordertime": {
  33043. "description": "委托时间",
  33044. "type": "string"
  33045. },
  33046. "performancetemplateid": {
  33047. "description": "履约计划模板ID",
  33048. "type": "integer"
  33049. },
  33050. "price": {
  33051. "description": "价格",
  33052. "type": "number"
  33053. },
  33054. "pricefactor": {
  33055. "description": "价格系数(浮动价时填写) - [挂牌]",
  33056. "type": "number"
  33057. },
  33058. "pricemove": {
  33059. "description": "升贴水(浮动价时填写) - [挂牌]",
  33060. "type": "number"
  33061. },
  33062. "priceper": {
  33063. "type": "string"
  33064. },
  33065. "relatedwrtradeorderid": {
  33066. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  33067. "type": "integer"
  33068. },
  33069. "remark": {
  33070. "type": "string"
  33071. },
  33072. "retcode": {
  33073. "description": "错误代码",
  33074. "type": "integer"
  33075. },
  33076. "selledqty": {
  33077. "description": "成交重量",
  33078. "type": "number"
  33079. },
  33080. "settingmaterial": {
  33081. "type": "string"
  33082. },
  33083. "size1": {
  33084. "type": "string"
  33085. },
  33086. "size2": {
  33087. "type": "string"
  33088. },
  33089. "size3": {
  33090. "type": "string"
  33091. },
  33092. "sizedisplay": {
  33093. "description": "尺寸",
  33094. "type": "string"
  33095. },
  33096. "stonedesc": {
  33097. "type": "string"
  33098. },
  33099. "totalqty": {
  33100. "description": "总重量",
  33101. "type": "number"
  33102. },
  33103. "tradedate": {
  33104. "description": "交易日(yyyyMMdd)",
  33105. "type": "string"
  33106. },
  33107. "tradeprice": {
  33108. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33109. "type": "number"
  33110. },
  33111. "unfreezecharge": {
  33112. "description": "解冻手续费",
  33113. "type": "number"
  33114. },
  33115. "unfreezefirstamount": {
  33116. "description": "解冻首付金额 - [摘牌]",
  33117. "type": "number"
  33118. },
  33119. "unfreezemargin": {
  33120. "description": "解冻保证金",
  33121. "type": "number"
  33122. },
  33123. "userid": {
  33124. "description": "用户ID",
  33125. "type": "integer"
  33126. },
  33127. "uuid": {
  33128. "description": "发起端唯一id",
  33129. "type": "string"
  33130. },
  33131. "validtime": {
  33132. "description": "有效期限",
  33133. "type": "string"
  33134. },
  33135. "validtype": {
  33136. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33137. "type": "integer"
  33138. },
  33139. "warehousenamedisplay": {
  33140. "type": "string"
  33141. },
  33142. "wrbargainid": {
  33143. "description": "议价申请单ID",
  33144. "type": "integer"
  33145. },
  33146. "wrfactortypeid": {
  33147. "description": "仓单要素类型ID/商品ID(77)",
  33148. "type": "integer"
  33149. },
  33150. "wrpath": {
  33151. "type": "string"
  33152. },
  33153. "wrpricetype": {
  33154. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33155. "type": "integer"
  33156. },
  33157. "wrstandardid": {
  33158. "description": "现货商品ID",
  33159. "type": "integer"
  33160. },
  33161. "wrtradeorderid": {
  33162. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33163. "type": "string"
  33164. },
  33165. "wrtradeorderstatus": {
  33166. "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:撤单解冻贷款失败",
  33167. "type": "integer"
  33168. },
  33169. "wrtradetype": {
  33170. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33171. "type": "integer"
  33172. },
  33173. "wrtransferuserid": {
  33174. "description": "仓单受让用户 - [摘牌]",
  33175. "type": "integer"
  33176. },
  33177. "zscategory": {
  33178. "description": "钻石分类 - 枚举”ZSCategory“",
  33179. "type": "integer"
  33180. },
  33181. "zscategorydisplay": {
  33182. "description": "钻石分类 - 描述",
  33183. "type": "string"
  33184. },
  33185. "zscerttypedisplay": {
  33186. "type": "string"
  33187. },
  33188. "zsclaritytype1display": {
  33189. "type": "string"
  33190. },
  33191. "zsclaritytype2display": {
  33192. "type": "string"
  33193. },
  33194. "zscolortype1display": {
  33195. "type": "string"
  33196. },
  33197. "zscolortype2display": {
  33198. "type": "string"
  33199. },
  33200. "zscrystaltype": {
  33201. "type": "string"
  33202. },
  33203. "zscrystaltypedisplay": {
  33204. "type": "string"
  33205. },
  33206. "zscurrencytype": {
  33207. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33208. "type": "integer"
  33209. },
  33210. "zscurrencytypedisplay": {
  33211. "type": "string"
  33212. },
  33213. "zscurrencytypedisplayunit": {
  33214. "type": "string"
  33215. },
  33216. "zscuttype1display": {
  33217. "type": "string"
  33218. },
  33219. "zscuttype2display": {
  33220. "type": "string"
  33221. },
  33222. "zsczcolor1typedisplay": {
  33223. "type": "string"
  33224. },
  33225. "zsczcolor2typedisplay": {
  33226. "type": "string"
  33227. },
  33228. "zsczcolor3typedisplay": {
  33229. "type": "string"
  33230. },
  33231. "zsfluorescencetype1display": {
  33232. "type": "string"
  33233. },
  33234. "zsfluorescencetype2display": {
  33235. "type": "string"
  33236. },
  33237. "zspolishtype1display": {
  33238. "type": "string"
  33239. },
  33240. "zspolishtype2display": {
  33241. "type": "string"
  33242. },
  33243. "zsshapetypedisplay": {
  33244. "type": "string"
  33245. },
  33246. "zsstyletypedisplay": {
  33247. "type": "string"
  33248. },
  33249. "zssymmetrytype1display": {
  33250. "type": "string"
  33251. },
  33252. "zssymmetrytype2display": {
  33253. "type": "string"
  33254. }
  33255. }
  33256. },
  33257. "models.MyWRPosition": {
  33258. "type": "object",
  33259. "required": [
  33260. "wruserid"
  33261. ],
  33262. "properties": {
  33263. "cerno": {
  33264. "description": "证书编号 - 类型:2,4,5",
  33265. "type": "string"
  33266. },
  33267. "cpcertno": {
  33268. "description": "金伯利证书编号 - 类型:3",
  33269. "type": "string"
  33270. },
  33271. "ffreezeqty": {
  33272. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  33273. "type": "number"
  33274. },
  33275. "ftotalqty": {
  33276. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  33277. "type": "number"
  33278. },
  33279. "goodsno": {
  33280. "description": "商品编号",
  33281. "type": "string"
  33282. },
  33283. "imagepath": {
  33284. "description": "商品照片(相对地址)",
  33285. "type": "string"
  33286. },
  33287. "isvalid": {
  33288. "description": "是否有效 - 0:无效 1:有效",
  33289. "type": "integer"
  33290. },
  33291. "kppath": {
  33292. "description": "金伯利证书图片(相对地址) - 类型:3",
  33293. "type": "string"
  33294. },
  33295. "kpweight": {
  33296. "description": "金伯利证书重量 - 类型:3",
  33297. "type": "string"
  33298. },
  33299. "ladingbillid": {
  33300. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33301. "type": "string"
  33302. },
  33303. "marketflag": {
  33304. "description": "是否上架,0-全部 1-是 2-否",
  33305. "type": "integer"
  33306. },
  33307. "marketprice": {
  33308. "description": "市场价",
  33309. "type": "string"
  33310. },
  33311. "origin": {
  33312. "description": "原产地 - 类型:3",
  33313. "type": "string"
  33314. },
  33315. "price": {
  33316. "description": "总价(价格) - 类型:1,2,3,4,5",
  33317. "type": "number"
  33318. },
  33319. "priceper": {
  33320. "description": "克拉单价 - 类型:1,2,3,5",
  33321. "type": "string"
  33322. },
  33323. "remark": {
  33324. "description": "备注",
  33325. "type": "string"
  33326. },
  33327. "sellmobile": {
  33328. "description": "手机号码(加密存储)",
  33329. "type": "string"
  33330. },
  33331. "sellusername": {
  33332. "description": "账户名称(机构名称)",
  33333. "type": "string"
  33334. },
  33335. "settingmaterial": {
  33336. "description": "镶嵌材料 - 类型:4",
  33337. "type": "string"
  33338. },
  33339. "size1": {
  33340. "description": "尺寸1 - 类型:2,4,5",
  33341. "type": "string"
  33342. },
  33343. "size2": {
  33344. "description": "尺寸2 - 类型:2,4,5",
  33345. "type": "string"
  33346. },
  33347. "size3": {
  33348. "description": "尺寸3 - 类型:2,4,5",
  33349. "type": "string"
  33350. },
  33351. "sizedisplay": {
  33352. "description": "尺寸",
  33353. "type": "string"
  33354. },
  33355. "stonedesc": {
  33356. "description": "配石描述 - 类型:4",
  33357. "type": "string"
  33358. },
  33359. "subnum": {
  33360. "description": "提单子单号",
  33361. "type": "integer"
  33362. },
  33363. "userid": {
  33364. "description": "用户ID",
  33365. "type": "integer"
  33366. },
  33367. "warehouseid": {
  33368. "description": "仓库ID",
  33369. "type": "integer"
  33370. },
  33371. "warehousenamedisplay": {
  33372. "type": "string"
  33373. },
  33374. "weight": {
  33375. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33376. "type": "number"
  33377. },
  33378. "weightavg": {
  33379. "description": "平均单颗重量 - 类型:1,3",
  33380. "type": "number"
  33381. },
  33382. "wrpath": {
  33383. "description": "仓单扫描件(相对地址)",
  33384. "type": "string"
  33385. },
  33386. "wrstandardid": {
  33387. "description": "现货商品ID",
  33388. "type": "integer"
  33389. },
  33390. "wrtradeorderid": {
  33391. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33392. "type": "string"
  33393. },
  33394. "wruserid": {
  33395. "description": "登录用户ID",
  33396. "type": "integer"
  33397. },
  33398. "zscategory": {
  33399. "description": "钻石分类 - 枚举”ZSCategory“",
  33400. "type": "integer"
  33401. },
  33402. "zscategorydisplay": {
  33403. "type": "string"
  33404. },
  33405. "zscerttype": {
  33406. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  33407. "type": "integer"
  33408. },
  33409. "zscerttypedisplay": {
  33410. "type": "string"
  33411. },
  33412. "zsclaritytype1": {
  33413. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  33414. "type": "integer"
  33415. },
  33416. "zsclaritytype1display": {
  33417. "type": "string"
  33418. },
  33419. "zsclaritytype2": {
  33420. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  33421. "type": "integer"
  33422. },
  33423. "zsclaritytype2display": {
  33424. "type": "string"
  33425. },
  33426. "zscolortype1": {
  33427. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  33428. "type": "integer"
  33429. },
  33430. "zscolortype1display": {
  33431. "type": "string"
  33432. },
  33433. "zscolortype2": {
  33434. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  33435. "type": "integer"
  33436. },
  33437. "zscolortype2display": {
  33438. "type": "string"
  33439. },
  33440. "zscrystaltype": {
  33441. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  33442. "type": "string"
  33443. },
  33444. "zscrystaltypedisplay": {
  33445. "type": "string"
  33446. },
  33447. "zscurrencytype": {
  33448. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33449. "type": "integer"
  33450. },
  33451. "zscurrencytypedisplay": {
  33452. "type": "string"
  33453. },
  33454. "zscurrencytypedisplayunit": {
  33455. "type": "string"
  33456. },
  33457. "zscuttype1": {
  33458. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  33459. "type": "integer"
  33460. },
  33461. "zscuttype1display": {
  33462. "type": "string"
  33463. },
  33464. "zscuttype2": {
  33465. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  33466. "type": "integer"
  33467. },
  33468. "zscuttype2display": {
  33469. "type": "string"
  33470. },
  33471. "zsczcolor1type": {
  33472. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  33473. "type": "integer"
  33474. },
  33475. "zsczcolor1typedisplay": {
  33476. "type": "string"
  33477. },
  33478. "zsczcolor2type": {
  33479. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  33480. "type": "integer"
  33481. },
  33482. "zsczcolor2typedisplay": {
  33483. "type": "string"
  33484. },
  33485. "zsczcolor3type": {
  33486. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  33487. "type": "integer"
  33488. },
  33489. "zsczcolor3typedisplay": {
  33490. "type": "string"
  33491. },
  33492. "zsfluorescencetype1": {
  33493. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  33494. "type": "integer"
  33495. },
  33496. "zsfluorescencetype1display": {
  33497. "type": "string"
  33498. },
  33499. "zsfluorescencetype2": {
  33500. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  33501. "type": "integer"
  33502. },
  33503. "zsfluorescencetype2display": {
  33504. "type": "string"
  33505. },
  33506. "zspolishtype1": {
  33507. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  33508. "type": "integer"
  33509. },
  33510. "zspolishtype1display": {
  33511. "type": "string"
  33512. },
  33513. "zspolishtype2": {
  33514. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  33515. "type": "integer"
  33516. },
  33517. "zspolishtype2display": {
  33518. "type": "string"
  33519. },
  33520. "zsshapetype": {
  33521. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  33522. "type": "string"
  33523. },
  33524. "zsshapetypedisplay": {
  33525. "type": "string"
  33526. },
  33527. "zsstyletype": {
  33528. "description": "款式 - 类型:4",
  33529. "type": "integer"
  33530. },
  33531. "zsstyletypedisplay": {
  33532. "type": "string"
  33533. },
  33534. "zssymmetrytype1": {
  33535. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  33536. "type": "integer"
  33537. },
  33538. "zssymmetrytype1display": {
  33539. "type": "string"
  33540. },
  33541. "zssymmetrytype2": {
  33542. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  33543. "type": "integer"
  33544. },
  33545. "zssymmetrytype2display": {
  33546. "type": "string"
  33547. }
  33548. }
  33549. },
  33550. "models.NewFuncmenulist": {
  33551. "type": "object",
  33552. "required": [
  33553. "resourcecode"
  33554. ],
  33555. "properties": {
  33556. "authtype": {
  33557. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  33558. "type": "integer"
  33559. },
  33560. "buttonname": {
  33561. "description": "按钮名称",
  33562. "type": "string"
  33563. },
  33564. "buttontype": {
  33565. "description": "按钮类型 - 存按钮样式",
  33566. "type": "string"
  33567. },
  33568. "component": {
  33569. "description": "组件名或组件地址",
  33570. "type": "string"
  33571. },
  33572. "hidden": {
  33573. "description": "是否隐藏 - 0:显示 1:隐藏",
  33574. "type": "integer"
  33575. },
  33576. "iconame": {
  33577. "description": "菜单图标",
  33578. "type": "string"
  33579. },
  33580. "menutype": {
  33581. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  33582. "type": "integer"
  33583. },
  33584. "parentcode": {
  33585. "description": "上级资源代码",
  33586. "type": "string"
  33587. },
  33588. "remark": {
  33589. "description": "Remark",
  33590. "type": "string"
  33591. },
  33592. "resourcecode": {
  33593. "description": "资源代码",
  33594. "type": "string"
  33595. },
  33596. "resourcelevel": {
  33597. "description": "级别1-一级 2-二级 3-三级4-四级",
  33598. "type": "integer"
  33599. },
  33600. "resourcename": {
  33601. "description": "资源名(Title)",
  33602. "type": "string"
  33603. },
  33604. "sort": {
  33605. "description": "排序",
  33606. "type": "integer"
  33607. },
  33608. "url": {
  33609. "description": "Url",
  33610. "type": "string"
  33611. },
  33612. "urltype": {
  33613. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  33614. "type": "integer"
  33615. }
  33616. }
  33617. },
  33618. "models.OperationPrimaryMenu": {
  33619. "type": "object",
  33620. "properties": {
  33621. "Children": {
  33622. "description": "二级功能菜单",
  33623. "type": "array",
  33624. "items": {
  33625. "$ref": "#/definitions/models.OperationSecondaryMenu"
  33626. }
  33627. },
  33628. "Key": {
  33629. "description": "菜单KEY",
  33630. "type": "string"
  33631. },
  33632. "Label": {
  33633. "description": "菜单标题",
  33634. "type": "string"
  33635. }
  33636. }
  33637. },
  33638. "models.OperationSecondaryMenu": {
  33639. "type": "object",
  33640. "properties": {
  33641. "Key": {
  33642. "description": "菜单KEY",
  33643. "type": "string"
  33644. },
  33645. "Label": {
  33646. "description": "菜单标题",
  33647. "type": "string"
  33648. },
  33649. "TabList": {
  33650. "description": "三级功能菜单",
  33651. "type": "array",
  33652. "items": {
  33653. "$ref": "#/definitions/models.OperationTabMenu"
  33654. }
  33655. }
  33656. }
  33657. },
  33658. "models.OperationTabMenu": {
  33659. "type": "object",
  33660. "properties": {
  33661. "Key": {
  33662. "description": "菜单KEY",
  33663. "type": "string"
  33664. },
  33665. "Label": {
  33666. "description": "菜单标题",
  33667. "type": "string"
  33668. }
  33669. }
  33670. },
  33671. "models.Patradelinkdetail": {
  33672. "type": "object",
  33673. "properties": {
  33674. "accountname": {
  33675. "description": "套期主体",
  33676. "type": "string"
  33677. },
  33678. "agreeunit": {
  33679. "description": "合约乘数",
  33680. "type": "number"
  33681. },
  33682. "amount": {
  33683. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  33684. "type": "number"
  33685. },
  33686. "areauserid": {
  33687. "description": "所属机构",
  33688. "type": "integer"
  33689. },
  33690. "bizsubjectid": {
  33691. "description": "归属业务部门ID - SubjectID",
  33692. "type": "integer"
  33693. },
  33694. "buyorsell": {
  33695. "description": "方向 - 0:买 1:卖",
  33696. "type": "integer"
  33697. },
  33698. "convertratio": {
  33699. "description": "品种系数",
  33700. "type": "number"
  33701. },
  33702. "convertratiochange": {
  33703. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  33704. "type": "number"
  33705. },
  33706. "createtime": {
  33707. "description": "[日期时间]创建时间",
  33708. "type": "string"
  33709. },
  33710. "creatorid": {
  33711. "description": "创建人ID",
  33712. "type": "integer"
  33713. },
  33714. "creatorsrc": {
  33715. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  33716. "type": "integer"
  33717. },
  33718. "goodscode": {
  33719. "description": "商品代码(内部)",
  33720. "type": "string"
  33721. },
  33722. "goodsgroupid": {
  33723. "description": "对冲品种ID[期货合约商品组ID]",
  33724. "type": "integer"
  33725. },
  33726. "goodsid": {
  33727. "description": "商品ID",
  33728. "type": "integer"
  33729. },
  33730. "hedgeditemid": {
  33731. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  33732. "type": "integer"
  33733. },
  33734. "hedgeflag": {
  33735. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  33736. "type": "integer"
  33737. },
  33738. "linkdetailid": {
  33739. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  33740. "type": "string"
  33741. },
  33742. "linkstatus": {
  33743. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  33744. "type": "integer"
  33745. },
  33746. "middlegoodsid": {
  33747. "description": "套保品种ID",
  33748. "type": "integer"
  33749. },
  33750. "name": {
  33751. "description": "账户名/子账户",
  33752. "type": "string"
  33753. },
  33754. "optioncode": {
  33755. "description": "[期货合约]期权代码 [期权]",
  33756. "type": "string"
  33757. },
  33758. "ordertype": {
  33759. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  33760. "type": "integer"
  33761. },
  33762. "relatedlot": {
  33763. "description": "[数量]关联手数",
  33764. "type": "number"
  33765. },
  33766. "relatedmode": {
  33767. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  33768. "type": "integer"
  33769. },
  33770. "relatedqty": {
  33771. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  33772. "type": "number"
  33773. },
  33774. "retcode": {
  33775. "description": "返回码",
  33776. "type": "integer"
  33777. },
  33778. "saleuserid": {
  33779. "description": "业务员ID",
  33780. "type": "integer"
  33781. },
  33782. "tradedate": {
  33783. "description": "关联交易日(yyyyMMdd)",
  33784. "type": "string"
  33785. },
  33786. "tradeid": {
  33787. "description": "[成交单号]内部成交单ID",
  33788. "type": "string"
  33789. },
  33790. "tradelot": {
  33791. "description": "成交手数",
  33792. "type": "integer"
  33793. },
  33794. "tradeprice": {
  33795. "description": "[价格]成交价格",
  33796. "type": "number"
  33797. },
  33798. "tradetradedate": {
  33799. "description": "成交交易日(yyyyMMdd)",
  33800. "type": "string"
  33801. }
  33802. }
  33803. },
  33804. "models.QhjAccountOutInApply": {
  33805. "type": "object",
  33806. "properties": {
  33807. "accountcode": {
  33808. "description": "资金账号",
  33809. "type": "string"
  33810. },
  33811. "accountname": {
  33812. "description": "用户名称(名称)",
  33813. "type": "string"
  33814. },
  33815. "accountpwd": {
  33816. "description": "资金密码",
  33817. "type": "string"
  33818. },
  33819. "accountticket": {
  33820. "description": "最新账户服务流水号",
  33821. "type": "string"
  33822. },
  33823. "amount": {
  33824. "description": "金额",
  33825. "type": "number"
  33826. },
  33827. "applyremark": {
  33828. "description": "申请备注",
  33829. "type": "string"
  33830. },
  33831. "applystatus": {
  33832. "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: 复审通过,账户冻结金额检查中;",
  33833. "type": "integer"
  33834. },
  33835. "auditid": {
  33836. "description": "审核人",
  33837. "type": "integer"
  33838. },
  33839. "audittime": {
  33840. "description": "审核时间",
  33841. "type": "string"
  33842. },
  33843. "bank_apply_ticket": {
  33844. "description": "银行申请流水",
  33845. "type": "string"
  33846. },
  33847. "bankaccountname": {
  33848. "description": "银行账户名",
  33849. "type": "string"
  33850. },
  33851. "bankaccountno": {
  33852. "description": "银行卡号",
  33853. "type": "string"
  33854. },
  33855. "bankid": {
  33856. "description": "银行编号",
  33857. "type": "string"
  33858. },
  33859. "bankticket": {
  33860. "description": "银行流水",
  33861. "type": "string"
  33862. },
  33863. "branchbankid": {
  33864. "description": "银行支行号",
  33865. "type": "string"
  33866. },
  33867. "branchbankname": {
  33868. "description": "银行支行名称",
  33869. "type": "string"
  33870. },
  33871. "capamountout": {
  33872. "description": "出金(劣后本金) - 外部子账户",
  33873. "type": "number"
  33874. },
  33875. "certificatephotourl": {
  33876. "description": "凭证地址",
  33877. "type": "string"
  33878. },
  33879. "charge": {
  33880. "description": "手续费",
  33881. "type": "number"
  33882. },
  33883. "checkerrorflag": {
  33884. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33885. "type": "integer"
  33886. },
  33887. "currency": {
  33888. "description": "币种",
  33889. "type": "string"
  33890. },
  33891. "cusbankid": {
  33892. "description": "托管银行编号",
  33893. "type": "string"
  33894. },
  33895. "cusbankname": {
  33896. "description": "托管银行名称",
  33897. "type": "string"
  33898. },
  33899. "cusbankshortname": {
  33900. "description": "托管银行简称",
  33901. "type": "string"
  33902. },
  33903. "exchticket": {
  33904. "description": "银行服务流水号",
  33905. "type": "string"
  33906. },
  33907. "executetype": {
  33908. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33909. "type": "integer"
  33910. },
  33911. "extendinfo": {
  33912. "description": "扩展信息",
  33913. "type": "string"
  33914. },
  33915. "extoperateid": {
  33916. "description": "交易服务流水号",
  33917. "type": "integer"
  33918. },
  33919. "infamount": {
  33920. "description": "劣后金额(自有)",
  33921. "type": "number"
  33922. },
  33923. "logincode": {
  33924. "description": "登录账号(账号)",
  33925. "type": "string"
  33926. },
  33927. "netaddr": {
  33928. "description": "调转网址",
  33929. "type": "string"
  33930. },
  33931. "priamount": {
  33932. "description": "优先金额(授信)",
  33933. "type": "number"
  33934. },
  33935. "reauditid": {
  33936. "description": "复审人",
  33937. "type": "integer"
  33938. },
  33939. "reauditremark": {
  33940. "description": "复审备注",
  33941. "type": "string"
  33942. },
  33943. "reaudittime": {
  33944. "description": "复审时间",
  33945. "type": "string"
  33946. },
  33947. "relatedorderid": {
  33948. "description": "三方关联ID",
  33949. "type": "string"
  33950. },
  33951. "remark": {
  33952. "description": "备注",
  33953. "type": "string"
  33954. },
  33955. "remark2": {
  33956. "description": "备注(失败原因)",
  33957. "type": "string"
  33958. },
  33959. "soucreamount": {
  33960. "description": "原始出入金金额",
  33961. "type": "number"
  33962. },
  33963. "soucrecurrencyid": {
  33964. "description": "原始出入金币种",
  33965. "type": "integer"
  33966. },
  33967. "tradedate": {
  33968. "description": "交易日(yyyyMMdd)",
  33969. "type": "string"
  33970. },
  33971. "updatetime": {
  33972. "description": "更新时间(申请时间)",
  33973. "type": "string"
  33974. },
  33975. "userid": {
  33976. "description": "用户id",
  33977. "type": "integer"
  33978. },
  33979. "userinfotype": {
  33980. "description": "账户类型 1-个人 2-企业",
  33981. "type": "integer"
  33982. }
  33983. }
  33984. },
  33985. "models.QhjAgreementChangeLog": {
  33986. "type": "object",
  33987. "properties": {
  33988. "agreementcontent": {
  33989. "description": "协议内容",
  33990. "type": "string"
  33991. },
  33992. "agreementfrequency": {
  33993. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  33994. "type": "integer"
  33995. },
  33996. "agreementid": {
  33997. "description": "协议ID",
  33998. "type": "integer"
  33999. },
  34000. "agreementname": {
  34001. "description": "协议名称",
  34002. "type": "string"
  34003. },
  34004. "agreementno": {
  34005. "description": "协议编号",
  34006. "type": "string"
  34007. },
  34008. "agreementtype": {
  34009. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34010. "type": "integer"
  34011. },
  34012. "agreementversion": {
  34013. "description": "协议版本号",
  34014. "type": "integer"
  34015. },
  34016. "logid": {
  34017. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  34018. "type": "integer"
  34019. },
  34020. "reviserid": {
  34021. "description": "修改人",
  34022. "type": "integer"
  34023. },
  34024. "revisersrc": {
  34025. "description": "修改来源 - 1:管理端 2:终端",
  34026. "type": "integer"
  34027. },
  34028. "updatetime": {
  34029. "description": "更新时间",
  34030. "type": "string"
  34031. }
  34032. }
  34033. },
  34034. "models.QhjAgreementConfig": {
  34035. "type": "object",
  34036. "properties": {
  34037. "agreementcontent": {
  34038. "description": "协议内容",
  34039. "type": "string"
  34040. },
  34041. "agreementfrequency": {
  34042. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34043. "type": "integer"
  34044. },
  34045. "agreementid": {
  34046. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  34047. "type": "integer"
  34048. },
  34049. "agreementname": {
  34050. "description": "协议名称",
  34051. "type": "string"
  34052. },
  34053. "agreementno": {
  34054. "description": "协议编号",
  34055. "type": "string"
  34056. },
  34057. "agreementtype": {
  34058. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34059. "type": "integer"
  34060. },
  34061. "agreementversion": {
  34062. "description": "协议版本号(从1开始每次修改加1)",
  34063. "type": "integer"
  34064. },
  34065. "createtime": {
  34066. "description": "创建时间",
  34067. "type": "string"
  34068. },
  34069. "creatorid": {
  34070. "description": "创建人",
  34071. "type": "integer"
  34072. },
  34073. "creatorsrc": {
  34074. "description": "创建来源 - 1:管理端 2:终端",
  34075. "type": "integer"
  34076. },
  34077. "isvalid": {
  34078. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  34079. "type": "integer"
  34080. },
  34081. "reviserid": {
  34082. "description": "修改人",
  34083. "type": "integer"
  34084. },
  34085. "revisersrc": {
  34086. "description": "修改来源 - 1:管理端 2:终端",
  34087. "type": "integer"
  34088. },
  34089. "updatetime": {
  34090. "description": "更新时间",
  34091. "type": "string"
  34092. }
  34093. }
  34094. },
  34095. "models.QhjAreaFinanceConfig": {
  34096. "type": "object",
  34097. "properties": {
  34098. "additionalratio": {
  34099. "description": "追加款比例",
  34100. "type": "number"
  34101. },
  34102. "advanceratio": {
  34103. "description": "预付款比例",
  34104. "type": "number"
  34105. },
  34106. "alarmratio": {
  34107. "description": "告警比例",
  34108. "type": "number"
  34109. },
  34110. "consumptiondirectreward": {
  34111. "description": "消费直推奖励值",
  34112. "type": "number"
  34113. },
  34114. "consumptionenabled": {
  34115. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  34116. "type": "integer"
  34117. },
  34118. "consumptionindirectreward": {
  34119. "description": "消费间推奖励值",
  34120. "type": "number"
  34121. },
  34122. "consumptionmodel": {
  34123. "description": "消费奖励方式 - 1:比率 2:固定",
  34124. "type": "integer"
  34125. },
  34126. "customerservicenum": {
  34127. "description": "客服电话",
  34128. "type": "string"
  34129. },
  34130. "dayinterestrate": {
  34131. "description": "日利率",
  34132. "type": "number"
  34133. },
  34134. "disableconsumptiontips": {
  34135. "description": "关闭消费奖励提示",
  34136. "type": "string"
  34137. },
  34138. "modifierid": {
  34139. "description": "修改人ID",
  34140. "type": "integer"
  34141. },
  34142. "modifysrc": {
  34143. "description": "审核来源 - 1:管理端 2:终端",
  34144. "type": "integer"
  34145. },
  34146. "modifytime": {
  34147. "description": "修改时间",
  34148. "type": "string"
  34149. },
  34150. "promotionvalue": {
  34151. "description": "推广奖励值(固定)",
  34152. "type": "number"
  34153. },
  34154. "scoreconfigvalue1": {
  34155. "description": "提货积分配置1",
  34156. "type": "integer"
  34157. },
  34158. "scoreconfigvalue2": {
  34159. "description": "提货积分配置2",
  34160. "type": "integer"
  34161. },
  34162. "userid": {
  34163. "description": "机构用户ID其他做市关系,都设置为 1",
  34164. "type": "integer"
  34165. },
  34166. "username": {
  34167. "description": "用户名称",
  34168. "type": "string"
  34169. }
  34170. }
  34171. },
  34172. "models.QhjBankAccountSign": {
  34173. "type": "object",
  34174. "properties": {
  34175. "accountcode": {
  34176. "description": "资金账号",
  34177. "type": "string"
  34178. },
  34179. "accountname": {
  34180. "description": "资金账号对应的账号名(UserName)",
  34181. "type": "string"
  34182. },
  34183. "accountname2": {
  34184. "description": "资金账号对应的账号名(UserName) - 密文",
  34185. "type": "string"
  34186. },
  34187. "accounttype": {
  34188. "description": "账户类型(UserType)",
  34189. "type": "integer"
  34190. },
  34191. "applicationtime": {
  34192. "description": "最后一次更新的时间",
  34193. "type": "string"
  34194. },
  34195. "applyexchticket": {
  34196. "description": "申请流水",
  34197. "type": "string"
  34198. },
  34199. "auditid": {
  34200. "description": "审核人",
  34201. "type": "integer"
  34202. },
  34203. "audittime": {
  34204. "description": "审核时间",
  34205. "type": "string"
  34206. },
  34207. "bankaccountname": {
  34208. "description": "签约银行卡账号名",
  34209. "type": "string"
  34210. },
  34211. "bankaccountname2": {
  34212. "description": "签约银行卡账号名 - 密文",
  34213. "type": "string"
  34214. },
  34215. "bankaccountno": {
  34216. "description": "银行卡号",
  34217. "type": "string"
  34218. },
  34219. "bankaccountno2": {
  34220. "description": "银行卡号 - 密文",
  34221. "type": "string"
  34222. },
  34223. "bankaccounttype": {
  34224. "description": "银行账户类型 - 1-对私; 2-对公",
  34225. "type": "integer"
  34226. },
  34227. "bankcardtype": {
  34228. "description": "银行卡类型",
  34229. "type": "integer"
  34230. },
  34231. "bankchildaccount": {
  34232. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  34233. "type": "string"
  34234. },
  34235. "bankcity": {
  34236. "description": "开户行城市",
  34237. "type": "string"
  34238. },
  34239. "bankid": {
  34240. "description": "签约银行ID",
  34241. "type": "string"
  34242. },
  34243. "bankname": {
  34244. "description": "签约银行名称",
  34245. "type": "string"
  34246. },
  34247. "bankprovince": {
  34248. "description": "开户行省份",
  34249. "type": "string"
  34250. },
  34251. "branchbankid": {
  34252. "description": "签约银行支行号",
  34253. "type": "string"
  34254. },
  34255. "branchbankname": {
  34256. "description": "签约银行支行名称",
  34257. "type": "string"
  34258. },
  34259. "cardno": {
  34260. "description": "证件号码",
  34261. "type": "string"
  34262. },
  34263. "cardno2": {
  34264. "description": "证件号码 - 密文",
  34265. "type": "string"
  34266. },
  34267. "cardtype": {
  34268. "description": "证件类型",
  34269. "type": "string"
  34270. },
  34271. "currency": {
  34272. "description": "币种",
  34273. "type": "string"
  34274. },
  34275. "cusbankid": {
  34276. "description": "托管银行编号",
  34277. "type": "string"
  34278. },
  34279. "direct": {
  34280. "description": "方向(可以判断那方先发起的签约)",
  34281. "type": "integer"
  34282. },
  34283. "exchticket": {
  34284. "description": "最后一次签约成功的流水号",
  34285. "type": "string"
  34286. },
  34287. "extendinfo": {
  34288. "description": "扩展信息(JSON字符串)",
  34289. "type": "string"
  34290. },
  34291. "mobilephone": {
  34292. "description": "手机号",
  34293. "type": "string"
  34294. },
  34295. "mobilephone2": {
  34296. "description": "手机号 - 密文",
  34297. "type": "string"
  34298. },
  34299. "netaddr": {
  34300. "description": "调转网址",
  34301. "type": "string"
  34302. },
  34303. "relateduserid": {
  34304. "description": "关联使用者userid",
  34305. "type": "integer"
  34306. },
  34307. "signstatus": {
  34308. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  34309. "type": "integer"
  34310. },
  34311. "updatetime": {
  34312. "description": "更新时间(签解约更新时间)",
  34313. "type": "string"
  34314. }
  34315. }
  34316. },
  34317. "models.QhjBankInfo": {
  34318. "type": "object",
  34319. "properties": {
  34320. "bankid": {
  34321. "description": "银行ID",
  34322. "type": "string"
  34323. },
  34324. "bankname": {
  34325. "description": "银行名称",
  34326. "type": "string"
  34327. },
  34328. "clearbankno": {
  34329. "description": "清算系统银行编号",
  34330. "type": "string"
  34331. },
  34332. "orderindex": {
  34333. "description": "排序顺序",
  34334. "type": "integer"
  34335. },
  34336. "status": {
  34337. "description": "状态 - 0:正常 1:注销",
  34338. "type": "integer"
  34339. }
  34340. }
  34341. },
  34342. "models.QhjBrokerApply": {
  34343. "type": "object",
  34344. "properties": {
  34345. "applicantid": {
  34346. "description": "申请人",
  34347. "type": "integer"
  34348. },
  34349. "applysrc": {
  34350. "description": "申请来源 - 1:管理端 2:终端",
  34351. "type": "integer"
  34352. },
  34353. "applystatus": {
  34354. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34355. "type": "integer"
  34356. },
  34357. "applytime": {
  34358. "description": "申请时间",
  34359. "type": "string"
  34360. },
  34361. "auditorid": {
  34362. "description": "审核人",
  34363. "type": "integer"
  34364. },
  34365. "auditremark": {
  34366. "description": "审核备注",
  34367. "type": "string"
  34368. },
  34369. "auditsrc": {
  34370. "description": "审核来源 - 1:管理端 2:终端",
  34371. "type": "integer"
  34372. },
  34373. "audittime": {
  34374. "description": "审核时间",
  34375. "type": "string"
  34376. },
  34377. "audittradedate": {
  34378. "description": "审核交易日(yyyyMMdd)",
  34379. "type": "string"
  34380. },
  34381. "brokerapplyid": {
  34382. "description": "申请ID(SEQ_BROKERAPPLY)",
  34383. "type": "integer"
  34384. },
  34385. "cardbackphotourl": {
  34386. "description": "证件背面图片地址",
  34387. "type": "string"
  34388. },
  34389. "cardfrontphotourl": {
  34390. "description": "证件正面图片地址",
  34391. "type": "string"
  34392. },
  34393. "cardnum": {
  34394. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34395. "type": "string"
  34396. },
  34397. "customername": {
  34398. "description": "姓名",
  34399. "type": "string"
  34400. },
  34401. "logincode": {
  34402. "description": "登录代码",
  34403. "type": "string"
  34404. },
  34405. "mobile": {
  34406. "description": "手机号码",
  34407. "type": "string"
  34408. },
  34409. "parentuserid": {
  34410. "description": "所属机构id",
  34411. "type": "integer"
  34412. },
  34413. "parentusername": {
  34414. "description": "所属机构名称",
  34415. "type": "string"
  34416. },
  34417. "refereeuserid": {
  34418. "description": "推荐人id(经纪人)",
  34419. "type": "integer"
  34420. },
  34421. "refernum": {
  34422. "description": "推荐码",
  34423. "type": "string"
  34424. },
  34425. "remark": {
  34426. "description": "备注",
  34427. "type": "string"
  34428. },
  34429. "subarealevelpath": {
  34430. "description": "层级路径",
  34431. "type": "string"
  34432. },
  34433. "tradedate": {
  34434. "description": "交易日(yyyyMMdd)",
  34435. "type": "string"
  34436. },
  34437. "userid": {
  34438. "description": "申请人用户ID",
  34439. "type": "integer"
  34440. },
  34441. "userinfotype": {
  34442. "description": "用户类型 1-个人 2-企业",
  34443. "type": "integer"
  34444. },
  34445. "username": {
  34446. "description": "用户名称",
  34447. "type": "string"
  34448. }
  34449. }
  34450. },
  34451. "models.QhjBrokerApplyEx": {
  34452. "type": "object",
  34453. "properties": {
  34454. "applylist": {
  34455. "description": "经纪人申请记录(只返回最新一条)",
  34456. "type": "array",
  34457. "items": {
  34458. "$ref": "#/definitions/models.QhjBrokerApply"
  34459. }
  34460. },
  34461. "canrecommend": {
  34462. "description": "是否经纪人 0-不是 1-是",
  34463. "type": "integer"
  34464. },
  34465. "refernum": {
  34466. "description": "推荐码",
  34467. "type": "string"
  34468. },
  34469. "userid": {
  34470. "description": "用户id",
  34471. "type": "integer"
  34472. },
  34473. "userinfotype": {
  34474. "description": "用户类型 1-个人 2-企业",
  34475. "type": "integer"
  34476. }
  34477. }
  34478. },
  34479. "models.QhjBrokerRewardLog": {
  34480. "type": "object",
  34481. "properties": {
  34482. "accountid": {
  34483. "description": "资金账号ID",
  34484. "type": "integer"
  34485. },
  34486. "createtime": {
  34487. "description": "创建时间(时间)",
  34488. "type": "string"
  34489. },
  34490. "handlestatus": {
  34491. "description": "处理状态",
  34492. "type": "integer"
  34493. },
  34494. "logid": {
  34495. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34496. "type": "string"
  34497. },
  34498. "marketid": {
  34499. "description": "市场ID",
  34500. "type": "integer"
  34501. },
  34502. "mmaccountid": {
  34503. "description": "做市商资金账号ID",
  34504. "type": "string"
  34505. },
  34506. "mmuserid": {
  34507. "description": "做市商用户ID",
  34508. "type": "string"
  34509. },
  34510. "rewardamount": {
  34511. "description": "奖励金额",
  34512. "type": "number"
  34513. },
  34514. "rewardmodel": {
  34515. "description": "消费奖励方式 - 1:比率 2:固定",
  34516. "type": "integer"
  34517. },
  34518. "rewardtype": {
  34519. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  34520. "type": "integer"
  34521. },
  34522. "rewardvalue": {
  34523. "description": "配置奖励值",
  34524. "type": "number"
  34525. },
  34526. "srcamount": {
  34527. "description": "成交金额 [消费奖励] (金额)",
  34528. "type": "number"
  34529. },
  34530. "srcgoodsid": {
  34531. "description": "来源商品ID [消费奖励]",
  34532. "type": "string"
  34533. },
  34534. "srctime": {
  34535. "description": "来源时间 (成交时间) [消费奖励]",
  34536. "type": "string"
  34537. },
  34538. "srctradeid": {
  34539. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  34540. "type": "string"
  34541. },
  34542. "srcuserid": {
  34543. "description": "来源用户ID(推广账户)",
  34544. "type": "string"
  34545. },
  34546. "srcusername": {
  34547. "description": "推广账户名称",
  34548. "type": "string"
  34549. },
  34550. "tradedate": {
  34551. "description": "交易日(yyyyMMdd)",
  34552. "type": "string"
  34553. },
  34554. "userid": {
  34555. "description": "经纪人用户ID",
  34556. "type": "integer"
  34557. }
  34558. }
  34559. },
  34560. "models.QhjContract": {
  34561. "type": "object",
  34562. "properties": {
  34563. "contractconfirmtime": {
  34564. "description": "合同确认时间(时间)",
  34565. "type": "string"
  34566. },
  34567. "currisklevel": {
  34568. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34569. "type": "integer"
  34570. },
  34571. "decimalplace": {
  34572. "description": "商品报价小数位",
  34573. "type": "integer"
  34574. },
  34575. "enumdicname": {
  34576. "description": "单位名称",
  34577. "type": "string"
  34578. },
  34579. "goodscode": {
  34580. "description": "商品代码",
  34581. "type": "string"
  34582. },
  34583. "goodsid": {
  34584. "description": "商品ID [5:融资单]",
  34585. "type": "integer"
  34586. },
  34587. "goodsname": {
  34588. "description": "商品名称",
  34589. "type": "string"
  34590. },
  34591. "goodunitid": {
  34592. "description": "商品单位id",
  34593. "type": "integer"
  34594. },
  34595. "initmargin": {
  34596. "description": "初始保证金(首付款)",
  34597. "type": "number"
  34598. },
  34599. "lenderamount": {
  34600. "description": "贷款金额(总额|订单总额)",
  34601. "type": "number"
  34602. },
  34603. "marginratio": {
  34604. "description": "保证金比率(首付比例)",
  34605. "type": "number"
  34606. },
  34607. "payamount": {
  34608. "description": "已付(已付货款)",
  34609. "type": "number"
  34610. },
  34611. "reckonrecovermargin": {
  34612. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34613. "type": "number"
  34614. },
  34615. "recoveredmargin": {
  34616. "description": "已追缴保证金",
  34617. "type": "number"
  34618. },
  34619. "remainamount": {
  34620. "description": "合同剩余金额(融资额)",
  34621. "type": "number"
  34622. },
  34623. "scfcontractid": {
  34624. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34625. "type": "string"
  34626. },
  34627. "scfcontractstatus": {
  34628. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34629. "type": "integer"
  34630. },
  34631. "scfcontracttype": {
  34632. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34633. "type": "integer"
  34634. },
  34635. "totalinterest": {
  34636. "description": "已计总利息(利息)",
  34637. "type": "number"
  34638. },
  34639. "tradeprice": {
  34640. "description": "成交价格(成本价格)",
  34641. "type": "number"
  34642. },
  34643. "userid": {
  34644. "description": "用户ID",
  34645. "type": "integer"
  34646. },
  34647. "username": {
  34648. "description": "用户名称",
  34649. "type": "string"
  34650. },
  34651. "wrqty": {
  34652. "description": "仓单数量(数量)",
  34653. "type": "number"
  34654. }
  34655. }
  34656. },
  34657. "models.QhjContractLog": {
  34658. "type": "object",
  34659. "properties": {
  34660. "amount": {
  34661. "description": "支付金额",
  34662. "type": "number"
  34663. },
  34664. "amounttype": {
  34665. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  34666. "type": "integer"
  34667. },
  34668. "logid": {
  34669. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34670. "type": "string"
  34671. },
  34672. "remainamount": {
  34673. "description": "剩余货款",
  34674. "type": "number"
  34675. },
  34676. "scfcontractid": {
  34677. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34678. "type": "integer"
  34679. },
  34680. "updatetime": {
  34681. "description": "更新时间",
  34682. "type": "string"
  34683. }
  34684. }
  34685. },
  34686. "models.QhjCusBankSignBankEx": {
  34687. "type": "object",
  34688. "properties": {
  34689. "banklst": {
  34690. "description": "银行列表",
  34691. "type": "array",
  34692. "items": {
  34693. "$ref": "#/definitions/models.QhjBankInfo"
  34694. }
  34695. },
  34696. "canallot": {
  34697. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  34698. "type": "integer"
  34699. },
  34700. "canallotquery": {
  34701. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  34702. "type": "integer"
  34703. },
  34704. "canbindcard": {
  34705. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  34706. "type": "integer"
  34707. },
  34708. "caninamount": {
  34709. "description": "是否可入金 - 0:不可 1:可以",
  34710. "type": "integer"
  34711. },
  34712. "caninamount2": {
  34713. "description": "是否可入金(网银端) - 0:不可 1:可以",
  34714. "type": "integer"
  34715. },
  34716. "canmodifybankcard": {
  34717. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  34718. "type": "integer"
  34719. },
  34720. "canmodifyphone": {
  34721. "description": "是否可修改手机号 - 0:不可 1:可以",
  34722. "type": "integer"
  34723. },
  34724. "canmodifysigninfo": {
  34725. "description": "是否可修改签约信息 - 0:不可 1:可以",
  34726. "type": "integer"
  34727. },
  34728. "canoutamount": {
  34729. "description": "是否可出金 - 0:不可 1:可以",
  34730. "type": "integer"
  34731. },
  34732. "canoutamount2": {
  34733. "description": "是否可出金(网银端) - 0:不可 1:可以",
  34734. "type": "integer"
  34735. },
  34736. "canrelease": {
  34737. "description": "是否可解约 - 0:不可 1:可以",
  34738. "type": "integer"
  34739. },
  34740. "canrelease2": {
  34741. "description": "是否可解约(网银端) - 0:不可 1:可以",
  34742. "type": "integer"
  34743. },
  34744. "cansign": {
  34745. "description": "是否可签约 - 0:不可 1:可以",
  34746. "type": "integer"
  34747. },
  34748. "cansign2": {
  34749. "description": "是否可签约(网银端) - 0:不可 1:可以",
  34750. "type": "integer"
  34751. },
  34752. "currency": {
  34753. "description": "币种",
  34754. "type": "string"
  34755. },
  34756. "cusbankid": {
  34757. "description": "托管银行编号(对应清算中心TRAN_NO)",
  34758. "type": "string"
  34759. },
  34760. "cusbankname": {
  34761. "description": "银行业务名称",
  34762. "type": "string"
  34763. },
  34764. "cusbankshortname": {
  34765. "description": "银行业务简称",
  34766. "type": "string"
  34767. },
  34768. "exchbankid": {
  34769. "description": "交易所开户银行ID",
  34770. "type": "string"
  34771. },
  34772. "exchpaybankaccname": {
  34773. "description": "交易所支出结算账户户名",
  34774. "type": "string"
  34775. },
  34776. "exchpaybankaccno": {
  34777. "description": "交易所支出结算账户",
  34778. "type": "string"
  34779. },
  34780. "isneedcheck": {
  34781. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  34782. "type": "integer"
  34783. },
  34784. "isneedclear": {
  34785. "description": "是否需要清算 - 0:不需要 1:需要",
  34786. "type": "integer"
  34787. },
  34788. "lastcheckstatus": {
  34789. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  34790. "type": "integer"
  34791. },
  34792. "lastchecktime": {
  34793. "description": "最后对账时间",
  34794. "type": "string"
  34795. },
  34796. "lastclearstatus": {
  34797. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  34798. "type": "integer"
  34799. },
  34800. "lastcleartime": {
  34801. "description": "最后清算时间",
  34802. "type": "string"
  34803. },
  34804. "lastsignintime": {
  34805. "description": "最后签到时间",
  34806. "type": "string"
  34807. },
  34808. "lastsignouttime": {
  34809. "description": "最后签退时间",
  34810. "type": "string"
  34811. },
  34812. "riskinfo": {
  34813. "description": "签约风险提示书",
  34814. "type": "string"
  34815. },
  34816. "signstatus": {
  34817. "description": "当前签到/签退状态 - 1:签到 2:签退",
  34818. "type": "integer"
  34819. },
  34820. "tradedate": {
  34821. "description": "交易日(yyyyMMdd)",
  34822. "type": "string"
  34823. },
  34824. "updatetime": {
  34825. "description": "当前签到/签退更新时间",
  34826. "type": "string"
  34827. }
  34828. }
  34829. },
  34830. "models.QhjCustomer": {
  34831. "type": "object",
  34832. "properties": {
  34833. "address": {
  34834. "description": "通讯地址",
  34835. "type": "string"
  34836. },
  34837. "attachment1": {
  34838. "description": "附件1",
  34839. "type": "string"
  34840. },
  34841. "attachment2": {
  34842. "description": "附件2",
  34843. "type": "string"
  34844. },
  34845. "audittime": {
  34846. "description": "审核时间",
  34847. "type": "string"
  34848. },
  34849. "cardbackphotourl": {
  34850. "description": "证件反面图片地址",
  34851. "type": "string"
  34852. },
  34853. "cardfrontphotourl": {
  34854. "description": "证件正面图片地址",
  34855. "type": "string"
  34856. },
  34857. "cardnum": {
  34858. "description": "证件号码",
  34859. "type": "string"
  34860. },
  34861. "cardtype": {
  34862. "description": "证件类型",
  34863. "type": "integer"
  34864. },
  34865. "cardtypename": {
  34866. "description": "证件类型名称",
  34867. "type": "string"
  34868. },
  34869. "cityid": {
  34870. "description": "市",
  34871. "type": "integer"
  34872. },
  34873. "cityname": {
  34874. "description": "城市名称",
  34875. "type": "string"
  34876. },
  34877. "contactname": {
  34878. "description": "联系人",
  34879. "type": "string"
  34880. },
  34881. "countryid": {
  34882. "description": "国家",
  34883. "type": "integer"
  34884. },
  34885. "countryname": {
  34886. "description": "国家名称",
  34887. "type": "string"
  34888. },
  34889. "createtime": {
  34890. "description": "创建时间",
  34891. "type": "string"
  34892. },
  34893. "customername": {
  34894. "description": "客户名称",
  34895. "type": "string"
  34896. },
  34897. "districtid": {
  34898. "description": "区域",
  34899. "type": "integer"
  34900. },
  34901. "districtname": {
  34902. "description": "地区名称",
  34903. "type": "string"
  34904. },
  34905. "email": {
  34906. "description": "邮件",
  34907. "type": "string"
  34908. },
  34909. "legalpersonname": {
  34910. "description": "法人姓名(企业)",
  34911. "type": "string"
  34912. },
  34913. "logincode": {
  34914. "description": "登录账号(代码)",
  34915. "type": "string"
  34916. },
  34917. "memberuserid": {
  34918. "description": "所属机构ID(所属会员)",
  34919. "type": "integer"
  34920. },
  34921. "memberusername": {
  34922. "description": "所属会员名称",
  34923. "type": "string"
  34924. },
  34925. "mobile": {
  34926. "description": "手机号码",
  34927. "type": "string"
  34928. },
  34929. "modifytime": {
  34930. "description": "修改时间",
  34931. "type": "string"
  34932. },
  34933. "nickname": {
  34934. "description": "昵称",
  34935. "type": "string"
  34936. },
  34937. "parentuserid": {
  34938. "description": "上级机构(所属机构)",
  34939. "type": "integer"
  34940. },
  34941. "parentusername": {
  34942. "description": "所属机构名称",
  34943. "type": "string"
  34944. },
  34945. "provinceid": {
  34946. "description": "省",
  34947. "type": "integer"
  34948. },
  34949. "provincename": {
  34950. "description": "省名称",
  34951. "type": "string"
  34952. },
  34953. "proxystatementurl": {
  34954. "description": "授权委托书",
  34955. "type": "string"
  34956. },
  34957. "remark": {
  34958. "description": "备注",
  34959. "type": "string"
  34960. },
  34961. "status": {
  34962. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  34963. "type": "integer"
  34964. },
  34965. "statusdesc": {
  34966. "description": "账户状态中文描述",
  34967. "type": "string"
  34968. },
  34969. "taxpayernum": {
  34970. "description": "纳税人识别号",
  34971. "type": "string"
  34972. },
  34973. "telphone": {
  34974. "description": "联系电话",
  34975. "type": "string"
  34976. },
  34977. "userid": {
  34978. "description": "用户ID",
  34979. "type": "integer"
  34980. },
  34981. "userinfotype": {
  34982. "description": "客户类型 1-个人 2-企业",
  34983. "type": "integer"
  34984. },
  34985. "username": {
  34986. "description": "用户名称",
  34987. "type": "string"
  34988. }
  34989. }
  34990. },
  34991. "models.QhjCustomerSignLog": {
  34992. "type": "object",
  34993. "properties": {
  34994. "agreementcontent": {
  34995. "description": "协议内容",
  34996. "type": "string"
  34997. },
  34998. "agreementid": {
  34999. "description": "协议ID",
  35000. "type": "integer"
  35001. },
  35002. "agreementname": {
  35003. "description": "协议名称",
  35004. "type": "string"
  35005. },
  35006. "agreementno": {
  35007. "description": "协议编号",
  35008. "type": "string"
  35009. },
  35010. "agreementtype": {
  35011. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35012. "type": "integer"
  35013. },
  35014. "agreementversion": {
  35015. "description": "协议版本号",
  35016. "type": "integer"
  35017. },
  35018. "createtime": {
  35019. "description": "创建时间",
  35020. "type": "string"
  35021. },
  35022. "goodscode": {
  35023. "description": "商品代码",
  35024. "type": "string"
  35025. },
  35026. "goodsid": {
  35027. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35028. "type": "integer"
  35029. },
  35030. "goodsname": {
  35031. "description": "商品名称",
  35032. "type": "string"
  35033. },
  35034. "logid": {
  35035. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  35036. "type": "integer"
  35037. },
  35038. "nodetype": {
  35039. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35040. "type": "integer"
  35041. },
  35042. "signadressurl": {
  35043. "description": "签约文件地址",
  35044. "type": "string"
  35045. },
  35046. "signtimestamp": {
  35047. "description": "签约状态时间戳",
  35048. "type": "string"
  35049. },
  35050. "userid": {
  35051. "description": "客户ID",
  35052. "type": "integer"
  35053. },
  35054. "username": {
  35055. "description": "客户名称",
  35056. "type": "string"
  35057. }
  35058. }
  35059. },
  35060. "models.QhjCustomerSignStatus": {
  35061. "type": "object",
  35062. "properties": {
  35063. "createtime": {
  35064. "description": "创建时间",
  35065. "type": "string"
  35066. },
  35067. "goodscode": {
  35068. "description": "商品代码",
  35069. "type": "string"
  35070. },
  35071. "goodsid": {
  35072. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35073. "type": "integer"
  35074. },
  35075. "goodsname": {
  35076. "description": "商品名称",
  35077. "type": "string"
  35078. },
  35079. "nodetype": {
  35080. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  35081. "type": "integer"
  35082. },
  35083. "signtimestamp": {
  35084. "description": "签约状态时间戳",
  35085. "type": "string"
  35086. },
  35087. "tradedate": {
  35088. "description": "创建交易日(yyyyMMdd)",
  35089. "type": "string"
  35090. },
  35091. "updatetime": {
  35092. "description": "更新时间",
  35093. "type": "string"
  35094. },
  35095. "userid": {
  35096. "description": "客户ID",
  35097. "type": "integer"
  35098. },
  35099. "username": {
  35100. "description": "客户名称",
  35101. "type": "string"
  35102. }
  35103. }
  35104. },
  35105. "models.QhjMgrAccountOutInApply": {
  35106. "type": "object",
  35107. "properties": {
  35108. "accountcode": {
  35109. "description": "资金账号",
  35110. "type": "string"
  35111. },
  35112. "accountname": {
  35113. "description": "用户名称(名称)",
  35114. "type": "string"
  35115. },
  35116. "accountpwd": {
  35117. "description": "资金密码",
  35118. "type": "string"
  35119. },
  35120. "accountticket": {
  35121. "description": "最新账户服务流水号",
  35122. "type": "string"
  35123. },
  35124. "amount": {
  35125. "description": "金额",
  35126. "type": "number"
  35127. },
  35128. "applyremark": {
  35129. "description": "申请备注",
  35130. "type": "string"
  35131. },
  35132. "applystatus": {
  35133. "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: 复审通过,账户冻结金额检查中;",
  35134. "type": "integer"
  35135. },
  35136. "auditid": {
  35137. "description": "审核人",
  35138. "type": "integer"
  35139. },
  35140. "audittime": {
  35141. "description": "审核时间",
  35142. "type": "string"
  35143. },
  35144. "bank_apply_ticket": {
  35145. "description": "银行申请流水",
  35146. "type": "string"
  35147. },
  35148. "bankaccountname": {
  35149. "description": "银行账户名",
  35150. "type": "string"
  35151. },
  35152. "bankaccountno": {
  35153. "description": "银行卡号",
  35154. "type": "string"
  35155. },
  35156. "bankid": {
  35157. "description": "银行编号",
  35158. "type": "string"
  35159. },
  35160. "bankname": {
  35161. "description": "银行名称",
  35162. "type": "string"
  35163. },
  35164. "bankticket": {
  35165. "description": "银行流水",
  35166. "type": "string"
  35167. },
  35168. "branchbankid": {
  35169. "description": "银行支行号",
  35170. "type": "string"
  35171. },
  35172. "branchbankname": {
  35173. "description": "银行支行名称",
  35174. "type": "string"
  35175. },
  35176. "capamountout": {
  35177. "description": "出金(劣后本金) - 外部子账户",
  35178. "type": "number"
  35179. },
  35180. "certificatephotourl": {
  35181. "description": "凭证地址",
  35182. "type": "string"
  35183. },
  35184. "charge": {
  35185. "description": "手续费",
  35186. "type": "number"
  35187. },
  35188. "checkerrorflag": {
  35189. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  35190. "type": "integer"
  35191. },
  35192. "currency": {
  35193. "description": "币种",
  35194. "type": "string"
  35195. },
  35196. "cusbankid": {
  35197. "description": "托管银行编号",
  35198. "type": "string"
  35199. },
  35200. "exchticket": {
  35201. "description": "银行服务流水号",
  35202. "type": "string"
  35203. },
  35204. "executetype": {
  35205. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  35206. "type": "integer"
  35207. },
  35208. "extendinfo": {
  35209. "description": "扩展信息",
  35210. "type": "string"
  35211. },
  35212. "extoperateid": {
  35213. "description": "交易服务流水号",
  35214. "type": "integer"
  35215. },
  35216. "infamount": {
  35217. "description": "劣后金额(自有)",
  35218. "type": "number"
  35219. },
  35220. "logincode": {
  35221. "description": "登录账号(账号)",
  35222. "type": "string"
  35223. },
  35224. "netaddr": {
  35225. "description": "调转网址",
  35226. "type": "string"
  35227. },
  35228. "priamount": {
  35229. "description": "优先金额(授信)",
  35230. "type": "number"
  35231. },
  35232. "reauditid": {
  35233. "description": "复审人",
  35234. "type": "integer"
  35235. },
  35236. "reauditremark": {
  35237. "description": "复审备注",
  35238. "type": "string"
  35239. },
  35240. "reaudittime": {
  35241. "description": "复审时间",
  35242. "type": "string"
  35243. },
  35244. "relatedorderid": {
  35245. "description": "三方关联ID",
  35246. "type": "string"
  35247. },
  35248. "remark": {
  35249. "description": "备注",
  35250. "type": "string"
  35251. },
  35252. "remark2": {
  35253. "description": "备注(失败原因)",
  35254. "type": "string"
  35255. },
  35256. "soucreamount": {
  35257. "description": "原始出入金金额",
  35258. "type": "number"
  35259. },
  35260. "soucrecurrencyid": {
  35261. "description": "原始出入金币种",
  35262. "type": "integer"
  35263. },
  35264. "tradedate": {
  35265. "description": "交易日(yyyyMMdd)",
  35266. "type": "string"
  35267. },
  35268. "updatetime": {
  35269. "description": "更新时间(申请时间)",
  35270. "type": "string"
  35271. },
  35272. "userid": {
  35273. "description": "用户id",
  35274. "type": "integer"
  35275. },
  35276. "userinfotype": {
  35277. "description": "账户类型 1-个人 2-企业",
  35278. "type": "integer"
  35279. }
  35280. }
  35281. },
  35282. "models.QhjMgrBrokerApply": {
  35283. "type": "object",
  35284. "properties": {
  35285. "applicantid": {
  35286. "description": "申请人",
  35287. "type": "integer"
  35288. },
  35289. "applysrc": {
  35290. "description": "申请来源 - 1:管理端 2:终端",
  35291. "type": "integer"
  35292. },
  35293. "applystatus": {
  35294. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35295. "type": "integer"
  35296. },
  35297. "applytime": {
  35298. "description": "申请时间",
  35299. "type": "string"
  35300. },
  35301. "auditorid": {
  35302. "description": "审核人",
  35303. "type": "integer"
  35304. },
  35305. "auditremark": {
  35306. "description": "审核备注",
  35307. "type": "string"
  35308. },
  35309. "auditsrc": {
  35310. "description": "审核来源 - 1:管理端 2:终端",
  35311. "type": "integer"
  35312. },
  35313. "audittime": {
  35314. "description": "审核时间",
  35315. "type": "string"
  35316. },
  35317. "audittradedate": {
  35318. "description": "审核交易日(yyyyMMdd)",
  35319. "type": "string"
  35320. },
  35321. "brokerapplyid": {
  35322. "description": "申请ID(SEQ_BROKERAPPLY)",
  35323. "type": "integer"
  35324. },
  35325. "cardbackphotourl": {
  35326. "description": "证件背面图片地址",
  35327. "type": "string"
  35328. },
  35329. "cardfrontphotourl": {
  35330. "description": "证件正面图片地址",
  35331. "type": "string"
  35332. },
  35333. "cardnum": {
  35334. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35335. "type": "string"
  35336. },
  35337. "customername": {
  35338. "description": "姓名",
  35339. "type": "string"
  35340. },
  35341. "filterstatus": {
  35342. "description": "筛选条件",
  35343. "type": "string"
  35344. },
  35345. "logincode": {
  35346. "description": "登录代码",
  35347. "type": "string"
  35348. },
  35349. "mobile": {
  35350. "description": "手机号码",
  35351. "type": "string"
  35352. },
  35353. "parentuserid": {
  35354. "description": "所属机构id",
  35355. "type": "integer"
  35356. },
  35357. "parentusername": {
  35358. "description": "所属机构名称",
  35359. "type": "string"
  35360. },
  35361. "refereeuserid": {
  35362. "description": "推荐人id(经纪人)",
  35363. "type": "integer"
  35364. },
  35365. "refernum": {
  35366. "description": "推荐码",
  35367. "type": "string"
  35368. },
  35369. "remark": {
  35370. "description": "备注",
  35371. "type": "string"
  35372. },
  35373. "subarealevelpath": {
  35374. "description": "层级路径",
  35375. "type": "string"
  35376. },
  35377. "tradedate": {
  35378. "description": "交易日(yyyyMMdd)",
  35379. "type": "string"
  35380. },
  35381. "userid": {
  35382. "description": "申请人用户ID",
  35383. "type": "integer"
  35384. },
  35385. "userinfotype": {
  35386. "description": "用户类型 1-个人 2-企业",
  35387. "type": "integer"
  35388. },
  35389. "username": {
  35390. "description": "用户名称",
  35391. "type": "string"
  35392. }
  35393. }
  35394. },
  35395. "models.QhjMgrBrokerRewardReport": {
  35396. "type": "object",
  35397. "properties": {
  35398. "createtime": {
  35399. "description": "创建时间(注册时间)",
  35400. "type": "string"
  35401. },
  35402. "cycletime": {
  35403. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  35404. "type": "string"
  35405. },
  35406. "cycletype": {
  35407. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  35408. "type": "integer"
  35409. },
  35410. "directtotalnum": {
  35411. "description": "直推总人数【期末】",
  35412. "type": "integer"
  35413. },
  35414. "indirecttotalnum": {
  35415. "description": "间推总人数【期末】",
  35416. "type": "integer"
  35417. },
  35418. "mobile": {
  35419. "description": "电话号码",
  35420. "type": "string"
  35421. },
  35422. "refereeuserid": {
  35423. "description": "推荐人id(经纪人id)",
  35424. "type": "integer"
  35425. },
  35426. "refereeusername": {
  35427. "description": "推荐人名称(经纪人) 上级经纪人名称",
  35428. "type": "string"
  35429. },
  35430. "refernum": {
  35431. "description": "推荐码",
  35432. "type": "string"
  35433. },
  35434. "subarealevelpath": {
  35435. "description": "用户层级路径",
  35436. "type": "string"
  35437. },
  35438. "todayrewardamount": {
  35439. "description": "奖励总金额【汇总】",
  35440. "type": "number"
  35441. },
  35442. "updatetime": {
  35443. "description": "更新时间",
  35444. "type": "string"
  35445. },
  35446. "userid": {
  35447. "description": "经纪人用户ID",
  35448. "type": "integer"
  35449. },
  35450. "userinfotype": {
  35451. "description": "用户类型 1-个人 2-企业",
  35452. "type": "integer"
  35453. },
  35454. "username": {
  35455. "description": "用户名称",
  35456. "type": "string"
  35457. }
  35458. }
  35459. },
  35460. "models.QhjMgrContract": {
  35461. "type": "object",
  35462. "properties": {
  35463. "contractconfirmtime": {
  35464. "description": "合同确认时间(时间)",
  35465. "type": "string"
  35466. },
  35467. "currisklevel": {
  35468. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35469. "type": "integer"
  35470. },
  35471. "decimalplace": {
  35472. "description": "商品报价小数位",
  35473. "type": "integer"
  35474. },
  35475. "enumdicname": {
  35476. "description": "单位名称",
  35477. "type": "string"
  35478. },
  35479. "goodscode": {
  35480. "description": "商品代码",
  35481. "type": "string"
  35482. },
  35483. "goodsid": {
  35484. "description": "商品ID [5:融资单]",
  35485. "type": "integer"
  35486. },
  35487. "goodsname": {
  35488. "description": "商品名称",
  35489. "type": "string"
  35490. },
  35491. "goodunitid": {
  35492. "description": "商品单位id",
  35493. "type": "integer"
  35494. },
  35495. "initmargin": {
  35496. "description": "初始保证金(首付款)",
  35497. "type": "number"
  35498. },
  35499. "lenderamount": {
  35500. "description": "贷款金额(总额|订单总额)",
  35501. "type": "number"
  35502. },
  35503. "logincode": {
  35504. "description": "账号(登录代码)",
  35505. "type": "string"
  35506. },
  35507. "marginratio": {
  35508. "description": "保证金比率(首付比例)",
  35509. "type": "number"
  35510. },
  35511. "mobile": {
  35512. "description": "电话号码(用户资料里的电话)",
  35513. "type": "string"
  35514. },
  35515. "payamount": {
  35516. "description": "已付(已付货款)",
  35517. "type": "number"
  35518. },
  35519. "reckonrecovermargin": {
  35520. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35521. "type": "number"
  35522. },
  35523. "recoveredmargin": {
  35524. "description": "已追缴保证金",
  35525. "type": "number"
  35526. },
  35527. "remainamount": {
  35528. "description": "合同剩余金额(融资额)",
  35529. "type": "number"
  35530. },
  35531. "scfcontractid": {
  35532. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35533. "type": "string"
  35534. },
  35535. "scfcontractstatus": {
  35536. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35537. "type": "integer"
  35538. },
  35539. "scfcontracttype": {
  35540. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35541. "type": "integer"
  35542. },
  35543. "totalinterest": {
  35544. "description": "已计总利息(利息)",
  35545. "type": "number"
  35546. },
  35547. "tradedate": {
  35548. "description": "交易日",
  35549. "type": "string"
  35550. },
  35551. "tradeprice": {
  35552. "description": "成交价格(成本价格)",
  35553. "type": "number"
  35554. },
  35555. "userid": {
  35556. "description": "用户ID",
  35557. "type": "integer"
  35558. },
  35559. "userinfotype": {
  35560. "description": "用户类型 1-个人 2-企业",
  35561. "type": "integer"
  35562. },
  35563. "username": {
  35564. "description": "用户名称",
  35565. "type": "string"
  35566. },
  35567. "wrqty": {
  35568. "description": "仓单数量(数量)",
  35569. "type": "number"
  35570. }
  35571. }
  35572. },
  35573. "models.QhjMgrCustomer": {
  35574. "type": "object",
  35575. "properties": {
  35576. "address": {
  35577. "description": "通讯地址",
  35578. "type": "string"
  35579. },
  35580. "attachment1": {
  35581. "description": "附件1",
  35582. "type": "string"
  35583. },
  35584. "audittime": {
  35585. "description": "审核时间",
  35586. "type": "string"
  35587. },
  35588. "birthday": {
  35589. "description": "生日",
  35590. "type": "string"
  35591. },
  35592. "brokerid": {
  35593. "description": "所属客户经理id",
  35594. "type": "integer"
  35595. },
  35596. "brokername": {
  35597. "description": "所属客户经理名称",
  35598. "type": "string"
  35599. },
  35600. "cardbackphotourl": {
  35601. "description": "证件反面图片地址",
  35602. "type": "string"
  35603. },
  35604. "cardfrontphotourl": {
  35605. "description": "证件正面图片地址",
  35606. "type": "string"
  35607. },
  35608. "cardnum": {
  35609. "description": "证件号码",
  35610. "type": "string"
  35611. },
  35612. "cardtype": {
  35613. "description": "证件类型",
  35614. "type": "integer"
  35615. },
  35616. "cardtypename": {
  35617. "description": "证件类型名称",
  35618. "type": "string"
  35619. },
  35620. "cityid": {
  35621. "description": "市",
  35622. "type": "integer"
  35623. },
  35624. "cityname": {
  35625. "description": "城市名称",
  35626. "type": "string"
  35627. },
  35628. "contactname": {
  35629. "description": "联系人",
  35630. "type": "string"
  35631. },
  35632. "countryid": {
  35633. "description": "国家",
  35634. "type": "integer"
  35635. },
  35636. "countryname": {
  35637. "description": "国家名称",
  35638. "type": "string"
  35639. },
  35640. "createtime": {
  35641. "description": "创建时间",
  35642. "type": "string"
  35643. },
  35644. "customername": {
  35645. "description": "客户名称",
  35646. "type": "string"
  35647. },
  35648. "districtid": {
  35649. "description": "区域",
  35650. "type": "integer"
  35651. },
  35652. "districtname": {
  35653. "description": "地区名称",
  35654. "type": "string"
  35655. },
  35656. "email": {
  35657. "description": "邮件",
  35658. "type": "string"
  35659. },
  35660. "legalpersonname": {
  35661. "description": "法人姓名(企业)",
  35662. "type": "string"
  35663. },
  35664. "logincode": {
  35665. "description": "登录账号(代码)",
  35666. "type": "string"
  35667. },
  35668. "memberuserid": {
  35669. "description": "所属机构ID(所属会员)",
  35670. "type": "integer"
  35671. },
  35672. "memberusername": {
  35673. "description": "所属会员名称",
  35674. "type": "string"
  35675. },
  35676. "mobile": {
  35677. "description": "手机号码",
  35678. "type": "string"
  35679. },
  35680. "modifytime": {
  35681. "description": "修改时间",
  35682. "type": "string"
  35683. },
  35684. "nickname": {
  35685. "description": "昵称",
  35686. "type": "string"
  35687. },
  35688. "parentuserid": {
  35689. "description": "上级机构(所属机构)",
  35690. "type": "integer"
  35691. },
  35692. "parentusername": {
  35693. "description": "所属机构名称",
  35694. "type": "string"
  35695. },
  35696. "provinceid": {
  35697. "description": "省",
  35698. "type": "integer"
  35699. },
  35700. "provincename": {
  35701. "description": "省名称",
  35702. "type": "string"
  35703. },
  35704. "proxystatementurl": {
  35705. "description": "授权委托书",
  35706. "type": "string"
  35707. },
  35708. "querytype": {
  35709. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  35710. "type": "integer"
  35711. },
  35712. "remark": {
  35713. "description": "备注",
  35714. "type": "string"
  35715. },
  35716. "sex": {
  35717. "description": "性别 0-女 1-男",
  35718. "type": "integer"
  35719. },
  35720. "status": {
  35721. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35722. "type": "integer"
  35723. },
  35724. "statusdesc": {
  35725. "description": "账户状态中文描述",
  35726. "type": "string"
  35727. },
  35728. "taxpayernum": {
  35729. "description": "纳税人识别号",
  35730. "type": "string"
  35731. },
  35732. "telphone": {
  35733. "description": "联系电话",
  35734. "type": "string"
  35735. },
  35736. "userid": {
  35737. "description": "用户ID",
  35738. "type": "integer"
  35739. },
  35740. "userinfotype": {
  35741. "description": "客户类型 1-个人 2-企业",
  35742. "type": "integer"
  35743. },
  35744. "username": {
  35745. "description": "用户名称",
  35746. "type": "string"
  35747. }
  35748. }
  35749. },
  35750. "models.QhjMgrPickGoods": {
  35751. "type": "object",
  35752. "properties": {
  35753. "enumdicname": {
  35754. "description": "单位名称(提货商品)",
  35755. "type": "string"
  35756. },
  35757. "goodsid": {
  35758. "description": "商品id",
  35759. "type": "integer"
  35760. },
  35761. "imageaddress": {
  35762. "description": "图片",
  35763. "type": "string"
  35764. },
  35765. "modifierid": {
  35766. "description": "修改人",
  35767. "type": "integer"
  35768. },
  35769. "modifiername": {
  35770. "description": "修改人名称",
  35771. "type": "string"
  35772. },
  35773. "modifysrc": {
  35774. "description": "修改来源 - 1:管理端 2:终端",
  35775. "type": "integer"
  35776. },
  35777. "pickupgoodsagreeunit": {
  35778. "description": "合约乘数",
  35779. "type": "number"
  35780. },
  35781. "pickupgoodsdesc": {
  35782. "description": "描述",
  35783. "type": "string"
  35784. },
  35785. "pickupgoodsid": {
  35786. "description": "提货商品ID",
  35787. "type": "string"
  35788. },
  35789. "pickupgoodsname": {
  35790. "description": "提货商品名称",
  35791. "type": "string"
  35792. },
  35793. "pickupgoodsstatus": {
  35794. "description": "状态 - 1:正常 2:停用 3:注销",
  35795. "type": "integer"
  35796. },
  35797. "pickupgoodsunitid": {
  35798. "description": "单位ID",
  35799. "type": "integer"
  35800. },
  35801. "pickupratio": {
  35802. "description": "提货系数",
  35803. "type": "number"
  35804. },
  35805. "preparedays": {
  35806. "description": "备货期(天)",
  35807. "type": "integer"
  35808. },
  35809. "remark": {
  35810. "description": "备注",
  35811. "type": "string"
  35812. },
  35813. "updatetime": {
  35814. "description": "更新时间",
  35815. "type": "string"
  35816. }
  35817. }
  35818. },
  35819. "models.QhjMgrPositionRsp": {
  35820. "type": "object",
  35821. "properties": {
  35822. "accountid": {
  35823. "description": "账号Id",
  35824. "type": "integer"
  35825. },
  35826. "accountname": {
  35827. "description": "用户名称",
  35828. "type": "string"
  35829. },
  35830. "agreeunit": {
  35831. "description": "合约乘数",
  35832. "type": "number"
  35833. },
  35834. "averageprice": {
  35835. "description": "均价",
  35836. "type": "number"
  35837. },
  35838. "avialqty": {
  35839. "description": "可用数量",
  35840. "type": "number"
  35841. },
  35842. "decimalplace": {
  35843. "description": "报价小数位",
  35844. "type": "integer"
  35845. },
  35846. "enumdicname": {
  35847. "description": "单位名称(商品)",
  35848. "type": "string"
  35849. },
  35850. "frozenqty": {
  35851. "description": "冻结数量",
  35852. "type": "number"
  35853. },
  35854. "goodscode": {
  35855. "description": "商品代码(内部)",
  35856. "type": "string"
  35857. },
  35858. "goodsid": {
  35859. "description": "商品Id",
  35860. "type": "integer"
  35861. },
  35862. "goodsname": {
  35863. "description": "商品名称",
  35864. "type": "string"
  35865. },
  35866. "goodunitid": {
  35867. "description": "报价单位ID",
  35868. "type": "integer"
  35869. },
  35870. "holderamount": {
  35871. "description": "金额",
  35872. "type": "number"
  35873. },
  35874. "holderqty": {
  35875. "description": "持有数量",
  35876. "type": "number"
  35877. },
  35878. "holdertype": {
  35879. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  35880. "type": "integer"
  35881. },
  35882. "logincode": {
  35883. "description": "登录代码(账户)",
  35884. "type": "string"
  35885. },
  35886. "marketid": {
  35887. "description": "市场id",
  35888. "type": "integer"
  35889. },
  35890. "qtydecimalplace": {
  35891. "description": "成交量小数位",
  35892. "type": "integer"
  35893. },
  35894. "trademode": {
  35895. "description": "交易模式",
  35896. "type": "integer"
  35897. },
  35898. "userid": {
  35899. "description": "用户id",
  35900. "type": "integer"
  35901. },
  35902. "userinfotype": {
  35903. "description": "账户类型 1-个人 2-企业",
  35904. "type": "integer"
  35905. }
  35906. }
  35907. },
  35908. "models.QhjMgrSubArea": {
  35909. "type": "object",
  35910. "properties": {
  35911. "accountname": {
  35912. "description": "账户名称(机构名称)",
  35913. "type": "string"
  35914. },
  35915. "memberuserid": {
  35916. "description": "所属会员ID",
  35917. "type": "integer"
  35918. },
  35919. "parenttopuser": {
  35920. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  35921. "type": "string"
  35922. },
  35923. "parentuserid": {
  35924. "description": "所属机构ID",
  35925. "type": "integer"
  35926. },
  35927. "rootuserid": {
  35928. "description": "根用户ID",
  35929. "type": "string"
  35930. },
  35931. "subaccountlevel": {
  35932. "description": "子账户层数",
  35933. "type": "integer"
  35934. },
  35935. "subarealevelpath": {
  35936. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  35937. "type": "string"
  35938. },
  35939. "userid": {
  35940. "description": "用户ID",
  35941. "type": "integer"
  35942. },
  35943. "usertype": {
  35944. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35945. "type": "integer"
  35946. }
  35947. }
  35948. },
  35949. "models.QhjMgrTradeDetailRsp": {
  35950. "type": "object",
  35951. "properties": {
  35952. "accountid": {
  35953. "description": "资金账号",
  35954. "type": "integer"
  35955. },
  35956. "accountname": {
  35957. "description": "用户名称",
  35958. "type": "string"
  35959. },
  35960. "agreeunit": {
  35961. "description": "合约乘数",
  35962. "type": "number"
  35963. },
  35964. "buyorsell": {
  35965. "description": "成交类型(方向) 0:买 1:卖",
  35966. "type": "integer"
  35967. },
  35968. "decimalplace": {
  35969. "description": "报价小数位",
  35970. "type": "integer"
  35971. },
  35972. "enumdicname": {
  35973. "description": "单位名称(商品)",
  35974. "type": "string"
  35975. },
  35976. "goodscode": {
  35977. "description": "商品代码(内部)",
  35978. "type": "string"
  35979. },
  35980. "goodsid": {
  35981. "description": "商品id",
  35982. "type": "integer"
  35983. },
  35984. "goodsname": {
  35985. "description": "商品名称",
  35986. "type": "string"
  35987. },
  35988. "goodunitid": {
  35989. "description": "报价单位ID",
  35990. "type": "integer"
  35991. },
  35992. "logincode": {
  35993. "description": "登录代码(账户)",
  35994. "type": "string"
  35995. },
  35996. "marketid": {
  35997. "description": "市场id",
  35998. "type": "integer"
  35999. },
  36000. "orderid": {
  36001. "description": "关联委托单号",
  36002. "type": "string"
  36003. },
  36004. "qtydecimalplace": {
  36005. "description": "成交量小数位",
  36006. "type": "integer"
  36007. },
  36008. "tradeamount": {
  36009. "description": "金额",
  36010. "type": "number"
  36011. },
  36012. "tradedate": {
  36013. "description": "交易日",
  36014. "type": "string"
  36015. },
  36016. "tradeid": {
  36017. "description": "成交单号",
  36018. "type": "string"
  36019. },
  36020. "trademode": {
  36021. "description": "交易模式",
  36022. "type": "integer"
  36023. },
  36024. "tradeprice": {
  36025. "description": "价格",
  36026. "type": "number"
  36027. },
  36028. "tradeqty": {
  36029. "description": "数量",
  36030. "type": "number"
  36031. },
  36032. "tradetime": {
  36033. "description": "成交时间",
  36034. "type": "string"
  36035. },
  36036. "userid": {
  36037. "description": "用户id",
  36038. "type": "integer"
  36039. },
  36040. "userinfotype": {
  36041. "description": "账户类型 1-个人 2-企业",
  36042. "type": "integer"
  36043. }
  36044. }
  36045. },
  36046. "models.QhjMgrTradeOrderDetailRsp": {
  36047. "type": "object",
  36048. "properties": {
  36049. "accountid": {
  36050. "description": "资金账号",
  36051. "type": "integer"
  36052. },
  36053. "accountname": {
  36054. "description": "用户名称",
  36055. "type": "string"
  36056. },
  36057. "agreeunit": {
  36058. "description": "合约乘数",
  36059. "type": "number"
  36060. },
  36061. "amount": {
  36062. "description": "金额",
  36063. "type": "number"
  36064. },
  36065. "decimalplace": {
  36066. "description": "报价小数位",
  36067. "type": "integer"
  36068. },
  36069. "enumdicname": {
  36070. "description": "单位名称(商品)",
  36071. "type": "string"
  36072. },
  36073. "goodscode": {
  36074. "description": "商品代码(内部)",
  36075. "type": "string"
  36076. },
  36077. "goodsid": {
  36078. "description": "商品id",
  36079. "type": "integer"
  36080. },
  36081. "goodsname": {
  36082. "description": "商品名称",
  36083. "type": "string"
  36084. },
  36085. "goodunitid": {
  36086. "description": "报价单位ID",
  36087. "type": "integer"
  36088. },
  36089. "logincode": {
  36090. "description": "登录代码(账户)",
  36091. "type": "string"
  36092. },
  36093. "marketid": {
  36094. "description": "市场id",
  36095. "type": "integer"
  36096. },
  36097. "orderid": {
  36098. "description": "关联委托单号",
  36099. "type": "string"
  36100. },
  36101. "orderprice": {
  36102. "description": "价格",
  36103. "type": "number"
  36104. },
  36105. "orderqty": {
  36106. "description": "数量",
  36107. "type": "number"
  36108. },
  36109. "orderstatus": {
  36110. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36111. "type": "integer"
  36112. },
  36113. "ordertime": {
  36114. "description": "委托时间",
  36115. "type": "string"
  36116. },
  36117. "qtydecimalplace": {
  36118. "description": "成交量小数位",
  36119. "type": "integer"
  36120. },
  36121. "tradedate": {
  36122. "description": "交易日",
  36123. "type": "string"
  36124. },
  36125. "trademode": {
  36126. "description": "交易模式",
  36127. "type": "integer"
  36128. },
  36129. "userid": {
  36130. "description": "用户id",
  36131. "type": "integer"
  36132. },
  36133. "userinfotype": {
  36134. "description": "账户类型 1-个人 2-企业",
  36135. "type": "integer"
  36136. }
  36137. }
  36138. },
  36139. "models.QhjMgrTradePayOrder": {
  36140. "type": "object",
  36141. "properties": {
  36142. "accountname": {
  36143. "description": "用户名称",
  36144. "type": "string"
  36145. },
  36146. "advanceratio": {
  36147. "description": "首付比率",
  36148. "type": "number"
  36149. },
  36150. "agreeunit": {
  36151. "description": "合约乘数",
  36152. "type": "number"
  36153. },
  36154. "buyaccountid": {
  36155. "description": "买方账号ID[报价币种]",
  36156. "type": "integer"
  36157. },
  36158. "buyorderid": {
  36159. "description": "买方委托单号(关联单号)",
  36160. "type": "string"
  36161. },
  36162. "createtime": {
  36163. "description": "创建时间",
  36164. "type": "string"
  36165. },
  36166. "decimalplace": {
  36167. "description": "报价小数位",
  36168. "type": "integer"
  36169. },
  36170. "enumdicname": {
  36171. "description": "单位名称(商品)",
  36172. "type": "string"
  36173. },
  36174. "goodscode": {
  36175. "description": "商品代码(内部)",
  36176. "type": "string"
  36177. },
  36178. "goodsid": {
  36179. "description": "商品ID",
  36180. "type": "integer"
  36181. },
  36182. "goodsname": {
  36183. "description": "商品名称",
  36184. "type": "string"
  36185. },
  36186. "goodunitid": {
  36187. "description": "报价单位ID",
  36188. "type": "integer"
  36189. },
  36190. "logincode": {
  36191. "description": "登录代码(账户)",
  36192. "type": "string"
  36193. },
  36194. "marketid": {
  36195. "description": "市场id",
  36196. "type": "integer"
  36197. },
  36198. "offamount": {
  36199. "description": "优惠金额",
  36200. "type": "number"
  36201. },
  36202. "operatetype": {
  36203. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36204. "type": "integer"
  36205. },
  36206. "payamount": {
  36207. "description": "支付金额(金额)",
  36208. "type": "number"
  36209. },
  36210. "payflag": {
  36211. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36212. "type": "integer"
  36213. },
  36214. "paylimitedtime": {
  36215. "description": "支付期限",
  36216. "type": "string"
  36217. },
  36218. "paytime": {
  36219. "description": "付款时间",
  36220. "type": "string"
  36221. },
  36222. "qtydecimalplace": {
  36223. "description": "成交量小数位",
  36224. "type": "integer"
  36225. },
  36226. "sellaccountid": {
  36227. "description": "卖方账号ID[报价币种]",
  36228. "type": "integer"
  36229. },
  36230. "sellorderid": {
  36231. "description": "卖方委托单号",
  36232. "type": "string"
  36233. },
  36234. "tradeamount": {
  36235. "description": "成交金额(优惠后金额)",
  36236. "type": "number"
  36237. },
  36238. "tradecharge": {
  36239. "description": "成交手续费(买方)",
  36240. "type": "number"
  36241. },
  36242. "tradedate": {
  36243. "description": "交易日(yyyyMMdd)",
  36244. "type": "string"
  36245. },
  36246. "tradeid": {
  36247. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36248. "type": "string"
  36249. },
  36250. "trademode": {
  36251. "description": "交易模式",
  36252. "type": "integer"
  36253. },
  36254. "tradeprice": {
  36255. "description": "成交价格(价格)",
  36256. "type": "number"
  36257. },
  36258. "tradeqty": {
  36259. "description": "成交数量(数量)",
  36260. "type": "number"
  36261. },
  36262. "tradetime": {
  36263. "description": "成交时间",
  36264. "type": "string"
  36265. },
  36266. "userid": {
  36267. "description": "用户id",
  36268. "type": "integer"
  36269. },
  36270. "userinfotype": {
  36271. "description": "账户类型 1-个人 2-企业",
  36272. "type": "integer"
  36273. }
  36274. }
  36275. },
  36276. "models.QhjMyTeamEx": {
  36277. "type": "object",
  36278. "properties": {
  36279. "accountname": {
  36280. "description": "用户名称",
  36281. "type": "string"
  36282. },
  36283. "accountstatus": {
  36284. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36285. "type": "integer"
  36286. },
  36287. "createtime": {
  36288. "description": "创建时间",
  36289. "type": "string"
  36290. },
  36291. "mobile": {
  36292. "description": "手机号码",
  36293. "type": "string"
  36294. },
  36295. "refereeuserid": {
  36296. "description": "推荐人id",
  36297. "type": "integer"
  36298. },
  36299. "refernum": {
  36300. "description": "推荐码",
  36301. "type": "string"
  36302. },
  36303. "subList": {
  36304. "type": "array",
  36305. "items": {
  36306. "$ref": "#/definitions/models.QhjMyTeamEx"
  36307. }
  36308. },
  36309. "userid": {
  36310. "description": "用户id",
  36311. "type": "integer"
  36312. },
  36313. "userinfotype": {
  36314. "description": "用户类型 1-个人 2-企业",
  36315. "type": "integer"
  36316. }
  36317. }
  36318. },
  36319. "models.QhjNodeAgreementConfig": {
  36320. "type": "object",
  36321. "properties": {
  36322. "agreementcontent": {
  36323. "description": "协议内容",
  36324. "type": "string"
  36325. },
  36326. "agreementid": {
  36327. "description": "协议ID",
  36328. "type": "integer"
  36329. },
  36330. "agreementname": {
  36331. "description": "协议名称",
  36332. "type": "string"
  36333. },
  36334. "agreementno": {
  36335. "description": "协议编号",
  36336. "type": "string"
  36337. },
  36338. "agreementtype": {
  36339. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36340. "type": "integer"
  36341. },
  36342. "agreementversion": {
  36343. "description": "协议版本号",
  36344. "type": "integer"
  36345. },
  36346. "configid": {
  36347. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36348. "type": "integer"
  36349. },
  36350. "createtime": {
  36351. "description": "创建时间",
  36352. "type": "string"
  36353. },
  36354. "goodsid": {
  36355. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36356. "type": "integer"
  36357. },
  36358. "nodetype": {
  36359. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36360. "type": "integer"
  36361. }
  36362. }
  36363. },
  36364. "models.QhjParentAreaList": {
  36365. "type": "object",
  36366. "properties": {
  36367. "accountname": {
  36368. "description": "账户名称(机构名称)",
  36369. "type": "string"
  36370. },
  36371. "userid": {
  36372. "description": "用户ID",
  36373. "type": "integer"
  36374. },
  36375. "usertype": {
  36376. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36377. "type": "integer"
  36378. }
  36379. }
  36380. },
  36381. "models.QhjPayOrder": {
  36382. "type": "object",
  36383. "properties": {
  36384. "advanceratio": {
  36385. "description": "首付比率",
  36386. "type": "number"
  36387. },
  36388. "buyaccountid": {
  36389. "description": "买方账号ID[报价币种]",
  36390. "type": "integer"
  36391. },
  36392. "buyorderid": {
  36393. "description": "买方委托单号",
  36394. "type": "string"
  36395. },
  36396. "createtime": {
  36397. "description": "创建时间",
  36398. "type": "string"
  36399. },
  36400. "decimalplace": {
  36401. "description": "商品报价小数位",
  36402. "type": "integer"
  36403. },
  36404. "enumdicname": {
  36405. "description": "单位名称",
  36406. "type": "string"
  36407. },
  36408. "goodscode": {
  36409. "description": "商品代码",
  36410. "type": "string"
  36411. },
  36412. "goodsid": {
  36413. "description": "商品ID",
  36414. "type": "integer"
  36415. },
  36416. "goodsname": {
  36417. "description": "商品名称",
  36418. "type": "string"
  36419. },
  36420. "goodunitid": {
  36421. "description": "商品单位id",
  36422. "type": "integer"
  36423. },
  36424. "marketid": {
  36425. "description": "市场ID",
  36426. "type": "integer"
  36427. },
  36428. "offamount": {
  36429. "description": "优惠金额",
  36430. "type": "number"
  36431. },
  36432. "operatetype": {
  36433. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36434. "type": "integer"
  36435. },
  36436. "payamount": {
  36437. "description": "支付金额",
  36438. "type": "number"
  36439. },
  36440. "payflag": {
  36441. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36442. "type": "integer"
  36443. },
  36444. "paylimitedtime": {
  36445. "description": "支付期限",
  36446. "type": "string"
  36447. },
  36448. "paytime": {
  36449. "description": "付款时间",
  36450. "type": "string"
  36451. },
  36452. "qtydecimalplace": {
  36453. "description": "成交量小数位",
  36454. "type": "integer"
  36455. },
  36456. "sellaccountid": {
  36457. "description": "卖方账号ID[报价币种]",
  36458. "type": "integer"
  36459. },
  36460. "sellorderid": {
  36461. "description": "卖方委托单号",
  36462. "type": "string"
  36463. },
  36464. "tradeamount": {
  36465. "description": "成交金额(优惠后金额)",
  36466. "type": "number"
  36467. },
  36468. "tradecharge": {
  36469. "description": "成交手续费(买方)",
  36470. "type": "number"
  36471. },
  36472. "tradedate": {
  36473. "description": "交易日(yyyyMMdd)",
  36474. "type": "string"
  36475. },
  36476. "tradeid": {
  36477. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36478. "type": "string"
  36479. },
  36480. "tradeprice": {
  36481. "description": "成交价格",
  36482. "type": "number"
  36483. },
  36484. "tradeqty": {
  36485. "description": "成交数量",
  36486. "type": "number"
  36487. }
  36488. }
  36489. },
  36490. "models.QhjPickArea": {
  36491. "type": "object",
  36492. "properties": {
  36493. "address": {
  36494. "description": "详细地址",
  36495. "type": "string"
  36496. },
  36497. "cityid": {
  36498. "description": "市",
  36499. "type": "integer"
  36500. },
  36501. "cityname": {
  36502. "description": "城市名称",
  36503. "type": "string"
  36504. },
  36505. "countryid": {
  36506. "description": "国家",
  36507. "type": "integer"
  36508. },
  36509. "countryname": {
  36510. "description": "国家名称",
  36511. "type": "string"
  36512. },
  36513. "districtid": {
  36514. "description": "地区",
  36515. "type": "integer"
  36516. },
  36517. "districtname": {
  36518. "description": "地区名称",
  36519. "type": "string"
  36520. },
  36521. "fromuserid": {
  36522. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  36523. "type": "integer"
  36524. },
  36525. "fromusername": {
  36526. "description": "所属机构名称",
  36527. "type": "string"
  36528. },
  36529. "provinceid": {
  36530. "description": "省",
  36531. "type": "integer"
  36532. },
  36533. "provincename": {
  36534. "description": "省名称",
  36535. "type": "string"
  36536. },
  36537. "suborgtype": {
  36538. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  36539. "type": "integer"
  36540. },
  36541. "userid": {
  36542. "description": "机构用户ID 其他做市关系,都设置为 1",
  36543. "type": "integer"
  36544. },
  36545. "username": {
  36546. "description": "机构用户名称(门店门称)",
  36547. "type": "string"
  36548. }
  36549. }
  36550. },
  36551. "models.QhjPickGoods": {
  36552. "type": "object",
  36553. "properties": {
  36554. "enumdicname": {
  36555. "description": "单位名称(提货商品)",
  36556. "type": "string"
  36557. },
  36558. "goodsid": {
  36559. "description": "商品id",
  36560. "type": "integer"
  36561. },
  36562. "imageaddress": {
  36563. "description": "图片",
  36564. "type": "string"
  36565. },
  36566. "modifierid": {
  36567. "description": "修改人",
  36568. "type": "integer"
  36569. },
  36570. "modifiername": {
  36571. "description": "修改人名称",
  36572. "type": "string"
  36573. },
  36574. "modifysrc": {
  36575. "description": "修改来源 - 1:管理端 2:终端",
  36576. "type": "integer"
  36577. },
  36578. "pickupgoodsagreeunit": {
  36579. "description": "合约乘数",
  36580. "type": "number"
  36581. },
  36582. "pickupgoodsdesc": {
  36583. "description": "描述",
  36584. "type": "string"
  36585. },
  36586. "pickupgoodsid": {
  36587. "description": "提货商品ID",
  36588. "type": "string"
  36589. },
  36590. "pickupgoodsname": {
  36591. "description": "提货商品名称",
  36592. "type": "string"
  36593. },
  36594. "pickupgoodsstatus": {
  36595. "description": "状态 - 1:正常 2:停用 3:注销",
  36596. "type": "integer"
  36597. },
  36598. "pickupgoodsunitid": {
  36599. "description": "单位ID",
  36600. "type": "integer"
  36601. },
  36602. "pickupratio": {
  36603. "description": "提货系数",
  36604. "type": "number"
  36605. },
  36606. "preparedays": {
  36607. "description": "备货期(天)",
  36608. "type": "integer"
  36609. },
  36610. "remark": {
  36611. "description": "备注",
  36612. "type": "string"
  36613. },
  36614. "updatetime": {
  36615. "description": "更新时间",
  36616. "type": "string"
  36617. }
  36618. }
  36619. },
  36620. "models.QhjRSTriggerLog": {
  36621. "type": "object",
  36622. "properties": {
  36623. "accountid": {
  36624. "description": "用户资金账户",
  36625. "type": "integer"
  36626. },
  36627. "accountname": {
  36628. "description": "账号名称(ACCOUNTID对应的名称)",
  36629. "type": "string"
  36630. },
  36631. "currencyid": {
  36632. "description": "币种id",
  36633. "type": "integer"
  36634. },
  36635. "currencyname": {
  36636. "description": "币种名称",
  36637. "type": "string"
  36638. },
  36639. "decimalplace": {
  36640. "description": "商品报价小数位",
  36641. "type": "integer"
  36642. },
  36643. "enumdicname": {
  36644. "description": "单位名称",
  36645. "type": "string"
  36646. },
  36647. "goodscode": {
  36648. "description": "定投商品代码",
  36649. "type": "string"
  36650. },
  36651. "goodsid": {
  36652. "description": "定投商品ID",
  36653. "type": "integer"
  36654. },
  36655. "goodsname": {
  36656. "description": "定投商品名称",
  36657. "type": "string"
  36658. },
  36659. "goodunitid": {
  36660. "description": "定投商品单位id",
  36661. "type": "integer"
  36662. },
  36663. "logid": {
  36664. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  36665. "type": "string"
  36666. },
  36667. "logincode": {
  36668. "description": "账号(登录代码)",
  36669. "type": "string"
  36670. },
  36671. "qtydecimalplace": {
  36672. "description": "成交量小数位",
  36673. "type": "integer"
  36674. },
  36675. "regularlycycle": {
  36676. "description": "定投频率 - 1:每周 2:每月",
  36677. "type": "integer"
  36678. },
  36679. "regularlycyclevalue": {
  36680. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  36681. "type": "string"
  36682. },
  36683. "regularlymode": {
  36684. "description": "定投方式 - 1:按数量 2:按金额",
  36685. "type": "integer"
  36686. },
  36687. "regularlymodevalue": {
  36688. "description": "定投方式值 - 数量或金额",
  36689. "type": "number"
  36690. },
  36691. "regularlystrategyid": {
  36692. "description": "定投策略ID",
  36693. "type": "integer"
  36694. },
  36695. "retcode": {
  36696. "description": "错误码",
  36697. "type": "string"
  36698. },
  36699. "tradeid": {
  36700. "description": "成交单ID",
  36701. "type": "string"
  36702. },
  36703. "triggeramount": {
  36704. "description": "触发金额",
  36705. "type": "number"
  36706. },
  36707. "triggerqty": {
  36708. "description": "触发数量",
  36709. "type": "number"
  36710. },
  36711. "triggerstatus": {
  36712. "description": "触发状态 - 1:成功 2:失败",
  36713. "type": "integer"
  36714. },
  36715. "triggertime": {
  36716. "description": "触发时间",
  36717. "type": "string"
  36718. },
  36719. "triggertradedate": {
  36720. "description": "触发交易日",
  36721. "type": "string"
  36722. },
  36723. "userid": {
  36724. "description": "所属用户ID",
  36725. "type": "integer"
  36726. },
  36727. "userinfotype": {
  36728. "description": "用户类型 1-个人 2-企业",
  36729. "type": "integer"
  36730. },
  36731. "username": {
  36732. "description": "用户名称(userid对应的名称)",
  36733. "type": "string"
  36734. }
  36735. }
  36736. },
  36737. "models.QhjRStrategy": {
  36738. "type": "object",
  36739. "properties": {
  36740. "accountid": {
  36741. "description": "用户资金账户",
  36742. "type": "integer"
  36743. },
  36744. "accountname": {
  36745. "description": "账号名称(ACCOUNTID对应的名称)",
  36746. "type": "string"
  36747. },
  36748. "currencyid": {
  36749. "description": "币种id",
  36750. "type": "integer"
  36751. },
  36752. "currencyname": {
  36753. "description": "币种名称",
  36754. "type": "string"
  36755. },
  36756. "decimalplace": {
  36757. "description": "商品报价小数位",
  36758. "type": "integer"
  36759. },
  36760. "enumdicname": {
  36761. "description": "单位名称",
  36762. "type": "string"
  36763. },
  36764. "goodscode": {
  36765. "description": "定投商品代码",
  36766. "type": "string"
  36767. },
  36768. "goodsid": {
  36769. "description": "定投商品ID",
  36770. "type": "integer"
  36771. },
  36772. "goodsname": {
  36773. "description": "定投商品名称",
  36774. "type": "string"
  36775. },
  36776. "goodunitid": {
  36777. "description": "定投商品单位id",
  36778. "type": "integer"
  36779. },
  36780. "lasteffecttradedate": {
  36781. "description": "最新生效交易日",
  36782. "type": "string"
  36783. },
  36784. "laststoptradedate": {
  36785. "description": "最新暂停交易日",
  36786. "type": "string"
  36787. },
  36788. "lasttriggertradedate": {
  36789. "description": "最新触发交易日",
  36790. "type": "string"
  36791. },
  36792. "logincode": {
  36793. "description": "账号(登录代码)",
  36794. "type": "string"
  36795. },
  36796. "nexttriggeramount": {
  36797. "description": "下次触发金额",
  36798. "type": "number"
  36799. },
  36800. "nexttriggerdate": {
  36801. "description": "下次触发日期",
  36802. "type": "string"
  36803. },
  36804. "nexttriggerqty": {
  36805. "description": "下次触发数量 [按小数位放大值]",
  36806. "type": "number"
  36807. },
  36808. "qtydecimalplace": {
  36809. "description": "成交量小数位",
  36810. "type": "integer"
  36811. },
  36812. "regularlycycle": {
  36813. "description": "定投频率 - 1:每周 2:每月",
  36814. "type": "integer"
  36815. },
  36816. "regularlycyclevalue": {
  36817. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  36818. "type": "string"
  36819. },
  36820. "regularlymode": {
  36821. "description": "定投方式 - 1:按数量 2:按金额",
  36822. "type": "integer"
  36823. },
  36824. "regularlymodevalue": {
  36825. "description": "定投方式值 - 数量或金额",
  36826. "type": "number"
  36827. },
  36828. "regularlystrategyid": {
  36829. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  36830. "type": "integer"
  36831. },
  36832. "regularlystrategystatus": {
  36833. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  36834. "type": "integer"
  36835. },
  36836. "remark": {
  36837. "description": "备注",
  36838. "type": "string"
  36839. },
  36840. "triggersuccesstimes": {
  36841. "description": "累计定投成功次数",
  36842. "type": "string"
  36843. },
  36844. "triggertotalamount": {
  36845. "description": "累计定投金额(成功)",
  36846. "type": "number"
  36847. },
  36848. "triggertotalqty": {
  36849. "description": "累计定投数量(成功) [按小数位放大值]",
  36850. "type": "number"
  36851. },
  36852. "triggertotaltimes": {
  36853. "description": "累计定投总次数",
  36854. "type": "string"
  36855. },
  36856. "updatesrc": {
  36857. "description": "更新来源 - 1:管理端 2:终端",
  36858. "type": "integer"
  36859. },
  36860. "updatetime": {
  36861. "description": "更新时间",
  36862. "type": "string"
  36863. },
  36864. "updatorid": {
  36865. "description": "更新人",
  36866. "type": "string"
  36867. },
  36868. "userid": {
  36869. "description": "所属用户ID",
  36870. "type": "integer"
  36871. },
  36872. "userinfotype": {
  36873. "description": "用户类型 1-个人 2-企业",
  36874. "type": "integer"
  36875. },
  36876. "username": {
  36877. "description": "用户名称(userid对应的名称)",
  36878. "type": "string"
  36879. }
  36880. }
  36881. },
  36882. "models.QhjReckonPriceLog": {
  36883. "type": "object",
  36884. "properties": {
  36885. "decimalplace": {
  36886. "description": "商品报价小数位",
  36887. "type": "integer"
  36888. },
  36889. "goodscode": {
  36890. "description": "商品代码",
  36891. "type": "string"
  36892. },
  36893. "goodsid": {
  36894. "description": "商品ID",
  36895. "type": "integer"
  36896. },
  36897. "goodsname": {
  36898. "description": "商品名称",
  36899. "type": "string"
  36900. },
  36901. "lastreckonprice": {
  36902. "description": "上日结算价",
  36903. "type": "number"
  36904. },
  36905. "nextdnlimitprice": {
  36906. "description": "下个交易日跌停价",
  36907. "type": "number"
  36908. },
  36909. "nexttrade": {
  36910. "description": "下个交易日",
  36911. "type": "string"
  36912. },
  36913. "nextuplimitprice": {
  36914. "description": "下个交易日涨停价",
  36915. "type": "number"
  36916. },
  36917. "reckonprice": {
  36918. "description": "今日结算价(定投价)",
  36919. "type": "number"
  36920. },
  36921. "reckontime": {
  36922. "description": "结算时间",
  36923. "type": "string"
  36924. },
  36925. "totalholderqty": {
  36926. "description": "总持仓数",
  36927. "type": "integer"
  36928. },
  36929. "totalstock": {
  36930. "description": "总库存",
  36931. "type": "integer"
  36932. },
  36933. "tradedate": {
  36934. "description": "交易日",
  36935. "type": "string"
  36936. },
  36937. "updowncount": {
  36938. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  36939. "type": "integer"
  36940. },
  36941. "updownflag": {
  36942. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  36943. "type": "integer"
  36944. },
  36945. "updownrate": {
  36946. "description": "今日涨跌幅",
  36947. "type": "number"
  36948. },
  36949. "updownrate_2d": {
  36950. "description": "连续两日涨跌幅",
  36951. "type": "number"
  36952. },
  36953. "updownrate_3d": {
  36954. "description": "连续三日涨跌幅",
  36955. "type": "number"
  36956. }
  36957. }
  36958. },
  36959. "models.QhjScoreLog": {
  36960. "type": "object",
  36961. "properties": {
  36962. "accountid": {
  36963. "description": "账户ID",
  36964. "type": "integer"
  36965. },
  36966. "createtime": {
  36967. "description": "创建时间(时间)",
  36968. "type": "string"
  36969. },
  36970. "goodsid": {
  36971. "description": "商品ID",
  36972. "type": "integer"
  36973. },
  36974. "hasuploaded": {
  36975. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  36976. "type": "integer"
  36977. },
  36978. "logid": {
  36979. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36980. "type": "string"
  36981. },
  36982. "marketid": {
  36983. "description": "市场ID",
  36984. "type": "integer"
  36985. },
  36986. "relatedamount": {
  36987. "description": "关联金额",
  36988. "type": "number"
  36989. },
  36990. "relatedorderid": {
  36991. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  36992. "type": "string"
  36993. },
  36994. "scoreconfigvalue1": {
  36995. "description": "积分配置1",
  36996. "type": "integer"
  36997. },
  36998. "scoreconfigvalue2": {
  36999. "description": "积分配置1",
  37000. "type": "integer"
  37001. },
  37002. "scoretype": {
  37003. "description": "积分类型 - 1:提货积分",
  37004. "type": "integer"
  37005. },
  37006. "scorevalue": {
  37007. "description": "积分",
  37008. "type": "number"
  37009. },
  37010. "tradedate": {
  37011. "description": "交易日(yyyyMMdd)",
  37012. "type": "string"
  37013. },
  37014. "uploadedtime": {
  37015. "description": "同步时间",
  37016. "type": "string"
  37017. },
  37018. "userid": {
  37019. "description": "用户ID",
  37020. "type": "integer"
  37021. }
  37022. }
  37023. },
  37024. "models.QhjSiteColumnDetail": {
  37025. "type": "object",
  37026. "properties": {
  37027. "author": {
  37028. "description": "作者",
  37029. "type": "string"
  37030. },
  37031. "brief": {
  37032. "description": "简介",
  37033. "type": "string"
  37034. },
  37035. "columnid": {
  37036. "description": "所属栏目",
  37037. "type": "integer"
  37038. },
  37039. "context": {
  37040. "description": "内容",
  37041. "type": "string"
  37042. },
  37043. "coverimage": {
  37044. "description": "封面图片",
  37045. "type": "string"
  37046. },
  37047. "creaedate": {
  37048. "description": "创建时间",
  37049. "type": "string"
  37050. },
  37051. "creatorid": {
  37052. "description": "创建人",
  37053. "type": "integer"
  37054. },
  37055. "hits": {
  37056. "description": "点击数",
  37057. "type": "integer"
  37058. },
  37059. "id": {
  37060. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37061. "type": "integer"
  37062. },
  37063. "isshow": {
  37064. "description": "是否展示 - 0:不展示 1:展示",
  37065. "type": "integer"
  37066. },
  37067. "istop": {
  37068. "description": "是否置顶 - 0:不置 1:置顶",
  37069. "type": "integer"
  37070. },
  37071. "modifierid": {
  37072. "description": "操作人",
  37073. "type": "integer"
  37074. },
  37075. "publishdate": {
  37076. "description": "发布日期",
  37077. "type": "string"
  37078. },
  37079. "status": {
  37080. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  37081. "type": "integer"
  37082. },
  37083. "title": {
  37084. "description": "标题",
  37085. "type": "string"
  37086. },
  37087. "updatedate": {
  37088. "description": "修改时间",
  37089. "type": "string"
  37090. },
  37091. "userid": {
  37092. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  37093. "type": "integer"
  37094. },
  37095. "username": {
  37096. "description": "用户名称",
  37097. "type": "string"
  37098. }
  37099. }
  37100. },
  37101. "models.QhjTeamOrder": {
  37102. "type": "object",
  37103. "properties": {
  37104. "accountid": {
  37105. "description": "账户ID[报价币种]",
  37106. "type": "integer"
  37107. },
  37108. "accountname": {
  37109. "description": "账户名称",
  37110. "type": "string"
  37111. },
  37112. "agreeunit": {
  37113. "description": "合约乘数",
  37114. "type": "number"
  37115. },
  37116. "buyorsell": {
  37117. "description": "方向 - 0:买 1:卖",
  37118. "type": "integer"
  37119. },
  37120. "decimalplace": {
  37121. "description": "报价小数位",
  37122. "type": "integer"
  37123. },
  37124. "enumdicname": {
  37125. "description": "单位名称",
  37126. "type": "string"
  37127. },
  37128. "goodscode": {
  37129. "description": "商品代码(内部)",
  37130. "type": "string"
  37131. },
  37132. "goodsid": {
  37133. "description": "商品ID",
  37134. "type": "integer"
  37135. },
  37136. "goodsname": {
  37137. "description": "商品名称",
  37138. "type": "string"
  37139. },
  37140. "goodunitid": {
  37141. "description": "报价单位ID",
  37142. "type": "integer"
  37143. },
  37144. "marketid": {
  37145. "description": "市场ID",
  37146. "type": "integer"
  37147. },
  37148. "marketname": {
  37149. "description": "市场名称",
  37150. "type": "string"
  37151. },
  37152. "qtydecimalplace": {
  37153. "description": "成交量小数位",
  37154. "type": "integer"
  37155. },
  37156. "refereeuserid": {
  37157. "description": "推荐人ID",
  37158. "type": "integer"
  37159. },
  37160. "tradeamount": {
  37161. "description": "成交金额[账户币种,用于所有权]",
  37162. "type": "number"
  37163. },
  37164. "tradedate": {
  37165. "description": "交易日(yyyyMMdd)",
  37166. "type": "string"
  37167. },
  37168. "trademode": {
  37169. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37170. "type": "integer"
  37171. },
  37172. "tradeprice": {
  37173. "description": "成交价格",
  37174. "type": "number"
  37175. },
  37176. "tradeqty": {
  37177. "description": "成交数量",
  37178. "type": "number"
  37179. },
  37180. "tradetime": {
  37181. "description": "成交时间",
  37182. "type": "string"
  37183. },
  37184. "userid": {
  37185. "description": "用户ID",
  37186. "type": "integer"
  37187. }
  37188. }
  37189. },
  37190. "models.QhjTradeGoodsPickup": {
  37191. "type": "object",
  37192. "properties": {
  37193. "accountid": {
  37194. "description": "账户ID",
  37195. "type": "integer"
  37196. },
  37197. "address": {
  37198. "description": "提货人详细地址",
  37199. "type": "string"
  37200. },
  37201. "amount": {
  37202. "description": "提货金额",
  37203. "type": "number"
  37204. },
  37205. "artradedate": {
  37206. "description": "自动收货交易日(yyyyMMdd)",
  37207. "type": "string"
  37208. },
  37209. "auditer": {
  37210. "description": "审核人",
  37211. "type": "integer"
  37212. },
  37213. "auditsrc": {
  37214. "description": "更新来源 - 1:管理端 2:终端",
  37215. "type": "integer"
  37216. },
  37217. "audittime": {
  37218. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  37219. "type": "string"
  37220. },
  37221. "audittradedate": {
  37222. "description": "审核交易日(yyyyMMdd)",
  37223. "type": "string"
  37224. },
  37225. "cardnum": {
  37226. "description": "提货人证件号码",
  37227. "type": "string"
  37228. },
  37229. "cardtypeid": {
  37230. "description": "提货人证件类型",
  37231. "type": "integer"
  37232. },
  37233. "checkremark": {
  37234. "description": "审核备注",
  37235. "type": "string"
  37236. },
  37237. "cityid": {
  37238. "description": "市",
  37239. "type": "integer"
  37240. },
  37241. "cityname": {
  37242. "description": "城市名称",
  37243. "type": "string"
  37244. },
  37245. "confirmtime": {
  37246. "description": "取货时间 或 收货时间",
  37247. "type": "string"
  37248. },
  37249. "countryid": {
  37250. "description": "国家",
  37251. "type": "integer"
  37252. },
  37253. "countryname": {
  37254. "description": "国家名称",
  37255. "type": "string"
  37256. },
  37257. "decimalplace": {
  37258. "description": "商品报价小数位",
  37259. "type": "integer"
  37260. },
  37261. "districtid": {
  37262. "description": "地区",
  37263. "type": "integer"
  37264. },
  37265. "districtname": {
  37266. "description": "地区名称",
  37267. "type": "string"
  37268. },
  37269. "enumdicname": {
  37270. "description": "单位名称(提货商品)",
  37271. "type": "string"
  37272. },
  37273. "expresscompany": {
  37274. "description": "物流公司",
  37275. "type": "string"
  37276. },
  37277. "expressnum": {
  37278. "description": "物流单号",
  37279. "type": "string"
  37280. },
  37281. "goodsagreeunit": {
  37282. "description": "交易商品乘数",
  37283. "type": "number"
  37284. },
  37285. "goodscode": {
  37286. "description": "商品代码",
  37287. "type": "string"
  37288. },
  37289. "goodsid": {
  37290. "description": "商品ID",
  37291. "type": "integer"
  37292. },
  37293. "goodsname": {
  37294. "description": "商品名称",
  37295. "type": "string"
  37296. },
  37297. "goodsqty": {
  37298. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  37299. "type": "number"
  37300. },
  37301. "handlestatus": {
  37302. "description": "处理状态",
  37303. "type": "integer"
  37304. },
  37305. "logincode": {
  37306. "description": "账号(登录代码, 有可能为空)",
  37307. "type": "string"
  37308. },
  37309. "marketid": {
  37310. "description": "市场ID",
  37311. "type": "integer"
  37312. },
  37313. "phonenum": {
  37314. "description": "提货人联系方式",
  37315. "type": "string"
  37316. },
  37317. "pickupgoodsagreeunit": {
  37318. "description": "提货商品合约乘数",
  37319. "type": "number"
  37320. },
  37321. "pickupgoodsid": {
  37322. "description": "提货商品ID",
  37323. "type": "string"
  37324. },
  37325. "pickupgoodsname": {
  37326. "description": "提货商品名称",
  37327. "type": "string"
  37328. },
  37329. "pickupgoodsqty": {
  37330. "description": "提货商品手数(数量)",
  37331. "type": "number"
  37332. },
  37333. "pickupgoodsunitid": {
  37334. "description": "单位ID(提货商品)",
  37335. "type": "integer"
  37336. },
  37337. "pickupratio": {
  37338. "description": "提货系数",
  37339. "type": "number"
  37340. },
  37341. "preparedays": {
  37342. "description": "备货期(天)-提货单明细表",
  37343. "type": "integer"
  37344. },
  37345. "provinceid": {
  37346. "description": "省",
  37347. "type": "integer"
  37348. },
  37349. "provincename": {
  37350. "description": "省名称",
  37351. "type": "string"
  37352. },
  37353. "qty": {
  37354. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  37355. "type": "number"
  37356. },
  37357. "qtydecimalplace": {
  37358. "description": "商品数量小数位",
  37359. "type": "integer"
  37360. },
  37361. "recivername": {
  37362. "description": "提货人姓名",
  37363. "type": "string"
  37364. },
  37365. "reqtime": {
  37366. "description": "提货申请时间",
  37367. "type": "string"
  37368. },
  37369. "storeuserid": {
  37370. "description": "门店用户ID (千海金)",
  37371. "type": "integer"
  37372. },
  37373. "storeusername": {
  37374. "description": "门店用户名称",
  37375. "type": "string"
  37376. },
  37377. "takemode": {
  37378. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  37379. "type": "integer"
  37380. },
  37381. "takeorderid": {
  37382. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37383. "type": "string"
  37384. },
  37385. "takeorderstatus": {
  37386. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  37387. "type": "integer"
  37388. },
  37389. "takeremark": {
  37390. "description": "提货备注",
  37391. "type": "string"
  37392. },
  37393. "tradedate": {
  37394. "description": "交易日(yyyyMMdd)",
  37395. "type": "string"
  37396. },
  37397. "updatetime": {
  37398. "description": "更新时间",
  37399. "type": "string"
  37400. },
  37401. "userid": {
  37402. "description": "用户ID",
  37403. "type": "integer"
  37404. },
  37405. "userinfotype": {
  37406. "description": "客户类型 1-个人 2-企业",
  37407. "type": "integer"
  37408. },
  37409. "username": {
  37410. "description": "用户名称",
  37411. "type": "string"
  37412. }
  37413. }
  37414. },
  37415. "models.QhjUserNodeCfgAndStatus": {
  37416. "type": "object",
  37417. "properties": {
  37418. "agreementcontent": {
  37419. "description": "协议内容",
  37420. "type": "string"
  37421. },
  37422. "agreementid": {
  37423. "description": "协议ID",
  37424. "type": "integer"
  37425. },
  37426. "agreementname": {
  37427. "description": "协议名称",
  37428. "type": "string"
  37429. },
  37430. "agreementno": {
  37431. "description": "协议编号",
  37432. "type": "string"
  37433. },
  37434. "agreementtype": {
  37435. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37436. "type": "integer"
  37437. },
  37438. "agreementversion": {
  37439. "description": "协议版本号",
  37440. "type": "integer"
  37441. },
  37442. "configid": {
  37443. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37444. "type": "integer"
  37445. },
  37446. "createtime": {
  37447. "description": "创建时间",
  37448. "type": "string"
  37449. },
  37450. "goodsid": {
  37451. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37452. "type": "integer"
  37453. },
  37454. "nodetype": {
  37455. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37456. "type": "integer"
  37457. },
  37458. "signtimestamp": {
  37459. "description": "签约状态时间戳(最近一次)",
  37460. "type": "string"
  37461. },
  37462. "tradedate": {
  37463. "description": "签约交易日(yyyyMMdd)",
  37464. "type": "string"
  37465. },
  37466. "userid": {
  37467. "description": "客户ID",
  37468. "type": "integer"
  37469. }
  37470. }
  37471. },
  37472. "models.Qhjgoodsex": {
  37473. "type": "object",
  37474. "properties": {
  37475. "canfinance": {
  37476. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  37477. "type": "integer"
  37478. },
  37479. "canregularlybuy": {
  37480. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  37481. "type": "integer"
  37482. },
  37483. "defaulttradeuserid": {
  37484. "description": "默认交易用户ID",
  37485. "type": "integer"
  37486. },
  37487. "deliverygoodsid": {
  37488. "description": "现货品种ID",
  37489. "type": "integer"
  37490. },
  37491. "goodsid": {
  37492. "description": "商品ID(自增ID SEQ_GOODS)",
  37493. "type": "integer"
  37494. },
  37495. "minamount": {
  37496. "description": "最小购买金额",
  37497. "type": "number"
  37498. },
  37499. "regularlybuyminamount": {
  37500. "description": "定投最小金额",
  37501. "type": "number"
  37502. },
  37503. "regularlybuyminqty": {
  37504. "description": "定投最小数量",
  37505. "type": "number"
  37506. },
  37507. "spotgoodsbrandid": {
  37508. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  37509. "type": "integer"
  37510. },
  37511. "visibilityforenterprise": {
  37512. "description": "企业客户是否可见 - 0:不可见 1:可见",
  37513. "type": "integer"
  37514. },
  37515. "visibilityforpersonal": {
  37516. "description": "个人客户是否可见 - 0:不可见 1:可见",
  37517. "type": "integer"
  37518. },
  37519. "wrstandardid": {
  37520. "description": "现货商品ID",
  37521. "type": "integer"
  37522. }
  37523. }
  37524. },
  37525. "models.QueryErrorInfosRsp": {
  37526. "type": "object",
  37527. "required": [
  37528. "errorid"
  37529. ],
  37530. "properties": {
  37531. "description": {
  37532. "description": "异常描述",
  37533. "type": "string"
  37534. },
  37535. "errorcode": {
  37536. "description": "异常代码",
  37537. "type": "string"
  37538. },
  37539. "errorid": {
  37540. "description": "异常ID",
  37541. "type": "integer"
  37542. },
  37543. "modulecode": {
  37544. "description": "所属模块",
  37545. "type": "string"
  37546. },
  37547. "operatecode": {
  37548. "description": "所属操作",
  37549. "type": "string"
  37550. },
  37551. "rownumber": {
  37552. "description": "行号",
  37553. "type": "string"
  37554. }
  37555. }
  37556. },
  37557. "models.QueryHedgeOrderDetailRsp": {
  37558. "type": "object",
  37559. "properties": {
  37560. "accountid": {
  37561. "description": "账户ID",
  37562. "type": "integer"
  37563. },
  37564. "buyorsell": {
  37565. "description": "买卖 - 0:买 1:卖",
  37566. "type": "integer"
  37567. },
  37568. "cancellogincode": {
  37569. "description": "撤单人",
  37570. "type": "string"
  37571. },
  37572. "channelbuildtype": {
  37573. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  37574. "type": "integer"
  37575. },
  37576. "channelinnerorderstatus": {
  37577. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  37578. "type": "integer"
  37579. },
  37580. "channeloperatetype": {
  37581. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  37582. "type": "integer"
  37583. },
  37584. "closetype": {
  37585. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37586. "type": "integer"
  37587. },
  37588. "curexchangerate": {
  37589. "description": "当前汇率",
  37590. "type": "number"
  37591. },
  37592. "decimalplace": {
  37593. "description": "商品报价小数位",
  37594. "type": "integer"
  37595. },
  37596. "exchangefullname": {
  37597. "description": "外部交易所全称",
  37598. "type": "string"
  37599. },
  37600. "goodscode": {
  37601. "description": "商品代码(内部)",
  37602. "type": "string"
  37603. },
  37604. "goodsid": {
  37605. "description": "商品ID",
  37606. "type": "integer"
  37607. },
  37608. "goodsname": {
  37609. "description": "商品名称",
  37610. "type": "string"
  37611. },
  37612. "marketid": {
  37613. "description": "市场ID",
  37614. "type": "integer"
  37615. },
  37616. "openfreezemargin": {
  37617. "description": "冻结保证金(冻结交易金额)",
  37618. "type": "number"
  37619. },
  37620. "orderid": {
  37621. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37622. "type": "string"
  37623. },
  37624. "orderlogincode": {
  37625. "description": "委托人",
  37626. "type": "string"
  37627. },
  37628. "orderprice": {
  37629. "description": "委托价格(账户)",
  37630. "type": "number"
  37631. },
  37632. "orderqty": {
  37633. "description": "委托数量",
  37634. "type": "integer"
  37635. },
  37636. "ordertime": {
  37637. "description": "委托时间",
  37638. "type": "string"
  37639. },
  37640. "pricemode": {
  37641. "description": "取价方式 - 1:市价 2: 限价",
  37642. "type": "integer"
  37643. },
  37644. "tradedate": {
  37645. "description": "交易日(yyyyMMdd)",
  37646. "type": "string"
  37647. },
  37648. "tradeqty": {
  37649. "description": "成交数量",
  37650. "type": "integer"
  37651. }
  37652. }
  37653. },
  37654. "models.QueryHedgeTradeDetailRsp": {
  37655. "type": "object",
  37656. "properties": {
  37657. "accountid": {
  37658. "description": "账号ID",
  37659. "type": "integer"
  37660. },
  37661. "buyorsell": {
  37662. "description": "方向 - 0:买 1:卖",
  37663. "type": "integer"
  37664. },
  37665. "channelbuildtype": {
  37666. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  37667. "type": "integer"
  37668. },
  37669. "closecharge": {
  37670. "description": "平仓手续费(账户)",
  37671. "type": "number"
  37672. },
  37673. "closecharge2": {
  37674. "description": "平仓手续费(商品)",
  37675. "type": "number"
  37676. },
  37677. "closepl": {
  37678. "description": "平仓盈亏(账户)",
  37679. "type": "number"
  37680. },
  37681. "closepl2": {
  37682. "description": "平仓盈亏(商品)",
  37683. "type": "number"
  37684. },
  37685. "closepl3": {
  37686. "description": "平仓盈亏(账户)(逐笔)",
  37687. "type": "number"
  37688. },
  37689. "closepl4": {
  37690. "description": "平仓盈亏(商品)(逐笔)",
  37691. "type": "number"
  37692. },
  37693. "closetype": {
  37694. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37695. "type": "integer"
  37696. },
  37697. "curexchangerate": {
  37698. "description": "当前汇率",
  37699. "type": "number"
  37700. },
  37701. "decimalplace": {
  37702. "description": "商品报价小数位",
  37703. "type": "integer"
  37704. },
  37705. "exchangefullname": {
  37706. "description": "外部交易所全称",
  37707. "type": "string"
  37708. },
  37709. "goodscode": {
  37710. "description": "商品代码(内部)",
  37711. "type": "string"
  37712. },
  37713. "goodsid": {
  37714. "description": "商品ID",
  37715. "type": "integer"
  37716. },
  37717. "goodsname": {
  37718. "description": "商品名称",
  37719. "type": "string"
  37720. },
  37721. "marketid": {
  37722. "description": "市场ID",
  37723. "type": "integer"
  37724. },
  37725. "opencharge": {
  37726. "description": "建仓手续费(账户)",
  37727. "type": "number"
  37728. },
  37729. "opencharge2": {
  37730. "description": "建仓手续费(商品)",
  37731. "type": "number"
  37732. },
  37733. "orderid": {
  37734. "description": "委托单号",
  37735. "type": "string"
  37736. },
  37737. "orderlogincode": {
  37738. "description": "委托人",
  37739. "type": "string"
  37740. },
  37741. "tradeamount": {
  37742. "description": "成交金额(账户)",
  37743. "type": "number"
  37744. },
  37745. "tradedate": {
  37746. "description": "交易日(yyyyMMdd)",
  37747. "type": "string"
  37748. },
  37749. "tradeid": {
  37750. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37751. "type": "string"
  37752. },
  37753. "tradeprice": {
  37754. "description": "成交价格",
  37755. "type": "number"
  37756. },
  37757. "tradeqty": {
  37758. "description": "成交数量",
  37759. "type": "integer"
  37760. },
  37761. "tradetime": {
  37762. "description": "成交时间",
  37763. "type": "string"
  37764. },
  37765. "tradetype": {
  37766. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  37767. "type": "integer"
  37768. }
  37769. }
  37770. },
  37771. "models.QuotePrimaryMenu": {
  37772. "type": "object",
  37773. "properties": {
  37774. "Index": {
  37775. "description": "序号",
  37776. "type": "integer"
  37777. },
  37778. "Key": {
  37779. "description": "键名",
  37780. "type": "string"
  37781. },
  37782. "Name": {
  37783. "description": "菜单名称",
  37784. "type": "string"
  37785. },
  37786. "SubMenus": {
  37787. "description": "子菜单",
  37788. "type": "array",
  37789. "items": {
  37790. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  37791. }
  37792. },
  37793. "SubTitleType": {
  37794. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  37795. "type": "integer"
  37796. },
  37797. "TradeModes": {
  37798. "description": "包含市场交易类型",
  37799. "type": "string"
  37800. }
  37801. }
  37802. },
  37803. "models.QuoteSecondaryMenu": {
  37804. "type": "object",
  37805. "properties": {
  37806. "ExExchangeCode": {
  37807. "description": "外部交易所代码",
  37808. "type": "string"
  37809. },
  37810. "ExExchangeID": {
  37811. "description": "外部交易所ID",
  37812. "type": "integer"
  37813. },
  37814. "GoodsGroupIDs": {
  37815. "description": "商品组ID列表",
  37816. "type": "array",
  37817. "items": {
  37818. "type": "integer"
  37819. }
  37820. },
  37821. "Index": {
  37822. "description": "序号",
  37823. "type": "integer"
  37824. },
  37825. "MarketID": {
  37826. "description": "市场ID",
  37827. "type": "integer"
  37828. },
  37829. "MenuTitle": {
  37830. "description": "菜单标题(市场名称或外部交易所名称)",
  37831. "type": "string"
  37832. },
  37833. "TradeMode": {
  37834. "description": "交易模式",
  37835. "type": "integer"
  37836. }
  37837. }
  37838. },
  37839. "models.Reckondaytaaccount": {
  37840. "type": "object",
  37841. "required": [
  37842. "userid"
  37843. ],
  37844. "properties": {
  37845. "accountid": {
  37846. "description": "资金账户ID",
  37847. "type": "integer"
  37848. },
  37849. "accountname": {
  37850. "description": "账户名称",
  37851. "type": "string"
  37852. },
  37853. "accountpl": {
  37854. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  37855. "type": "number"
  37856. },
  37857. "avaiablemoney": {
  37858. "description": "可用资金",
  37859. "type": "number"
  37860. },
  37861. "avaiableoutmoney": {
  37862. "description": "可出资金",
  37863. "type": "number"
  37864. },
  37865. "balance": {
  37866. "description": "期初余额",
  37867. "type": "number"
  37868. },
  37869. "capitalbalance": {
  37870. "description": "本金余额[外部子账户实际出入金余额]",
  37871. "type": "number"
  37872. },
  37873. "changeflag": {
  37874. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37875. "type": "integer"
  37876. },
  37877. "clearbalance": {
  37878. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  37879. "type": "number"
  37880. },
  37881. "clearpl": {
  37882. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  37883. "type": "number"
  37884. },
  37885. "closepl": {
  37886. "description": "今日平仓盈亏",
  37887. "type": "number"
  37888. },
  37889. "closepl2": {
  37890. "description": "平仓盈亏(逐笔)",
  37891. "type": "number"
  37892. },
  37893. "creditdecrease": {
  37894. "description": "今日授信减少",
  37895. "type": "number"
  37896. },
  37897. "creditincrease": {
  37898. "description": "今日授信增加",
  37899. "type": "number"
  37900. },
  37901. "curdebt": {
  37902. "description": "期末欠款",
  37903. "type": "number"
  37904. },
  37905. "currencyid": {
  37906. "description": "货币ID",
  37907. "type": "integer"
  37908. },
  37909. "currentbalance": {
  37910. "description": "期末余额",
  37911. "type": "number"
  37912. },
  37913. "cycletype": {
  37914. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  37915. "type": "integer"
  37916. },
  37917. "defercharge": {
  37918. "description": "今日递延费2支出[111, 112]",
  37919. "type": "number"
  37920. },
  37921. "deliveryamountin": {
  37922. "description": "今日交收货款收入",
  37923. "type": "number"
  37924. },
  37925. "deliveryamountout": {
  37926. "description": "今日交收货款支出",
  37927. "type": "number"
  37928. },
  37929. "deliverycharge": {
  37930. "description": "今日交收手续费支出 [105,106]",
  37931. "type": "number"
  37932. },
  37933. "deliverycompensationfeein": {
  37934. "description": "今日交收补偿费收入",
  37935. "type": "number"
  37936. },
  37937. "deliverycompensationfeeout": {
  37938. "description": "今日交收补偿费支出",
  37939. "type": "number"
  37940. },
  37941. "dividedcharge": {
  37942. "description": "今日已收手续费分成",
  37943. "type": "number"
  37944. },
  37945. "floatnetvalue": {
  37946. "description": "浮动净值 = 净值 + 浮动盈亏",
  37947. "type": "number"
  37948. },
  37949. "floatpl": {
  37950. "description": "浮动盈亏 - 每日有负债类商品",
  37951. "type": "number"
  37952. },
  37953. "freezecharge": {
  37954. "description": "手续费冻结",
  37955. "type": "number"
  37956. },
  37957. "freezemargin": {
  37958. "description": "冻结保证金",
  37959. "type": "number"
  37960. },
  37961. "fromaccountid": {
  37962. "description": "所属上级账户",
  37963. "type": "integer"
  37964. },
  37965. "holdcharge": {
  37966. "description": "今日持仓过夜费支出[108,109,110]",
  37967. "type": "number"
  37968. },
  37969. "inamount": {
  37970. "description": "今日入金金额",
  37971. "type": "number"
  37972. },
  37973. "interestcharge": {
  37974. "description": "今日递延费支出[103, 104]",
  37975. "type": "number"
  37976. },
  37977. "ismain": {
  37978. "description": "是否账号 0:不是母账户 1:是母账户",
  37979. "type": "integer"
  37980. },
  37981. "ismarketaccount": {
  37982. "description": "是否机构接单账号 0:不是 1:是",
  37983. "type": "integer"
  37984. },
  37985. "isreckonaccount": {
  37986. "description": "是否机构分润账号 0:不是 1:是",
  37987. "type": "integer"
  37988. },
  37989. "mortgagecredit": {
  37990. "description": "授信金额",
  37991. "type": "number"
  37992. },
  37993. "netvalue": {
  37994. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  37995. "type": "number"
  37996. },
  37997. "oridebt": {
  37998. "description": "期初欠款",
  37999. "type": "number"
  38000. },
  38001. "orifreezecharge": {
  38002. "description": "期初手续费冻结",
  38003. "type": "number"
  38004. },
  38005. "orifreezemargin": {
  38006. "description": "期初冻结保证金",
  38007. "type": "number"
  38008. },
  38009. "orimortgagecredit": {
  38010. "description": "期初授信金额",
  38011. "type": "number"
  38012. },
  38013. "oriothercredit": {
  38014. "description": "期初其它授信金额",
  38015. "type": "number"
  38016. },
  38017. "oriotherfreezemargin": {
  38018. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38019. "type": "number"
  38020. },
  38021. "orioutamountfreeze": {
  38022. "description": "期初出金冻结",
  38023. "type": "number"
  38024. },
  38025. "oriusedmargin": {
  38026. "description": "期初占用保证金",
  38027. "type": "number"
  38028. },
  38029. "othercredit": {
  38030. "description": "其它授信金额",
  38031. "type": "number"
  38032. },
  38033. "othercreditdecrease": {
  38034. "description": "今日其它授信减少",
  38035. "type": "number"
  38036. },
  38037. "othercreditincrease": {
  38038. "description": "今日其它授信增加",
  38039. "type": "number"
  38040. },
  38041. "otherfreezemargin": {
  38042. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38043. "type": "number"
  38044. },
  38045. "otherincome": {
  38046. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  38047. "type": "number"
  38048. },
  38049. "otherpay": {
  38050. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  38051. "type": "number"
  38052. },
  38053. "outamount": {
  38054. "description": "今日出金金额",
  38055. "type": "number"
  38056. },
  38057. "outamountfreeze": {
  38058. "description": "出金冻结",
  38059. "type": "number"
  38060. },
  38061. "outthreshold": {
  38062. "description": "出金阈值",
  38063. "type": "number"
  38064. },
  38065. "ownershipvalue": {
  38066. "description": "所有权市值",
  38067. "type": "number"
  38068. },
  38069. "parentaccountid": {
  38070. "description": "所属根账户",
  38071. "type": "integer"
  38072. },
  38073. "password": {
  38074. "description": "资金密码",
  38075. "type": "string"
  38076. },
  38077. "paycharge": {
  38078. "description": "今日手续费支出",
  38079. "type": "number"
  38080. },
  38081. "paycharge2": {
  38082. "description": "今日手续费支出(外部配置)",
  38083. "type": "number"
  38084. },
  38085. "payexchcharge": {
  38086. "description": "今日应付交易所手续费",
  38087. "type": "number"
  38088. },
  38089. "reckondate": {
  38090. "description": "日照日期(yyyyMMdd)",
  38091. "type": "string"
  38092. },
  38093. "reckonpl": {
  38094. "description": "今日结算盈亏",
  38095. "type": "number"
  38096. },
  38097. "reckonpl2": {
  38098. "description": "结算盈亏(逐笔) - 汇总取期末",
  38099. "type": "number"
  38100. },
  38101. "relatedaccountstatus": {
  38102. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  38103. "type": "integer"
  38104. },
  38105. "relateuserid": {
  38106. "description": "关联用户",
  38107. "type": "integer"
  38108. },
  38109. "riskrate": {
  38110. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  38111. "type": "number"
  38112. },
  38113. "signstatus": {
  38114. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  38115. "type": "integer"
  38116. },
  38117. "spotvalue": {
  38118. "description": "现货市值-统计服务更新",
  38119. "type": "number"
  38120. },
  38121. "sublevelpath": {
  38122. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  38123. "type": "string"
  38124. },
  38125. "taaccounttype": {
  38126. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  38127. "type": "integer"
  38128. },
  38129. "thirdinamount": {
  38130. "description": "今日三方入金",
  38131. "type": "number"
  38132. },
  38133. "thirdoutamount": {
  38134. "description": "今日三方出金",
  38135. "type": "number"
  38136. },
  38137. "tradeamount": {
  38138. "description": "今日成交金额",
  38139. "type": "number"
  38140. },
  38141. "tradecharge": {
  38142. "description": "今日交易手续费支出 [101,102]",
  38143. "type": "number"
  38144. },
  38145. "tradeqty": {
  38146. "description": "今日成交量",
  38147. "type": "integer"
  38148. },
  38149. "tradestatus": {
  38150. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  38151. "type": "integer"
  38152. },
  38153. "transferamount": {
  38154. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  38155. "type": "number"
  38156. },
  38157. "usedmargin": {
  38158. "description": "占用保证金",
  38159. "type": "number"
  38160. },
  38161. "userid": {
  38162. "description": "用户ID",
  38163. "type": "integer"
  38164. }
  38165. }
  38166. },
  38167. "models.RelatedTaAccount": {
  38168. "type": "object",
  38169. "properties": {
  38170. "accountid": {
  38171. "description": "资金账户ID",
  38172. "type": "integer"
  38173. }
  38174. }
  38175. },
  38176. "models.RoleMenu": {
  38177. "type": "object",
  38178. "properties": {
  38179. "hasright": {
  38180. "description": "是否有权限 0-没有权限 1-有权限",
  38181. "type": "integer"
  38182. },
  38183. "iconame": {
  38184. "description": "菜单图标",
  38185. "type": "string"
  38186. },
  38187. "menutype": {
  38188. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  38189. "type": "integer"
  38190. },
  38191. "parentcode": {
  38192. "description": "上级资源代码",
  38193. "type": "string"
  38194. },
  38195. "remark": {
  38196. "description": "菜单备注",
  38197. "type": "string"
  38198. },
  38199. "resourcecode": {
  38200. "description": "菜单代码",
  38201. "type": "string"
  38202. },
  38203. "resourcelevel": {
  38204. "description": "级别",
  38205. "type": "integer"
  38206. },
  38207. "resourcename": {
  38208. "description": "菜单名称",
  38209. "type": "string"
  38210. },
  38211. "roleid": {
  38212. "description": "角色id",
  38213. "type": "integer"
  38214. },
  38215. "sort": {
  38216. "description": "排序",
  38217. "type": "integer"
  38218. },
  38219. "subMenu": {
  38220. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  38221. "type": "array",
  38222. "items": {
  38223. "$ref": "#/definitions/models.RoleMenu"
  38224. }
  38225. },
  38226. "url": {
  38227. "description": "URL",
  38228. "type": "string"
  38229. },
  38230. "userid": {
  38231. "description": "用户id",
  38232. "type": "integer"
  38233. }
  38234. }
  38235. },
  38236. "models.SearchGoods": {
  38237. "type": "object",
  38238. "required": [
  38239. "goodscode",
  38240. "goodsid",
  38241. "goodsname",
  38242. "marketid",
  38243. "trademode"
  38244. ],
  38245. "properties": {
  38246. "goodscode": {
  38247. "description": "商品代码(内部)",
  38248. "type": "string"
  38249. },
  38250. "goodsid": {
  38251. "description": "商品ID(自增ID SEQ_GOODS)",
  38252. "type": "integer"
  38253. },
  38254. "goodsname": {
  38255. "description": "商品名称",
  38256. "type": "string"
  38257. },
  38258. "marketid": {
  38259. "description": "所属市场ID",
  38260. "type": "integer"
  38261. },
  38262. "marketname": {
  38263. "description": "市场名称",
  38264. "type": "string"
  38265. },
  38266. "trademode": {
  38267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38268. "type": "integer"
  38269. }
  38270. }
  38271. },
  38272. "models.SellOrder": {
  38273. "type": "object",
  38274. "properties": {
  38275. "accountid": {
  38276. "description": "资金账号",
  38277. "type": "integer"
  38278. },
  38279. "applyid": {
  38280. "description": "申请单ID",
  38281. "type": "integer"
  38282. },
  38283. "attachment1": {
  38284. "description": "附件1",
  38285. "type": "string"
  38286. },
  38287. "attachment2": {
  38288. "description": "附件2",
  38289. "type": "string"
  38290. },
  38291. "buyorsell": {
  38292. "description": "买卖 - 0:买 1:卖",
  38293. "type": "integer"
  38294. },
  38295. "canbargain": {
  38296. "description": "是否可议价 - 0:不可 1:可",
  38297. "type": "integer"
  38298. },
  38299. "cancelqty": {
  38300. "description": "撤销数量",
  38301. "type": "integer"
  38302. },
  38303. "canceltime": {
  38304. "description": "撤销时间",
  38305. "type": "string"
  38306. },
  38307. "cerno": {
  38308. "type": "string"
  38309. },
  38310. "chargealgorithm": {
  38311. "description": "手续费收取方式 1:比率 2:固定",
  38312. "type": "integer"
  38313. },
  38314. "chargealgorithmvalue": {
  38315. "description": "手续费设置值(交易所部分)",
  38316. "type": "number"
  38317. },
  38318. "chargealgorithmvalue2": {
  38319. "description": "手续费设置值(会员部分)",
  38320. "type": "number"
  38321. },
  38322. "clientordertime": {
  38323. "description": "客户端委托时间",
  38324. "type": "string"
  38325. },
  38326. "cpcertno": {
  38327. "type": "string"
  38328. },
  38329. "exchangerate": {
  38330. "description": "汇率[67]",
  38331. "type": "number"
  38332. },
  38333. "firstratio": {
  38334. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  38335. "type": "number"
  38336. },
  38337. "fixedprice": {
  38338. "description": "[克拉单价]固定价格 - [挂牌]",
  38339. "type": "number"
  38340. },
  38341. "freezecharge": {
  38342. "description": "冻结手续费",
  38343. "type": "number"
  38344. },
  38345. "freezefirstamount": {
  38346. "description": "冻结首付金额 - [摘牌]",
  38347. "type": "number"
  38348. },
  38349. "freezemargin": {
  38350. "description": "冻结保证金",
  38351. "type": "number"
  38352. },
  38353. "goodsno": {
  38354. "description": "商品编号",
  38355. "type": "string"
  38356. },
  38357. "imagepath": {
  38358. "type": "string"
  38359. },
  38360. "isQueryDiamond": {
  38361. "description": "是否钻石查询",
  38362. "type": "boolean"
  38363. },
  38364. "isspecified": {
  38365. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38366. "type": "integer"
  38367. },
  38368. "kppath": {
  38369. "type": "string"
  38370. },
  38371. "kpweight": {
  38372. "type": "string"
  38373. },
  38374. "marginalgorithm": {
  38375. "description": "保证金方式 - 1:比率 2:固定",
  38376. "type": "integer"
  38377. },
  38378. "marginvalue": {
  38379. "description": "保证金设置值",
  38380. "type": "number"
  38381. },
  38382. "marketid": {
  38383. "description": "市场ID",
  38384. "type": "integer"
  38385. },
  38386. "marketprice": {
  38387. "type": "string"
  38388. },
  38389. "orderamount": {
  38390. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  38391. "type": "number"
  38392. },
  38393. "ordertime": {
  38394. "description": "委托时间",
  38395. "type": "string"
  38396. },
  38397. "performancetemplateid": {
  38398. "description": "履约计划模板ID",
  38399. "type": "integer"
  38400. },
  38401. "price": {
  38402. "description": "价格",
  38403. "type": "number"
  38404. },
  38405. "pricefactor": {
  38406. "description": "价格系数(浮动价时填写) - [挂牌]",
  38407. "type": "number"
  38408. },
  38409. "pricemove": {
  38410. "description": "升贴水(浮动价时填写) - [挂牌]",
  38411. "type": "number"
  38412. },
  38413. "priceper": {
  38414. "type": "string"
  38415. },
  38416. "relatedwrtradeorderid": {
  38417. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  38418. "type": "integer"
  38419. },
  38420. "remainqty": {
  38421. "description": "剩余重量",
  38422. "type": "number"
  38423. },
  38424. "remark": {
  38425. "type": "string"
  38426. },
  38427. "retcode": {
  38428. "description": "错误代码",
  38429. "type": "integer"
  38430. },
  38431. "sellusername": {
  38432. "description": "卖方(查询字段-模糊查询)",
  38433. "type": "string"
  38434. },
  38435. "settingmaterial": {
  38436. "description": "镶嵌材料",
  38437. "type": "string"
  38438. },
  38439. "size1": {
  38440. "type": "string"
  38441. },
  38442. "size2": {
  38443. "type": "string"
  38444. },
  38445. "size3": {
  38446. "type": "string"
  38447. },
  38448. "sizedisplay": {
  38449. "description": "尺寸",
  38450. "type": "string"
  38451. },
  38452. "stonedesc": {
  38453. "description": "配石描述",
  38454. "type": "string"
  38455. },
  38456. "totalqty": {
  38457. "description": "总重量",
  38458. "type": "number"
  38459. },
  38460. "tradedate": {
  38461. "description": "交易日(yyyyMMdd)",
  38462. "type": "string"
  38463. },
  38464. "tradeprice": {
  38465. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  38466. "type": "number"
  38467. },
  38468. "unfreezecharge": {
  38469. "description": "解冻手续费",
  38470. "type": "number"
  38471. },
  38472. "unfreezefirstamount": {
  38473. "description": "解冻首付金额 - [摘牌]",
  38474. "type": "number"
  38475. },
  38476. "unfreezemargin": {
  38477. "description": "解冻保证金",
  38478. "type": "number"
  38479. },
  38480. "userid": {
  38481. "description": "用户ID",
  38482. "type": "integer"
  38483. },
  38484. "uuid": {
  38485. "description": "发起端唯一id",
  38486. "type": "string"
  38487. },
  38488. "validtime": {
  38489. "description": "有效期限",
  38490. "type": "string"
  38491. },
  38492. "validtype": {
  38493. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  38494. "type": "integer"
  38495. },
  38496. "warehousenamedisplay": {
  38497. "type": "string"
  38498. },
  38499. "wrbargainid": {
  38500. "description": "议价申请单ID",
  38501. "type": "integer"
  38502. },
  38503. "wrfactortypeid": {
  38504. "description": "仓单要素类型ID/商品ID(77)",
  38505. "type": "integer"
  38506. },
  38507. "wrpath": {
  38508. "type": "string"
  38509. },
  38510. "wrpricetype": {
  38511. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  38512. "type": "integer"
  38513. },
  38514. "wrstandardid": {
  38515. "description": "现货商品ID",
  38516. "type": "integer"
  38517. },
  38518. "wrtradeorderid": {
  38519. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38520. "type": "string"
  38521. },
  38522. "wrtradeorderstatus": {
  38523. "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:撤单解冻贷款失败",
  38524. "type": "integer"
  38525. },
  38526. "wrtradetype": {
  38527. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38528. "type": "integer"
  38529. },
  38530. "wrtransferuserid": {
  38531. "description": "仓单受让用户 - [摘牌]",
  38532. "type": "integer"
  38533. },
  38534. "zscategory": {
  38535. "description": "钻石分类 - 枚举”ZSCategory“",
  38536. "type": "integer"
  38537. },
  38538. "zscategorydisplay": {
  38539. "description": "钻石分类 - 描述",
  38540. "type": "string"
  38541. },
  38542. "zscerttypedisplay": {
  38543. "type": "string"
  38544. },
  38545. "zsclaritytype1display": {
  38546. "type": "string"
  38547. },
  38548. "zsclaritytype2display": {
  38549. "type": "string"
  38550. },
  38551. "zscolortype1display": {
  38552. "type": "string"
  38553. },
  38554. "zscolortype2display": {
  38555. "type": "string"
  38556. },
  38557. "zscrystaltype": {
  38558. "type": "string"
  38559. },
  38560. "zscrystaltypedisplay": {
  38561. "type": "string"
  38562. },
  38563. "zscurrencytype": {
  38564. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38565. "type": "integer"
  38566. },
  38567. "zscurrencytypedisplay": {
  38568. "type": "string"
  38569. },
  38570. "zscurrencytypedisplayunit": {
  38571. "type": "string"
  38572. },
  38573. "zscuttype1display": {
  38574. "type": "string"
  38575. },
  38576. "zscuttype2display": {
  38577. "type": "string"
  38578. },
  38579. "zsczcolor1typedisplay": {
  38580. "type": "string"
  38581. },
  38582. "zsczcolor2typedisplay": {
  38583. "type": "string"
  38584. },
  38585. "zsczcolor3typedisplay": {
  38586. "type": "string"
  38587. },
  38588. "zsfluorescencetype1display": {
  38589. "type": "string"
  38590. },
  38591. "zsfluorescencetype2display": {
  38592. "type": "string"
  38593. },
  38594. "zspolishtype1display": {
  38595. "type": "string"
  38596. },
  38597. "zspolishtype2display": {
  38598. "type": "string"
  38599. },
  38600. "zsshapetypedisplay": {
  38601. "type": "string"
  38602. },
  38603. "zsstyletypedisplay": {
  38604. "type": "string"
  38605. },
  38606. "zssymmetrytype1display": {
  38607. "type": "string"
  38608. },
  38609. "zssymmetrytype2display": {
  38610. "type": "string"
  38611. }
  38612. }
  38613. },
  38614. "models.SellOrderQueryReq": {
  38615. "type": "object",
  38616. "required": [
  38617. "zscategory"
  38618. ],
  38619. "properties": {
  38620. "origin": {
  38621. "description": "原产地",
  38622. "type": "string"
  38623. },
  38624. "page": {
  38625. "description": "页码",
  38626. "type": "integer"
  38627. },
  38628. "pagesize": {
  38629. "description": "每页大小",
  38630. "type": "integer"
  38631. },
  38632. "total": {
  38633. "description": "总条数",
  38634. "type": "integer"
  38635. },
  38636. "warehouseid": {
  38637. "description": "仓库ID",
  38638. "type": "integer"
  38639. },
  38640. "weight1": {
  38641. "description": "总重量(克拉重量)-从",
  38642. "type": "number"
  38643. },
  38644. "weight2": {
  38645. "description": "总重量(克拉重量)-至",
  38646. "type": "number"
  38647. },
  38648. "weightavg1": {
  38649. "description": "平均单颗重量-从",
  38650. "type": "number"
  38651. },
  38652. "weightavg2": {
  38653. "description": "平均单颗重量-至",
  38654. "type": "number"
  38655. },
  38656. "zscategory": {
  38657. "description": "钻石分类 - 枚举”ZSCategory“",
  38658. "type": "integer"
  38659. },
  38660. "zscerttype": {
  38661. "description": "证书类型",
  38662. "type": "array",
  38663. "items": {
  38664. "type": "string"
  38665. }
  38666. },
  38667. "zsclaritytype": {
  38668. "description": "净度",
  38669. "type": "array",
  38670. "items": {
  38671. "type": "integer"
  38672. }
  38673. },
  38674. "zscolortype": {
  38675. "description": "颜色",
  38676. "type": "array",
  38677. "items": {
  38678. "type": "integer"
  38679. }
  38680. },
  38681. "zscurrencytype": {
  38682. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38683. "type": "array",
  38684. "items": {
  38685. "type": "string"
  38686. }
  38687. },
  38688. "zscuttype": {
  38689. "description": "切工",
  38690. "type": "array",
  38691. "items": {
  38692. "type": "integer"
  38693. }
  38694. },
  38695. "zsczcolor1type": {
  38696. "description": "彩钻颜色1",
  38697. "type": "array",
  38698. "items": {
  38699. "type": "string"
  38700. }
  38701. },
  38702. "zsfluorescencetype": {
  38703. "description": "荧光",
  38704. "type": "array",
  38705. "items": {
  38706. "type": "integer"
  38707. }
  38708. },
  38709. "zspolishtype": {
  38710. "description": "抛光度",
  38711. "type": "array",
  38712. "items": {
  38713. "type": "integer"
  38714. }
  38715. },
  38716. "zsshapetype": {
  38717. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  38718. "type": "array",
  38719. "items": {
  38720. "type": "string"
  38721. }
  38722. },
  38723. "zsstyletype": {
  38724. "description": "款式",
  38725. "type": "array",
  38726. "items": {
  38727. "type": "string"
  38728. }
  38729. },
  38730. "zssymmetrytype": {
  38731. "description": "对称度",
  38732. "type": "array",
  38733. "items": {
  38734. "type": "integer"
  38735. }
  38736. }
  38737. }
  38738. },
  38739. "models.Systemparam": {
  38740. "type": "object",
  38741. "required": [
  38742. "paramcode"
  38743. ],
  38744. "properties": {
  38745. "loginid": {
  38746. "description": "更新用户账号,登录账号",
  38747. "type": "string"
  38748. },
  38749. "modifyflag": {
  38750. "description": "修改标志0 不允许修改 1 允许修改",
  38751. "type": "integer"
  38752. },
  38753. "paramcode": {
  38754. "description": "参数代码",
  38755. "type": "string"
  38756. },
  38757. "paramname": {
  38758. "description": "参数名",
  38759. "type": "string"
  38760. },
  38761. "paramtype": {
  38762. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  38763. "type": "integer"
  38764. },
  38765. "paramvalue": {
  38766. "description": "参数值",
  38767. "type": "string"
  38768. },
  38769. "paramvalue2": {
  38770. "description": "参数值(CLOB)",
  38771. "type": "string"
  38772. },
  38773. "regexpress": {
  38774. "description": "正则表达式",
  38775. "type": "string"
  38776. },
  38777. "remark": {
  38778. "description": "备注",
  38779. "type": "string"
  38780. },
  38781. "serverip": {
  38782. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  38783. "type": "string"
  38784. },
  38785. "showflag": {
  38786. "description": "是否显示0 不显示 1 显示",
  38787. "type": "integer"
  38788. },
  38789. "updatetime": {
  38790. "description": "更新时间",
  38791. "type": "string"
  38792. },
  38793. "userid": {
  38794. "description": "更新用户ID",
  38795. "type": "integer"
  38796. }
  38797. }
  38798. },
  38799. "models.Szdz3convertconfig": {
  38800. "type": "object",
  38801. "required": [
  38802. "converttype",
  38803. "innergoodsid",
  38804. "outergoodscode"
  38805. ],
  38806. "properties": {
  38807. "canin": {
  38808. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  38809. "type": "integer"
  38810. },
  38811. "canout": {
  38812. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  38813. "type": "integer"
  38814. },
  38815. "converttype": {
  38816. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  38817. "type": "integer"
  38818. },
  38819. "createtime": {
  38820. "description": "创建时间",
  38821. "type": "string"
  38822. },
  38823. "creatorid": {
  38824. "description": "创建人",
  38825. "type": "integer"
  38826. },
  38827. "daymaxvalue": {
  38828. "description": "当日最大转入限制",
  38829. "type": "number"
  38830. },
  38831. "freezedays": {
  38832. "description": "冻结天数 [5:花生米转交易]",
  38833. "type": "integer"
  38834. },
  38835. "innergoodsid": {
  38836. "description": "内部商品ID[交易]",
  38837. "type": "integer"
  38838. },
  38839. "inratio": {
  38840. "description": "目标值",
  38841. "type": "integer"
  38842. },
  38843. "modifierid": {
  38844. "description": "修改人",
  38845. "type": "integer"
  38846. },
  38847. "modifytime": {
  38848. "description": "修改时间",
  38849. "type": "string"
  38850. },
  38851. "outergoodscode": {
  38852. "description": "外部商品代码[JD\\PD]",
  38853. "type": "string"
  38854. },
  38855. "outratio": {
  38856. "description": "源值",
  38857. "type": "integer"
  38858. },
  38859. "pddecimalplace": {
  38860. "description": "PD小数位",
  38861. "type": "integer"
  38862. },
  38863. "timemaxvalue": {
  38864. "description": "单次最大转入限制",
  38865. "type": "number"
  38866. },
  38867. "timeminvalue": {
  38868. "description": "单次最小转入限制",
  38869. "type": "number"
  38870. }
  38871. }
  38872. },
  38873. "models.Szdz3searchwhitelist": {
  38874. "type": "object",
  38875. "required": [
  38876. "userid"
  38877. ],
  38878. "properties": {
  38879. "createtime": {
  38880. "description": "创建时间",
  38881. "type": "string"
  38882. },
  38883. "creatorid": {
  38884. "description": "创建人",
  38885. "type": "integer"
  38886. },
  38887. "modifierid": {
  38888. "description": "修改人",
  38889. "type": "integer"
  38890. },
  38891. "modifytime": {
  38892. "description": "修改时间",
  38893. "type": "string"
  38894. },
  38895. "userid": {
  38896. "description": "用户ID",
  38897. "type": "integer"
  38898. }
  38899. }
  38900. },
  38901. "models.TBGoods": {
  38902. "type": "object",
  38903. "properties": {
  38904. "agreeunit": {
  38905. "description": "合约乘数",
  38906. "type": "number"
  38907. },
  38908. "enumdicname": {
  38909. "description": "单位名称",
  38910. "type": "string"
  38911. },
  38912. "goodscode": {
  38913. "description": "商品代码(内部)",
  38914. "type": "string"
  38915. },
  38916. "goodsid": {
  38917. "description": "商品ID(自增ID SEQ_GOODS)",
  38918. "type": "integer"
  38919. },
  38920. "goodsname": {
  38921. "description": "商品名称",
  38922. "type": "string"
  38923. }
  38924. }
  38925. },
  38926. "models.TBGoodsGroup": {
  38927. "type": "object",
  38928. "properties": {
  38929. "GDLST": {
  38930. "description": "商品列表",
  38931. "type": "array",
  38932. "items": {
  38933. "$ref": "#/definitions/models.TBGoods"
  38934. }
  38935. },
  38936. "convertratio": {
  38937. "description": "折算系数",
  38938. "type": "number"
  38939. },
  38940. "enumdicname": {
  38941. "description": "单位名称",
  38942. "type": "string"
  38943. },
  38944. "exexchangecode": {
  38945. "description": "交易所代码",
  38946. "type": "string"
  38947. },
  38948. "exexchangename": {
  38949. "description": "交易所名称",
  38950. "type": "string"
  38951. },
  38952. "goodsgroupid": {
  38953. "description": "商品组ID(自增ID)",
  38954. "type": "integer"
  38955. },
  38956. "goodsgroupname": {
  38957. "description": "商品组名称",
  38958. "type": "string"
  38959. },
  38960. "goodunitid": {
  38961. "description": "报价单位ID",
  38962. "type": "integer"
  38963. }
  38964. }
  38965. },
  38966. "models.TBMiddleGoods": {
  38967. "type": "object",
  38968. "properties": {
  38969. "GPLST": {
  38970. "description": "期货品种列表",
  38971. "type": "array",
  38972. "items": {
  38973. "$ref": "#/definitions/models.TBGoodsGroup"
  38974. }
  38975. },
  38976. "WDLST": {
  38977. "description": "商品信息列表(现货品类)",
  38978. "type": "array",
  38979. "items": {
  38980. "$ref": "#/definitions/models.TBWrstandard"
  38981. }
  38982. },
  38983. "areauserid": {
  38984. "description": "机构用户ID",
  38985. "type": "integer"
  38986. },
  38987. "enumdicname": {
  38988. "description": "单位名称",
  38989. "type": "string"
  38990. },
  38991. "goodsunitid": {
  38992. "description": "套保品种单位id",
  38993. "type": "integer"
  38994. },
  38995. "middlegoodscode": {
  38996. "description": "套保品种代码",
  38997. "type": "string"
  38998. },
  38999. "middlegoodsid": {
  39000. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  39001. "type": "integer"
  39002. },
  39003. "middlegoodsname": {
  39004. "description": "套保品种名称",
  39005. "type": "string"
  39006. },
  39007. "needarbitrageratio": {
  39008. "description": "套利比率",
  39009. "type": "number"
  39010. },
  39011. "needhedgeratio": {
  39012. "description": "套保比率",
  39013. "type": "number"
  39014. }
  39015. }
  39016. },
  39017. "models.TBWrstandard": {
  39018. "type": "object",
  39019. "properties": {
  39020. "convertratio": {
  39021. "description": "折算系数",
  39022. "type": "number"
  39023. },
  39024. "deliverygoodsname": {
  39025. "description": "品种名称",
  39026. "type": "string"
  39027. },
  39028. "enumdicname": {
  39029. "description": "单位名称",
  39030. "type": "string"
  39031. },
  39032. "vatrate": {
  39033. "description": "增值税率",
  39034. "type": "number"
  39035. },
  39036. "wrstandardcode": {
  39037. "description": "现货商品代码",
  39038. "type": "string"
  39039. },
  39040. "wrstandardid": {
  39041. "description": "现货商品ID(SEQ_WRSTANDARD)",
  39042. "type": "integer"
  39043. },
  39044. "wrstandardname": {
  39045. "description": "现货商品名称",
  39046. "type": "string"
  39047. }
  39048. }
  39049. },
  39050. "models.Taaccount": {
  39051. "type": "object",
  39052. "required": [
  39053. "accountid",
  39054. "userid"
  39055. ],
  39056. "properties": {
  39057. "accountflag": {
  39058. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  39059. "type": "integer"
  39060. },
  39061. "accountid": {
  39062. "description": "资金账户ID",
  39063. "type": "integer"
  39064. },
  39065. "accountname": {
  39066. "description": "账户名称",
  39067. "type": "string"
  39068. },
  39069. "balance": {
  39070. "description": "期初余额",
  39071. "type": "number"
  39072. },
  39073. "capitalbalance": {
  39074. "description": "本金余额[外部子账户实际出入金余额]",
  39075. "type": "number"
  39076. },
  39077. "changeflag": {
  39078. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  39079. "type": "integer"
  39080. },
  39081. "changetime": {
  39082. "description": "账户状态变更时间",
  39083. "type": "string"
  39084. },
  39085. "closepl": {
  39086. "description": "今日平仓盈亏",
  39087. "type": "number"
  39088. },
  39089. "creditdecrease": {
  39090. "description": "今日授信减少",
  39091. "type": "number"
  39092. },
  39093. "creditincrease": {
  39094. "description": "今日授信增加",
  39095. "type": "number"
  39096. },
  39097. "curamount": {
  39098. "description": "总市值(从持仓中统计)",
  39099. "type": "number"
  39100. },
  39101. "currencyid": {
  39102. "description": "货币ID",
  39103. "type": "integer"
  39104. },
  39105. "currentbalance": {
  39106. "description": "期末余额",
  39107. "type": "number"
  39108. },
  39109. "freezecharge": {
  39110. "description": "手续费冻结",
  39111. "type": "number"
  39112. },
  39113. "freezemargin": {
  39114. "description": "冻结保证金",
  39115. "type": "number"
  39116. },
  39117. "fromaccountid": {
  39118. "description": "所属上级账户",
  39119. "type": "integer"
  39120. },
  39121. "inamount": {
  39122. "description": "今日入金金额(包括三方入金)",
  39123. "type": "number"
  39124. },
  39125. "ismain": {
  39126. "description": "是否母账号 0:不是母账户 1:是母账户",
  39127. "type": "integer"
  39128. },
  39129. "ismarketaccount": {
  39130. "description": "是否机构接单账号 0:不是 1:是",
  39131. "type": "integer"
  39132. },
  39133. "isreckonaccount": {
  39134. "description": "是否机构分润账号 0:不是 1:是",
  39135. "type": "integer"
  39136. },
  39137. "mortgagecredit": {
  39138. "description": "授信金额",
  39139. "type": "number"
  39140. },
  39141. "orifreezecharge": {
  39142. "description": "期初手续费冻结",
  39143. "type": "number"
  39144. },
  39145. "orifreezemargin": {
  39146. "description": "期初冻结保证金",
  39147. "type": "number"
  39148. },
  39149. "orimortgagecredit": {
  39150. "description": "期初授信金额",
  39151. "type": "number"
  39152. },
  39153. "oriothercredit": {
  39154. "description": "期初其它授信金额",
  39155. "type": "number"
  39156. },
  39157. "oriotherfreezemargin": {
  39158. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  39159. "type": "number"
  39160. },
  39161. "orioutamountfreeze": {
  39162. "description": "期初出金冻结",
  39163. "type": "number"
  39164. },
  39165. "oriusedmargin": {
  39166. "description": "期初占用保证金",
  39167. "type": "number"
  39168. },
  39169. "othercredit": {
  39170. "description": "其它授信金额",
  39171. "type": "number"
  39172. },
  39173. "othercreditdecrease": {
  39174. "description": "今日其它授信减少",
  39175. "type": "number"
  39176. },
  39177. "othercreditincrease": {
  39178. "description": "今日其它授信增加",
  39179. "type": "number"
  39180. },
  39181. "otherfreezemargin": {
  39182. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  39183. "type": "number"
  39184. },
  39185. "otherincome": {
  39186. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  39187. "type": "number"
  39188. },
  39189. "otherpay": {
  39190. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  39191. "type": "number"
  39192. },
  39193. "outamount": {
  39194. "description": "今日出金金额(包括三方出金)",
  39195. "type": "number"
  39196. },
  39197. "outamountfreeze": {
  39198. "description": "出金冻结",
  39199. "type": "number"
  39200. },
  39201. "outthreshold": {
  39202. "description": "出金阈值",
  39203. "type": "number"
  39204. },
  39205. "parentaccountid": {
  39206. "description": "所属根账号",
  39207. "type": "integer"
  39208. },
  39209. "paycharge": {
  39210. "description": "今日手续费支出",
  39211. "type": "number"
  39212. },
  39213. "relatedaccountstatus": {
  39214. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  39215. "type": "integer"
  39216. },
  39217. "relateduserid": {
  39218. "description": "关联用户",
  39219. "type": "integer"
  39220. },
  39221. "remainamount": {
  39222. "description": "融资额(从融资合同中统计)",
  39223. "type": "number"
  39224. },
  39225. "serivcegroup": {
  39226. "description": "服务分组",
  39227. "type": "integer"
  39228. },
  39229. "signstatus": {
  39230. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  39231. "type": "integer"
  39232. },
  39233. "sublevelpath": {
  39234. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  39235. "type": "string"
  39236. },
  39237. "taaccounttype": {
  39238. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  39239. "type": "integer"
  39240. },
  39241. "thirdinamount": {
  39242. "description": "今日三方入金",
  39243. "type": "number"
  39244. },
  39245. "thirdoutamount": {
  39246. "description": "今日三方出金",
  39247. "type": "number"
  39248. },
  39249. "tradestatus": {
  39250. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  39251. "type": "integer"
  39252. },
  39253. "tradestatuschangetime": {
  39254. "description": "激活时间",
  39255. "type": "string"
  39256. },
  39257. "transferamount": {
  39258. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  39259. "type": "number"
  39260. },
  39261. "usedmargin": {
  39262. "description": "占用保证金",
  39263. "type": "number"
  39264. },
  39265. "userid": {
  39266. "description": "用户ID",
  39267. "type": "integer"
  39268. }
  39269. }
  39270. },
  39271. "models.Tablecolumnconfig": {
  39272. "type": "object",
  39273. "required": [
  39274. "autoid"
  39275. ],
  39276. "properties": {
  39277. "aligntype": {
  39278. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  39279. "type": "integer"
  39280. },
  39281. "autoid": {
  39282. "description": "AutoID",
  39283. "type": "integer"
  39284. },
  39285. "columnfield": {
  39286. "description": "列字段",
  39287. "type": "string"
  39288. },
  39289. "columntitle": {
  39290. "description": "列Title",
  39291. "type": "string"
  39292. },
  39293. "columnwidth": {
  39294. "description": "列宽",
  39295. "type": "string"
  39296. },
  39297. "fixed": {
  39298. "description": "固定类型 - 空 | left | right",
  39299. "type": "string"
  39300. },
  39301. "formatterstring": {
  39302. "description": "格式化字符",
  39303. "type": "string"
  39304. },
  39305. "formattertype": {
  39306. "description": "格式化类型",
  39307. "type": "string"
  39308. },
  39309. "groupname": {
  39310. "description": "表头分组名称",
  39311. "type": "string"
  39312. },
  39313. "ismerge": {
  39314. "description": "是否合并显示 - 0:不合并 1:合并",
  39315. "type": "integer"
  39316. },
  39317. "isshow": {
  39318. "description": "是否显示 - 0:不显示 1:显示",
  39319. "type": "integer"
  39320. },
  39321. "needsummary": {
  39322. "description": "是否需要汇总 - 0:不需要 1:需要",
  39323. "type": "integer"
  39324. },
  39325. "orderindex": {
  39326. "description": "顺序",
  39327. "type": "integer"
  39328. },
  39329. "remark": {
  39330. "description": "备注",
  39331. "type": "string"
  39332. },
  39333. "summarytype": {
  39334. "description": "汇总类型 - 1:加总 2:最后一个",
  39335. "type": "integer"
  39336. },
  39337. "tablekey": {
  39338. "description": "列表Key",
  39339. "type": "string"
  39340. }
  39341. }
  39342. },
  39343. "models.TjmdHolderDetailTradeInfo": {
  39344. "type": "object",
  39345. "properties": {
  39346. "agreeunit": {
  39347. "description": "合约乘数",
  39348. "type": "number"
  39349. },
  39350. "buyaccountid": {
  39351. "description": "买方账户",
  39352. "type": "string"
  39353. },
  39354. "buyusername": {
  39355. "description": "买方",
  39356. "type": "string"
  39357. },
  39358. "delistingdate": {
  39359. "description": "最后结算日",
  39360. "type": "string"
  39361. },
  39362. "expiredate": {
  39363. "description": "到期结算价定价日",
  39364. "type": "string"
  39365. },
  39366. "exprieprice": {
  39367. "description": "到期清算价格",
  39368. "type": "string"
  39369. },
  39370. "goodscode": {
  39371. "description": "商品代码",
  39372. "type": "string"
  39373. },
  39374. "goodsid": {
  39375. "description": "商品ID",
  39376. "type": "integer"
  39377. },
  39378. "goodsname": {
  39379. "description": "商品名称(交易标的)",
  39380. "type": "string"
  39381. },
  39382. "lasttradedate": {
  39383. "description": "最后交易日",
  39384. "type": "string"
  39385. },
  39386. "listingdate": {
  39387. "description": "开始交易日",
  39388. "type": "string"
  39389. },
  39390. "openprice": {
  39391. "description": "成交价",
  39392. "type": "number"
  39393. },
  39394. "openqty": {
  39395. "description": "交易数量",
  39396. "type": "integer"
  39397. },
  39398. "sellaccountid": {
  39399. "description": "卖方账户",
  39400. "type": "string"
  39401. },
  39402. "sellusername": {
  39403. "description": "卖方",
  39404. "type": "string"
  39405. },
  39406. "tradeamount": {
  39407. "description": "初始名义价值",
  39408. "type": "number"
  39409. },
  39410. "tradedate": {
  39411. "description": "成交日期",
  39412. "type": "string"
  39413. },
  39414. "tradeid": {
  39415. "description": "成交编号",
  39416. "type": "string"
  39417. }
  39418. }
  39419. },
  39420. "models.TjmdMarketSection": {
  39421. "type": "object",
  39422. "properties": {
  39423. "marketsectionid": {
  39424. "description": "市场版块ID(SEQ_MARKETSECTION)",
  39425. "type": "integer"
  39426. },
  39427. "marketsectionname": {
  39428. "description": "市场版块名称",
  39429. "type": "string"
  39430. },
  39431. "mlist": {
  39432. "description": "市场列表(板块下面有多少个市场)",
  39433. "type": "array",
  39434. "items": {
  39435. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  39436. }
  39437. },
  39438. "orderindex": {
  39439. "description": "排序",
  39440. "type": "integer"
  39441. },
  39442. "pictureurl": {
  39443. "description": "图片url, 规格(90*90)",
  39444. "type": "string"
  39445. },
  39446. "remark": {
  39447. "description": "备注",
  39448. "type": "string"
  39449. }
  39450. }
  39451. },
  39452. "models.TjmdMarketSectionConfig": {
  39453. "type": "object",
  39454. "properties": {
  39455. "auctionwrtype": {
  39456. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  39457. "type": "integer"
  39458. },
  39459. "canacceptquote": {
  39460. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  39461. "type": "integer"
  39462. },
  39463. "cangoodsexercise": {
  39464. "description": "[期权]是否可现货行权- 0:否 1:是",
  39465. "type": "integer"
  39466. },
  39467. "cangoodsexercisetype": {
  39468. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  39469. "type": "integer"
  39470. },
  39471. "canmanualquotestrike": {
  39472. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  39473. "type": "integer"
  39474. },
  39475. "canmutistage": {
  39476. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  39477. "type": "integer"
  39478. },
  39479. "canpreexercise": {
  39480. "description": "[期权]是否可预申报- 0:否 1:是",
  39481. "type": "integer"
  39482. },
  39483. "clearinterval": {
  39484. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  39485. "type": "integer"
  39486. },
  39487. "contracttmp": {
  39488. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  39489. "type": "string"
  39490. },
  39491. "exchareaid": {
  39492. "description": "所属交易所,可以没有",
  39493. "type": "integer"
  39494. },
  39495. "financemarketid": {
  39496. "description": "融资回购市场ID [仓单贸易]",
  39497. "type": "integer"
  39498. },
  39499. "goodstype": {
  39500. "description": "商品类型 - 1:交易商品 2:仓单商品",
  39501. "type": "integer"
  39502. },
  39503. "hasrebate": {
  39504. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  39505. "type": "integer"
  39506. },
  39507. "hastradecredit": {
  39508. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  39509. "type": "integer"
  39510. },
  39511. "haswr": {
  39512. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  39513. "type": "integer"
  39514. },
  39515. "isdeductmargin": {
  39516. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  39517. "type": "integer"
  39518. },
  39519. "isrecordsource": {
  39520. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  39521. "type": "integer"
  39522. },
  39523. "isreleasemargin": {
  39524. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  39525. "type": "integer"
  39526. },
  39527. "isupdatereckonprice": {
  39528. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  39529. "type": "integer"
  39530. },
  39531. "listingmode": {
  39532. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39533. "type": "integer"
  39534. },
  39535. "marginformula": {
  39536. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  39537. "type": "integer"
  39538. },
  39539. "marginformula2": {
  39540. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  39541. "type": "integer"
  39542. },
  39543. "marketid": {
  39544. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  39545. "type": "integer"
  39546. },
  39547. "marketname": {
  39548. "description": "市场名称",
  39549. "type": "string"
  39550. },
  39551. "marketsectionid": {
  39552. "description": "市场版块ID(SEQ_MARKETSECTION)",
  39553. "type": "integer"
  39554. },
  39555. "marketserviceid": {
  39556. "description": "市场服务ID",
  39557. "type": "integer"
  39558. },
  39559. "marketstatus": {
  39560. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  39561. "type": "integer"
  39562. },
  39563. "markettype": {
  39564. "description": "市场类型- 1:非交易服务 2:交易服务",
  39565. "type": "integer"
  39566. },
  39567. "matchermode": {
  39568. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  39569. "type": "integer"
  39570. },
  39571. "nowrquotaflag": {
  39572. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  39573. "type": "integer"
  39574. },
  39575. "openmethod": {
  39576. "description": "开盘模式 - 0 自动 1手动",
  39577. "type": "integer"
  39578. },
  39579. "orderindex": {
  39580. "description": "排序",
  39581. "type": "integer"
  39582. },
  39583. "otcuserid": {
  39584. "description": "场外期权做市商[场外期权]",
  39585. "type": "integer"
  39586. },
  39587. "outersynctime": {
  39588. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  39589. "type": "string"
  39590. },
  39591. "paylaterflag": {
  39592. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  39593. "type": "integer"
  39594. },
  39595. "pendingflag": {
  39596. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  39597. "type": "integer"
  39598. },
  39599. "pendingtime": {
  39600. "description": "待开市时间[通道交易-对冲](HH:mm)",
  39601. "type": "string"
  39602. },
  39603. "performancetempid": {
  39604. "description": "履约计划模板ID - 作废",
  39605. "type": "integer"
  39606. },
  39607. "premiumquotemode": {
  39608. "description": "权利金报价方式 - 1:自动 2:手动",
  39609. "type": "integer"
  39610. },
  39611. "rebateratio": {
  39612. "description": "返利比率[竞价式]",
  39613. "type": "number"
  39614. },
  39615. "reckonorder": {
  39616. "description": "结算顺序",
  39617. "type": "integer"
  39618. },
  39619. "reckonpricealgorithm": {
  39620. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  39621. "type": "integer"
  39622. },
  39623. "reckonpriceparam": {
  39624. "description": "结算价参数",
  39625. "type": "integer"
  39626. },
  39627. "reckontime": {
  39628. "description": "结算时间[通道交易-对冲](HH:mm)",
  39629. "type": "string"
  39630. },
  39631. "roleprioritytype": {
  39632. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  39633. "type": "integer"
  39634. },
  39635. "selllistingauditflag": {
  39636. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  39637. "type": "integer"
  39638. },
  39639. "trademarkettype": {
  39640. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  39641. "type": "integer"
  39642. },
  39643. "trademode": {
  39644. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39645. "type": "integer"
  39646. },
  39647. "tradeproperty": {
  39648. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  39649. "type": "integer"
  39650. },
  39651. "tradetype": {
  39652. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  39653. "type": "integer"
  39654. },
  39655. "updatereckonpriceinterval": {
  39656. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  39657. "type": "integer"
  39658. }
  39659. }
  39660. },
  39661. "models.TjmdQuoteGoods": {
  39662. "type": "object",
  39663. "properties": {
  39664. "buyqty": {
  39665. "description": "买量(暂不做, 无值, 保留字段)",
  39666. "type": "number"
  39667. },
  39668. "decimalplace": {
  39669. "description": "报价小数位",
  39670. "type": "integer"
  39671. },
  39672. "goodscode": {
  39673. "description": "合约代码",
  39674. "type": "string"
  39675. },
  39676. "goodsgroupid": {
  39677. "description": "商品组ID(自增ID)",
  39678. "type": "integer"
  39679. },
  39680. "goodsgroupname": {
  39681. "description": "商品组名称",
  39682. "type": "string"
  39683. },
  39684. "goodsid": {
  39685. "description": "合约id",
  39686. "type": "integer"
  39687. },
  39688. "goodsname": {
  39689. "description": "合约名称",
  39690. "type": "string"
  39691. },
  39692. "refgoodscode": {
  39693. "description": "标的合约代码",
  39694. "type": "string"
  39695. },
  39696. "refgoodsid": {
  39697. "description": "标的合约id",
  39698. "type": "integer"
  39699. },
  39700. "refgoodsname": {
  39701. "description": "标的合约名称",
  39702. "type": "string"
  39703. },
  39704. "sellqty": {
  39705. "description": "卖量(暂不做, 无值, 保留字段)",
  39706. "type": "number"
  39707. }
  39708. }
  39709. },
  39710. "models.TjmdTodayAccountMargin": {
  39711. "type": "object",
  39712. "properties": {
  39713. "accountid": {
  39714. "description": "账号ID",
  39715. "type": "integer"
  39716. },
  39717. "goodsid": {
  39718. "description": "商品ID",
  39719. "type": "integer"
  39720. },
  39721. "infoc": {
  39722. "description": "配置参数",
  39723. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  39724. },
  39725. "marketid": {
  39726. "description": "市场ID",
  39727. "type": "integer"
  39728. }
  39729. }
  39730. },
  39731. "models.TjmdTradeOrderDetail": {
  39732. "type": "object",
  39733. "properties": {
  39734. "buyorsell": {
  39735. "description": "买卖方向 0-买 1-卖",
  39736. "type": "integer"
  39737. },
  39738. "goodsid": {
  39739. "description": "商品id",
  39740. "type": "integer"
  39741. },
  39742. "marketmaxsub": {
  39743. "description": "市价最大偏移范围 [浮动价 - 点差]",
  39744. "type": "number"
  39745. },
  39746. "orderid": {
  39747. "description": "委托单号",
  39748. "type": "string"
  39749. },
  39750. "orderprice": {
  39751. "description": "期初均价",
  39752. "type": "number"
  39753. },
  39754. "orderqty": {
  39755. "description": "委托数量",
  39756. "type": "integer"
  39757. },
  39758. "pricemode": {
  39759. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  39760. "type": "integer"
  39761. },
  39762. "userid": {
  39763. "description": "用户id",
  39764. "type": "integer"
  39765. },
  39766. "username": {
  39767. "description": "用户名称(已脱敏)",
  39768. "type": "string"
  39769. }
  39770. }
  39771. },
  39772. "models.TjmdTransferApply": {
  39773. "type": "object",
  39774. "properties": {
  39775. "applyid": {
  39776. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  39777. "type": "integer"
  39778. },
  39779. "applystatus": {
  39780. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  39781. "type": "integer"
  39782. },
  39783. "applytime": {
  39784. "description": "申请时间(时间)",
  39785. "type": "string"
  39786. },
  39787. "auditremark": {
  39788. "description": "审核备注(拒绝原因?)",
  39789. "type": "string"
  39790. },
  39791. "begindate": {
  39792. "description": "开始交易日(yyyymmdd)",
  39793. "type": "string"
  39794. },
  39795. "buyorsell": {
  39796. "description": "买卖 - 0:买 1:卖",
  39797. "type": "integer"
  39798. },
  39799. "enddate": {
  39800. "description": "结束交易日(yyyymmdd)",
  39801. "type": "string"
  39802. },
  39803. "goodscode": {
  39804. "description": "商品代码",
  39805. "type": "string"
  39806. },
  39807. "goodsid": {
  39808. "description": "商品ID",
  39809. "type": "integer"
  39810. },
  39811. "goodsname": {
  39812. "description": "商品名称",
  39813. "type": "string"
  39814. },
  39815. "marketid": {
  39816. "description": "市场ID",
  39817. "type": "integer"
  39818. },
  39819. "qty": {
  39820. "description": "期初均价",
  39821. "type": "number"
  39822. },
  39823. "tradeid": {
  39824. "description": "成交单号(关联持仓)",
  39825. "type": "string"
  39826. },
  39827. "transferamount": {
  39828. "description": "转让总金额(金额)",
  39829. "type": "number"
  39830. },
  39831. "transferprice": {
  39832. "description": "转让价格(协议价格)",
  39833. "type": "number"
  39834. }
  39835. }
  39836. },
  39837. "models.TradeHolderDetail": {
  39838. "type": "object",
  39839. "properties": {
  39840. "accountid": {
  39841. "description": "账号ID",
  39842. "type": "integer"
  39843. },
  39844. "agreeunit": {
  39845. "description": "合约乘数",
  39846. "type": "number"
  39847. },
  39848. "buyorsell": {
  39849. "description": "方向 - 0:买 1:卖",
  39850. "type": "integer"
  39851. },
  39852. "currencyid": {
  39853. "description": "商品币种id",
  39854. "type": "integer"
  39855. },
  39856. "currencyname": {
  39857. "description": "币种名称",
  39858. "type": "string"
  39859. },
  39860. "decimalplace": {
  39861. "description": "商品价格小数位",
  39862. "type": "integer"
  39863. },
  39864. "enumdicname": {
  39865. "description": "商品单位名称",
  39866. "type": "string"
  39867. },
  39868. "expirecycle": {
  39869. "description": "行权周期(天) - 1:滚动行权时填写",
  39870. "type": "integer"
  39871. },
  39872. "expiredate": {
  39873. "description": "行权日(yyyyMMdd) - 到期日",
  39874. "type": "string"
  39875. },
  39876. "expiretype": {
  39877. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  39878. "type": "integer"
  39879. },
  39880. "freezeqty": {
  39881. "description": "期初均价",
  39882. "type": "number"
  39883. },
  39884. "goodscode": {
  39885. "description": "商品代码",
  39886. "type": "string"
  39887. },
  39888. "goodsid": {
  39889. "description": "商品ID",
  39890. "type": "integer"
  39891. },
  39892. "goodsname": {
  39893. "description": "商品名称",
  39894. "type": "string"
  39895. },
  39896. "goodunitid": {
  39897. "description": "商品单位id",
  39898. "type": "integer"
  39899. },
  39900. "holderamount": {
  39901. "description": "持仓金额",
  39902. "type": "number"
  39903. },
  39904. "holdercredit": {
  39905. "description": "持仓授信金额",
  39906. "type": "number"
  39907. },
  39908. "holderdays": {
  39909. "description": "剩余冻结天数",
  39910. "type": "integer"
  39911. },
  39912. "holderprice": {
  39913. "description": "持仓价格",
  39914. "type": "number"
  39915. },
  39916. "holderqty": {
  39917. "description": "期初均价",
  39918. "type": "number"
  39919. },
  39920. "isconfirmexercise": {
  39921. "description": "是否确认行权- 0:否 1:是",
  39922. "type": "integer"
  39923. },
  39924. "ispreexercise": {
  39925. "description": "是否预申报- 0:否 1:是 2:不可行权",
  39926. "type": "integer"
  39927. },
  39928. "marketid": {
  39929. "description": "市场id",
  39930. "type": "integer"
  39931. },
  39932. "marketname": {
  39933. "description": "市场名称",
  39934. "type": "string"
  39935. },
  39936. "openprice": {
  39937. "description": "建仓价格",
  39938. "type": "number"
  39939. },
  39940. "openqty": {
  39941. "description": "期初均价",
  39942. "type": "number"
  39943. },
  39944. "optiontype": {
  39945. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39946. "type": "integer"
  39947. },
  39948. "preexerciseprice": {
  39949. "description": "预申报价格",
  39950. "type": "number"
  39951. },
  39952. "premium": {
  39953. "description": "权利金",
  39954. "type": "number"
  39955. },
  39956. "qtydecimalplace": {
  39957. "description": "商品成交量小数位",
  39958. "type": "integer"
  39959. },
  39960. "refgoodscode": {
  39961. "description": "标的合约代码",
  39962. "type": "string"
  39963. },
  39964. "refgoodsid": {
  39965. "description": "标的合约id",
  39966. "type": "integer"
  39967. },
  39968. "releaseamount": {
  39969. "description": "释放持仓金额",
  39970. "type": "number"
  39971. },
  39972. "releaseholdercredit": {
  39973. "description": "释放持仓授信金额",
  39974. "type": "number"
  39975. },
  39976. "taname": {
  39977. "description": "资金账号名称",
  39978. "type": "string"
  39979. },
  39980. "tradeamount": {
  39981. "description": "成交金额",
  39982. "type": "number"
  39983. },
  39984. "tradedate": {
  39985. "description": "交易日(yyyyMMdd)",
  39986. "type": "string"
  39987. },
  39988. "tradeid": {
  39989. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39990. "type": "string"
  39991. },
  39992. "trademode": {
  39993. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  39994. "type": "integer"
  39995. },
  39996. "tradeproperty": {
  39997. "description": "交易属性",
  39998. "type": "integer"
  39999. },
  40000. "tradetime": {
  40001. "description": "交易时间",
  40002. "type": "string"
  40003. },
  40004. "userid": {
  40005. "description": "用户id",
  40006. "type": "integer"
  40007. },
  40008. "username": {
  40009. "description": "用户名称",
  40010. "type": "string"
  40011. }
  40012. }
  40013. },
  40014. "models.Unlinkermcphedgeplan": {
  40015. "type": "object",
  40016. "required": [
  40017. "areauserid"
  40018. ],
  40019. "properties": {
  40020. "accountid": {
  40021. "description": "期货账户ID - 作废",
  40022. "type": "integer"
  40023. },
  40024. "accountname": {
  40025. "description": "交易用户",
  40026. "type": "string"
  40027. },
  40028. "applyid": {
  40029. "description": "申请人",
  40030. "type": "integer"
  40031. },
  40032. "applysrc": {
  40033. "description": "申请来源 - 1:管理端 2:终端",
  40034. "type": "integer"
  40035. },
  40036. "applytime": {
  40037. "description": "申请时间",
  40038. "type": "string"
  40039. },
  40040. "areauserid": {
  40041. "description": "[企业ID]机构ID",
  40042. "type": "integer"
  40043. },
  40044. "auditid": {
  40045. "description": "审核人",
  40046. "type": "integer"
  40047. },
  40048. "auditremark": {
  40049. "description": "审核备注",
  40050. "type": "string"
  40051. },
  40052. "auditsrc": {
  40053. "description": "审核来源 - 1:管理端 2:终端",
  40054. "type": "integer"
  40055. },
  40056. "audittime": {
  40057. "description": "审核时间",
  40058. "type": "string"
  40059. },
  40060. "audittradedate": {
  40061. "description": "审核交易日(yyyyMMdd)",
  40062. "type": "string"
  40063. },
  40064. "biztype": {
  40065. "description": "业务类型 - 1:套保",
  40066. "type": "integer"
  40067. },
  40068. "contracttype": {
  40069. "description": "计划类型 - 1:采购 -1:销售",
  40070. "type": "integer"
  40071. },
  40072. "convertfactor": {
  40073. "description": "标仓系数 - 作废",
  40074. "type": "number"
  40075. },
  40076. "createtime": {
  40077. "description": "创建时间",
  40078. "type": "string"
  40079. },
  40080. "currencyid": {
  40081. "description": "结算币种ID - 作废",
  40082. "type": "integer"
  40083. },
  40084. "deliverygoodsid": {
  40085. "description": "现货品种ID",
  40086. "type": "integer"
  40087. },
  40088. "enumdicname": {
  40089. "description": "结算币种",
  40090. "type": "string"
  40091. },
  40092. "hedgeplanid": {
  40093. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  40094. "type": "string"
  40095. },
  40096. "hedgeplanno": {
  40097. "description": "[计划编号]套保计划编号,模糊查询",
  40098. "type": "string"
  40099. },
  40100. "hedgeplanstatus": {
  40101. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  40102. "type": "integer"
  40103. },
  40104. "isrelated": {
  40105. "description": "是否已关联计划项目 - 0:否 1:是",
  40106. "type": "integer"
  40107. },
  40108. "planqty": {
  40109. "description": "[计划量]计划数量",
  40110. "type": "number"
  40111. },
  40112. "plantime": {
  40113. "description": "计划时间",
  40114. "type": "string"
  40115. },
  40116. "producttype": {
  40117. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  40118. "type": "integer"
  40119. },
  40120. "remark": {
  40121. "description": "备注",
  40122. "type": "string"
  40123. },
  40124. "spotgoodsdesc": {
  40125. "description": "商品型号",
  40126. "type": "string"
  40127. },
  40128. "tradedate": {
  40129. "description": "交易日(yyyyMMdd)",
  40130. "type": "string"
  40131. },
  40132. "tradeuserid": {
  40133. "description": "交易用户ID",
  40134. "type": "integer"
  40135. },
  40136. "updatetime": {
  40137. "description": "更新时间",
  40138. "type": "string"
  40139. },
  40140. "wrstandardid": {
  40141. "description": "现货商品ID",
  40142. "type": "integer"
  40143. },
  40144. "wrstandardname": {
  40145. "description": "现货商品,模糊查询",
  40146. "type": "string"
  40147. }
  40148. }
  40149. },
  40150. "models.UserCollectConfig": {
  40151. "type": "object",
  40152. "properties": {
  40153. "accountstatus": {
  40154. "description": "账户状态 - 1:正常 2:停用 3:注销",
  40155. "type": "integer"
  40156. },
  40157. "collectaccountname": {
  40158. "description": "收款人账户名称",
  40159. "type": "string"
  40160. },
  40161. "collectaccountno": {
  40162. "description": "收款人账户",
  40163. "type": "string"
  40164. },
  40165. "collectbankname": {
  40166. "description": "收款人开户行",
  40167. "type": "string"
  40168. },
  40169. "collectbranchbankname": {
  40170. "description": "收款人开户支行",
  40171. "type": "string"
  40172. },
  40173. "collectconfigid": {
  40174. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  40175. "type": "string"
  40176. },
  40177. "remark": {
  40178. "description": "备注",
  40179. "type": "string"
  40180. },
  40181. "userid": {
  40182. "description": "收款人用户ID",
  40183. "type": "integer"
  40184. }
  40185. }
  40186. },
  40187. "models.UserReceiveInfo": {
  40188. "type": "object",
  40189. "properties": {
  40190. "address": {
  40191. "description": "提货人详细地址",
  40192. "type": "string"
  40193. },
  40194. "autoid": {
  40195. "description": "AutoID",
  40196. "type": "integer"
  40197. },
  40198. "cardnum": {
  40199. "description": "证件号码(加密存储)",
  40200. "type": "string"
  40201. },
  40202. "cardtypeid": {
  40203. "description": "证件类型",
  40204. "type": "integer"
  40205. },
  40206. "cityid": {
  40207. "description": "市",
  40208. "type": "integer"
  40209. },
  40210. "cityname": {
  40211. "description": "城市名称",
  40212. "type": "string"
  40213. },
  40214. "countryid": {
  40215. "description": "国家",
  40216. "type": "integer"
  40217. },
  40218. "countryname": {
  40219. "description": "国家名称",
  40220. "type": "string"
  40221. },
  40222. "districtid": {
  40223. "description": "地区",
  40224. "type": "integer"
  40225. },
  40226. "districtname": {
  40227. "description": "地区名称",
  40228. "type": "string"
  40229. },
  40230. "hasencrypt": {
  40231. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40232. "type": "integer"
  40233. },
  40234. "isdefault": {
  40235. "description": "是否默认地址 - 0:否 1:是",
  40236. "type": "integer"
  40237. },
  40238. "phonenum": {
  40239. "description": "提货人联系方式(加密存储)",
  40240. "type": "string"
  40241. },
  40242. "provinceid": {
  40243. "description": "省",
  40244. "type": "integer"
  40245. },
  40246. "provincename": {
  40247. "description": "省名称",
  40248. "type": "string"
  40249. },
  40250. "receivername": {
  40251. "description": "提货人姓名",
  40252. "type": "string"
  40253. },
  40254. "takeremark": {
  40255. "description": "提货备注",
  40256. "type": "string"
  40257. },
  40258. "userid": {
  40259. "description": "用户ID",
  40260. "type": "integer"
  40261. }
  40262. }
  40263. },
  40264. "models.Useraccount": {
  40265. "type": "object",
  40266. "required": [
  40267. "userid"
  40268. ],
  40269. "properties": {
  40270. "accountname": {
  40271. "description": "账户名称(机构名称)",
  40272. "type": "string"
  40273. },
  40274. "accountstatus": {
  40275. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  40276. "type": "integer"
  40277. },
  40278. "applysrc": {
  40279. "description": "申请来源 - 1:管理端 2:终端",
  40280. "type": "integer"
  40281. },
  40282. "auditremark": {
  40283. "description": "审核备注",
  40284. "type": "string"
  40285. },
  40286. "auditsrc": {
  40287. "description": "审核来源 - 1:管理端 2:终端",
  40288. "type": "integer"
  40289. },
  40290. "audittime": {
  40291. "description": "审核时间",
  40292. "type": "string"
  40293. },
  40294. "audituserid": {
  40295. "description": "审核人",
  40296. "type": "integer"
  40297. },
  40298. "broker": {
  40299. "description": "所属经纪人ID",
  40300. "type": "integer"
  40301. },
  40302. "canceltime": {
  40303. "description": "销户时间",
  40304. "type": "string"
  40305. },
  40306. "canceluserid": {
  40307. "description": "销户人",
  40308. "type": "integer"
  40309. },
  40310. "canrecommend": {
  40311. "description": "是否可推荐 - 0:不可 1;可",
  40312. "type": "integer"
  40313. },
  40314. "createtime": {
  40315. "description": "创建时间",
  40316. "type": "string"
  40317. },
  40318. "creatorid": {
  40319. "description": "创建人",
  40320. "type": "integer"
  40321. },
  40322. "hasauth": {
  40323. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  40324. "type": "integer"
  40325. },
  40326. "isanonymous": {
  40327. "description": "是否匿名下单 - 0:否 1:是",
  40328. "type": "integer"
  40329. },
  40330. "maxinvestornum": {
  40331. "description": "最大用户数(经纪会员下投资者个数)",
  40332. "type": "integer"
  40333. },
  40334. "memberuserid": {
  40335. "description": "所属会员ID",
  40336. "type": "integer"
  40337. },
  40338. "modifierid": {
  40339. "description": "修改人",
  40340. "type": "integer"
  40341. },
  40342. "modifyremark": {
  40343. "description": "变更备注",
  40344. "type": "string"
  40345. },
  40346. "modifystatus": {
  40347. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  40348. "type": "integer"
  40349. },
  40350. "modifytime": {
  40351. "description": "修改时间",
  40352. "type": "string"
  40353. },
  40354. "parenttopuser": {
  40355. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  40356. "type": "string"
  40357. },
  40358. "parentuserid": {
  40359. "description": "所属机构ID",
  40360. "type": "integer"
  40361. },
  40362. "reckonaccountid": {
  40363. "description": "默认结算资金账号ID(机构分润使用) 作废",
  40364. "type": "integer"
  40365. },
  40366. "refercount": {
  40367. "description": "推荐总人数",
  40368. "type": "integer"
  40369. },
  40370. "refereeuserid": {
  40371. "description": "推荐人ID",
  40372. "type": "integer"
  40373. },
  40374. "refernum": {
  40375. "description": "推荐码",
  40376. "type": "string"
  40377. },
  40378. "rootuserid": {
  40379. "description": "根用户ID",
  40380. "type": "integer"
  40381. },
  40382. "subaccountlevel": {
  40383. "description": "子账户层数",
  40384. "type": "integer"
  40385. },
  40386. "subarealevelpath": {
  40387. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  40388. "type": "string"
  40389. },
  40390. "userid": {
  40391. "description": "用户ID",
  40392. "type": "integer"
  40393. },
  40394. "usertype": {
  40395. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  40396. "type": "integer"
  40397. }
  40398. }
  40399. },
  40400. "models.Userfavoritegoods": {
  40401. "type": "object",
  40402. "required": [
  40403. "goodsid"
  40404. ],
  40405. "properties": {
  40406. "goodsid": {
  40407. "description": "商品ID",
  40408. "type": "integer"
  40409. }
  40410. }
  40411. },
  40412. "models.Userinfo": {
  40413. "type": "object",
  40414. "required": [
  40415. "userid"
  40416. ],
  40417. "properties": {
  40418. "address": {
  40419. "description": "地址",
  40420. "type": "string"
  40421. },
  40422. "attachment1": {
  40423. "description": "附件1",
  40424. "type": "string"
  40425. },
  40426. "attachment2": {
  40427. "description": "附件2",
  40428. "type": "string"
  40429. },
  40430. "bankaccount": {
  40431. "description": "银行帐号 (加密存储)",
  40432. "type": "string"
  40433. },
  40434. "bankaccountname": {
  40435. "description": "收款人名称",
  40436. "type": "string"
  40437. },
  40438. "bankcardfrontphotourl": {
  40439. "description": "银行卡正面照地址",
  40440. "type": "string"
  40441. },
  40442. "bankid": {
  40443. "description": "银行编码",
  40444. "type": "string"
  40445. },
  40446. "bankname": {
  40447. "description": "银行名称",
  40448. "type": "string"
  40449. },
  40450. "biznature": {
  40451. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  40452. "type": "integer"
  40453. },
  40454. "bizscope": {
  40455. "description": "企业经营范围(企业)",
  40456. "type": "string"
  40457. },
  40458. "cardbackphotourl": {
  40459. "description": "证件背面图片地址",
  40460. "type": "string"
  40461. },
  40462. "cardfrontphotourl": {
  40463. "description": "证件正面图片地址",
  40464. "type": "string"
  40465. },
  40466. "cardnum": {
  40467. "description": "证件号码(加密存储)",
  40468. "type": "string"
  40469. },
  40470. "cardtypeid": {
  40471. "description": "证件类型ID",
  40472. "type": "integer"
  40473. },
  40474. "cityid": {
  40475. "description": "市",
  40476. "type": "integer"
  40477. },
  40478. "company": {
  40479. "description": "公司(个人)",
  40480. "type": "string"
  40481. },
  40482. "contactname": {
  40483. "description": "联系人",
  40484. "type": "string"
  40485. },
  40486. "countryid": {
  40487. "description": "国家",
  40488. "type": "integer"
  40489. },
  40490. "createtime": {
  40491. "description": "创建时间",
  40492. "type": "string"
  40493. },
  40494. "creatorid": {
  40495. "description": "创建人",
  40496. "type": "integer"
  40497. },
  40498. "customername": {
  40499. "description": "客户名称(企业名称)",
  40500. "type": "string"
  40501. },
  40502. "districtid": {
  40503. "description": "地区",
  40504. "type": "integer"
  40505. },
  40506. "email": {
  40507. "description": "邮件(加密存储)",
  40508. "type": "string"
  40509. },
  40510. "fax": {
  40511. "description": "传真(加密存储)",
  40512. "type": "string"
  40513. },
  40514. "halfbodyphotourl": {
  40515. "description": "半身照地址",
  40516. "type": "string"
  40517. },
  40518. "hasencrypt": {
  40519. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40520. "type": "integer"
  40521. },
  40522. "headurl": {
  40523. "description": "头像地址",
  40524. "type": "string"
  40525. },
  40526. "legalcardbackphotourl": {
  40527. "description": "法人身份证背面照地址",
  40528. "type": "string"
  40529. },
  40530. "legalcardfrontphotourl": {
  40531. "description": "法人身份证正面照地址",
  40532. "type": "string"
  40533. },
  40534. "legalpersonname": {
  40535. "description": "法人姓名(企业)",
  40536. "type": "string"
  40537. },
  40538. "mobile": {
  40539. "description": "手机号码(加密存储)",
  40540. "type": "string"
  40541. },
  40542. "mobile2": {
  40543. "description": "手机号码[明文-尚志]",
  40544. "type": "string"
  40545. },
  40546. "modifierid": {
  40547. "description": "修改人",
  40548. "type": "integer"
  40549. },
  40550. "modifiertime": {
  40551. "description": "修改时间",
  40552. "type": "string"
  40553. },
  40554. "needinvoice": {
  40555. "description": "是否需要发票 - 0:不需要 1:需要",
  40556. "type": "integer"
  40557. },
  40558. "nickname": {
  40559. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  40560. "type": "string"
  40561. },
  40562. "openmode": {
  40563. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  40564. "type": "integer"
  40565. },
  40566. "otherurl": {
  40567. "description": "其它图片地址[使用分号分隔]",
  40568. "type": "string"
  40569. },
  40570. "postalcode": {
  40571. "description": "邮政编码",
  40572. "type": "string"
  40573. },
  40574. "provinceid": {
  40575. "description": "省",
  40576. "type": "integer"
  40577. },
  40578. "qq": {
  40579. "description": "QQ(加密存储",
  40580. "type": "string"
  40581. },
  40582. "remark": {
  40583. "description": "备注",
  40584. "type": "string"
  40585. },
  40586. "sex": {
  40587. "description": "用户性别 0: 女 1: 男",
  40588. "type": "integer"
  40589. },
  40590. "signpdfurl": {
  40591. "description": "签约pdf文件",
  40592. "type": "string"
  40593. },
  40594. "telphone": {
  40595. "description": "联系电话(加密存储)",
  40596. "type": "string"
  40597. },
  40598. "userid": {
  40599. "description": "用户ID",
  40600. "type": "integer"
  40601. },
  40602. "userinfotype": {
  40603. "description": "用户信息类型 - 1:个人 2:企业",
  40604. "type": "integer"
  40605. },
  40606. "userstatus": {
  40607. "description": "用户状态 - 1:正常 2:注销",
  40608. "type": "integer"
  40609. },
  40610. "usertype": {
  40611. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  40612. "type": "integer"
  40613. },
  40614. "wechat": {
  40615. "description": "微信(加密存储)",
  40616. "type": "string"
  40617. },
  40618. "wskhinfo": {
  40619. "description": "开户申请信息(JSON)",
  40620. "type": "string"
  40621. }
  40622. }
  40623. },
  40624. "models.WRPositionReport": {
  40625. "type": "object",
  40626. "properties": {
  40627. "accountid": {
  40628. "description": "帐户ID",
  40629. "type": "integer"
  40630. },
  40631. "brandid": {
  40632. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  40633. "type": "integer"
  40634. },
  40635. "buylistinglot": {
  40636. "description": "买挂牌宗数",
  40637. "type": "integer"
  40638. },
  40639. "buytradeamount": {
  40640. "description": "购买金额",
  40641. "type": "number"
  40642. },
  40643. "buytradelot": {
  40644. "description": "购买宗数",
  40645. "type": "integer"
  40646. },
  40647. "buytradeqty": {
  40648. "description": "购买数量",
  40649. "type": "number"
  40650. },
  40651. "creditcurqty": {
  40652. "description": "授信当前数量",
  40653. "type": "integer"
  40654. },
  40655. "creditfreezeqty": {
  40656. "description": "授信冻结数量",
  40657. "type": "integer"
  40658. },
  40659. "credittotalqty": {
  40660. "description": "授信总数量",
  40661. "type": "integer"
  40662. },
  40663. "credittradeqty": {
  40664. "description": "授信成交数量",
  40665. "type": "integer"
  40666. },
  40667. "decreaseqty": {
  40668. "description": "今日减少数量",
  40669. "type": "integer"
  40670. },
  40671. "deliverygoodsid": {
  40672. "description": "交割商品ID",
  40673. "type": "integer"
  40674. },
  40675. "deliverymonthid": {
  40676. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  40677. "type": "integer"
  40678. },
  40679. "freezeqty": {
  40680. "description": "总冻结数量",
  40681. "type": "integer"
  40682. },
  40683. "increaseqty": {
  40684. "description": "今日增加数量",
  40685. "type": "integer"
  40686. },
  40687. "marketvalue": {
  40688. "description": "市值",
  40689. "type": "number"
  40690. },
  40691. "pickupqty": {
  40692. "description": "今日提货数量",
  40693. "type": "integer"
  40694. },
  40695. "qualityid": {
  40696. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  40697. "type": "integer"
  40698. },
  40699. "reckondate": {
  40700. "description": "日照时期(yyyyMMdd)",
  40701. "type": "string"
  40702. },
  40703. "relatedqty": {
  40704. "description": "关联数量",
  40705. "type": "integer"
  40706. },
  40707. "selllistingamount": {
  40708. "description": "卖挂牌金额",
  40709. "type": "number"
  40710. },
  40711. "selllistinglot": {
  40712. "description": "卖挂牌宗数",
  40713. "type": "integer"
  40714. },
  40715. "selllistingqty": {
  40716. "description": "卖挂牌数量",
  40717. "type": "number"
  40718. },
  40719. "selltradeamount": {
  40720. "description": "销售金额",
  40721. "type": "number"
  40722. },
  40723. "selltradelot": {
  40724. "description": "销售宗数",
  40725. "type": "integer"
  40726. },
  40727. "selltradeqty": {
  40728. "description": "销售数量",
  40729. "type": "number"
  40730. },
  40731. "specid": {
  40732. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  40733. "type": "integer"
  40734. },
  40735. "totalprice": {
  40736. "description": "销售金额(¥)",
  40737. "type": "number"
  40738. },
  40739. "totalqty": {
  40740. "description": "总数量",
  40741. "type": "integer"
  40742. },
  40743. "totalweight": {
  40744. "description": "销售重量(ct)",
  40745. "type": "number"
  40746. },
  40747. "tradewrqty": {
  40748. "description": "订单仓单头寸总数量",
  40749. "type": "integer"
  40750. },
  40751. "transfertradewrqty": {
  40752. "description": "今日转订单数量",
  40753. "type": "integer"
  40754. },
  40755. "warehouseid": {
  40756. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  40757. "type": "integer"
  40758. },
  40759. "wrfactortypeid": {
  40760. "description": "仓单要素类型ID",
  40761. "type": "integer"
  40762. },
  40763. "wrpositionid": {
  40764. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40765. "type": "integer"
  40766. },
  40767. "wrstandardcode": {
  40768. "description": "现货商品代码",
  40769. "type": "string"
  40770. },
  40771. "wrstandardid": {
  40772. "description": "现货商品ID",
  40773. "type": "integer"
  40774. },
  40775. "wruserid": {
  40776. "description": "持有人ID",
  40777. "type": "integer"
  40778. },
  40779. "zscategory": {
  40780. "description": "商品分类",
  40781. "type": "integer"
  40782. },
  40783. "zscategorydisplay": {
  40784. "type": "string"
  40785. },
  40786. "zscurrencytype": {
  40787. "description": "商品币种",
  40788. "type": "integer"
  40789. },
  40790. "zscurrencytypedisplay": {
  40791. "type": "string"
  40792. },
  40793. "zscurrencytypedisplayunit": {
  40794. "type": "string"
  40795. }
  40796. }
  40797. },
  40798. "models.WRSConverTDetail": {
  40799. "type": "object",
  40800. "properties": {
  40801. "convertratio": {
  40802. "description": "套保系数",
  40803. "type": "number"
  40804. },
  40805. "deliverygoodscode": {
  40806. "description": "现货商品代码",
  40807. "type": "string"
  40808. },
  40809. "deliverygoodsid": {
  40810. "description": "现货品种ID",
  40811. "type": "integer"
  40812. },
  40813. "deliverygoodsname": {
  40814. "description": "现货商品名称",
  40815. "type": "string"
  40816. },
  40817. "enumdicname": {
  40818. "description": "单位名称",
  40819. "type": "string"
  40820. },
  40821. "goodsunitid": {
  40822. "description": "套保品种单位id",
  40823. "type": "integer"
  40824. },
  40825. "middlegoodscode": {
  40826. "description": "套保品种代码",
  40827. "type": "string"
  40828. },
  40829. "middlegoodsid": {
  40830. "description": "套保品种ID",
  40831. "type": "integer"
  40832. },
  40833. "middlegoodsname": {
  40834. "description": "套保品种名称",
  40835. "type": "string"
  40836. },
  40837. "modifytime": {
  40838. "description": "修改时间",
  40839. "type": "string"
  40840. },
  40841. "wrstandardid": {
  40842. "description": "品类ID",
  40843. "type": "integer"
  40844. }
  40845. }
  40846. },
  40847. "models.WRStandardInfo": {
  40848. "type": "object",
  40849. "required": [
  40850. "wrstandardid"
  40851. ],
  40852. "properties": {
  40853. "areauserid": {
  40854. "description": "所属机构",
  40855. "type": "integer"
  40856. },
  40857. "convertfactor": {
  40858. "description": "标仓系数",
  40859. "type": "number"
  40860. },
  40861. "createtime": {
  40862. "description": "创建时间",
  40863. "type": "string"
  40864. },
  40865. "creatorid": {
  40866. "description": "创建人",
  40867. "type": "integer"
  40868. },
  40869. "deliverygoodsid": {
  40870. "description": "品种ID",
  40871. "type": "integer"
  40872. },
  40873. "deliverygoodsname": {
  40874. "description": "交割商品名称",
  40875. "type": "string"
  40876. },
  40877. "factoryitemjson": {
  40878. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  40879. "type": "string"
  40880. },
  40881. "isvalid": {
  40882. "description": "是否有效 - 0:无效 1:有效",
  40883. "type": "integer"
  40884. },
  40885. "minivalue": {
  40886. "description": "最小变动值",
  40887. "type": "integer"
  40888. },
  40889. "minivaluedp": {
  40890. "description": "最小变动值小数位",
  40891. "type": "integer"
  40892. },
  40893. "realminivalue": {
  40894. "description": "实际最小变动值",
  40895. "type": "integer"
  40896. },
  40897. "realminivaluedp": {
  40898. "description": "实际最小变动值小数位",
  40899. "type": "integer"
  40900. },
  40901. "remark": {
  40902. "description": "备注",
  40903. "type": "string"
  40904. },
  40905. "unitid": {
  40906. "description": "单位ID",
  40907. "type": "integer"
  40908. },
  40909. "unitname": {
  40910. "description": "单位",
  40911. "type": "string"
  40912. },
  40913. "updatetime": {
  40914. "description": "更新时间",
  40915. "type": "string"
  40916. },
  40917. "updatorid": {
  40918. "description": "更新人",
  40919. "type": "integer"
  40920. },
  40921. "wrsstatus": {
  40922. "description": "状态 - 作废 - 0:未激活 1:正常",
  40923. "type": "integer"
  40924. },
  40925. "wrstandardcode": {
  40926. "description": "现货品类代码",
  40927. "type": "string"
  40928. },
  40929. "wrstandardid": {
  40930. "description": "现货品类ID(SEQ_WRSTANDARD)",
  40931. "type": "integer"
  40932. },
  40933. "wrstandardname": {
  40934. "description": "现货品类名称",
  40935. "type": "string"
  40936. }
  40937. }
  40938. },
  40939. "models.WRTradeBargainApply": {
  40940. "type": "object",
  40941. "properties": {
  40942. "accountid": {
  40943. "description": "摘牌资金账号",
  40944. "type": "integer"
  40945. },
  40946. "applyprice": {
  40947. "description": "申请价格(议价价格)",
  40948. "type": "string"
  40949. },
  40950. "applyqty": {
  40951. "description": "摘牌数量(议价数量)",
  40952. "type": "number"
  40953. },
  40954. "applyremark": {
  40955. "description": "申请备注",
  40956. "type": "string"
  40957. },
  40958. "applystatus": {
  40959. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  40960. "type": "integer"
  40961. },
  40962. "applytime": {
  40963. "description": "申请时间(议价时间)",
  40964. "type": "string"
  40965. },
  40966. "begindate": {
  40967. "description": "开始交易日(yyyymmdd)",
  40968. "type": "string"
  40969. },
  40970. "buyorsell": {
  40971. "description": "买卖(挂牌类型) - 0:买 1:卖",
  40972. "type": "integer"
  40973. },
  40974. "confirmremark": {
  40975. "description": "确认备注",
  40976. "type": "string"
  40977. },
  40978. "confirmtime": {
  40979. "description": "确认时间",
  40980. "type": "string"
  40981. },
  40982. "confirmuserid": {
  40983. "description": "确认人",
  40984. "type": "integer"
  40985. },
  40986. "deliverygoodscode": {
  40987. "description": "品种代码",
  40988. "type": "string"
  40989. },
  40990. "deliverygoodsid": {
  40991. "description": "品种ID",
  40992. "type": "integer"
  40993. },
  40994. "deliverygoodsname": {
  40995. "description": "品种名称",
  40996. "type": "string"
  40997. },
  40998. "deliverymonth": {
  40999. "description": "交收月",
  41000. "type": "string"
  41001. },
  41002. "enddate": {
  41003. "description": "结束交易日(yyyymmdd)",
  41004. "type": "string"
  41005. },
  41006. "enumdicname": {
  41007. "description": "单位名称",
  41008. "type": "string"
  41009. },
  41010. "fixedprice": {
  41011. "description": "期初均价",
  41012. "type": "number"
  41013. },
  41014. "handlestatus": {
  41015. "description": "处理状态",
  41016. "type": "integer"
  41017. },
  41018. "marginvalue": {
  41019. "description": "期初均价",
  41020. "type": "number"
  41021. },
  41022. "marketid": {
  41023. "description": "市场ID",
  41024. "type": "integer"
  41025. },
  41026. "matchaccountid": {
  41027. "description": "挂牌方资金账号",
  41028. "type": "integer"
  41029. },
  41030. "matchuserid": {
  41031. "description": "挂牌方用户id",
  41032. "type": "integer"
  41033. },
  41034. "matchusername": {
  41035. "description": "挂牌方用户名称(已脱敏)",
  41036. "type": "string"
  41037. },
  41038. "minivalue": {
  41039. "description": "现货商品最小变动值",
  41040. "type": "integer"
  41041. },
  41042. "optioncompare": {
  41043. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41044. "type": "string"
  41045. },
  41046. "orderqty": {
  41047. "description": "挂牌数量",
  41048. "type": "integer"
  41049. },
  41050. "refprice": {
  41051. "description": "参考价格",
  41052. "type": "string"
  41053. },
  41054. "retcode": {
  41055. "description": "委托返回代码",
  41056. "type": "integer"
  41057. },
  41058. "templatename": {
  41059. "description": "履约方式(履约模板名称)",
  41060. "type": "string"
  41061. },
  41062. "tradedate": {
  41063. "description": "交易日(yyyyMMdd)",
  41064. "type": "string"
  41065. },
  41066. "userid": {
  41067. "description": "摘牌人用户ID(议价人ID)",
  41068. "type": "integer"
  41069. },
  41070. "username": {
  41071. "description": "议价人名字(已脱敏)",
  41072. "type": "string"
  41073. },
  41074. "validtime": {
  41075. "description": "有效期限",
  41076. "type": "string"
  41077. },
  41078. "warehouseid": {
  41079. "description": "仓库ID",
  41080. "type": "integer"
  41081. },
  41082. "warehousename": {
  41083. "description": "仓库名称",
  41084. "type": "string"
  41085. },
  41086. "wrbargainid": {
  41087. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  41088. "type": "string"
  41089. },
  41090. "wrfactortypeid": {
  41091. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41092. "type": "string"
  41093. },
  41094. "wrfactortypename": {
  41095. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41096. "type": "string"
  41097. },
  41098. "wrstandardcode": {
  41099. "description": "现货商品代码",
  41100. "type": "string"
  41101. },
  41102. "wrstandardid": {
  41103. "description": "现货商品ID",
  41104. "type": "integer"
  41105. },
  41106. "wrstandardname": {
  41107. "description": "商品名称",
  41108. "type": "string"
  41109. },
  41110. "wrtradeorderid": {
  41111. "description": "关联委托单ID",
  41112. "type": "string"
  41113. },
  41114. "wrtypename": {
  41115. "description": "商品",
  41116. "type": "string"
  41117. }
  41118. }
  41119. },
  41120. "models.Warehouseinfo": {
  41121. "type": "object",
  41122. "required": [
  41123. "autoid",
  41124. "warehousecode"
  41125. ],
  41126. "properties": {
  41127. "address": {
  41128. "description": "详细地址",
  41129. "type": "string"
  41130. },
  41131. "areauserid": {
  41132. "description": "所属机构",
  41133. "type": "integer"
  41134. },
  41135. "autoid": {
  41136. "description": "自增ID",
  41137. "type": "integer"
  41138. },
  41139. "cityid": {
  41140. "description": "市",
  41141. "type": "integer"
  41142. },
  41143. "contactname": {
  41144. "description": "联系人",
  41145. "type": "string"
  41146. },
  41147. "contactnum": {
  41148. "description": "联系电话",
  41149. "type": "string"
  41150. },
  41151. "countryid": {
  41152. "description": "国家",
  41153. "type": "integer"
  41154. },
  41155. "createtime": {
  41156. "description": "创建时间",
  41157. "type": "string"
  41158. },
  41159. "districtid": {
  41160. "description": "区",
  41161. "type": "integer"
  41162. },
  41163. "hasvideo": {
  41164. "description": "是否有视频 - 0:无 1:有",
  41165. "type": "integer"
  41166. },
  41167. "provinceid": {
  41168. "description": "省",
  41169. "type": "integer"
  41170. },
  41171. "remark": {
  41172. "description": "审核备注",
  41173. "type": "string"
  41174. },
  41175. "videourl": {
  41176. "description": "视频地址",
  41177. "type": "string"
  41178. },
  41179. "warehousecode": {
  41180. "description": "仓库代码",
  41181. "type": "string"
  41182. },
  41183. "warehousename": {
  41184. "description": "仓库名称",
  41185. "type": "string"
  41186. },
  41187. "warehousestatus": {
  41188. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  41189. "type": "integer"
  41190. },
  41191. "warehousetype": {
  41192. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  41193. "type": "integer"
  41194. }
  41195. }
  41196. },
  41197. "models.WrAverageTradePrice": {
  41198. "type": "object",
  41199. "properties": {
  41200. "averageprice": {
  41201. "description": "期初均价",
  41202. "type": "number"
  41203. },
  41204. "tradedate": {
  41205. "description": "交易日yyyymm",
  41206. "type": "string"
  41207. }
  41208. }
  41209. },
  41210. "models.WrBrandAndYears": {
  41211. "type": "object",
  41212. "properties": {
  41213. "brandlst": {
  41214. "description": "品牌列表",
  41215. "type": "array",
  41216. "items": {
  41217. "$ref": "#/definitions/models.DgFactoryItem"
  41218. }
  41219. },
  41220. "yearslst": {
  41221. "description": "年份列表",
  41222. "type": "array",
  41223. "items": {
  41224. "$ref": "#/definitions/models.DgFactoryItem"
  41225. }
  41226. }
  41227. }
  41228. },
  41229. "models.WrBsGoodsInfo": {
  41230. "type": "object",
  41231. "properties": {
  41232. "buyorsell": {
  41233. "description": "买卖方向 0-买 1-卖",
  41234. "type": "integer"
  41235. },
  41236. "goodsid": {
  41237. "description": "交易合约ID",
  41238. "type": "integer"
  41239. },
  41240. "lstitem": {
  41241. "description": "商品信息项",
  41242. "type": "array",
  41243. "items": {
  41244. "$ref": "#/definitions/models.WrTypeItem"
  41245. }
  41246. },
  41247. "lststep": {
  41248. "description": "履约规则",
  41249. "type": "array",
  41250. "items": {
  41251. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41252. }
  41253. }
  41254. }
  41255. },
  41256. "models.WrBuybackDetail": {
  41257. "type": "object",
  41258. "properties": {
  41259. "buybackamount": {
  41260. "description": "回购金额",
  41261. "type": "number"
  41262. },
  41263. "buybackqty": {
  41264. "description": "回购数量",
  41265. "type": "number"
  41266. },
  41267. "buybackreleasemargin": {
  41268. "description": "回购释放保证金",
  41269. "type": "number"
  41270. },
  41271. "buybacktime": {
  41272. "description": "回购时间",
  41273. "type": "string"
  41274. },
  41275. "errordesc": {
  41276. "description": "错误描述",
  41277. "type": "string"
  41278. },
  41279. "handlestatus": {
  41280. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  41281. "type": "integer"
  41282. },
  41283. "relatedwrid": {
  41284. "description": "关联仓单ID",
  41285. "type": "integer"
  41286. },
  41287. "scfcontractid": {
  41288. "description": "SCF合同ID",
  41289. "type": "string"
  41290. },
  41291. "scfwrbuybackid": {
  41292. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  41293. "type": "integer"
  41294. },
  41295. "tradedate": {
  41296. "description": "交易日(yyyyMMdd)",
  41297. "type": "string"
  41298. }
  41299. }
  41300. },
  41301. "models.WrClientAdSpaceConfig": {
  41302. "type": "object",
  41303. "properties": {
  41304. "adspaceid": {
  41305. "description": "广告位ID",
  41306. "type": "integer"
  41307. },
  41308. "adspacename": {
  41309. "description": "广告位名称",
  41310. "type": "string"
  41311. },
  41312. "adspacetype": {
  41313. "description": "广告位类型 - 1:固定广告位",
  41314. "type": "integer"
  41315. },
  41316. "areauserid": {
  41317. "description": "所属机构ID",
  41318. "type": "integer"
  41319. },
  41320. "createdate": {
  41321. "description": "创建时间",
  41322. "type": "string"
  41323. },
  41324. "imagepath": {
  41325. "description": "图片",
  41326. "type": "string"
  41327. },
  41328. "modifierid": {
  41329. "description": "操作人",
  41330. "type": "integer"
  41331. },
  41332. "recsize": {
  41333. "description": "推荐尺寸",
  41334. "type": "string"
  41335. },
  41336. "title": {
  41337. "description": "标题",
  41338. "type": "string"
  41339. },
  41340. "updatedate": {
  41341. "description": "更新时间",
  41342. "type": "string"
  41343. },
  41344. "urlcontent": {
  41345. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  41346. "type": "string"
  41347. },
  41348. "urltype": {
  41349. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  41350. "type": "integer"
  41351. }
  41352. }
  41353. },
  41354. "models.WrDeliveryAvalidHoldLB": {
  41355. "type": "object",
  41356. "properties": {
  41357. "accountid": {
  41358. "description": "资金账号",
  41359. "type": "integer"
  41360. },
  41361. "avalidqty": {
  41362. "description": "数量(可点选数量)",
  41363. "type": "number"
  41364. },
  41365. "deliverygoodsid": {
  41366. "description": "品种id",
  41367. "type": "integer"
  41368. },
  41369. "enumdicname": {
  41370. "description": "单位名称",
  41371. "type": "string"
  41372. },
  41373. "goodsid": {
  41374. "description": "x合约商品id",
  41375. "type": "integer"
  41376. },
  41377. "ladingbillid": {
  41378. "description": "提单id",
  41379. "type": "string"
  41380. },
  41381. "pgoodscode": {
  41382. "description": "p商品代码(点价合约)",
  41383. "type": "string"
  41384. },
  41385. "pgoodsid": {
  41386. "description": "p商品id(点价合约)",
  41387. "type": "integer"
  41388. },
  41389. "pgoodsname": {
  41390. "description": "p商品名称(点价合约)",
  41391. "type": "string"
  41392. },
  41393. "pricemove": {
  41394. "description": "升贴水",
  41395. "type": "number"
  41396. },
  41397. "subnum": {
  41398. "description": "提单子id",
  41399. "type": "integer"
  41400. },
  41401. "userid": {
  41402. "description": "用户id",
  41403. "type": "integer"
  41404. },
  41405. "username": {
  41406. "description": "仓单持有人",
  41407. "type": "string"
  41408. },
  41409. "warehousecode": {
  41410. "description": "仓库代码",
  41411. "type": "string"
  41412. },
  41413. "warehouseid": {
  41414. "description": "仓库id",
  41415. "type": "integer"
  41416. },
  41417. "warehousename": {
  41418. "description": "仓库名称",
  41419. "type": "string"
  41420. },
  41421. "wrfactortypeid": {
  41422. "description": "仓单要素id",
  41423. "type": "string"
  41424. },
  41425. "wrstandardcode": {
  41426. "description": "品代码",
  41427. "type": "string"
  41428. },
  41429. "wrstandardid": {
  41430. "description": "品类d",
  41431. "type": "integer"
  41432. },
  41433. "wrstandardname": {
  41434. "description": "品类名称",
  41435. "type": "string"
  41436. },
  41437. "wrtypename": {
  41438. "description": "商品",
  41439. "type": "string"
  41440. },
  41441. "xgoodscode": {
  41442. "description": "x合约代码",
  41443. "type": "string"
  41444. },
  41445. "xgoodsname": {
  41446. "description": "x合约名称",
  41447. "type": "string"
  41448. }
  41449. }
  41450. },
  41451. "models.WrDeliveryDetail": {
  41452. "type": "object",
  41453. "properties": {
  41454. "accountid": {
  41455. "description": "账号ID",
  41456. "type": "integer"
  41457. },
  41458. "averageprice": {
  41459. "description": "期初均价",
  41460. "type": "number"
  41461. },
  41462. "begindate": {
  41463. "description": "开始交易日(yyyymmdd)",
  41464. "type": "string"
  41465. },
  41466. "buyorsell": {
  41467. "description": "方向 - 0:买 1:卖",
  41468. "type": "integer"
  41469. },
  41470. "deliveryamount": {
  41471. "description": "货款金额(X总货款+P总货款)",
  41472. "type": "number"
  41473. },
  41474. "deliveryid": {
  41475. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  41476. "type": "string"
  41477. },
  41478. "deliveryorderid": {
  41479. "description": "申报单号",
  41480. "type": "string"
  41481. },
  41482. "deliverypricemove": {
  41483. "description": "升贴水(升贴水总额)",
  41484. "type": "number"
  41485. },
  41486. "deliveryqty": {
  41487. "description": "交收数量(点选数量)",
  41488. "type": "number"
  41489. },
  41490. "deliverystatus": {
  41491. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  41492. "type": "integer"
  41493. },
  41494. "deliverytime": {
  41495. "description": "交割时间",
  41496. "type": "string"
  41497. },
  41498. "deliverytotalamount": {
  41499. "description": "交收金额",
  41500. "type": "number"
  41501. },
  41502. "enddate": {
  41503. "description": "结束交易日(yyyymmdd)",
  41504. "type": "string"
  41505. },
  41506. "enumdicname": {
  41507. "description": "单位名称",
  41508. "type": "string"
  41509. },
  41510. "matchaccountid": {
  41511. "description": "对手账号ID",
  41512. "type": "integer"
  41513. },
  41514. "matchusername": {
  41515. "description": "对手方名称(仓单持有人)",
  41516. "type": "string"
  41517. },
  41518. "p1goodsremainamount": {
  41519. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  41520. "type": "number"
  41521. },
  41522. "pdeliverycloseqty": {
  41523. "description": "p合约平仓数量",
  41524. "type": "number"
  41525. },
  41526. "pdeliveryprice": {
  41527. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  41528. "type": "number"
  41529. },
  41530. "pgoodscode": {
  41531. "description": "商品代码",
  41532. "type": "string"
  41533. },
  41534. "pgoodsid": {
  41535. "description": "p点选合约id",
  41536. "type": "integer"
  41537. },
  41538. "pgoodsname": {
  41539. "description": "商品名称",
  41540. "type": "string"
  41541. },
  41542. "ppricemode": {
  41543. "description": "点价价格方式 - 1:商品价 2:固定值",
  41544. "type": "integer"
  41545. },
  41546. "tradedate": {
  41547. "description": "交易日(yyyymmdd)",
  41548. "type": "string"
  41549. },
  41550. "userid": {
  41551. "description": "用户id",
  41552. "type": "integer"
  41553. },
  41554. "username": {
  41555. "description": "用户名称",
  41556. "type": "string"
  41557. },
  41558. "warehousename": {
  41559. "description": "仓库名称",
  41560. "type": "string"
  41561. },
  41562. "wrfactortypeid": {
  41563. "description": "仓单要素类型ID",
  41564. "type": "string"
  41565. },
  41566. "wrtypename": {
  41567. "description": "商品",
  41568. "type": "string"
  41569. },
  41570. "xdeliverycloseqty": {
  41571. "description": "合约数量",
  41572. "type": "number"
  41573. },
  41574. "xgoodsamount": {
  41575. "description": "期初均价",
  41576. "type": "number"
  41577. },
  41578. "xgoodscode": {
  41579. "description": "商品代码",
  41580. "type": "string"
  41581. },
  41582. "xgoodsid": {
  41583. "description": "x交易合约ID",
  41584. "type": "integer"
  41585. },
  41586. "xgoodsname": {
  41587. "description": "商品名称",
  41588. "type": "string"
  41589. }
  41590. }
  41591. },
  41592. "models.WrDeliveryGoodsSection": {
  41593. "type": "object",
  41594. "properties": {
  41595. "dglst": {
  41596. "description": "板块商品列表",
  41597. "type": "array",
  41598. "items": {
  41599. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  41600. }
  41601. },
  41602. "imagepath": {
  41603. "description": "图片地址",
  41604. "type": "string"
  41605. },
  41606. "orderindex": {
  41607. "description": "排序",
  41608. "type": "integer"
  41609. },
  41610. "sectionid": {
  41611. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  41612. "type": "integer"
  41613. },
  41614. "sectionname": {
  41615. "description": "版块名称",
  41616. "type": "string"
  41617. },
  41618. "sectiontype": {
  41619. "description": "版块类型 - 1:指数版块 2:普通版块",
  41620. "type": "integer"
  41621. }
  41622. }
  41623. },
  41624. "models.WrDeliveryGoodsSectionConfig": {
  41625. "type": "object",
  41626. "properties": {
  41627. "deliverygoodscode": {
  41628. "description": "现货商品代码",
  41629. "type": "string"
  41630. },
  41631. "deliverygoodsid": {
  41632. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41633. "type": "integer"
  41634. },
  41635. "deliverygoodsname": {
  41636. "description": "现货商品名称",
  41637. "type": "string"
  41638. },
  41639. "orderindex": {
  41640. "description": "排序",
  41641. "type": "integer"
  41642. }
  41643. }
  41644. },
  41645. "models.WrDraftUserInfo": {
  41646. "type": "object",
  41647. "properties": {
  41648. "address": {
  41649. "description": "地址",
  41650. "type": "string"
  41651. },
  41652. "attachment1": {
  41653. "description": "附件1",
  41654. "type": "string"
  41655. },
  41656. "attachment2": {
  41657. "description": "附件2",
  41658. "type": "string"
  41659. },
  41660. "attachment3": {
  41661. "description": "附件3",
  41662. "type": "string"
  41663. },
  41664. "attachment4": {
  41665. "description": "附件4",
  41666. "type": "string"
  41667. },
  41668. "attachment5": {
  41669. "description": "附件5",
  41670. "type": "string"
  41671. },
  41672. "bankaccount": {
  41673. "description": "银行帐号 (加密存储)",
  41674. "type": "string"
  41675. },
  41676. "bankaccountname": {
  41677. "description": "收款人名称",
  41678. "type": "string"
  41679. },
  41680. "bankcardfrontphotourl": {
  41681. "description": "银行卡正面照地址",
  41682. "type": "string"
  41683. },
  41684. "bankid": {
  41685. "description": "银行编码",
  41686. "type": "string"
  41687. },
  41688. "bankname": {
  41689. "description": "银行名称",
  41690. "type": "string"
  41691. },
  41692. "birthday": {
  41693. "description": "生日(个人:年月日)",
  41694. "type": "string"
  41695. },
  41696. "biznature": {
  41697. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  41698. "type": "integer"
  41699. },
  41700. "bizscope": {
  41701. "description": "企业经营范围(企业)",
  41702. "type": "string"
  41703. },
  41704. "biztype": {
  41705. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  41706. "type": "integer"
  41707. },
  41708. "cardbackphotourl": {
  41709. "description": "证件背面图片地址",
  41710. "type": "string"
  41711. },
  41712. "cardfrontphotourl": {
  41713. "description": "证件正面图片地址",
  41714. "type": "string"
  41715. },
  41716. "cardnum": {
  41717. "description": "证件号码(加密存储)",
  41718. "type": "string"
  41719. },
  41720. "cardtypeid": {
  41721. "description": "证件类型ID",
  41722. "type": "integer"
  41723. },
  41724. "cityid": {
  41725. "description": "市",
  41726. "type": "integer"
  41727. },
  41728. "company": {
  41729. "description": "公司(个人)",
  41730. "type": "string"
  41731. },
  41732. "contactcardbackphotourl": {
  41733. "description": "联系人证件背面图片地址",
  41734. "type": "string"
  41735. },
  41736. "contactcardfrontphotourl": {
  41737. "description": "联系人证件正面图片地址",
  41738. "type": "string"
  41739. },
  41740. "contactname": {
  41741. "description": "联系人",
  41742. "type": "string"
  41743. },
  41744. "countryid": {
  41745. "description": "国家",
  41746. "type": "integer"
  41747. },
  41748. "createtime": {
  41749. "description": "创建时间",
  41750. "type": "string"
  41751. },
  41752. "creatorid": {
  41753. "description": "创建人",
  41754. "type": "integer"
  41755. },
  41756. "creditquota": {
  41757. "description": "授信额度(金瑞)",
  41758. "type": "number"
  41759. },
  41760. "customername": {
  41761. "description": "客户名称(企业名称)",
  41762. "type": "string"
  41763. },
  41764. "districtid": {
  41765. "description": "地区",
  41766. "type": "integer"
  41767. },
  41768. "email": {
  41769. "description": "邮件(加密存储)",
  41770. "type": "string"
  41771. },
  41772. "fax": {
  41773. "description": "传真(加密存储)",
  41774. "type": "string"
  41775. },
  41776. "halfbodyphotourl": {
  41777. "description": "半身照地址",
  41778. "type": "string"
  41779. },
  41780. "hasencrypt": {
  41781. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41782. "type": "integer"
  41783. },
  41784. "headurl": {
  41785. "description": "头像地址",
  41786. "type": "string"
  41787. },
  41788. "legalcardbackphotourl": {
  41789. "description": "法人身份证背面照地址",
  41790. "type": "string"
  41791. },
  41792. "legalcardfrontphotourl": {
  41793. "description": "法人身份证正面照地址",
  41794. "type": "string"
  41795. },
  41796. "legalpersonname": {
  41797. "description": "法人姓名(企业)",
  41798. "type": "string"
  41799. },
  41800. "mobile": {
  41801. "description": "手机号码(加密存储)",
  41802. "type": "string"
  41803. },
  41804. "mobile2": {
  41805. "description": "手机号码[明文-尚志]",
  41806. "type": "string"
  41807. },
  41808. "modifierid": {
  41809. "description": "修改人",
  41810. "type": "integer"
  41811. },
  41812. "modifiertime": {
  41813. "description": "修改时间",
  41814. "type": "string"
  41815. },
  41816. "needinvoice": {
  41817. "description": "是否需要发票 - 0:不需要 1:需要",
  41818. "type": "integer"
  41819. },
  41820. "nickname": {
  41821. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  41822. "type": "string"
  41823. },
  41824. "openmode": {
  41825. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  41826. "type": "integer"
  41827. },
  41828. "otherurl": {
  41829. "description": "其它图片地址[使用分号分隔]",
  41830. "type": "string"
  41831. },
  41832. "postalcode": {
  41833. "description": "邮政编码",
  41834. "type": "string"
  41835. },
  41836. "provinceid": {
  41837. "description": "省",
  41838. "type": "integer"
  41839. },
  41840. "proxystatementurl": {
  41841. "description": "授权委托书",
  41842. "type": "string"
  41843. },
  41844. "qq": {
  41845. "description": "QQ(加密存储",
  41846. "type": "string"
  41847. },
  41848. "remark": {
  41849. "description": "备注",
  41850. "type": "string"
  41851. },
  41852. "sex": {
  41853. "description": "用户性别 0: 女 1: 男",
  41854. "type": "integer"
  41855. },
  41856. "signpdfurl": {
  41857. "description": "签约pdf文件",
  41858. "type": "string"
  41859. },
  41860. "taxpayernum": {
  41861. "description": "纳税人识别号",
  41862. "type": "string"
  41863. },
  41864. "telphone": {
  41865. "description": "联系电话(加密存储)",
  41866. "type": "string"
  41867. },
  41868. "userid": {
  41869. "description": "用户ID",
  41870. "type": "integer"
  41871. },
  41872. "userinfotype": {
  41873. "description": "用户信息类型 - 1:个人 2:企业",
  41874. "type": "integer"
  41875. },
  41876. "userstatus": {
  41877. "description": "用户状态 - 1:正常 2:注销",
  41878. "type": "integer"
  41879. },
  41880. "usertype": {
  41881. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  41882. "type": "integer"
  41883. },
  41884. "wechat": {
  41885. "description": "微信(加密存储)",
  41886. "type": "string"
  41887. },
  41888. "wskhinfo": {
  41889. "description": "开户申请信息(JSON)",
  41890. "type": "string"
  41891. }
  41892. }
  41893. },
  41894. "models.WrFAProductDetail": {
  41895. "type": "object",
  41896. "properties": {
  41897. "accountid": {
  41898. "description": "资金账号",
  41899. "type": "integer"
  41900. },
  41901. "areauserid": {
  41902. "description": "金融机构ID",
  41903. "type": "integer"
  41904. },
  41905. "financingdays": {
  41906. "description": "天数(天)",
  41907. "type": "integer"
  41908. },
  41909. "interestminlen": {
  41910. "description": "最小起息天数",
  41911. "type": "integer"
  41912. },
  41913. "interestrate": {
  41914. "description": "利率",
  41915. "type": "number"
  41916. },
  41917. "interestratemode": {
  41918. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41919. "type": "integer"
  41920. },
  41921. "interestsettlemode": {
  41922. "description": "结息方式 - 1:按日结息 3:按月结息",
  41923. "type": "integer"
  41924. },
  41925. "interestsettlevalue": {
  41926. "description": "结息方式值",
  41927. "type": "integer"
  41928. },
  41929. "isautoloan": {
  41930. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  41931. "type": "integer"
  41932. },
  41933. "loantag": {
  41934. "description": "放款标识: \"放款快\" 或者为空",
  41935. "type": "string"
  41936. },
  41937. "marginratio": {
  41938. "description": "保证金比率质押率 - [仓单质押]",
  41939. "type": "number"
  41940. },
  41941. "productdetailid": {
  41942. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  41943. "type": "integer"
  41944. },
  41945. "productid": {
  41946. "description": "金融产品ID",
  41947. "type": "integer"
  41948. },
  41949. "productname": {
  41950. "description": "产品名称",
  41951. "type": "string"
  41952. },
  41953. "updatetime": {
  41954. "description": "更新时间",
  41955. "type": "string"
  41956. },
  41957. "username": {
  41958. "description": "融出方",
  41959. "type": "string"
  41960. }
  41961. }
  41962. },
  41963. "models.WrFactorTypeInfo": {
  41964. "type": "object",
  41965. "properties": {
  41966. "deliverygoodscode": {
  41967. "description": "品种代码",
  41968. "type": "string"
  41969. },
  41970. "deliverygoodsname": {
  41971. "description": "品种名称",
  41972. "type": "string"
  41973. },
  41974. "dgfactoryitemid": {
  41975. "description": "选择项id",
  41976. "type": "integer"
  41977. },
  41978. "dgfactoryitemtypeid": {
  41979. "description": "要素选择项ID (1-仓库 2-品牌)",
  41980. "type": "integer"
  41981. },
  41982. "dgfactoryitemvalue": {
  41983. "description": "要素项值",
  41984. "type": "string"
  41985. },
  41986. "itemtypename": {
  41987. "description": "要素项名称",
  41988. "type": "string"
  41989. },
  41990. "optioncompare": {
  41991. "description": "选择比较串",
  41992. "type": "string"
  41993. },
  41994. "warehouseid": {
  41995. "description": "仓库id",
  41996. "type": "integer"
  41997. },
  41998. "wrfactortypeid": {
  41999. "description": "仓单要素ID",
  42000. "type": "string"
  42001. },
  42002. "wrfactortypename": {
  42003. "description": "要素名称",
  42004. "type": "string"
  42005. },
  42006. "wrfactortypename2": {
  42007. "description": "要素名称(不含仓库)",
  42008. "type": "string"
  42009. },
  42010. "wrstandardcode": {
  42011. "description": "品类代码",
  42012. "type": "string"
  42013. },
  42014. "wrstandardid": {
  42015. "description": "品类id",
  42016. "type": "integer"
  42017. },
  42018. "wrstandardname": {
  42019. "description": "品类名称",
  42020. "type": "string"
  42021. }
  42022. }
  42023. },
  42024. "models.WrFilterItem": {
  42025. "type": "object",
  42026. "properties": {
  42027. "itemcode": {
  42028. "description": "代码",
  42029. "type": "string"
  42030. },
  42031. "itemid": {
  42032. "description": "项id",
  42033. "type": "integer"
  42034. },
  42035. "itemname": {
  42036. "description": "名称",
  42037. "type": "string"
  42038. },
  42039. "itemtype": {
  42040. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  42041. "type": "integer"
  42042. }
  42043. }
  42044. },
  42045. "models.WrFinanceBuyApply": {
  42046. "type": "object",
  42047. "properties": {
  42048. "applydate": {
  42049. "description": "申请时间",
  42050. "type": "string"
  42051. },
  42052. "applystatus": {
  42053. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  42054. "type": "integer"
  42055. },
  42056. "applyuserid": {
  42057. "description": "申请人",
  42058. "type": "integer"
  42059. },
  42060. "auditdate": {
  42061. "description": "审核时间",
  42062. "type": "string"
  42063. },
  42064. "auditremark": {
  42065. "description": "审核备注",
  42066. "type": "string"
  42067. },
  42068. "audituserid": {
  42069. "description": "审核人",
  42070. "type": "integer"
  42071. },
  42072. "buyaccountid": {
  42073. "description": "买方资金账号",
  42074. "type": "integer"
  42075. },
  42076. "buyorsell": {
  42077. "description": "买卖 - 0:买 1:卖",
  42078. "type": "integer"
  42079. },
  42080. "buyuserid": {
  42081. "description": "买方用户ID",
  42082. "type": "integer"
  42083. },
  42084. "buyusername": {
  42085. "description": "买方名称",
  42086. "type": "string"
  42087. },
  42088. "buywrtradeorderid": {
  42089. "description": "融资方买委托单ID",
  42090. "type": "string"
  42091. },
  42092. "deliverygoodscode": {
  42093. "description": "品种代码",
  42094. "type": "string"
  42095. },
  42096. "deliverygoodsid": {
  42097. "description": "品种ID",
  42098. "type": "integer"
  42099. },
  42100. "deliverygoodsname": {
  42101. "description": "品种名称",
  42102. "type": "string"
  42103. },
  42104. "deliverymonth": {
  42105. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  42106. "type": "string"
  42107. },
  42108. "enumdicname": {
  42109. "description": "单位名称",
  42110. "type": "string"
  42111. },
  42112. "financeaccountid": {
  42113. "description": "融资方资金帐户ID",
  42114. "type": "integer"
  42115. },
  42116. "financeapplyid": {
  42117. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42118. "type": "string"
  42119. },
  42120. "financeareauserid": {
  42121. "description": "融资方用户ID",
  42122. "type": "string"
  42123. },
  42124. "financename": {
  42125. "description": "融出方名称",
  42126. "type": "string"
  42127. },
  42128. "financetype": {
  42129. "description": "融资类型 1-融资回购",
  42130. "type": "integer"
  42131. },
  42132. "financingdays": {
  42133. "description": "天数(天)",
  42134. "type": "integer"
  42135. },
  42136. "freezebuymargin": {
  42137. "description": "冻结融资保证金(买方)",
  42138. "type": "number"
  42139. },
  42140. "handleremark": {
  42141. "description": "处理备注",
  42142. "type": "string"
  42143. },
  42144. "handlestatus": {
  42145. "description": "处理状态",
  42146. "type": "integer"
  42147. },
  42148. "interestminlen": {
  42149. "description": "最小起息天数",
  42150. "type": "integer"
  42151. },
  42152. "interestrate": {
  42153. "description": "利率",
  42154. "type": "number"
  42155. },
  42156. "interestratemode": {
  42157. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42158. "type": "integer"
  42159. },
  42160. "interestsettlemode": {
  42161. "description": "结息方式 - 1:按日结息 3:按月结息",
  42162. "type": "integer"
  42163. },
  42164. "interestsettlevalue": {
  42165. "description": "结息方式值",
  42166. "type": "integer"
  42167. },
  42168. "isautoloan": {
  42169. "description": "是否自动放款 - 0:手动 1:自动",
  42170. "type": "integer"
  42171. },
  42172. "marginratio": {
  42173. "description": "保证金比率质押率 - [仓单质押]",
  42174. "type": "number"
  42175. },
  42176. "marketid": {
  42177. "description": "市场ID",
  42178. "type": "integer"
  42179. },
  42180. "minivalue": {
  42181. "description": "现货商品最小变动值",
  42182. "type": "integer"
  42183. },
  42184. "optioncompare": {
  42185. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42186. "type": "string"
  42187. },
  42188. "orderqty": {
  42189. "description": "委托数量(商品数量)",
  42190. "type": "number"
  42191. },
  42192. "productdetailid": {
  42193. "description": "产品组合ID",
  42194. "type": "integer"
  42195. },
  42196. "productid": {
  42197. "description": "金融产品ID",
  42198. "type": "integer"
  42199. },
  42200. "productname": {
  42201. "description": "产品名称",
  42202. "type": "string"
  42203. },
  42204. "remark": {
  42205. "description": "备注",
  42206. "type": "string"
  42207. },
  42208. "scfcontractid": {
  42209. "description": "仓单回购合同ID",
  42210. "type": "string"
  42211. },
  42212. "sellaccountid": {
  42213. "description": "卖方资金账号",
  42214. "type": "integer"
  42215. },
  42216. "selluserid": {
  42217. "description": "卖方用户ID",
  42218. "type": "integer"
  42219. },
  42220. "sellwrtradeorderid": {
  42221. "description": "卖方委托单ID",
  42222. "type": "string"
  42223. },
  42224. "tradeamount": {
  42225. "description": "成交金额(借款金额)",
  42226. "type": "number"
  42227. },
  42228. "tradedate": {
  42229. "description": "交易日(yyyyMMdd)",
  42230. "type": "string"
  42231. },
  42232. "tradeprice": {
  42233. "description": "成交价格",
  42234. "type": "number"
  42235. },
  42236. "warehouseid": {
  42237. "description": "仓库ID",
  42238. "type": "integer"
  42239. },
  42240. "warehousename": {
  42241. "description": "仓库名称",
  42242. "type": "string"
  42243. },
  42244. "wrfactortypeid": {
  42245. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42246. "type": "string"
  42247. },
  42248. "wrfactortypename": {
  42249. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42250. "type": "string"
  42251. },
  42252. "wrpricetype": {
  42253. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  42254. "type": "integer"
  42255. },
  42256. "wrstandardcode": {
  42257. "description": "现货商品代码",
  42258. "type": "string"
  42259. },
  42260. "wrstandardid": {
  42261. "description": "现货商品ID",
  42262. "type": "integer"
  42263. },
  42264. "wrstandardname": {
  42265. "description": "商品名称",
  42266. "type": "string"
  42267. },
  42268. "wrtypename": {
  42269. "description": "商品",
  42270. "type": "string"
  42271. }
  42272. }
  42273. },
  42274. "models.WrFriendApply": {
  42275. "type": "object",
  42276. "properties": {
  42277. "applicantid": {
  42278. "description": "申请人",
  42279. "type": "integer"
  42280. },
  42281. "applyname": {
  42282. "description": "申请人名称",
  42283. "type": "string"
  42284. },
  42285. "applysrc": {
  42286. "description": "申请来源 - 1:管理端 2:终端",
  42287. "type": "integer"
  42288. },
  42289. "applystatus": {
  42290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  42291. "type": "integer"
  42292. },
  42293. "applytime": {
  42294. "description": "申请时间",
  42295. "type": "string"
  42296. },
  42297. "auditname": {
  42298. "description": "审核人名称",
  42299. "type": "string"
  42300. },
  42301. "auditorid": {
  42302. "description": "审核人",
  42303. "type": "integer"
  42304. },
  42305. "auditremark": {
  42306. "description": "审核备注",
  42307. "type": "string"
  42308. },
  42309. "auditsrc": {
  42310. "description": "审核来源 - 1:管理端 2:终端",
  42311. "type": "integer"
  42312. },
  42313. "audittime": {
  42314. "description": "审核时间",
  42315. "type": "string"
  42316. },
  42317. "friendapplyid": {
  42318. "description": "申请ID(SEQ_FRIENDAPPLY)",
  42319. "type": "string"
  42320. },
  42321. "friendname": {
  42322. "description": "好友名字(已脱敏)",
  42323. "type": "string"
  42324. },
  42325. "frienduserid": {
  42326. "description": "好友用户ID",
  42327. "type": "string"
  42328. },
  42329. "remark": {
  42330. "description": "备注",
  42331. "type": "string"
  42332. },
  42333. "userid": {
  42334. "description": "申请人用户ID",
  42335. "type": "integer"
  42336. }
  42337. }
  42338. },
  42339. "models.WrFtDeliveryGoods": {
  42340. "type": "object",
  42341. "properties": {
  42342. "deliverygoodscode": {
  42343. "description": "品种代码",
  42344. "type": "string"
  42345. },
  42346. "deliverygoodsid": {
  42347. "description": "品种ID",
  42348. "type": "integer"
  42349. },
  42350. "deliverygoodsname": {
  42351. "description": "品种名称",
  42352. "type": "string"
  42353. },
  42354. "wdlst": {
  42355. "description": "商品列表",
  42356. "type": "array",
  42357. "items": {
  42358. "$ref": "#/definitions/models.WrFtWrstandard"
  42359. }
  42360. }
  42361. }
  42362. },
  42363. "models.WrFtWrstandard": {
  42364. "type": "object",
  42365. "properties": {
  42366. "enumdicname": {
  42367. "description": "单位名称",
  42368. "type": "string"
  42369. },
  42370. "minivalue": {
  42371. "description": "最小变动值",
  42372. "type": "integer"
  42373. },
  42374. "wrstandardcode": {
  42375. "description": "现货商品代码",
  42376. "type": "string"
  42377. },
  42378. "wrstandardid": {
  42379. "description": "现货商品ID",
  42380. "type": "integer"
  42381. },
  42382. "wrstandardname": {
  42383. "description": "商品名称",
  42384. "type": "string"
  42385. }
  42386. }
  42387. },
  42388. "models.WrGoodsInfo": {
  42389. "type": "object",
  42390. "properties": {
  42391. "haswr": {
  42392. "description": "0:仓单预售 1:仓单贸易",
  42393. "type": "integer"
  42394. },
  42395. "lstitem": {
  42396. "description": "商品信息项",
  42397. "type": "array",
  42398. "items": {
  42399. "$ref": "#/definitions/models.WrTypeItem"
  42400. }
  42401. },
  42402. "lststep": {
  42403. "description": "履约规则",
  42404. "type": "array",
  42405. "items": {
  42406. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42407. }
  42408. },
  42409. "marketid": {
  42410. "description": "市场id",
  42411. "type": "integer"
  42412. }
  42413. }
  42414. },
  42415. "models.WrGoodsPerformanceStep": {
  42416. "type": "object",
  42417. "properties": {
  42418. "autoid": {
  42419. "description": "AutoID",
  42420. "type": "integer"
  42421. },
  42422. "isauto": {
  42423. "description": "是否自动 - 0:不自动 1:自动",
  42424. "type": "integer"
  42425. },
  42426. "remark": {
  42427. "description": "备注",
  42428. "type": "string"
  42429. },
  42430. "stepdate": {
  42431. "description": "天数信息(T+N)",
  42432. "type": "string"
  42433. },
  42434. "stepdays": {
  42435. "description": "距离上一步天数",
  42436. "type": "integer"
  42437. },
  42438. "stepindex": {
  42439. "description": "步骤序号",
  42440. "type": "integer"
  42441. },
  42442. "stepinfo": {
  42443. "description": "步骤信息(步骤名称+步骤值)",
  42444. "type": "string"
  42445. },
  42446. "steptypeid": {
  42447. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  42448. "type": "integer"
  42449. },
  42450. "steptypename": {
  42451. "description": "步骤名称",
  42452. "type": "string"
  42453. },
  42454. "stepvalue": {
  42455. "description": "期初均价",
  42456. "type": "number"
  42457. },
  42458. "templateid": {
  42459. "description": "履约计划模板ID",
  42460. "type": "integer"
  42461. }
  42462. }
  42463. },
  42464. "models.WrHoldLB": {
  42465. "type": "object",
  42466. "properties": {
  42467. "accountid": {
  42468. "description": "持有人帐户ID",
  42469. "type": "integer"
  42470. },
  42471. "bannerpicurl": {
  42472. "description": "Banner图",
  42473. "type": "string"
  42474. },
  42475. "createtime": {
  42476. "description": "创建时间(过户时间)",
  42477. "type": "string"
  42478. },
  42479. "deliverygoodscode": {
  42480. "description": "品种代码",
  42481. "type": "string"
  42482. },
  42483. "deliverygoodsid": {
  42484. "description": "品种ID",
  42485. "type": "integer"
  42486. },
  42487. "deliverygoodsname": {
  42488. "description": "品种名称",
  42489. "type": "string"
  42490. },
  42491. "enableqty": {
  42492. "description": "可用数量",
  42493. "type": "number"
  42494. },
  42495. "enumdicname": {
  42496. "description": "单位名称",
  42497. "type": "string"
  42498. },
  42499. "freezerqty": {
  42500. "description": "冻结数量",
  42501. "type": "number"
  42502. },
  42503. "ladingbillid": {
  42504. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  42505. "type": "string"
  42506. },
  42507. "minivalue": {
  42508. "description": "现货商品最小变动值",
  42509. "type": "integer"
  42510. },
  42511. "optioncompare": {
  42512. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42513. "type": "string"
  42514. },
  42515. "parentsubnum": {
  42516. "description": "拆分父子单号",
  42517. "type": "integer"
  42518. },
  42519. "pledgeqty": {
  42520. "description": "质押数量",
  42521. "type": "number"
  42522. },
  42523. "qty": {
  42524. "description": "数量",
  42525. "type": "number"
  42526. },
  42527. "subnum": {
  42528. "description": "提单子单号",
  42529. "type": "integer"
  42530. },
  42531. "thumurls": {
  42532. "description": "缩略图",
  42533. "type": "string"
  42534. },
  42535. "tradedate": {
  42536. "description": "交易日(yyyyMMdd)",
  42537. "type": "string"
  42538. },
  42539. "userid": {
  42540. "description": "持有人ID",
  42541. "type": "integer"
  42542. },
  42543. "warehouseid": {
  42544. "description": "仓库ID",
  42545. "type": "integer"
  42546. },
  42547. "warehousename": {
  42548. "description": "仓库名称",
  42549. "type": "string"
  42550. },
  42551. "wrfactortypeid": {
  42552. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42553. "type": "string"
  42554. },
  42555. "wrfactortypename": {
  42556. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42557. "type": "string"
  42558. },
  42559. "wrholdeno": {
  42560. "description": "仓单编号",
  42561. "type": "string"
  42562. },
  42563. "wrid": {
  42564. "description": "仓单变更ID",
  42565. "type": "string"
  42566. },
  42567. "wrstandardcode": {
  42568. "description": "现货商品代码",
  42569. "type": "string"
  42570. },
  42571. "wrstandardid": {
  42572. "description": "现货商品ID",
  42573. "type": "integer"
  42574. },
  42575. "wrstandardname": {
  42576. "description": "商品名称",
  42577. "type": "string"
  42578. },
  42579. "wrtypename": {
  42580. "description": "商品",
  42581. "type": "string"
  42582. }
  42583. }
  42584. },
  42585. "models.WrMarketTradeConfig": {
  42586. "type": "object",
  42587. "properties": {
  42588. "basisdownratio": {
  42589. "description": "浮动价基差下限比例(仓单贸易)",
  42590. "type": "number"
  42591. },
  42592. "basisupratio": {
  42593. "description": "浮动价基差上限比例(仓单贸易)",
  42594. "type": "number"
  42595. },
  42596. "buychargealgorithm": {
  42597. "description": "买方手续费收取方式 1:比率 2:固定",
  42598. "type": "integer"
  42599. },
  42600. "buychargealgorithm2": {
  42601. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  42602. "type": "integer"
  42603. },
  42604. "buychargealgorithmvalue": {
  42605. "description": "买方手续费设置值(交易所部分)",
  42606. "type": "number"
  42607. },
  42608. "buychargealgorithmvalue2": {
  42609. "description": "买方手续费设置值(会员部分)",
  42610. "type": "number"
  42611. },
  42612. "buychargealgorithmvalue3": {
  42613. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  42614. "type": "number"
  42615. },
  42616. "buychargealgorithmvalue4": {
  42617. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  42618. "type": "number"
  42619. },
  42620. "buyfirstmarginalgorithm": {
  42621. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  42622. "type": "integer"
  42623. },
  42624. "buyfirstmarginvalue": {
  42625. "description": "买方出价保证金设置值 - [竞拍]",
  42626. "type": "number"
  42627. },
  42628. "buymarginalgorithm": {
  42629. "description": "买方保证金方式 - 1:比率 2:固定",
  42630. "type": "integer"
  42631. },
  42632. "buymarginvalue": {
  42633. "description": "买方保证金设置值",
  42634. "type": "number"
  42635. },
  42636. "buyreleaseratio": {
  42637. "description": "买方释放比率[2:分步履约]",
  42638. "type": "number"
  42639. },
  42640. "executemode": {
  42641. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  42642. "type": "integer"
  42643. },
  42644. "executeside": {
  42645. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  42646. "type": "integer"
  42647. },
  42648. "failedchargealgorithm": {
  42649. "description": "流拍手续费收取方式 1:比率 2:固定",
  42650. "type": "integer"
  42651. },
  42652. "failedchargevalue": {
  42653. "description": "流拍手续费设置值",
  42654. "type": "number"
  42655. },
  42656. "failedchargevalue2": {
  42657. "description": "流拍卖方手续费设置值",
  42658. "type": "number"
  42659. },
  42660. "holddays": {
  42661. "description": "合同期限[2:分步履约]",
  42662. "type": "integer"
  42663. },
  42664. "listingmode": {
  42665. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  42666. "type": "integer"
  42667. },
  42668. "marketid": {
  42669. "description": "市场ID-仓单贸易、竞拍、预售",
  42670. "type": "integer"
  42671. },
  42672. "minqty": {
  42673. "description": "最小执行量[2:分步履约]",
  42674. "type": "number"
  42675. },
  42676. "modifierid": {
  42677. "description": "修改人",
  42678. "type": "integer"
  42679. },
  42680. "nowrquotaflag": {
  42681. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  42682. "type": "integer"
  42683. },
  42684. "performancetempid": {
  42685. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  42686. "type": "integer"
  42687. },
  42688. "performancetempid2": {
  42689. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  42690. "type": "integer"
  42691. },
  42692. "performancetempid2s": {
  42693. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  42694. "type": "string"
  42695. },
  42696. "performancetempids": {
  42697. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  42698. "type": "string"
  42699. },
  42700. "performanceway": {
  42701. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  42702. "type": "integer"
  42703. },
  42704. "sellchargealgorithm": {
  42705. "description": "卖方手续费收取方式 1:比率 2:固定",
  42706. "type": "integer"
  42707. },
  42708. "sellchargealgorithm2": {
  42709. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  42710. "type": "integer"
  42711. },
  42712. "sellchargealgorithmvalue": {
  42713. "description": "卖方手续费设置值(交易所部分)",
  42714. "type": "number"
  42715. },
  42716. "sellchargealgorithmvalue2": {
  42717. "description": "卖方手续费设置值(会员部分)",
  42718. "type": "number"
  42719. },
  42720. "sellchargealgorithmvalue3": {
  42721. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  42722. "type": "number"
  42723. },
  42724. "sellchargealgorithmvalue4": {
  42725. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  42726. "type": "number"
  42727. },
  42728. "sellmarginalgorithm": {
  42729. "description": "卖方保证金方式 - 1:比率 2:固定",
  42730. "type": "integer"
  42731. },
  42732. "sellmarginvalue": {
  42733. "description": "卖方保证金设置值",
  42734. "type": "number"
  42735. },
  42736. "sellmarginvalue2": {
  42737. "description": "卖方保证金设置值(无仓单)",
  42738. "type": "number"
  42739. },
  42740. "sellreleaseratio": {
  42741. "description": "卖方释放比率[2:分步履约]",
  42742. "type": "number"
  42743. },
  42744. "updatetime": {
  42745. "description": "更新时间",
  42746. "type": "string"
  42747. }
  42748. }
  42749. },
  42750. "models.WrOrderDetail": {
  42751. "type": "object",
  42752. "properties": {
  42753. "accountid": {
  42754. "description": "交易账号(资金账号)",
  42755. "type": "integer"
  42756. },
  42757. "allfriendsflag": {
  42758. "description": "是否全好友可见 - 0:否 1:是",
  42759. "type": "integer"
  42760. },
  42761. "amount": {
  42762. "description": "期初均价",
  42763. "type": "number"
  42764. },
  42765. "bannerpicurl": {
  42766. "description": "Banner图",
  42767. "type": "string"
  42768. },
  42769. "begindate": {
  42770. "description": "开始交易日(yyyymmdd)",
  42771. "type": "string"
  42772. },
  42773. "buyorsell": {
  42774. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42775. "type": "integer"
  42776. },
  42777. "canbargain": {
  42778. "description": "是否可议价 - 0:不可 1:可",
  42779. "type": "integer"
  42780. },
  42781. "cancelqty": {
  42782. "description": "撤销数量",
  42783. "type": "number"
  42784. },
  42785. "canpart": {
  42786. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  42787. "type": "integer"
  42788. },
  42789. "delistminqty": {
  42790. "description": "起摘数量",
  42791. "type": "integer"
  42792. },
  42793. "deliverygoodscode": {
  42794. "description": "品种代码",
  42795. "type": "string"
  42796. },
  42797. "deliverygoodsid": {
  42798. "description": "品种ID",
  42799. "type": "integer"
  42800. },
  42801. "deliverygoodsname": {
  42802. "description": "品种名称",
  42803. "type": "string"
  42804. },
  42805. "deliverymonth": {
  42806. "description": "交收月",
  42807. "type": "string"
  42808. },
  42809. "enddate": {
  42810. "description": "结束交易日(yyyymmdd)",
  42811. "type": "string"
  42812. },
  42813. "enumdicname": {
  42814. "description": "单位名称",
  42815. "type": "string"
  42816. },
  42817. "fixedprice": {
  42818. "description": "固定价格 - [挂牌]",
  42819. "type": "number"
  42820. },
  42821. "freezecharge": {
  42822. "description": "期初均价",
  42823. "type": "number"
  42824. },
  42825. "freezemargin": {
  42826. "description": "期初均价",
  42827. "type": "number"
  42828. },
  42829. "futupricemove": {
  42830. "description": "期货升贴水",
  42831. "type": "number"
  42832. },
  42833. "futushow": {
  42834. "description": "期货合约/升贴水",
  42835. "type": "string"
  42836. },
  42837. "goodscode": {
  42838. "description": "期货合约",
  42839. "type": "string"
  42840. },
  42841. "goodsid": {
  42842. "description": "期货商品id",
  42843. "type": "integer"
  42844. },
  42845. "goodsname": {
  42846. "description": "商品名称",
  42847. "type": "string"
  42848. },
  42849. "haswr": {
  42850. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42851. "type": "integer"
  42852. },
  42853. "isspecified": {
  42854. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  42855. "type": "integer"
  42856. },
  42857. "ladingbillid": {
  42858. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  42859. "type": "string"
  42860. },
  42861. "marginvalue": {
  42862. "description": "期初均价",
  42863. "type": "number"
  42864. },
  42865. "marketid": {
  42866. "description": "市场ID",
  42867. "type": "integer"
  42868. },
  42869. "matchusername": {
  42870. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  42871. "type": "string"
  42872. },
  42873. "minivalue": {
  42874. "description": "现货商品最小变动值",
  42875. "type": "integer"
  42876. },
  42877. "optioncompare": {
  42878. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42879. "type": "string"
  42880. },
  42881. "orderqty": {
  42882. "description": "委托数量",
  42883. "type": "number"
  42884. },
  42885. "ordertime": {
  42886. "description": "委托时间(挂牌时间)",
  42887. "type": "string"
  42888. },
  42889. "performancetemplateid": {
  42890. "description": "履约模板id",
  42891. "type": "integer"
  42892. },
  42893. "pricemove": {
  42894. "description": "升贴水(浮动价时填写) - [挂牌]",
  42895. "type": "number"
  42896. },
  42897. "taname": {
  42898. "description": "交易用户名称(资金账号名称)",
  42899. "type": "string"
  42900. },
  42901. "thumurls": {
  42902. "description": "缩略图",
  42903. "type": "string"
  42904. },
  42905. "tradedate": {
  42906. "description": "交易日(yyyyMMdd)",
  42907. "type": "string"
  42908. },
  42909. "tradeprice": {
  42910. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  42911. "type": "number"
  42912. },
  42913. "tradeqty": {
  42914. "description": "成交数量",
  42915. "type": "number"
  42916. },
  42917. "userid": {
  42918. "description": "用户ID",
  42919. "type": "integer"
  42920. },
  42921. "validtime": {
  42922. "description": "挂牌有效期",
  42923. "type": "string"
  42924. },
  42925. "validtype": {
  42926. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42927. "type": "integer"
  42928. },
  42929. "warehouseid": {
  42930. "description": "仓库ID",
  42931. "type": "integer"
  42932. },
  42933. "warehousename": {
  42934. "description": "仓库名称",
  42935. "type": "string"
  42936. },
  42937. "wrfactortypeid": {
  42938. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42939. "type": "string"
  42940. },
  42941. "wrfactortypename": {
  42942. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42943. "type": "string"
  42944. },
  42945. "wrpricetype": {
  42946. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42947. "type": "integer"
  42948. },
  42949. "wrstandardcode": {
  42950. "description": "现货商品代码",
  42951. "type": "string"
  42952. },
  42953. "wrstandardid": {
  42954. "description": "现货商品ID",
  42955. "type": "integer"
  42956. },
  42957. "wrstandardname": {
  42958. "description": "商品名称",
  42959. "type": "string"
  42960. },
  42961. "wrtradeorderid": {
  42962. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42963. "type": "string"
  42964. },
  42965. "wrtradeorderstatus": {
  42966. "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:撤单解冻贷款失败",
  42967. "type": "integer"
  42968. },
  42969. "wrtradetype": {
  42970. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42971. "type": "integer"
  42972. },
  42973. "wrtypename": {
  42974. "description": "商品",
  42975. "type": "string"
  42976. }
  42977. }
  42978. },
  42979. "models.WrOrderQuote": {
  42980. "type": "object",
  42981. "properties": {
  42982. "bannerpicurl": {
  42983. "description": "Banner图",
  42984. "type": "string"
  42985. },
  42986. "buyprice": {
  42987. "description": "买价",
  42988. "type": "number"
  42989. },
  42990. "buypricemove": {
  42991. "description": "买升贴水(基差)",
  42992. "type": "number"
  42993. },
  42994. "buyqty": {
  42995. "description": "买量",
  42996. "type": "number"
  42997. },
  42998. "deliverygoodscode": {
  42999. "description": "品种代码",
  43000. "type": "string"
  43001. },
  43002. "deliverygoodsid": {
  43003. "description": "品种id",
  43004. "type": "integer"
  43005. },
  43006. "deliverygoodsname": {
  43007. "description": "品种名称",
  43008. "type": "string"
  43009. },
  43010. "deliverymonth": {
  43011. "description": "交收月",
  43012. "type": "string"
  43013. },
  43014. "enumdicname": {
  43015. "description": "单位名称",
  43016. "type": "string"
  43017. },
  43018. "goodscode": {
  43019. "description": "商品合约(浮动价列表才有)",
  43020. "type": "string"
  43021. },
  43022. "goodsid": {
  43023. "description": "商品id(浮动价列表才有)",
  43024. "type": "integer"
  43025. },
  43026. "minivalue": {
  43027. "description": "现货商品最小变动值",
  43028. "type": "integer"
  43029. },
  43030. "pictureurls": {
  43031. "description": "详情图片(逗号分隔)",
  43032. "type": "string"
  43033. },
  43034. "sellprice": {
  43035. "description": "卖价",
  43036. "type": "number"
  43037. },
  43038. "sellpricemove": {
  43039. "description": "卖升贴水(基差)",
  43040. "type": "number"
  43041. },
  43042. "sellqty": {
  43043. "description": "卖量",
  43044. "type": "number"
  43045. },
  43046. "thumurls": {
  43047. "description": "缩略图片(1:1)(逗号分隔)",
  43048. "type": "string"
  43049. },
  43050. "warehousecode": {
  43051. "description": "仓库代码",
  43052. "type": "string"
  43053. },
  43054. "warehouseid": {
  43055. "description": "仓库id",
  43056. "type": "integer"
  43057. },
  43058. "warehousename": {
  43059. "description": "仓库名称",
  43060. "type": "string"
  43061. },
  43062. "wrfactortypeid": {
  43063. "description": "仓单要素id",
  43064. "type": "string"
  43065. },
  43066. "wrfactortypename": {
  43067. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43068. "type": "string"
  43069. },
  43070. "wrgoodsname": {
  43071. "description": "商品(商品名称+仓库要素名称 拼接)",
  43072. "type": "string"
  43073. },
  43074. "wrstandardcode": {
  43075. "description": "商品代码",
  43076. "type": "string"
  43077. },
  43078. "wrstandardid": {
  43079. "description": "商品id",
  43080. "type": "integer"
  43081. },
  43082. "wrstandardname": {
  43083. "description": "商品名称",
  43084. "type": "string"
  43085. }
  43086. }
  43087. },
  43088. "models.WrOrderQuoteDetail": {
  43089. "type": "object",
  43090. "properties": {
  43091. "buyorsell": {
  43092. "description": "买卖 - 0:买 1:卖",
  43093. "type": "integer"
  43094. },
  43095. "delistminqty": {
  43096. "description": "期初均价",
  43097. "type": "number"
  43098. },
  43099. "deliverymonth": {
  43100. "description": "交收月",
  43101. "type": "string"
  43102. },
  43103. "enumdicname": {
  43104. "description": "单位名称",
  43105. "type": "string"
  43106. },
  43107. "fixedprice": {
  43108. "description": "买(卖)价",
  43109. "type": "number"
  43110. },
  43111. "marketid": {
  43112. "description": "市场id",
  43113. "type": "integer"
  43114. },
  43115. "minivalue": {
  43116. "description": "现货商品最小变动值",
  43117. "type": "integer"
  43118. },
  43119. "orderqty": {
  43120. "description": "买(卖)量(=委托量-成交量)",
  43121. "type": "number"
  43122. },
  43123. "ordertime": {
  43124. "description": "委托时间",
  43125. "type": "string"
  43126. },
  43127. "pricemove": {
  43128. "description": "买(卖)升贴水- 基差",
  43129. "type": "number"
  43130. },
  43131. "userid": {
  43132. "description": "购买方(销售方)用户ID",
  43133. "type": "integer"
  43134. },
  43135. "username": {
  43136. "description": "购买方(销售方)",
  43137. "type": "string"
  43138. },
  43139. "wrtradeorderid": {
  43140. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43141. "type": "string"
  43142. }
  43143. }
  43144. },
  43145. "models.WrOutInApply": {
  43146. "type": "object",
  43147. "properties": {
  43148. "applyid": {
  43149. "description": "申请单id",
  43150. "type": "string"
  43151. },
  43152. "applystatus": {
  43153. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  43154. "type": "integer"
  43155. },
  43156. "applytime": {
  43157. "description": "申请时间",
  43158. "type": "string"
  43159. },
  43160. "applytype": {
  43161. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  43162. "type": "integer"
  43163. },
  43164. "bannerpicurl": {
  43165. "description": "Banner图",
  43166. "type": "string"
  43167. },
  43168. "begindate": {
  43169. "description": "开始交易日(yyyymmdd)",
  43170. "type": "string"
  43171. },
  43172. "deliverygoodscode": {
  43173. "description": "品种代码",
  43174. "type": "string"
  43175. },
  43176. "deliverygoodsid": {
  43177. "description": "品种ID",
  43178. "type": "integer"
  43179. },
  43180. "deliverygoodsname": {
  43181. "description": "品种名称",
  43182. "type": "string"
  43183. },
  43184. "enddate": {
  43185. "description": "结束交易日(yyyymmdd)",
  43186. "type": "string"
  43187. },
  43188. "enumdicname": {
  43189. "description": "单位名称",
  43190. "type": "string"
  43191. },
  43192. "expresscompany": {
  43193. "description": "物流公司",
  43194. "type": "string"
  43195. },
  43196. "expressnum": {
  43197. "description": "物流单号",
  43198. "type": "string"
  43199. },
  43200. "minivalue": {
  43201. "description": "现货商品最小变动值",
  43202. "type": "integer"
  43203. },
  43204. "optioncompare": {
  43205. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43206. "type": "string"
  43207. },
  43208. "qty": {
  43209. "description": "数量",
  43210. "type": "integer"
  43211. },
  43212. "userid": {
  43213. "description": "用户id",
  43214. "type": "integer"
  43215. },
  43216. "warehouseid": {
  43217. "description": "仓库ID",
  43218. "type": "integer"
  43219. },
  43220. "warehousename": {
  43221. "description": "仓库名称",
  43222. "type": "string"
  43223. },
  43224. "wrfactortypeid": {
  43225. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43226. "type": "string"
  43227. },
  43228. "wrfactortypename": {
  43229. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43230. "type": "string"
  43231. },
  43232. "wrstandardcode": {
  43233. "description": "现货商品代码",
  43234. "type": "string"
  43235. },
  43236. "wrstandardid": {
  43237. "description": "现货商品ID",
  43238. "type": "integer"
  43239. },
  43240. "wrstandardname": {
  43241. "description": "商品名称",
  43242. "type": "string"
  43243. },
  43244. "wrtypename": {
  43245. "description": "商品",
  43246. "type": "string"
  43247. }
  43248. }
  43249. },
  43250. "models.WrPerformancePlan": {
  43251. "type": "object",
  43252. "required": [
  43253. "userid"
  43254. ],
  43255. "properties": {
  43256. "activatemonth": {
  43257. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  43258. "type": "string"
  43259. },
  43260. "amount": {
  43261. "description": "履约金额(总金额)",
  43262. "type": "number"
  43263. },
  43264. "begindate": {
  43265. "description": "开始交易日(yyyymmdd)",
  43266. "type": "string"
  43267. },
  43268. "buyaccountid": {
  43269. "description": "买方账号",
  43270. "type": "integer"
  43271. },
  43272. "buyerfreezeamount": {
  43273. "description": "履约冻结(买履约)",
  43274. "type": "number"
  43275. },
  43276. "buyerfreezeamountremain": {
  43277. "description": "履约冻结剩余(买履约)",
  43278. "type": "number"
  43279. },
  43280. "buyorsell": {
  43281. "description": "买卖方向 0-买 1-卖",
  43282. "type": "integer"
  43283. },
  43284. "buypaidamount": {
  43285. "description": "买方已冻/已扣金额 (已付金额)",
  43286. "type": "number"
  43287. },
  43288. "buyusername": {
  43289. "description": "买方名字",
  43290. "type": "string"
  43291. },
  43292. "contractid": {
  43293. "description": "合同ID",
  43294. "type": "integer"
  43295. },
  43296. "createtime": {
  43297. "description": "创建时间",
  43298. "type": "string"
  43299. },
  43300. "creatorid": {
  43301. "description": "创建人",
  43302. "type": "integer"
  43303. },
  43304. "curstepdeadline": {
  43305. "description": "当前步骤到期时间",
  43306. "type": "string"
  43307. },
  43308. "curstepid": {
  43309. "description": "当前步骤ID",
  43310. "type": "string"
  43311. },
  43312. "curstepname": {
  43313. "description": "当前步骤名称",
  43314. "type": "string"
  43315. },
  43316. "deliverygoodscode": {
  43317. "description": "品种代码",
  43318. "type": "string"
  43319. },
  43320. "deliverygoodsid": {
  43321. "description": "品种ID",
  43322. "type": "integer"
  43323. },
  43324. "deliverygoodsname": {
  43325. "description": "品种名称",
  43326. "type": "string"
  43327. },
  43328. "enddate": {
  43329. "description": "结束交易日(yyyymmdd)",
  43330. "type": "string"
  43331. },
  43332. "enumdicname": {
  43333. "description": "单位名称",
  43334. "type": "string"
  43335. },
  43336. "expressfee": {
  43337. "description": "运费",
  43338. "type": "number"
  43339. },
  43340. "expressfeeconfirmed": {
  43341. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  43342. "type": "integer"
  43343. },
  43344. "hasovershort": {
  43345. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  43346. "type": "integer"
  43347. },
  43348. "haswr": {
  43349. "description": "类型 0-仓单预售 1-仓单贸易",
  43350. "type": "integer"
  43351. },
  43352. "marketid": {
  43353. "description": "市场ID",
  43354. "type": "integer"
  43355. },
  43356. "middleaccountid": {
  43357. "description": "中间商资金账号ID",
  43358. "type": "integer"
  43359. },
  43360. "middleuserid": {
  43361. "description": "中间商用户ID",
  43362. "type": "integer"
  43363. },
  43364. "minivalue": {
  43365. "description": "现货商品最小变动值",
  43366. "type": "integer"
  43367. },
  43368. "optioncompare": {
  43369. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43370. "type": "string"
  43371. },
  43372. "overshortamount": {
  43373. "description": "溢短金额",
  43374. "type": "number"
  43375. },
  43376. "overshortqty": {
  43377. "description": "溢短数量",
  43378. "type": "number"
  43379. },
  43380. "paymenttype": {
  43381. "description": "付款方式 - 1:冻结 2:扣款",
  43382. "type": "integer"
  43383. },
  43384. "performanceplanid": {
  43385. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  43386. "type": "string"
  43387. },
  43388. "performancestatus": {
  43389. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  43390. "type": "integer"
  43391. },
  43392. "performancetype": {
  43393. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  43394. "type": "integer"
  43395. },
  43396. "qty": {
  43397. "description": "履约数量",
  43398. "type": "number"
  43399. },
  43400. "relatedorderid": {
  43401. "description": "关联单号(履约类型的关联单号)",
  43402. "type": "string"
  43403. },
  43404. "remark": {
  43405. "description": "备注",
  43406. "type": "string"
  43407. },
  43408. "sellaccountid": {
  43409. "description": "卖方账号",
  43410. "type": "integer"
  43411. },
  43412. "sellerfreezeamount": {
  43413. "description": "履约冻结(卖履约)",
  43414. "type": "number"
  43415. },
  43416. "sellerfreezeamountremain": {
  43417. "description": "履约冻结剩余(卖履约)",
  43418. "type": "number"
  43419. },
  43420. "sellreceivedamount": {
  43421. "description": "卖方已收金额",
  43422. "type": "number"
  43423. },
  43424. "sellusername": {
  43425. "description": "卖方名字",
  43426. "type": "string"
  43427. },
  43428. "shipremark": {
  43429. "description": "发货备注[物流单号]",
  43430. "type": "string"
  43431. },
  43432. "starttime": {
  43433. "description": "开始时间",
  43434. "type": "string"
  43435. },
  43436. "steptypeid": {
  43437. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43438. "type": "integer"
  43439. },
  43440. "typename": {
  43441. "description": "履约类型 名称",
  43442. "type": "string"
  43443. },
  43444. "unpaidamount": {
  43445. "description": "期初均价",
  43446. "type": "number"
  43447. },
  43448. "userid": {
  43449. "description": "用户id",
  43450. "type": "integer"
  43451. },
  43452. "warehouseid": {
  43453. "description": "仓库ID",
  43454. "type": "integer"
  43455. },
  43456. "warehousename": {
  43457. "description": "仓库名称",
  43458. "type": "string"
  43459. },
  43460. "wrfactortypeid": {
  43461. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43462. "type": "string"
  43463. },
  43464. "wrfactortypename": {
  43465. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43466. "type": "string"
  43467. },
  43468. "wrstandardcode": {
  43469. "description": "现货商品代码",
  43470. "type": "string"
  43471. },
  43472. "wrstandardid": {
  43473. "description": "现货商品ID",
  43474. "type": "integer"
  43475. },
  43476. "wrstandardname": {
  43477. "description": "商品名称",
  43478. "type": "string"
  43479. },
  43480. "wrtransferuserid": {
  43481. "description": "仓单受让用户",
  43482. "type": "integer"
  43483. },
  43484. "wrtypename": {
  43485. "description": "商品",
  43486. "type": "string"
  43487. }
  43488. }
  43489. },
  43490. "models.WrPerformancePlanStep": {
  43491. "type": "object",
  43492. "properties": {
  43493. "delaydays": {
  43494. "description": "延期申请天数",
  43495. "type": "integer"
  43496. },
  43497. "deliverygoodscode": {
  43498. "description": "品种代码",
  43499. "type": "string"
  43500. },
  43501. "deliverygoodsid": {
  43502. "description": "品种ID",
  43503. "type": "integer"
  43504. },
  43505. "deliverygoodsname": {
  43506. "description": "品种名称",
  43507. "type": "string"
  43508. },
  43509. "endtime": {
  43510. "description": "结束日期",
  43511. "type": "string"
  43512. },
  43513. "enumdicname": {
  43514. "description": "单位名称",
  43515. "type": "string"
  43516. },
  43517. "executeside": {
  43518. "description": "步骤执行方 - 1:买方 2:卖方",
  43519. "type": "integer"
  43520. },
  43521. "handlestatus": {
  43522. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  43523. "type": "integer"
  43524. },
  43525. "isauto": {
  43526. "description": "是否自动 - 0:不自动 1:自动",
  43527. "type": "integer"
  43528. },
  43529. "islastreceivestep": {
  43530. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  43531. "type": "integer"
  43532. },
  43533. "minivalue": {
  43534. "description": "现货商品最小变动值",
  43535. "type": "integer"
  43536. },
  43537. "optioncompare": {
  43538. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43539. "type": "string"
  43540. },
  43541. "overdays": {
  43542. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  43543. "type": "integer"
  43544. },
  43545. "performancestepid": {
  43546. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  43547. "type": "string"
  43548. },
  43549. "planid": {
  43550. "description": "所属履约计划ID",
  43551. "type": "string"
  43552. },
  43553. "realamount": {
  43554. "description": "实际完成金额",
  43555. "type": "number"
  43556. },
  43557. "relatedorderid": {
  43558. "description": "关联单号",
  43559. "type": "string"
  43560. },
  43561. "remaindays": {
  43562. "description": "剩余天数",
  43563. "type": "integer"
  43564. },
  43565. "remark": {
  43566. "description": "错误备注",
  43567. "type": "string"
  43568. },
  43569. "starttime": {
  43570. "description": "开始日期",
  43571. "type": "string"
  43572. },
  43573. "stepamount": {
  43574. "description": "步骤金额",
  43575. "type": "number"
  43576. },
  43577. "stepdays": {
  43578. "description": "距离上一步天数(分钟)",
  43579. "type": "integer"
  43580. },
  43581. "stepindex": {
  43582. "description": "步骤序号",
  43583. "type": "integer"
  43584. },
  43585. "steplanchtype": {
  43586. "description": "步骤启动类型 - 1:系统自动 2:手动",
  43587. "type": "integer"
  43588. },
  43589. "stepremark": {
  43590. "description": "步骤备注",
  43591. "type": "string"
  43592. },
  43593. "stepstatus": {
  43594. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  43595. "type": "integer"
  43596. },
  43597. "steptypeid": {
  43598. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43599. "type": "integer"
  43600. },
  43601. "steptypename": {
  43602. "description": "步骤名称",
  43603. "type": "string"
  43604. },
  43605. "stepvalue": {
  43606. "description": "步骤值",
  43607. "type": "number"
  43608. },
  43609. "warehouseid": {
  43610. "description": "仓库ID",
  43611. "type": "integer"
  43612. },
  43613. "warehousename": {
  43614. "description": "仓库名称",
  43615. "type": "string"
  43616. },
  43617. "wrfactortypeid": {
  43618. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43619. "type": "string"
  43620. },
  43621. "wrfactortypename": {
  43622. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43623. "type": "string"
  43624. },
  43625. "wrstandardcode": {
  43626. "description": "现货商品代码",
  43627. "type": "string"
  43628. },
  43629. "wrstandardid": {
  43630. "description": "现货商品ID",
  43631. "type": "integer"
  43632. },
  43633. "wrstandardname": {
  43634. "description": "商品名称",
  43635. "type": "string"
  43636. },
  43637. "wrtypename": {
  43638. "description": "商品",
  43639. "type": "string"
  43640. }
  43641. }
  43642. },
  43643. "models.WrPerformanceStepType": {
  43644. "type": "object",
  43645. "properties": {
  43646. "canauto": {
  43647. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  43648. "type": "integer"
  43649. },
  43650. "steptypeid": {
  43651. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  43652. "type": "integer"
  43653. },
  43654. "steptypename": {
  43655. "description": "步骤类型名称",
  43656. "type": "string"
  43657. }
  43658. }
  43659. },
  43660. "models.WrPerformanceTemplateEx": {
  43661. "type": "object",
  43662. "properties": {
  43663. "autoid": {
  43664. "description": "AutoID 模板id",
  43665. "type": "integer"
  43666. },
  43667. "createtime": {
  43668. "description": "创建时间",
  43669. "type": "string"
  43670. },
  43671. "creatorid": {
  43672. "description": "创建人",
  43673. "type": "integer"
  43674. },
  43675. "lstStep": {
  43676. "description": "步骤信息列表",
  43677. "type": "array",
  43678. "items": {
  43679. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  43680. }
  43681. },
  43682. "paymenttype": {
  43683. "description": "支付方式 - 1:冻结 2:扣款",
  43684. "type": "integer"
  43685. },
  43686. "takemode": {
  43687. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  43688. "type": "integer"
  43689. },
  43690. "templatename": {
  43691. "description": "模板名称",
  43692. "type": "string"
  43693. },
  43694. "templatetype": {
  43695. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  43696. "type": "integer"
  43697. },
  43698. "userid": {
  43699. "description": "所属用户",
  43700. "type": "integer"
  43701. }
  43702. }
  43703. },
  43704. "models.WrPosition": {
  43705. "type": "object",
  43706. "properties": {
  43707. "accountid": {
  43708. "description": "帐户ID",
  43709. "type": "integer"
  43710. },
  43711. "buyexcuteqty": {
  43712. "description": "采购履约中数量",
  43713. "type": "number"
  43714. },
  43715. "creditcurqty": {
  43716. "description": "授信当前数量(预售仓单:预售当前量)",
  43717. "type": "number"
  43718. },
  43719. "creditenableqty": {
  43720. "description": "授信可用数量(预售仓单: 可用数量)",
  43721. "type": "number"
  43722. },
  43723. "creditfreezeqty": {
  43724. "description": "授信冻结数量(预售仓单: 当前数量)",
  43725. "type": "number"
  43726. },
  43727. "credittotalqty": {
  43728. "description": "授信总数量(预售仓单:预售总量)",
  43729. "type": "number"
  43730. },
  43731. "credittradeqty": {
  43732. "description": "授信成交数量(预售仓单:成交总量)",
  43733. "type": "number"
  43734. },
  43735. "deliverygoodscode": {
  43736. "description": "品种代码",
  43737. "type": "string"
  43738. },
  43739. "deliverygoodsid": {
  43740. "description": "品种ID",
  43741. "type": "integer"
  43742. },
  43743. "deliverygoodsname": {
  43744. "description": "品种名称",
  43745. "type": "string"
  43746. },
  43747. "enalbeqty": {
  43748. "description": "可用数量",
  43749. "type": "number"
  43750. },
  43751. "enumdicname": {
  43752. "description": "单位名称",
  43753. "type": "string"
  43754. },
  43755. "freezeqty": {
  43756. "description": "总冻结数量",
  43757. "type": "number"
  43758. },
  43759. "haswr": {
  43760. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43761. "type": "integer"
  43762. },
  43763. "minivalue": {
  43764. "description": "现货商品最小变动值",
  43765. "type": "integer"
  43766. },
  43767. "modifytime": {
  43768. "description": "修改时间(过户时间)",
  43769. "type": "string"
  43770. },
  43771. "optioncompare": {
  43772. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43773. "type": "string"
  43774. },
  43775. "pledgeqty": {
  43776. "description": "质押数量",
  43777. "type": "number"
  43778. },
  43779. "querytype": {
  43780. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  43781. "type": "integer"
  43782. },
  43783. "sellexcuteqty": {
  43784. "description": "销售履约中数量",
  43785. "type": "number"
  43786. },
  43787. "totalqty": {
  43788. "description": "总数量(库存数量)",
  43789. "type": "number"
  43790. },
  43791. "warehouseid": {
  43792. "description": "仓库ID",
  43793. "type": "integer"
  43794. },
  43795. "warehousename": {
  43796. "description": "仓库名称",
  43797. "type": "string"
  43798. },
  43799. "wrfactortypeid": {
  43800. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43801. "type": "string"
  43802. },
  43803. "wrfactortypename": {
  43804. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43805. "type": "string"
  43806. },
  43807. "wrpositionid": {
  43808. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  43809. "type": "string"
  43810. },
  43811. "wrpositionno": {
  43812. "description": "仓单编号",
  43813. "type": "string"
  43814. },
  43815. "wrstandardcode": {
  43816. "description": "现货商品代码",
  43817. "type": "string"
  43818. },
  43819. "wrstandardid": {
  43820. "description": "现货商品ID",
  43821. "type": "integer"
  43822. },
  43823. "wrstandardname": {
  43824. "description": "商品名称",
  43825. "type": "string"
  43826. },
  43827. "wrtypename": {
  43828. "description": "商品",
  43829. "type": "string"
  43830. },
  43831. "wruserid": {
  43832. "description": "持有人ID",
  43833. "type": "integer"
  43834. }
  43835. }
  43836. },
  43837. "models.WrPreSaleInfo": {
  43838. "type": "object",
  43839. "properties": {
  43840. "bannerpicurl": {
  43841. "description": "Banner图",
  43842. "type": "string"
  43843. },
  43844. "baseqty": {
  43845. "description": "中签基数",
  43846. "type": "number"
  43847. },
  43848. "createtime": {
  43849. "description": "创建时间",
  43850. "type": "string"
  43851. },
  43852. "deliverygoodsid": {
  43853. "description": "现货品种ID",
  43854. "type": "integer"
  43855. },
  43856. "enddate": {
  43857. "description": "预售结束日期",
  43858. "type": "string"
  43859. },
  43860. "enumdicname": {
  43861. "description": "单位名称",
  43862. "type": "string"
  43863. },
  43864. "lotteryflag": {
  43865. "description": "摇号标识 - 0:未摇号 1:已摇号",
  43866. "type": "integer"
  43867. },
  43868. "lotteryqty": {
  43869. "description": "摇号总量",
  43870. "type": "number"
  43871. },
  43872. "luckyqty": {
  43873. "description": "已中签量",
  43874. "type": "number"
  43875. },
  43876. "marketid": {
  43877. "description": "市场ID",
  43878. "type": "integer"
  43879. },
  43880. "maxbuyqty": {
  43881. "description": "单人最大申购量",
  43882. "type": "number"
  43883. },
  43884. "maxluckyqty": {
  43885. "description": "单人最大中签量",
  43886. "type": "number"
  43887. },
  43888. "pictureurls": {
  43889. "description": "详情图片(逗号分隔)",
  43890. "type": "string"
  43891. },
  43892. "placeqty": {
  43893. "description": "已配售量",
  43894. "type": "number"
  43895. },
  43896. "presaleapplyid": {
  43897. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  43898. "type": "string",
  43899. "example": "0"
  43900. },
  43901. "presaleqty": {
  43902. "description": "预售总量",
  43903. "type": "number"
  43904. },
  43905. "presalestatus": {
  43906. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  43907. "type": "integer"
  43908. },
  43909. "sellaccountid": {
  43910. "description": "发行方资金账户ID",
  43911. "type": "integer"
  43912. },
  43913. "selluserid": {
  43914. "description": "发行方用户ID",
  43915. "type": "integer"
  43916. },
  43917. "sellwrtradeorderid": {
  43918. "description": "发行方卖委托单ID",
  43919. "type": "string"
  43920. },
  43921. "startdate": {
  43922. "description": "预售开始日期",
  43923. "type": "string"
  43924. },
  43925. "takestartdate": {
  43926. "description": "提货开始日期",
  43927. "type": "string"
  43928. },
  43929. "thumurls": {
  43930. "description": "缩略图片(1:1)(逗号分隔)",
  43931. "type": "string"
  43932. },
  43933. "tradedate": {
  43934. "description": "交易日",
  43935. "type": "string"
  43936. },
  43937. "unitid": {
  43938. "description": "单位ID",
  43939. "type": "integer"
  43940. },
  43941. "unitprice": {
  43942. "description": "商品单价",
  43943. "type": "number"
  43944. },
  43945. "username": {
  43946. "description": "发行方用户名称",
  43947. "type": "string"
  43948. },
  43949. "warehousecode": {
  43950. "description": "仓库代码(仓库简称)",
  43951. "type": "string"
  43952. },
  43953. "warehouseid": {
  43954. "description": "仓库ID",
  43955. "type": "integer"
  43956. },
  43957. "warehousename": {
  43958. "description": "仓库名称",
  43959. "type": "string"
  43960. },
  43961. "wrfactortypeid": {
  43962. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  43963. "type": "string",
  43964. "example": "0"
  43965. },
  43966. "wrstandardid": {
  43967. "description": "现货商品ID",
  43968. "type": "integer"
  43969. },
  43970. "wrstandardname": {
  43971. "description": "现货商品名称",
  43972. "type": "string"
  43973. }
  43974. }
  43975. },
  43976. "models.WrQuoteOrderMyq": {
  43977. "type": "object",
  43978. "properties": {
  43979. "buyorsell": {
  43980. "description": "买卖 - 0:买 1:卖",
  43981. "type": "integer"
  43982. },
  43983. "canbargain": {
  43984. "description": "是否可议价 - 0:不可 1:可",
  43985. "type": "integer"
  43986. },
  43987. "canpart": {
  43988. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  43989. "type": "integer"
  43990. },
  43991. "delistminqty": {
  43992. "description": "期初均价",
  43993. "type": "number"
  43994. },
  43995. "deliverygoodscode": {
  43996. "description": "品种代码",
  43997. "type": "string"
  43998. },
  43999. "deliverygoodsid": {
  44000. "description": "品种ID",
  44001. "type": "integer"
  44002. },
  44003. "deliverygoodsname": {
  44004. "description": "品种名称",
  44005. "type": "string"
  44006. },
  44007. "deliverymonth": {
  44008. "description": "交收月",
  44009. "type": "string"
  44010. },
  44011. "enumdicname": {
  44012. "description": "单位名称",
  44013. "type": "string"
  44014. },
  44015. "fixedprice": {
  44016. "description": "买(卖)价",
  44017. "type": "number"
  44018. },
  44019. "goodscode": {
  44020. "description": "商品合约代码",
  44021. "type": "string"
  44022. },
  44023. "marginflag": {
  44024. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  44025. "type": "integer"
  44026. },
  44027. "marginvalue": {
  44028. "description": "保证金设置值",
  44029. "type": "number"
  44030. },
  44031. "minivalue": {
  44032. "description": "现货商品最小变动值",
  44033. "type": "integer"
  44034. },
  44035. "orderqty": {
  44036. "description": "买(卖)量(=委托量-成交量)",
  44037. "type": "number"
  44038. },
  44039. "ordertime": {
  44040. "description": "委托时间",
  44041. "type": "string"
  44042. },
  44043. "performancetemplateid": {
  44044. "description": "履约模板id",
  44045. "type": "integer"
  44046. },
  44047. "pricemove": {
  44048. "description": "买(卖)升贴水- 基差",
  44049. "type": "number"
  44050. },
  44051. "templatename": {
  44052. "description": "履约模板名称",
  44053. "type": "string"
  44054. },
  44055. "userid": {
  44056. "description": "购买方(销售方)用户ID",
  44057. "type": "integer"
  44058. },
  44059. "username": {
  44060. "description": "购买方(销售方)",
  44061. "type": "string"
  44062. },
  44063. "validtime": {
  44064. "description": "有效期限",
  44065. "type": "string"
  44066. },
  44067. "validtype": {
  44068. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  44069. "type": "integer"
  44070. },
  44071. "warehousename": {
  44072. "description": "仓库名称",
  44073. "type": "string"
  44074. },
  44075. "wrfactortypeid": {
  44076. "description": "仓单要素id",
  44077. "type": "string"
  44078. },
  44079. "wrstandardcode": {
  44080. "description": "现货商品代码",
  44081. "type": "string"
  44082. },
  44083. "wrstandardid": {
  44084. "description": "现货商品ID",
  44085. "type": "integer"
  44086. },
  44087. "wrstandardname": {
  44088. "description": "商品名称",
  44089. "type": "string"
  44090. },
  44091. "wrtradeorderid": {
  44092. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44093. "type": "string"
  44094. },
  44095. "wrtypename": {
  44096. "description": "商品",
  44097. "type": "string"
  44098. }
  44099. }
  44100. },
  44101. "models.WrReckonSpotGoodsTradeSum": {
  44102. "type": "object",
  44103. "properties": {
  44104. "begindate": {
  44105. "description": "开始日期(结果含开始日期) yyyymmdd",
  44106. "type": "string"
  44107. },
  44108. "enddate": {
  44109. "description": "结束日期(结果含结束日期) yyyymmdd",
  44110. "type": "string"
  44111. },
  44112. "istoday": {
  44113. "description": "是否当日",
  44114. "type": "boolean"
  44115. },
  44116. "marketid": {
  44117. "description": "市场ID",
  44118. "type": "integer"
  44119. },
  44120. "price": {
  44121. "description": "价格 = 日成交金额 / 日成交数量",
  44122. "type": "string"
  44123. },
  44124. "reckondate": {
  44125. "description": "日期 格式 yyyymmdd",
  44126. "type": "string"
  44127. },
  44128. "tradeamount": {
  44129. "description": "期初均价",
  44130. "type": "number"
  44131. },
  44132. "tradeqty": {
  44133. "description": "期初均价",
  44134. "type": "number"
  44135. },
  44136. "wrstandardid": {
  44137. "description": "现货商品ID",
  44138. "type": "integer"
  44139. }
  44140. }
  44141. },
  44142. "models.WrScfContract": {
  44143. "type": "object",
  44144. "properties": {
  44145. "borroweruserid": {
  44146. "description": "借款用户ID",
  44147. "type": "integer"
  44148. },
  44149. "buybackwrpositionqty": {
  44150. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  44151. "type": "number"
  44152. },
  44153. "closeinterest": {
  44154. "description": "已结利息 -\u003e 已结费用",
  44155. "type": "number"
  44156. },
  44157. "currisklevel": {
  44158. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  44159. "type": "integer"
  44160. },
  44161. "deadline": {
  44162. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  44163. "type": "string"
  44164. },
  44165. "deliverygoodscode": {
  44166. "description": "品种代码",
  44167. "type": "string"
  44168. },
  44169. "deliverygoodsid": {
  44170. "description": "品种ID",
  44171. "type": "integer"
  44172. },
  44173. "deliverygoodsname": {
  44174. "description": "品种名称",
  44175. "type": "string"
  44176. },
  44177. "enumdicname": {
  44178. "description": "单位名称",
  44179. "type": "string"
  44180. },
  44181. "financingdays": {
  44182. "description": "天数(天)",
  44183. "type": "integer"
  44184. },
  44185. "initmargin": {
  44186. "description": "保证金 - [仓单回购]",
  44187. "type": "number"
  44188. },
  44189. "interestamount": {
  44190. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  44191. "type": "number"
  44192. },
  44193. "interestdebt": {
  44194. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  44195. "type": "number"
  44196. },
  44197. "interestminlen": {
  44198. "description": "最小起息天数",
  44199. "type": "integer"
  44200. },
  44201. "interestrate": {
  44202. "description": "利率",
  44203. "type": "number"
  44204. },
  44205. "interestratemode": {
  44206. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  44207. "type": "integer"
  44208. },
  44209. "interestsettlemode": {
  44210. "description": "结息方式 - 1:按日结息 3:按月结息",
  44211. "type": "integer"
  44212. },
  44213. "interestsettlevalue": {
  44214. "description": "结息方式值",
  44215. "type": "integer"
  44216. },
  44217. "isautoloan": {
  44218. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  44219. "type": "integer"
  44220. },
  44221. "lastcloseinterestday": {
  44222. "description": "最近结息日(yyyyMMdd)",
  44223. "type": "string"
  44224. },
  44225. "lenderamount": {
  44226. "description": "贷款金额 -\u003e 借款金额",
  44227. "type": "number"
  44228. },
  44229. "lenderuserid": {
  44230. "description": "贷款方用户ID -\u003e 融出方用户ID",
  44231. "type": "integer"
  44232. },
  44233. "lenderusername": {
  44234. "description": "融出方",
  44235. "type": "string"
  44236. },
  44237. "marginratio": {
  44238. "description": "保证金比率质押率 - [仓单质押]",
  44239. "type": "number"
  44240. },
  44241. "marketid": {
  44242. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  44243. "type": "integer"
  44244. },
  44245. "minivalue": {
  44246. "description": "现货商品最小变动值",
  44247. "type": "integer"
  44248. },
  44249. "optioncompare": {
  44250. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44251. "type": "string"
  44252. },
  44253. "pricemove": {
  44254. "description": "估值升贴水值",
  44255. "type": "number"
  44256. },
  44257. "productdetailid": {
  44258. "description": "产品组合ID",
  44259. "type": "integer"
  44260. },
  44261. "productid": {
  44262. "description": "金融产品ID",
  44263. "type": "integer"
  44264. },
  44265. "productname": {
  44266. "description": "产品名称",
  44267. "type": "string"
  44268. },
  44269. "remainamount": {
  44270. "description": "合同剩余金额 -\u003e 剩余金额",
  44271. "type": "number"
  44272. },
  44273. "remainwrpositionqty": {
  44274. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  44275. "type": "number"
  44276. },
  44277. "remark": {
  44278. "description": "备注",
  44279. "type": "string"
  44280. },
  44281. "scfcontractid": {
  44282. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  44283. "type": "string"
  44284. },
  44285. "scfcontractstatus": {
  44286. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  44287. "type": "integer"
  44288. },
  44289. "scfcontracttype": {
  44290. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  44291. "type": "integer"
  44292. },
  44293. "startinterestday": {
  44294. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  44295. "type": "string"
  44296. },
  44297. "totalinterest": {
  44298. "description": "已计利息 -\u003e 已计费用",
  44299. "type": "number"
  44300. },
  44301. "unpaidinterest": {
  44302. "description": "期初均价",
  44303. "type": "number"
  44304. },
  44305. "updatetime": {
  44306. "description": "更新时间",
  44307. "type": "string"
  44308. },
  44309. "warehouseid": {
  44310. "description": "仓库ID",
  44311. "type": "integer"
  44312. },
  44313. "warehousename": {
  44314. "description": "仓库名称",
  44315. "type": "string"
  44316. },
  44317. "wrfactortypeid": {
  44318. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44319. "type": "string"
  44320. },
  44321. "wrfactortypename": {
  44322. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44323. "type": "string"
  44324. },
  44325. "wrqty": {
  44326. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  44327. "type": "number"
  44328. },
  44329. "wrstandardcode": {
  44330. "description": "现货商品代码",
  44331. "type": "string"
  44332. },
  44333. "wrstandardid": {
  44334. "description": "现货商品ID",
  44335. "type": "integer"
  44336. },
  44337. "wrstandardname": {
  44338. "description": "商品名称",
  44339. "type": "string"
  44340. },
  44341. "wrtypename": {
  44342. "description": "商品",
  44343. "type": "string"
  44344. }
  44345. }
  44346. },
  44347. "models.WrScfContractInterest": {
  44348. "type": "object",
  44349. "properties": {
  44350. "closeinterest": {
  44351. "description": "已结利息",
  44352. "type": "number"
  44353. },
  44354. "closeintereststatus": {
  44355. "description": "结息状态 - 1:未结 2:已结",
  44356. "type": "integer"
  44357. },
  44358. "closetime": {
  44359. "description": "结息时间",
  44360. "type": "string"
  44361. },
  44362. "closetradedate": {
  44363. "description": "结息交易日",
  44364. "type": "string"
  44365. },
  44366. "creatorid": {
  44367. "description": "操作人ID",
  44368. "type": "integer"
  44369. },
  44370. "dayrate": {
  44371. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  44372. "type": "number"
  44373. },
  44374. "interest": {
  44375. "description": "利息",
  44376. "type": "number"
  44377. },
  44378. "interestamount": {
  44379. "description": "计息金额",
  44380. "type": "number"
  44381. },
  44382. "interestday": {
  44383. "description": "计息日(yyyyMMdd)",
  44384. "type": "string"
  44385. },
  44386. "scfcontractid": {
  44387. "description": "SCF合同ID",
  44388. "type": "string"
  44389. },
  44390. "scfcontractinterestid": {
  44391. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  44392. "type": "integer"
  44393. },
  44394. "updatetime": {
  44395. "description": "更新时间",
  44396. "type": "string"
  44397. }
  44398. }
  44399. },
  44400. "models.WrSearchUser": {
  44401. "type": "object",
  44402. "required": [
  44403. "username"
  44404. ],
  44405. "properties": {
  44406. "userid": {
  44407. "description": "用户ID",
  44408. "type": "integer"
  44409. },
  44410. "username": {
  44411. "description": "用户名称(已脱敏)",
  44412. "type": "string"
  44413. },
  44414. "username2": {
  44415. "description": "用户名称(未脱敏)",
  44416. "type": "string"
  44417. },
  44418. "usertype": {
  44419. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  44420. "type": "integer"
  44421. }
  44422. }
  44423. },
  44424. "models.WrSiteColumnDetail": {
  44425. "type": "object",
  44426. "properties": {
  44427. "brief": {
  44428. "description": "简介",
  44429. "type": "string"
  44430. },
  44431. "context": {
  44432. "description": "内容",
  44433. "type": "string"
  44434. },
  44435. "coverimage": {
  44436. "description": "封面图片",
  44437. "type": "string"
  44438. },
  44439. "creaedate": {
  44440. "description": "创建时间",
  44441. "type": "string"
  44442. },
  44443. "id": {
  44444. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  44445. "type": "integer"
  44446. },
  44447. "istop": {
  44448. "description": "是否置顶 - 0:不置 1:置顶",
  44449. "type": "integer"
  44450. },
  44451. "publishdate": {
  44452. "description": "发布日期",
  44453. "type": "string"
  44454. },
  44455. "title": {
  44456. "description": "标题",
  44457. "type": "string"
  44458. },
  44459. "updatedate": {
  44460. "description": "修改时间",
  44461. "type": "string"
  44462. }
  44463. }
  44464. },
  44465. "models.WrSpecialMatchOrder": {
  44466. "type": "object",
  44467. "properties": {
  44468. "amount": {
  44469. "description": "金额 = 数量 * 价格",
  44470. "type": "number"
  44471. },
  44472. "buyorsell": {
  44473. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44474. "type": "integer"
  44475. },
  44476. "cancelqty": {
  44477. "description": "撤销数量",
  44478. "type": "number"
  44479. },
  44480. "deliverygoodscode": {
  44481. "description": "品种代码",
  44482. "type": "string"
  44483. },
  44484. "deliverygoodsid": {
  44485. "description": "品种ID",
  44486. "type": "integer"
  44487. },
  44488. "deliverygoodsname": {
  44489. "description": "品种名称",
  44490. "type": "string"
  44491. },
  44492. "enumdicname": {
  44493. "description": "单位名称",
  44494. "type": "string"
  44495. },
  44496. "fixedprice": {
  44497. "description": "固定价格(价格)",
  44498. "type": "number"
  44499. },
  44500. "haswr": {
  44501. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44502. "type": "integer"
  44503. },
  44504. "isspecified": {
  44505. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  44506. "type": "integer"
  44507. },
  44508. "marketid": {
  44509. "description": "市场ID",
  44510. "type": "integer"
  44511. },
  44512. "matchuserid": {
  44513. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  44514. "type": "integer"
  44515. },
  44516. "matchusername": {
  44517. "description": "指定方",
  44518. "type": "string"
  44519. },
  44520. "minivalue": {
  44521. "description": "现货商品最小变动值",
  44522. "type": "integer"
  44523. },
  44524. "optioncompare": {
  44525. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44526. "type": "string"
  44527. },
  44528. "orderqty": {
  44529. "description": "委托数量",
  44530. "type": "number"
  44531. },
  44532. "ordertime": {
  44533. "description": "委托时间",
  44534. "type": "string"
  44535. },
  44536. "pricemove": {
  44537. "description": "升贴水(浮动价时填写) - [挂牌]",
  44538. "type": "number"
  44539. },
  44540. "tradedate": {
  44541. "description": "交易日(yyyyMMdd)",
  44542. "type": "string"
  44543. },
  44544. "tradeprice": {
  44545. "description": "成交价格",
  44546. "type": "number"
  44547. },
  44548. "tradeqty": {
  44549. "description": "成交数量",
  44550. "type": "number"
  44551. },
  44552. "userid": {
  44553. "description": "用户ID",
  44554. "type": "integer"
  44555. },
  44556. "username": {
  44557. "description": "发起方",
  44558. "type": "string"
  44559. },
  44560. "warehouseid": {
  44561. "description": "仓库ID",
  44562. "type": "integer"
  44563. },
  44564. "warehousename": {
  44565. "description": "仓库名称",
  44566. "type": "string"
  44567. },
  44568. "wrfactortypeid": {
  44569. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44570. "type": "string"
  44571. },
  44572. "wrfactortypename": {
  44573. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44574. "type": "string"
  44575. },
  44576. "wrpricetype": {
  44577. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  44578. "type": "integer"
  44579. },
  44580. "wrstandardcode": {
  44581. "description": "现货商品代码",
  44582. "type": "string"
  44583. },
  44584. "wrstandardid": {
  44585. "description": "现货商品ID",
  44586. "type": "integer"
  44587. },
  44588. "wrstandardname": {
  44589. "description": "商品名称",
  44590. "type": "string"
  44591. },
  44592. "wrtradeorderid": {
  44593. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44594. "type": "string"
  44595. },
  44596. "wrtradeorderstatus": {
  44597. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  44598. "type": "integer"
  44599. },
  44600. "wrtradetype": {
  44601. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  44602. "type": "integer"
  44603. },
  44604. "wrtypename": {
  44605. "description": "商品",
  44606. "type": "string"
  44607. }
  44608. }
  44609. },
  44610. "models.WrSpotGroupTradeSum": {
  44611. "type": "object",
  44612. "properties": {
  44613. "deliverygoodscode": {
  44614. "description": "现货品种代码",
  44615. "type": "string"
  44616. },
  44617. "deliverygoodsid": {
  44618. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  44619. "type": "integer"
  44620. },
  44621. "deliverygoodsname": {
  44622. "description": "现货品种名称",
  44623. "type": "string"
  44624. },
  44625. "lastavgprice": {
  44626. "description": "上上个交易日价格(前2天价格)",
  44627. "type": "string"
  44628. },
  44629. "lastreckondate": {
  44630. "description": "上上个交易日(前2天交易日)",
  44631. "type": "string"
  44632. },
  44633. "reckondate": {
  44634. "description": "上个交易日(前1天交易日)",
  44635. "type": "string"
  44636. },
  44637. "todayavgprice": {
  44638. "description": "上个交易日价格(前1天价格)",
  44639. "type": "string"
  44640. },
  44641. "updown": {
  44642. "description": "涨跌",
  44643. "type": "string"
  44644. },
  44645. "updownratio": {
  44646. "description": "涨幅(已格式化, 直接显示即可)",
  44647. "type": "string"
  44648. }
  44649. }
  44650. },
  44651. "models.WrSpotGroupTradeSumDetail": {
  44652. "type": "object",
  44653. "properties": {
  44654. "deliverygoodsid": {
  44655. "description": "现货商品id",
  44656. "type": "integer"
  44657. },
  44658. "price": {
  44659. "description": "价格",
  44660. "type": "number"
  44661. },
  44662. "reckondate": {
  44663. "description": "日期(yyymmdd, 如:20211031)",
  44664. "type": "string"
  44665. }
  44666. }
  44667. },
  44668. "models.WrSpotGroupTradeSumEx": {
  44669. "type": "object",
  44670. "properties": {
  44671. "lst": {
  44672. "description": "指数列表",
  44673. "type": "array",
  44674. "items": {
  44675. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  44676. }
  44677. },
  44678. "prereckondate": {
  44679. "description": "上上个交易日(yyymmdd)",
  44680. "type": "string"
  44681. },
  44682. "reckondate": {
  44683. "description": "上个交易日(yyyymmdd)",
  44684. "type": "string"
  44685. }
  44686. }
  44687. },
  44688. "models.WrStandardFactoryItem": {
  44689. "type": "object",
  44690. "properties": {
  44691. "dgfactoryitemid": {
  44692. "description": "选择项id",
  44693. "type": "integer"
  44694. },
  44695. "dgfactoryitemvalue": {
  44696. "description": "要素项值",
  44697. "type": "string"
  44698. },
  44699. "warehouseid": {
  44700. "description": "仓库id",
  44701. "type": "integer"
  44702. }
  44703. }
  44704. },
  44705. "models.WrStandardFactoryItemEx": {
  44706. "type": "object",
  44707. "properties": {
  44708. "dgfactoryitemtypeid": {
  44709. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  44710. "type": "integer"
  44711. },
  44712. "itemlst": {
  44713. "description": "要素项列表",
  44714. "type": "array",
  44715. "items": {
  44716. "$ref": "#/definitions/models.WrStandardFactoryItem"
  44717. }
  44718. },
  44719. "itemtypename": {
  44720. "description": "要素项类型名称",
  44721. "type": "string"
  44722. },
  44723. "wrstandardid": {
  44724. "description": "品类",
  44725. "type": "integer"
  44726. }
  44727. }
  44728. },
  44729. "models.WrTradeDetail": {
  44730. "type": "object",
  44731. "properties": {
  44732. "accountid": {
  44733. "description": "资金账号",
  44734. "type": "integer"
  44735. },
  44736. "bannerpicurl": {
  44737. "description": "Banner图",
  44738. "type": "string"
  44739. },
  44740. "begindate": {
  44741. "description": "开始交易日(yyyymmdd)",
  44742. "type": "string"
  44743. },
  44744. "buyorsell": {
  44745. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44746. "type": "integer"
  44747. },
  44748. "chargevalue": {
  44749. "description": "手续费",
  44750. "type": "number"
  44751. },
  44752. "deliverygoodscode": {
  44753. "description": "品种代码",
  44754. "type": "string"
  44755. },
  44756. "deliverygoodsid": {
  44757. "description": "品种ID",
  44758. "type": "integer"
  44759. },
  44760. "deliverygoodsname": {
  44761. "description": "品种名称",
  44762. "type": "string"
  44763. },
  44764. "deliverymonth": {
  44765. "description": "交收月",
  44766. "type": "string"
  44767. },
  44768. "enddate": {
  44769. "description": "结束交易日(yyyymmdd)",
  44770. "type": "string"
  44771. },
  44772. "enumdicname": {
  44773. "description": "单位名称",
  44774. "type": "string"
  44775. },
  44776. "haswr": {
  44777. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44778. "type": "integer"
  44779. },
  44780. "marketid": {
  44781. "description": "市场ID",
  44782. "type": "integer"
  44783. },
  44784. "matchaccountid": {
  44785. "description": "对手账号",
  44786. "type": "integer"
  44787. },
  44788. "matchusername": {
  44789. "description": "对手方",
  44790. "type": "string"
  44791. },
  44792. "minivalue": {
  44793. "description": "现货商品最小变动值",
  44794. "type": "integer"
  44795. },
  44796. "optioncompare": {
  44797. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44798. "type": "string"
  44799. },
  44800. "thumurls": {
  44801. "description": "缩略图",
  44802. "type": "string"
  44803. },
  44804. "tradedate": {
  44805. "description": "交易日(yyyyMMdd)",
  44806. "type": "string"
  44807. },
  44808. "tradeprice": {
  44809. "description": "成交价格",
  44810. "type": "number"
  44811. },
  44812. "tradeqty": {
  44813. "description": "成交数量",
  44814. "type": "number"
  44815. },
  44816. "tradetime": {
  44817. "description": "成交时间",
  44818. "type": "string"
  44819. },
  44820. "userid": {
  44821. "description": "用户ID",
  44822. "type": "integer"
  44823. },
  44824. "warehouseid": {
  44825. "description": "仓库ID",
  44826. "type": "integer"
  44827. },
  44828. "warehousename": {
  44829. "description": "仓库名称",
  44830. "type": "string"
  44831. },
  44832. "wrfactortypeid": {
  44833. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44834. "type": "string"
  44835. },
  44836. "wrfactortypename": {
  44837. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44838. "type": "string"
  44839. },
  44840. "wrstandardcode": {
  44841. "description": "现货商品代码",
  44842. "type": "string"
  44843. },
  44844. "wrstandardid": {
  44845. "description": "现货商品ID",
  44846. "type": "integer"
  44847. },
  44848. "wrstandardname": {
  44849. "description": "商品名称",
  44850. "type": "string"
  44851. },
  44852. "wrtradedetailid": {
  44853. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  44854. "type": "string"
  44855. },
  44856. "wrtradetype": {
  44857. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  44858. "type": "integer"
  44859. },
  44860. "wrtypename": {
  44861. "description": "商品",
  44862. "type": "string"
  44863. }
  44864. }
  44865. },
  44866. "models.WrTradeOrderDetail": {
  44867. "type": "object",
  44868. "properties": {
  44869. "buyorsell": {
  44870. "description": "买卖方向 0-买 1-卖",
  44871. "type": "integer"
  44872. },
  44873. "goodsid": {
  44874. "description": "商品id",
  44875. "type": "integer"
  44876. },
  44877. "orderid": {
  44878. "description": "委托单号",
  44879. "type": "string"
  44880. },
  44881. "orderprice": {
  44882. "description": "期初均价",
  44883. "type": "number"
  44884. },
  44885. "orderqty": {
  44886. "description": "委托数量",
  44887. "type": "integer"
  44888. },
  44889. "userid": {
  44890. "description": "用户id",
  44891. "type": "integer"
  44892. },
  44893. "username": {
  44894. "description": "用户名称(已脱敏)",
  44895. "type": "string"
  44896. }
  44897. }
  44898. },
  44899. "models.WrTypeItem": {
  44900. "type": "object",
  44901. "properties": {
  44902. "name": {
  44903. "description": "名称",
  44904. "type": "string"
  44905. },
  44906. "value": {
  44907. "description": "值",
  44908. "type": "string"
  44909. }
  44910. }
  44911. },
  44912. "models.WrUserFriend": {
  44913. "type": "object",
  44914. "properties": {
  44915. "friendname": {
  44916. "description": "朋友名称(已脱敏)",
  44917. "type": "string"
  44918. },
  44919. "frienduserid": {
  44920. "description": "朋友id",
  44921. "type": "integer"
  44922. },
  44923. "isfriend": {
  44924. "description": "是否好友 0-不是 1-是",
  44925. "type": "integer"
  44926. },
  44927. "userid": {
  44928. "description": "用户id",
  44929. "type": "integer"
  44930. }
  44931. }
  44932. },
  44933. "models.WrUserReceiptInfo": {
  44934. "type": "object",
  44935. "properties": {
  44936. "address": {
  44937. "description": "地址[发票类型:企业]",
  44938. "type": "string"
  44939. },
  44940. "autoid": {
  44941. "description": "AutoID",
  44942. "type": "integer"
  44943. },
  44944. "contactinfo": {
  44945. "description": "联系方式",
  44946. "type": "string"
  44947. },
  44948. "idnum": {
  44949. "description": "身份证号码[发票类型:个人]",
  44950. "type": "string"
  44951. },
  44952. "isdefault": {
  44953. "description": "是否默认地址 - 0:否 1:是",
  44954. "type": "integer"
  44955. },
  44956. "receiptaccount": {
  44957. "description": "发票帐号[发票类型:企业]",
  44958. "type": "string"
  44959. },
  44960. "receiptbank": {
  44961. "description": "发票开户行[发票类型:企业]",
  44962. "type": "string"
  44963. },
  44964. "receipttype": {
  44965. "description": "发票类型 - 1:个人 2:企业",
  44966. "type": "integer"
  44967. },
  44968. "taxpayerid": {
  44969. "description": "纳税人识别号",
  44970. "type": "string"
  44971. },
  44972. "userid": {
  44973. "description": "用户ID",
  44974. "type": "integer"
  44975. },
  44976. "username": {
  44977. "description": "户名(个人姓名或企业名称)",
  44978. "type": "string"
  44979. }
  44980. }
  44981. },
  44982. "models.Wrtradetradequote": {
  44983. "type": "object",
  44984. "properties": {
  44985. "buyaccountid": {
  44986. "description": "买方账号ID",
  44987. "type": "integer"
  44988. },
  44989. "buychargevalue": {
  44990. "description": "买方手续费",
  44991. "type": "number"
  44992. },
  44993. "buyuserid": {
  44994. "description": "买方用户ID",
  44995. "type": "integer"
  44996. },
  44997. "deliverygoodsid": {
  44998. "description": "现货品种ID",
  44999. "type": "integer"
  45000. },
  45001. "exchangerate": {
  45002. "description": "汇率",
  45003. "type": "number"
  45004. },
  45005. "marketid": {
  45006. "description": "市场ID",
  45007. "type": "integer"
  45008. },
  45009. "oritradeamount": {
  45010. "description": "成交金额[商品币种]",
  45011. "type": "number"
  45012. },
  45013. "performanceplanid": {
  45014. "description": "履约计划ID/合同ID",
  45015. "type": "integer"
  45016. },
  45017. "sellaccountid": {
  45018. "description": "卖方账号ID",
  45019. "type": "integer"
  45020. },
  45021. "sellchargevalue": {
  45022. "description": "卖方手续费",
  45023. "type": "number"
  45024. },
  45025. "selluserid": {
  45026. "description": "卖方用户ID",
  45027. "type": "integer"
  45028. },
  45029. "tradeamount": {
  45030. "description": "成交金额",
  45031. "type": "number"
  45032. },
  45033. "tradedate": {
  45034. "description": "交易日(yyyyMMdd)",
  45035. "type": "string"
  45036. },
  45037. "tradeprice": {
  45038. "description": "成交价格",
  45039. "type": "number"
  45040. },
  45041. "tradeqty": {
  45042. "description": "成交数量",
  45043. "type": "integer"
  45044. },
  45045. "tradetime": {
  45046. "description": "成交时间",
  45047. "type": "string"
  45048. },
  45049. "wrfactortypeid": {
  45050. "description": "仓单要素类型ID",
  45051. "type": "integer"
  45052. },
  45053. "wrstandardid": {
  45054. "description": "现货商品ID",
  45055. "type": "integer"
  45056. },
  45057. "wrtradedetailid": {
  45058. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45059. "type": "integer"
  45060. }
  45061. }
  45062. },
  45063. "models.XHBRAND": {
  45064. "type": "object",
  45065. "properties": {
  45066. "brandid": {
  45067. "description": "品牌id",
  45068. "type": "integer"
  45069. },
  45070. "brandname": {
  45071. "description": "品牌名称",
  45072. "type": "string"
  45073. },
  45074. "isvalid": {
  45075. "description": "是否有效 0-无效 1-有效",
  45076. "type": "integer"
  45077. }
  45078. }
  45079. },
  45080. "models.XHDeliveryGoods": {
  45081. "type": "object",
  45082. "properties": {
  45083. "areauserid": {
  45084. "description": "所属机构",
  45085. "type": "integer"
  45086. },
  45087. "bdlst": {
  45088. "description": "品牌列表",
  45089. "type": "array",
  45090. "items": {
  45091. "$ref": "#/definitions/models.XHBRAND"
  45092. }
  45093. },
  45094. "deliverygoodscode": {
  45095. "description": "现货品种代码",
  45096. "type": "string"
  45097. },
  45098. "deliverygoodsid": {
  45099. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45100. "type": "integer"
  45101. },
  45102. "deliverygoodsname": {
  45103. "description": "现货品种名称",
  45104. "type": "string"
  45105. },
  45106. "dgstatus": {
  45107. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  45108. "type": "integer"
  45109. },
  45110. "filterSubEmpty": {
  45111. "description": "过滤下级为空的",
  45112. "type": "integer"
  45113. },
  45114. "isvalid": {
  45115. "description": "是否有效 - 0:无效 1:有效",
  45116. "type": "integer"
  45117. },
  45118. "remark": {
  45119. "description": "备注",
  45120. "type": "string"
  45121. },
  45122. "unitid": {
  45123. "description": "单位id(目前看,数据库中是空值)",
  45124. "type": "integer"
  45125. },
  45126. "wdlst": {
  45127. "description": "品类(现货商品)列表",
  45128. "type": "array",
  45129. "items": {
  45130. "$ref": "#/definitions/models.XHWrstandard"
  45131. }
  45132. }
  45133. }
  45134. },
  45135. "models.XHMiddleGoods": {
  45136. "type": "object",
  45137. "properties": {
  45138. "GPLST": {
  45139. "description": "期货品种列表",
  45140. "type": "array",
  45141. "items": {
  45142. "$ref": "#/definitions/models.TBGoodsGroup"
  45143. }
  45144. },
  45145. "convertratio": {
  45146. "description": "拆算系数",
  45147. "type": "number"
  45148. },
  45149. "costratio": {
  45150. "description": "成本权重",
  45151. "type": "number"
  45152. },
  45153. "deliverygoodsid": {
  45154. "description": "现货商品id",
  45155. "type": "integer"
  45156. },
  45157. "enumdicname": {
  45158. "description": "单位名称",
  45159. "type": "string"
  45160. },
  45161. "middlegoodscode": {
  45162. "description": "套保品种代码",
  45163. "type": "string"
  45164. },
  45165. "middlegoodsid": {
  45166. "description": "套保品种id",
  45167. "type": "integer"
  45168. },
  45169. "middlegoodsname": {
  45170. "description": "套保品种名称",
  45171. "type": "string"
  45172. },
  45173. "unitid": {
  45174. "description": "单位id",
  45175. "type": "integer"
  45176. }
  45177. }
  45178. },
  45179. "models.XHWrstandard": {
  45180. "type": "object",
  45181. "properties": {
  45182. "bannerpicurl": {
  45183. "description": "banner图",
  45184. "type": "string"
  45185. },
  45186. "deliverygoodsid": {
  45187. "description": "品种ID",
  45188. "type": "integer"
  45189. },
  45190. "enumdicname": {
  45191. "description": "单位名称",
  45192. "type": "string"
  45193. },
  45194. "mglst": {
  45195. "description": "套保品列表",
  45196. "type": "array",
  45197. "items": {
  45198. "$ref": "#/definitions/models.XHMiddleGoods"
  45199. }
  45200. },
  45201. "pictureurls": {
  45202. "description": "详情图片(逗号分隔)",
  45203. "type": "string"
  45204. },
  45205. "thumurls": {
  45206. "description": "缩略图片(1:1)(逗号分隔)",
  45207. "type": "string"
  45208. },
  45209. "unitid": {
  45210. "description": "单位id",
  45211. "type": "integer"
  45212. },
  45213. "vatrate": {
  45214. "description": "增值税率",
  45215. "type": "number"
  45216. },
  45217. "wrstandardcode": {
  45218. "description": "现货商品代码",
  45219. "type": "string"
  45220. },
  45221. "wrstandardid": {
  45222. "description": "现货商品ID(SEQ_WRSTANDARD)",
  45223. "type": "integer"
  45224. },
  45225. "wrstandardname": {
  45226. "description": "现货商品名称",
  45227. "type": "string"
  45228. }
  45229. }
  45230. },
  45231. "models.XhcpSellBackApplyEx": {
  45232. "type": "object",
  45233. "required": [
  45234. "userid"
  45235. ],
  45236. "properties": {
  45237. "applyremark": {
  45238. "description": "申请备注",
  45239. "type": "string"
  45240. },
  45241. "expirytype": {
  45242. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45243. "type": "integer"
  45244. },
  45245. "goodsspec": {
  45246. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45247. "type": "integer"
  45248. },
  45249. "holeflag": {
  45250. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45251. "type": "integer"
  45252. },
  45253. "isunopened": {
  45254. "description": "是否原封 - 1:否 2:是",
  45255. "type": "integer"
  45256. },
  45257. "mpflag": {
  45258. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45259. "type": "integer"
  45260. },
  45261. "openflag": {
  45262. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45263. "type": "integer"
  45264. },
  45265. "phonenum": {
  45266. "description": "联系电话",
  45267. "type": "string"
  45268. },
  45269. "userid": {
  45270. "description": "所属用户ID",
  45271. "type": "integer"
  45272. },
  45273. "zpflag": {
  45274. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45275. "type": "integer"
  45276. }
  45277. }
  45278. },
  45279. "models.Xhcpsellbackapply": {
  45280. "type": "object",
  45281. "required": [
  45282. "userid"
  45283. ],
  45284. "properties": {
  45285. "applyid": {
  45286. "description": "申请人",
  45287. "type": "integer"
  45288. },
  45289. "applyremark": {
  45290. "description": "申请备注",
  45291. "type": "string"
  45292. },
  45293. "applysrc": {
  45294. "description": "申请来源 - 1:管理端 2:终端",
  45295. "type": "integer"
  45296. },
  45297. "applystatus": {
  45298. "description": "申请状态 - 1:待确认 2:已处理",
  45299. "type": "integer"
  45300. },
  45301. "applytime": {
  45302. "description": "申请时间",
  45303. "type": "string"
  45304. },
  45305. "auditremark": {
  45306. "description": "审核备注",
  45307. "type": "string"
  45308. },
  45309. "auditsrc": {
  45310. "description": "审核来源 - 1:管理端 2:终端",
  45311. "type": "integer"
  45312. },
  45313. "expirytype": {
  45314. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45315. "type": "integer"
  45316. },
  45317. "goodsspec": {
  45318. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45319. "type": "integer"
  45320. },
  45321. "holeflag": {
  45322. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45323. "type": "integer"
  45324. },
  45325. "isunopened": {
  45326. "description": "是否原封 - 1:否 2:是",
  45327. "type": "integer"
  45328. },
  45329. "mpflag": {
  45330. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45331. "type": "integer"
  45332. },
  45333. "openflag": {
  45334. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45335. "type": "integer"
  45336. },
  45337. "phonenum": {
  45338. "description": "联系电话",
  45339. "type": "string"
  45340. },
  45341. "sellbackapplyid": {
  45342. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  45343. "type": "string"
  45344. },
  45345. "userid": {
  45346. "description": "所属用户ID",
  45347. "type": "integer"
  45348. },
  45349. "zpflag": {
  45350. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45351. "type": "integer"
  45352. }
  45353. }
  45354. },
  45355. "order.QueryHisTradeDetailRsp": {
  45356. "type": "object",
  45357. "required": [
  45358. "accountid",
  45359. "buyorsell",
  45360. "goodsid",
  45361. "histradedate",
  45362. "marketid",
  45363. "memberuserid",
  45364. "orderid",
  45365. "tradeamount",
  45366. "tradedate",
  45367. "tradeid",
  45368. "tradeprice",
  45369. "tradeqty",
  45370. "tradetime"
  45371. ],
  45372. "properties": {
  45373. "accountid": {
  45374. "description": "账户ID[报价币种]",
  45375. "type": "integer"
  45376. },
  45377. "advanceratio": {
  45378. "description": "首付比率",
  45379. "type": "number"
  45380. },
  45381. "buildtype": {
  45382. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  45383. "type": "integer"
  45384. },
  45385. "buyorsell": {
  45386. "description": "方向 - 0:买 1:卖",
  45387. "type": "integer"
  45388. },
  45389. "charge": {
  45390. "description": "手续费",
  45391. "type": "number"
  45392. },
  45393. "closecharge": {
  45394. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45395. "type": "number"
  45396. },
  45397. "closeexchagechargevalue": {
  45398. "description": "平仓交易所手续费设置值",
  45399. "type": "number"
  45400. },
  45401. "closefeealgorithm": {
  45402. "description": "平仓手续费收取方式 1:比率 2:固定",
  45403. "type": "integer"
  45404. },
  45405. "closememberchargevalue": {
  45406. "description": "平仓会员手续费设置值",
  45407. "type": "number"
  45408. },
  45409. "closepl": {
  45410. "description": "平仓盈亏",
  45411. "type": "number"
  45412. },
  45413. "closepl2": {
  45414. "description": "平仓盈亏[逐笔]",
  45415. "type": "number"
  45416. },
  45417. "closeqty": {
  45418. "description": "平仓数量(先建后平操作 需要记录)",
  45419. "type": "number"
  45420. },
  45421. "creditamount": {
  45422. "description": "授信金额",
  45423. "type": "number"
  45424. },
  45425. "decimalplace": {
  45426. "description": "商品报价小数位",
  45427. "type": "integer"
  45428. },
  45429. "enumdicname": {
  45430. "description": "单位名称",
  45431. "type": "string"
  45432. },
  45433. "gcaccountid": {
  45434. "description": "账户ID[合约币种]",
  45435. "type": "integer"
  45436. },
  45437. "goodscode": {
  45438. "description": "商品代码",
  45439. "type": "string"
  45440. },
  45441. "goodsid": {
  45442. "description": "商品ID",
  45443. "type": "integer"
  45444. },
  45445. "goodsname": {
  45446. "description": "商品名称",
  45447. "type": "string"
  45448. },
  45449. "goodunitid": {
  45450. "description": "商品单位id",
  45451. "type": "integer"
  45452. },
  45453. "histradedate": {
  45454. "description": "历史交易日",
  45455. "type": "string"
  45456. },
  45457. "intclosepl": {
  45458. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  45459. "type": "integer"
  45460. },
  45461. "isconfirmexercise": {
  45462. "description": "是否确认行权- 0:否 1:是",
  45463. "type": "integer"
  45464. },
  45465. "ismain": {
  45466. "description": "是否主单 - 0:不是 1:是",
  45467. "type": "integer"
  45468. },
  45469. "ispreexercise": {
  45470. "description": "是否预申报- 0:否 1:是",
  45471. "type": "integer"
  45472. },
  45473. "isreckoned": {
  45474. "description": "是否结算 - 0:未结算 1:已结算",
  45475. "type": "integer"
  45476. },
  45477. "isvaliddata": {
  45478. "description": "是否有效 - 0:无效 1:有效",
  45479. "type": "integer"
  45480. },
  45481. "listingselecttype": {
  45482. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45483. "type": "integer"
  45484. },
  45485. "marketid": {
  45486. "description": "市场ID",
  45487. "type": "integer"
  45488. },
  45489. "marketname": {
  45490. "description": "市场名称",
  45491. "type": "string"
  45492. },
  45493. "matchaccountid": {
  45494. "description": "对手账号id",
  45495. "type": "integer"
  45496. },
  45497. "memberuserid": {
  45498. "description": "会员id 个人投资者 需要填写",
  45499. "type": "integer"
  45500. },
  45501. "opencharge": {
  45502. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45503. "type": "number"
  45504. },
  45505. "openexchagechargevalue": {
  45506. "description": "建仓交易所手续费设置值",
  45507. "type": "number"
  45508. },
  45509. "openfeealgorithm": {
  45510. "description": "建仓手续费收取方式 1:比率 2:固定",
  45511. "type": "integer"
  45512. },
  45513. "openmemberchargevalue": {
  45514. "description": "建仓会员手续费设置值",
  45515. "type": "number"
  45516. },
  45517. "openqty": {
  45518. "description": "开仓数量(先建后平操作 需要记录)",
  45519. "type": "number"
  45520. },
  45521. "optiontype": {
  45522. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45523. "type": "integer"
  45524. },
  45525. "orderid": {
  45526. "description": "委托单号",
  45527. "type": "string"
  45528. },
  45529. "payamount": {
  45530. "description": "支付金额(付款金额)",
  45531. "type": "number"
  45532. },
  45533. "performanceplanid": {
  45534. "description": "履约计划ID[期权]",
  45535. "type": "integer"
  45536. },
  45537. "performancestatus": {
  45538. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  45539. "type": "integer"
  45540. },
  45541. "preexerciseprice": {
  45542. "description": "预申报价格",
  45543. "type": "number"
  45544. },
  45545. "premium": {
  45546. "description": "权利金 - [持仓单的权利金]",
  45547. "type": "number"
  45548. },
  45549. "qtydecimalplace": {
  45550. "description": "商品报价小数位",
  45551. "type": "integer"
  45552. },
  45553. "recvamount": {
  45554. "description": "到账金额 = 成交金额 - 手续费",
  45555. "type": "number"
  45556. },
  45557. "relatedouttradeid": {
  45558. "description": "关联外部成交单ID",
  45559. "type": "integer"
  45560. },
  45561. "status": {
  45562. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  45563. "type": "integer"
  45564. },
  45565. "totalamount": {
  45566. "description": "订单总额 = 成交金额 + 手续费",
  45567. "type": "number"
  45568. },
  45569. "tradeamount": {
  45570. "description": "成交金额[账户币种,用于所有权]",
  45571. "type": "number"
  45572. },
  45573. "tradedate": {
  45574. "description": "交易日(yyyyMMdd)",
  45575. "type": "string"
  45576. },
  45577. "tradeid": {
  45578. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45579. "type": "string"
  45580. },
  45581. "trademode": {
  45582. "description": "交易模式",
  45583. "type": "integer"
  45584. },
  45585. "tradeprice": {
  45586. "description": "成交价格",
  45587. "type": "number"
  45588. },
  45589. "tradeproperty": {
  45590. "description": "交易属性",
  45591. "type": "integer"
  45592. },
  45593. "tradeqty": {
  45594. "description": "成交数量",
  45595. "type": "number"
  45596. },
  45597. "tradetime": {
  45598. "description": "成交时间",
  45599. "type": "string"
  45600. },
  45601. "tradetype": {
  45602. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  45603. "type": "integer"
  45604. }
  45605. }
  45606. },
  45607. "order.QueryHisTradeOrderDetailRsp": {
  45608. "type": "object",
  45609. "required": [
  45610. "accountid",
  45611. "buildtype",
  45612. "buyorsell",
  45613. "goodsid",
  45614. "histradedate",
  45615. "marketid",
  45616. "memberuserid",
  45617. "operatetype",
  45618. "orderid",
  45619. "orderqty",
  45620. "ordertime",
  45621. "pricemode",
  45622. "tradedate",
  45623. "validtype"
  45624. ],
  45625. "properties": {
  45626. "accountid": {
  45627. "description": "账户ID[报价币种]",
  45628. "type": "integer"
  45629. },
  45630. "buildtype": {
  45631. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  45632. "type": "integer"
  45633. },
  45634. "buyorsell": {
  45635. "description": "买卖 - 0:买 1:卖",
  45636. "type": "integer"
  45637. },
  45638. "cancelorderid": {
  45639. "description": "撤单单号(撤单时填写)",
  45640. "type": "string"
  45641. },
  45642. "cancelqty": {
  45643. "description": "撤单数量",
  45644. "type": "number"
  45645. },
  45646. "clientordertime": {
  45647. "description": "客户端委托时间",
  45648. "type": "string"
  45649. },
  45650. "clientticket": {
  45651. "description": "客户端流水号",
  45652. "type": "string"
  45653. },
  45654. "clienttype": {
  45655. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  45656. "type": "integer"
  45657. },
  45658. "closeexchagechargevalue": {
  45659. "description": "平仓交易所手续费设置值",
  45660. "type": "number"
  45661. },
  45662. "closefeealgorithm": {
  45663. "description": "平仓手续费收取方式 1:比率 2:固定",
  45664. "type": "integer"
  45665. },
  45666. "closefreezecharge": {
  45667. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  45668. "type": "number"
  45669. },
  45670. "closememberchargevalue": {
  45671. "description": "平仓会员手续费设置值",
  45672. "type": "number"
  45673. },
  45674. "closeqty": {
  45675. "description": "平仓数量(先建后平操作 需要记录)",
  45676. "type": "number"
  45677. },
  45678. "closetradeqty": {
  45679. "description": "平仓成交数量(先建后平操作,需要记录)",
  45680. "type": "number"
  45681. },
  45682. "closeunfreezecharge": {
  45683. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  45684. "type": "number"
  45685. },
  45686. "decimalplace": {
  45687. "description": "商品报价小数位",
  45688. "type": "integer"
  45689. },
  45690. "delistingtype": {
  45691. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  45692. "type": "integer"
  45693. },
  45694. "enumdicname": {
  45695. "description": "单位名称",
  45696. "type": "string"
  45697. },
  45698. "freezecharge": {
  45699. "description": "冻结手续费",
  45700. "type": "number"
  45701. },
  45702. "freezemargin": {
  45703. "description": "冻结保证金(冻结交易金额)",
  45704. "type": "number"
  45705. },
  45706. "gcaccountid": {
  45707. "description": "账户ID[合约币种]",
  45708. "type": "integer"
  45709. },
  45710. "goodscode": {
  45711. "description": "商品代码",
  45712. "type": "string"
  45713. },
  45714. "goodsid": {
  45715. "description": "商品ID",
  45716. "type": "integer"
  45717. },
  45718. "goodsname": {
  45719. "description": "商品名称",
  45720. "type": "string"
  45721. },
  45722. "goodunitid": {
  45723. "description": "商品单位id",
  45724. "type": "integer"
  45725. },
  45726. "histradedate": {
  45727. "description": "历史交易日",
  45728. "type": "string"
  45729. },
  45730. "isconfirmexercise": {
  45731. "description": "是否确认行权- 0:否 1:是",
  45732. "type": "integer"
  45733. },
  45734. "ispreexercise": {
  45735. "description": "是否预申报- 0:否 1:是",
  45736. "type": "integer"
  45737. },
  45738. "isvaliddata": {
  45739. "description": "是否有效 - 0:无效 1:有效",
  45740. "type": "integer"
  45741. },
  45742. "listingselecttype": {
  45743. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45744. "type": "integer"
  45745. },
  45746. "marginalgorithm": {
  45747. "description": "保证金收取方式 1:比率 2:固定",
  45748. "type": "integer"
  45749. },
  45750. "marginvalue": {
  45751. "description": "即市保证金设置值",
  45752. "type": "number"
  45753. },
  45754. "marketid": {
  45755. "description": "市场ID",
  45756. "type": "integer"
  45757. },
  45758. "marketmaxsub": {
  45759. "description": "市价最大偏移范围",
  45760. "type": "number"
  45761. },
  45762. "marketname": {
  45763. "description": "市场名称",
  45764. "type": "string"
  45765. },
  45766. "memberuserid": {
  45767. "description": "所属会员UserID",
  45768. "type": "integer"
  45769. },
  45770. "openexchagechargevalue": {
  45771. "description": "建仓交易所手续费设置值",
  45772. "type": "number"
  45773. },
  45774. "openfeealgorithm": {
  45775. "description": "建仓手续费收取方式 1:比率 2:固定",
  45776. "type": "integer"
  45777. },
  45778. "openfreezecharge": {
  45779. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  45780. "type": "number"
  45781. },
  45782. "openmemberchargevalue": {
  45783. "description": "建仓会员手续费设置值",
  45784. "type": "number"
  45785. },
  45786. "openqty": {
  45787. "description": "开仓数量(先建后平操作,需要记录)",
  45788. "type": "number"
  45789. },
  45790. "opentradeqty": {
  45791. "description": "开仓成交数量(先建后平操作,需要记录)",
  45792. "type": "number"
  45793. },
  45794. "openunfreezecharge": {
  45795. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  45796. "type": "number"
  45797. },
  45798. "operatetype": {
  45799. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  45800. "type": "integer"
  45801. },
  45802. "operatorid": {
  45803. "description": "登录账号(LoginID)",
  45804. "type": "integer"
  45805. },
  45806. "optiontype": {
  45807. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45808. "type": "integer"
  45809. },
  45810. "orderid": {
  45811. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45812. "type": "string"
  45813. },
  45814. "orderprice": {
  45815. "description": "委托价格",
  45816. "type": "number"
  45817. },
  45818. "orderqty": {
  45819. "description": "委托数量",
  45820. "type": "number"
  45821. },
  45822. "ordersrc": {
  45823. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  45824. "type": "integer"
  45825. },
  45826. "orderstatus": {
  45827. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  45828. "type": "integer"
  45829. },
  45830. "ordertime": {
  45831. "description": "委托时间",
  45832. "type": "string"
  45833. },
  45834. "preexerciseprice": {
  45835. "description": "预申报价格",
  45836. "type": "number"
  45837. },
  45838. "premium": {
  45839. "description": "权利金",
  45840. "type": "number"
  45841. },
  45842. "preorderid": {
  45843. "description": "关联预埋单号(止盈止损单时填写)",
  45844. "type": "string"
  45845. },
  45846. "pricemode": {
  45847. "description": "取价方式 - 1:市价 2: 限价",
  45848. "type": "integer"
  45849. },
  45850. "qtydecimalplace": {
  45851. "description": "成交量小数位",
  45852. "type": "integer"
  45853. },
  45854. "quoteid": {
  45855. "description": "报价单ID",
  45856. "type": "integer"
  45857. },
  45858. "relatedid": {
  45859. "description": "关联单号(交割单)",
  45860. "type": "string"
  45861. },
  45862. "retcode": {
  45863. "description": "错误代码",
  45864. "type": "integer"
  45865. },
  45866. "sessionid": {
  45867. "description": "会话ID",
  45868. "type": "integer"
  45869. },
  45870. "tradedate": {
  45871. "description": "交易日(yyyyMMdd)",
  45872. "type": "string"
  45873. },
  45874. "trademode": {
  45875. "description": "交易模式",
  45876. "type": "integer"
  45877. },
  45878. "tradeproperty": {
  45879. "description": "交易属性",
  45880. "type": "integer"
  45881. },
  45882. "tradeqty": {
  45883. "description": "成交数量",
  45884. "type": "number"
  45885. },
  45886. "unfreezecharge": {
  45887. "description": "解冻手续费",
  45888. "type": "number"
  45889. },
  45890. "unfreezemargin": {
  45891. "description": "解冻保证金",
  45892. "type": "number"
  45893. },
  45894. "updatetime": {
  45895. "description": "更新时间",
  45896. "type": "string"
  45897. },
  45898. "uuid": {
  45899. "description": "发起端唯一id",
  45900. "type": "string"
  45901. },
  45902. "validtime": {
  45903. "description": "有效期限",
  45904. "type": "string"
  45905. },
  45906. "validtype": {
  45907. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  45908. "type": "integer"
  45909. },
  45910. "volumetype": {
  45911. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  45912. "type": "integer"
  45913. }
  45914. }
  45915. },
  45916. "order.QueryTradeDetailRsp": {
  45917. "type": "object",
  45918. "required": [
  45919. "accountid",
  45920. "buyorsell",
  45921. "goodsid",
  45922. "marketid",
  45923. "memberuserid",
  45924. "orderid",
  45925. "tradeamount",
  45926. "tradedate",
  45927. "tradeid",
  45928. "tradeprice",
  45929. "tradeqty",
  45930. "tradetime"
  45931. ],
  45932. "properties": {
  45933. "accountid": {
  45934. "description": "账户ID[报价币种]",
  45935. "type": "integer"
  45936. },
  45937. "advanceratio": {
  45938. "description": "首付比率",
  45939. "type": "number"
  45940. },
  45941. "buildtype": {
  45942. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  45943. "type": "integer"
  45944. },
  45945. "buyorsell": {
  45946. "description": "方向 - 0:买 1:卖",
  45947. "type": "integer"
  45948. },
  45949. "charge": {
  45950. "description": "手续费",
  45951. "type": "number"
  45952. },
  45953. "closecharge": {
  45954. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45955. "type": "number"
  45956. },
  45957. "closeexchagechargevalue": {
  45958. "description": "平仓交易所手续费设置值",
  45959. "type": "number"
  45960. },
  45961. "closefeealgorithm": {
  45962. "description": "平仓手续费收取方式 1:比率 2:固定",
  45963. "type": "integer"
  45964. },
  45965. "closememberchargevalue": {
  45966. "description": "平仓会员手续费设置值",
  45967. "type": "number"
  45968. },
  45969. "closepl": {
  45970. "description": "平仓盈亏",
  45971. "type": "number"
  45972. },
  45973. "closepl2": {
  45974. "description": "平仓盈亏[逐笔]",
  45975. "type": "number"
  45976. },
  45977. "closeqty": {
  45978. "description": "平仓数量(先建后平操作 需要记录)",
  45979. "type": "number"
  45980. },
  45981. "creditamount": {
  45982. "description": "授信金额",
  45983. "type": "number"
  45984. },
  45985. "decimalplace": {
  45986. "description": "商品报价小数位",
  45987. "type": "integer"
  45988. },
  45989. "enumdicname": {
  45990. "description": "单位名称",
  45991. "type": "string"
  45992. },
  45993. "gcaccountid": {
  45994. "description": "账户ID[合约币种]",
  45995. "type": "integer"
  45996. },
  45997. "goodscode": {
  45998. "description": "商品代码",
  45999. "type": "string"
  46000. },
  46001. "goodsid": {
  46002. "description": "商品ID",
  46003. "type": "integer"
  46004. },
  46005. "goodsname": {
  46006. "description": "商品名称",
  46007. "type": "string"
  46008. },
  46009. "goodunitid": {
  46010. "description": "商品单位id",
  46011. "type": "integer"
  46012. },
  46013. "intclosepl": {
  46014. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46015. "type": "integer"
  46016. },
  46017. "isconfirmexercise": {
  46018. "description": "是否确认行权- 0:否 1:是",
  46019. "type": "integer"
  46020. },
  46021. "ismain": {
  46022. "description": "是否主单 - 0:不是 1:是",
  46023. "type": "integer"
  46024. },
  46025. "ispreexercise": {
  46026. "description": "是否预申报- 0:否 1:是",
  46027. "type": "integer"
  46028. },
  46029. "isreckoned": {
  46030. "description": "是否结算 - 0:未结算 1:已结算",
  46031. "type": "integer"
  46032. },
  46033. "listingselecttype": {
  46034. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46035. "type": "integer"
  46036. },
  46037. "marketid": {
  46038. "description": "市场ID",
  46039. "type": "integer"
  46040. },
  46041. "marketname": {
  46042. "description": "市场名称",
  46043. "type": "string"
  46044. },
  46045. "matchaccountid": {
  46046. "description": "对手账号id",
  46047. "type": "integer"
  46048. },
  46049. "memberuserid": {
  46050. "description": "会员id 个人投资者 需要填写",
  46051. "type": "integer"
  46052. },
  46053. "opencharge": {
  46054. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46055. "type": "number"
  46056. },
  46057. "openexchagechargevalue": {
  46058. "description": "建仓交易所手续费设置值",
  46059. "type": "number"
  46060. },
  46061. "openfeealgorithm": {
  46062. "description": "建仓手续费收取方式 1:比率 2:固定",
  46063. "type": "integer"
  46064. },
  46065. "openmemberchargevalue": {
  46066. "description": "建仓会员手续费设置值",
  46067. "type": "number"
  46068. },
  46069. "openqty": {
  46070. "description": "开仓数量(先建后平操作 需要记录)",
  46071. "type": "number"
  46072. },
  46073. "optiontype": {
  46074. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46075. "type": "integer"
  46076. },
  46077. "orderid": {
  46078. "description": "委托单号",
  46079. "type": "string"
  46080. },
  46081. "payamount": {
  46082. "description": "支付金额(付款金额)",
  46083. "type": "number"
  46084. },
  46085. "performanceplanid": {
  46086. "description": "履约计划ID[期权]",
  46087. "type": "integer"
  46088. },
  46089. "performancestatus": {
  46090. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46091. "type": "integer"
  46092. },
  46093. "preexerciseprice": {
  46094. "description": "预申报价格",
  46095. "type": "number"
  46096. },
  46097. "premium": {
  46098. "description": "权利金 - [持仓单的权利金]",
  46099. "type": "number"
  46100. },
  46101. "qtydecimalplace": {
  46102. "description": "商品报价小数位",
  46103. "type": "integer"
  46104. },
  46105. "recvamount": {
  46106. "description": "到账金额 = 成交金额 - 手续费",
  46107. "type": "number"
  46108. },
  46109. "relatedouttradeid": {
  46110. "description": "关联外部成交单ID",
  46111. "type": "integer"
  46112. },
  46113. "status": {
  46114. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46115. "type": "integer"
  46116. },
  46117. "totalamount": {
  46118. "description": "订单总额 = 成交金额 + 手续费",
  46119. "type": "number"
  46120. },
  46121. "tradeamount": {
  46122. "description": "成交金额[账户币种,用于所有权]",
  46123. "type": "number"
  46124. },
  46125. "tradedate": {
  46126. "description": "交易日(yyyyMMdd)",
  46127. "type": "string"
  46128. },
  46129. "tradeid": {
  46130. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46131. "type": "string"
  46132. },
  46133. "trademode": {
  46134. "description": "交易模式",
  46135. "type": "integer"
  46136. },
  46137. "tradeprice": {
  46138. "description": "成交价格",
  46139. "type": "number"
  46140. },
  46141. "tradeproperty": {
  46142. "description": "交易属性",
  46143. "type": "integer"
  46144. },
  46145. "tradeqty": {
  46146. "description": "成交数量",
  46147. "type": "number"
  46148. },
  46149. "tradetime": {
  46150. "description": "成交时间",
  46151. "type": "string"
  46152. },
  46153. "tradetype": {
  46154. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46155. "type": "integer"
  46156. }
  46157. }
  46158. },
  46159. "order.QueryTradeOrderDetailRsp": {
  46160. "type": "object",
  46161. "required": [
  46162. "accountid",
  46163. "buildtype",
  46164. "buyorsell",
  46165. "goodsid",
  46166. "marketid",
  46167. "operatetype",
  46168. "orderqty",
  46169. "ordertime",
  46170. "pricemode",
  46171. "tradedate",
  46172. "validtype"
  46173. ],
  46174. "properties": {
  46175. "accountid": {
  46176. "description": "账户ID[报价币种]",
  46177. "type": "integer"
  46178. },
  46179. "buildtype": {
  46180. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46181. "type": "integer"
  46182. },
  46183. "buyorsell": {
  46184. "description": "买卖 - 0:买 1:卖",
  46185. "type": "integer"
  46186. },
  46187. "cancelorderid": {
  46188. "description": "撤单单号(撤单时填写)",
  46189. "type": "string"
  46190. },
  46191. "cancelqty": {
  46192. "description": "撤单数量",
  46193. "type": "number"
  46194. },
  46195. "clienttype": {
  46196. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  46197. "type": "integer"
  46198. },
  46199. "closefreezecharge": {
  46200. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  46201. "type": "number"
  46202. },
  46203. "closeqty": {
  46204. "description": "平仓数量(先建后平操作 需要记录)",
  46205. "type": "number"
  46206. },
  46207. "closetradeqty": {
  46208. "description": "平仓成交数量(先建后平操作,需要记录)",
  46209. "type": "number"
  46210. },
  46211. "closeunfreezecharge": {
  46212. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  46213. "type": "number"
  46214. },
  46215. "decimalplace": {
  46216. "description": "商品报价小数位",
  46217. "type": "integer"
  46218. },
  46219. "delistingtype": {
  46220. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  46221. "type": "integer"
  46222. },
  46223. "enableqty": {
  46224. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  46225. "type": "number"
  46226. },
  46227. "enumdicname": {
  46228. "description": "单位名称",
  46229. "type": "string"
  46230. },
  46231. "freezecharge": {
  46232. "description": "冻结手续费",
  46233. "type": "number"
  46234. },
  46235. "freezemargin": {
  46236. "description": "冻结保证金(冻结交易金额)",
  46237. "type": "number"
  46238. },
  46239. "goodscode": {
  46240. "description": "商品代码",
  46241. "type": "string"
  46242. },
  46243. "goodsid": {
  46244. "description": "商品ID",
  46245. "type": "integer"
  46246. },
  46247. "goodsname": {
  46248. "description": "商品名称",
  46249. "type": "string"
  46250. },
  46251. "goodunitid": {
  46252. "description": "商品单位id",
  46253. "type": "integer"
  46254. },
  46255. "listingselecttype": {
  46256. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46257. "type": "integer"
  46258. },
  46259. "marketid": {
  46260. "description": "市场ID",
  46261. "type": "integer"
  46262. },
  46263. "marketname": {
  46264. "description": "市场名称",
  46265. "type": "string"
  46266. },
  46267. "openfreezecharge": {
  46268. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  46269. "type": "number"
  46270. },
  46271. "openqty": {
  46272. "description": "开仓数量(先建后平操作,需要记录)",
  46273. "type": "number"
  46274. },
  46275. "opentradeqty": {
  46276. "description": "开仓成交数量(先建后平操作,需要记录)",
  46277. "type": "number"
  46278. },
  46279. "openunfreezecharge": {
  46280. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  46281. "type": "number"
  46282. },
  46283. "operatetype": {
  46284. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  46285. "type": "integer"
  46286. },
  46287. "operatorid": {
  46288. "description": "登录账号(LoginID)",
  46289. "type": "integer"
  46290. },
  46291. "orderid": {
  46292. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46293. "type": "string"
  46294. },
  46295. "orderprice": {
  46296. "description": "委托价格",
  46297. "type": "number"
  46298. },
  46299. "orderqty": {
  46300. "description": "委托数量",
  46301. "type": "number"
  46302. },
  46303. "ordersrc": {
  46304. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46305. "type": "integer"
  46306. },
  46307. "orderstatus": {
  46308. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46309. "type": "integer"
  46310. },
  46311. "ordertime": {
  46312. "description": "委托时间",
  46313. "type": "string"
  46314. },
  46315. "preorderid": {
  46316. "description": "关联预埋单号(止盈止损单时填写)",
  46317. "type": "string"
  46318. },
  46319. "pricemode": {
  46320. "description": "取价方式 - 1:市价 2: 限价",
  46321. "type": "integer"
  46322. },
  46323. "qtydecimalplace": {
  46324. "description": "商品报价小数位",
  46325. "type": "integer"
  46326. },
  46327. "relatedid": {
  46328. "description": "关联单号(交割单)",
  46329. "type": "string"
  46330. },
  46331. "tradedate": {
  46332. "description": "交易日(yyyyMMdd)",
  46333. "type": "string"
  46334. },
  46335. "trademode": {
  46336. "description": "交易模式",
  46337. "type": "integer"
  46338. },
  46339. "tradeqty": {
  46340. "description": "成交数量",
  46341. "type": "number"
  46342. },
  46343. "unfreezecharge": {
  46344. "description": "解冻手续费",
  46345. "type": "number"
  46346. },
  46347. "unfreezemargin": {
  46348. "description": "解冻保证金",
  46349. "type": "number"
  46350. },
  46351. "validtime": {
  46352. "description": "有效期限",
  46353. "type": "string"
  46354. },
  46355. "validtype": {
  46356. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  46357. "type": "integer"
  46358. },
  46359. "volumetype": {
  46360. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  46361. "type": "integer"
  46362. }
  46363. }
  46364. },
  46365. "order.QueryTradePositionRsp": {
  46366. "type": "object",
  46367. "required": [
  46368. "goodsid"
  46369. ],
  46370. "properties": {
  46371. "accountid": {
  46372. "description": "资金账户",
  46373. "type": "integer"
  46374. },
  46375. "agreeunit": {
  46376. "description": "合约单位",
  46377. "type": "number"
  46378. },
  46379. "averageprice": {
  46380. "description": "持仓均价",
  46381. "type": "number"
  46382. },
  46383. "buyorsell": {
  46384. "description": "方向 - 0:买 1:卖",
  46385. "type": "integer"
  46386. },
  46387. "closetotalqty": {
  46388. "description": "平仓总数量",
  46389. "type": "number"
  46390. },
  46391. "curholderamount": {
  46392. "description": "当前持仓总金额[商品币种]",
  46393. "type": "number"
  46394. },
  46395. "curpositionqty": {
  46396. "description": "当前持仓总数量",
  46397. "type": "number"
  46398. },
  46399. "currencyid": {
  46400. "description": "报价货币ID",
  46401. "type": "integer"
  46402. },
  46403. "curtdposition": {
  46404. "description": "期末今日头寸",
  46405. "type": "number"
  46406. },
  46407. "decimalplace": {
  46408. "description": "报价小数位",
  46409. "type": "integer"
  46410. },
  46411. "enableqty": {
  46412. "description": "可用量",
  46413. "type": "number"
  46414. },
  46415. "fretdposition": {
  46416. "description": "冻结今日头寸",
  46417. "type": "number"
  46418. },
  46419. "frozenqty": {
  46420. "description": "持仓冻结数量",
  46421. "type": "number"
  46422. },
  46423. "goodscode": {
  46424. "description": "商品代码",
  46425. "type": "string"
  46426. },
  46427. "goodsid": {
  46428. "description": "商品Id",
  46429. "type": "integer"
  46430. },
  46431. "goodsname": {
  46432. "description": "商品名称",
  46433. "type": "string"
  46434. },
  46435. "goodunit": {
  46436. "description": "报价单位",
  46437. "type": "string"
  46438. },
  46439. "goodunitid": {
  46440. "description": "报价单位ID",
  46441. "type": "integer"
  46442. },
  46443. "holderamount": {
  46444. "description": "期初持仓总金额[商品币种]",
  46445. "type": "number"
  46446. },
  46447. "lastprice": {
  46448. "description": "最新价",
  46449. "type": "number"
  46450. },
  46451. "marketamount": {
  46452. "description": "市值",
  46453. "type": "number"
  46454. },
  46455. "marketid": {
  46456. "description": "所属市场ID",
  46457. "type": "integer"
  46458. },
  46459. "openreqqty": {
  46460. "description": "开仓申请数量(用于比较最大持仓数量)",
  46461. "type": "number"
  46462. },
  46463. "opentotalqty": {
  46464. "description": "开仓总数量",
  46465. "type": "number"
  46466. },
  46467. "otherfrozenqty": {
  46468. "description": "持仓其他冻结数量(交割冻结)",
  46469. "type": "number"
  46470. },
  46471. "positionpl": {
  46472. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  46473. "type": "number"
  46474. },
  46475. "positionplrate": {
  46476. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  46477. "type": "number"
  46478. },
  46479. "positionqty": {
  46480. "description": "期初持仓数量",
  46481. "type": "number"
  46482. },
  46483. "qtydecimalplace": {
  46484. "description": "成交量小数位",
  46485. "type": "integer"
  46486. },
  46487. "refgoodscode": {
  46488. "description": "参考商品代码",
  46489. "type": "string"
  46490. },
  46491. "refgoodsid": {
  46492. "description": "参考商品ID",
  46493. "type": "integer"
  46494. },
  46495. "tnqty": {
  46496. "description": "T+N冻结总量",
  46497. "type": "number"
  46498. },
  46499. "tnusedqty": {
  46500. "description": "T+N使用量(可以使用T+N的冻结数量)",
  46501. "type": "number"
  46502. },
  46503. "trademode": {
  46504. "description": "交易模式",
  46505. "type": "integer"
  46506. },
  46507. "tradeproperty": {
  46508. "description": "交易属性",
  46509. "type": "integer"
  46510. },
  46511. "usedmargin": {
  46512. "description": "占用保证金[商品币种]",
  46513. "type": "number"
  46514. }
  46515. }
  46516. },
  46517. "pb.GoodsMarginCfgStruct": {
  46518. "type": "object",
  46519. "properties": {
  46520. "CustomerTypeID": {
  46521. "description": "投资者客户类型",
  46522. "type": "integer"
  46523. },
  46524. "GoodsID": {
  46525. "description": "商品ID",
  46526. "type": "integer"
  46527. },
  46528. "IsDefault": {
  46529. "description": "是否默认标志位",
  46530. "type": "integer"
  46531. },
  46532. "LockMarginValue": {
  46533. "description": "锁仓保证金",
  46534. "type": "number"
  46535. },
  46536. "MarginAlgorithm": {
  46537. "description": "保证金计算方式",
  46538. "type": "integer"
  46539. },
  46540. "MarketMarginValue": {
  46541. "description": "即市保证金值",
  46542. "type": "number"
  46543. },
  46544. "RealMarginAlgorithm": {
  46545. "description": "实付保证金计算方式",
  46546. "type": "integer"
  46547. },
  46548. "RealMarginValue": {
  46549. "description": "实付比例",
  46550. "type": "number"
  46551. },
  46552. "ReckonMarginValue": {
  46553. "description": "结算保证金值",
  46554. "type": "number"
  46555. }
  46556. }
  46557. },
  46558. "quote.HistoryData": {
  46559. "type": "object",
  46560. "properties": {
  46561. "c": {
  46562. "description": "收盘价",
  46563. "type": "number"
  46564. },
  46565. "f": {
  46566. "description": "是否补充数据",
  46567. "type": "boolean"
  46568. },
  46569. "h": {
  46570. "description": "最高价",
  46571. "type": "number"
  46572. },
  46573. "hv": {
  46574. "description": "持仓量",
  46575. "type": "integer"
  46576. },
  46577. "l": {
  46578. "description": "最低价",
  46579. "type": "number"
  46580. },
  46581. "o": {
  46582. "description": "开盘价",
  46583. "type": "number"
  46584. },
  46585. "s": {
  46586. "description": "结算价,日线周期(包括)以上才有",
  46587. "type": "number"
  46588. },
  46589. "ts": {
  46590. "description": "时间",
  46591. "type": "string"
  46592. },
  46593. "tt": {
  46594. "description": "总金额",
  46595. "type": "number"
  46596. },
  46597. "tv": {
  46598. "description": "总量(成交量)",
  46599. "type": "integer"
  46600. }
  46601. }
  46602. },
  46603. "quote.HistoryTikData": {
  46604. "type": "object",
  46605. "properties": {
  46606. "AV": {
  46607. "description": "卖量",
  46608. "type": "integer"
  46609. },
  46610. "Ask": {
  46611. "description": "卖价",
  46612. "type": "number"
  46613. },
  46614. "BV": {
  46615. "description": "买量",
  46616. "type": "integer"
  46617. },
  46618. "Bid": {
  46619. "description": "买价",
  46620. "type": "number"
  46621. },
  46622. "HI": {
  46623. "description": "单笔持仓",
  46624. "type": "integer"
  46625. },
  46626. "HV": {
  46627. "description": "持仓量",
  46628. "type": "integer"
  46629. },
  46630. "PE": {
  46631. "description": "现价",
  46632. "type": "number"
  46633. },
  46634. "TDR": {
  46635. "description": "交易方向,0:买 1:卖",
  46636. "type": "integer"
  46637. },
  46638. "TK": {
  46639. "description": "交易类型",
  46640. "type": "integer"
  46641. },
  46642. "TS": {
  46643. "description": "行情时间文本",
  46644. "type": "string"
  46645. },
  46646. "TT": {
  46647. "description": "现金额",
  46648. "type": "number"
  46649. },
  46650. "Vol": {
  46651. "description": "现量",
  46652. "type": "integer"
  46653. }
  46654. }
  46655. },
  46656. "quote.QueryQuoteDayRsp": {
  46657. "type": "object",
  46658. "properties": {
  46659. "ask": {
  46660. "description": "卖1",
  46661. "type": "number"
  46662. },
  46663. "ask10": {
  46664. "description": "卖10",
  46665. "type": "number"
  46666. },
  46667. "ask2": {
  46668. "description": "卖2",
  46669. "type": "number"
  46670. },
  46671. "ask3": {
  46672. "description": "卖3",
  46673. "type": "number"
  46674. },
  46675. "ask4": {
  46676. "description": "卖4",
  46677. "type": "number"
  46678. },
  46679. "ask5": {
  46680. "description": "卖5",
  46681. "type": "number"
  46682. },
  46683. "ask6": {
  46684. "description": "卖6",
  46685. "type": "number"
  46686. },
  46687. "ask7": {
  46688. "description": "卖7",
  46689. "type": "number"
  46690. },
  46691. "ask8": {
  46692. "description": "卖8",
  46693. "type": "number"
  46694. },
  46695. "ask9": {
  46696. "description": "卖9",
  46697. "type": "number"
  46698. },
  46699. "askorderid": {
  46700. "description": "卖单号1",
  46701. "type": "integer"
  46702. },
  46703. "askorderid2": {
  46704. "description": "卖单号2",
  46705. "type": "integer"
  46706. },
  46707. "askorderid3": {
  46708. "description": "卖单号3",
  46709. "type": "integer"
  46710. },
  46711. "askorderid4": {
  46712. "description": "卖单号4",
  46713. "type": "integer"
  46714. },
  46715. "askorderid5": {
  46716. "description": "卖单号5",
  46717. "type": "integer"
  46718. },
  46719. "askordervolume": {
  46720. "description": "卖单量1",
  46721. "type": "integer"
  46722. },
  46723. "askordervolume10": {
  46724. "description": "卖单量10",
  46725. "type": "integer"
  46726. },
  46727. "askordervolume2": {
  46728. "description": "卖单量2",
  46729. "type": "integer"
  46730. },
  46731. "askordervolume3": {
  46732. "description": "卖单量3",
  46733. "type": "integer"
  46734. },
  46735. "askordervolume4": {
  46736. "description": "卖单量4",
  46737. "type": "integer"
  46738. },
  46739. "askordervolume5": {
  46740. "description": "卖单量5",
  46741. "type": "integer"
  46742. },
  46743. "askordervolume6": {
  46744. "description": "卖单量6",
  46745. "type": "integer"
  46746. },
  46747. "askordervolume7": {
  46748. "description": "卖单量7",
  46749. "type": "integer"
  46750. },
  46751. "askordervolume8": {
  46752. "description": "卖单量8",
  46753. "type": "integer"
  46754. },
  46755. "askordervolume9": {
  46756. "description": "卖单量9",
  46757. "type": "integer"
  46758. },
  46759. "askqueueinfo": {
  46760. "description": "大利市卖港股用",
  46761. "type": "string"
  46762. },
  46763. "askvolume": {
  46764. "description": "卖量1",
  46765. "type": "integer"
  46766. },
  46767. "askvolume10": {
  46768. "description": "卖量10",
  46769. "type": "integer"
  46770. },
  46771. "askvolume2": {
  46772. "description": "卖量2",
  46773. "type": "integer"
  46774. },
  46775. "askvolume3": {
  46776. "description": "卖量3",
  46777. "type": "integer"
  46778. },
  46779. "askvolume4": {
  46780. "description": "卖量4",
  46781. "type": "integer"
  46782. },
  46783. "askvolume5": {
  46784. "description": "卖量5",
  46785. "type": "integer"
  46786. },
  46787. "askvolume6": {
  46788. "description": "卖量6",
  46789. "type": "integer"
  46790. },
  46791. "askvolume7": {
  46792. "description": "卖量7",
  46793. "type": "integer"
  46794. },
  46795. "askvolume8": {
  46796. "description": "卖量8",
  46797. "type": "integer"
  46798. },
  46799. "askvolume9": {
  46800. "description": "卖量9",
  46801. "type": "integer"
  46802. },
  46803. "averageprice": {
  46804. "description": "均价",
  46805. "type": "number"
  46806. },
  46807. "bid": {
  46808. "description": "买1",
  46809. "type": "number"
  46810. },
  46811. "bid10": {
  46812. "description": "买10",
  46813. "type": "number"
  46814. },
  46815. "bid2": {
  46816. "description": "买2",
  46817. "type": "number"
  46818. },
  46819. "bid3": {
  46820. "description": "买3",
  46821. "type": "number"
  46822. },
  46823. "bid4": {
  46824. "description": "买4",
  46825. "type": "number"
  46826. },
  46827. "bid5": {
  46828. "description": "买5",
  46829. "type": "number"
  46830. },
  46831. "bid6": {
  46832. "description": "买6",
  46833. "type": "number"
  46834. },
  46835. "bid7": {
  46836. "description": "买7",
  46837. "type": "number"
  46838. },
  46839. "bid8": {
  46840. "description": "买8",
  46841. "type": "number"
  46842. },
  46843. "bid9": {
  46844. "description": "买9",
  46845. "type": "number"
  46846. },
  46847. "bidorderid": {
  46848. "description": "买单号1",
  46849. "type": "integer"
  46850. },
  46851. "bidorderid2": {
  46852. "description": "买单号2",
  46853. "type": "integer"
  46854. },
  46855. "bidorderid3": {
  46856. "description": "买单号3",
  46857. "type": "integer"
  46858. },
  46859. "bidorderid4": {
  46860. "description": "买单号4",
  46861. "type": "integer"
  46862. },
  46863. "bidorderid5": {
  46864. "description": "买单号5",
  46865. "type": "integer"
  46866. },
  46867. "bidordervolume": {
  46868. "description": "买单量1",
  46869. "type": "integer"
  46870. },
  46871. "bidordervolume10": {
  46872. "description": "买单量10",
  46873. "type": "integer"
  46874. },
  46875. "bidordervolume2": {
  46876. "description": "买单量2",
  46877. "type": "integer"
  46878. },
  46879. "bidordervolume3": {
  46880. "description": "买单量3",
  46881. "type": "integer"
  46882. },
  46883. "bidordervolume4": {
  46884. "description": "买单量4",
  46885. "type": "integer"
  46886. },
  46887. "bidordervolume5": {
  46888. "description": "买单量5",
  46889. "type": "integer"
  46890. },
  46891. "bidordervolume6": {
  46892. "description": "买单量6",
  46893. "type": "integer"
  46894. },
  46895. "bidordervolume7": {
  46896. "description": "买单量7",
  46897. "type": "integer"
  46898. },
  46899. "bidordervolume8": {
  46900. "description": "买单量8",
  46901. "type": "integer"
  46902. },
  46903. "bidordervolume9": {
  46904. "description": "买单量9",
  46905. "type": "integer"
  46906. },
  46907. "bidqueueinfo": {
  46908. "description": "大利市买港股用",
  46909. "type": "string"
  46910. },
  46911. "bidvolume": {
  46912. "description": "买量1",
  46913. "type": "integer"
  46914. },
  46915. "bidvolume10": {
  46916. "description": "买量10",
  46917. "type": "integer"
  46918. },
  46919. "bidvolume2": {
  46920. "description": "买量2",
  46921. "type": "integer"
  46922. },
  46923. "bidvolume3": {
  46924. "description": "买量3",
  46925. "type": "integer"
  46926. },
  46927. "bidvolume4": {
  46928. "description": "买量4",
  46929. "type": "integer"
  46930. },
  46931. "bidvolume5": {
  46932. "description": "买量5",
  46933. "type": "integer"
  46934. },
  46935. "bidvolume6": {
  46936. "description": "买量6",
  46937. "type": "integer"
  46938. },
  46939. "bidvolume7": {
  46940. "description": "买量7",
  46941. "type": "integer"
  46942. },
  46943. "bidvolume8": {
  46944. "description": "买量8",
  46945. "type": "integer"
  46946. },
  46947. "bidvolume9": {
  46948. "description": "买量9",
  46949. "type": "integer"
  46950. },
  46951. "calloptionpremiums": {
  46952. "description": "认购期权1",
  46953. "type": "integer"
  46954. },
  46955. "calloptionpremiums2": {
  46956. "description": "认购期权2",
  46957. "type": "integer"
  46958. },
  46959. "calloptionpremiums3": {
  46960. "description": "认购期权3",
  46961. "type": "integer"
  46962. },
  46963. "calloptionpremiums4": {
  46964. "description": "认购期权4",
  46965. "type": "integer"
  46966. },
  46967. "calloptionpremiums5": {
  46968. "description": "认购期权5",
  46969. "type": "integer"
  46970. },
  46971. "cleartime": {
  46972. "description": "清盘时间",
  46973. "type": "integer"
  46974. },
  46975. "exchangecode": {
  46976. "description": "交易所代码",
  46977. "type": "integer"
  46978. },
  46979. "exchangedate": {
  46980. "description": "交易日",
  46981. "type": "integer"
  46982. },
  46983. "goodscode": {
  46984. "description": "商品代码",
  46985. "type": "string"
  46986. },
  46987. "grepmarketprice": {
  46988. "description": "暗盘价 港股专用",
  46989. "type": "number"
  46990. },
  46991. "highest": {
  46992. "description": "最高价",
  46993. "type": "number"
  46994. },
  46995. "holdincrement": {
  46996. "description": "单笔持仓",
  46997. "type": "integer"
  46998. },
  46999. "holdvolume": {
  47000. "description": "持仓",
  47001. "type": "integer"
  47002. },
  47003. "iep": {
  47004. "description": "平衡价 港股专用",
  47005. "type": "number"
  47006. },
  47007. "iev": {
  47008. "description": "平衡量 港股专用",
  47009. "type": "number"
  47010. },
  47011. "inventory": {
  47012. "description": "库存",
  47013. "type": "integer"
  47014. },
  47015. "iscleared": {
  47016. "description": "是否清盘标志",
  47017. "type": "integer"
  47018. },
  47019. "issettled": {
  47020. "description": "是否结算标志",
  47021. "type": "integer"
  47022. },
  47023. "last": {
  47024. "description": "最新价",
  47025. "type": "number"
  47026. },
  47027. "lastlot": {
  47028. "description": "最新成交手数",
  47029. "type": "integer"
  47030. },
  47031. "lasttime": {
  47032. "description": "行情时间(只有现价变化行情时间才变化)",
  47033. "type": "string"
  47034. },
  47035. "lastturnover": {
  47036. "description": "最新成交金额",
  47037. "type": "number"
  47038. },
  47039. "lastvolume": {
  47040. "description": "最新成交量",
  47041. "type": "integer"
  47042. },
  47043. "limitdown": {
  47044. "description": "跌停价",
  47045. "type": "number"
  47046. },
  47047. "limitup": {
  47048. "description": "涨停价",
  47049. "type": "number"
  47050. },
  47051. "lowest": {
  47052. "description": "最低价",
  47053. "type": "number"
  47054. },
  47055. "nontotalholdervolume": {
  47056. "description": "非交易持仓量",
  47057. "type": "integer"
  47058. },
  47059. "nontotallot": {
  47060. "description": "非交易总手数",
  47061. "type": "integer"
  47062. },
  47063. "nontotalturnover": {
  47064. "description": "非交易总金额",
  47065. "type": "integer"
  47066. },
  47067. "nontotalvolume": {
  47068. "description": "非交易总量",
  47069. "type": "integer"
  47070. },
  47071. "opened": {
  47072. "description": "开盘价",
  47073. "type": "number"
  47074. },
  47075. "opentime": {
  47076. "description": "开盘时间",
  47077. "type": "string"
  47078. },
  47079. "orderid": {
  47080. "description": "序号",
  47081. "type": "integer"
  47082. },
  47083. "preclose": {
  47084. "description": "昨收",
  47085. "type": "number"
  47086. },
  47087. "preholdvolume": {
  47088. "description": "昨持仓",
  47089. "type": "integer"
  47090. },
  47091. "presettle": {
  47092. "description": "昨结价",
  47093. "type": "number"
  47094. },
  47095. "publictradetype": {
  47096. "description": "公共交易标志类型 港股专用",
  47097. "type": "string"
  47098. },
  47099. "putoptionpremiums": {
  47100. "description": "认沽期权1",
  47101. "type": "integer"
  47102. },
  47103. "putoptionpremiums2": {
  47104. "description": "认沽期权2",
  47105. "type": "integer"
  47106. },
  47107. "putoptionpremiums3": {
  47108. "description": "认沽期权3",
  47109. "type": "integer"
  47110. },
  47111. "putoptionpremiums4": {
  47112. "description": "认沽期权4",
  47113. "type": "integer"
  47114. },
  47115. "putoptionpremiums5": {
  47116. "description": "认沽期权5",
  47117. "type": "integer"
  47118. },
  47119. "settle": {
  47120. "description": "结算价",
  47121. "type": "number"
  47122. },
  47123. "strikeprice": {
  47124. "description": "发行价",
  47125. "type": "number"
  47126. },
  47127. "totalaskvolume": {
  47128. "description": "内盘",
  47129. "type": "integer"
  47130. },
  47131. "totalbidvolume": {
  47132. "description": "外盘",
  47133. "type": "integer"
  47134. },
  47135. "totallot": {
  47136. "description": "总手数",
  47137. "type": "integer"
  47138. },
  47139. "totalturnover": {
  47140. "description": "总金额",
  47141. "type": "number"
  47142. },
  47143. "totalvolume": {
  47144. "description": "总量",
  47145. "type": "integer"
  47146. },
  47147. "utclasttime": {
  47148. "description": "utc的行情时间",
  47149. "type": "string"
  47150. }
  47151. }
  47152. },
  47153. "quote.QueryTSDataRsp": {
  47154. "type": "object",
  47155. "properties": {
  47156. "Count": {
  47157. "description": "交易日应有数据个数",
  47158. "type": "integer"
  47159. },
  47160. "decimalPlace": {
  47161. "description": "小数位",
  47162. "type": "integer"
  47163. },
  47164. "endTime": {
  47165. "description": "结束时间",
  47166. "type": "string"
  47167. },
  47168. "goodsCode": {
  47169. "description": "商品代码",
  47170. "type": "string"
  47171. },
  47172. "historyDatas": {
  47173. "description": "历史数据",
  47174. "type": "array",
  47175. "items": {
  47176. "$ref": "#/definitions/quote.HistoryData"
  47177. }
  47178. },
  47179. "outGoodsCode": {
  47180. "description": "外部商品代码",
  47181. "type": "string"
  47182. },
  47183. "preSettle": {
  47184. "description": "昨结价",
  47185. "type": "number"
  47186. },
  47187. "runSteps": {
  47188. "description": "交易日开休市计划",
  47189. "type": "array",
  47190. "items": {
  47191. "$ref": "#/definitions/quote.TSDataRunStep"
  47192. }
  47193. },
  47194. "startTime": {
  47195. "description": "开始时间",
  47196. "type": "string"
  47197. },
  47198. "tradeDate": {
  47199. "description": "交易日",
  47200. "type": "string"
  47201. }
  47202. }
  47203. },
  47204. "quote.TSDataRunStep": {
  47205. "type": "object",
  47206. "properties": {
  47207. "end": {
  47208. "description": "真实结束时间",
  47209. "type": "string"
  47210. },
  47211. "endflag": {
  47212. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  47213. "type": "integer"
  47214. },
  47215. "endtime": {
  47216. "description": "结束时间(HH:mm)",
  47217. "type": "string"
  47218. },
  47219. "endweekday": {
  47220. "description": "结束周几",
  47221. "type": "integer"
  47222. },
  47223. "groupid": {
  47224. "description": "分组ID",
  47225. "type": "integer"
  47226. },
  47227. "runstep": {
  47228. "description": "运行阶段 - 2:连续交易",
  47229. "type": "integer"
  47230. },
  47231. "sectionid": {
  47232. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  47233. "type": "integer"
  47234. },
  47235. "start": {
  47236. "description": "真实开始时间",
  47237. "type": "string"
  47238. },
  47239. "startflag": {
  47240. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  47241. "type": "integer"
  47242. },
  47243. "starttime": {
  47244. "description": "起始时间(HH:mm)",
  47245. "type": "string"
  47246. },
  47247. "startweekday": {
  47248. "description": "起始周几",
  47249. "type": "integer"
  47250. },
  47251. "tradeweekday": {
  47252. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  47253. "type": "integer"
  47254. }
  47255. }
  47256. },
  47257. "szdz.QueryConvertLogRsp": {
  47258. "type": "object",
  47259. "required": [
  47260. "logid"
  47261. ],
  47262. "properties": {
  47263. "accountid": {
  47264. "description": "资金账户ID",
  47265. "type": "integer"
  47266. },
  47267. "clientticket": {
  47268. "description": "客户端流水号",
  47269. "type": "string"
  47270. },
  47271. "converttype": {
  47272. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  47273. "type": "integer"
  47274. },
  47275. "createtime": {
  47276. "description": "记账时间",
  47277. "type": "string"
  47278. },
  47279. "daymaxvalue": {
  47280. "description": "配置当日最大转入限制",
  47281. "type": "number"
  47282. },
  47283. "daymaxvalue2": {
  47284. "description": "配置当日最大转入限制(转入)",
  47285. "type": "number"
  47286. },
  47287. "goodscode": {
  47288. "description": "商品代码",
  47289. "type": "string"
  47290. },
  47291. "goodsname": {
  47292. "description": "商品名称",
  47293. "type": "string"
  47294. },
  47295. "handlestatus": {
  47296. "description": "处理状态",
  47297. "type": "integer"
  47298. },
  47299. "innergoodsid": {
  47300. "description": "内部商品ID",
  47301. "type": "integer"
  47302. },
  47303. "inratio": {
  47304. "description": "配置转入比值",
  47305. "type": "integer"
  47306. },
  47307. "invalue": {
  47308. "description": "目标值",
  47309. "type": "number"
  47310. },
  47311. "logid": {
  47312. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47313. "type": "integer"
  47314. },
  47315. "mobile": {
  47316. "description": "手机号码(加密存储)",
  47317. "type": "string"
  47318. },
  47319. "outergoodscode": {
  47320. "description": "外部商品代码[JD\\PD]",
  47321. "type": "string"
  47322. },
  47323. "outratio": {
  47324. "description": "配置转出比值",
  47325. "type": "integer"
  47326. },
  47327. "outvalue": {
  47328. "description": "源值",
  47329. "type": "number"
  47330. },
  47331. "pddecimalplace": {
  47332. "description": "PD小数位",
  47333. "type": "integer"
  47334. },
  47335. "qty": {
  47336. "description": "数量",
  47337. "type": "string"
  47338. },
  47339. "remark": {
  47340. "description": "备注",
  47341. "type": "string"
  47342. },
  47343. "sessionid": {
  47344. "description": "会话ID",
  47345. "type": "integer"
  47346. },
  47347. "timemaxvalue": {
  47348. "description": "配置单次最大转入限制",
  47349. "type": "number"
  47350. },
  47351. "timemaxvalue2": {
  47352. "description": "配置单次最大转入限制(转入)",
  47353. "type": "number"
  47354. },
  47355. "timeminvalue": {
  47356. "description": "配置单次最小数量限制",
  47357. "type": "number"
  47358. },
  47359. "timeminvalue2": {
  47360. "description": "配置单次最小数量限制(转入)",
  47361. "type": "number"
  47362. },
  47363. "tradedate": {
  47364. "description": "交易日(yyyyMMdd)",
  47365. "type": "string"
  47366. },
  47367. "userid": {
  47368. "description": "用户ID",
  47369. "type": "integer"
  47370. }
  47371. }
  47372. },
  47373. "szdz.QueryGoodsPickupRsp": {
  47374. "type": "object",
  47375. "required": [
  47376. "takeorderid"
  47377. ],
  47378. "properties": {
  47379. "accountid": {
  47380. "description": "账户ID",
  47381. "type": "integer"
  47382. },
  47383. "address": {
  47384. "description": "提货人详细地址",
  47385. "type": "string"
  47386. },
  47387. "auditer": {
  47388. "description": "审核人",
  47389. "type": "integer"
  47390. },
  47391. "audittime": {
  47392. "description": "审核时间",
  47393. "type": "string"
  47394. },
  47395. "cardnum": {
  47396. "description": "提货人证件号码",
  47397. "type": "string"
  47398. },
  47399. "cardtypeid": {
  47400. "description": "提货人证件类型",
  47401. "type": "integer"
  47402. },
  47403. "checkremark": {
  47404. "description": "审核备注",
  47405. "type": "string"
  47406. },
  47407. "goodscode": {
  47408. "description": "商品代码",
  47409. "type": "string"
  47410. },
  47411. "goodsid": {
  47412. "description": "商品ID",
  47413. "type": "integer"
  47414. },
  47415. "goodsname": {
  47416. "description": "商品名称",
  47417. "type": "string"
  47418. },
  47419. "handlestatus": {
  47420. "description": "处理状态",
  47421. "type": "integer"
  47422. },
  47423. "marketid": {
  47424. "description": "市场ID",
  47425. "type": "integer"
  47426. },
  47427. "phonenum": {
  47428. "description": "提货人联系方式",
  47429. "type": "string"
  47430. },
  47431. "qty": {
  47432. "description": "提货数量",
  47433. "type": "number"
  47434. },
  47435. "recivername": {
  47436. "description": "提货人姓名",
  47437. "type": "string"
  47438. },
  47439. "reqtime": {
  47440. "description": "更新时间",
  47441. "type": "string"
  47442. },
  47443. "takemode": {
  47444. "description": "提货方式 - 2:自提 3:配送",
  47445. "type": "integer"
  47446. },
  47447. "takeorderid": {
  47448. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  47449. "type": "string"
  47450. },
  47451. "takeorderstatus": {
  47452. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  47453. "type": "integer"
  47454. },
  47455. "takeremark": {
  47456. "description": "提货备注",
  47457. "type": "string"
  47458. },
  47459. "tradedate": {
  47460. "description": "交易日(yyyyMMdd)",
  47461. "type": "string"
  47462. },
  47463. "userid": {
  47464. "description": "用户ID",
  47465. "type": "integer"
  47466. }
  47467. }
  47468. },
  47469. "szdz.QueryRecieptOrderRsp": {
  47470. "type": "object",
  47471. "required": [
  47472. "ordertime"
  47473. ],
  47474. "properties": {
  47475. "accountName": {
  47476. "description": "所属账号名称(已脱敏)",
  47477. "type": "string"
  47478. },
  47479. "accountid": {
  47480. "description": "资金账号",
  47481. "type": "integer"
  47482. },
  47483. "buyorsell": {
  47484. "description": "方向 - 0:买 1:卖",
  47485. "type": "integer"
  47486. },
  47487. "enableqty": {
  47488. "description": "可摘数量",
  47489. "type": "integer"
  47490. },
  47491. "goodscode": {
  47492. "description": "商品代码",
  47493. "type": "string"
  47494. },
  47495. "goodsid": {
  47496. "description": "商品ID",
  47497. "type": "integer"
  47498. },
  47499. "goodsname": {
  47500. "description": "商品名称",
  47501. "type": "string"
  47502. },
  47503. "orderid": {
  47504. "description": "委托单号",
  47505. "type": "string"
  47506. },
  47507. "orderprice": {
  47508. "description": "委托价格",
  47509. "type": "number"
  47510. },
  47511. "ordertime": {
  47512. "description": "委托时间",
  47513. "type": "string"
  47514. },
  47515. "tradedate": {
  47516. "description": "交易日(yyyyMMdd)",
  47517. "type": "string"
  47518. }
  47519. }
  47520. },
  47521. "szdz.QuerySZDZTradePositionRsp": {
  47522. "type": "object",
  47523. "properties": {
  47524. "accountid": {
  47525. "description": "账号Id",
  47526. "type": "integer"
  47527. },
  47528. "agreeunit": {
  47529. "description": "合约单位",
  47530. "type": "number"
  47531. },
  47532. "averageprice": {
  47533. "description": "持仓均价",
  47534. "type": "number"
  47535. },
  47536. "buyorsell": {
  47537. "description": "方向 - 0:买 1:卖",
  47538. "type": "integer"
  47539. },
  47540. "closetotalqty": {
  47541. "description": "平仓总数量",
  47542. "type": "integer"
  47543. },
  47544. "curholderamount": {
  47545. "description": "当前持仓总金额",
  47546. "type": "number"
  47547. },
  47548. "curpositionqty": {
  47549. "description": "当前持仓总数量",
  47550. "type": "integer"
  47551. },
  47552. "currencyid": {
  47553. "description": "报价货币ID",
  47554. "type": "integer"
  47555. },
  47556. "curtdposition": {
  47557. "description": "期末今日头寸",
  47558. "type": "integer"
  47559. },
  47560. "decimalplace": {
  47561. "description": "报价小数位",
  47562. "type": "integer"
  47563. },
  47564. "enableqty": {
  47565. "description": "可用量",
  47566. "type": "integer"
  47567. },
  47568. "fretdposition": {
  47569. "description": "冻结今日头寸",
  47570. "type": "integer"
  47571. },
  47572. "frozenqty": {
  47573. "description": "持仓冻结数量",
  47574. "type": "integer"
  47575. },
  47576. "goodscode": {
  47577. "description": "商品代码(内部)",
  47578. "type": "string"
  47579. },
  47580. "goodsid": {
  47581. "description": "商品Id",
  47582. "type": "integer"
  47583. },
  47584. "goodsname": {
  47585. "description": "商品名称",
  47586. "type": "string"
  47587. },
  47588. "goodunit": {
  47589. "description": "报价单位",
  47590. "type": "string"
  47591. },
  47592. "goodunitid": {
  47593. "description": "报价单位ID",
  47594. "type": "integer"
  47595. },
  47596. "holderamount": {
  47597. "description": "期初持仓总金额",
  47598. "type": "number"
  47599. },
  47600. "marketid": {
  47601. "description": "市场ID",
  47602. "type": "integer"
  47603. },
  47604. "openreqqty": {
  47605. "description": "开仓申请数量",
  47606. "type": "integer"
  47607. },
  47608. "opentotalqty": {
  47609. "description": "开仓总数量",
  47610. "type": "integer"
  47611. },
  47612. "otherfrozenqty": {
  47613. "description": "持仓其他冻结数量(交割冻结)",
  47614. "type": "integer"
  47615. },
  47616. "positionqty": {
  47617. "description": "期初持仓数量",
  47618. "type": "integer"
  47619. },
  47620. "szdz3freezqty": {
  47621. "description": "尚志大宗转换冻结总数量",
  47622. "type": "integer"
  47623. },
  47624. "tnqty": {
  47625. "description": "T+N冻结总量",
  47626. "type": "integer"
  47627. },
  47628. "tnusedqty": {
  47629. "description": "T+N使用量",
  47630. "type": "integer"
  47631. },
  47632. "trademode": {
  47633. "description": "交易模式",
  47634. "type": "integer"
  47635. },
  47636. "usedmargin": {
  47637. "description": "占用保证金",
  47638. "type": "number"
  47639. }
  47640. }
  47641. },
  47642. "taaccount.QueryAmountLogRsp": {
  47643. "type": "object",
  47644. "required": [
  47645. "accountid",
  47646. "amount",
  47647. "amountadjusttype",
  47648. "autoid",
  47649. "balance",
  47650. "createtime",
  47651. "currentbalance",
  47652. "operatetype"
  47653. ],
  47654. "properties": {
  47655. "OPERATETYPENAME": {
  47656. "description": "资金操作类型名称",
  47657. "type": "string"
  47658. },
  47659. "accountid": {
  47660. "description": "资金账户ID",
  47661. "type": "integer"
  47662. },
  47663. "agoodscode": {
  47664. "description": "竞拍商品代码",
  47665. "type": "string"
  47666. },
  47667. "agoodsname": {
  47668. "description": "竞拍商品名称",
  47669. "type": "string"
  47670. },
  47671. "amount": {
  47672. "description": "资金金额",
  47673. "type": "number"
  47674. },
  47675. "amountadjusttype": {
  47676. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  47677. "type": "integer"
  47678. },
  47679. "autoid": {
  47680. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  47681. "type": "integer"
  47682. },
  47683. "balance": {
  47684. "description": "期初余额",
  47685. "type": "number"
  47686. },
  47687. "businesscode": {
  47688. "description": "业务编号",
  47689. "type": "integer"
  47690. },
  47691. "createtime": {
  47692. "description": "发生时间",
  47693. "type": "string"
  47694. },
  47695. "currencyid": {
  47696. "description": "币种ID",
  47697. "type": "integer"
  47698. },
  47699. "currentbalance": {
  47700. "description": "期末余额(变动后金额)",
  47701. "type": "number"
  47702. },
  47703. "dgoodscode": {
  47704. "description": "交割商品代码",
  47705. "type": "string"
  47706. },
  47707. "dgoodsname": {
  47708. "description": "交割商品名称",
  47709. "type": "string"
  47710. },
  47711. "goodscode": {
  47712. "description": "商品代码",
  47713. "type": "string"
  47714. },
  47715. "goodsid": {
  47716. "description": "商品ID",
  47717. "type": "integer"
  47718. },
  47719. "goodsname": {
  47720. "description": "商品名称",
  47721. "type": "string"
  47722. },
  47723. "marketid": {
  47724. "description": "市场ID",
  47725. "type": "integer"
  47726. },
  47727. "marketname": {
  47728. "description": "市场名称",
  47729. "type": "string"
  47730. },
  47731. "moneyticket": {
  47732. "description": "资金流水号:银行端流水号",
  47733. "type": "integer"
  47734. },
  47735. "operatetype": {
  47736. "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:营销收款",
  47737. "type": "integer"
  47738. },
  47739. "relationorderid": {
  47740. "description": "关联单号",
  47741. "type": "string"
  47742. },
  47743. "remark": {
  47744. "description": "备注",
  47745. "type": "string"
  47746. },
  47747. "trademode": {
  47748. "description": "交易模式",
  47749. "type": "integer"
  47750. }
  47751. }
  47752. },
  47753. "taaccount.QueryHisAmountLogRsp": {
  47754. "type": "object",
  47755. "required": [
  47756. "accountid",
  47757. "amount",
  47758. "amountadjusttype",
  47759. "autoid",
  47760. "balance",
  47761. "createtime",
  47762. "currentbalance",
  47763. "histradedate",
  47764. "operatetype"
  47765. ],
  47766. "properties": {
  47767. "OPERATETYPENAME": {
  47768. "description": "资金操作类型名称",
  47769. "type": "string"
  47770. },
  47771. "accountid": {
  47772. "description": "资金账户ID",
  47773. "type": "integer"
  47774. },
  47775. "agoodscode": {
  47776. "description": "竞拍商品代码",
  47777. "type": "string"
  47778. },
  47779. "agoodsname": {
  47780. "description": "竞拍商品名称",
  47781. "type": "string"
  47782. },
  47783. "amount": {
  47784. "description": "资金金额",
  47785. "type": "number"
  47786. },
  47787. "amountadjusttype": {
  47788. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  47789. "type": "integer"
  47790. },
  47791. "autoid": {
  47792. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  47793. "type": "integer"
  47794. },
  47795. "balance": {
  47796. "description": "期初余额",
  47797. "type": "number"
  47798. },
  47799. "businesscode": {
  47800. "description": "业务编号",
  47801. "type": "integer"
  47802. },
  47803. "createtime": {
  47804. "description": "发生时间",
  47805. "type": "string"
  47806. },
  47807. "currencyid": {
  47808. "description": "币种ID",
  47809. "type": "integer"
  47810. },
  47811. "currentbalance": {
  47812. "description": "期末余额(变动后金额)",
  47813. "type": "number"
  47814. },
  47815. "dgoodscode": {
  47816. "description": "交割商品代码",
  47817. "type": "string"
  47818. },
  47819. "dgoodsname": {
  47820. "description": "交割商品名称",
  47821. "type": "string"
  47822. },
  47823. "goodscode": {
  47824. "description": "商品代码",
  47825. "type": "string"
  47826. },
  47827. "goodsid": {
  47828. "description": "商品ID",
  47829. "type": "integer"
  47830. },
  47831. "goodsname": {
  47832. "description": "商品名称",
  47833. "type": "string"
  47834. },
  47835. "histradedate": {
  47836. "description": "历史交易日",
  47837. "type": "string"
  47838. },
  47839. "isvaliddata": {
  47840. "description": "是否有效 - 0:无效 1:有效",
  47841. "type": "integer"
  47842. },
  47843. "marketid": {
  47844. "description": "市场ID",
  47845. "type": "integer"
  47846. },
  47847. "marketname": {
  47848. "description": "市场名称",
  47849. "type": "string"
  47850. },
  47851. "moneyticket": {
  47852. "description": "资金流水号:银行端流水号",
  47853. "type": "integer"
  47854. },
  47855. "operatetype": {
  47856. "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:营销收款",
  47857. "type": "integer"
  47858. },
  47859. "relationorderid": {
  47860. "description": "关联单号",
  47861. "type": "string"
  47862. },
  47863. "remark": {
  47864. "description": "备注",
  47865. "type": "string"
  47866. },
  47867. "trademode": {
  47868. "description": "交易模式",
  47869. "type": "integer"
  47870. }
  47871. }
  47872. },
  47873. "trade.QueryRecieptOrderRsp": {
  47874. "type": "object",
  47875. "required": [
  47876. "ordertime"
  47877. ],
  47878. "properties": {
  47879. "accountName": {
  47880. "description": "所属账号名称(已脱敏)",
  47881. "type": "string"
  47882. },
  47883. "accountid": {
  47884. "description": "资金账号",
  47885. "type": "integer"
  47886. },
  47887. "buyorsell": {
  47888. "description": "方向 - 0:买 1:卖",
  47889. "type": "integer"
  47890. },
  47891. "enableqty": {
  47892. "description": "可摘数量",
  47893. "type": "integer"
  47894. },
  47895. "goodscode": {
  47896. "description": "商品代码",
  47897. "type": "string"
  47898. },
  47899. "goodsid": {
  47900. "description": "商品ID",
  47901. "type": "integer"
  47902. },
  47903. "goodsname": {
  47904. "description": "商品名称",
  47905. "type": "string"
  47906. },
  47907. "orderid": {
  47908. "description": "委托单号",
  47909. "type": "string"
  47910. },
  47911. "orderprice": {
  47912. "description": "委托价格",
  47913. "type": "number"
  47914. },
  47915. "ordertime": {
  47916. "description": "委托时间",
  47917. "type": "string"
  47918. },
  47919. "tradedate": {
  47920. "description": "交易日(yyyyMMdd)",
  47921. "type": "string"
  47922. }
  47923. }
  47924. },
  47925. "user.LoginQueryRsp": {
  47926. "type": "object",
  47927. "properties": {
  47928. "areaRoles": {
  47929. "description": "所属角色信息",
  47930. "type": "array",
  47931. "items": {
  47932. "$ref": "#/definitions/models.Arearole"
  47933. }
  47934. },
  47935. "exchangeRateConfigs": {
  47936. "description": "汇率信息",
  47937. "type": "array",
  47938. "items": {
  47939. "$ref": "#/definitions/models.Exchangerateconfig"
  47940. }
  47941. },
  47942. "externalExchanges": {
  47943. "description": "外部交易所",
  47944. "type": "array",
  47945. "items": {
  47946. "$ref": "#/definitions/models.Externalexchange"
  47947. }
  47948. },
  47949. "goodsgroups": {
  47950. "description": "商品组",
  47951. "type": "array",
  47952. "items": {
  47953. "$ref": "#/definitions/models.Goodsgroup"
  47954. }
  47955. },
  47956. "loginAccount": {
  47957. "description": "登录账号",
  47958. "$ref": "#/definitions/models.Loginaccount"
  47959. },
  47960. "markets": {
  47961. "description": "市场",
  47962. "type": "array",
  47963. "items": {
  47964. "$ref": "#/definitions/models.Market"
  47965. }
  47966. },
  47967. "systemParams": {
  47968. "description": "系统参数",
  47969. "type": "array",
  47970. "items": {
  47971. "$ref": "#/definitions/models.Systemparam"
  47972. }
  47973. },
  47974. "userAccount": {
  47975. "description": "用户账号",
  47976. "$ref": "#/definitions/models.Useraccount"
  47977. },
  47978. "userInfo": {
  47979. "description": "用户信息",
  47980. "$ref": "#/definitions/models.Userinfo"
  47981. },
  47982. "username": {
  47983. "description": "用户姓名",
  47984. "type": "string"
  47985. }
  47986. }
  47987. }
  47988. },
  47989. "securityDefinitions": {
  47990. "ApiKeyAuth": {
  47991. "type": "apiKey",
  47992. "name": "Authorization",
  47993. "in": "header"
  47994. },
  47995. "Group": {
  47996. "type": "apiKey",
  47997. "name": "Group",
  47998. "in": "header"
  47999. },
  48000. "LoginID": {
  48001. "type": "apiKey",
  48002. "name": "LoginID",
  48003. "in": "header"
  48004. }
  48005. }
  48006. }`
  48007. // SwaggerInfo holds exported Swagger Info so clients can modify it
  48008. var SwaggerInfo = &swag.Spec{
  48009. Version: "1.0",
  48010. Host: "",
  48011. BasePath: "",
  48012. Schemes: []string{},
  48013. Title: "MTP2.0 查询服务 API",
  48014. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  48015. InfoInstanceName: "swagger",
  48016. SwaggerTemplate: docTemplate,
  48017. }
  48018. func init() {
  48019. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  48020. }