docs.go 1.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询企业风管期货商品信息",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1214. "name": "userid",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GetGoods": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "获取钻石详情",
  7570. "parameters": [
  7571. {
  7572. "type": "string",
  7573. "description": "商品编号",
  7574. "name": "goodsno",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/models.GZGoods"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Guangzuan/GzCertAddressConfig": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. },
  7601. {
  7602. "LoginID": []
  7603. },
  7604. {
  7605. "Group": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "广钻"
  7613. ],
  7614. "summary": "Rapaport最新报价表(广钻)",
  7615. "responses": {
  7616. "200": {
  7617. "description": "OK",
  7618. "schema": {
  7619. "type": "array",
  7620. "items": {
  7621. "$ref": "#/definitions/models.Gzcertaddressconfig"
  7622. }
  7623. }
  7624. },
  7625. "500": {
  7626. "description": "Internal Server Error",
  7627. "schema": {
  7628. "$ref": "#/definitions/app.Response"
  7629. }
  7630. }
  7631. }
  7632. }
  7633. },
  7634. "/Guangzuan/GzCertAddressParam": {
  7635. "get": {
  7636. "security": [
  7637. {
  7638. "ApiKeyAuth": []
  7639. },
  7640. {
  7641. "LoginID": []
  7642. },
  7643. {
  7644. "Group": []
  7645. }
  7646. ],
  7647. "produces": [
  7648. "application/json"
  7649. ],
  7650. "tags": [
  7651. "广钻"
  7652. ],
  7653. "summary": "钻石证书地址参数",
  7654. "responses": {
  7655. "200": {
  7656. "description": "OK",
  7657. "schema": {
  7658. "type": "array",
  7659. "items": {
  7660. "$ref": "#/definitions/models.Gzcertaddressparam"
  7661. }
  7662. }
  7663. },
  7664. "500": {
  7665. "description": "Internal Server Error",
  7666. "schema": {
  7667. "$ref": "#/definitions/app.Response"
  7668. }
  7669. }
  7670. }
  7671. }
  7672. },
  7673. "/Guangzuan/HomeData": {
  7674. "get": {
  7675. "security": [
  7676. {
  7677. "ApiKeyAuth": []
  7678. },
  7679. {
  7680. "LoginID": []
  7681. },
  7682. {
  7683. "Group": []
  7684. }
  7685. ],
  7686. "produces": [
  7687. "application/json"
  7688. ],
  7689. "tags": [
  7690. "广钻"
  7691. ],
  7692. "summary": "首页统计数据",
  7693. "parameters": [
  7694. {
  7695. "type": "integer",
  7696. "description": "用户ID",
  7697. "name": "userid",
  7698. "in": "query",
  7699. "required": true
  7700. }
  7701. ],
  7702. "responses": {
  7703. "200": {
  7704. "description": "OK",
  7705. "schema": {
  7706. "$ref": "#/definitions/models.GZHomeData"
  7707. }
  7708. },
  7709. "500": {
  7710. "description": "Internal Server Error",
  7711. "schema": {
  7712. "$ref": "#/definitions/app.Response"
  7713. }
  7714. }
  7715. }
  7716. }
  7717. },
  7718. "/Guangzuan/PriceCalc": {
  7719. "get": {
  7720. "security": [
  7721. {
  7722. "ApiKeyAuth": []
  7723. },
  7724. {
  7725. "LoginID": []
  7726. },
  7727. {
  7728. "Group": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "广钻"
  7736. ],
  7737. "summary": "钻石价格计算器",
  7738. "parameters": [
  7739. {
  7740. "type": "integer",
  7741. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  7742. "name": "zsshape",
  7743. "in": "query",
  7744. "required": true
  7745. },
  7746. {
  7747. "type": "string",
  7748. "description": "颜色(D-M)",
  7749. "name": "zscolor",
  7750. "in": "query",
  7751. "required": true
  7752. },
  7753. {
  7754. "type": "string",
  7755. "description": "净度",
  7756. "name": "zsclarity",
  7757. "in": "query",
  7758. "required": true
  7759. },
  7760. {
  7761. "type": "number",
  7762. "description": "重量",
  7763. "name": "weight",
  7764. "in": "query",
  7765. "required": true
  7766. },
  7767. {
  7768. "type": "number",
  7769. "description": "汇率",
  7770. "name": "rate",
  7771. "in": "query",
  7772. "required": true
  7773. },
  7774. {
  7775. "type": "number",
  7776. "description": "折扣(%), 方向(加:10, 减:-10 )",
  7777. "name": "discount",
  7778. "in": "query"
  7779. }
  7780. ],
  7781. "responses": {
  7782. "200": {
  7783. "description": "OK",
  7784. "schema": {
  7785. "type": "array",
  7786. "items": {
  7787. "$ref": "#/definitions/models.Gzrapaportprice"
  7788. }
  7789. }
  7790. },
  7791. "500": {
  7792. "description": "Internal Server Error",
  7793. "schema": {
  7794. "$ref": "#/definitions/app.Response"
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "/Guangzuan/QueryBuyOrder": {
  7801. "get": {
  7802. "security": [
  7803. {
  7804. "ApiKeyAuth": []
  7805. },
  7806. {
  7807. "LoginID": []
  7808. },
  7809. {
  7810. "Group": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "广钻"
  7818. ],
  7819. "summary": "查询求购大厅委托单",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "页码",
  7824. "name": "page",
  7825. "in": "query"
  7826. },
  7827. {
  7828. "type": "integer",
  7829. "description": "每页条数",
  7830. "name": "pagesize",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "string",
  7835. "description": "商品(查询字段-模糊查询)",
  7836. "name": "zsallproperties",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "钻石分类, 格式:1,2,3",
  7842. "name": "zscategorys",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "委托单号",
  7848. "name": "wrtradeorderid",
  7849. "in": "query"
  7850. },
  7851. {
  7852. "type": "string",
  7853. "description": "买方(查询字段-模糊查询)",
  7854. "name": "buyusername",
  7855. "in": "query"
  7856. }
  7857. ],
  7858. "responses": {
  7859. "200": {
  7860. "description": "OK",
  7861. "schema": {
  7862. "type": "array",
  7863. "items": {
  7864. "$ref": "#/definitions/models.BuyOrder"
  7865. }
  7866. }
  7867. },
  7868. "500": {
  7869. "description": "Internal Server Error",
  7870. "schema": {
  7871. "$ref": "#/definitions/app.Response"
  7872. }
  7873. }
  7874. }
  7875. }
  7876. },
  7877. "/Guangzuan/QueryDiamond": {
  7878. "post": {
  7879. "security": [
  7880. {
  7881. "ApiKeyAuth": []
  7882. },
  7883. {
  7884. "LoginID": []
  7885. },
  7886. {
  7887. "Group": []
  7888. }
  7889. ],
  7890. "produces": [
  7891. "application/json"
  7892. ],
  7893. "tags": [
  7894. "广钻"
  7895. ],
  7896. "summary": "钻石搜索",
  7897. "parameters": [
  7898. {
  7899. "description": "钻石搜索入参",
  7900. "name": "data",
  7901. "in": "body",
  7902. "required": true,
  7903. "schema": {
  7904. "$ref": "#/definitions/models.SellOrderQueryReq"
  7905. }
  7906. }
  7907. ],
  7908. "responses": {
  7909. "200": {
  7910. "description": "OK",
  7911. "schema": {
  7912. "type": "array",
  7913. "items": {
  7914. "$ref": "#/definitions/models.SellOrder"
  7915. }
  7916. }
  7917. },
  7918. "500": {
  7919. "description": "Internal Server Error",
  7920. "schema": {
  7921. "$ref": "#/definitions/app.Response"
  7922. }
  7923. }
  7924. }
  7925. }
  7926. },
  7927. "/Guangzuan/QueryMyBargainApply": {
  7928. "get": {
  7929. "security": [
  7930. {
  7931. "ApiKeyAuth": []
  7932. },
  7933. {
  7934. "LoginID": []
  7935. },
  7936. {
  7937. "Group": []
  7938. }
  7939. ],
  7940. "produces": [
  7941. "application/json"
  7942. ],
  7943. "tags": [
  7944. "广钻"
  7945. ],
  7946. "summary": "查询询价-求购",
  7947. "parameters": [
  7948. {
  7949. "type": "integer",
  7950. "description": "用户ID",
  7951. "name": "userid",
  7952. "in": "query",
  7953. "required": true
  7954. },
  7955. {
  7956. "type": "integer",
  7957. "description": "页码",
  7958. "name": "page",
  7959. "in": "query"
  7960. },
  7961. {
  7962. "type": "integer",
  7963. "description": "每页条数",
  7964. "name": "pagesize",
  7965. "in": "query"
  7966. },
  7967. {
  7968. "type": "integer",
  7969. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7970. "name": "applystatus",
  7971. "in": "query"
  7972. },
  7973. {
  7974. "type": "integer",
  7975. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  7976. "name": "type",
  7977. "in": "query"
  7978. },
  7979. {
  7980. "type": "string",
  7981. "description": "关联委托单ID",
  7982. "name": "wrtradeorderid",
  7983. "in": "query"
  7984. }
  7985. ],
  7986. "responses": {
  7987. "200": {
  7988. "description": "OK",
  7989. "schema": {
  7990. "type": "array",
  7991. "items": {
  7992. "$ref": "#/definitions/models.MyBargainApply"
  7993. }
  7994. }
  7995. },
  7996. "500": {
  7997. "description": "Internal Server Error",
  7998. "schema": {
  7999. "$ref": "#/definitions/app.Response"
  8000. }
  8001. }
  8002. }
  8003. }
  8004. },
  8005. "/Guangzuan/QueryMyBuyOrder": {
  8006. "get": {
  8007. "security": [
  8008. {
  8009. "ApiKeyAuth": []
  8010. },
  8011. {
  8012. "LoginID": []
  8013. },
  8014. {
  8015. "Group": []
  8016. }
  8017. ],
  8018. "produces": [
  8019. "application/json"
  8020. ],
  8021. "tags": [
  8022. "广钻"
  8023. ],
  8024. "summary": "查询我的求购",
  8025. "parameters": [
  8026. {
  8027. "type": "integer",
  8028. "description": "用户ID",
  8029. "name": "userid",
  8030. "in": "query",
  8031. "required": true
  8032. },
  8033. {
  8034. "type": "integer",
  8035. "description": "页码",
  8036. "name": "page",
  8037. "in": "query"
  8038. },
  8039. {
  8040. "type": "integer",
  8041. "description": "每页条数",
  8042. "name": "pagesize",
  8043. "in": "query"
  8044. },
  8045. {
  8046. "type": "string",
  8047. "description": "商品(查询字段-模糊查询)",
  8048. "name": "zsallproperties",
  8049. "in": "query"
  8050. },
  8051. {
  8052. "type": "string",
  8053. "description": "钻石分类, 格式:1,2,3",
  8054. "name": "zscategorys",
  8055. "in": "query"
  8056. },
  8057. {
  8058. "type": "integer",
  8059. "description": "委托单号",
  8060. "name": "wrtradeorderid",
  8061. "in": "query"
  8062. },
  8063. {
  8064. "type": "boolean",
  8065. "description": "是否历史查询",
  8066. "name": "ishis",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "string",
  8071. "description": "开始交易日(yyyymmdd)",
  8072. "name": "begindate",
  8073. "in": "query"
  8074. },
  8075. {
  8076. "type": "string",
  8077. "description": "结束交易日(yyyymmdd)",
  8078. "name": "enddate",
  8079. "in": "query"
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "type": "array",
  8087. "items": {
  8088. "$ref": "#/definitions/models.MyBuyOrder"
  8089. }
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Guangzuan/QueryMyDeListing": {
  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": "userid",
  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. "type": "string",
  8143. "description": "商品(查询字段-模糊查询)",
  8144. "name": "zsallproperties",
  8145. "in": "query"
  8146. },
  8147. {
  8148. "type": "string",
  8149. "description": "钻石分类, 格式:1,2,3",
  8150. "name": "zscategorys",
  8151. "in": "query"
  8152. },
  8153. {
  8154. "type": "integer",
  8155. "description": "成交单号",
  8156. "name": "wrtradedetailid",
  8157. "in": "query"
  8158. },
  8159. {
  8160. "type": "integer",
  8161. "description": "方向,0-购买 1-出售",
  8162. "name": "buyorsell",
  8163. "in": "query"
  8164. },
  8165. {
  8166. "type": "string",
  8167. "description": "对手方(模糊匹配)",
  8168. "name": "matchusername",
  8169. "in": "query"
  8170. },
  8171. {
  8172. "type": "string",
  8173. "description": "开始交易日(yyyymmdd)",
  8174. "name": "begindate",
  8175. "in": "query"
  8176. },
  8177. {
  8178. "type": "string",
  8179. "description": "结束交易日(yyyymmdd)",
  8180. "name": "enddate",
  8181. "in": "query"
  8182. }
  8183. ],
  8184. "responses": {
  8185. "200": {
  8186. "description": "OK",
  8187. "schema": {
  8188. "type": "array",
  8189. "items": {
  8190. "$ref": "#/definitions/models.MyDeListing"
  8191. }
  8192. }
  8193. },
  8194. "500": {
  8195. "description": "Internal Server Error",
  8196. "schema": {
  8197. "$ref": "#/definitions/app.Response"
  8198. }
  8199. }
  8200. }
  8201. }
  8202. },
  8203. "/Guangzuan/QueryMyDelistingApply": {
  8204. "get": {
  8205. "security": [
  8206. {
  8207. "ApiKeyAuth": []
  8208. },
  8209. {
  8210. "LoginID": []
  8211. },
  8212. {
  8213. "Group": []
  8214. }
  8215. ],
  8216. "produces": [
  8217. "application/json"
  8218. ],
  8219. "tags": [
  8220. "广钻"
  8221. ],
  8222. "summary": "查询询价-出售",
  8223. "parameters": [
  8224. {
  8225. "type": "integer",
  8226. "description": "用户ID",
  8227. "name": "userid",
  8228. "in": "query",
  8229. "required": true
  8230. },
  8231. {
  8232. "type": "integer",
  8233. "description": "页码",
  8234. "name": "page",
  8235. "in": "query"
  8236. },
  8237. {
  8238. "type": "integer",
  8239. "description": "每页条数",
  8240. "name": "pagesize",
  8241. "in": "query"
  8242. },
  8243. {
  8244. "type": "integer",
  8245. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8246. "name": "applystatus",
  8247. "in": "query"
  8248. },
  8249. {
  8250. "type": "integer",
  8251. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8252. "name": "type",
  8253. "in": "query"
  8254. },
  8255. {
  8256. "type": "string",
  8257. "description": "买委托单ID",
  8258. "name": "buywrtradeorderid",
  8259. "in": "query"
  8260. }
  8261. ],
  8262. "responses": {
  8263. "200": {
  8264. "description": "OK",
  8265. "schema": {
  8266. "type": "array",
  8267. "items": {
  8268. "$ref": "#/definitions/models.MyDelistingApply"
  8269. }
  8270. }
  8271. },
  8272. "500": {
  8273. "description": "Internal Server Error",
  8274. "schema": {
  8275. "$ref": "#/definitions/app.Response"
  8276. }
  8277. }
  8278. }
  8279. }
  8280. },
  8281. "/Guangzuan/QueryMyFavorite": {
  8282. "get": {
  8283. "security": [
  8284. {
  8285. "ApiKeyAuth": []
  8286. },
  8287. {
  8288. "LoginID": []
  8289. },
  8290. {
  8291. "Group": []
  8292. }
  8293. ],
  8294. "produces": [
  8295. "application/json"
  8296. ],
  8297. "tags": [
  8298. "广钻"
  8299. ],
  8300. "summary": "查询我的收藏",
  8301. "parameters": [
  8302. {
  8303. "type": "integer",
  8304. "description": "用户ID",
  8305. "name": "userid",
  8306. "in": "query",
  8307. "required": true
  8308. },
  8309. {
  8310. "type": "integer",
  8311. "description": "页码",
  8312. "name": "page",
  8313. "in": "query"
  8314. },
  8315. {
  8316. "type": "integer",
  8317. "description": "每页条数",
  8318. "name": "pagesize",
  8319. "in": "query"
  8320. },
  8321. {
  8322. "type": "string",
  8323. "description": "钻石分类, 格式:1,2,3",
  8324. "name": "zscategorys",
  8325. "in": "query"
  8326. }
  8327. ],
  8328. "responses": {
  8329. "200": {
  8330. "description": "OK",
  8331. "schema": {
  8332. "type": "array",
  8333. "items": {
  8334. "$ref": "#/definitions/models.MyFavorite"
  8335. }
  8336. }
  8337. },
  8338. "500": {
  8339. "description": "Internal Server Error",
  8340. "schema": {
  8341. "$ref": "#/definitions/app.Response"
  8342. }
  8343. }
  8344. }
  8345. }
  8346. },
  8347. "/Guangzuan/QueryMyPerformanc": {
  8348. "get": {
  8349. "security": [
  8350. {
  8351. "ApiKeyAuth": []
  8352. },
  8353. {
  8354. "LoginID": []
  8355. },
  8356. {
  8357. "Group": []
  8358. }
  8359. ],
  8360. "produces": [
  8361. "application/json"
  8362. ],
  8363. "tags": [
  8364. "广钻"
  8365. ],
  8366. "summary": "查询我的履约",
  8367. "parameters": [
  8368. {
  8369. "type": "integer",
  8370. "description": "用户ID",
  8371. "name": "userid",
  8372. "in": "query",
  8373. "required": true
  8374. },
  8375. {
  8376. "type": "integer",
  8377. "description": "页码",
  8378. "name": "page",
  8379. "in": "query"
  8380. },
  8381. {
  8382. "type": "integer",
  8383. "description": "每页条数",
  8384. "name": "pagesize",
  8385. "in": "query"
  8386. },
  8387. {
  8388. "type": "string",
  8389. "description": "商品(查询字段-模糊查询)",
  8390. "name": "zsallproperties",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "integer",
  8395. "description": "方向,0-买 1-卖",
  8396. "name": "buyorsell",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "boolean",
  8401. "description": "是否历史查询",
  8402. "name": "ishis",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "开始交易日(yyyymmdd)",
  8408. "name": "begindate",
  8409. "in": "query"
  8410. },
  8411. {
  8412. "type": "string",
  8413. "description": "结束交易日(yyyymmdd)",
  8414. "name": "enddate",
  8415. "in": "query"
  8416. }
  8417. ],
  8418. "responses": {
  8419. "200": {
  8420. "description": "OK",
  8421. "schema": {
  8422. "type": "array",
  8423. "items": {
  8424. "$ref": "#/definitions/models.MyPerformanc"
  8425. }
  8426. }
  8427. },
  8428. "500": {
  8429. "description": "Internal Server Error",
  8430. "schema": {
  8431. "$ref": "#/definitions/app.Response"
  8432. }
  8433. }
  8434. }
  8435. }
  8436. },
  8437. "/Guangzuan/QueryMySellOrder": {
  8438. "get": {
  8439. "security": [
  8440. {
  8441. "ApiKeyAuth": []
  8442. },
  8443. {
  8444. "LoginID": []
  8445. },
  8446. {
  8447. "Group": []
  8448. }
  8449. ],
  8450. "produces": [
  8451. "application/json"
  8452. ],
  8453. "tags": [
  8454. "广钻"
  8455. ],
  8456. "summary": "查询我的出售",
  8457. "parameters": [
  8458. {
  8459. "type": "integer",
  8460. "description": "用户ID",
  8461. "name": "userid",
  8462. "in": "query",
  8463. "required": true
  8464. },
  8465. {
  8466. "type": "integer",
  8467. "description": "页码",
  8468. "name": "page",
  8469. "in": "query"
  8470. },
  8471. {
  8472. "type": "integer",
  8473. "description": "每页条数",
  8474. "name": "pagesize",
  8475. "in": "query"
  8476. },
  8477. {
  8478. "type": "string",
  8479. "description": "商品(查询字段-模糊查询)",
  8480. "name": "zsallproperties",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "钻石分类, 格式:1,2,3",
  8486. "name": "zscategorys",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "integer",
  8491. "description": "委托单号",
  8492. "name": "wrtradeorderid",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "boolean",
  8497. "description": "是否历史查询",
  8498. "name": "ishis",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "string",
  8503. "description": "开始交易日(yyyymmdd)",
  8504. "name": "begindate",
  8505. "in": "query"
  8506. },
  8507. {
  8508. "type": "string",
  8509. "description": "结束交易日(yyyymmdd)",
  8510. "name": "enddate",
  8511. "in": "query"
  8512. }
  8513. ],
  8514. "responses": {
  8515. "200": {
  8516. "description": "OK",
  8517. "schema": {
  8518. "type": "array",
  8519. "items": {
  8520. "$ref": "#/definitions/models.MySellOrder"
  8521. }
  8522. }
  8523. },
  8524. "500": {
  8525. "description": "Internal Server Error",
  8526. "schema": {
  8527. "$ref": "#/definitions/app.Response"
  8528. }
  8529. }
  8530. }
  8531. }
  8532. },
  8533. "/Guangzuan/QueryMyWRPosition": {
  8534. "get": {
  8535. "security": [
  8536. {
  8537. "ApiKeyAuth": []
  8538. },
  8539. {
  8540. "LoginID": []
  8541. },
  8542. {
  8543. "Group": []
  8544. }
  8545. ],
  8546. "produces": [
  8547. "application/json"
  8548. ],
  8549. "tags": [
  8550. "广钻"
  8551. ],
  8552. "summary": "查询我的库存",
  8553. "parameters": [
  8554. {
  8555. "type": "integer",
  8556. "description": "页码",
  8557. "name": "page",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "integer",
  8562. "description": "每页条数",
  8563. "name": "pagesize",
  8564. "in": "query"
  8565. },
  8566. {
  8567. "type": "integer",
  8568. "description": "登录用户ID",
  8569. "name": "wruserid",
  8570. "in": "query",
  8571. "required": true
  8572. },
  8573. {
  8574. "type": "string",
  8575. "description": "商品(查询字段-模糊查询)",
  8576. "name": "zsallproperties",
  8577. "in": "query"
  8578. },
  8579. {
  8580. "type": "string",
  8581. "description": "钻石分类, 格式:1,2,3",
  8582. "name": "zscategorys",
  8583. "in": "query"
  8584. },
  8585. {
  8586. "type": "integer",
  8587. "description": "仓库ID",
  8588. "name": "warehouseid",
  8589. "in": "query"
  8590. },
  8591. {
  8592. "type": "integer",
  8593. "description": "是否上架,0-全部 1-是 2-否",
  8594. "name": "marketflag",
  8595. "in": "query"
  8596. }
  8597. ],
  8598. "responses": {
  8599. "200": {
  8600. "description": "OK",
  8601. "schema": {
  8602. "type": "array",
  8603. "items": {
  8604. "$ref": "#/definitions/models.MyWRPosition"
  8605. }
  8606. }
  8607. },
  8608. "500": {
  8609. "description": "Internal Server Error",
  8610. "schema": {
  8611. "$ref": "#/definitions/app.Response"
  8612. }
  8613. }
  8614. }
  8615. }
  8616. },
  8617. "/Guangzuan/QuerySellOrder": {
  8618. "get": {
  8619. "security": [
  8620. {
  8621. "ApiKeyAuth": []
  8622. },
  8623. {
  8624. "LoginID": []
  8625. },
  8626. {
  8627. "Group": []
  8628. }
  8629. ],
  8630. "produces": [
  8631. "application/json"
  8632. ],
  8633. "tags": [
  8634. "广钻"
  8635. ],
  8636. "summary": "查询出售大厅委托单",
  8637. "parameters": [
  8638. {
  8639. "type": "integer",
  8640. "description": "页码",
  8641. "name": "page",
  8642. "in": "query"
  8643. },
  8644. {
  8645. "type": "integer",
  8646. "description": "每页条数",
  8647. "name": "pagesize",
  8648. "in": "query"
  8649. },
  8650. {
  8651. "type": "string",
  8652. "description": "商品(查询字段-模糊查询)",
  8653. "name": "zsallproperties",
  8654. "in": "query"
  8655. },
  8656. {
  8657. "type": "string",
  8658. "description": "钻石分类, 格式:1,2,3",
  8659. "name": "zscategorys",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "integer",
  8664. "description": "委托单号",
  8665. "name": "wrtradeorderid",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "卖方(查询字段-模糊查询)",
  8671. "name": "buyusername",
  8672. "in": "query"
  8673. }
  8674. ],
  8675. "responses": {
  8676. "200": {
  8677. "description": "OK",
  8678. "schema": {
  8679. "type": "array",
  8680. "items": {
  8681. "$ref": "#/definitions/models.SellOrder"
  8682. }
  8683. }
  8684. },
  8685. "500": {
  8686. "description": "Internal Server Error",
  8687. "schema": {
  8688. "$ref": "#/definitions/app.Response"
  8689. }
  8690. }
  8691. }
  8692. }
  8693. },
  8694. "/Guangzuan/QueryWarehouseInfo": {
  8695. "get": {
  8696. "security": [
  8697. {
  8698. "ApiKeyAuth": []
  8699. },
  8700. {
  8701. "LoginID": []
  8702. },
  8703. {
  8704. "Group": []
  8705. }
  8706. ],
  8707. "produces": [
  8708. "application/json"
  8709. ],
  8710. "tags": [
  8711. "广钻"
  8712. ],
  8713. "summary": "查询仓库信息",
  8714. "parameters": [
  8715. {
  8716. "type": "integer",
  8717. "description": "页码",
  8718. "name": "page",
  8719. "in": "query"
  8720. },
  8721. {
  8722. "type": "integer",
  8723. "description": "每页条数",
  8724. "name": "pagesize",
  8725. "in": "query"
  8726. },
  8727. {
  8728. "type": "integer",
  8729. "description": "用户ID",
  8730. "name": "userid",
  8731. "in": "query",
  8732. "required": true
  8733. },
  8734. {
  8735. "type": "string",
  8736. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8737. "name": "status",
  8738. "in": "query"
  8739. },
  8740. {
  8741. "type": "boolean",
  8742. "description": "是返回交易所仓库",
  8743. "name": "isincludeexchange",
  8744. "in": "query"
  8745. }
  8746. ],
  8747. "responses": {
  8748. "200": {
  8749. "description": "OK",
  8750. "schema": {
  8751. "type": "array",
  8752. "items": {
  8753. "$ref": "#/definitions/models.GZWarehouseinfo"
  8754. }
  8755. }
  8756. },
  8757. "500": {
  8758. "description": "Internal Server Error",
  8759. "schema": {
  8760. "$ref": "#/definitions/app.Response"
  8761. }
  8762. }
  8763. }
  8764. }
  8765. },
  8766. "/HSBY/GetHsbyMyCount": {
  8767. "get": {
  8768. "security": [
  8769. {
  8770. "ApiKeyAuth": []
  8771. }
  8772. ],
  8773. "description": "说明: 不包括已完成的数量。",
  8774. "produces": [
  8775. "application/json"
  8776. ],
  8777. "tags": [
  8778. "定制【海商报业】"
  8779. ],
  8780. "summary": "获取我的订单与包裹数量",
  8781. "parameters": [
  8782. {
  8783. "type": "string",
  8784. "description": "资金账户列表,格式:1,2,3",
  8785. "name": "accountIDs",
  8786. "in": "query",
  8787. "required": true
  8788. }
  8789. ],
  8790. "responses": {
  8791. "200": {
  8792. "description": "OK",
  8793. "schema": {
  8794. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  8795. }
  8796. },
  8797. "500": {
  8798. "description": "Internal Server Error",
  8799. "schema": {
  8800. "$ref": "#/definitions/app.Response"
  8801. }
  8802. }
  8803. }
  8804. }
  8805. },
  8806. "/HSBY/QueryClientFixedADConfigs": {
  8807. "get": {
  8808. "security": [
  8809. {
  8810. "ApiKeyAuth": []
  8811. }
  8812. ],
  8813. "produces": [
  8814. "application/json"
  8815. ],
  8816. "tags": [
  8817. "定制【海商报业】"
  8818. ],
  8819. "summary": "获取终端固定广告配置",
  8820. "responses": {
  8821. "200": {
  8822. "description": "OK",
  8823. "schema": {
  8824. "$ref": "#/definitions/models.Clientfixedadconfig"
  8825. }
  8826. },
  8827. "500": {
  8828. "description": "Internal Server Error",
  8829. "schema": {
  8830. "$ref": "#/definitions/app.Response"
  8831. }
  8832. }
  8833. }
  8834. }
  8835. },
  8836. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  8837. "get": {
  8838. "security": [
  8839. {
  8840. "ApiKeyAuth": []
  8841. }
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "定制【海商报业】"
  8848. ],
  8849. "summary": "查询\"我的订单 - 已完成\"单据信息",
  8850. "parameters": [
  8851. {
  8852. "type": "integer",
  8853. "description": "页码",
  8854. "name": "page",
  8855. "in": "query"
  8856. },
  8857. {
  8858. "type": "integer",
  8859. "description": "每页条数",
  8860. "name": "pagesize",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "string",
  8865. "description": "资金账户列表,格式:1,2,3",
  8866. "name": "accountIDs",
  8867. "in": "query",
  8868. "required": true
  8869. }
  8870. ],
  8871. "responses": {
  8872. "200": {
  8873. "description": "OK",
  8874. "schema": {
  8875. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  8876. }
  8877. },
  8878. "500": {
  8879. "description": "Internal Server Error",
  8880. "schema": {
  8881. "$ref": "#/definitions/app.Response"
  8882. }
  8883. }
  8884. }
  8885. }
  8886. },
  8887. "/HSBY/QueryHsbyGoodsOrderDetails": {
  8888. "get": {
  8889. "security": [
  8890. {
  8891. "ApiKeyAuth": []
  8892. }
  8893. ],
  8894. "description": "说明:查询结果已按委托价格和委托时间排序",
  8895. "produces": [
  8896. "application/json"
  8897. ],
  8898. "tags": [
  8899. "定制【海商报业】"
  8900. ],
  8901. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  8902. "parameters": [
  8903. {
  8904. "type": "integer",
  8905. "description": "商品ID",
  8906. "name": "goodsID",
  8907. "in": "query",
  8908. "required": true
  8909. },
  8910. {
  8911. "type": "string",
  8912. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  8913. "name": "accountIDs",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "integer",
  8918. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  8919. "name": "buyOrSell",
  8920. "in": "query"
  8921. },
  8922. {
  8923. "type": "number",
  8924. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  8925. "name": "price",
  8926. "in": "query"
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "档位,不传则默认为3档",
  8931. "name": "speed",
  8932. "in": "query"
  8933. }
  8934. ],
  8935. "responses": {
  8936. "200": {
  8937. "description": "OK",
  8938. "schema": {
  8939. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  8940. }
  8941. },
  8942. "500": {
  8943. "description": "Internal Server Error",
  8944. "schema": {
  8945. "$ref": "#/definitions/app.Response"
  8946. }
  8947. }
  8948. }
  8949. }
  8950. },
  8951. "/HSBY/QueryHsbyListingGoodsDetail": {
  8952. "get": {
  8953. "security": [
  8954. {
  8955. "ApiKeyAuth": []
  8956. }
  8957. ],
  8958. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  8959. "produces": [
  8960. "application/json"
  8961. ],
  8962. "tags": [
  8963. "定制【海商报业】"
  8964. ],
  8965. "summary": "查询二级市场(挂牌点选)商品信息详情",
  8966. "parameters": [
  8967. {
  8968. "type": "integer",
  8969. "description": "商品ID",
  8970. "name": "goodsID",
  8971. "in": "query",
  8972. "required": true
  8973. },
  8974. {
  8975. "type": "integer",
  8976. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  8977. "name": "accountID",
  8978. "in": "query"
  8979. }
  8980. ],
  8981. "responses": {
  8982. "200": {
  8983. "description": "OK",
  8984. "schema": {
  8985. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  8986. }
  8987. },
  8988. "500": {
  8989. "description": "Internal Server Error",
  8990. "schema": {
  8991. "$ref": "#/definitions/app.Response"
  8992. }
  8993. }
  8994. }
  8995. }
  8996. },
  8997. "/HSBY/QueryHsbyMarketGoodsDetail": {
  8998. "get": {
  8999. "security": [
  9000. {
  9001. "ApiKeyAuth": []
  9002. }
  9003. ],
  9004. "produces": [
  9005. "application/json"
  9006. ],
  9007. "tags": [
  9008. "定制【海商报业】"
  9009. ],
  9010. "summary": "查询三级市场(商城)商品信息详情",
  9011. "parameters": [
  9012. {
  9013. "type": "integer",
  9014. "description": "委托单号",
  9015. "name": "orderID",
  9016. "in": "query",
  9017. "required": true
  9018. },
  9019. {
  9020. "type": "integer",
  9021. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  9022. "name": "accountID",
  9023. "in": "query"
  9024. }
  9025. ],
  9026. "responses": {
  9027. "200": {
  9028. "description": "OK",
  9029. "schema": {
  9030. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  9031. }
  9032. },
  9033. "500": {
  9034. "description": "Internal Server Error",
  9035. "schema": {
  9036. "$ref": "#/definitions/app.Response"
  9037. }
  9038. }
  9039. }
  9040. }
  9041. },
  9042. "/HSBY/QueryHsbyMarketGoodses": {
  9043. "get": {
  9044. "security": [
  9045. {
  9046. "ApiKeyAuth": []
  9047. }
  9048. ],
  9049. "produces": [
  9050. "application/json"
  9051. ],
  9052. "tags": [
  9053. "定制【海商报业】"
  9054. ],
  9055. "summary": "查询特卖商品列表(三级商城)",
  9056. "parameters": [
  9057. {
  9058. "type": "integer",
  9059. "description": "页码",
  9060. "name": "page",
  9061. "in": "query"
  9062. },
  9063. {
  9064. "type": "integer",
  9065. "description": "每页条数",
  9066. "name": "pagesize",
  9067. "in": "query"
  9068. },
  9069. {
  9070. "type": "string",
  9071. "description": "市场ID列表,格式:1,2,3",
  9072. "name": "marketIDs",
  9073. "in": "query",
  9074. "required": true
  9075. },
  9076. {
  9077. "type": "integer",
  9078. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  9079. "name": "accountID",
  9080. "in": "query",
  9081. "required": true
  9082. },
  9083. {
  9084. "type": "integer",
  9085. "description": "类别ID",
  9086. "name": "categoryID",
  9087. "in": "query"
  9088. },
  9089. {
  9090. "type": "string",
  9091. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  9092. "name": "goodsIDs",
  9093. "in": "query"
  9094. },
  9095. {
  9096. "type": "integer",
  9097. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  9098. "name": "couponTypeID",
  9099. "in": "query"
  9100. }
  9101. ],
  9102. "responses": {
  9103. "200": {
  9104. "description": "OK",
  9105. "schema": {
  9106. "$ref": "#/definitions/models.HsbyMarketGoods"
  9107. }
  9108. },
  9109. "500": {
  9110. "description": "Internal Server Error",
  9111. "schema": {
  9112. "$ref": "#/definitions/app.Response"
  9113. }
  9114. }
  9115. }
  9116. }
  9117. },
  9118. "/HSBY/QueryHsbyMarkets": {
  9119. "get": {
  9120. "security": [
  9121. {
  9122. "ApiKeyAuth": []
  9123. }
  9124. ],
  9125. "produces": [
  9126. "application/json"
  9127. ],
  9128. "tags": [
  9129. "定制【海商报业】"
  9130. ],
  9131. "summary": "查询海商报业相关市场信息",
  9132. "responses": {
  9133. "200": {
  9134. "description": "OK",
  9135. "schema": {
  9136. "$ref": "#/definitions/models.HsbyMarketInfo"
  9137. }
  9138. },
  9139. "500": {
  9140. "description": "Internal Server Error",
  9141. "schema": {
  9142. "$ref": "#/definitions/app.Response"
  9143. }
  9144. }
  9145. }
  9146. }
  9147. },
  9148. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  9149. "get": {
  9150. "security": [
  9151. {
  9152. "ApiKeyAuth": []
  9153. }
  9154. ],
  9155. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  9156. "produces": [
  9157. "application/json"
  9158. ],
  9159. "tags": [
  9160. "定制【海商报业】"
  9161. ],
  9162. "summary": "查询“我的订单”信息",
  9163. "parameters": [
  9164. {
  9165. "type": "string",
  9166. "description": "资金账户列表,格式:1,2,3",
  9167. "name": "accountIDs",
  9168. "in": "query",
  9169. "required": true
  9170. }
  9171. ],
  9172. "responses": {
  9173. "200": {
  9174. "description": "OK",
  9175. "schema": {
  9176. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  9177. }
  9178. },
  9179. "500": {
  9180. "description": "Internal Server Error",
  9181. "schema": {
  9182. "$ref": "#/definitions/app.Response"
  9183. }
  9184. }
  9185. }
  9186. }
  9187. },
  9188. "/HSBY/QueryHsbyMyGoods": {
  9189. "get": {
  9190. "security": [
  9191. {
  9192. "ApiKeyAuth": []
  9193. }
  9194. ],
  9195. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  9196. "produces": [
  9197. "application/json"
  9198. ],
  9199. "tags": [
  9200. "定制【海商报业】"
  9201. ],
  9202. "summary": "查询“我的商品”信息",
  9203. "parameters": [
  9204. {
  9205. "type": "string",
  9206. "description": "资金账户列表,格式:1,2,3",
  9207. "name": "accountIDs",
  9208. "in": "query",
  9209. "required": true
  9210. }
  9211. ],
  9212. "responses": {
  9213. "200": {
  9214. "description": "OK",
  9215. "schema": {
  9216. "$ref": "#/definitions/models.HsbyMyGoods"
  9217. }
  9218. },
  9219. "500": {
  9220. "description": "Internal Server Error",
  9221. "schema": {
  9222. "$ref": "#/definitions/app.Response"
  9223. }
  9224. }
  9225. }
  9226. }
  9227. },
  9228. "/HSBY/QueryHsbyMyPackages": {
  9229. "get": {
  9230. "security": [
  9231. {
  9232. "ApiKeyAuth": []
  9233. }
  9234. ],
  9235. "produces": [
  9236. "application/json"
  9237. ],
  9238. "tags": [
  9239. "定制【海商报业】"
  9240. ],
  9241. "summary": "查询我的包裹信息",
  9242. "parameters": [
  9243. {
  9244. "type": "string",
  9245. "description": "资金账户列表,格式:1,2,3",
  9246. "name": "accountIDs",
  9247. "in": "query",
  9248. "required": true
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9253. "name": "takeOrderStatus",
  9254. "in": "query"
  9255. }
  9256. ],
  9257. "responses": {
  9258. "200": {
  9259. "description": "OK",
  9260. "schema": {
  9261. "$ref": "#/definitions/models.HsbyMyPackage"
  9262. }
  9263. },
  9264. "500": {
  9265. "description": "Internal Server Error",
  9266. "schema": {
  9267. "$ref": "#/definitions/app.Response"
  9268. }
  9269. }
  9270. }
  9271. }
  9272. },
  9273. "/HSBY/QueryHsbyPreGoodsDetail": {
  9274. "get": {
  9275. "security": [
  9276. {
  9277. "ApiKeyAuth": []
  9278. }
  9279. ],
  9280. "produces": [
  9281. "application/json"
  9282. ],
  9283. "tags": [
  9284. "定制【海商报业】"
  9285. ],
  9286. "summary": "查询一级市场(预售)商品信息详情",
  9287. "parameters": [
  9288. {
  9289. "type": "integer",
  9290. "description": "商品ID",
  9291. "name": "goodsID",
  9292. "in": "query",
  9293. "required": true
  9294. },
  9295. {
  9296. "type": "integer",
  9297. "description": "资金账户,主要用于获取预售商品购买上限",
  9298. "name": "accountID",
  9299. "in": "query"
  9300. }
  9301. ],
  9302. "responses": {
  9303. "200": {
  9304. "description": "OK",
  9305. "schema": {
  9306. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  9307. }
  9308. },
  9309. "500": {
  9310. "description": "Internal Server Error",
  9311. "schema": {
  9312. "$ref": "#/definitions/app.Response"
  9313. }
  9314. }
  9315. }
  9316. }
  9317. },
  9318. "/HSBY/QueryHsbyPreGoodses": {
  9319. "get": {
  9320. "security": [
  9321. {
  9322. "ApiKeyAuth": []
  9323. }
  9324. ],
  9325. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  9326. "produces": [
  9327. "application/json"
  9328. ],
  9329. "tags": [
  9330. "定制【海商报业】"
  9331. ],
  9332. "summary": "查询新品上市商品列表(一级市场预售)",
  9333. "parameters": [
  9334. {
  9335. "type": "integer",
  9336. "description": "页码",
  9337. "name": "page",
  9338. "in": "query"
  9339. },
  9340. {
  9341. "type": "integer",
  9342. "description": "每页条数",
  9343. "name": "pagesize",
  9344. "in": "query"
  9345. },
  9346. {
  9347. "type": "string",
  9348. "description": "市场ID列表,格式:1,2,3",
  9349. "name": "marketIDs",
  9350. "in": "query",
  9351. "required": true
  9352. },
  9353. {
  9354. "type": "integer",
  9355. "description": "目的地(省)ID",
  9356. "name": "descProvinceID",
  9357. "in": "query"
  9358. },
  9359. {
  9360. "type": "integer",
  9361. "description": "目的地(市)ID",
  9362. "name": "descCityID",
  9363. "in": "query"
  9364. }
  9365. ],
  9366. "responses": {
  9367. "200": {
  9368. "description": "OK",
  9369. "schema": {
  9370. "$ref": "#/definitions/models.HsbyPreGoods"
  9371. }
  9372. },
  9373. "500": {
  9374. "description": "Internal Server Error",
  9375. "schema": {
  9376. "$ref": "#/definitions/app.Response"
  9377. }
  9378. }
  9379. }
  9380. }
  9381. },
  9382. "/HSBY/QueryHsbySellMyDetails": {
  9383. "get": {
  9384. "security": [
  9385. {
  9386. "ApiKeyAuth": []
  9387. }
  9388. ],
  9389. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  9390. "produces": [
  9391. "application/json"
  9392. ],
  9393. "tags": [
  9394. "定制【海商报业】"
  9395. ],
  9396. "summary": "查询\"我的闲置\"单据信息",
  9397. "parameters": [
  9398. {
  9399. "type": "integer",
  9400. "description": "页码",
  9401. "name": "page",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "每页条数",
  9407. "name": "pagesize",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "资金账户列表,格式:1,2,3",
  9413. "name": "accountIDs",
  9414. "in": "query",
  9415. "required": true
  9416. },
  9417. {
  9418. "type": "integer",
  9419. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  9420. "name": "orderType",
  9421. "in": "query"
  9422. }
  9423. ],
  9424. "responses": {
  9425. "200": {
  9426. "description": "OK",
  9427. "schema": {
  9428. "$ref": "#/definitions/models.HsbySellMyDetail"
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/HSBY/QueryHsbyTopGoodses": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  9448. "produces": [
  9449. "application/json"
  9450. ],
  9451. "tags": [
  9452. "定制【海商报业】"
  9453. ],
  9454. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  9455. "parameters": [
  9456. {
  9457. "type": "integer",
  9458. "description": "页码",
  9459. "name": "page",
  9460. "in": "query"
  9461. },
  9462. {
  9463. "type": "integer",
  9464. "description": "每页条数",
  9465. "name": "pagesize",
  9466. "in": "query"
  9467. },
  9468. {
  9469. "type": "string",
  9470. "description": "市场ID列表,格式:1,2,3",
  9471. "name": "marketIDs",
  9472. "in": "query",
  9473. "required": true
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "目的地(省)ID",
  9478. "name": "descProvinceID",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "目的地(市)ID",
  9484. "name": "descCityID",
  9485. "in": "query"
  9486. }
  9487. ],
  9488. "responses": {
  9489. "200": {
  9490. "description": "OK",
  9491. "schema": {
  9492. "$ref": "#/definitions/models.HsbyTopGoods"
  9493. }
  9494. },
  9495. "500": {
  9496. "description": "Internal Server Error",
  9497. "schema": {
  9498. "$ref": "#/definitions/app.Response"
  9499. }
  9500. }
  9501. }
  9502. }
  9503. },
  9504. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  9505. "get": {
  9506. "security": [
  9507. {
  9508. "ApiKeyAuth": []
  9509. }
  9510. ],
  9511. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  9512. "produces": [
  9513. "application/json"
  9514. ],
  9515. "tags": [
  9516. "定制【海商报业】"
  9517. ],
  9518. "summary": "查询游客三级市场(商城)商品信息详情",
  9519. "parameters": [
  9520. {
  9521. "type": "integer",
  9522. "description": "商品ID",
  9523. "name": "goodsID",
  9524. "in": "query",
  9525. "required": true
  9526. }
  9527. ],
  9528. "responses": {
  9529. "200": {
  9530. "description": "OK",
  9531. "schema": {
  9532. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  9533. }
  9534. },
  9535. "500": {
  9536. "description": "Internal Server Error",
  9537. "schema": {
  9538. "$ref": "#/definitions/app.Response"
  9539. }
  9540. }
  9541. }
  9542. }
  9543. },
  9544. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  9545. "get": {
  9546. "security": [
  9547. {
  9548. "ApiKeyAuth": []
  9549. }
  9550. ],
  9551. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  9552. "produces": [
  9553. "application/json"
  9554. ],
  9555. "tags": [
  9556. "定制【海商报业】"
  9557. ],
  9558. "summary": "查询游客特卖商品列表(三级商城)",
  9559. "parameters": [
  9560. {
  9561. "type": "integer",
  9562. "description": "页码",
  9563. "name": "page",
  9564. "in": "query"
  9565. },
  9566. {
  9567. "type": "integer",
  9568. "description": "每页条数",
  9569. "name": "pagesize",
  9570. "in": "query"
  9571. },
  9572. {
  9573. "type": "string",
  9574. "description": "市场ID列表,格式:1,2,3",
  9575. "name": "marketIDs",
  9576. "in": "query",
  9577. "required": true
  9578. },
  9579. {
  9580. "type": "integer",
  9581. "description": "类别ID",
  9582. "name": "categoryID",
  9583. "in": "query"
  9584. },
  9585. {
  9586. "type": "string",
  9587. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  9588. "name": "goodsIDs",
  9589. "in": "query"
  9590. }
  9591. ],
  9592. "responses": {
  9593. "200": {
  9594. "description": "OK",
  9595. "schema": {
  9596. "$ref": "#/definitions/models.HsbyMarketGoods"
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/HSBY/QueryMyCollectionOrders": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "定制【海商报业】"
  9620. ],
  9621. "summary": "我的闲置中收款信息查询",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "页码",
  9626. "name": "page",
  9627. "in": "query"
  9628. },
  9629. {
  9630. "type": "integer",
  9631. "description": "每页条数",
  9632. "name": "pagesize",
  9633. "in": "query"
  9634. },
  9635. {
  9636. "type": "string",
  9637. "description": "资金账户,格式:1,2,3",
  9638. "name": "accountIDs",
  9639. "in": "query",
  9640. "required": true
  9641. }
  9642. ],
  9643. "responses": {
  9644. "200": {
  9645. "description": "OK",
  9646. "schema": {
  9647. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  9648. }
  9649. },
  9650. "500": {
  9651. "description": "Internal Server Error",
  9652. "schema": {
  9653. "$ref": "#/definitions/app.Response"
  9654. }
  9655. }
  9656. }
  9657. }
  9658. },
  9659. "/HSBY/QueryMyCouponHolds": {
  9660. "get": {
  9661. "security": [
  9662. {
  9663. "ApiKeyAuth": []
  9664. }
  9665. ],
  9666. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  9667. "produces": [
  9668. "application/json"
  9669. ],
  9670. "tags": [
  9671. "定制【海商报业】"
  9672. ],
  9673. "summary": "我的优惠卷持仓查询",
  9674. "parameters": [
  9675. {
  9676. "type": "string",
  9677. "description": "资金账户列表,格式:1,2,3",
  9678. "name": "accountIDs",
  9679. "in": "query",
  9680. "required": true
  9681. },
  9682. {
  9683. "type": "string",
  9684. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  9685. "name": "holdStatus",
  9686. "in": "query"
  9687. }
  9688. ],
  9689. "responses": {
  9690. "200": {
  9691. "description": "OK",
  9692. "schema": {
  9693. "$ref": "#/definitions/models.MyCouponHold"
  9694. }
  9695. },
  9696. "500": {
  9697. "description": "Internal Server Error",
  9698. "schema": {
  9699. "$ref": "#/definitions/app.Response"
  9700. }
  9701. }
  9702. }
  9703. }
  9704. },
  9705. "/HSBY/QueryMyCoupons": {
  9706. "get": {
  9707. "security": [
  9708. {
  9709. "ApiKeyAuth": []
  9710. }
  9711. ],
  9712. "produces": [
  9713. "application/json"
  9714. ],
  9715. "tags": [
  9716. "定制【海商报业】"
  9717. ],
  9718. "summary": "我的优惠卷查询",
  9719. "parameters": [
  9720. {
  9721. "type": "string",
  9722. "description": "资金账户列表,格式:1,2,3",
  9723. "name": "accountIDs",
  9724. "in": "query",
  9725. "required": true
  9726. },
  9727. {
  9728. "type": "integer",
  9729. "description": "商品ID, 一般与sellUserID配套传入",
  9730. "name": "goodsID",
  9731. "in": "query"
  9732. },
  9733. {
  9734. "type": "integer",
  9735. "description": "卖方UserID",
  9736. "name": "sellUserID",
  9737. "in": "query"
  9738. }
  9739. ],
  9740. "responses": {
  9741. "200": {
  9742. "description": "OK",
  9743. "schema": {
  9744. "$ref": "#/definitions/models.MyCoupon"
  9745. }
  9746. },
  9747. "500": {
  9748. "description": "Internal Server Error",
  9749. "schema": {
  9750. "$ref": "#/definitions/app.Response"
  9751. }
  9752. }
  9753. }
  9754. }
  9755. },
  9756. "/HSBY/QueryMyPayOrders": {
  9757. "get": {
  9758. "security": [
  9759. {
  9760. "ApiKeyAuth": []
  9761. }
  9762. ],
  9763. "produces": [
  9764. "application/json"
  9765. ],
  9766. "tags": [
  9767. "定制【海商报业】"
  9768. ],
  9769. "summary": "获取我的订单中待付款信息",
  9770. "parameters": [
  9771. {
  9772. "type": "integer",
  9773. "description": "页码",
  9774. "name": "page",
  9775. "in": "query"
  9776. },
  9777. {
  9778. "type": "integer",
  9779. "description": "每页条数",
  9780. "name": "pagesize",
  9781. "in": "query"
  9782. },
  9783. {
  9784. "type": "string",
  9785. "description": "资金账户列表,格式:1,2,3",
  9786. "name": "accountIDs",
  9787. "in": "query",
  9788. "required": true
  9789. },
  9790. {
  9791. "type": "integer",
  9792. "description": "买方委托单号",
  9793. "name": "buyOrderID",
  9794. "in": "query"
  9795. },
  9796. {
  9797. "type": "integer",
  9798. "description": "卖方委托单号",
  9799. "name": "sellOrderID",
  9800. "in": "query"
  9801. }
  9802. ],
  9803. "responses": {
  9804. "200": {
  9805. "description": "OK",
  9806. "schema": {
  9807. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  9808. }
  9809. },
  9810. "500": {
  9811. "description": "Internal Server Error",
  9812. "schema": {
  9813. "$ref": "#/definitions/app.Response"
  9814. }
  9815. }
  9816. }
  9817. }
  9818. },
  9819. "/HSBY/QueryMyUsedCoupon": {
  9820. "get": {
  9821. "security": [
  9822. {
  9823. "ApiKeyAuth": []
  9824. }
  9825. ],
  9826. "produces": [
  9827. "application/json"
  9828. ],
  9829. "tags": [
  9830. "定制【海商报业】"
  9831. ],
  9832. "summary": "已使用优惠卷查询",
  9833. "parameters": [
  9834. {
  9835. "type": "string",
  9836. "description": "资金账户列表,格式:1,2,3",
  9837. "name": "accountIDs",
  9838. "in": "query",
  9839. "required": true
  9840. }
  9841. ],
  9842. "responses": {
  9843. "200": {
  9844. "description": "OK",
  9845. "schema": {
  9846. "$ref": "#/definitions/models.MyUsedCoupon"
  9847. }
  9848. },
  9849. "500": {
  9850. "description": "Internal Server Error",
  9851. "schema": {
  9852. "$ref": "#/definitions/app.Response"
  9853. }
  9854. }
  9855. }
  9856. }
  9857. },
  9858. "/HSBY/QueryProvincesAndCities": {
  9859. "get": {
  9860. "security": [
  9861. {
  9862. "ApiKeyAuth": []
  9863. }
  9864. ],
  9865. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  9866. "produces": [
  9867. "application/json"
  9868. ],
  9869. "tags": [
  9870. "定制【海商报业】"
  9871. ],
  9872. "summary": "查询省市信息(不包括区)",
  9873. "parameters": [
  9874. {
  9875. "type": "integer",
  9876. "description": "省ID",
  9877. "name": "provinceID",
  9878. "in": "query"
  9879. }
  9880. ],
  9881. "responses": {
  9882. "200": {
  9883. "description": "OK",
  9884. "schema": {
  9885. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  9886. }
  9887. },
  9888. "500": {
  9889. "description": "Internal Server Error",
  9890. "schema": {
  9891. "$ref": "#/definitions/app.Response"
  9892. }
  9893. }
  9894. }
  9895. }
  9896. },
  9897. "/HSBY/SetHsbyMyPackagesStatus": {
  9898. "post": {
  9899. "security": [
  9900. {
  9901. "ApiKeyAuth": []
  9902. }
  9903. ],
  9904. "produces": [
  9905. "application/json"
  9906. ],
  9907. "tags": [
  9908. "定制【海商报业】"
  9909. ],
  9910. "summary": "设置我的包裹已收货状态",
  9911. "parameters": [
  9912. {
  9913. "type": "string",
  9914. "description": "提货单号",
  9915. "name": "takeOrderID",
  9916. "in": "query",
  9917. "required": true
  9918. },
  9919. {
  9920. "type": "integer",
  9921. "description": "资金账号",
  9922. "name": "accountID",
  9923. "in": "query",
  9924. "required": true
  9925. }
  9926. ],
  9927. "responses": {
  9928. "200": {
  9929. "description": "OK",
  9930. "schema": {
  9931. "$ref": "#/definitions/app.Response"
  9932. }
  9933. },
  9934. "500": {
  9935. "description": "Internal Server Error",
  9936. "schema": {
  9937. "$ref": "#/definitions/app.Response"
  9938. }
  9939. }
  9940. }
  9941. }
  9942. },
  9943. "/Market/GetAllExExchanges": {
  9944. "get": {
  9945. "security": [
  9946. {
  9947. "ApiKeyAuth": []
  9948. }
  9949. ],
  9950. "produces": [
  9951. "application/json"
  9952. ],
  9953. "tags": [
  9954. "通用市场"
  9955. ],
  9956. "summary": "获取所有外部交易所信息",
  9957. "responses": {
  9958. "200": {
  9959. "description": "OK",
  9960. "schema": {
  9961. "$ref": "#/definitions/models.Goods"
  9962. }
  9963. },
  9964. "500": {
  9965. "description": "Internal Server Error",
  9966. "schema": {
  9967. "$ref": "#/definitions/app.Response"
  9968. }
  9969. }
  9970. }
  9971. }
  9972. },
  9973. "/Market/QueryGoodsesByLoginID": {
  9974. "get": {
  9975. "security": [
  9976. {
  9977. "ApiKeyAuth": []
  9978. }
  9979. ],
  9980. "produces": [
  9981. "application/json"
  9982. ],
  9983. "tags": [
  9984. "通用市场"
  9985. ],
  9986. "summary": "获取登录账号有权限的商品信息",
  9987. "parameters": [
  9988. {
  9989. "type": "integer",
  9990. "description": "登录账号",
  9991. "name": "loginID",
  9992. "in": "query",
  9993. "required": true
  9994. },
  9995. {
  9996. "type": "string",
  9997. "description": "市场ID列表,格式:1,2,3",
  9998. "name": "marketIDs",
  9999. "in": "query"
  10000. }
  10001. ],
  10002. "responses": {
  10003. "200": {
  10004. "description": "OK",
  10005. "schema": {
  10006. "$ref": "#/definitions/models.Goods"
  10007. }
  10008. },
  10009. "500": {
  10010. "description": "Internal Server Error",
  10011. "schema": {
  10012. "$ref": "#/definitions/app.Response"
  10013. }
  10014. }
  10015. }
  10016. }
  10017. },
  10018. "/Market/QueryMarketRun": {
  10019. "get": {
  10020. "security": [
  10021. {
  10022. "ApiKeyAuth": []
  10023. }
  10024. ],
  10025. "produces": [
  10026. "application/json"
  10027. ],
  10028. "tags": [
  10029. "通用市场"
  10030. ],
  10031. "summary": "查询市场运行信息",
  10032. "parameters": [
  10033. {
  10034. "type": "integer",
  10035. "description": "市场ID,不传返回所有",
  10036. "name": "marketID",
  10037. "in": "query"
  10038. }
  10039. ],
  10040. "responses": {
  10041. "200": {
  10042. "description": "OK",
  10043. "schema": {
  10044. "$ref": "#/definitions/models.Marketrun"
  10045. }
  10046. },
  10047. "500": {
  10048. "description": "Internal Server Error",
  10049. "schema": {
  10050. "$ref": "#/definitions/app.Response"
  10051. }
  10052. }
  10053. }
  10054. }
  10055. },
  10056. "/Market/QueryMarketsByLoginID": {
  10057. "get": {
  10058. "security": [
  10059. {
  10060. "ApiKeyAuth": []
  10061. }
  10062. ],
  10063. "produces": [
  10064. "application/json"
  10065. ],
  10066. "tags": [
  10067. "通用市场"
  10068. ],
  10069. "summary": "获取登录账号有权限的市场信息",
  10070. "parameters": [
  10071. {
  10072. "type": "integer",
  10073. "description": "登录账号",
  10074. "name": "loginID",
  10075. "in": "query",
  10076. "required": true
  10077. }
  10078. ],
  10079. "responses": {
  10080. "200": {
  10081. "description": "OK",
  10082. "schema": {
  10083. "$ref": "#/definitions/models.Market"
  10084. }
  10085. },
  10086. "500": {
  10087. "description": "Internal Server Error",
  10088. "schema": {
  10089. "$ref": "#/definitions/app.Response"
  10090. }
  10091. }
  10092. }
  10093. }
  10094. },
  10095. "/Order/QueryHisTradeDetail": {
  10096. "get": {
  10097. "security": [
  10098. {
  10099. "ApiKeyAuth": []
  10100. }
  10101. ],
  10102. "produces": [
  10103. "application/json"
  10104. ],
  10105. "tags": [
  10106. "通用单据"
  10107. ],
  10108. "summary": "历史成交单查询(合约市场)",
  10109. "parameters": [
  10110. {
  10111. "type": "string",
  10112. "description": "资金账户 - 格式:1,2,3",
  10113. "name": "accountID",
  10114. "in": "query",
  10115. "required": true
  10116. },
  10117. {
  10118. "type": "integer",
  10119. "description": "成交单号",
  10120. "name": "tradeID",
  10121. "in": "query"
  10122. },
  10123. {
  10124. "type": "integer",
  10125. "description": "委托单号",
  10126. "name": "orderID",
  10127. "in": "query"
  10128. },
  10129. {
  10130. "type": "integer",
  10131. "description": "商品ID",
  10132. "name": "goodsID",
  10133. "in": "query"
  10134. },
  10135. {
  10136. "type": "string",
  10137. "description": "交易模式 - 格式:1,2,3",
  10138. "name": "tradeMode",
  10139. "in": "query"
  10140. },
  10141. {
  10142. "type": "integer",
  10143. "description": "委托单据类型",
  10144. "name": "buildType",
  10145. "in": "query"
  10146. },
  10147. {
  10148. "type": "string",
  10149. "description": "成交类别 - 格式:1,2,3",
  10150. "name": "tradeType",
  10151. "in": "query"
  10152. },
  10153. {
  10154. "type": "string",
  10155. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10156. "name": "startDate",
  10157. "in": "query"
  10158. },
  10159. {
  10160. "type": "string",
  10161. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10162. "name": "endDate",
  10163. "in": "query"
  10164. }
  10165. ],
  10166. "responses": {
  10167. "200": {
  10168. "description": "OK",
  10169. "schema": {
  10170. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  10171. }
  10172. },
  10173. "500": {
  10174. "description": "Internal Server Error",
  10175. "schema": {
  10176. "$ref": "#/definitions/app.Response"
  10177. }
  10178. }
  10179. }
  10180. }
  10181. },
  10182. "/Order/QueryHisTradeOrderDetail": {
  10183. "get": {
  10184. "security": [
  10185. {
  10186. "ApiKeyAuth": []
  10187. }
  10188. ],
  10189. "produces": [
  10190. "application/json"
  10191. ],
  10192. "tags": [
  10193. "通用单据"
  10194. ],
  10195. "summary": "历史委托单查询请求(合约市场)",
  10196. "parameters": [
  10197. {
  10198. "type": "string",
  10199. "description": "资金账户 - 格式:1,2,3",
  10200. "name": "accountID",
  10201. "in": "query",
  10202. "required": true
  10203. },
  10204. {
  10205. "type": "string",
  10206. "description": "交易模式 - 格式:1,2,3",
  10207. "name": "tradeMode",
  10208. "in": "query"
  10209. },
  10210. {
  10211. "type": "string",
  10212. "description": "委托状态 - 格式:1,2,3",
  10213. "name": "orderStatus",
  10214. "in": "query"
  10215. },
  10216. {
  10217. "type": "integer",
  10218. "description": "委托单号",
  10219. "name": "orderID",
  10220. "in": "query"
  10221. },
  10222. {
  10223. "type": "string",
  10224. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10225. "name": "startDate",
  10226. "in": "query"
  10227. },
  10228. {
  10229. "type": "string",
  10230. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10231. "name": "endDate",
  10232. "in": "query"
  10233. }
  10234. ],
  10235. "responses": {
  10236. "200": {
  10237. "description": "OK",
  10238. "schema": {
  10239. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  10240. }
  10241. },
  10242. "500": {
  10243. "description": "Internal Server Error",
  10244. "schema": {
  10245. "$ref": "#/definitions/app.Response"
  10246. }
  10247. }
  10248. }
  10249. }
  10250. },
  10251. "/Order/QueryTradeDetail": {
  10252. "get": {
  10253. "security": [
  10254. {
  10255. "ApiKeyAuth": []
  10256. }
  10257. ],
  10258. "produces": [
  10259. "application/json"
  10260. ],
  10261. "tags": [
  10262. "通用单据"
  10263. ],
  10264. "summary": "成交单查询(合约市场)",
  10265. "parameters": [
  10266. {
  10267. "type": "string",
  10268. "description": "资金账户 - 格式:1,2,3",
  10269. "name": "accountID",
  10270. "in": "query",
  10271. "required": true
  10272. },
  10273. {
  10274. "type": "integer",
  10275. "description": "成交单号",
  10276. "name": "tradeID",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "integer",
  10281. "description": "委托单号",
  10282. "name": "orderID",
  10283. "in": "query"
  10284. },
  10285. {
  10286. "type": "string",
  10287. "description": "交易模式 - 格式:1,2,3",
  10288. "name": "tradeMode",
  10289. "in": "query"
  10290. },
  10291. {
  10292. "type": "integer",
  10293. "description": "委托单据类型",
  10294. "name": "buildType",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "成交类别 - 格式:1,2,3",
  10300. "name": "tradeType",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "integer",
  10305. "description": "商品ID",
  10306. "name": "goodsID",
  10307. "in": "query"
  10308. }
  10309. ],
  10310. "responses": {
  10311. "200": {
  10312. "description": "OK",
  10313. "schema": {
  10314. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  10315. }
  10316. },
  10317. "500": {
  10318. "description": "Internal Server Error",
  10319. "schema": {
  10320. "$ref": "#/definitions/app.Response"
  10321. }
  10322. }
  10323. }
  10324. }
  10325. },
  10326. "/Order/QueryTradeHolderDetail": {
  10327. "get": {
  10328. "security": [
  10329. {
  10330. "ApiKeyAuth": []
  10331. }
  10332. ],
  10333. "produces": [
  10334. "application/json"
  10335. ],
  10336. "tags": [
  10337. "通用单据"
  10338. ],
  10339. "summary": "查询持仓明细",
  10340. "parameters": [
  10341. {
  10342. "type": "integer",
  10343. "description": "用户id",
  10344. "name": "userid",
  10345. "in": "query"
  10346. },
  10347. {
  10348. "type": "string",
  10349. "description": "资金账号, 格式 1,2,3",
  10350. "name": "accids",
  10351. "in": "query"
  10352. },
  10353. {
  10354. "type": "string",
  10355. "description": "交易模式, 格式 1,2,3",
  10356. "name": "trademodes",
  10357. "in": "query"
  10358. },
  10359. {
  10360. "type": "string",
  10361. "description": "市场id, 格式 1,2,3",
  10362. "name": "marketids",
  10363. "in": "query"
  10364. },
  10365. {
  10366. "type": "integer",
  10367. "description": "商品id",
  10368. "name": "goodsid",
  10369. "in": "query"
  10370. },
  10371. {
  10372. "type": "integer",
  10373. "description": "买卖方向 0-买 1-卖",
  10374. "name": "buyorsell",
  10375. "in": "query"
  10376. }
  10377. ],
  10378. "responses": {
  10379. "200": {
  10380. "description": "OK",
  10381. "schema": {
  10382. "type": "array",
  10383. "items": {
  10384. "$ref": "#/definitions/models.TradeHolderDetail"
  10385. }
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/Order/QueryTradeOrderDetail": {
  10398. "get": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "通用单据"
  10409. ],
  10410. "summary": "委托单查询请求(合约市场)",
  10411. "parameters": [
  10412. {
  10413. "type": "string",
  10414. "description": "资金账户 - 格式:1,2,3",
  10415. "name": "accountID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "交易模式 - 格式:1,2,3",
  10422. "name": "tradeMode",
  10423. "in": "query"
  10424. },
  10425. {
  10426. "type": "string",
  10427. "description": "委托状态 - 格式:1,2,3",
  10428. "name": "orderStatus",
  10429. "in": "query"
  10430. },
  10431. {
  10432. "type": "integer",
  10433. "description": "委托单号",
  10434. "name": "orderID",
  10435. "in": "query"
  10436. }
  10437. ],
  10438. "responses": {
  10439. "200": {
  10440. "description": "OK",
  10441. "schema": {
  10442. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  10443. }
  10444. },
  10445. "500": {
  10446. "description": "Internal Server Error",
  10447. "schema": {
  10448. "$ref": "#/definitions/app.Response"
  10449. }
  10450. }
  10451. }
  10452. }
  10453. },
  10454. "/Order/QueryTradePosition": {
  10455. "get": {
  10456. "security": [
  10457. {
  10458. "ApiKeyAuth": []
  10459. }
  10460. ],
  10461. "produces": [
  10462. "application/json"
  10463. ],
  10464. "tags": [
  10465. "通用单据"
  10466. ],
  10467. "summary": "持仓汇总查询(合约市场)",
  10468. "parameters": [
  10469. {
  10470. "type": "string",
  10471. "description": "资金账户 - 格式:1,2,3",
  10472. "name": "accountID",
  10473. "in": "query",
  10474. "required": true
  10475. },
  10476. {
  10477. "type": "string",
  10478. "description": "交易模式 - 格式:1,2,3",
  10479. "name": "tradeMode",
  10480. "in": "query"
  10481. }
  10482. ],
  10483. "responses": {
  10484. "200": {
  10485. "description": "OK",
  10486. "schema": {
  10487. "$ref": "#/definitions/order.QueryTradePositionRsp"
  10488. }
  10489. },
  10490. "500": {
  10491. "description": "Internal Server Error",
  10492. "schema": {
  10493. "$ref": "#/definitions/app.Response"
  10494. }
  10495. }
  10496. }
  10497. }
  10498. },
  10499. "/Qhj/QueryAccountInOutApply": {
  10500. "get": {
  10501. "security": [
  10502. {
  10503. "ApiKeyAuth": []
  10504. }
  10505. ],
  10506. "produces": [
  10507. "application/json"
  10508. ],
  10509. "tags": [
  10510. "大连千海金"
  10511. ],
  10512. "summary": "查询充值提现",
  10513. "parameters": [
  10514. {
  10515. "type": "integer",
  10516. "description": "用户ID",
  10517. "name": "userid",
  10518. "in": "query",
  10519. "required": true
  10520. },
  10521. {
  10522. "type": "string",
  10523. "description": "申请起始日期(格式yyyymmdd)",
  10524. "name": "begindate",
  10525. "in": "query"
  10526. },
  10527. {
  10528. "type": "string",
  10529. "description": "申请截止日期(格式yyyymmdd)",
  10530. "name": "enddate",
  10531. "in": "query"
  10532. },
  10533. {
  10534. "type": "string",
  10535. "description": "模糊搜索名称",
  10536. "name": "likename",
  10537. "in": "query"
  10538. },
  10539. {
  10540. "type": "integer",
  10541. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10542. "name": "applystatus",
  10543. "in": "query"
  10544. },
  10545. {
  10546. "type": "integer",
  10547. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  10548. "name": "querytype",
  10549. "in": "query"
  10550. }
  10551. ],
  10552. "responses": {
  10553. "200": {
  10554. "description": "OK",
  10555. "schema": {
  10556. "type": "array",
  10557. "items": {
  10558. "$ref": "#/definitions/models.QhjAccountOutInApply"
  10559. }
  10560. }
  10561. },
  10562. "500": {
  10563. "description": "Internal Server Error",
  10564. "schema": {
  10565. "$ref": "#/definitions/app.Response"
  10566. }
  10567. }
  10568. }
  10569. }
  10570. },
  10571. "/Qhj/QueryAreaFinanceConfig": {
  10572. "get": {
  10573. "security": [
  10574. {
  10575. "ApiKeyAuth": []
  10576. }
  10577. ],
  10578. "produces": [
  10579. "application/json"
  10580. ],
  10581. "tags": [
  10582. "大连千海金"
  10583. ],
  10584. "summary": "查询企业配置表",
  10585. "parameters": [
  10586. {
  10587. "type": "integer",
  10588. "description": "机构用户ID 其他做市关系,都设置为 1",
  10589. "name": "userid",
  10590. "in": "query"
  10591. }
  10592. ],
  10593. "responses": {
  10594. "200": {
  10595. "description": "OK",
  10596. "schema": {
  10597. "type": "array",
  10598. "items": {
  10599. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  10600. }
  10601. }
  10602. },
  10603. "500": {
  10604. "description": "Internal Server Error",
  10605. "schema": {
  10606. "$ref": "#/definitions/app.Response"
  10607. }
  10608. }
  10609. }
  10610. }
  10611. },
  10612. "/Qhj/QueryBankAccountSign": {
  10613. "get": {
  10614. "security": [
  10615. {
  10616. "ApiKeyAuth": []
  10617. }
  10618. ],
  10619. "produces": [
  10620. "application/json"
  10621. ],
  10622. "tags": [
  10623. "大连千海金"
  10624. ],
  10625. "summary": "查询签约银行信息(提现账户管理)",
  10626. "parameters": [
  10627. {
  10628. "type": "integer",
  10629. "description": "用户ID",
  10630. "name": "userid",
  10631. "in": "query",
  10632. "required": true
  10633. }
  10634. ],
  10635. "responses": {
  10636. "200": {
  10637. "description": "OK",
  10638. "schema": {
  10639. "type": "array",
  10640. "items": {
  10641. "$ref": "#/definitions/models.QhjBankAccountSign"
  10642. }
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/Qhj/QueryBankInfo": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "大连千海金"
  10666. ],
  10667. "summary": "查询开户行",
  10668. "responses": {
  10669. "200": {
  10670. "description": "OK",
  10671. "schema": {
  10672. "type": "array",
  10673. "items": {
  10674. "$ref": "#/definitions/models.QhjBankInfo"
  10675. }
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/Qhj/QueryBrokerApply": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "produces": [
  10695. "application/json"
  10696. ],
  10697. "tags": [
  10698. "大连千海金"
  10699. ],
  10700. "summary": "查询经纪人申请",
  10701. "parameters": [
  10702. {
  10703. "type": "integer",
  10704. "description": "所属机构ID",
  10705. "name": "userid",
  10706. "in": "query"
  10707. },
  10708. {
  10709. "type": "string",
  10710. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10711. "name": "filterstatus",
  10712. "in": "query"
  10713. }
  10714. ],
  10715. "responses": {
  10716. "200": {
  10717. "description": "OK",
  10718. "schema": {
  10719. "type": "array",
  10720. "items": {
  10721. "$ref": "#/definitions/models.QhjBrokerApply"
  10722. }
  10723. }
  10724. },
  10725. "500": {
  10726. "description": "Internal Server Error",
  10727. "schema": {
  10728. "$ref": "#/definitions/app.Response"
  10729. }
  10730. }
  10731. }
  10732. }
  10733. },
  10734. "/Qhj/QueryBrokerApplyEx": {
  10735. "get": {
  10736. "security": [
  10737. {
  10738. "ApiKeyAuth": []
  10739. }
  10740. ],
  10741. "produces": [
  10742. "application/json"
  10743. ],
  10744. "tags": [
  10745. "大连千海金"
  10746. ],
  10747. "summary": "查询经纪人信息和申请记录",
  10748. "parameters": [
  10749. {
  10750. "type": "integer",
  10751. "description": "所属机构ID",
  10752. "name": "userid",
  10753. "in": "query"
  10754. }
  10755. ],
  10756. "responses": {
  10757. "200": {
  10758. "description": "OK",
  10759. "schema": {
  10760. "type": "array",
  10761. "items": {
  10762. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  10763. }
  10764. }
  10765. },
  10766. "500": {
  10767. "description": "Internal Server Error",
  10768. "schema": {
  10769. "$ref": "#/definitions/app.Response"
  10770. }
  10771. }
  10772. }
  10773. }
  10774. },
  10775. "/Qhj/QueryBrokerRewardLog": {
  10776. "get": {
  10777. "security": [
  10778. {
  10779. "ApiKeyAuth": []
  10780. }
  10781. ],
  10782. "produces": [
  10783. "application/json"
  10784. ],
  10785. "tags": [
  10786. "大连千海金"
  10787. ],
  10788. "summary": "查询奖励流水(我的奖励)",
  10789. "parameters": [
  10790. {
  10791. "type": "integer",
  10792. "description": "用户ID",
  10793. "name": "userid",
  10794. "in": "query",
  10795. "required": true
  10796. },
  10797. {
  10798. "type": "string",
  10799. "description": "开始交易日(yyyymmdd)",
  10800. "name": "begindate",
  10801. "in": "query"
  10802. },
  10803. {
  10804. "type": "string",
  10805. "description": "结束交易日(yyyymmdd)",
  10806. "name": "enddate",
  10807. "in": "query"
  10808. }
  10809. ],
  10810. "responses": {
  10811. "200": {
  10812. "description": "OK",
  10813. "schema": {
  10814. "type": "array",
  10815. "items": {
  10816. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10817. }
  10818. }
  10819. },
  10820. "500": {
  10821. "description": "Internal Server Error",
  10822. "schema": {
  10823. "$ref": "#/definitions/app.Response"
  10824. }
  10825. }
  10826. }
  10827. }
  10828. },
  10829. "/Qhj/QueryContract": {
  10830. "get": {
  10831. "security": [
  10832. {
  10833. "ApiKeyAuth": []
  10834. }
  10835. ],
  10836. "produces": [
  10837. "application/json"
  10838. ],
  10839. "tags": [
  10840. "大连千海金"
  10841. ],
  10842. "summary": "查询融资明细(合同)",
  10843. "parameters": [
  10844. {
  10845. "type": "integer",
  10846. "description": "用户ID",
  10847. "name": "userid",
  10848. "in": "query"
  10849. },
  10850. {
  10851. "type": "integer",
  10852. "description": "scf合同id",
  10853. "name": "scfcontractid",
  10854. "in": "query"
  10855. }
  10856. ],
  10857. "responses": {
  10858. "200": {
  10859. "description": "OK",
  10860. "schema": {
  10861. "type": "array",
  10862. "items": {
  10863. "$ref": "#/definitions/models.QhjContract"
  10864. }
  10865. }
  10866. },
  10867. "500": {
  10868. "description": "Internal Server Error",
  10869. "schema": {
  10870. "$ref": "#/definitions/app.Response"
  10871. }
  10872. }
  10873. }
  10874. }
  10875. },
  10876. "/Qhj/QueryContractLog": {
  10877. "get": {
  10878. "security": [
  10879. {
  10880. "ApiKeyAuth": []
  10881. }
  10882. ],
  10883. "produces": [
  10884. "application/json"
  10885. ],
  10886. "tags": [
  10887. "大连千海金"
  10888. ],
  10889. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10890. "parameters": [
  10891. {
  10892. "type": "integer",
  10893. "description": "scf合同id",
  10894. "name": "scfcontractid",
  10895. "in": "query",
  10896. "required": true
  10897. },
  10898. {
  10899. "type": "string",
  10900. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10901. "name": "amounttype",
  10902. "in": "query"
  10903. }
  10904. ],
  10905. "responses": {
  10906. "200": {
  10907. "description": "OK",
  10908. "schema": {
  10909. "type": "array",
  10910. "items": {
  10911. "$ref": "#/definitions/models.QhjContractLog"
  10912. }
  10913. }
  10914. },
  10915. "500": {
  10916. "description": "Internal Server Error",
  10917. "schema": {
  10918. "$ref": "#/definitions/app.Response"
  10919. }
  10920. }
  10921. }
  10922. }
  10923. },
  10924. "/Qhj/QueryCusBankSignBank": {
  10925. "get": {
  10926. "security": [
  10927. {
  10928. "ApiKeyAuth": []
  10929. }
  10930. ],
  10931. "produces": [
  10932. "application/json"
  10933. ],
  10934. "tags": [
  10935. "大连千海金"
  10936. ],
  10937. "summary": "查询托管银行",
  10938. "responses": {
  10939. "200": {
  10940. "description": "OK",
  10941. "schema": {
  10942. "type": "array",
  10943. "items": {
  10944. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10945. }
  10946. }
  10947. },
  10948. "500": {
  10949. "description": "Internal Server Error",
  10950. "schema": {
  10951. "$ref": "#/definitions/app.Response"
  10952. }
  10953. }
  10954. }
  10955. }
  10956. },
  10957. "/Qhj/QueryCustomerInfo": {
  10958. "get": {
  10959. "security": [
  10960. {
  10961. "ApiKeyAuth": []
  10962. }
  10963. ],
  10964. "produces": [
  10965. "application/json"
  10966. ],
  10967. "tags": [
  10968. "大连千海金"
  10969. ],
  10970. "summary": "查询客户资料",
  10971. "parameters": [
  10972. {
  10973. "type": "integer",
  10974. "description": "用户ID",
  10975. "name": "userid",
  10976. "in": "query",
  10977. "required": true
  10978. },
  10979. {
  10980. "type": "integer",
  10981. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10982. "name": "querytype",
  10983. "in": "query",
  10984. "required": true
  10985. },
  10986. {
  10987. "type": "integer",
  10988. "description": "客户类型 1-个人 2-企业",
  10989. "name": "userinfotype",
  10990. "in": "query"
  10991. },
  10992. {
  10993. "type": "string",
  10994. "description": "客户名称(模糊匹配)",
  10995. "name": "customername",
  10996. "in": "query"
  10997. },
  10998. {
  10999. "type": "string",
  11000. "description": "昵称(模糊匹配)",
  11001. "name": "nickname",
  11002. "in": "query"
  11003. },
  11004. {
  11005. "type": "integer",
  11006. "description": "是否包含子级 1-包含",
  11007. "name": "includesub",
  11008. "in": "query"
  11009. }
  11010. ],
  11011. "responses": {
  11012. "200": {
  11013. "description": "OK",
  11014. "schema": {
  11015. "type": "array",
  11016. "items": {
  11017. "$ref": "#/definitions/models.QhjCustomer"
  11018. }
  11019. }
  11020. },
  11021. "500": {
  11022. "description": "Internal Server Error",
  11023. "schema": {
  11024. "$ref": "#/definitions/app.Response"
  11025. }
  11026. }
  11027. }
  11028. }
  11029. },
  11030. "/Qhj/QueryGoodsEx": {
  11031. "get": {
  11032. "security": [
  11033. {
  11034. "ApiKeyAuth": []
  11035. }
  11036. ],
  11037. "produces": [
  11038. "application/json"
  11039. ],
  11040. "tags": [
  11041. "大连千海金"
  11042. ],
  11043. "summary": "交易商品扩展表",
  11044. "parameters": [
  11045. {
  11046. "type": "integer",
  11047. "description": "商品id",
  11048. "name": "goodsid",
  11049. "in": "query"
  11050. }
  11051. ],
  11052. "responses": {
  11053. "200": {
  11054. "description": "OK",
  11055. "schema": {
  11056. "type": "array",
  11057. "items": {
  11058. "$ref": "#/definitions/models.Qhjgoodsex"
  11059. }
  11060. }
  11061. },
  11062. "500": {
  11063. "description": "Internal Server Error",
  11064. "schema": {
  11065. "$ref": "#/definitions/app.Response"
  11066. }
  11067. }
  11068. }
  11069. }
  11070. },
  11071. "/Qhj/QueryMyTeam": {
  11072. "get": {
  11073. "security": [
  11074. {
  11075. "ApiKeyAuth": []
  11076. }
  11077. ],
  11078. "produces": [
  11079. "application/json"
  11080. ],
  11081. "tags": [
  11082. "大连千海金"
  11083. ],
  11084. "summary": "查询我的团队",
  11085. "parameters": [
  11086. {
  11087. "type": "integer",
  11088. "description": "用户ID",
  11089. "name": "userid",
  11090. "in": "query",
  11091. "required": true
  11092. }
  11093. ],
  11094. "responses": {
  11095. "200": {
  11096. "description": "OK",
  11097. "schema": {
  11098. "type": "array",
  11099. "items": {
  11100. "$ref": "#/definitions/models.QhjMyTeamEx"
  11101. }
  11102. }
  11103. },
  11104. "500": {
  11105. "description": "Internal Server Error",
  11106. "schema": {
  11107. "$ref": "#/definitions/app.Response"
  11108. }
  11109. }
  11110. }
  11111. }
  11112. },
  11113. "/Qhj/QueryMyTeamOrder": {
  11114. "get": {
  11115. "security": [
  11116. {
  11117. "ApiKeyAuth": []
  11118. }
  11119. ],
  11120. "produces": [
  11121. "application/json"
  11122. ],
  11123. "tags": [
  11124. "大连千海金"
  11125. ],
  11126. "summary": "查询团队订单(我的团队/团队订单)",
  11127. "parameters": [
  11128. {
  11129. "type": "integer",
  11130. "description": "页码",
  11131. "name": "page",
  11132. "in": "query"
  11133. },
  11134. {
  11135. "type": "integer",
  11136. "description": "每页条数",
  11137. "name": "pagesize",
  11138. "in": "query"
  11139. },
  11140. {
  11141. "type": "integer",
  11142. "description": "用户ID",
  11143. "name": "userid",
  11144. "in": "query",
  11145. "required": true
  11146. },
  11147. {
  11148. "type": "integer",
  11149. "description": "交易模式",
  11150. "name": "trademode",
  11151. "in": "query"
  11152. },
  11153. {
  11154. "type": "string",
  11155. "description": "名称(模糊搜索账户)",
  11156. "name": "filtername",
  11157. "in": "query"
  11158. }
  11159. ],
  11160. "responses": {
  11161. "200": {
  11162. "description": "OK",
  11163. "schema": {
  11164. "type": "array",
  11165. "items": {
  11166. "$ref": "#/definitions/models.QhjTeamOrder"
  11167. }
  11168. }
  11169. },
  11170. "500": {
  11171. "description": "Internal Server Error",
  11172. "schema": {
  11173. "$ref": "#/definitions/app.Response"
  11174. }
  11175. }
  11176. }
  11177. }
  11178. },
  11179. "/Qhj/QueryParentAreaList": {
  11180. "get": {
  11181. "security": [
  11182. {
  11183. "ApiKeyAuth": []
  11184. }
  11185. ],
  11186. "produces": [
  11187. "application/json"
  11188. ],
  11189. "tags": [
  11190. "大连千海金"
  11191. ],
  11192. "summary": "查询所属机构列表",
  11193. "parameters": [
  11194. {
  11195. "type": "integer",
  11196. "description": "用户ID",
  11197. "name": "userid",
  11198. "in": "query",
  11199. "required": true
  11200. }
  11201. ],
  11202. "responses": {
  11203. "200": {
  11204. "description": "OK",
  11205. "schema": {
  11206. "type": "array",
  11207. "items": {
  11208. "$ref": "#/definitions/models.QhjParentAreaList"
  11209. }
  11210. }
  11211. },
  11212. "500": {
  11213. "description": "Internal Server Error",
  11214. "schema": {
  11215. "$ref": "#/definitions/app.Response"
  11216. }
  11217. }
  11218. }
  11219. }
  11220. },
  11221. "/Qhj/QueryPayOrder": {
  11222. "get": {
  11223. "security": [
  11224. {
  11225. "ApiKeyAuth": []
  11226. }
  11227. ],
  11228. "produces": [
  11229. "application/json"
  11230. ],
  11231. "tags": [
  11232. "大连千海金"
  11233. ],
  11234. "summary": "查询待付款单据",
  11235. "parameters": [
  11236. {
  11237. "type": "integer",
  11238. "description": "资金账号id",
  11239. "name": "accountid",
  11240. "in": "query",
  11241. "required": true
  11242. },
  11243. {
  11244. "type": "integer",
  11245. "description": "成交单号",
  11246. "name": "tradeid",
  11247. "in": "query"
  11248. },
  11249. {
  11250. "type": "string",
  11251. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11252. "name": "payflag",
  11253. "in": "query"
  11254. }
  11255. ],
  11256. "responses": {
  11257. "200": {
  11258. "description": "OK",
  11259. "schema": {
  11260. "type": "array",
  11261. "items": {
  11262. "$ref": "#/definitions/models.QhjPayOrder"
  11263. }
  11264. }
  11265. },
  11266. "500": {
  11267. "description": "Internal Server Error",
  11268. "schema": {
  11269. "$ref": "#/definitions/app.Response"
  11270. }
  11271. }
  11272. }
  11273. }
  11274. },
  11275. "/Qhj/QueryPickArea": {
  11276. "get": {
  11277. "security": [
  11278. {
  11279. "ApiKeyAuth": []
  11280. }
  11281. ],
  11282. "produces": [
  11283. "application/json"
  11284. ],
  11285. "tags": [
  11286. "大连千海金"
  11287. ],
  11288. "summary": "查询提货门店",
  11289. "parameters": [
  11290. {
  11291. "type": "integer",
  11292. "description": "用户ID",
  11293. "name": "userid",
  11294. "in": "query"
  11295. }
  11296. ],
  11297. "responses": {
  11298. "200": {
  11299. "description": "OK",
  11300. "schema": {
  11301. "type": "array",
  11302. "items": {
  11303. "$ref": "#/definitions/models.QhjPickArea"
  11304. }
  11305. }
  11306. },
  11307. "500": {
  11308. "description": "Internal Server Error",
  11309. "schema": {
  11310. "$ref": "#/definitions/app.Response"
  11311. }
  11312. }
  11313. }
  11314. }
  11315. },
  11316. "/Qhj/QueryPickGoods": {
  11317. "get": {
  11318. "security": [
  11319. {
  11320. "ApiKeyAuth": []
  11321. }
  11322. ],
  11323. "produces": [
  11324. "application/json"
  11325. ],
  11326. "tags": [
  11327. "大连千海金"
  11328. ],
  11329. "summary": "查询提货商品",
  11330. "parameters": [
  11331. {
  11332. "type": "integer",
  11333. "description": "交易商品id",
  11334. "name": "goodsid",
  11335. "in": "query",
  11336. "required": true
  11337. },
  11338. {
  11339. "type": "string",
  11340. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11341. "name": "status",
  11342. "in": "query"
  11343. }
  11344. ],
  11345. "responses": {
  11346. "200": {
  11347. "description": "OK",
  11348. "schema": {
  11349. "type": "array",
  11350. "items": {
  11351. "$ref": "#/definitions/models.QhjPickGoods"
  11352. }
  11353. }
  11354. },
  11355. "500": {
  11356. "description": "Internal Server Error",
  11357. "schema": {
  11358. "$ref": "#/definitions/app.Response"
  11359. }
  11360. }
  11361. }
  11362. }
  11363. },
  11364. "/Qhj/QueryRSTriggerLog": {
  11365. "get": {
  11366. "security": [
  11367. {
  11368. "ApiKeyAuth": []
  11369. }
  11370. ],
  11371. "produces": [
  11372. "application/json"
  11373. ],
  11374. "tags": [
  11375. "大连千海金"
  11376. ],
  11377. "summary": "查询定投记录(定投管理/详情/定投记录)",
  11378. "parameters": [
  11379. {
  11380. "type": "integer",
  11381. "description": "用户ID",
  11382. "name": "userid",
  11383. "in": "query"
  11384. },
  11385. {
  11386. "type": "integer",
  11387. "description": "定投策略id",
  11388. "name": "regularlystrategyid",
  11389. "in": "query"
  11390. },
  11391. {
  11392. "type": "integer",
  11393. "description": "商品id",
  11394. "name": "goodsid",
  11395. "in": "query"
  11396. },
  11397. {
  11398. "type": "string",
  11399. "description": "开始交易日(yyyymmdd)",
  11400. "name": "begindate",
  11401. "in": "query"
  11402. },
  11403. {
  11404. "type": "string",
  11405. "description": "结束交易日(yyyymmdd)",
  11406. "name": "enddate",
  11407. "in": "query"
  11408. },
  11409. {
  11410. "type": "string",
  11411. "description": "名称(模糊搜索账户)",
  11412. "name": "filtername",
  11413. "in": "query"
  11414. }
  11415. ],
  11416. "responses": {
  11417. "200": {
  11418. "description": "OK",
  11419. "schema": {
  11420. "type": "array",
  11421. "items": {
  11422. "$ref": "#/definitions/models.QhjRSTriggerLog"
  11423. }
  11424. }
  11425. },
  11426. "500": {
  11427. "description": "Internal Server Error",
  11428. "schema": {
  11429. "$ref": "#/definitions/app.Response"
  11430. }
  11431. }
  11432. }
  11433. }
  11434. },
  11435. "/Qhj/QueryRStrategy": {
  11436. "get": {
  11437. "security": [
  11438. {
  11439. "ApiKeyAuth": []
  11440. }
  11441. ],
  11442. "produces": [
  11443. "application/json"
  11444. ],
  11445. "tags": [
  11446. "大连千海金"
  11447. ],
  11448. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  11449. "parameters": [
  11450. {
  11451. "type": "integer",
  11452. "description": "用户ID",
  11453. "name": "userid",
  11454. "in": "query"
  11455. },
  11456. {
  11457. "type": "integer",
  11458. "description": "商品id",
  11459. "name": "goodsid",
  11460. "in": "query"
  11461. },
  11462. {
  11463. "type": "string",
  11464. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  11465. "name": "status",
  11466. "in": "query"
  11467. },
  11468. {
  11469. "type": "string",
  11470. "description": "名称(模糊搜索账户)",
  11471. "name": "filtername",
  11472. "in": "query"
  11473. }
  11474. ],
  11475. "responses": {
  11476. "200": {
  11477. "description": "OK",
  11478. "schema": {
  11479. "type": "array",
  11480. "items": {
  11481. "$ref": "#/definitions/models.QhjRStrategy"
  11482. }
  11483. }
  11484. },
  11485. "500": {
  11486. "description": "Internal Server Error",
  11487. "schema": {
  11488. "$ref": "#/definitions/app.Response"
  11489. }
  11490. }
  11491. }
  11492. }
  11493. },
  11494. "/Qhj/QueryReckonPriceLog": {
  11495. "get": {
  11496. "security": [
  11497. {
  11498. "ApiKeyAuth": []
  11499. }
  11500. ],
  11501. "produces": [
  11502. "application/json"
  11503. ],
  11504. "tags": [
  11505. "大连千海金"
  11506. ],
  11507. "summary": "查询定投价(结算价)",
  11508. "parameters": [
  11509. {
  11510. "type": "integer",
  11511. "description": "商品ID",
  11512. "name": "goodsid",
  11513. "in": "query"
  11514. },
  11515. {
  11516. "type": "string",
  11517. "description": "交易日 格式(yyyymmdd)",
  11518. "name": "tradedate",
  11519. "in": "query"
  11520. }
  11521. ],
  11522. "responses": {
  11523. "200": {
  11524. "description": "OK",
  11525. "schema": {
  11526. "type": "array",
  11527. "items": {
  11528. "$ref": "#/definitions/models.QhjReckonPriceLog"
  11529. }
  11530. }
  11531. },
  11532. "500": {
  11533. "description": "Internal Server Error",
  11534. "schema": {
  11535. "$ref": "#/definitions/app.Response"
  11536. }
  11537. }
  11538. }
  11539. }
  11540. },
  11541. "/Qhj/QueryScoreLog": {
  11542. "get": {
  11543. "security": [
  11544. {
  11545. "ApiKeyAuth": []
  11546. }
  11547. ],
  11548. "produces": [
  11549. "application/json"
  11550. ],
  11551. "tags": [
  11552. "大连千海金"
  11553. ],
  11554. "summary": "查询积分流水(我的积分)",
  11555. "parameters": [
  11556. {
  11557. "type": "integer",
  11558. "description": "用户ID",
  11559. "name": "userid",
  11560. "in": "query",
  11561. "required": true
  11562. },
  11563. {
  11564. "type": "string",
  11565. "description": "开始交易日(yyyymmdd)",
  11566. "name": "begindate",
  11567. "in": "query"
  11568. },
  11569. {
  11570. "type": "string",
  11571. "description": "结束交易日(yyyymmdd)",
  11572. "name": "enddate",
  11573. "in": "query"
  11574. },
  11575. {
  11576. "type": "integer",
  11577. "description": "最近多少条",
  11578. "name": "lastnum",
  11579. "in": "query"
  11580. }
  11581. ],
  11582. "responses": {
  11583. "200": {
  11584. "description": "OK",
  11585. "schema": {
  11586. "type": "array",
  11587. "items": {
  11588. "$ref": "#/definitions/models.QhjScoreLog"
  11589. }
  11590. }
  11591. },
  11592. "500": {
  11593. "description": "Internal Server Error",
  11594. "schema": {
  11595. "$ref": "#/definitions/app.Response"
  11596. }
  11597. }
  11598. }
  11599. }
  11600. },
  11601. "/Qhj/QuerySiteColumnDetail": {
  11602. "get": {
  11603. "security": [
  11604. {
  11605. "ApiKeyAuth": []
  11606. }
  11607. ],
  11608. "produces": [
  11609. "application/json"
  11610. ],
  11611. "tags": [
  11612. "大连千海金"
  11613. ],
  11614. "summary": "查询资讯",
  11615. "parameters": [
  11616. {
  11617. "type": "integer",
  11618. "description": "用户ID",
  11619. "name": "userid",
  11620. "in": "query",
  11621. "required": true
  11622. }
  11623. ],
  11624. "responses": {
  11625. "200": {
  11626. "description": "OK",
  11627. "schema": {
  11628. "type": "array",
  11629. "items": {
  11630. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  11631. }
  11632. }
  11633. },
  11634. "500": {
  11635. "description": "Internal Server Error",
  11636. "schema": {
  11637. "$ref": "#/definitions/app.Response"
  11638. }
  11639. }
  11640. }
  11641. }
  11642. },
  11643. "/Qhj/QueryTradeGoodsPickup": {
  11644. "get": {
  11645. "security": [
  11646. {
  11647. "ApiKeyAuth": []
  11648. }
  11649. ],
  11650. "produces": [
  11651. "application/json"
  11652. ],
  11653. "tags": [
  11654. "大连千海金"
  11655. ],
  11656. "summary": "查询提货",
  11657. "parameters": [
  11658. {
  11659. "type": "integer",
  11660. "description": "用户ID",
  11661. "name": "userid",
  11662. "in": "query",
  11663. "required": true
  11664. },
  11665. {
  11666. "type": "integer",
  11667. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  11668. "name": "takeorderstatus",
  11669. "in": "query"
  11670. }
  11671. ],
  11672. "responses": {
  11673. "200": {
  11674. "description": "OK",
  11675. "schema": {
  11676. "type": "array",
  11677. "items": {
  11678. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  11679. }
  11680. }
  11681. },
  11682. "500": {
  11683. "description": "Internal Server Error",
  11684. "schema": {
  11685. "$ref": "#/definitions/app.Response"
  11686. }
  11687. }
  11688. }
  11689. }
  11690. },
  11691. "/Qhj/QueryUserCollectConfig": {
  11692. "get": {
  11693. "security": [
  11694. {
  11695. "ApiKeyAuth": []
  11696. }
  11697. ],
  11698. "produces": [
  11699. "application/json"
  11700. ],
  11701. "tags": [
  11702. "大连千海金"
  11703. ],
  11704. "summary": "查询提现账户设置",
  11705. "parameters": [
  11706. {
  11707. "type": "integer",
  11708. "description": "用户ID",
  11709. "name": "userid",
  11710. "in": "query",
  11711. "required": true
  11712. }
  11713. ],
  11714. "responses": {
  11715. "200": {
  11716. "description": "OK",
  11717. "schema": {
  11718. "type": "array",
  11719. "items": {
  11720. "$ref": "#/definitions/models.UserCollectConfig"
  11721. }
  11722. }
  11723. },
  11724. "500": {
  11725. "description": "Internal Server Error",
  11726. "schema": {
  11727. "$ref": "#/definitions/app.Response"
  11728. }
  11729. }
  11730. }
  11731. }
  11732. },
  11733. "/Qhj/QueryUserReceiveInfo": {
  11734. "get": {
  11735. "security": [
  11736. {
  11737. "ApiKeyAuth": []
  11738. }
  11739. ],
  11740. "produces": [
  11741. "application/json"
  11742. ],
  11743. "tags": [
  11744. "大连千海金"
  11745. ],
  11746. "summary": "查询收货地址信息",
  11747. "parameters": [
  11748. {
  11749. "type": "integer",
  11750. "description": "用户ID",
  11751. "name": "userid",
  11752. "in": "query",
  11753. "required": true
  11754. }
  11755. ],
  11756. "responses": {
  11757. "200": {
  11758. "description": "OK",
  11759. "schema": {
  11760. "type": "array",
  11761. "items": {
  11762. "$ref": "#/definitions/models.UserReceiveInfo"
  11763. }
  11764. }
  11765. },
  11766. "500": {
  11767. "description": "Internal Server Error",
  11768. "schema": {
  11769. "$ref": "#/definitions/app.Response"
  11770. }
  11771. }
  11772. }
  11773. }
  11774. },
  11775. "/QhjMgr/QueryAccountInOutApply": {
  11776. "get": {
  11777. "security": [
  11778. {
  11779. "ApiKeyAuth": []
  11780. }
  11781. ],
  11782. "produces": [
  11783. "application/json"
  11784. ],
  11785. "tags": [
  11786. "大连千海金(PCWeb)"
  11787. ],
  11788. "summary": "查询充值提现",
  11789. "parameters": [
  11790. {
  11791. "type": "integer",
  11792. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  11793. "name": "querytype",
  11794. "in": "query",
  11795. "required": true
  11796. },
  11797. {
  11798. "type": "integer",
  11799. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  11800. "name": "applystatus",
  11801. "in": "query"
  11802. },
  11803. {
  11804. "type": "string",
  11805. "description": "申请起始日期(格式yyyymmdd)",
  11806. "name": "begindate",
  11807. "in": "query"
  11808. },
  11809. {
  11810. "type": "string",
  11811. "description": "申请截止日期(格式yyyymmdd)",
  11812. "name": "enddate",
  11813. "in": "query"
  11814. },
  11815. {
  11816. "type": "string",
  11817. "description": "模糊搜索名称",
  11818. "name": "likename",
  11819. "in": "query"
  11820. }
  11821. ],
  11822. "responses": {
  11823. "200": {
  11824. "description": "OK",
  11825. "schema": {
  11826. "type": "array",
  11827. "items": {
  11828. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11829. }
  11830. }
  11831. },
  11832. "500": {
  11833. "description": "Internal Server Error",
  11834. "schema": {
  11835. "$ref": "#/definitions/app.Response"
  11836. }
  11837. }
  11838. }
  11839. }
  11840. },
  11841. "/QhjMgr/QueryBrokerApply": {
  11842. "get": {
  11843. "security": [
  11844. {
  11845. "ApiKeyAuth": []
  11846. }
  11847. ],
  11848. "produces": [
  11849. "application/json"
  11850. ],
  11851. "tags": [
  11852. "大连千海金(PCWeb)"
  11853. ],
  11854. "summary": "查询经纪人申请",
  11855. "parameters": [
  11856. {
  11857. "type": "integer",
  11858. "description": "所属机构ID",
  11859. "name": "userid",
  11860. "in": "query"
  11861. },
  11862. {
  11863. "type": "string",
  11864. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11865. "name": "filterstatus",
  11866. "in": "query"
  11867. },
  11868. {
  11869. "type": "string",
  11870. "description": "名称(模糊匹配)",
  11871. "name": "filtername",
  11872. "in": "query"
  11873. },
  11874. {
  11875. "type": "integer",
  11876. "description": "是否包含子级 1-包含",
  11877. "name": "includesub",
  11878. "in": "query"
  11879. }
  11880. ],
  11881. "responses": {
  11882. "200": {
  11883. "description": "OK",
  11884. "schema": {
  11885. "type": "array",
  11886. "items": {
  11887. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11888. }
  11889. }
  11890. },
  11891. "500": {
  11892. "description": "Internal Server Error",
  11893. "schema": {
  11894. "$ref": "#/definitions/app.Response"
  11895. }
  11896. }
  11897. }
  11898. }
  11899. },
  11900. "/QhjMgr/QueryBrokerRewardReport": {
  11901. "get": {
  11902. "security": [
  11903. {
  11904. "ApiKeyAuth": []
  11905. }
  11906. ],
  11907. "produces": [
  11908. "application/json"
  11909. ],
  11910. "tags": [
  11911. "大连千海金(PCWeb)"
  11912. ],
  11913. "summary": "查询经纪人奖励报表(废弃)",
  11914. "parameters": [
  11915. {
  11916. "type": "integer",
  11917. "description": "所属机构ID",
  11918. "name": "userid",
  11919. "in": "query",
  11920. "required": true
  11921. },
  11922. {
  11923. "type": "integer",
  11924. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11925. "name": "cycletype",
  11926. "in": "query",
  11927. "required": true
  11928. },
  11929. {
  11930. "type": "string",
  11931. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11932. "name": "cycletime",
  11933. "in": "query",
  11934. "required": true
  11935. },
  11936. {
  11937. "type": "string",
  11938. "description": "名称(模糊匹配)",
  11939. "name": "filtername",
  11940. "in": "query"
  11941. },
  11942. {
  11943. "type": "integer",
  11944. "description": "是否包含子级 1-包含",
  11945. "name": "includesub",
  11946. "in": "query"
  11947. }
  11948. ],
  11949. "responses": {
  11950. "200": {
  11951. "description": "OK",
  11952. "schema": {
  11953. "type": "array",
  11954. "items": {
  11955. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11956. }
  11957. }
  11958. },
  11959. "500": {
  11960. "description": "Internal Server Error",
  11961. "schema": {
  11962. "$ref": "#/definitions/app.Response"
  11963. }
  11964. }
  11965. }
  11966. }
  11967. },
  11968. "/QhjMgr/QueryContract": {
  11969. "get": {
  11970. "security": [
  11971. {
  11972. "ApiKeyAuth": []
  11973. }
  11974. ],
  11975. "produces": [
  11976. "application/json"
  11977. ],
  11978. "tags": [
  11979. "大连千海金(PCWeb)"
  11980. ],
  11981. "summary": "查询融资信息(合同)",
  11982. "parameters": [
  11983. {
  11984. "type": "integer",
  11985. "description": "用户ID",
  11986. "name": "userid",
  11987. "in": "query"
  11988. },
  11989. {
  11990. "type": "integer",
  11991. "description": "商品id",
  11992. "name": "goodsid",
  11993. "in": "query"
  11994. },
  11995. {
  11996. "type": "string",
  11997. "description": "名称(模糊搜索账户)",
  11998. "name": "filtername",
  11999. "in": "query"
  12000. },
  12001. {
  12002. "type": "string",
  12003. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  12004. "name": "risklevel",
  12005. "in": "query"
  12006. },
  12007. {
  12008. "type": "string",
  12009. "description": "开始交易日(yyyymmdd)",
  12010. "name": "begindate",
  12011. "in": "query"
  12012. },
  12013. {
  12014. "type": "string",
  12015. "description": "结束交易日(yyyymmdd)",
  12016. "name": "enddate",
  12017. "in": "query"
  12018. }
  12019. ],
  12020. "responses": {
  12021. "200": {
  12022. "description": "OK",
  12023. "schema": {
  12024. "type": "array",
  12025. "items": {
  12026. "$ref": "#/definitions/models.QhjMgrContract"
  12027. }
  12028. }
  12029. },
  12030. "500": {
  12031. "description": "Internal Server Error",
  12032. "schema": {
  12033. "$ref": "#/definitions/app.Response"
  12034. }
  12035. }
  12036. }
  12037. }
  12038. },
  12039. "/QhjMgr/QueryCustomerInfo": {
  12040. "get": {
  12041. "security": [
  12042. {
  12043. "ApiKeyAuth": []
  12044. }
  12045. ],
  12046. "produces": [
  12047. "application/json"
  12048. ],
  12049. "tags": [
  12050. "大连千海金(PCWeb)"
  12051. ],
  12052. "summary": "查询客户资料",
  12053. "parameters": [
  12054. {
  12055. "type": "integer",
  12056. "description": "用户ID",
  12057. "name": "userid",
  12058. "in": "query",
  12059. "required": true
  12060. },
  12061. {
  12062. "type": "integer",
  12063. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  12064. "name": "querytype",
  12065. "in": "query",
  12066. "required": true
  12067. },
  12068. {
  12069. "type": "integer",
  12070. "description": "客户类型 1-个人 2-企业",
  12071. "name": "userinfotype",
  12072. "in": "query"
  12073. },
  12074. {
  12075. "type": "string",
  12076. "description": "客户名称(模糊匹配)",
  12077. "name": "customername",
  12078. "in": "query"
  12079. },
  12080. {
  12081. "type": "string",
  12082. "description": "昵称(模糊匹配)",
  12083. "name": "nickname",
  12084. "in": "query"
  12085. },
  12086. {
  12087. "type": "string",
  12088. "description": "所属客户经理(模糊匹配)",
  12089. "name": "brokername",
  12090. "in": "query"
  12091. },
  12092. {
  12093. "type": "string",
  12094. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  12095. "name": "birthday",
  12096. "in": "query"
  12097. },
  12098. {
  12099. "type": "integer",
  12100. "description": "是否包含子级 1-包含",
  12101. "name": "includesub",
  12102. "in": "query"
  12103. }
  12104. ],
  12105. "responses": {
  12106. "200": {
  12107. "description": "OK",
  12108. "schema": {
  12109. "type": "array",
  12110. "items": {
  12111. "$ref": "#/definitions/models.QhjMgrCustomer"
  12112. }
  12113. }
  12114. },
  12115. "500": {
  12116. "description": "Internal Server Error",
  12117. "schema": {
  12118. "$ref": "#/definitions/app.Response"
  12119. }
  12120. }
  12121. }
  12122. }
  12123. },
  12124. "/QhjMgr/QueryPickGoods": {
  12125. "get": {
  12126. "security": [
  12127. {
  12128. "ApiKeyAuth": []
  12129. }
  12130. ],
  12131. "produces": [
  12132. "application/json"
  12133. ],
  12134. "tags": [
  12135. "大连千海金(PCWeb)"
  12136. ],
  12137. "summary": "查询提货商品",
  12138. "parameters": [
  12139. {
  12140. "type": "string",
  12141. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  12142. "name": "status",
  12143. "in": "query"
  12144. }
  12145. ],
  12146. "responses": {
  12147. "200": {
  12148. "description": "OK",
  12149. "schema": {
  12150. "type": "array",
  12151. "items": {
  12152. "$ref": "#/definitions/models.QhjMgrPickGoods"
  12153. }
  12154. }
  12155. },
  12156. "500": {
  12157. "description": "Internal Server Error",
  12158. "schema": {
  12159. "$ref": "#/definitions/app.Response"
  12160. }
  12161. }
  12162. }
  12163. }
  12164. },
  12165. "/QhjMgr/QuerySubArea": {
  12166. "get": {
  12167. "security": [
  12168. {
  12169. "ApiKeyAuth": []
  12170. }
  12171. ],
  12172. "produces": [
  12173. "application/json"
  12174. ],
  12175. "tags": [
  12176. "大连千海金(PCWeb)"
  12177. ],
  12178. "summary": "查询子机构列表",
  12179. "parameters": [
  12180. {
  12181. "type": "integer",
  12182. "description": "用户ID",
  12183. "name": "userid",
  12184. "in": "query",
  12185. "required": true
  12186. }
  12187. ],
  12188. "responses": {
  12189. "200": {
  12190. "description": "OK",
  12191. "schema": {
  12192. "type": "array",
  12193. "items": {
  12194. "$ref": "#/definitions/models.QhjMgrSubArea"
  12195. }
  12196. }
  12197. },
  12198. "500": {
  12199. "description": "Internal Server Error",
  12200. "schema": {
  12201. "$ref": "#/definitions/app.Response"
  12202. }
  12203. }
  12204. }
  12205. }
  12206. },
  12207. "/QhjMgr/QueryTradeDetail": {
  12208. "get": {
  12209. "security": [
  12210. {
  12211. "ApiKeyAuth": []
  12212. }
  12213. ],
  12214. "produces": [
  12215. "application/json"
  12216. ],
  12217. "tags": [
  12218. "大连千海金(PCWeb)"
  12219. ],
  12220. "summary": "查询成交明细",
  12221. "parameters": [
  12222. {
  12223. "type": "integer",
  12224. "description": "用户ID",
  12225. "name": "userid",
  12226. "in": "query",
  12227. "required": true
  12228. },
  12229. {
  12230. "type": "integer",
  12231. "description": "用户类型 1-个人 2-企业",
  12232. "name": "userinfotype",
  12233. "in": "query"
  12234. },
  12235. {
  12236. "type": "integer",
  12237. "description": "交易模式",
  12238. "name": "trademode",
  12239. "in": "query"
  12240. },
  12241. {
  12242. "type": "integer",
  12243. "description": "商品id",
  12244. "name": "goodsid",
  12245. "in": "query"
  12246. },
  12247. {
  12248. "type": "string",
  12249. "description": "名称(模糊搜索账户)",
  12250. "name": "filtername",
  12251. "in": "query"
  12252. },
  12253. {
  12254. "type": "string",
  12255. "description": "开始交易日(yyyymmdd)",
  12256. "name": "begindate",
  12257. "in": "query"
  12258. },
  12259. {
  12260. "type": "string",
  12261. "description": "结束交易日(yyyymmdd)",
  12262. "name": "enddate",
  12263. "in": "query"
  12264. },
  12265. {
  12266. "type": "integer",
  12267. "description": "是否包含子级 1-包含",
  12268. "name": "includesub",
  12269. "in": "query"
  12270. }
  12271. ],
  12272. "responses": {
  12273. "200": {
  12274. "description": "OK",
  12275. "schema": {
  12276. "type": "array",
  12277. "items": {
  12278. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  12279. }
  12280. }
  12281. },
  12282. "500": {
  12283. "description": "Internal Server Error",
  12284. "schema": {
  12285. "$ref": "#/definitions/app.Response"
  12286. }
  12287. }
  12288. }
  12289. }
  12290. },
  12291. "/QhjMgr/QueryTradeOrderDetail": {
  12292. "get": {
  12293. "security": [
  12294. {
  12295. "ApiKeyAuth": []
  12296. }
  12297. ],
  12298. "produces": [
  12299. "application/json"
  12300. ],
  12301. "tags": [
  12302. "大连千海金(PCWeb)"
  12303. ],
  12304. "summary": "查询委托明细",
  12305. "parameters": [
  12306. {
  12307. "type": "integer",
  12308. "description": "用户ID",
  12309. "name": "userid",
  12310. "in": "query",
  12311. "required": true
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "用户类型 1-个人 2-企业",
  12316. "name": "userinfotype",
  12317. "in": "query"
  12318. },
  12319. {
  12320. "type": "integer",
  12321. "description": "交易模式",
  12322. "name": "trademode",
  12323. "in": "query"
  12324. },
  12325. {
  12326. "type": "integer",
  12327. "description": "商品id",
  12328. "name": "goodsid",
  12329. "in": "query"
  12330. },
  12331. {
  12332. "type": "string",
  12333. "description": "名称(模糊搜索账户)",
  12334. "name": "filtername",
  12335. "in": "query"
  12336. },
  12337. {
  12338. "type": "string",
  12339. "description": "开始交易日(yyyymmdd)",
  12340. "name": "begindate",
  12341. "in": "query"
  12342. },
  12343. {
  12344. "type": "string",
  12345. "description": "结束交易日(yyyymmdd)",
  12346. "name": "enddate",
  12347. "in": "query"
  12348. },
  12349. {
  12350. "type": "integer",
  12351. "description": "是否包含子级 1-包含",
  12352. "name": "includesub",
  12353. "in": "query"
  12354. }
  12355. ],
  12356. "responses": {
  12357. "200": {
  12358. "description": "OK",
  12359. "schema": {
  12360. "type": "array",
  12361. "items": {
  12362. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  12363. }
  12364. }
  12365. },
  12366. "500": {
  12367. "description": "Internal Server Error",
  12368. "schema": {
  12369. "$ref": "#/definitions/app.Response"
  12370. }
  12371. }
  12372. }
  12373. }
  12374. },
  12375. "/QhjMgr/QueryTradePayOrder": {
  12376. "get": {
  12377. "security": [
  12378. {
  12379. "ApiKeyAuth": []
  12380. }
  12381. ],
  12382. "produces": [
  12383. "application/json"
  12384. ],
  12385. "tags": [
  12386. "大连千海金(PCWeb)"
  12387. ],
  12388. "summary": "查询待付款单",
  12389. "parameters": [
  12390. {
  12391. "type": "integer",
  12392. "description": "用户ID",
  12393. "name": "userid",
  12394. "in": "query",
  12395. "required": true
  12396. },
  12397. {
  12398. "type": "string",
  12399. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12400. "name": "payflag",
  12401. "in": "query"
  12402. },
  12403. {
  12404. "type": "integer",
  12405. "description": "用户类型 1-个人 2-企业",
  12406. "name": "userinfotype",
  12407. "in": "query"
  12408. },
  12409. {
  12410. "type": "integer",
  12411. "description": "交易模式",
  12412. "name": "trademode",
  12413. "in": "query"
  12414. },
  12415. {
  12416. "type": "integer",
  12417. "description": "商品id",
  12418. "name": "goodsid",
  12419. "in": "query"
  12420. },
  12421. {
  12422. "type": "string",
  12423. "description": "名称(模糊搜索账户)",
  12424. "name": "filtername",
  12425. "in": "query"
  12426. },
  12427. {
  12428. "type": "string",
  12429. "description": "开始交易日(yyyymmdd)",
  12430. "name": "begindate",
  12431. "in": "query"
  12432. },
  12433. {
  12434. "type": "string",
  12435. "description": "结束交易日(yyyymmdd)",
  12436. "name": "enddate",
  12437. "in": "query"
  12438. },
  12439. {
  12440. "type": "integer",
  12441. "description": "是否包含子级 1-包含",
  12442. "name": "includesub",
  12443. "in": "query"
  12444. }
  12445. ],
  12446. "responses": {
  12447. "200": {
  12448. "description": "OK",
  12449. "schema": {
  12450. "type": "array",
  12451. "items": {
  12452. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  12453. }
  12454. }
  12455. },
  12456. "500": {
  12457. "description": "Internal Server Error",
  12458. "schema": {
  12459. "$ref": "#/definitions/app.Response"
  12460. }
  12461. }
  12462. }
  12463. }
  12464. },
  12465. "/QhjMgr/QueryTradePosition": {
  12466. "get": {
  12467. "security": [
  12468. {
  12469. "ApiKeyAuth": []
  12470. }
  12471. ],
  12472. "produces": [
  12473. "application/json"
  12474. ],
  12475. "tags": [
  12476. "大连千海金(PCWeb)"
  12477. ],
  12478. "summary": "查询持仓汇总",
  12479. "parameters": [
  12480. {
  12481. "type": "integer",
  12482. "description": "用户ID",
  12483. "name": "userid",
  12484. "in": "query",
  12485. "required": true
  12486. },
  12487. {
  12488. "type": "integer",
  12489. "description": "用户类型 1-个人 2-企业",
  12490. "name": "userinfotype",
  12491. "in": "query"
  12492. },
  12493. {
  12494. "type": "integer",
  12495. "description": "交易模式",
  12496. "name": "trademode",
  12497. "in": "query"
  12498. },
  12499. {
  12500. "type": "integer",
  12501. "description": "商品id",
  12502. "name": "goodsid",
  12503. "in": "query"
  12504. },
  12505. {
  12506. "type": "string",
  12507. "description": "名称(模糊搜索账户)",
  12508. "name": "filtername",
  12509. "in": "query"
  12510. },
  12511. {
  12512. "type": "integer",
  12513. "description": "是否包含子级 1-包含",
  12514. "name": "includesub",
  12515. "in": "query"
  12516. }
  12517. ],
  12518. "responses": {
  12519. "200": {
  12520. "description": "OK",
  12521. "schema": {
  12522. "type": "array",
  12523. "items": {
  12524. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  12525. }
  12526. }
  12527. },
  12528. "500": {
  12529. "description": "Internal Server Error",
  12530. "schema": {
  12531. "$ref": "#/definitions/app.Response"
  12532. }
  12533. }
  12534. }
  12535. }
  12536. },
  12537. "/QhjSys/QueryAgreementChangeLog": {
  12538. "get": {
  12539. "security": [
  12540. {
  12541. "ApiKeyAuth": []
  12542. }
  12543. ],
  12544. "produces": [
  12545. "application/json"
  12546. ],
  12547. "tags": [
  12548. "大连千海金(协议和签约信息)"
  12549. ],
  12550. "summary": "查询协议配置变更流水",
  12551. "parameters": [
  12552. {
  12553. "type": "integer",
  12554. "description": "协议ID",
  12555. "name": "agreementid",
  12556. "in": "query"
  12557. },
  12558. {
  12559. "type": "integer",
  12560. "description": "协议版本号",
  12561. "name": "agreementversion",
  12562. "in": "query"
  12563. },
  12564. {
  12565. "type": "integer",
  12566. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12567. "name": "agreementtype",
  12568. "in": "query"
  12569. },
  12570. {
  12571. "type": "string",
  12572. "description": "协议编号(模糊匹配)",
  12573. "name": "agreementno",
  12574. "in": "query"
  12575. },
  12576. {
  12577. "type": "string",
  12578. "description": "协议名称(模糊匹配)",
  12579. "name": "agreementname",
  12580. "in": "query"
  12581. }
  12582. ],
  12583. "responses": {
  12584. "200": {
  12585. "description": "OK",
  12586. "schema": {
  12587. "type": "array",
  12588. "items": {
  12589. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  12590. }
  12591. }
  12592. },
  12593. "500": {
  12594. "description": "Internal Server Error",
  12595. "schema": {
  12596. "$ref": "#/definitions/app.Response"
  12597. }
  12598. }
  12599. }
  12600. }
  12601. },
  12602. "/QhjSys/QueryAgreementConfig": {
  12603. "get": {
  12604. "security": [
  12605. {
  12606. "ApiKeyAuth": []
  12607. }
  12608. ],
  12609. "produces": [
  12610. "application/json"
  12611. ],
  12612. "tags": [
  12613. "大连千海金(协议和签约信息)"
  12614. ],
  12615. "summary": "查询协议配置",
  12616. "parameters": [
  12617. {
  12618. "type": "integer",
  12619. "description": "协议ID",
  12620. "name": "agreementid",
  12621. "in": "query"
  12622. },
  12623. {
  12624. "type": "integer",
  12625. "description": "协议版本号",
  12626. "name": "agreementversion",
  12627. "in": "query"
  12628. },
  12629. {
  12630. "type": "integer",
  12631. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12632. "name": "agreementtype",
  12633. "in": "query"
  12634. },
  12635. {
  12636. "type": "integer",
  12637. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  12638. "name": "isvalid",
  12639. "in": "query"
  12640. },
  12641. {
  12642. "type": "string",
  12643. "description": "协议编号(模糊匹配)",
  12644. "name": "agreementno",
  12645. "in": "query"
  12646. },
  12647. {
  12648. "type": "string",
  12649. "description": "协议名称(模糊匹配)",
  12650. "name": "agreementname",
  12651. "in": "query"
  12652. }
  12653. ],
  12654. "responses": {
  12655. "200": {
  12656. "description": "OK",
  12657. "schema": {
  12658. "type": "array",
  12659. "items": {
  12660. "$ref": "#/definitions/models.QhjAgreementConfig"
  12661. }
  12662. }
  12663. },
  12664. "500": {
  12665. "description": "Internal Server Error",
  12666. "schema": {
  12667. "$ref": "#/definitions/app.Response"
  12668. }
  12669. }
  12670. }
  12671. }
  12672. },
  12673. "/QhjSys/QueryCustomerSignStatus": {
  12674. "get": {
  12675. "security": [
  12676. {
  12677. "ApiKeyAuth": []
  12678. }
  12679. ],
  12680. "produces": [
  12681. "application/json"
  12682. ],
  12683. "tags": [
  12684. "大连千海金(协议和签约信息)"
  12685. ],
  12686. "summary": "查询客户协议签约状态",
  12687. "parameters": [
  12688. {
  12689. "type": "integer",
  12690. "description": "客户ID",
  12691. "name": "userid",
  12692. "in": "query"
  12693. },
  12694. {
  12695. "type": "integer",
  12696. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  12697. "name": "nodetype",
  12698. "in": "query"
  12699. },
  12700. {
  12701. "type": "integer",
  12702. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12703. "name": "goodsid",
  12704. "in": "query"
  12705. },
  12706. {
  12707. "type": "string",
  12708. "description": "创建交易日(yyyyMMdd)",
  12709. "name": "tradedate",
  12710. "in": "query"
  12711. },
  12712. {
  12713. "type": "string",
  12714. "description": "用户名称(模糊匹配)",
  12715. "name": "username",
  12716. "in": "query"
  12717. }
  12718. ],
  12719. "responses": {
  12720. "200": {
  12721. "description": "OK",
  12722. "schema": {
  12723. "type": "array",
  12724. "items": {
  12725. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  12726. }
  12727. }
  12728. },
  12729. "500": {
  12730. "description": "Internal Server Error",
  12731. "schema": {
  12732. "$ref": "#/definitions/app.Response"
  12733. }
  12734. }
  12735. }
  12736. }
  12737. },
  12738. "/QhjSys/QueryNodeAgreementConfig": {
  12739. "get": {
  12740. "security": [
  12741. {
  12742. "ApiKeyAuth": []
  12743. }
  12744. ],
  12745. "produces": [
  12746. "application/json"
  12747. ],
  12748. "tags": [
  12749. "大连千海金(协议和签约信息)"
  12750. ],
  12751. "summary": "查询协议节点配置",
  12752. "parameters": [
  12753. {
  12754. "type": "integer",
  12755. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12756. "name": "configid",
  12757. "in": "query"
  12758. },
  12759. {
  12760. "type": "integer",
  12761. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12762. "name": "nodetype",
  12763. "in": "query"
  12764. },
  12765. {
  12766. "type": "integer",
  12767. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12768. "name": "goodsid",
  12769. "in": "query"
  12770. },
  12771. {
  12772. "type": "integer",
  12773. "description": "协议ID",
  12774. "name": "agreementid",
  12775. "in": "query"
  12776. },
  12777. {
  12778. "type": "integer",
  12779. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12780. "name": "agreementtype",
  12781. "in": "query"
  12782. },
  12783. {
  12784. "type": "integer",
  12785. "description": "协议版本号",
  12786. "name": "agreementversion",
  12787. "in": "query"
  12788. },
  12789. {
  12790. "type": "string",
  12791. "description": "协议编号(模糊匹配)",
  12792. "name": "agreementno",
  12793. "in": "query"
  12794. },
  12795. {
  12796. "type": "string",
  12797. "description": "协议名称(模糊匹配)",
  12798. "name": "agreementname",
  12799. "in": "query"
  12800. }
  12801. ],
  12802. "responses": {
  12803. "200": {
  12804. "description": "OK",
  12805. "schema": {
  12806. "type": "array",
  12807. "items": {
  12808. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  12809. }
  12810. }
  12811. },
  12812. "500": {
  12813. "description": "Internal Server Error",
  12814. "schema": {
  12815. "$ref": "#/definitions/app.Response"
  12816. }
  12817. }
  12818. }
  12819. }
  12820. },
  12821. "/QhjSys/QueryQhjCustomerSignLog": {
  12822. "get": {
  12823. "security": [
  12824. {
  12825. "ApiKeyAuth": []
  12826. }
  12827. ],
  12828. "produces": [
  12829. "application/json"
  12830. ],
  12831. "tags": [
  12832. "大连千海金(协议和签约信息)"
  12833. ],
  12834. "summary": "查询客户协议签约流水",
  12835. "parameters": [
  12836. {
  12837. "type": "integer",
  12838. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12839. "name": "logid",
  12840. "in": "query"
  12841. },
  12842. {
  12843. "type": "integer",
  12844. "description": "客户ID",
  12845. "name": "userid",
  12846. "in": "query"
  12847. },
  12848. {
  12849. "type": "integer",
  12850. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12851. "name": "nodetype",
  12852. "in": "query"
  12853. },
  12854. {
  12855. "type": "integer",
  12856. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12857. "name": "goodsid",
  12858. "in": "query"
  12859. },
  12860. {
  12861. "type": "integer",
  12862. "description": "协议ID",
  12863. "name": "agreementid",
  12864. "in": "query"
  12865. },
  12866. {
  12867. "type": "string",
  12868. "description": "用户名称(模糊匹配)",
  12869. "name": "username",
  12870. "in": "query"
  12871. },
  12872. {
  12873. "type": "string",
  12874. "description": "协议编号(模糊匹配)",
  12875. "name": "agreementno",
  12876. "in": "query"
  12877. },
  12878. {
  12879. "type": "string",
  12880. "description": "协议名称(模糊匹配)",
  12881. "name": "agreementname",
  12882. "in": "query"
  12883. }
  12884. ],
  12885. "responses": {
  12886. "200": {
  12887. "description": "OK",
  12888. "schema": {
  12889. "type": "array",
  12890. "items": {
  12891. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12892. }
  12893. }
  12894. },
  12895. "500": {
  12896. "description": "Internal Server Error",
  12897. "schema": {
  12898. "$ref": "#/definitions/app.Response"
  12899. }
  12900. }
  12901. }
  12902. }
  12903. },
  12904. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12905. "get": {
  12906. "security": [
  12907. {
  12908. "ApiKeyAuth": []
  12909. }
  12910. ],
  12911. "produces": [
  12912. "application/json"
  12913. ],
  12914. "tags": [
  12915. "大连千海金(协议和签约信息)"
  12916. ],
  12917. "summary": "查询用户协议节点配置和状态",
  12918. "parameters": [
  12919. {
  12920. "type": "integer",
  12921. "description": "客户ID",
  12922. "name": "userid",
  12923. "in": "query"
  12924. },
  12925. {
  12926. "type": "integer",
  12927. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12928. "name": "configid",
  12929. "in": "query"
  12930. },
  12931. {
  12932. "type": "string",
  12933. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12934. "name": "nodetype",
  12935. "in": "query"
  12936. },
  12937. {
  12938. "type": "integer",
  12939. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12940. "name": "goodsid",
  12941. "in": "query"
  12942. },
  12943. {
  12944. "type": "integer",
  12945. "description": "协议ID",
  12946. "name": "agreementid",
  12947. "in": "query"
  12948. },
  12949. {
  12950. "type": "integer",
  12951. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12952. "name": "agreementtype",
  12953. "in": "query"
  12954. },
  12955. {
  12956. "type": "integer",
  12957. "description": "协议版本号",
  12958. "name": "agreementversion",
  12959. "in": "query"
  12960. },
  12961. {
  12962. "type": "string",
  12963. "description": "协议编号(模糊匹配)",
  12964. "name": "agreementno",
  12965. "in": "query"
  12966. },
  12967. {
  12968. "type": "string",
  12969. "description": "协议名称(模糊匹配)",
  12970. "name": "agreementname",
  12971. "in": "query"
  12972. }
  12973. ],
  12974. "responses": {
  12975. "200": {
  12976. "description": "OK",
  12977. "schema": {
  12978. "type": "array",
  12979. "items": {
  12980. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12981. }
  12982. }
  12983. },
  12984. "500": {
  12985. "description": "Internal Server Error",
  12986. "schema": {
  12987. "$ref": "#/definitions/app.Response"
  12988. }
  12989. }
  12990. }
  12991. }
  12992. },
  12993. "/Quote/QueryHistoryDatas": {
  12994. "get": {
  12995. "security": [
  12996. {
  12997. "ApiKeyAuth": []
  12998. }
  12999. ],
  13000. "produces": [
  13001. "application/json"
  13002. ],
  13003. "tags": [
  13004. "行情服务"
  13005. ],
  13006. "summary": "查询行情历史数据",
  13007. "parameters": [
  13008. {
  13009. "type": "integer",
  13010. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  13011. "name": "cycleType",
  13012. "in": "query",
  13013. "required": true
  13014. },
  13015. {
  13016. "type": "string",
  13017. "description": "商品代码",
  13018. "name": "goodsCode",
  13019. "in": "query",
  13020. "required": true
  13021. },
  13022. {
  13023. "type": "string",
  13024. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  13025. "name": "startTime",
  13026. "in": "query"
  13027. },
  13028. {
  13029. "type": "string",
  13030. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  13031. "name": "endTime",
  13032. "in": "query"
  13033. },
  13034. {
  13035. "type": "integer",
  13036. "description": "条数",
  13037. "name": "count",
  13038. "in": "query"
  13039. },
  13040. {
  13041. "type": "boolean",
  13042. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  13043. "name": "isAsc",
  13044. "in": "query"
  13045. }
  13046. ],
  13047. "responses": {
  13048. "200": {
  13049. "description": "OK",
  13050. "schema": {
  13051. "$ref": "#/definitions/quote.HistoryData"
  13052. }
  13053. },
  13054. "500": {
  13055. "description": "Internal Server Error",
  13056. "schema": {
  13057. "$ref": "#/definitions/app.Response"
  13058. }
  13059. }
  13060. }
  13061. }
  13062. },
  13063. "/Quote/QueryHistoryTikDatas": {
  13064. "get": {
  13065. "security": [
  13066. {
  13067. "ApiKeyAuth": []
  13068. }
  13069. ],
  13070. "produces": [
  13071. "application/json"
  13072. ],
  13073. "tags": [
  13074. "行情服务"
  13075. ],
  13076. "summary": "查询行情Tik数据",
  13077. "parameters": [
  13078. {
  13079. "type": "string",
  13080. "description": "商品代码",
  13081. "name": "goodsCode",
  13082. "in": "query",
  13083. "required": true
  13084. },
  13085. {
  13086. "type": "string",
  13087. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  13088. "name": "startTime",
  13089. "in": "query"
  13090. },
  13091. {
  13092. "type": "string",
  13093. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  13094. "name": "endTime",
  13095. "in": "query"
  13096. },
  13097. {
  13098. "type": "integer",
  13099. "description": "条数",
  13100. "name": "count",
  13101. "in": "query"
  13102. },
  13103. {
  13104. "type": "boolean",
  13105. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  13106. "name": "isAsc",
  13107. "in": "query"
  13108. }
  13109. ],
  13110. "responses": {
  13111. "200": {
  13112. "description": "OK",
  13113. "schema": {
  13114. "$ref": "#/definitions/quote.HistoryTikData"
  13115. }
  13116. },
  13117. "500": {
  13118. "description": "Internal Server Error",
  13119. "schema": {
  13120. "$ref": "#/definitions/app.Response"
  13121. }
  13122. }
  13123. }
  13124. }
  13125. },
  13126. "/Quote/QueryQuoteDay": {
  13127. "get": {
  13128. "security": [
  13129. {
  13130. "ApiKeyAuth": []
  13131. }
  13132. ],
  13133. "produces": [
  13134. "application/json"
  13135. ],
  13136. "tags": [
  13137. "行情服务"
  13138. ],
  13139. "summary": "获取商品盘面信息",
  13140. "parameters": [
  13141. {
  13142. "type": "string",
  13143. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  13144. "name": "goodsCodes",
  13145. "in": "query"
  13146. }
  13147. ],
  13148. "responses": {
  13149. "200": {
  13150. "description": "OK",
  13151. "schema": {
  13152. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  13153. }
  13154. },
  13155. "500": {
  13156. "description": "Internal Server Error",
  13157. "schema": {
  13158. "$ref": "#/definitions/app.Response"
  13159. }
  13160. }
  13161. }
  13162. }
  13163. },
  13164. "/Quote/QueryTSData": {
  13165. "get": {
  13166. "security": [
  13167. {
  13168. "ApiKeyAuth": []
  13169. }
  13170. ],
  13171. "produces": [
  13172. "application/json"
  13173. ],
  13174. "tags": [
  13175. "行情服务"
  13176. ],
  13177. "summary": "分时图数据查询",
  13178. "parameters": [
  13179. {
  13180. "type": "string",
  13181. "description": "商品代码",
  13182. "name": "goodsCode",
  13183. "in": "query",
  13184. "required": true
  13185. }
  13186. ],
  13187. "responses": {
  13188. "200": {
  13189. "description": "OK",
  13190. "schema": {
  13191. "$ref": "#/definitions/quote.QueryTSDataRsp"
  13192. }
  13193. },
  13194. "500": {
  13195. "description": "Internal Server Error",
  13196. "schema": {
  13197. "$ref": "#/definitions/app.Response"
  13198. }
  13199. }
  13200. }
  13201. }
  13202. },
  13203. "/SZDZ/QueryConvertConfig": {
  13204. "get": {
  13205. "security": [
  13206. {
  13207. "ApiKeyAuth": []
  13208. }
  13209. ],
  13210. "produces": [
  13211. "application/json"
  13212. ],
  13213. "tags": [
  13214. "定制【尚志大宗】"
  13215. ],
  13216. "summary": "查询交易系统转换设置",
  13217. "parameters": [
  13218. {
  13219. "type": "integer",
  13220. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  13221. "name": "convertType",
  13222. "in": "query"
  13223. },
  13224. {
  13225. "type": "string",
  13226. "description": "外部商品代码[JD\\PD]",
  13227. "name": "outerGoodsCode",
  13228. "in": "query"
  13229. },
  13230. {
  13231. "type": "string",
  13232. "description": "内部商品ID列表[交易],格式:1,2,3",
  13233. "name": "innerGoodsIDs",
  13234. "in": "query"
  13235. }
  13236. ],
  13237. "responses": {
  13238. "200": {
  13239. "description": "OK",
  13240. "schema": {
  13241. "$ref": "#/definitions/models.Szdz3convertconfig"
  13242. }
  13243. },
  13244. "500": {
  13245. "description": "Internal Server Error",
  13246. "schema": {
  13247. "$ref": "#/definitions/app.Response"
  13248. }
  13249. }
  13250. }
  13251. }
  13252. },
  13253. "/SZDZ/QueryConvertLog": {
  13254. "get": {
  13255. "security": [
  13256. {
  13257. "ApiKeyAuth": []
  13258. }
  13259. ],
  13260. "produces": [
  13261. "application/json"
  13262. ],
  13263. "tags": [
  13264. "定制【尚志大宗】"
  13265. ],
  13266. "summary": "交易系统转换流水查询",
  13267. "parameters": [
  13268. {
  13269. "type": "string",
  13270. "description": "资金账户 - 格式:1,2,3",
  13271. "name": "accountID",
  13272. "in": "query",
  13273. "required": true
  13274. },
  13275. {
  13276. "type": "string",
  13277. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13278. "name": "startDate",
  13279. "in": "query"
  13280. },
  13281. {
  13282. "type": "string",
  13283. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13284. "name": "endDate",
  13285. "in": "query"
  13286. }
  13287. ],
  13288. "responses": {
  13289. "200": {
  13290. "description": "OK",
  13291. "schema": {
  13292. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  13293. }
  13294. },
  13295. "500": {
  13296. "description": "Internal Server Error",
  13297. "schema": {
  13298. "$ref": "#/definitions/app.Response"
  13299. }
  13300. }
  13301. }
  13302. }
  13303. },
  13304. "/SZDZ/QueryGoodsPickup": {
  13305. "get": {
  13306. "security": [
  13307. {
  13308. "ApiKeyAuth": []
  13309. }
  13310. ],
  13311. "produces": [
  13312. "application/json"
  13313. ],
  13314. "tags": [
  13315. "定制【尚志大宗】"
  13316. ],
  13317. "summary": "商品提货单查询",
  13318. "parameters": [
  13319. {
  13320. "type": "string",
  13321. "description": "资金账户 - 格式:1,2,3",
  13322. "name": "accountID",
  13323. "in": "query",
  13324. "required": true
  13325. },
  13326. {
  13327. "type": "integer",
  13328. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13329. "name": "takeOrderStatus",
  13330. "in": "query"
  13331. }
  13332. ],
  13333. "responses": {
  13334. "200": {
  13335. "description": "OK",
  13336. "schema": {
  13337. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  13338. }
  13339. },
  13340. "500": {
  13341. "description": "Internal Server Error",
  13342. "schema": {
  13343. "$ref": "#/definitions/app.Response"
  13344. }
  13345. }
  13346. }
  13347. }
  13348. },
  13349. "/SZDZ/QueryRecieptOrder": {
  13350. "get": {
  13351. "security": [
  13352. {
  13353. "ApiKeyAuth": []
  13354. }
  13355. ],
  13356. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13357. "produces": [
  13358. "application/json"
  13359. ],
  13360. "tags": [
  13361. "定制【尚志大宗】"
  13362. ],
  13363. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  13364. "parameters": [
  13365. {
  13366. "type": "integer",
  13367. "description": "页码",
  13368. "name": "page",
  13369. "in": "query"
  13370. },
  13371. {
  13372. "type": "integer",
  13373. "description": "每页条数",
  13374. "name": "pagesize",
  13375. "in": "query"
  13376. },
  13377. {
  13378. "type": "integer",
  13379. "description": "商品ID",
  13380. "name": "goodsID",
  13381. "in": "query",
  13382. "required": true
  13383. },
  13384. {
  13385. "type": "string",
  13386. "description": "所属账户名称",
  13387. "name": "accountName",
  13388. "in": "query"
  13389. },
  13390. {
  13391. "type": "integer",
  13392. "description": "市场ID",
  13393. "name": "marketID",
  13394. "in": "query"
  13395. },
  13396. {
  13397. "type": "integer",
  13398. "description": "方向 - 0:买 1:卖",
  13399. "name": "buyorsell",
  13400. "in": "query",
  13401. "required": true
  13402. }
  13403. ],
  13404. "responses": {
  13405. "200": {
  13406. "description": "OK",
  13407. "schema": {
  13408. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  13409. }
  13410. },
  13411. "500": {
  13412. "description": "Internal Server Error",
  13413. "schema": {
  13414. "$ref": "#/definitions/app.Response"
  13415. }
  13416. }
  13417. }
  13418. }
  13419. },
  13420. "/SZDZ/QuerySZDZTradePosition": {
  13421. "get": {
  13422. "security": [
  13423. {
  13424. "ApiKeyAuth": []
  13425. }
  13426. ],
  13427. "produces": [
  13428. "application/json"
  13429. ],
  13430. "tags": [
  13431. "定制【尚志大宗】"
  13432. ],
  13433. "summary": "持仓汇总查询(尚志大宗)",
  13434. "parameters": [
  13435. {
  13436. "type": "integer",
  13437. "description": "资金账户",
  13438. "name": "accountID",
  13439. "in": "query",
  13440. "required": true
  13441. }
  13442. ],
  13443. "responses": {
  13444. "200": {
  13445. "description": "OK",
  13446. "schema": {
  13447. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  13448. }
  13449. },
  13450. "500": {
  13451. "description": "Internal Server Error",
  13452. "schema": {
  13453. "$ref": "#/definitions/app.Response"
  13454. }
  13455. }
  13456. }
  13457. }
  13458. },
  13459. "/SZDZ/SearchWhite": {
  13460. "get": {
  13461. "security": [
  13462. {
  13463. "ApiKeyAuth": []
  13464. }
  13465. ],
  13466. "produces": [
  13467. "application/json"
  13468. ],
  13469. "tags": [
  13470. "定制【尚志大宗】"
  13471. ],
  13472. "summary": "搜索白名单",
  13473. "parameters": [
  13474. {
  13475. "type": "integer",
  13476. "description": "用户ID",
  13477. "name": "userID",
  13478. "in": "query",
  13479. "required": true
  13480. }
  13481. ],
  13482. "responses": {
  13483. "200": {
  13484. "description": "OK",
  13485. "schema": {
  13486. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  13487. }
  13488. },
  13489. "500": {
  13490. "description": "Internal Server Error",
  13491. "schema": {
  13492. "$ref": "#/definitions/app.Response"
  13493. }
  13494. }
  13495. }
  13496. }
  13497. },
  13498. "/Search/SearchGoodses": {
  13499. "get": {
  13500. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  13501. "produces": [
  13502. "application/json"
  13503. ],
  13504. "tags": [
  13505. "检索服务"
  13506. ],
  13507. "summary": "检索商品信息",
  13508. "parameters": [
  13509. {
  13510. "type": "string",
  13511. "description": "检索内容",
  13512. "name": "content",
  13513. "in": "query",
  13514. "required": true
  13515. },
  13516. {
  13517. "type": "string",
  13518. "description": "交易模式,格式:1,2,3",
  13519. "name": "tradeModes",
  13520. "in": "query"
  13521. }
  13522. ],
  13523. "responses": {
  13524. "200": {
  13525. "description": "OK",
  13526. "schema": {
  13527. "$ref": "#/definitions/models.SearchGoods"
  13528. }
  13529. },
  13530. "500": {
  13531. "description": "Internal Server Error",
  13532. "schema": {
  13533. "$ref": "#/definitions/app.Response"
  13534. }
  13535. }
  13536. }
  13537. }
  13538. },
  13539. "/TaAccount/GetTaAccounts": {
  13540. "get": {
  13541. "security": [
  13542. {
  13543. "ApiKeyAuth": []
  13544. }
  13545. ],
  13546. "produces": [
  13547. "application/json"
  13548. ],
  13549. "tags": [
  13550. "资金账户"
  13551. ],
  13552. "summary": "获取资金账户信息",
  13553. "parameters": [
  13554. {
  13555. "type": "integer",
  13556. "description": "登录账户",
  13557. "name": "loginID",
  13558. "in": "query",
  13559. "required": true
  13560. },
  13561. {
  13562. "type": "integer",
  13563. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  13564. "name": "taAccountType",
  13565. "in": "query"
  13566. }
  13567. ],
  13568. "responses": {
  13569. "200": {
  13570. "description": "OK",
  13571. "schema": {
  13572. "$ref": "#/definitions/models.Taaccount"
  13573. }
  13574. },
  13575. "500": {
  13576. "description": "Internal Server Error",
  13577. "schema": {
  13578. "$ref": "#/definitions/app.Response"
  13579. }
  13580. }
  13581. }
  13582. }
  13583. },
  13584. "/TaAccount/QueryAmountLog": {
  13585. "get": {
  13586. "security": [
  13587. {
  13588. "ApiKeyAuth": []
  13589. }
  13590. ],
  13591. "produces": [
  13592. "application/json"
  13593. ],
  13594. "tags": [
  13595. "资金账户"
  13596. ],
  13597. "summary": "资金流水查询(当前)",
  13598. "parameters": [
  13599. {
  13600. "type": "integer",
  13601. "description": "页码",
  13602. "name": "page",
  13603. "in": "query"
  13604. },
  13605. {
  13606. "type": "integer",
  13607. "description": "每页条数",
  13608. "name": "pagesize",
  13609. "in": "query"
  13610. },
  13611. {
  13612. "type": "string",
  13613. "description": "资金账户 - 格式:1,2,3",
  13614. "name": "accountID",
  13615. "in": "query",
  13616. "required": true
  13617. },
  13618. {
  13619. "type": "string",
  13620. "description": "资金操作类型 - 格式:1,2,3",
  13621. "name": "OperateType",
  13622. "in": "query"
  13623. }
  13624. ],
  13625. "responses": {
  13626. "200": {
  13627. "description": "OK",
  13628. "schema": {
  13629. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  13630. }
  13631. },
  13632. "500": {
  13633. "description": "Internal Server Error",
  13634. "schema": {
  13635. "$ref": "#/definitions/app.Response"
  13636. }
  13637. }
  13638. }
  13639. }
  13640. },
  13641. "/TaAccount/QueryHisAmountLog": {
  13642. "get": {
  13643. "security": [
  13644. {
  13645. "ApiKeyAuth": []
  13646. }
  13647. ],
  13648. "produces": [
  13649. "application/json"
  13650. ],
  13651. "tags": [
  13652. "资金账户"
  13653. ],
  13654. "summary": "资金流水查询(历史)",
  13655. "parameters": [
  13656. {
  13657. "type": "integer",
  13658. "description": "页码",
  13659. "name": "page",
  13660. "in": "query"
  13661. },
  13662. {
  13663. "type": "integer",
  13664. "description": "每页条数",
  13665. "name": "pagesize",
  13666. "in": "query"
  13667. },
  13668. {
  13669. "type": "string",
  13670. "description": "资金账户 - 格式:1,2,3",
  13671. "name": "accountID",
  13672. "in": "query",
  13673. "required": true
  13674. },
  13675. {
  13676. "type": "string",
  13677. "description": "资金操作类型 - 格式:1,2,3",
  13678. "name": "OperateType",
  13679. "in": "query"
  13680. },
  13681. {
  13682. "type": "string",
  13683. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  13684. "name": "startDate",
  13685. "in": "query"
  13686. },
  13687. {
  13688. "type": "string",
  13689. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  13690. "name": "endDate",
  13691. "in": "query"
  13692. }
  13693. ],
  13694. "responses": {
  13695. "200": {
  13696. "description": "OK",
  13697. "schema": {
  13698. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  13699. }
  13700. },
  13701. "500": {
  13702. "description": "Internal Server Error",
  13703. "schema": {
  13704. "$ref": "#/definitions/app.Response"
  13705. }
  13706. }
  13707. }
  13708. }
  13709. },
  13710. "/TaAccount/QueryRelatedTaAccount": {
  13711. "get": {
  13712. "security": [
  13713. {
  13714. "ApiKeyAuth": []
  13715. }
  13716. ],
  13717. "produces": [
  13718. "application/json"
  13719. ],
  13720. "tags": [
  13721. "资金账户"
  13722. ],
  13723. "summary": "查询关联资金账户信息",
  13724. "parameters": [
  13725. {
  13726. "type": "integer",
  13727. "description": "关联UserID",
  13728. "name": "relateduserid",
  13729. "in": "query",
  13730. "required": true
  13731. }
  13732. ],
  13733. "responses": {
  13734. "200": {
  13735. "description": "OK",
  13736. "schema": {
  13737. "type": "array",
  13738. "items": {
  13739. "$ref": "#/definitions/models.RelatedTaAccount"
  13740. }
  13741. }
  13742. },
  13743. "500": {
  13744. "description": "Internal Server Error",
  13745. "schema": {
  13746. "$ref": "#/definitions/app.Response"
  13747. }
  13748. }
  13749. }
  13750. }
  13751. },
  13752. "/Tjmd/QueryQuoteGoodsList": {
  13753. "get": {
  13754. "security": [
  13755. {
  13756. "ApiKeyAuth": []
  13757. }
  13758. ],
  13759. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  13760. "produces": [
  13761. "application/json"
  13762. ],
  13763. "tags": [
  13764. "天津麦顿"
  13765. ],
  13766. "summary": "查询掉期报价列表",
  13767. "parameters": [
  13768. {
  13769. "type": "integer",
  13770. "description": "用户类型",
  13771. "name": "usertype",
  13772. "in": "query",
  13773. "required": true
  13774. },
  13775. {
  13776. "type": "string",
  13777. "description": "市场id, 格式 1,2,3",
  13778. "name": "marketids",
  13779. "in": "query"
  13780. },
  13781. {
  13782. "type": "integer",
  13783. "description": "商品组id",
  13784. "name": "goodsgroupid",
  13785. "in": "query"
  13786. },
  13787. {
  13788. "type": "integer",
  13789. "description": "商品id",
  13790. "name": "goodsid",
  13791. "in": "query"
  13792. }
  13793. ],
  13794. "responses": {
  13795. "200": {
  13796. "description": "OK",
  13797. "schema": {
  13798. "type": "array",
  13799. "items": {
  13800. "$ref": "#/definitions/models.TjmdQuoteGoods"
  13801. }
  13802. }
  13803. },
  13804. "500": {
  13805. "description": "Internal Server Error",
  13806. "schema": {
  13807. "$ref": "#/definitions/app.Response"
  13808. }
  13809. }
  13810. }
  13811. }
  13812. },
  13813. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  13814. "get": {
  13815. "security": [
  13816. {
  13817. "ApiKeyAuth": []
  13818. }
  13819. ],
  13820. "produces": [
  13821. "application/json"
  13822. ],
  13823. "tags": [
  13824. "天津麦顿"
  13825. ],
  13826. "summary": "掉期商品订单详情(交易确认书)",
  13827. "parameters": [
  13828. {
  13829. "type": "string",
  13830. "description": "成交单号",
  13831. "name": "tradeid",
  13832. "in": "query",
  13833. "required": true
  13834. }
  13835. ],
  13836. "responses": {
  13837. "200": {
  13838. "description": "OK",
  13839. "schema": {
  13840. "type": "array",
  13841. "items": {
  13842. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13843. }
  13844. }
  13845. },
  13846. "500": {
  13847. "description": "Internal Server Error",
  13848. "schema": {
  13849. "$ref": "#/definitions/app.Response"
  13850. }
  13851. }
  13852. }
  13853. }
  13854. },
  13855. "/Tjmd/QueryTjmdMarketSection": {
  13856. "get": {
  13857. "security": [
  13858. {
  13859. "ApiKeyAuth": []
  13860. }
  13861. ],
  13862. "produces": [
  13863. "application/json"
  13864. ],
  13865. "tags": [
  13866. "天津麦顿"
  13867. ],
  13868. "summary": "查询市场板块",
  13869. "responses": {
  13870. "200": {
  13871. "description": "OK",
  13872. "schema": {
  13873. "type": "array",
  13874. "items": {
  13875. "$ref": "#/definitions/models.TjmdMarketSection"
  13876. }
  13877. }
  13878. },
  13879. "500": {
  13880. "description": "Internal Server Error",
  13881. "schema": {
  13882. "$ref": "#/definitions/app.Response"
  13883. }
  13884. }
  13885. }
  13886. }
  13887. },
  13888. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13889. "get": {
  13890. "security": [
  13891. {
  13892. "ApiKeyAuth": []
  13893. }
  13894. ],
  13895. "produces": [
  13896. "application/json"
  13897. ],
  13898. "tags": [
  13899. "天津麦顿"
  13900. ],
  13901. "summary": "查询今日账户保证金配置",
  13902. "parameters": [
  13903. {
  13904. "type": "string",
  13905. "description": "市场id",
  13906. "name": "marketid",
  13907. "in": "query"
  13908. },
  13909. {
  13910. "type": "string",
  13911. "description": "商品id",
  13912. "name": "goodsid",
  13913. "in": "query"
  13914. },
  13915. {
  13916. "type": "string",
  13917. "description": "资金账号",
  13918. "name": "accountid",
  13919. "in": "query"
  13920. }
  13921. ],
  13922. "responses": {
  13923. "200": {
  13924. "description": "OK",
  13925. "schema": {
  13926. "type": "array",
  13927. "items": {
  13928. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13929. }
  13930. }
  13931. },
  13932. "500": {
  13933. "description": "Internal Server Error",
  13934. "schema": {
  13935. "$ref": "#/definitions/app.Response"
  13936. }
  13937. }
  13938. }
  13939. }
  13940. },
  13941. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13942. "get": {
  13943. "security": [
  13944. {
  13945. "ApiKeyAuth": []
  13946. }
  13947. ],
  13948. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13949. "produces": [
  13950. "application/json"
  13951. ],
  13952. "tags": [
  13953. "天津麦顿"
  13954. ],
  13955. "summary": "查询掉期买卖大厅",
  13956. "parameters": [
  13957. {
  13958. "type": "integer",
  13959. "description": "页码",
  13960. "name": "page",
  13961. "in": "query"
  13962. },
  13963. {
  13964. "type": "integer",
  13965. "description": "每页条数",
  13966. "name": "pagesize",
  13967. "in": "query"
  13968. },
  13969. {
  13970. "type": "integer",
  13971. "description": "用户id",
  13972. "name": "userid",
  13973. "in": "query",
  13974. "required": true
  13975. },
  13976. {
  13977. "type": "integer",
  13978. "description": "用户类型",
  13979. "name": "usertype",
  13980. "in": "query",
  13981. "required": true
  13982. },
  13983. {
  13984. "type": "string",
  13985. "description": "市场id, 格式 1,2,3",
  13986. "name": "marketids",
  13987. "in": "query"
  13988. },
  13989. {
  13990. "type": "integer",
  13991. "description": "商品id",
  13992. "name": "goodsid",
  13993. "in": "query",
  13994. "required": true
  13995. },
  13996. {
  13997. "type": "integer",
  13998. "description": "买卖方向 0-买 1-卖",
  13999. "name": "buyorsell",
  14000. "in": "query",
  14001. "required": true
  14002. }
  14003. ],
  14004. "responses": {
  14005. "200": {
  14006. "description": "OK",
  14007. "schema": {
  14008. "type": "array",
  14009. "items": {
  14010. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  14011. }
  14012. }
  14013. },
  14014. "500": {
  14015. "description": "Internal Server Error",
  14016. "schema": {
  14017. "$ref": "#/definitions/app.Response"
  14018. }
  14019. }
  14020. }
  14021. }
  14022. },
  14023. "/Tjmd/QueryTjmdTransferApply": {
  14024. "get": {
  14025. "security": [
  14026. {
  14027. "ApiKeyAuth": []
  14028. }
  14029. ],
  14030. "produces": [
  14031. "application/json"
  14032. ],
  14033. "tags": [
  14034. "天津麦顿"
  14035. ],
  14036. "summary": "查询掉期协议单",
  14037. "parameters": [
  14038. {
  14039. "type": "integer",
  14040. "description": "类型 1-我的申请 2-对方申请",
  14041. "name": "applytype",
  14042. "in": "query",
  14043. "required": true
  14044. },
  14045. {
  14046. "type": "string",
  14047. "description": "市场id, 格式 1,2,3",
  14048. "name": "marketids",
  14049. "in": "query"
  14050. },
  14051. {
  14052. "type": "string",
  14053. "description": "资金账号, 格式 25000000001,25000000003",
  14054. "name": "accountids",
  14055. "in": "query"
  14056. },
  14057. {
  14058. "type": "string",
  14059. "description": "开始交易日(yyyymmdd)",
  14060. "name": "begindate",
  14061. "in": "query"
  14062. },
  14063. {
  14064. "type": "string",
  14065. "description": "结束交易日(yyyymmdd)",
  14066. "name": "enddate",
  14067. "in": "query"
  14068. }
  14069. ],
  14070. "responses": {
  14071. "200": {
  14072. "description": "OK",
  14073. "schema": {
  14074. "type": "array",
  14075. "items": {
  14076. "$ref": "#/definitions/models.TjmdTransferApply"
  14077. }
  14078. }
  14079. },
  14080. "500": {
  14081. "description": "Internal Server Error",
  14082. "schema": {
  14083. "$ref": "#/definitions/app.Response"
  14084. }
  14085. }
  14086. }
  14087. }
  14088. },
  14089. "/Trade/QueryRecieptOrder": {
  14090. "get": {
  14091. "security": [
  14092. {
  14093. "ApiKeyAuth": []
  14094. }
  14095. ],
  14096. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  14097. "produces": [
  14098. "application/json"
  14099. ],
  14100. "tags": [
  14101. "通用交易"
  14102. ],
  14103. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  14104. "parameters": [
  14105. {
  14106. "type": "integer",
  14107. "description": "页码",
  14108. "name": "page",
  14109. "in": "query"
  14110. },
  14111. {
  14112. "type": "integer",
  14113. "description": "每页条数",
  14114. "name": "pagesize",
  14115. "in": "query"
  14116. },
  14117. {
  14118. "type": "integer",
  14119. "description": "商品ID",
  14120. "name": "goodsID",
  14121. "in": "query",
  14122. "required": true
  14123. },
  14124. {
  14125. "type": "string",
  14126. "description": "所属账户名称",
  14127. "name": "accountName",
  14128. "in": "query"
  14129. },
  14130. {
  14131. "type": "integer",
  14132. "description": "市场ID",
  14133. "name": "marketID",
  14134. "in": "query"
  14135. },
  14136. {
  14137. "type": "integer",
  14138. "description": "方向 - 0:买 1:卖",
  14139. "name": "buyorsell",
  14140. "in": "query",
  14141. "required": true
  14142. }
  14143. ],
  14144. "responses": {
  14145. "200": {
  14146. "description": "OK",
  14147. "schema": {
  14148. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  14149. }
  14150. },
  14151. "500": {
  14152. "description": "Internal Server Error",
  14153. "schema": {
  14154. "$ref": "#/definitions/app.Response"
  14155. }
  14156. }
  14157. }
  14158. }
  14159. },
  14160. "/User/AddMessageBoard": {
  14161. "post": {
  14162. "security": [
  14163. {
  14164. "ApiKeyAuth": []
  14165. }
  14166. ],
  14167. "produces": [
  14168. "application/json"
  14169. ],
  14170. "tags": [
  14171. "用户信息"
  14172. ],
  14173. "summary": "添加用户留言板信息",
  14174. "parameters": [
  14175. {
  14176. "type": "integer",
  14177. "description": "用户ID",
  14178. "name": "userID",
  14179. "in": "query",
  14180. "required": true
  14181. },
  14182. {
  14183. "type": "string",
  14184. "description": "留言信息",
  14185. "name": "message",
  14186. "in": "query",
  14187. "required": true
  14188. },
  14189. {
  14190. "type": "string",
  14191. "description": "联系电话",
  14192. "name": "contactNum",
  14193. "in": "query",
  14194. "required": true
  14195. }
  14196. ],
  14197. "responses": {
  14198. "200": {
  14199. "description": "OK",
  14200. "schema": {
  14201. "$ref": "#/definitions/app.Response"
  14202. }
  14203. },
  14204. "500": {
  14205. "description": "Internal Server Error",
  14206. "schema": {
  14207. "$ref": "#/definitions/app.Response"
  14208. }
  14209. }
  14210. }
  14211. }
  14212. },
  14213. "/User/AddUserFavoriteGoods": {
  14214. "post": {
  14215. "security": [
  14216. {
  14217. "ApiKeyAuth": []
  14218. }
  14219. ],
  14220. "produces": [
  14221. "application/json"
  14222. ],
  14223. "tags": [
  14224. "用户信息"
  14225. ],
  14226. "summary": "添加用户商品收藏信息",
  14227. "parameters": [
  14228. {
  14229. "type": "integer",
  14230. "description": "用户ID",
  14231. "name": "userID",
  14232. "in": "query",
  14233. "required": true
  14234. },
  14235. {
  14236. "type": "integer",
  14237. "description": "商品ID",
  14238. "name": "goodsID",
  14239. "in": "query",
  14240. "required": true
  14241. }
  14242. ],
  14243. "responses": {
  14244. "200": {
  14245. "description": "OK",
  14246. "schema": {
  14247. "$ref": "#/definitions/app.Response"
  14248. }
  14249. },
  14250. "500": {
  14251. "description": "Internal Server Error",
  14252. "schema": {
  14253. "$ref": "#/definitions/app.Response"
  14254. }
  14255. }
  14256. }
  14257. }
  14258. },
  14259. "/User/GetLoginID": {
  14260. "get": {
  14261. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  14262. "produces": [
  14263. "application/json"
  14264. ],
  14265. "tags": [
  14266. "用户信息"
  14267. ],
  14268. "summary": "获取登录ID",
  14269. "parameters": [
  14270. {
  14271. "type": "string",
  14272. "description": "登录代码",
  14273. "name": "username",
  14274. "in": "query",
  14275. "required": true
  14276. }
  14277. ],
  14278. "responses": {
  14279. "200": {
  14280. "description": "OK",
  14281. "schema": {
  14282. "$ref": "#/definitions/app.Response"
  14283. }
  14284. },
  14285. "500": {
  14286. "description": "Internal Server Error",
  14287. "schema": {
  14288. "$ref": "#/definitions/app.Response"
  14289. }
  14290. }
  14291. }
  14292. }
  14293. },
  14294. "/User/GetUserAccount": {
  14295. "get": {
  14296. "security": [
  14297. {
  14298. "ApiKeyAuth": []
  14299. }
  14300. ],
  14301. "produces": [
  14302. "application/json"
  14303. ],
  14304. "tags": [
  14305. "用户信息"
  14306. ],
  14307. "summary": "获取用户账号信息",
  14308. "parameters": [
  14309. {
  14310. "type": "integer",
  14311. "description": "用户ID",
  14312. "name": "userID",
  14313. "in": "query",
  14314. "required": true
  14315. }
  14316. ],
  14317. "responses": {
  14318. "200": {
  14319. "description": "OK",
  14320. "schema": {
  14321. "$ref": "#/definitions/models.Useraccount"
  14322. }
  14323. },
  14324. "500": {
  14325. "description": "Internal Server Error",
  14326. "schema": {
  14327. "$ref": "#/definitions/app.Response"
  14328. }
  14329. }
  14330. }
  14331. }
  14332. },
  14333. "/User/GetUserAuthStatus": {
  14334. "get": {
  14335. "security": [
  14336. {
  14337. "ApiKeyAuth": []
  14338. }
  14339. ],
  14340. "produces": [
  14341. "application/json"
  14342. ],
  14343. "tags": [
  14344. "用户信息"
  14345. ],
  14346. "summary": "获取用户实名认证状态",
  14347. "parameters": [
  14348. {
  14349. "type": "integer",
  14350. "description": "用户ID",
  14351. "name": "userID",
  14352. "in": "query",
  14353. "required": true
  14354. }
  14355. ],
  14356. "responses": {
  14357. "200": {
  14358. "description": "OK",
  14359. "schema": {
  14360. "$ref": "#/definitions/app.Response"
  14361. }
  14362. },
  14363. "500": {
  14364. "description": "Internal Server Error",
  14365. "schema": {
  14366. "$ref": "#/definitions/app.Response"
  14367. }
  14368. }
  14369. }
  14370. }
  14371. },
  14372. "/User/LoginQuery": {
  14373. "get": {
  14374. "security": [
  14375. {
  14376. "ApiKeyAuth": []
  14377. }
  14378. ],
  14379. "produces": [
  14380. "application/json"
  14381. ],
  14382. "tags": [
  14383. "用户信息"
  14384. ],
  14385. "summary": "账户登录后信息查询",
  14386. "parameters": [
  14387. {
  14388. "type": "integer",
  14389. "description": "登录账号",
  14390. "name": "loginID",
  14391. "in": "query",
  14392. "required": true
  14393. }
  14394. ],
  14395. "responses": {
  14396. "200": {
  14397. "description": "OK",
  14398. "schema": {
  14399. "$ref": "#/definitions/user.LoginQueryRsp"
  14400. }
  14401. },
  14402. "500": {
  14403. "description": "Internal Server Error",
  14404. "schema": {
  14405. "$ref": "#/definitions/app.Response"
  14406. }
  14407. }
  14408. }
  14409. }
  14410. },
  14411. "/User/QueryMessageBoard": {
  14412. "get": {
  14413. "security": [
  14414. {
  14415. "ApiKeyAuth": []
  14416. }
  14417. ],
  14418. "produces": [
  14419. "application/json"
  14420. ],
  14421. "tags": [
  14422. "用户信息"
  14423. ],
  14424. "summary": "获取用户留言板信息",
  14425. "parameters": [
  14426. {
  14427. "type": "integer",
  14428. "description": "用户ID",
  14429. "name": "userID",
  14430. "in": "query",
  14431. "required": true
  14432. }
  14433. ],
  14434. "responses": {
  14435. "200": {
  14436. "description": "OK",
  14437. "schema": {
  14438. "$ref": "#/definitions/models.Messageboard"
  14439. }
  14440. },
  14441. "500": {
  14442. "description": "Internal Server Error",
  14443. "schema": {
  14444. "$ref": "#/definitions/app.Response"
  14445. }
  14446. }
  14447. }
  14448. }
  14449. },
  14450. "/User/QueryUserFavoriteGoodses": {
  14451. "get": {
  14452. "security": [
  14453. {
  14454. "ApiKeyAuth": []
  14455. }
  14456. ],
  14457. "produces": [
  14458. "application/json"
  14459. ],
  14460. "tags": [
  14461. "用户信息"
  14462. ],
  14463. "summary": "获取用户商品收藏信息",
  14464. "parameters": [
  14465. {
  14466. "type": "integer",
  14467. "description": "用户ID",
  14468. "name": "userID",
  14469. "in": "query",
  14470. "required": true
  14471. }
  14472. ],
  14473. "responses": {
  14474. "200": {
  14475. "description": "OK",
  14476. "schema": {
  14477. "$ref": "#/definitions/models.Userfavoritegoods"
  14478. }
  14479. },
  14480. "500": {
  14481. "description": "Internal Server Error",
  14482. "schema": {
  14483. "$ref": "#/definitions/app.Response"
  14484. }
  14485. }
  14486. }
  14487. }
  14488. },
  14489. "/User/QueryUserInfo": {
  14490. "get": {
  14491. "security": [
  14492. {
  14493. "ApiKeyAuth": []
  14494. }
  14495. ],
  14496. "produces": [
  14497. "application/json"
  14498. ],
  14499. "tags": [
  14500. "用户信息"
  14501. ],
  14502. "summary": "获取用户信息",
  14503. "parameters": [
  14504. {
  14505. "type": "integer",
  14506. "description": "用户ID",
  14507. "name": "userID",
  14508. "in": "query",
  14509. "required": true
  14510. },
  14511. {
  14512. "type": "boolean",
  14513. "description": "是否解密",
  14514. "name": "isDecrypt",
  14515. "in": "query"
  14516. }
  14517. ],
  14518. "responses": {
  14519. "200": {
  14520. "description": "OK",
  14521. "schema": {
  14522. "$ref": "#/definitions/models.Userinfo"
  14523. }
  14524. },
  14525. "500": {
  14526. "description": "Internal Server Error",
  14527. "schema": {
  14528. "$ref": "#/definitions/app.Response"
  14529. }
  14530. }
  14531. }
  14532. }
  14533. },
  14534. "/User/QueryUserReferNum": {
  14535. "get": {
  14536. "produces": [
  14537. "application/json"
  14538. ],
  14539. "tags": [
  14540. "用户信息"
  14541. ],
  14542. "summary": "获取用户邀请码",
  14543. "parameters": [
  14544. {
  14545. "type": "integer",
  14546. "description": "用户ID",
  14547. "name": "userID",
  14548. "in": "query",
  14549. "required": true
  14550. }
  14551. ],
  14552. "responses": {
  14553. "200": {
  14554. "description": "OK",
  14555. "schema": {
  14556. "$ref": "#/definitions/app.Response"
  14557. }
  14558. },
  14559. "500": {
  14560. "description": "Internal Server Error",
  14561. "schema": {
  14562. "$ref": "#/definitions/app.Response"
  14563. }
  14564. }
  14565. }
  14566. }
  14567. },
  14568. "/User/RemoveUserFavoriteGoods": {
  14569. "post": {
  14570. "security": [
  14571. {
  14572. "ApiKeyAuth": []
  14573. }
  14574. ],
  14575. "produces": [
  14576. "application/json"
  14577. ],
  14578. "tags": [
  14579. "用户信息"
  14580. ],
  14581. "summary": "移除用户商品收藏信息",
  14582. "parameters": [
  14583. {
  14584. "type": "integer",
  14585. "description": "用户ID",
  14586. "name": "userID",
  14587. "in": "query",
  14588. "required": true
  14589. },
  14590. {
  14591. "type": "integer",
  14592. "description": "商品ID",
  14593. "name": "goodsID",
  14594. "in": "query",
  14595. "required": true
  14596. }
  14597. ],
  14598. "responses": {
  14599. "200": {
  14600. "description": "OK",
  14601. "schema": {
  14602. "$ref": "#/definitions/app.Response"
  14603. }
  14604. },
  14605. "500": {
  14606. "description": "Internal Server Error",
  14607. "schema": {
  14608. "$ref": "#/definitions/app.Response"
  14609. }
  14610. }
  14611. }
  14612. }
  14613. },
  14614. "/User/UpdateUserAccountStatus": {
  14615. "post": {
  14616. "security": [
  14617. {
  14618. "ApiKeyAuth": []
  14619. }
  14620. ],
  14621. "produces": [
  14622. "application/json"
  14623. ],
  14624. "tags": [
  14625. "用户信息"
  14626. ],
  14627. "summary": "更新用户状态",
  14628. "parameters": [
  14629. {
  14630. "type": "integer",
  14631. "description": "用户ID",
  14632. "name": "userID",
  14633. "in": "query",
  14634. "required": true
  14635. },
  14636. {
  14637. "type": "integer",
  14638. "description": "账户状态 - 4:正常 6:注销(停用)",
  14639. "name": "accountStatus",
  14640. "in": "query",
  14641. "required": true
  14642. }
  14643. ],
  14644. "responses": {
  14645. "200": {
  14646. "description": "OK",
  14647. "schema": {
  14648. "$ref": "#/definitions/app.Response"
  14649. }
  14650. },
  14651. "500": {
  14652. "description": "Internal Server Error",
  14653. "schema": {
  14654. "$ref": "#/definitions/app.Response"
  14655. }
  14656. }
  14657. }
  14658. }
  14659. },
  14660. "/WRTrade/GetAllDeliveryGoods": {
  14661. "get": {
  14662. "security": [
  14663. {
  14664. "ApiKeyAuth": []
  14665. }
  14666. ],
  14667. "produces": [
  14668. "application/json"
  14669. ],
  14670. "tags": [
  14671. "仓单贸易",
  14672. "仓单贸易"
  14673. ],
  14674. "summary": "获取带仓单分类的种类信息",
  14675. "responses": {
  14676. "200": {
  14677. "description": "OK",
  14678. "schema": {
  14679. "$ref": "#/definitions/app.Response"
  14680. }
  14681. },
  14682. "500": {
  14683. "description": "Internal Server Error",
  14684. "schema": {
  14685. "$ref": "#/definitions/app.Response"
  14686. }
  14687. }
  14688. }
  14689. }
  14690. },
  14691. "/WrTrade2/InsertXhcpSellBackApply": {
  14692. "post": {
  14693. "security": [
  14694. {
  14695. "ApiKeyAuth": []
  14696. }
  14697. ],
  14698. "produces": [
  14699. "application/json"
  14700. ],
  14701. "tags": [
  14702. "仓单贸易v2"
  14703. ],
  14704. "summary": "新增回收申请(新会陈皮)",
  14705. "parameters": [
  14706. {
  14707. "description": "回收申请",
  14708. "name": "jsonBody",
  14709. "in": "body",
  14710. "required": true,
  14711. "schema": {
  14712. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  14713. }
  14714. }
  14715. ],
  14716. "responses": {
  14717. "200": {
  14718. "description": "OK",
  14719. "schema": {
  14720. "$ref": "#/definitions/app.Response"
  14721. }
  14722. },
  14723. "500": {
  14724. "description": "Internal Server Error",
  14725. "schema": {
  14726. "$ref": "#/definitions/app.Response"
  14727. }
  14728. }
  14729. }
  14730. }
  14731. },
  14732. "/WrTrade2/QueryDeliveryGoodsSection": {
  14733. "get": {
  14734. "security": [
  14735. {
  14736. "ApiKeyAuth": []
  14737. }
  14738. ],
  14739. "produces": [
  14740. "application/json"
  14741. ],
  14742. "tags": [
  14743. "仓单贸易v2"
  14744. ],
  14745. "summary": "查询板块(分类)",
  14746. "responses": {
  14747. "200": {
  14748. "description": "OK",
  14749. "schema": {
  14750. "type": "array",
  14751. "items": {
  14752. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  14753. }
  14754. }
  14755. },
  14756. "500": {
  14757. "description": "Internal Server Error",
  14758. "schema": {
  14759. "$ref": "#/definitions/app.Response"
  14760. }
  14761. }
  14762. }
  14763. }
  14764. },
  14765. "/WrTrade2/QueryFaProductDetail": {
  14766. "get": {
  14767. "security": [
  14768. {
  14769. "ApiKeyAuth": []
  14770. }
  14771. ],
  14772. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  14773. "produces": [
  14774. "application/json"
  14775. ],
  14776. "tags": [
  14777. "仓单贸易v2"
  14778. ],
  14779. "summary": "查询融资产品列表",
  14780. "parameters": [
  14781. {
  14782. "type": "integer",
  14783. "description": "仓单要素id",
  14784. "name": "wrfactortypeid",
  14785. "in": "query",
  14786. "required": true
  14787. }
  14788. ],
  14789. "responses": {
  14790. "200": {
  14791. "description": "OK",
  14792. "schema": {
  14793. "type": "array",
  14794. "items": {
  14795. "$ref": "#/definitions/models.WrFAProductDetail"
  14796. }
  14797. }
  14798. },
  14799. "500": {
  14800. "description": "Internal Server Error",
  14801. "schema": {
  14802. "$ref": "#/definitions/app.Response"
  14803. }
  14804. }
  14805. }
  14806. }
  14807. },
  14808. "/WrTrade2/QueryFilterItem": {
  14809. "get": {
  14810. "security": [
  14811. {
  14812. "ApiKeyAuth": []
  14813. }
  14814. ],
  14815. "produces": [
  14816. "application/json"
  14817. ],
  14818. "tags": [
  14819. "仓单贸易v2"
  14820. ],
  14821. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14822. "parameters": [
  14823. {
  14824. "type": "string",
  14825. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14826. "name": "itype",
  14827. "in": "query",
  14828. "required": true
  14829. }
  14830. ],
  14831. "responses": {
  14832. "200": {
  14833. "description": "OK",
  14834. "schema": {
  14835. "type": "array",
  14836. "items": {
  14837. "$ref": "#/definitions/models.WrFilterItem"
  14838. }
  14839. }
  14840. },
  14841. "500": {
  14842. "description": "Internal Server Error",
  14843. "schema": {
  14844. "$ref": "#/definitions/app.Response"
  14845. }
  14846. }
  14847. }
  14848. }
  14849. },
  14850. "/WrTrade2/QueryFtDeliveryGoods": {
  14851. "get": {
  14852. "security": [
  14853. {
  14854. "ApiKeyAuth": []
  14855. }
  14856. ],
  14857. "produces": [
  14858. "application/json"
  14859. ],
  14860. "tags": [
  14861. "仓单贸易v2"
  14862. ],
  14863. "summary": "查询品种品类筛选框列表",
  14864. "responses": {
  14865. "200": {
  14866. "description": "OK",
  14867. "schema": {
  14868. "type": "array",
  14869. "items": {
  14870. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14871. }
  14872. }
  14873. },
  14874. "500": {
  14875. "description": "Internal Server Error",
  14876. "schema": {
  14877. "$ref": "#/definitions/app.Response"
  14878. }
  14879. }
  14880. }
  14881. }
  14882. },
  14883. "/WrTrade2/QueryHoldLB": {
  14884. "get": {
  14885. "security": [
  14886. {
  14887. "ApiKeyAuth": []
  14888. }
  14889. ],
  14890. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14891. "produces": [
  14892. "application/json"
  14893. ],
  14894. "tags": [
  14895. "仓单贸易v2"
  14896. ],
  14897. "summary": "查询仓单持有记录",
  14898. "parameters": [
  14899. {
  14900. "type": "integer",
  14901. "description": "资金账号",
  14902. "name": "accountid",
  14903. "in": "query",
  14904. "required": true
  14905. },
  14906. {
  14907. "type": "integer",
  14908. "description": "仓库id",
  14909. "name": "warehouseid",
  14910. "in": "query"
  14911. },
  14912. {
  14913. "type": "integer",
  14914. "description": "品种id",
  14915. "name": "deliverygoodsid",
  14916. "in": "query"
  14917. },
  14918. {
  14919. "type": "integer",
  14920. "description": "品类id",
  14921. "name": "wrstandardid",
  14922. "in": "query"
  14923. },
  14924. {
  14925. "type": "integer",
  14926. "description": "仓单要素id",
  14927. "name": "wrfactortypeid",
  14928. "in": "query"
  14929. },
  14930. {
  14931. "type": "string",
  14932. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14933. "name": "dgitemname",
  14934. "in": "query"
  14935. }
  14936. ],
  14937. "responses": {
  14938. "200": {
  14939. "description": "OK",
  14940. "schema": {
  14941. "type": "array",
  14942. "items": {
  14943. "$ref": "#/definitions/models.WrHoldLB"
  14944. }
  14945. }
  14946. },
  14947. "500": {
  14948. "description": "Internal Server Error",
  14949. "schema": {
  14950. "$ref": "#/definitions/app.Response"
  14951. }
  14952. }
  14953. }
  14954. }
  14955. },
  14956. "/WrTrade2/QueryOrderQuote": {
  14957. "get": {
  14958. "security": [
  14959. {
  14960. "ApiKeyAuth": []
  14961. }
  14962. ],
  14963. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14964. "produces": [
  14965. "application/json"
  14966. ],
  14967. "tags": [
  14968. "仓单贸易v2"
  14969. ],
  14970. "summary": "查询大厅行情列表",
  14971. "parameters": [
  14972. {
  14973. "type": "integer",
  14974. "description": "页码",
  14975. "name": "page",
  14976. "in": "query"
  14977. },
  14978. {
  14979. "type": "integer",
  14980. "description": "每页条数",
  14981. "name": "pagesize",
  14982. "in": "query"
  14983. },
  14984. {
  14985. "type": "integer",
  14986. "description": "仓单贸易市场id",
  14987. "name": "marketid",
  14988. "in": "query"
  14989. },
  14990. {
  14991. "type": "integer",
  14992. "description": "价格方式 - 1:固定价 2-浮动价",
  14993. "name": "wrpricetype",
  14994. "in": "query",
  14995. "required": true
  14996. },
  14997. {
  14998. "type": "integer",
  14999. "description": "0:仓单预售 1:仓单贸易",
  15000. "name": "haswr",
  15001. "in": "query"
  15002. },
  15003. {
  15004. "type": "string",
  15005. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15006. "name": "dgitemname",
  15007. "in": "query"
  15008. },
  15009. {
  15010. "type": "integer",
  15011. "description": "仓库id(筛选条件)",
  15012. "name": "warehouseid",
  15013. "in": "query"
  15014. },
  15015. {
  15016. "type": "integer",
  15017. "description": "品种id",
  15018. "name": "deliverygoodsid",
  15019. "in": "query"
  15020. },
  15021. {
  15022. "type": "integer",
  15023. "description": "品类id",
  15024. "name": "wrstandardid",
  15025. "in": "query"
  15026. },
  15027. {
  15028. "type": "integer",
  15029. "description": "品牌id(dgfactoryitemid)",
  15030. "name": "brandid",
  15031. "in": "query"
  15032. },
  15033. {
  15034. "type": "integer",
  15035. "description": "年份id(dgfactoryitemid)",
  15036. "name": "yearsid",
  15037. "in": "query"
  15038. },
  15039. {
  15040. "type": "integer",
  15041. "description": "仓单要素id",
  15042. "name": "wrfactortypeid",
  15043. "in": "query"
  15044. },
  15045. {
  15046. "type": "string",
  15047. "description": "交收月(yyyy-mm) 仓单预售填写",
  15048. "name": "deliverymonth",
  15049. "in": "query"
  15050. }
  15051. ],
  15052. "responses": {
  15053. "200": {
  15054. "description": "OK",
  15055. "schema": {
  15056. "type": "array",
  15057. "items": {
  15058. "$ref": "#/definitions/models.WrOrderQuote"
  15059. }
  15060. }
  15061. },
  15062. "500": {
  15063. "description": "Internal Server Error",
  15064. "schema": {
  15065. "$ref": "#/definitions/app.Response"
  15066. }
  15067. }
  15068. }
  15069. }
  15070. },
  15071. "/WrTrade2/QueryOrderQuoteDetail": {
  15072. "get": {
  15073. "security": [
  15074. {
  15075. "ApiKeyAuth": []
  15076. }
  15077. ],
  15078. "produces": [
  15079. "application/json"
  15080. ],
  15081. "tags": [
  15082. "仓单贸易v2"
  15083. ],
  15084. "summary": "查询买卖大厅",
  15085. "parameters": [
  15086. {
  15087. "type": "integer",
  15088. "description": "页码",
  15089. "name": "page",
  15090. "in": "query"
  15091. },
  15092. {
  15093. "type": "integer",
  15094. "description": "每页条数",
  15095. "name": "pagesize",
  15096. "in": "query"
  15097. },
  15098. {
  15099. "type": "integer",
  15100. "description": "仓单贸易市场id",
  15101. "name": "marketid",
  15102. "in": "query"
  15103. },
  15104. {
  15105. "type": "integer",
  15106. "description": "价格方式 - 1:固定价 2-浮动价",
  15107. "name": "wrpricetype",
  15108. "in": "query",
  15109. "required": true
  15110. },
  15111. {
  15112. "type": "integer",
  15113. "description": "0:仓单预售 1:仓单贸易",
  15114. "name": "haswr",
  15115. "in": "query"
  15116. },
  15117. {
  15118. "type": "integer",
  15119. "description": "仓单要素id",
  15120. "name": "wrfactortypeid",
  15121. "in": "query",
  15122. "required": true
  15123. },
  15124. {
  15125. "type": "integer",
  15126. "description": "期货商品id(浮动价方式时填)",
  15127. "name": "goodsid",
  15128. "in": "query"
  15129. },
  15130. {
  15131. "type": "integer",
  15132. "description": "买卖方向 0-买 1-卖",
  15133. "name": "buyorsell",
  15134. "in": "query",
  15135. "required": true
  15136. },
  15137. {
  15138. "type": "string",
  15139. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  15140. "name": "deliverymonth",
  15141. "in": "query"
  15142. }
  15143. ],
  15144. "responses": {
  15145. "200": {
  15146. "description": "OK",
  15147. "schema": {
  15148. "type": "array",
  15149. "items": {
  15150. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  15151. }
  15152. }
  15153. },
  15154. "500": {
  15155. "description": "Internal Server Error",
  15156. "schema": {
  15157. "$ref": "#/definitions/app.Response"
  15158. }
  15159. }
  15160. }
  15161. }
  15162. },
  15163. "/WrTrade2/QueryOrderQuoteMyq": {
  15164. "get": {
  15165. "security": [
  15166. {
  15167. "ApiKeyAuth": []
  15168. }
  15169. ],
  15170. "produces": [
  15171. "application/json"
  15172. ],
  15173. "tags": [
  15174. "仓单贸易v2"
  15175. ],
  15176. "summary": "查询贸易圈挂牌大厅",
  15177. "parameters": [
  15178. {
  15179. "type": "integer",
  15180. "description": "页码",
  15181. "name": "page",
  15182. "in": "query"
  15183. },
  15184. {
  15185. "type": "integer",
  15186. "description": "每页条数",
  15187. "name": "pagesize",
  15188. "in": "query"
  15189. },
  15190. {
  15191. "type": "integer",
  15192. "description": "用户id",
  15193. "name": "userid",
  15194. "in": "query",
  15195. "required": true
  15196. },
  15197. {
  15198. "type": "integer",
  15199. "description": "仓单贸易市场id",
  15200. "name": "marketid",
  15201. "in": "query"
  15202. },
  15203. {
  15204. "type": "integer",
  15205. "description": "0:仓单预售 1:仓单贸易",
  15206. "name": "haswr",
  15207. "in": "query"
  15208. },
  15209. {
  15210. "type": "integer",
  15211. "description": "买卖方向 0-买 1-卖",
  15212. "name": "buyorsell",
  15213. "in": "query",
  15214. "required": true
  15215. },
  15216. {
  15217. "type": "integer",
  15218. "description": "品种id",
  15219. "name": "deliverygoodsid",
  15220. "in": "query"
  15221. },
  15222. {
  15223. "type": "integer",
  15224. "description": "品类id",
  15225. "name": "wrstandardid",
  15226. "in": "query"
  15227. },
  15228. {
  15229. "type": "string",
  15230. "description": "交收月(yyyy-mm) 仓单预售填写",
  15231. "name": "deliverymonth",
  15232. "in": "query"
  15233. },
  15234. {
  15235. "type": "string",
  15236. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15237. "name": "dgitemname",
  15238. "in": "query"
  15239. }
  15240. ],
  15241. "responses": {
  15242. "200": {
  15243. "description": "OK",
  15244. "schema": {
  15245. "type": "array",
  15246. "items": {
  15247. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  15248. }
  15249. }
  15250. },
  15251. "500": {
  15252. "description": "Internal Server Error",
  15253. "schema": {
  15254. "$ref": "#/definitions/app.Response"
  15255. }
  15256. }
  15257. }
  15258. }
  15259. },
  15260. "/WrTrade2/QueryPerformancePlan": {
  15261. "get": {
  15262. "security": [
  15263. {
  15264. "ApiKeyAuth": []
  15265. }
  15266. ],
  15267. "produces": [
  15268. "application/json"
  15269. ],
  15270. "tags": [
  15271. "仓单贸易v2"
  15272. ],
  15273. "summary": "查询履约信息",
  15274. "parameters": [
  15275. {
  15276. "type": "integer",
  15277. "description": "用户id",
  15278. "name": "userid",
  15279. "in": "query",
  15280. "required": true
  15281. },
  15282. {
  15283. "type": "integer",
  15284. "description": "买卖方向 0-买 1-卖",
  15285. "name": "buyorsell",
  15286. "in": "query",
  15287. "required": true
  15288. },
  15289. {
  15290. "type": "string",
  15291. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  15292. "name": "status",
  15293. "in": "query"
  15294. },
  15295. {
  15296. "type": "string",
  15297. "description": "开始交易日(yyyymmdd)",
  15298. "name": "begindate",
  15299. "in": "query"
  15300. },
  15301. {
  15302. "type": "string",
  15303. "description": "结束交易日(yyyymmdd)",
  15304. "name": "enddate",
  15305. "in": "query"
  15306. }
  15307. ],
  15308. "responses": {
  15309. "200": {
  15310. "description": "OK",
  15311. "schema": {
  15312. "type": "array",
  15313. "items": {
  15314. "$ref": "#/definitions/models.WrPerformancePlan"
  15315. }
  15316. }
  15317. },
  15318. "500": {
  15319. "description": "Internal Server Error",
  15320. "schema": {
  15321. "$ref": "#/definitions/app.Response"
  15322. }
  15323. }
  15324. }
  15325. }
  15326. },
  15327. "/WrTrade2/QueryPermancePlanTmp": {
  15328. "get": {
  15329. "security": [
  15330. {
  15331. "ApiKeyAuth": []
  15332. }
  15333. ],
  15334. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  15335. "produces": [
  15336. "application/json"
  15337. ],
  15338. "tags": [
  15339. "仓单贸易v2"
  15340. ],
  15341. "summary": "查询履约模板",
  15342. "parameters": [
  15343. {
  15344. "type": "integer",
  15345. "description": "用户id",
  15346. "name": "userid",
  15347. "in": "query"
  15348. },
  15349. {
  15350. "type": "string",
  15351. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  15352. "name": "tmptype",
  15353. "in": "query"
  15354. },
  15355. {
  15356. "type": "integer",
  15357. "description": "是否包含公共模板(用户id为空的) 1-包含",
  15358. "name": "includepub",
  15359. "in": "query"
  15360. },
  15361. {
  15362. "type": "integer",
  15363. "description": "市场id(天津麦顿指定此参数,其它不用)",
  15364. "name": "marketid",
  15365. "in": "query"
  15366. }
  15367. ],
  15368. "responses": {
  15369. "200": {
  15370. "description": "OK",
  15371. "schema": {
  15372. "type": "array",
  15373. "items": {
  15374. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  15375. }
  15376. }
  15377. },
  15378. "500": {
  15379. "description": "Internal Server Error",
  15380. "schema": {
  15381. "$ref": "#/definitions/app.Response"
  15382. }
  15383. }
  15384. }
  15385. }
  15386. },
  15387. "/WrTrade2/QuerySiteColumnDetail": {
  15388. "get": {
  15389. "security": [
  15390. {
  15391. "ApiKeyAuth": []
  15392. }
  15393. ],
  15394. "produces": [
  15395. "application/json"
  15396. ],
  15397. "tags": [
  15398. "仓单贸易v2"
  15399. ],
  15400. "summary": "查询资讯",
  15401. "parameters": [
  15402. {
  15403. "type": "integer",
  15404. "description": "页码",
  15405. "name": "page",
  15406. "in": "query"
  15407. },
  15408. {
  15409. "type": "integer",
  15410. "description": "每页条数",
  15411. "name": "pagesize",
  15412. "in": "query"
  15413. },
  15414. {
  15415. "type": "integer",
  15416. "description": "所属栏目id",
  15417. "name": "columnid",
  15418. "in": "query"
  15419. }
  15420. ],
  15421. "responses": {
  15422. "200": {
  15423. "description": "OK",
  15424. "schema": {
  15425. "type": "array",
  15426. "items": {
  15427. "$ref": "#/definitions/models.WrSiteColumnDetail"
  15428. }
  15429. }
  15430. },
  15431. "500": {
  15432. "description": "Internal Server Error",
  15433. "schema": {
  15434. "$ref": "#/definitions/app.Response"
  15435. }
  15436. }
  15437. }
  15438. }
  15439. },
  15440. "/WrTrade2/QuerySpotGroupTradeSum": {
  15441. "get": {
  15442. "security": [
  15443. {
  15444. "ApiKeyAuth": []
  15445. }
  15446. ],
  15447. "produces": [
  15448. "application/json"
  15449. ],
  15450. "tags": [
  15451. "仓单贸易v2"
  15452. ],
  15453. "summary": "查询指数",
  15454. "responses": {
  15455. "200": {
  15456. "description": "OK",
  15457. "schema": {
  15458. "type": "array",
  15459. "items": {
  15460. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  15461. }
  15462. }
  15463. },
  15464. "500": {
  15465. "description": "Internal Server Error",
  15466. "schema": {
  15467. "$ref": "#/definitions/app.Response"
  15468. }
  15469. }
  15470. }
  15471. }
  15472. },
  15473. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  15474. "get": {
  15475. "security": [
  15476. {
  15477. "ApiKeyAuth": []
  15478. }
  15479. ],
  15480. "description": "查询的结果将会按日期 从小到大 排序",
  15481. "produces": [
  15482. "application/json"
  15483. ],
  15484. "tags": [
  15485. "仓单贸易v2"
  15486. ],
  15487. "summary": "查询指数详细(价格走势图)",
  15488. "parameters": [
  15489. {
  15490. "type": "integer",
  15491. "description": "现货商品id",
  15492. "name": "deliverygoodsid",
  15493. "in": "query",
  15494. "required": true
  15495. },
  15496. {
  15497. "type": "integer",
  15498. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  15499. "name": "lastnum",
  15500. "in": "query"
  15501. }
  15502. ],
  15503. "responses": {
  15504. "200": {
  15505. "description": "OK",
  15506. "schema": {
  15507. "type": "array",
  15508. "items": {
  15509. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  15510. }
  15511. }
  15512. },
  15513. "500": {
  15514. "description": "Internal Server Error",
  15515. "schema": {
  15516. "$ref": "#/definitions/app.Response"
  15517. }
  15518. }
  15519. }
  15520. }
  15521. },
  15522. "/WrTrade2/QueryWrAverageTradePrice": {
  15523. "get": {
  15524. "security": [
  15525. {
  15526. "ApiKeyAuth": []
  15527. }
  15528. ],
  15529. "produces": [
  15530. "application/json"
  15531. ],
  15532. "tags": [
  15533. "仓单贸易v2"
  15534. ],
  15535. "summary": "查询成交价(历史走势)",
  15536. "parameters": [
  15537. {
  15538. "type": "integer",
  15539. "description": "页码",
  15540. "name": "page",
  15541. "in": "query"
  15542. },
  15543. {
  15544. "type": "integer",
  15545. "description": "每页条数",
  15546. "name": "pagesize",
  15547. "in": "query"
  15548. },
  15549. {
  15550. "type": "integer",
  15551. "description": "0:仓单预售 1:仓单贸易",
  15552. "name": "haswr",
  15553. "in": "query",
  15554. "required": true
  15555. },
  15556. {
  15557. "type": "integer",
  15558. "description": "仓单要素id",
  15559. "name": "wrfactortypeid",
  15560. "in": "query",
  15561. "required": true
  15562. }
  15563. ],
  15564. "responses": {
  15565. "200": {
  15566. "description": "OK",
  15567. "schema": {
  15568. "type": "array",
  15569. "items": {
  15570. "$ref": "#/definitions/models.WrAverageTradePrice"
  15571. }
  15572. }
  15573. },
  15574. "500": {
  15575. "description": "Internal Server Error",
  15576. "schema": {
  15577. "$ref": "#/definitions/app.Response"
  15578. }
  15579. }
  15580. }
  15581. }
  15582. },
  15583. "/WrTrade2/QueryWrBrandAndYears": {
  15584. "get": {
  15585. "security": [
  15586. {
  15587. "ApiKeyAuth": []
  15588. }
  15589. ],
  15590. "produces": [
  15591. "application/json"
  15592. ],
  15593. "tags": [
  15594. "仓单贸易v2"
  15595. ],
  15596. "summary": "查询品牌和年份",
  15597. "responses": {
  15598. "200": {
  15599. "description": "OK",
  15600. "schema": {
  15601. "type": "array",
  15602. "items": {
  15603. "$ref": "#/definitions/models.WrBrandAndYears"
  15604. }
  15605. }
  15606. },
  15607. "500": {
  15608. "description": "Internal Server Error",
  15609. "schema": {
  15610. "$ref": "#/definitions/app.Response"
  15611. }
  15612. }
  15613. }
  15614. }
  15615. },
  15616. "/WrTrade2/QueryWrBsGoodsInfo": {
  15617. "get": {
  15618. "security": [
  15619. {
  15620. "ApiKeyAuth": []
  15621. }
  15622. ],
  15623. "description": "合约交易/买卖大厅/详情",
  15624. "produces": [
  15625. "application/json"
  15626. ],
  15627. "tags": [
  15628. "仓单贸易v2"
  15629. ],
  15630. "summary": "查询合约交易买卖大厅详情",
  15631. "parameters": [
  15632. {
  15633. "type": "integer",
  15634. "description": "商品id",
  15635. "name": "goodsid",
  15636. "in": "query",
  15637. "required": true
  15638. }
  15639. ],
  15640. "responses": {
  15641. "200": {
  15642. "description": "OK",
  15643. "schema": {
  15644. "type": "array",
  15645. "items": {
  15646. "$ref": "#/definitions/models.WrBsGoodsInfo"
  15647. }
  15648. }
  15649. },
  15650. "500": {
  15651. "description": "Internal Server Error",
  15652. "schema": {
  15653. "$ref": "#/definitions/app.Response"
  15654. }
  15655. }
  15656. }
  15657. }
  15658. },
  15659. "/WrTrade2/QueryWrBuybackDetail": {
  15660. "get": {
  15661. "security": [
  15662. {
  15663. "ApiKeyAuth": []
  15664. }
  15665. ],
  15666. "produces": [
  15667. "application/json"
  15668. ],
  15669. "tags": [
  15670. "仓单贸易v2"
  15671. ],
  15672. "summary": "查询仓单回购明细",
  15673. "parameters": [
  15674. {
  15675. "type": "integer",
  15676. "description": "融资合同id",
  15677. "name": "scfcontractid",
  15678. "in": "query"
  15679. }
  15680. ],
  15681. "responses": {
  15682. "200": {
  15683. "description": "OK",
  15684. "schema": {
  15685. "type": "array",
  15686. "items": {
  15687. "$ref": "#/definitions/models.WrBuybackDetail"
  15688. }
  15689. }
  15690. },
  15691. "500": {
  15692. "description": "Internal Server Error",
  15693. "schema": {
  15694. "$ref": "#/definitions/app.Response"
  15695. }
  15696. }
  15697. }
  15698. }
  15699. },
  15700. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  15701. "get": {
  15702. "security": [
  15703. {
  15704. "ApiKeyAuth": []
  15705. }
  15706. ],
  15707. "produces": [
  15708. "application/json"
  15709. ],
  15710. "tags": [
  15711. "仓单贸易v2"
  15712. ],
  15713. "summary": "查询固定广告配置",
  15714. "responses": {
  15715. "200": {
  15716. "description": "OK",
  15717. "schema": {
  15718. "type": "array",
  15719. "items": {
  15720. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  15721. }
  15722. }
  15723. },
  15724. "500": {
  15725. "description": "Internal Server Error",
  15726. "schema": {
  15727. "$ref": "#/definitions/app.Response"
  15728. }
  15729. }
  15730. }
  15731. }
  15732. },
  15733. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  15734. "get": {
  15735. "security": [
  15736. {
  15737. "ApiKeyAuth": []
  15738. }
  15739. ],
  15740. "produces": [
  15741. "application/json"
  15742. ],
  15743. "tags": [
  15744. "仓单贸易v2"
  15745. ],
  15746. "summary": "查询合约交收可点选仓单",
  15747. "parameters": [
  15748. {
  15749. "type": "integer",
  15750. "description": "资金账号",
  15751. "name": "accountid",
  15752. "in": "query",
  15753. "required": true
  15754. },
  15755. {
  15756. "type": "integer",
  15757. "description": "商品id",
  15758. "name": "goodsid",
  15759. "in": "query",
  15760. "required": true
  15761. }
  15762. ],
  15763. "responses": {
  15764. "200": {
  15765. "description": "OK",
  15766. "schema": {
  15767. "type": "array",
  15768. "items": {
  15769. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  15770. }
  15771. }
  15772. },
  15773. "500": {
  15774. "description": "Internal Server Error",
  15775. "schema": {
  15776. "$ref": "#/definitions/app.Response"
  15777. }
  15778. }
  15779. }
  15780. }
  15781. },
  15782. "/WrTrade2/QueryWrDeliveryDetail": {
  15783. "get": {
  15784. "security": [
  15785. {
  15786. "ApiKeyAuth": []
  15787. }
  15788. ],
  15789. "produces": [
  15790. "application/json"
  15791. ],
  15792. "tags": [
  15793. "仓单贸易v2"
  15794. ],
  15795. "summary": "查询交收",
  15796. "parameters": [
  15797. {
  15798. "type": "integer",
  15799. "description": "用户id",
  15800. "name": "userid",
  15801. "in": "query",
  15802. "required": true
  15803. },
  15804. {
  15805. "type": "integer",
  15806. "description": "资金账号id",
  15807. "name": "accountid",
  15808. "in": "query"
  15809. },
  15810. {
  15811. "type": "string",
  15812. "description": "开始交易日(yyyymmdd)",
  15813. "name": "begindate",
  15814. "in": "query"
  15815. },
  15816. {
  15817. "type": "string",
  15818. "description": "结束交易日(yyyymmdd)",
  15819. "name": "enddate",
  15820. "in": "query"
  15821. }
  15822. ],
  15823. "responses": {
  15824. "200": {
  15825. "description": "OK",
  15826. "schema": {
  15827. "type": "array",
  15828. "items": {
  15829. "$ref": "#/definitions/models.WrDeliveryDetail"
  15830. }
  15831. }
  15832. },
  15833. "500": {
  15834. "description": "Internal Server Error",
  15835. "schema": {
  15836. "$ref": "#/definitions/app.Response"
  15837. }
  15838. }
  15839. }
  15840. }
  15841. },
  15842. "/WrTrade2/QueryWrDraftUserInfo": {
  15843. "get": {
  15844. "security": [
  15845. {
  15846. "ApiKeyAuth": []
  15847. }
  15848. ],
  15849. "produces": [
  15850. "application/json"
  15851. ],
  15852. "tags": [
  15853. "仓单贸易v2"
  15854. ],
  15855. "summary": "查询实名认证信息",
  15856. "parameters": [
  15857. {
  15858. "type": "integer",
  15859. "description": "用户ID",
  15860. "name": "userid",
  15861. "in": "query",
  15862. "required": true
  15863. },
  15864. {
  15865. "type": "integer",
  15866. "description": "用户状态 1:正常 2:注销",
  15867. "name": "userstatus",
  15868. "in": "query"
  15869. }
  15870. ],
  15871. "responses": {
  15872. "200": {
  15873. "description": "OK",
  15874. "schema": {
  15875. "type": "array",
  15876. "items": {
  15877. "$ref": "#/definitions/models.WrDraftUserInfo"
  15878. }
  15879. }
  15880. },
  15881. "500": {
  15882. "description": "Internal Server Error",
  15883. "schema": {
  15884. "$ref": "#/definitions/app.Response"
  15885. }
  15886. }
  15887. }
  15888. }
  15889. },
  15890. "/WrTrade2/QueryWrFactorTypeInfo": {
  15891. "get": {
  15892. "security": [
  15893. {
  15894. "ApiKeyAuth": []
  15895. }
  15896. ],
  15897. "produces": [
  15898. "application/json"
  15899. ],
  15900. "tags": [
  15901. "仓单贸易v2"
  15902. ],
  15903. "summary": "查询仓单要素详细信息",
  15904. "parameters": [
  15905. {
  15906. "type": "integer",
  15907. "description": "仓单要素id",
  15908. "name": "wrfactortypeid",
  15909. "in": "query",
  15910. "required": true
  15911. }
  15912. ],
  15913. "responses": {
  15914. "200": {
  15915. "description": "OK",
  15916. "schema": {
  15917. "type": "array",
  15918. "items": {
  15919. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15920. }
  15921. }
  15922. },
  15923. "500": {
  15924. "description": "Internal Server Error",
  15925. "schema": {
  15926. "$ref": "#/definitions/app.Response"
  15927. }
  15928. }
  15929. }
  15930. }
  15931. },
  15932. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15933. "get": {
  15934. "security": [
  15935. {
  15936. "ApiKeyAuth": []
  15937. }
  15938. ],
  15939. "produces": [
  15940. "application/json"
  15941. ],
  15942. "tags": [
  15943. "仓单贸易v2"
  15944. ],
  15945. "summary": "查询仓单要素详细信息列表项",
  15946. "parameters": [
  15947. {
  15948. "type": "integer",
  15949. "description": "仓单要素id",
  15950. "name": "wrfactortypeid",
  15951. "in": "query",
  15952. "required": true
  15953. }
  15954. ],
  15955. "responses": {
  15956. "200": {
  15957. "description": "OK",
  15958. "schema": {
  15959. "type": "array",
  15960. "items": {
  15961. "$ref": "#/definitions/models.WrTypeItem"
  15962. }
  15963. }
  15964. },
  15965. "500": {
  15966. "description": "Internal Server Error",
  15967. "schema": {
  15968. "$ref": "#/definitions/app.Response"
  15969. }
  15970. }
  15971. }
  15972. }
  15973. },
  15974. "/WrTrade2/QueryWrFinanceBuyApply": {
  15975. "get": {
  15976. "security": [
  15977. {
  15978. "ApiKeyAuth": []
  15979. }
  15980. ],
  15981. "description": "页面 融资信息+ / 申请单",
  15982. "produces": [
  15983. "application/json"
  15984. ],
  15985. "tags": [
  15986. "仓单贸易v2"
  15987. ],
  15988. "summary": "查询融资购买申请",
  15989. "parameters": [
  15990. {
  15991. "type": "integer",
  15992. "description": "用户id",
  15993. "name": "userid",
  15994. "in": "query",
  15995. "required": true
  15996. }
  15997. ],
  15998. "responses": {
  15999. "200": {
  16000. "description": "OK",
  16001. "schema": {
  16002. "type": "array",
  16003. "items": {
  16004. "$ref": "#/definitions/models.WrFinanceBuyApply"
  16005. }
  16006. }
  16007. },
  16008. "500": {
  16009. "description": "Internal Server Error",
  16010. "schema": {
  16011. "$ref": "#/definitions/app.Response"
  16012. }
  16013. }
  16014. }
  16015. }
  16016. },
  16017. "/WrTrade2/QueryWrFriendApply": {
  16018. "get": {
  16019. "security": [
  16020. {
  16021. "ApiKeyAuth": []
  16022. }
  16023. ],
  16024. "produces": [
  16025. "application/json"
  16026. ],
  16027. "tags": [
  16028. "仓单贸易v2"
  16029. ],
  16030. "summary": "查询好友申请记录",
  16031. "parameters": [
  16032. {
  16033. "type": "integer",
  16034. "description": "用户id",
  16035. "name": "userid",
  16036. "in": "query",
  16037. "required": true
  16038. }
  16039. ],
  16040. "responses": {
  16041. "200": {
  16042. "description": "OK",
  16043. "schema": {
  16044. "type": "array",
  16045. "items": {
  16046. "$ref": "#/definitions/models.WrFriendApply"
  16047. }
  16048. }
  16049. },
  16050. "500": {
  16051. "description": "Internal Server Error",
  16052. "schema": {
  16053. "$ref": "#/definitions/app.Response"
  16054. }
  16055. }
  16056. }
  16057. }
  16058. },
  16059. "/WrTrade2/QueryWrGoodsInfo": {
  16060. "get": {
  16061. "security": [
  16062. {
  16063. "ApiKeyAuth": []
  16064. }
  16065. ],
  16066. "produces": [
  16067. "application/json"
  16068. ],
  16069. "tags": [
  16070. "仓单贸易v2"
  16071. ],
  16072. "summary": "查询仓单商品信息",
  16073. "parameters": [
  16074. {
  16075. "type": "integer",
  16076. "description": "仓单贸易市场id",
  16077. "name": "marketid",
  16078. "in": "query"
  16079. },
  16080. {
  16081. "type": "integer",
  16082. "description": "0:仓单预售 1:仓单贸易",
  16083. "name": "haswr",
  16084. "in": "query",
  16085. "required": true
  16086. },
  16087. {
  16088. "type": "integer",
  16089. "description": "仓单要素id",
  16090. "name": "wrfactortypeid",
  16091. "in": "query",
  16092. "required": true
  16093. },
  16094. {
  16095. "type": "integer",
  16096. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  16097. "name": "tmplateid",
  16098. "in": "query"
  16099. }
  16100. ],
  16101. "responses": {
  16102. "200": {
  16103. "description": "OK",
  16104. "schema": {
  16105. "type": "array",
  16106. "items": {
  16107. "$ref": "#/definitions/models.WrGoodsInfo"
  16108. }
  16109. }
  16110. },
  16111. "500": {
  16112. "description": "Internal Server Error",
  16113. "schema": {
  16114. "$ref": "#/definitions/app.Response"
  16115. }
  16116. }
  16117. }
  16118. }
  16119. },
  16120. "/WrTrade2/QueryWrMarketTradeConfig": {
  16121. "get": {
  16122. "security": [
  16123. {
  16124. "ApiKeyAuth": []
  16125. }
  16126. ],
  16127. "produces": [
  16128. "application/json"
  16129. ],
  16130. "tags": [
  16131. "仓单贸易v2"
  16132. ],
  16133. "summary": "查询市场交易参数配置",
  16134. "parameters": [
  16135. {
  16136. "type": "integer",
  16137. "description": "市场id",
  16138. "name": "marketid",
  16139. "in": "query"
  16140. }
  16141. ],
  16142. "responses": {
  16143. "200": {
  16144. "description": "OK",
  16145. "schema": {
  16146. "type": "array",
  16147. "items": {
  16148. "$ref": "#/definitions/models.WrMarketTradeConfig"
  16149. }
  16150. }
  16151. },
  16152. "500": {
  16153. "description": "Internal Server Error",
  16154. "schema": {
  16155. "$ref": "#/definitions/app.Response"
  16156. }
  16157. }
  16158. }
  16159. }
  16160. },
  16161. "/WrTrade2/QueryWrOrderDetail": {
  16162. "get": {
  16163. "security": [
  16164. {
  16165. "ApiKeyAuth": []
  16166. }
  16167. ],
  16168. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  16169. "produces": [
  16170. "application/json"
  16171. ],
  16172. "tags": [
  16173. "仓单贸易v2"
  16174. ],
  16175. "summary": "查询仓单委托单",
  16176. "parameters": [
  16177. {
  16178. "type": "integer",
  16179. "description": "页码",
  16180. "name": "page",
  16181. "in": "query"
  16182. },
  16183. {
  16184. "type": "integer",
  16185. "description": "每页条数",
  16186. "name": "pagesize",
  16187. "in": "query"
  16188. },
  16189. {
  16190. "type": "integer",
  16191. "description": "用户id",
  16192. "name": "userid",
  16193. "in": "query",
  16194. "required": true
  16195. },
  16196. {
  16197. "type": "integer",
  16198. "description": "仓单贸易市场id",
  16199. "name": "marketid",
  16200. "in": "query"
  16201. },
  16202. {
  16203. "type": "integer",
  16204. "description": "0:仓单预售 1:仓单贸易",
  16205. "name": "haswr",
  16206. "in": "query",
  16207. "required": true
  16208. },
  16209. {
  16210. "type": "integer",
  16211. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  16212. "name": "bcancel",
  16213. "in": "query"
  16214. },
  16215. {
  16216. "type": "integer",
  16217. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  16218. "name": "wrtradetype",
  16219. "in": "query"
  16220. },
  16221. {
  16222. "type": "string",
  16223. "description": "开始交易日(yyyymmdd)",
  16224. "name": "begindate",
  16225. "in": "query"
  16226. },
  16227. {
  16228. "type": "string",
  16229. "description": "结束交易日(yyyymmdd)",
  16230. "name": "enddate",
  16231. "in": "query"
  16232. }
  16233. ],
  16234. "responses": {
  16235. "200": {
  16236. "description": "OK",
  16237. "schema": {
  16238. "type": "array",
  16239. "items": {
  16240. "$ref": "#/definitions/models.WrOrderDetail"
  16241. }
  16242. }
  16243. },
  16244. "500": {
  16245. "description": "Internal Server Error",
  16246. "schema": {
  16247. "$ref": "#/definitions/app.Response"
  16248. }
  16249. }
  16250. }
  16251. }
  16252. },
  16253. "/WrTrade2/QueryWrOutInApply": {
  16254. "get": {
  16255. "security": [
  16256. {
  16257. "ApiKeyAuth": []
  16258. }
  16259. ],
  16260. "produces": [
  16261. "application/json"
  16262. ],
  16263. "tags": [
  16264. "仓单贸易v2"
  16265. ],
  16266. "summary": "查询提货申请",
  16267. "parameters": [
  16268. {
  16269. "type": "integer",
  16270. "description": "页码",
  16271. "name": "page",
  16272. "in": "query"
  16273. },
  16274. {
  16275. "type": "integer",
  16276. "description": "每页条数",
  16277. "name": "pagesize",
  16278. "in": "query"
  16279. },
  16280. {
  16281. "type": "integer",
  16282. "description": "用户id",
  16283. "name": "userid",
  16284. "in": "query",
  16285. "required": true
  16286. },
  16287. {
  16288. "type": "string",
  16289. "description": "开始交易日(yyyymmdd)",
  16290. "name": "begindate",
  16291. "in": "query"
  16292. },
  16293. {
  16294. "type": "string",
  16295. "description": "结束交易日(yyyymmdd)",
  16296. "name": "enddate",
  16297. "in": "query"
  16298. }
  16299. ],
  16300. "responses": {
  16301. "200": {
  16302. "description": "OK",
  16303. "schema": {
  16304. "type": "array",
  16305. "items": {
  16306. "$ref": "#/definitions/models.WrOutInApply"
  16307. }
  16308. }
  16309. },
  16310. "500": {
  16311. "description": "Internal Server Error",
  16312. "schema": {
  16313. "$ref": "#/definitions/app.Response"
  16314. }
  16315. }
  16316. }
  16317. }
  16318. },
  16319. "/WrTrade2/QueryWrPerformancePlanStep": {
  16320. "get": {
  16321. "security": [
  16322. {
  16323. "ApiKeyAuth": []
  16324. }
  16325. ],
  16326. "produces": [
  16327. "application/json"
  16328. ],
  16329. "tags": [
  16330. "仓单贸易v2"
  16331. ],
  16332. "summary": "查询履约信息详情",
  16333. "parameters": [
  16334. {
  16335. "type": "integer",
  16336. "description": "履约计划id(performanceplanid)",
  16337. "name": "planid",
  16338. "in": "query",
  16339. "required": true
  16340. },
  16341. {
  16342. "type": "integer",
  16343. "description": "当前步骤id",
  16344. "name": "curstepid",
  16345. "in": "query"
  16346. }
  16347. ],
  16348. "responses": {
  16349. "200": {
  16350. "description": "OK",
  16351. "schema": {
  16352. "type": "array",
  16353. "items": {
  16354. "$ref": "#/definitions/models.WrPerformancePlanStep"
  16355. }
  16356. }
  16357. },
  16358. "500": {
  16359. "description": "Internal Server Error",
  16360. "schema": {
  16361. "$ref": "#/definitions/app.Response"
  16362. }
  16363. }
  16364. }
  16365. }
  16366. },
  16367. "/WrTrade2/QueryWrPerformanceStepType": {
  16368. "get": {
  16369. "security": [
  16370. {
  16371. "ApiKeyAuth": []
  16372. }
  16373. ],
  16374. "produces": [
  16375. "application/json"
  16376. ],
  16377. "tags": [
  16378. "仓单贸易v2"
  16379. ],
  16380. "summary": "查询履约步骤枚举",
  16381. "responses": {
  16382. "200": {
  16383. "description": "OK",
  16384. "schema": {
  16385. "type": "array",
  16386. "items": {
  16387. "$ref": "#/definitions/models.WrPerformanceStepType"
  16388. }
  16389. }
  16390. },
  16391. "500": {
  16392. "description": "Internal Server Error",
  16393. "schema": {
  16394. "$ref": "#/definitions/app.Response"
  16395. }
  16396. }
  16397. }
  16398. }
  16399. },
  16400. "/WrTrade2/QueryWrPosition": {
  16401. "get": {
  16402. "security": [
  16403. {
  16404. "ApiKeyAuth": []
  16405. }
  16406. ],
  16407. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  16408. "produces": [
  16409. "application/json"
  16410. ],
  16411. "tags": [
  16412. "仓单贸易v2"
  16413. ],
  16414. "summary": "查询现货(预售)仓单持仓",
  16415. "parameters": [
  16416. {
  16417. "type": "integer",
  16418. "description": "用户id",
  16419. "name": "userid",
  16420. "in": "query",
  16421. "required": true
  16422. },
  16423. {
  16424. "type": "integer",
  16425. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  16426. "name": "querytype",
  16427. "in": "query",
  16428. "required": true
  16429. },
  16430. {
  16431. "type": "integer",
  16432. "description": "0:仓单预售 1:仓单贸易",
  16433. "name": "haswr",
  16434. "in": "query",
  16435. "required": true
  16436. },
  16437. {
  16438. "type": "string",
  16439. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16440. "name": "dgitemname",
  16441. "in": "query"
  16442. },
  16443. {
  16444. "type": "integer",
  16445. "description": "仓库id(筛选条件)",
  16446. "name": "warehouseid",
  16447. "in": "query"
  16448. },
  16449. {
  16450. "type": "integer",
  16451. "description": "品种id",
  16452. "name": "deliverygoodsid",
  16453. "in": "query"
  16454. },
  16455. {
  16456. "type": "integer",
  16457. "description": "品类id",
  16458. "name": "wrstandardid",
  16459. "in": "query"
  16460. }
  16461. ],
  16462. "responses": {
  16463. "200": {
  16464. "description": "OK",
  16465. "schema": {
  16466. "type": "array",
  16467. "items": {
  16468. "$ref": "#/definitions/models.WrPosition"
  16469. }
  16470. }
  16471. },
  16472. "500": {
  16473. "description": "Internal Server Error",
  16474. "schema": {
  16475. "$ref": "#/definitions/app.Response"
  16476. }
  16477. }
  16478. }
  16479. }
  16480. },
  16481. "/WrTrade2/QueryWrPreSaleInfo": {
  16482. "get": {
  16483. "security": [
  16484. {
  16485. "ApiKeyAuth": []
  16486. }
  16487. ],
  16488. "produces": [
  16489. "application/json"
  16490. ],
  16491. "tags": [
  16492. "仓单贸易v2"
  16493. ],
  16494. "summary": "查询新品发布",
  16495. "parameters": [
  16496. {
  16497. "type": "integer",
  16498. "description": "市场id",
  16499. "name": "marketid",
  16500. "in": "query"
  16501. },
  16502. {
  16503. "type": "string",
  16504. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  16505. "name": "presalestatus",
  16506. "in": "query"
  16507. },
  16508. {
  16509. "type": "integer",
  16510. "description": "摇号标识 - 0:未摇号 1:已摇号",
  16511. "name": "lotteryflag",
  16512. "in": "query"
  16513. },
  16514. {
  16515. "type": "integer",
  16516. "description": "最近多少条记录(按创建时间倒序)",
  16517. "name": "lastnum",
  16518. "in": "query"
  16519. }
  16520. ],
  16521. "responses": {
  16522. "200": {
  16523. "description": "OK",
  16524. "schema": {
  16525. "type": "array",
  16526. "items": {
  16527. "$ref": "#/definitions/models.WrPreSaleInfo"
  16528. }
  16529. }
  16530. },
  16531. "500": {
  16532. "description": "Internal Server Error",
  16533. "schema": {
  16534. "$ref": "#/definitions/app.Response"
  16535. }
  16536. }
  16537. }
  16538. }
  16539. },
  16540. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  16541. "get": {
  16542. "security": [
  16543. {
  16544. "ApiKeyAuth": []
  16545. }
  16546. ],
  16547. "produces": [
  16548. "application/json"
  16549. ],
  16550. "tags": [
  16551. "仓单贸易v2"
  16552. ],
  16553. "summary": "查询价格走势",
  16554. "parameters": [
  16555. {
  16556. "type": "integer",
  16557. "description": "市场id",
  16558. "name": "marketid",
  16559. "in": "query",
  16560. "required": true
  16561. },
  16562. {
  16563. "type": "integer",
  16564. "description": "现货商品id",
  16565. "name": "wrstandardid",
  16566. "in": "query",
  16567. "required": true
  16568. },
  16569. {
  16570. "type": "string",
  16571. "description": "开始交易日(yyyymmdd)",
  16572. "name": "begindate",
  16573. "in": "query"
  16574. },
  16575. {
  16576. "type": "string",
  16577. "description": "结束交易日(yyyymmdd)",
  16578. "name": "enddate",
  16579. "in": "query"
  16580. },
  16581. {
  16582. "type": "integer",
  16583. "description": "最近多少条记录(按交易日倒序)",
  16584. "name": "lastnum",
  16585. "in": "query"
  16586. },
  16587. {
  16588. "type": "boolean",
  16589. "description": "是否今日",
  16590. "name": "istoday",
  16591. "in": "query"
  16592. }
  16593. ],
  16594. "responses": {
  16595. "200": {
  16596. "description": "OK",
  16597. "schema": {
  16598. "type": "array",
  16599. "items": {
  16600. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  16601. }
  16602. }
  16603. },
  16604. "500": {
  16605. "description": "Internal Server Error",
  16606. "schema": {
  16607. "$ref": "#/definitions/app.Response"
  16608. }
  16609. }
  16610. }
  16611. }
  16612. },
  16613. "/WrTrade2/QueryWrScfContract": {
  16614. "get": {
  16615. "security": [
  16616. {
  16617. "ApiKeyAuth": []
  16618. }
  16619. ],
  16620. "produces": [
  16621. "application/json"
  16622. ],
  16623. "tags": [
  16624. "仓单贸易v2"
  16625. ],
  16626. "summary": "查询仓单贸易融资合同",
  16627. "parameters": [
  16628. {
  16629. "type": "integer",
  16630. "description": "用户id",
  16631. "name": "userid",
  16632. "in": "query",
  16633. "required": true
  16634. },
  16635. {
  16636. "type": "integer",
  16637. "description": "融资合同id",
  16638. "name": "scfcontractid",
  16639. "in": "query"
  16640. }
  16641. ],
  16642. "responses": {
  16643. "200": {
  16644. "description": "OK",
  16645. "schema": {
  16646. "type": "array",
  16647. "items": {
  16648. "$ref": "#/definitions/models.WrScfContract"
  16649. }
  16650. }
  16651. },
  16652. "500": {
  16653. "description": "Internal Server Error",
  16654. "schema": {
  16655. "$ref": "#/definitions/app.Response"
  16656. }
  16657. }
  16658. }
  16659. }
  16660. },
  16661. "/WrTrade2/QueryWrScfContractInterest": {
  16662. "get": {
  16663. "security": [
  16664. {
  16665. "ApiKeyAuth": []
  16666. }
  16667. ],
  16668. "produces": [
  16669. "application/json"
  16670. ],
  16671. "tags": [
  16672. "仓单贸易v2"
  16673. ],
  16674. "summary": "查询融资合同费用明细",
  16675. "parameters": [
  16676. {
  16677. "type": "integer",
  16678. "description": "融资合同id",
  16679. "name": "scfcontractid",
  16680. "in": "query"
  16681. }
  16682. ],
  16683. "responses": {
  16684. "200": {
  16685. "description": "OK",
  16686. "schema": {
  16687. "type": "array",
  16688. "items": {
  16689. "$ref": "#/definitions/models.WrScfContractInterest"
  16690. }
  16691. }
  16692. },
  16693. "500": {
  16694. "description": "Internal Server Error",
  16695. "schema": {
  16696. "$ref": "#/definitions/app.Response"
  16697. }
  16698. }
  16699. }
  16700. }
  16701. },
  16702. "/WrTrade2/QueryWrSearchUser": {
  16703. "get": {
  16704. "security": [
  16705. {
  16706. "ApiKeyAuth": []
  16707. }
  16708. ],
  16709. "produces": [
  16710. "application/json"
  16711. ],
  16712. "tags": [
  16713. "仓单贸易v2"
  16714. ],
  16715. "summary": "查询用户",
  16716. "parameters": [
  16717. {
  16718. "type": "string",
  16719. "description": "用户名称(模糊匹配)",
  16720. "name": "username",
  16721. "in": "query",
  16722. "required": true
  16723. }
  16724. ],
  16725. "responses": {
  16726. "200": {
  16727. "description": "OK",
  16728. "schema": {
  16729. "type": "array",
  16730. "items": {
  16731. "$ref": "#/definitions/models.WrSearchUser"
  16732. }
  16733. }
  16734. },
  16735. "500": {
  16736. "description": "Internal Server Error",
  16737. "schema": {
  16738. "$ref": "#/definitions/app.Response"
  16739. }
  16740. }
  16741. }
  16742. }
  16743. },
  16744. "/WrTrade2/QueryWrSpecialMatchOrder": {
  16745. "get": {
  16746. "security": [
  16747. {
  16748. "ApiKeyAuth": []
  16749. }
  16750. ],
  16751. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  16752. "produces": [
  16753. "application/json"
  16754. ],
  16755. "tags": [
  16756. "仓单贸易v2"
  16757. ],
  16758. "summary": "查询指定成交",
  16759. "parameters": [
  16760. {
  16761. "type": "integer",
  16762. "description": "页码",
  16763. "name": "page",
  16764. "in": "query"
  16765. },
  16766. {
  16767. "type": "integer",
  16768. "description": "每页条数",
  16769. "name": "pagesize",
  16770. "in": "query"
  16771. },
  16772. {
  16773. "type": "integer",
  16774. "description": "用户id",
  16775. "name": "userid",
  16776. "in": "query",
  16777. "required": true
  16778. },
  16779. {
  16780. "type": "integer",
  16781. "description": "仓单贸易市场id",
  16782. "name": "marketid",
  16783. "in": "query"
  16784. },
  16785. {
  16786. "type": "integer",
  16787. "description": "0:仓单预售 1:仓单贸易",
  16788. "name": "haswr",
  16789. "in": "query",
  16790. "required": true
  16791. },
  16792. {
  16793. "type": "integer",
  16794. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  16795. "name": "isspecified",
  16796. "in": "query"
  16797. }
  16798. ],
  16799. "responses": {
  16800. "200": {
  16801. "description": "OK",
  16802. "schema": {
  16803. "type": "array",
  16804. "items": {
  16805. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  16806. }
  16807. }
  16808. },
  16809. "500": {
  16810. "description": "Internal Server Error",
  16811. "schema": {
  16812. "$ref": "#/definitions/app.Response"
  16813. }
  16814. }
  16815. }
  16816. }
  16817. },
  16818. "/WrTrade2/QueryWrStandardFactoryItem": {
  16819. "get": {
  16820. "security": [
  16821. {
  16822. "ApiKeyAuth": []
  16823. }
  16824. ],
  16825. "produces": [
  16826. "application/json"
  16827. ],
  16828. "tags": [
  16829. "仓单贸易v2"
  16830. ],
  16831. "summary": "查询品类要素定义项",
  16832. "parameters": [
  16833. {
  16834. "type": "integer",
  16835. "description": "品类id",
  16836. "name": "wrstandardid",
  16837. "in": "query",
  16838. "required": true
  16839. }
  16840. ],
  16841. "responses": {
  16842. "200": {
  16843. "description": "OK",
  16844. "schema": {
  16845. "type": "array",
  16846. "items": {
  16847. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16848. }
  16849. }
  16850. },
  16851. "500": {
  16852. "description": "Internal Server Error",
  16853. "schema": {
  16854. "$ref": "#/definitions/app.Response"
  16855. }
  16856. }
  16857. }
  16858. }
  16859. },
  16860. "/WrTrade2/QueryWrTradeBargainApply": {
  16861. "get": {
  16862. "security": [
  16863. {
  16864. "ApiKeyAuth": []
  16865. }
  16866. ],
  16867. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16868. "produces": [
  16869. "application/json"
  16870. ],
  16871. "tags": [
  16872. "仓单贸易v2"
  16873. ],
  16874. "summary": "查询议价单",
  16875. "parameters": [
  16876. {
  16877. "type": "integer",
  16878. "description": "议价人id(摘牌方)",
  16879. "name": "userid",
  16880. "in": "query"
  16881. },
  16882. {
  16883. "type": "integer",
  16884. "description": "挂牌方id(查对方议价时,填写此项)",
  16885. "name": "matchuserid",
  16886. "in": "query"
  16887. },
  16888. {
  16889. "type": "integer",
  16890. "description": "关联委托单id",
  16891. "name": "wrtradeorderid",
  16892. "in": "query"
  16893. },
  16894. {
  16895. "type": "integer",
  16896. "description": "0:仓单预售 1:仓单贸易",
  16897. "name": "haswr",
  16898. "in": "query",
  16899. "required": true
  16900. },
  16901. {
  16902. "type": "string",
  16903. "description": "开始交易日(yyyymmdd)",
  16904. "name": "begindate",
  16905. "in": "query"
  16906. },
  16907. {
  16908. "type": "string",
  16909. "description": "结束交易日(yyyymmdd)",
  16910. "name": "enddate",
  16911. "in": "query"
  16912. }
  16913. ],
  16914. "responses": {
  16915. "200": {
  16916. "description": "OK",
  16917. "schema": {
  16918. "type": "array",
  16919. "items": {
  16920. "$ref": "#/definitions/models.WRTradeBargainApply"
  16921. }
  16922. }
  16923. },
  16924. "500": {
  16925. "description": "Internal Server Error",
  16926. "schema": {
  16927. "$ref": "#/definitions/app.Response"
  16928. }
  16929. }
  16930. }
  16931. }
  16932. },
  16933. "/WrTrade2/QueryWrTradeDetail": {
  16934. "get": {
  16935. "security": [
  16936. {
  16937. "ApiKeyAuth": []
  16938. }
  16939. ],
  16940. "produces": [
  16941. "application/json"
  16942. ],
  16943. "tags": [
  16944. "仓单贸易v2"
  16945. ],
  16946. "summary": "查询仓单成交明细",
  16947. "parameters": [
  16948. {
  16949. "type": "integer",
  16950. "description": "页码",
  16951. "name": "page",
  16952. "in": "query"
  16953. },
  16954. {
  16955. "type": "integer",
  16956. "description": "每页条数",
  16957. "name": "pagesize",
  16958. "in": "query"
  16959. },
  16960. {
  16961. "type": "integer",
  16962. "description": "用户id",
  16963. "name": "userid",
  16964. "in": "query",
  16965. "required": true
  16966. },
  16967. {
  16968. "type": "integer",
  16969. "description": "仓单贸易市场id",
  16970. "name": "marketid",
  16971. "in": "query"
  16972. },
  16973. {
  16974. "type": "integer",
  16975. "description": "0:仓单预售 1:仓单贸易",
  16976. "name": "haswr",
  16977. "in": "query",
  16978. "required": true
  16979. },
  16980. {
  16981. "type": "string",
  16982. "description": "开始交易日(yyyymmdd)",
  16983. "name": "begindate",
  16984. "in": "query"
  16985. },
  16986. {
  16987. "type": "string",
  16988. "description": "结束交易日(yyyymmdd)",
  16989. "name": "enddate",
  16990. "in": "query"
  16991. }
  16992. ],
  16993. "responses": {
  16994. "200": {
  16995. "description": "OK",
  16996. "schema": {
  16997. "type": "array",
  16998. "items": {
  16999. "$ref": "#/definitions/models.WrTradeDetail"
  17000. }
  17001. }
  17002. },
  17003. "500": {
  17004. "description": "Internal Server Error",
  17005. "schema": {
  17006. "$ref": "#/definitions/app.Response"
  17007. }
  17008. }
  17009. }
  17010. }
  17011. },
  17012. "/WrTrade2/QueryWrTradeOrderDetail": {
  17013. "get": {
  17014. "security": [
  17015. {
  17016. "ApiKeyAuth": []
  17017. }
  17018. ],
  17019. "produces": [
  17020. "application/json"
  17021. ],
  17022. "tags": [
  17023. "仓单贸易v2"
  17024. ],
  17025. "summary": "查询合约交易买卖大厅",
  17026. "parameters": [
  17027. {
  17028. "type": "integer",
  17029. "description": "页码",
  17030. "name": "page",
  17031. "in": "query"
  17032. },
  17033. {
  17034. "type": "integer",
  17035. "description": "每页条数",
  17036. "name": "pagesize",
  17037. "in": "query"
  17038. },
  17039. {
  17040. "type": "integer",
  17041. "description": "商品id",
  17042. "name": "goodsid",
  17043. "in": "query",
  17044. "required": true
  17045. },
  17046. {
  17047. "type": "integer",
  17048. "description": "买卖方向 0-买 1-卖",
  17049. "name": "buyorsell",
  17050. "in": "query",
  17051. "required": true
  17052. }
  17053. ],
  17054. "responses": {
  17055. "200": {
  17056. "description": "OK",
  17057. "schema": {
  17058. "type": "array",
  17059. "items": {
  17060. "$ref": "#/definitions/models.WrTradeOrderDetail"
  17061. }
  17062. }
  17063. },
  17064. "500": {
  17065. "description": "Internal Server Error",
  17066. "schema": {
  17067. "$ref": "#/definitions/app.Response"
  17068. }
  17069. }
  17070. }
  17071. }
  17072. },
  17073. "/WrTrade2/QueryWrTradeQuote": {
  17074. "get": {
  17075. "security": [
  17076. {
  17077. "ApiKeyAuth": []
  17078. }
  17079. ],
  17080. "produces": [
  17081. "application/json"
  17082. ],
  17083. "tags": [
  17084. "仓单贸易v2"
  17085. ],
  17086. "summary": "查询仓单贸易成交行情",
  17087. "parameters": [
  17088. {
  17089. "type": "integer",
  17090. "description": "现货商品id",
  17091. "name": "wrstandardid",
  17092. "in": "query",
  17093. "required": true
  17094. },
  17095. {
  17096. "type": "string",
  17097. "description": "开始日期(yyyymmdd)",
  17098. "name": "begindate",
  17099. "in": "query",
  17100. "required": true
  17101. },
  17102. {
  17103. "type": "string",
  17104. "description": "结束日期(yyyymmdd)",
  17105. "name": "enddate",
  17106. "in": "query",
  17107. "required": true
  17108. },
  17109. {
  17110. "type": "integer",
  17111. "description": "市场id",
  17112. "name": "marketid",
  17113. "in": "query"
  17114. }
  17115. ],
  17116. "responses": {
  17117. "200": {
  17118. "description": "OK",
  17119. "schema": {
  17120. "type": "array",
  17121. "items": {
  17122. "$ref": "#/definitions/models.Wrtradetradequote"
  17123. }
  17124. }
  17125. },
  17126. "500": {
  17127. "description": "Internal Server Error",
  17128. "schema": {
  17129. "$ref": "#/definitions/app.Response"
  17130. }
  17131. }
  17132. }
  17133. }
  17134. },
  17135. "/WrTrade2/QueryWrUserFriend": {
  17136. "get": {
  17137. "security": [
  17138. {
  17139. "ApiKeyAuth": []
  17140. }
  17141. ],
  17142. "produces": [
  17143. "application/json"
  17144. ],
  17145. "tags": [
  17146. "仓单贸易v2"
  17147. ],
  17148. "summary": "查询我的朋友",
  17149. "parameters": [
  17150. {
  17151. "type": "integer",
  17152. "description": "用户id",
  17153. "name": "userid",
  17154. "in": "query",
  17155. "required": true
  17156. },
  17157. {
  17158. "type": "integer",
  17159. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  17160. "name": "newuserid",
  17161. "in": "query"
  17162. }
  17163. ],
  17164. "responses": {
  17165. "200": {
  17166. "description": "OK",
  17167. "schema": {
  17168. "type": "array",
  17169. "items": {
  17170. "$ref": "#/definitions/models.WrUserFriend"
  17171. }
  17172. }
  17173. },
  17174. "500": {
  17175. "description": "Internal Server Error",
  17176. "schema": {
  17177. "$ref": "#/definitions/app.Response"
  17178. }
  17179. }
  17180. }
  17181. }
  17182. },
  17183. "/WrTrade2/QueryWrUserReceiptInfo": {
  17184. "get": {
  17185. "security": [
  17186. {
  17187. "ApiKeyAuth": []
  17188. }
  17189. ],
  17190. "produces": [
  17191. "application/json"
  17192. ],
  17193. "tags": [
  17194. "仓单贸易v2"
  17195. ],
  17196. "summary": "查询发票信息",
  17197. "parameters": [
  17198. {
  17199. "type": "integer",
  17200. "description": "用户id",
  17201. "name": "userid",
  17202. "in": "query"
  17203. },
  17204. {
  17205. "type": "integer",
  17206. "description": "发票类型 - 1:个人 2:企业",
  17207. "name": "receipttype",
  17208. "in": "query"
  17209. }
  17210. ],
  17211. "responses": {
  17212. "200": {
  17213. "description": "OK",
  17214. "schema": {
  17215. "type": "array",
  17216. "items": {
  17217. "$ref": "#/definitions/models.WrUserReceiptInfo"
  17218. }
  17219. }
  17220. },
  17221. "500": {
  17222. "description": "Internal Server Error",
  17223. "schema": {
  17224. "$ref": "#/definitions/app.Response"
  17225. }
  17226. }
  17227. }
  17228. }
  17229. },
  17230. "/WrTrade2/QueryXhcpSellBackApply": {
  17231. "get": {
  17232. "security": [
  17233. {
  17234. "ApiKeyAuth": []
  17235. }
  17236. ],
  17237. "produces": [
  17238. "application/json"
  17239. ],
  17240. "tags": [
  17241. "仓单贸易v2"
  17242. ],
  17243. "summary": "查询我的回收申请(新会陈皮)",
  17244. "parameters": [
  17245. {
  17246. "type": "integer",
  17247. "description": "用户ID",
  17248. "name": "userid",
  17249. "in": "query",
  17250. "required": true
  17251. }
  17252. ],
  17253. "responses": {
  17254. "200": {
  17255. "description": "OK",
  17256. "schema": {
  17257. "type": "array",
  17258. "items": {
  17259. "$ref": "#/definitions/models.Xhcpsellbackapply"
  17260. }
  17261. }
  17262. },
  17263. "500": {
  17264. "description": "Internal Server Error",
  17265. "schema": {
  17266. "$ref": "#/definitions/app.Response"
  17267. }
  17268. }
  17269. }
  17270. }
  17271. },
  17272. "/ZJ/GetBankTip": {
  17273. "get": {
  17274. "produces": [
  17275. "application/json"
  17276. ],
  17277. "tags": [
  17278. "中江"
  17279. ],
  17280. "summary": "获取中江网银端出入金提示信息",
  17281. "responses": {
  17282. "200": {
  17283. "description": "OK",
  17284. "schema": {
  17285. "type": "string"
  17286. }
  17287. },
  17288. "500": {
  17289. "description": "Internal Server Error",
  17290. "schema": {
  17291. "$ref": "#/definitions/app.Response"
  17292. }
  17293. }
  17294. }
  17295. }
  17296. },
  17297. "/ZJ/GetCusBankChannels": {
  17298. "get": {
  17299. "produces": [
  17300. "application/json"
  17301. ],
  17302. "tags": [
  17303. "中江"
  17304. ],
  17305. "summary": "获取中江出入金渠道显示列表",
  17306. "responses": {
  17307. "200": {
  17308. "description": "OK",
  17309. "schema": {
  17310. "type": "array",
  17311. "items": {
  17312. "type": "string"
  17313. }
  17314. }
  17315. },
  17316. "500": {
  17317. "description": "Internal Server Error",
  17318. "schema": {
  17319. "$ref": "#/definitions/app.Response"
  17320. }
  17321. }
  17322. }
  17323. }
  17324. }
  17325. },
  17326. "definitions": {
  17327. "app.Response": {
  17328. "type": "object",
  17329. "properties": {
  17330. "code": {
  17331. "type": "integer"
  17332. },
  17333. "data": {},
  17334. "msg": {
  17335. "type": "string"
  17336. },
  17337. "page": {
  17338. "description": "页码",
  17339. "type": "integer"
  17340. },
  17341. "pagesize": {
  17342. "description": "每页条数",
  17343. "type": "integer"
  17344. },
  17345. "total": {
  17346. "description": "总条数",
  17347. "type": "integer"
  17348. }
  17349. }
  17350. },
  17351. "common.ClientMenu": {
  17352. "type": "object",
  17353. "properties": {
  17354. "children": {
  17355. "description": "子菜单列表",
  17356. "type": "array",
  17357. "items": {
  17358. "$ref": "#/definitions/common.ClientMenu"
  17359. }
  17360. },
  17361. "code": {
  17362. "description": "ID",
  17363. "type": "string"
  17364. },
  17365. "isshow": {
  17366. "description": "是否显示",
  17367. "type": "boolean"
  17368. },
  17369. "remark": {
  17370. "description": "备注",
  17371. "type": "string"
  17372. },
  17373. "rulekey": {
  17374. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  17375. "type": "string"
  17376. },
  17377. "sort": {
  17378. "description": "排序",
  17379. "type": "integer"
  17380. },
  17381. "title": {
  17382. "description": "标题",
  17383. "type": "string"
  17384. },
  17385. "type": {
  17386. "description": "类型,1:菜单 2:按钮",
  17387. "type": "integer"
  17388. },
  17389. "url": {
  17390. "description": "URL",
  17391. "type": "string"
  17392. }
  17393. }
  17394. },
  17395. "common.PCWebMenu": {
  17396. "type": "object",
  17397. "properties": {
  17398. "auth": {
  17399. "description": "页面权限列表",
  17400. "type": "array",
  17401. "items": {
  17402. "$ref": "#/definitions/common.PCWebMenuAuth"
  17403. }
  17404. },
  17405. "children": {
  17406. "description": "子菜单列表",
  17407. "type": "array",
  17408. "items": {
  17409. "$ref": "#/definitions/common.PCWebMenu"
  17410. }
  17411. },
  17412. "code": {
  17413. "description": "ID,新版本中权限KEY也是这个字段",
  17414. "type": "string"
  17415. },
  17416. "component": {
  17417. "description": "路由组件",
  17418. "type": "string"
  17419. },
  17420. "isshow": {
  17421. "description": "是否显示",
  17422. "type": "boolean"
  17423. },
  17424. "path": {
  17425. "description": "路由路径",
  17426. "type": "string"
  17427. },
  17428. "remark": {
  17429. "description": "备注",
  17430. "type": "string"
  17431. },
  17432. "rulekey": {
  17433. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17434. "type": "string"
  17435. },
  17436. "sort": {
  17437. "description": "排序",
  17438. "type": "integer"
  17439. },
  17440. "title": {
  17441. "description": "标题",
  17442. "type": "string"
  17443. },
  17444. "url": {
  17445. "description": "URL",
  17446. "type": "string"
  17447. }
  17448. }
  17449. },
  17450. "common.PCWebMenuAuth": {
  17451. "type": "object",
  17452. "properties": {
  17453. "code": {
  17454. "description": "ID,新版本中权限KEY也是这个字段",
  17455. "type": "string"
  17456. },
  17457. "isshow": {
  17458. "description": "是否显示",
  17459. "type": "boolean"
  17460. },
  17461. "label": {
  17462. "description": "标题",
  17463. "type": "string"
  17464. },
  17465. "remark": {
  17466. "description": "备注",
  17467. "type": "string"
  17468. },
  17469. "rulekey": {
  17470. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17471. "type": "string"
  17472. }
  17473. }
  17474. },
  17475. "common.QueryImageConfigsRsp": {
  17476. "type": "object",
  17477. "required": [
  17478. "configid"
  17479. ],
  17480. "properties": {
  17481. "areauserid": {
  17482. "description": "所属机构ID",
  17483. "type": "integer"
  17484. },
  17485. "configid": {
  17486. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  17487. "type": "integer"
  17488. },
  17489. "createdate": {
  17490. "description": "创建时间",
  17491. "type": "string"
  17492. },
  17493. "creatorid": {
  17494. "description": "创建人",
  17495. "type": "integer"
  17496. },
  17497. "imagedetailpath": {
  17498. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  17499. "type": "string"
  17500. },
  17501. "imagepath": {
  17502. "description": "图片",
  17503. "type": "string"
  17504. },
  17505. "imagetype": {
  17506. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  17507. "type": "integer"
  17508. },
  17509. "isshow": {
  17510. "description": "是否展示 - 0:不展示 1:展示",
  17511. "type": "integer"
  17512. },
  17513. "marketid": {
  17514. "description": "市场ID",
  17515. "type": "integer"
  17516. },
  17517. "modifierid": {
  17518. "description": "操作人",
  17519. "type": "integer"
  17520. },
  17521. "sort": {
  17522. "description": "排序",
  17523. "type": "integer"
  17524. },
  17525. "title": {
  17526. "description": "标题",
  17527. "type": "string"
  17528. },
  17529. "trademode": {
  17530. "description": "交易模式",
  17531. "type": "integer"
  17532. },
  17533. "updatedate": {
  17534. "description": "修改时间",
  17535. "type": "string"
  17536. },
  17537. "url": {
  17538. "description": "链接(地址或商品ID)",
  17539. "type": "string"
  17540. },
  17541. "urltype": {
  17542. "description": "链接类型 - 1:直接地址 2:商品ID",
  17543. "type": "integer"
  17544. }
  17545. }
  17546. },
  17547. "common.QueryNoticeRsp": {
  17548. "type": "object",
  17549. "required": [
  17550. "autoid"
  17551. ],
  17552. "properties": {
  17553. "auditoruserid": {
  17554. "description": "审核人",
  17555. "type": "integer"
  17556. },
  17557. "auditremark": {
  17558. "description": "审核备注",
  17559. "type": "string"
  17560. },
  17561. "audittime": {
  17562. "description": "审核日期",
  17563. "type": "string"
  17564. },
  17565. "autoid": {
  17566. "description": "自增ID",
  17567. "type": "integer"
  17568. },
  17569. "content": {
  17570. "description": "内容",
  17571. "type": "string"
  17572. },
  17573. "createtime": {
  17574. "description": "创建时间",
  17575. "type": "string"
  17576. },
  17577. "creatorid": {
  17578. "description": "建仓人",
  17579. "type": "integer"
  17580. },
  17581. "endtime": {
  17582. "description": "结束时间",
  17583. "type": "string"
  17584. },
  17585. "istop": {
  17586. "description": "是否置顶 - 0:不置顶 1:置顶",
  17587. "type": "integer"
  17588. },
  17589. "msgiconurl": {
  17590. "description": "消息图标Url",
  17591. "type": "string"
  17592. },
  17593. "msgtype": {
  17594. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  17595. "type": "integer"
  17596. },
  17597. "publisher": {
  17598. "description": "消息发布者",
  17599. "type": "string"
  17600. },
  17601. "readed": {
  17602. "description": "是否已读",
  17603. "type": "boolean"
  17604. },
  17605. "scheduletime": {
  17606. "description": "计划发送时间",
  17607. "type": "string"
  17608. },
  17609. "sendtype": {
  17610. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  17611. "type": "integer"
  17612. },
  17613. "sentstatus": {
  17614. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  17615. "type": "integer"
  17616. },
  17617. "title": {
  17618. "description": "标题",
  17619. "type": "string"
  17620. },
  17621. "userid": {
  17622. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  17623. "type": "integer"
  17624. }
  17625. }
  17626. },
  17627. "common.QueryProvincesAndCitiesRsp": {
  17628. "type": "object",
  17629. "properties": {
  17630. "cities": {
  17631. "description": "市",
  17632. "type": "array",
  17633. "items": {
  17634. "$ref": "#/definitions/models.Division"
  17635. }
  17636. },
  17637. "province": {
  17638. "description": "省",
  17639. "$ref": "#/definitions/models.Division"
  17640. }
  17641. }
  17642. },
  17643. "common.QueryTableDefineRsp": {
  17644. "type": "object",
  17645. "required": [
  17646. "tablekey"
  17647. ],
  17648. "properties": {
  17649. "columns": {
  17650. "description": "列头信息数组",
  17651. "type": "array",
  17652. "items": {
  17653. "$ref": "#/definitions/models.Tablecolumnconfig"
  17654. }
  17655. },
  17656. "remark": {
  17657. "description": "Remark",
  17658. "type": "string"
  17659. },
  17660. "tabelmenu": {
  17661. "description": "列表菜单",
  17662. "type": "string"
  17663. },
  17664. "tablekey": {
  17665. "description": "列表Key",
  17666. "type": "string"
  17667. },
  17668. "tablename": {
  17669. "description": "列表名称",
  17670. "type": "string"
  17671. },
  17672. "tabletype": {
  17673. "description": "列表类型 - 1:管理端 2:终端",
  17674. "type": "integer"
  17675. }
  17676. }
  17677. },
  17678. "common.QueryTraderMenuRsp": {
  17679. "type": "object",
  17680. "properties": {
  17681. "OperationMenu": {
  17682. "description": "功能菜单",
  17683. "type": "array",
  17684. "items": {
  17685. "$ref": "#/definitions/models.OperationPrimaryMenu"
  17686. }
  17687. },
  17688. "QuoteMenu": {
  17689. "description": "报价牌分类菜单",
  17690. "type": "array",
  17691. "items": {
  17692. "$ref": "#/definitions/models.QuotePrimaryMenu"
  17693. }
  17694. }
  17695. }
  17696. },
  17697. "cptrade.Cptradepositioncancel": {
  17698. "type": "object",
  17699. "required": [
  17700. "cancelid"
  17701. ],
  17702. "properties": {
  17703. "accountid": {
  17704. "description": "申请人账户ID",
  17705. "type": "integer"
  17706. },
  17707. "applystatus": {
  17708. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17709. "type": "integer"
  17710. },
  17711. "applytime": {
  17712. "description": "申请时间",
  17713. "type": "string"
  17714. },
  17715. "cancelid": {
  17716. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  17717. "type": "integer"
  17718. },
  17719. "cancelqty": {
  17720. "description": "注销数量",
  17721. "type": "integer"
  17722. },
  17723. "createtime": {
  17724. "description": "创建时间",
  17725. "type": "string"
  17726. },
  17727. "creatorid": {
  17728. "description": "创建人ID",
  17729. "type": "integer"
  17730. },
  17731. "creatorname": {
  17732. "description": "创建人",
  17733. "type": "string"
  17734. },
  17735. "goodscode": {
  17736. "description": "订单商品代码",
  17737. "type": "string"
  17738. },
  17739. "goodsid": {
  17740. "description": "商品ID",
  17741. "type": "integer"
  17742. },
  17743. "goodsname": {
  17744. "description": "订单商品名称",
  17745. "type": "string"
  17746. },
  17747. "goodunit": {
  17748. "description": "报价单位",
  17749. "type": "string"
  17750. },
  17751. "handlestatus": {
  17752. "description": "处理状态",
  17753. "type": "integer"
  17754. },
  17755. "marketid": {
  17756. "description": "市场ID",
  17757. "type": "integer"
  17758. },
  17759. "marketname": {
  17760. "description": "市场名称",
  17761. "type": "string"
  17762. },
  17763. "tradedate": {
  17764. "description": "交易日(yyyyMMdd)",
  17765. "type": "string"
  17766. },
  17767. "userid": {
  17768. "description": "申请人ID",
  17769. "type": "integer"
  17770. }
  17771. }
  17772. },
  17773. "cptrade.Cptradepresaleapply": {
  17774. "type": "object",
  17775. "required": [
  17776. "applyid"
  17777. ],
  17778. "properties": {
  17779. "accountid": {
  17780. "description": "申请人账户ID",
  17781. "type": "integer"
  17782. },
  17783. "applyid": {
  17784. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  17785. "type": "integer"
  17786. },
  17787. "applyremark": {
  17788. "description": "申请备注",
  17789. "type": "string"
  17790. },
  17791. "applystatus": {
  17792. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17793. "type": "integer"
  17794. },
  17795. "applytime": {
  17796. "description": "申请时间",
  17797. "type": "string"
  17798. },
  17799. "attachmenturl": {
  17800. "description": "附件地址",
  17801. "type": "string"
  17802. },
  17803. "endtime": {
  17804. "description": "预售结束时间",
  17805. "type": "string"
  17806. },
  17807. "goodscode": {
  17808. "description": "商品代码",
  17809. "type": "string"
  17810. },
  17811. "goodsid": {
  17812. "description": "商品ID",
  17813. "type": "integer"
  17814. },
  17815. "goodsname": {
  17816. "description": "商品名称",
  17817. "type": "string"
  17818. },
  17819. "goodunit": {
  17820. "description": "报价单位",
  17821. "type": "string"
  17822. },
  17823. "handlestatus": {
  17824. "description": "处理状态",
  17825. "type": "integer"
  17826. },
  17827. "marketid": {
  17828. "description": "预售市场ID",
  17829. "type": "integer"
  17830. },
  17831. "marketname": {
  17832. "description": "预售市场名称",
  17833. "type": "string"
  17834. },
  17835. "presaleqty": {
  17836. "description": "预售数量",
  17837. "type": "integer"
  17838. },
  17839. "relatedgoodscode": {
  17840. "description": "关联交易合约代码",
  17841. "type": "string"
  17842. },
  17843. "relatedgoodsid": {
  17844. "description": "关联交易合约ID",
  17845. "type": "integer"
  17846. },
  17847. "relatedgoodsname": {
  17848. "description": "关联交易合约名称",
  17849. "type": "string"
  17850. },
  17851. "starttime": {
  17852. "description": "预售开始时间",
  17853. "type": "string"
  17854. },
  17855. "tradedate": {
  17856. "description": "交易日(yyyyMMdd)",
  17857. "type": "string"
  17858. },
  17859. "trademode": {
  17860. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17861. "type": "integer"
  17862. },
  17863. "userid": {
  17864. "description": "申请人ID",
  17865. "type": "integer"
  17866. }
  17867. }
  17868. },
  17869. "cptrade.Cptradeusergoodsdata": {
  17870. "type": "object",
  17871. "required": [
  17872. "accountid",
  17873. "goodsid"
  17874. ],
  17875. "properties": {
  17876. "EnabledQty": {
  17877. "description": "可用量",
  17878. "type": "integer"
  17879. },
  17880. "GoodsCode": {
  17881. "description": "订单商品代码",
  17882. "type": "string"
  17883. },
  17884. "GoodsName": {
  17885. "description": "订单商品名称",
  17886. "type": "string"
  17887. },
  17888. "WRStandardCode": {
  17889. "description": "仓单标准代码",
  17890. "type": "string"
  17891. },
  17892. "WRStandardName": {
  17893. "description": "仓单标准名称",
  17894. "type": "string"
  17895. },
  17896. "accountid": {
  17897. "description": "账户ID",
  17898. "type": "integer"
  17899. },
  17900. "cancelqty": {
  17901. "description": "注销量",
  17902. "type": "integer"
  17903. },
  17904. "curpresaleqty": {
  17905. "description": "当前预售量",
  17906. "type": "integer"
  17907. },
  17908. "deliveryqty": {
  17909. "description": "交割量",
  17910. "type": "integer"
  17911. },
  17912. "freezeamount": {
  17913. "description": "冻结金额",
  17914. "type": "number"
  17915. },
  17916. "goodsid": {
  17917. "description": "商品ID",
  17918. "type": "integer"
  17919. },
  17920. "goodunit": {
  17921. "description": "报价单位",
  17922. "type": "string"
  17923. },
  17924. "hasspotfreeze": {
  17925. "description": "是否有现货冻结 - 0:否 1:有",
  17926. "type": "integer"
  17927. },
  17928. "inqty": {
  17929. "description": "转入量(总数量)",
  17930. "type": "integer"
  17931. },
  17932. "marketid": {
  17933. "description": "市场ID",
  17934. "type": "integer"
  17935. },
  17936. "presaledamount": {
  17937. "description": "已预售总金额",
  17938. "type": "integer"
  17939. },
  17940. "presaledqty": {
  17941. "description": "已预售量",
  17942. "type": "integer"
  17943. },
  17944. "userid": {
  17945. "description": "用户ID",
  17946. "type": "integer"
  17947. },
  17948. "wrstandardid": {
  17949. "description": "仓单标准ID",
  17950. "type": "integer"
  17951. }
  17952. }
  17953. },
  17954. "cptrade.QueryCPTradeMyBidRsp": {
  17955. "type": "object",
  17956. "required": [
  17957. "accountid",
  17958. "goodsid",
  17959. "marketid",
  17960. "orderid",
  17961. "orderqty",
  17962. "ordertime",
  17963. "tradeprice",
  17964. "tradeqty"
  17965. ],
  17966. "properties": {
  17967. "accountid": {
  17968. "description": "账户ID[报价币种]",
  17969. "type": "integer"
  17970. },
  17971. "goodsid": {
  17972. "description": "商品ID",
  17973. "type": "integer"
  17974. },
  17975. "goodunit": {
  17976. "description": "报价单位",
  17977. "type": "string"
  17978. },
  17979. "marketid": {
  17980. "description": "市场ID",
  17981. "type": "integer"
  17982. },
  17983. "orderid": {
  17984. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17985. "type": "integer"
  17986. },
  17987. "orderprice": {
  17988. "description": "委托价格",
  17989. "type": "number"
  17990. },
  17991. "orderqty": {
  17992. "description": "委托数量",
  17993. "type": "integer"
  17994. },
  17995. "ordertime": {
  17996. "description": "委托时间",
  17997. "type": "string"
  17998. },
  17999. "ordertotalprice": {
  18000. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  18001. "type": "number"
  18002. },
  18003. "ordertotalweight": {
  18004. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  18005. "type": "integer"
  18006. },
  18007. "totaltotalprice": {
  18008. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  18009. "type": "number"
  18010. },
  18011. "tradeprice": {
  18012. "description": "成交价格",
  18013. "type": "number"
  18014. },
  18015. "tradeqty": {
  18016. "description": "成交数量",
  18017. "type": "integer"
  18018. }
  18019. }
  18020. },
  18021. "cptrade.QueryCPTradeOrderDetailRsq": {
  18022. "type": "object",
  18023. "required": [
  18024. "accountid",
  18025. "buildtype",
  18026. "buyorsell",
  18027. "goodsid",
  18028. "marketid",
  18029. "memberuserid",
  18030. "operatetype",
  18031. "orderqty",
  18032. "ordertime",
  18033. "pricemode",
  18034. "strorderid",
  18035. "tradedate",
  18036. "validtype"
  18037. ],
  18038. "properties": {
  18039. "accountid": {
  18040. "description": "账户ID[报价币种]",
  18041. "type": "integer"
  18042. },
  18043. "buildtype": {
  18044. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18045. "type": "integer"
  18046. },
  18047. "buyorsell": {
  18048. "description": "买卖 - 0:买 1:卖",
  18049. "type": "integer"
  18050. },
  18051. "cancelorderid": {
  18052. "description": "撤单单号(撤单时填写)",
  18053. "type": "integer"
  18054. },
  18055. "cancelqty": {
  18056. "description": "撤单数量",
  18057. "type": "integer"
  18058. },
  18059. "clientordertime": {
  18060. "description": "客户端委托时间",
  18061. "type": "string"
  18062. },
  18063. "clientticket": {
  18064. "description": "客户端流水号",
  18065. "type": "string"
  18066. },
  18067. "clienttype": {
  18068. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18069. "type": "integer"
  18070. },
  18071. "closeexchagechargevalue": {
  18072. "description": "平仓交易所手续费设置值",
  18073. "type": "number"
  18074. },
  18075. "closefeealgorithm": {
  18076. "description": "平仓手续费收取方式 1:比率 2:固定",
  18077. "type": "integer"
  18078. },
  18079. "closefreezecharge": {
  18080. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18081. "type": "number"
  18082. },
  18083. "closememberchargevalue": {
  18084. "description": "平仓会员手续费设置值",
  18085. "type": "number"
  18086. },
  18087. "closeqty": {
  18088. "description": "平仓数量(先建后平操作 需要记录)",
  18089. "type": "integer"
  18090. },
  18091. "closetradeqty": {
  18092. "description": "平仓成交数量(先建后平操作,需要记录)",
  18093. "type": "integer"
  18094. },
  18095. "closeunfreezecharge": {
  18096. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18097. "type": "number"
  18098. },
  18099. "delistingtype": {
  18100. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18101. "type": "integer"
  18102. },
  18103. "freezecharge": {
  18104. "description": "冻结手续费",
  18105. "type": "number"
  18106. },
  18107. "freezemargin": {
  18108. "description": "冻结保证金(冻结交易金额)",
  18109. "type": "number"
  18110. },
  18111. "gcaccountid": {
  18112. "description": "账户ID[合约币种]",
  18113. "type": "integer"
  18114. },
  18115. "goodsid": {
  18116. "description": "商品ID",
  18117. "type": "integer"
  18118. },
  18119. "isconfirmexercise": {
  18120. "description": "是否确认行权- 0:否 1:是",
  18121. "type": "integer"
  18122. },
  18123. "ispreexercise": {
  18124. "description": "是否预申报- 0:否 1:是",
  18125. "type": "integer"
  18126. },
  18127. "listingselecttype": {
  18128. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18129. "type": "integer"
  18130. },
  18131. "marginalgorithm": {
  18132. "description": "保证金收取方式 1:比率 2:固定",
  18133. "type": "integer"
  18134. },
  18135. "marginvalue": {
  18136. "description": "即市保证金设置值",
  18137. "type": "number"
  18138. },
  18139. "marketid": {
  18140. "description": "市场ID",
  18141. "type": "integer"
  18142. },
  18143. "marketmaxsub": {
  18144. "description": "市价最大偏移范围",
  18145. "type": "number"
  18146. },
  18147. "memberuserid": {
  18148. "description": "所属会员UserID",
  18149. "type": "integer"
  18150. },
  18151. "openexchagechargevalue": {
  18152. "description": "建仓交易所手续费设置值",
  18153. "type": "number"
  18154. },
  18155. "openfeealgorithm": {
  18156. "description": "建仓手续费收取方式 1:比率 2:固定",
  18157. "type": "integer"
  18158. },
  18159. "openfreezecharge": {
  18160. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18161. "type": "number"
  18162. },
  18163. "openmemberchargevalue": {
  18164. "description": "建仓会员手续费设置值",
  18165. "type": "number"
  18166. },
  18167. "openqty": {
  18168. "description": "开仓数量(先建后平操作,需要记录)",
  18169. "type": "integer"
  18170. },
  18171. "opentradeqty": {
  18172. "description": "开仓成交数量(先建后平操作,需要记录)",
  18173. "type": "integer"
  18174. },
  18175. "openunfreezecharge": {
  18176. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18177. "type": "number"
  18178. },
  18179. "operatetype": {
  18180. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18181. "type": "integer"
  18182. },
  18183. "operatorid": {
  18184. "description": "登录账号(LoginID)",
  18185. "type": "integer"
  18186. },
  18187. "optiontype": {
  18188. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18189. "type": "integer"
  18190. },
  18191. "orderprice": {
  18192. "description": "委托价格",
  18193. "type": "number"
  18194. },
  18195. "orderqty": {
  18196. "description": "委托数量",
  18197. "type": "integer"
  18198. },
  18199. "ordersrc": {
  18200. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18201. "type": "integer"
  18202. },
  18203. "orderstatus": {
  18204. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18205. "type": "integer"
  18206. },
  18207. "ordertime": {
  18208. "description": "委托时间",
  18209. "type": "string"
  18210. },
  18211. "preexerciseprice": {
  18212. "description": "预申报价格",
  18213. "type": "number"
  18214. },
  18215. "premium": {
  18216. "description": "权利金",
  18217. "type": "number"
  18218. },
  18219. "preorderid": {
  18220. "description": "关联预埋单号(止盈止损单时填写)",
  18221. "type": "integer"
  18222. },
  18223. "pricemode": {
  18224. "description": "取价方式 - 1:市价 2: 限价",
  18225. "type": "integer"
  18226. },
  18227. "quoteid": {
  18228. "description": "报价单ID",
  18229. "type": "integer"
  18230. },
  18231. "relatedid": {
  18232. "description": "关联单号(交割单)",
  18233. "type": "integer"
  18234. },
  18235. "retcode": {
  18236. "description": "错误代码",
  18237. "type": "integer"
  18238. },
  18239. "sessionid": {
  18240. "description": "会话ID",
  18241. "type": "integer"
  18242. },
  18243. "strorderid": {
  18244. "description": "委托单号",
  18245. "type": "string"
  18246. },
  18247. "tradedate": {
  18248. "description": "交易日(yyyyMMdd)",
  18249. "type": "string"
  18250. },
  18251. "tradeproperty": {
  18252. "description": "交易属性",
  18253. "type": "integer"
  18254. },
  18255. "tradeqty": {
  18256. "description": "成交数量",
  18257. "type": "integer"
  18258. },
  18259. "unfreezecharge": {
  18260. "description": "解冻手续费",
  18261. "type": "number"
  18262. },
  18263. "unfreezemargin": {
  18264. "description": "解冻保证金",
  18265. "type": "number"
  18266. },
  18267. "updatetime": {
  18268. "description": "更新时间",
  18269. "type": "string"
  18270. },
  18271. "uuid": {
  18272. "description": "发起端唯一id",
  18273. "type": "string"
  18274. },
  18275. "validtime": {
  18276. "description": "有效期限",
  18277. "type": "string"
  18278. },
  18279. "validtype": {
  18280. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18281. "type": "integer"
  18282. },
  18283. "volumetype": {
  18284. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18285. "type": "integer"
  18286. }
  18287. }
  18288. },
  18289. "cptrade.QueryMyCPTradeGoodsRsp": {
  18290. "type": "object",
  18291. "required": [
  18292. "goodscode",
  18293. "goodsid",
  18294. "goodsname",
  18295. "marketid",
  18296. "relatedgoodscode",
  18297. "relatedgoodsname"
  18298. ],
  18299. "properties": {
  18300. "accountid": {
  18301. "description": "卖方账户ID",
  18302. "type": "integer"
  18303. },
  18304. "agreeunit": {
  18305. "description": "合约单位",
  18306. "type": "number"
  18307. },
  18308. "applyid": {
  18309. "description": "关联申请ID",
  18310. "type": "integer"
  18311. },
  18312. "attachmenturl": {
  18313. "description": "附件地址",
  18314. "type": "string"
  18315. },
  18316. "createtime": {
  18317. "description": "创建时间",
  18318. "type": "string"
  18319. },
  18320. "currencyid": {
  18321. "description": "报价货币ID",
  18322. "type": "integer"
  18323. },
  18324. "decimalplace": {
  18325. "description": "报价小数位",
  18326. "type": "integer"
  18327. },
  18328. "endtime": {
  18329. "description": "预售结束时间",
  18330. "type": "string"
  18331. },
  18332. "floorprice": {
  18333. "description": "底价[大宗式竞拍]",
  18334. "type": "number"
  18335. },
  18336. "goodscode": {
  18337. "description": "商品代码(预售)",
  18338. "type": "string"
  18339. },
  18340. "goodsdetail": {
  18341. "description": "详情[大宗]",
  18342. "type": "string"
  18343. },
  18344. "goodsid": {
  18345. "description": "商品ID(自增ID SEQ_GOODS)",
  18346. "type": "integer"
  18347. },
  18348. "goodsname": {
  18349. "description": "商品名称(预售)",
  18350. "type": "string"
  18351. },
  18352. "goodunit": {
  18353. "description": "报价单位",
  18354. "type": "string"
  18355. },
  18356. "goodunitid": {
  18357. "description": "报价单位ID",
  18358. "type": "integer"
  18359. },
  18360. "marketid": {
  18361. "description": "所属市场ID",
  18362. "type": "integer"
  18363. },
  18364. "marketname": {
  18365. "description": "预售市场名称",
  18366. "type": "string"
  18367. },
  18368. "presaledamount": {
  18369. "description": "已预售总金额(预售结束时更新)",
  18370. "type": "number"
  18371. },
  18372. "presaledqty": {
  18373. "description": "已预售量(预售结束时更新)",
  18374. "type": "integer"
  18375. },
  18376. "presalemode": {
  18377. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18378. "type": "integer"
  18379. },
  18380. "presaleqty": {
  18381. "description": "预售数量",
  18382. "type": "integer"
  18383. },
  18384. "refprice": {
  18385. "description": "参考价格[一口价]",
  18386. "type": "number"
  18387. },
  18388. "relatedgoodscode": {
  18389. "description": "商品代码(订单)",
  18390. "type": "string"
  18391. },
  18392. "relatedgoodsid": {
  18393. "description": "关联交易合约ID",
  18394. "type": "integer"
  18395. },
  18396. "relatedgoodsname": {
  18397. "description": "商品名称(订单)",
  18398. "type": "string"
  18399. },
  18400. "relatedmarketid": {
  18401. "description": "关联交易合约市场ID",
  18402. "type": "integer"
  18403. },
  18404. "sellstatus": {
  18405. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18406. "type": "integer"
  18407. },
  18408. "startprice": {
  18409. "description": "起拍价[大宗式竞拍]",
  18410. "type": "number"
  18411. },
  18412. "starttime": {
  18413. "description": "预售开始时间",
  18414. "type": "string"
  18415. },
  18416. "tradedate": {
  18417. "description": "交易日(yyyyMMdd)",
  18418. "type": "string"
  18419. },
  18420. "tradeprice": {
  18421. "description": "成交价[大宗]",
  18422. "type": "number"
  18423. },
  18424. "userid": {
  18425. "description": "卖方用户ID",
  18426. "type": "integer"
  18427. }
  18428. }
  18429. },
  18430. "cptrade.QueryPresaleGoodsExRsp": {
  18431. "type": "object",
  18432. "required": [
  18433. "goodsid"
  18434. ],
  18435. "properties": {
  18436. "attachmenturl": {
  18437. "description": "附件地址",
  18438. "type": "string"
  18439. },
  18440. "createtime": {
  18441. "description": "创建时间",
  18442. "type": "string"
  18443. },
  18444. "endtime": {
  18445. "description": "预售结束时间",
  18446. "type": "string"
  18447. },
  18448. "floorprice": {
  18449. "description": "底价[大宗式竞拍]",
  18450. "type": "number"
  18451. },
  18452. "goodsdetail": {
  18453. "description": "详情[大宗]",
  18454. "type": "string"
  18455. },
  18456. "goodsid": {
  18457. "description": "商品ID(预售)",
  18458. "type": "integer"
  18459. },
  18460. "goodunit": {
  18461. "description": "报价单位",
  18462. "type": "string"
  18463. },
  18464. "marketid": {
  18465. "description": "预售市场ID - 根据预售模式选择市场",
  18466. "type": "integer"
  18467. },
  18468. "presaledamount": {
  18469. "description": "已预售总金额(预售结束时更新)",
  18470. "type": "number"
  18471. },
  18472. "presaledqty": {
  18473. "description": "已预售量(预售结束时更新)",
  18474. "type": "integer"
  18475. },
  18476. "presalemode": {
  18477. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18478. "type": "integer"
  18479. },
  18480. "presaleqty": {
  18481. "description": "预售数量",
  18482. "type": "integer"
  18483. },
  18484. "refprice": {
  18485. "description": "参考价格[一口价]",
  18486. "type": "number"
  18487. },
  18488. "relatedgoodsid": {
  18489. "description": "关联交易合约ID",
  18490. "type": "integer"
  18491. },
  18492. "relatedmarketid": {
  18493. "description": "关联交易合约市场ID",
  18494. "type": "integer"
  18495. },
  18496. "sellstatus": {
  18497. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18498. "type": "integer"
  18499. },
  18500. "startprice": {
  18501. "description": "起拍价[大宗式竞拍]",
  18502. "type": "number"
  18503. },
  18504. "starttime": {
  18505. "description": "预售开始时间",
  18506. "type": "string"
  18507. },
  18508. "tradedate": {
  18509. "description": "交易日(yyyyMMdd)",
  18510. "type": "string"
  18511. },
  18512. "tradeprice": {
  18513. "description": "成交价[大宗]",
  18514. "type": "number"
  18515. }
  18516. }
  18517. },
  18518. "delivery.QueryDeliveryRelationRsp": {
  18519. "type": "object",
  18520. "required": [
  18521. "begindate",
  18522. "enddate",
  18523. "goodsid",
  18524. "mindeliveryqty",
  18525. "xdeliveryratio"
  18526. ],
  18527. "properties": {
  18528. "begindate": {
  18529. "description": "起始日期(yyyyMMdd)",
  18530. "type": "string"
  18531. },
  18532. "buytemplateid": {
  18533. "description": "买履约计划模板ID",
  18534. "type": "integer"
  18535. },
  18536. "deliverygoodscode": {
  18537. "description": "品种代码",
  18538. "type": "string"
  18539. },
  18540. "deliverygoodsid": {
  18541. "description": "交割商品",
  18542. "type": "integer"
  18543. },
  18544. "deliverygoodsname": {
  18545. "description": "品种名称",
  18546. "type": "string"
  18547. },
  18548. "deliverymode": {
  18549. "description": "交割方式 - 1:点选式 2:申报式",
  18550. "type": "integer"
  18551. },
  18552. "deliverypricerule": {
  18553. "description": "交割价规则- 1:行情价 2:建仓价",
  18554. "type": "integer"
  18555. },
  18556. "deliverytype": {
  18557. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  18558. "type": "integer"
  18559. },
  18560. "enddate": {
  18561. "description": "结束日期(yyyyMMdd)",
  18562. "type": "string"
  18563. },
  18564. "enumdicname": {
  18565. "description": "品类单位名称",
  18566. "type": "string"
  18567. },
  18568. "goodscode": {
  18569. "description": "商品代码",
  18570. "type": "string"
  18571. },
  18572. "goodsid": {
  18573. "description": "交易合约ID",
  18574. "type": "integer"
  18575. },
  18576. "goodsname": {
  18577. "description": "商品名称",
  18578. "type": "string"
  18579. },
  18580. "marketid": {
  18581. "description": "市场ID",
  18582. "type": "integer"
  18583. },
  18584. "mindeliveryqty": {
  18585. "description": "最小交割系数(K)",
  18586. "type": "integer"
  18587. },
  18588. "p2deliveryprice": {
  18589. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  18590. "type": "number"
  18591. },
  18592. "p2deliveryratio": {
  18593. "description": "P2合约系数(p)",
  18594. "type": "integer"
  18595. },
  18596. "p2goodsid": {
  18597. "description": "P2合约ID",
  18598. "type": "integer"
  18599. },
  18600. "p2pricemode": {
  18601. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  18602. "type": "integer"
  18603. },
  18604. "pdeliveryprice": {
  18605. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  18606. "type": "number"
  18607. },
  18608. "pdeliveryratio": {
  18609. "description": "P合约系数(n)",
  18610. "type": "integer"
  18611. },
  18612. "pgoodscode": {
  18613. "description": "p合约代码",
  18614. "type": "string"
  18615. },
  18616. "pgoodsid": {
  18617. "description": "P合约ID",
  18618. "type": "integer"
  18619. },
  18620. "ppricemode": {
  18621. "description": "P合约价格方式 - 1:商品价 2:固定值",
  18622. "type": "integer"
  18623. },
  18624. "rratio": {
  18625. "description": "兑换系数(R)",
  18626. "type": "integer"
  18627. },
  18628. "rratio1": {
  18629. "description": "兑换系数(交易合约)(R1)",
  18630. "type": "integer"
  18631. },
  18632. "rratio2": {
  18633. "description": "兑换系数(仓单标准)(R2)",
  18634. "type": "integer"
  18635. },
  18636. "selltemplateid": {
  18637. "description": "卖履约计划模板ID",
  18638. "type": "integer"
  18639. },
  18640. "wrstandardid": {
  18641. "description": "仓单标准ID",
  18642. "type": "integer"
  18643. },
  18644. "xdeliveryratio": {
  18645. "description": "交易合约系数(m)",
  18646. "type": "integer"
  18647. }
  18648. }
  18649. },
  18650. "ermcp.ExposureDetailRsp": {
  18651. "type": "object",
  18652. "properties": {
  18653. "areauserid": {
  18654. "description": "机构ID",
  18655. "type": "integer"
  18656. },
  18657. "changeQty": {
  18658. "description": "套保变动量",
  18659. "type": "number"
  18660. },
  18661. "contracttype": {
  18662. "description": "现货合同类型 - 1:采购 -1:销售",
  18663. "type": "integer"
  18664. },
  18665. "convertfactor": {
  18666. "description": "标仓系数",
  18667. "type": "number"
  18668. },
  18669. "convertratio": {
  18670. "description": "套保系数",
  18671. "type": "number"
  18672. },
  18673. "createtime": {
  18674. "description": "时间",
  18675. "type": "string"
  18676. },
  18677. "enumdicname": {
  18678. "description": "现货商品单位名称",
  18679. "type": "string"
  18680. },
  18681. "logtype": {
  18682. "description": "类型 - 1:套保计划 2:现货合同",
  18683. "type": "integer"
  18684. },
  18685. "middlegoodsId": {
  18686. "description": "套保商品id",
  18687. "type": "integer"
  18688. },
  18689. "middlegoodscode": {
  18690. "description": "套保商品代码",
  18691. "type": "string"
  18692. },
  18693. "middlegoodsname": {
  18694. "description": "套保商品名称",
  18695. "type": "string"
  18696. },
  18697. "qty": {
  18698. "description": "数量",
  18699. "type": "number"
  18700. },
  18701. "relateNo": {
  18702. "description": "现货合同/套保计划编号",
  18703. "type": "string"
  18704. },
  18705. "wrstandardcode": {
  18706. "description": "现货商品代码",
  18707. "type": "string"
  18708. },
  18709. "wrstandardid": {
  18710. "description": "现货商品ID",
  18711. "type": "integer"
  18712. },
  18713. "wrstandardname": {
  18714. "description": "现货商品名称",
  18715. "type": "string"
  18716. }
  18717. }
  18718. },
  18719. "ermcp.ExposureHedgePosDetailRsp": {
  18720. "type": "object",
  18721. "properties": {
  18722. "buyorsell": {
  18723. "description": "买卖方向 0-买 1-卖",
  18724. "type": "integer"
  18725. },
  18726. "channelbuildtype": {
  18727. "description": "开平方向 1-建仓 2-平仓",
  18728. "type": "integer"
  18729. },
  18730. "goodscode": {
  18731. "description": "商品代码",
  18732. "type": "string"
  18733. },
  18734. "goodsname": {
  18735. "description": "商品名称",
  18736. "type": "string"
  18737. },
  18738. "hedgegoodsid": {
  18739. "description": "商品id",
  18740. "type": "integer"
  18741. },
  18742. "tradeqty": {
  18743. "description": "数量(成交数量)",
  18744. "type": "integer"
  18745. },
  18746. "tradetime": {
  18747. "description": "时间(成交时间)",
  18748. "type": "string"
  18749. }
  18750. }
  18751. },
  18752. "ermcp.ExposureHedgePositionRsp": {
  18753. "type": "object",
  18754. "properties": {
  18755. "accountid": {
  18756. "description": "资金账号[外部母账户]",
  18757. "type": "integer"
  18758. },
  18759. "curbuyposition": {
  18760. "description": "期末买头寸",
  18761. "type": "integer"
  18762. },
  18763. "cursellposition": {
  18764. "description": "期末卖头寸",
  18765. "type": "integer"
  18766. },
  18767. "curtdbuyposition": {
  18768. "description": "期末今日买头寸",
  18769. "type": "integer"
  18770. },
  18771. "curtdsellposition": {
  18772. "description": "期末今日卖头寸",
  18773. "type": "integer"
  18774. },
  18775. "curydbuyposition": {
  18776. "description": "期末上日买头寸",
  18777. "type": "integer"
  18778. },
  18779. "curydsellposition": {
  18780. "description": "期末上日卖头寸",
  18781. "type": "integer"
  18782. },
  18783. "decreaseqty": {
  18784. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18785. "type": "integer"
  18786. },
  18787. "fretdbuyposition": {
  18788. "description": "冻结今日买头寸",
  18789. "type": "integer"
  18790. },
  18791. "fretdsellposition": {
  18792. "description": "冻结今日卖头寸",
  18793. "type": "integer"
  18794. },
  18795. "freydbuyposition": {
  18796. "description": "冻结上日买头寸",
  18797. "type": "integer"
  18798. },
  18799. "freydsellposition": {
  18800. "description": "冻结上日卖头寸",
  18801. "type": "integer"
  18802. },
  18803. "goodscode": {
  18804. "description": "商品代码",
  18805. "type": "string"
  18806. },
  18807. "goodsid": {
  18808. "description": "商品id",
  18809. "type": "integer"
  18810. },
  18811. "goodsname": {
  18812. "description": "商品名称",
  18813. "type": "string"
  18814. },
  18815. "hedgeaccountcode": {
  18816. "description": "对冲账号",
  18817. "type": "string"
  18818. },
  18819. "hedgegoodsid": {
  18820. "description": "对冲合约ID",
  18821. "type": "integer"
  18822. },
  18823. "increaseqty": {
  18824. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18825. "type": "integer"
  18826. },
  18827. "marketid": {
  18828. "description": "市场ID",
  18829. "type": "integer"
  18830. },
  18831. "relateduserid": {
  18832. "description": "关联用户id",
  18833. "type": "integer"
  18834. },
  18835. "totalcurqty": {
  18836. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18837. "type": "integer"
  18838. },
  18839. "totalydqty": {
  18840. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18841. "type": "integer"
  18842. },
  18843. "tradedate": {
  18844. "description": "交易日(yyyyMMdd)",
  18845. "type": "string"
  18846. },
  18847. "ydbuyposition": {
  18848. "description": "期初买头寸",
  18849. "type": "integer"
  18850. },
  18851. "ydsellposition": {
  18852. "description": "期初卖头寸",
  18853. "type": "integer"
  18854. }
  18855. }
  18856. },
  18857. "ermcp.ExposureSpotDetailRsp": {
  18858. "type": "object",
  18859. "properties": {
  18860. "contracttype": {
  18861. "description": "合同类型 1-采购 -1-销售",
  18862. "type": "integer"
  18863. },
  18864. "createtime": {
  18865. "description": "创建时间",
  18866. "type": "string"
  18867. },
  18868. "enumdicname": {
  18869. "description": "现货商品单位名称",
  18870. "type": "string"
  18871. },
  18872. "logtype": {
  18873. "description": "记录类型 1-套保 2-现货合同",
  18874. "type": "integer"
  18875. },
  18876. "qty": {
  18877. "description": "数量",
  18878. "type": "number"
  18879. },
  18880. "recordname": {
  18881. "description": "类型名称",
  18882. "type": "string"
  18883. },
  18884. "relatedid": {
  18885. "description": "套保计划ID/现货合同ID",
  18886. "type": "string"
  18887. },
  18888. "relatedno": {
  18889. "description": "编号",
  18890. "type": "string"
  18891. },
  18892. "strtime": {
  18893. "description": "时间",
  18894. "type": "string"
  18895. },
  18896. "wrstandardcode": {
  18897. "description": "现货商品代码",
  18898. "type": "string"
  18899. },
  18900. "wrstandardname": {
  18901. "description": "现货商品名称",
  18902. "type": "string"
  18903. }
  18904. }
  18905. },
  18906. "ermcp.ExposureSpotRsp": {
  18907. "type": "object",
  18908. "properties": {
  18909. "areauserid": {
  18910. "description": "所属机构",
  18911. "type": "integer"
  18912. },
  18913. "decreaseqty": {
  18914. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18915. "type": "number"
  18916. },
  18917. "increaseqty": {
  18918. "description": "增加数量=销售计划数量+采购已定价数量",
  18919. "type": "number"
  18920. },
  18921. "oritoalspotqty": {
  18922. "description": "昨日数量",
  18923. "type": "number"
  18924. },
  18925. "totalspotqty": {
  18926. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18927. "type": "number"
  18928. },
  18929. "updatetime": {
  18930. "description": "更新时间",
  18931. "type": "string"
  18932. },
  18933. "wrstandardcode": {
  18934. "description": "现货品种代码",
  18935. "type": "string"
  18936. },
  18937. "wrstandardid": {
  18938. "description": "现货商品ID",
  18939. "type": "integer"
  18940. },
  18941. "wrstandardname": {
  18942. "description": "现货品种",
  18943. "type": "string"
  18944. }
  18945. }
  18946. },
  18947. "ermcp.HisExposureRsp": {
  18948. "type": "object",
  18949. "properties": {
  18950. "data": {
  18951. "description": "历史敞口",
  18952. "type": "array",
  18953. "items": {
  18954. "$ref": "#/definitions/models.ErmcpHisExposure"
  18955. }
  18956. },
  18957. "enumdicname": {
  18958. "description": "单位名称",
  18959. "type": "string"
  18960. },
  18961. "middlegoodscode": {
  18962. "description": "套保品种代码",
  18963. "type": "string"
  18964. },
  18965. "middlegoodsid": {
  18966. "description": "套保品种ID",
  18967. "type": "integer"
  18968. },
  18969. "middlegoodsname": {
  18970. "description": "套保品种名称",
  18971. "type": "string"
  18972. }
  18973. }
  18974. },
  18975. "ermcp.PendingAuditCntRsp": {
  18976. "type": "object",
  18977. "properties": {
  18978. "areastockqty": {
  18979. "description": "待审核数量: 库存申请",
  18980. "type": "integer"
  18981. },
  18982. "businessdjqty": {
  18983. "description": "待审核数量: 点价",
  18984. "type": "integer"
  18985. },
  18986. "businessfpqty": {
  18987. "description": "待审核数量: 发票",
  18988. "type": "integer"
  18989. },
  18990. "businessjsqty": {
  18991. "description": "待审核数量: 结算",
  18992. "type": "integer"
  18993. },
  18994. "businesskxqty": {
  18995. "description": "待审核数量: 款项",
  18996. "type": "integer"
  18997. },
  18998. "hedgeplanqty": {
  18999. "description": "待审核数量: 套保计划",
  19000. "type": "integer"
  19001. },
  19002. "spotcontractqty": {
  19003. "description": "待审核数量: 现货合同",
  19004. "type": "integer"
  19005. },
  19006. "userqty": {
  19007. "description": "待审核数量: 用户",
  19008. "type": "integer"
  19009. }
  19010. }
  19011. },
  19012. "ermcp.QryAvalidGPRsp": {
  19013. "type": "object",
  19014. "properties": {
  19015. "goodsgroupid": {
  19016. "description": "期货品种id",
  19017. "type": "integer"
  19018. },
  19019. "goodsgroupname": {
  19020. "description": "期货品种名称",
  19021. "type": "string"
  19022. },
  19023. "goodunitid": {
  19024. "description": "品种单位id",
  19025. "type": "integer"
  19026. },
  19027. "goodunitname": {
  19028. "description": "品种单位名称",
  19029. "type": "string"
  19030. },
  19031. "outergroupcode": {
  19032. "description": "期货品种代码",
  19033. "type": "string"
  19034. }
  19035. }
  19036. },
  19037. "ermcp.QryBusinessDjRsp": {
  19038. "type": "object",
  19039. "properties": {
  19040. "amount": {
  19041. "description": "期初均价",
  19042. "type": "number"
  19043. },
  19044. "applyid": {
  19045. "description": "申请人",
  19046. "type": "string"
  19047. },
  19048. "applyname": {
  19049. "description": "申请人名称",
  19050. "type": "string"
  19051. },
  19052. "applystatus": {
  19053. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19054. "type": "integer"
  19055. },
  19056. "applytime": {
  19057. "description": "申请时间",
  19058. "type": "string"
  19059. },
  19060. "attachurl": {
  19061. "description": "附件",
  19062. "type": "string"
  19063. },
  19064. "auditid": {
  19065. "description": "审核人ID",
  19066. "type": "string"
  19067. },
  19068. "auditname": {
  19069. "description": "审核人名称",
  19070. "type": "string"
  19071. },
  19072. "auditremark": {
  19073. "description": "审核备注",
  19074. "type": "string"
  19075. },
  19076. "audittime": {
  19077. "description": "审核时间",
  19078. "type": "string"
  19079. },
  19080. "buyusername": {
  19081. "description": "采购方名称",
  19082. "type": "string"
  19083. },
  19084. "contractno": {
  19085. "description": "合同编号",
  19086. "type": "string"
  19087. },
  19088. "contractstatus": {
  19089. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19090. "type": "integer"
  19091. },
  19092. "contracttype": {
  19093. "description": "现货合同类型 - 1:采购 -1:销售",
  19094. "type": "integer"
  19095. },
  19096. "deliverygoodscode": {
  19097. "description": "现货品种代码",
  19098. "type": "string"
  19099. },
  19100. "deliverygoodsid": {
  19101. "description": "现货商品ID",
  19102. "type": "integer"
  19103. },
  19104. "deliverygoodsname": {
  19105. "description": "现货品种名称",
  19106. "type": "string"
  19107. },
  19108. "enumdicname": {
  19109. "description": "单位名称",
  19110. "type": "string"
  19111. },
  19112. "goodscode": {
  19113. "description": "点价合约",
  19114. "type": "string"
  19115. },
  19116. "goodsname": {
  19117. "description": "商品名称",
  19118. "type": "string"
  19119. },
  19120. "operateapplyid": {
  19121. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19122. "type": "string"
  19123. },
  19124. "operateapplytype": {
  19125. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19126. "type": "integer"
  19127. },
  19128. "pricedPrice": {
  19129. "description": "点价价格(非必填)",
  19130. "type": "number"
  19131. },
  19132. "pricedQty": {
  19133. "description": "点价数量(非必填)",
  19134. "type": "number"
  19135. },
  19136. "pricemove": {
  19137. "description": "升贴水",
  19138. "type": "number"
  19139. },
  19140. "pricetype": {
  19141. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19142. "type": "integer"
  19143. },
  19144. "relatedid": {
  19145. "description": "现货合同ID",
  19146. "type": "string"
  19147. },
  19148. "sellusername": {
  19149. "description": "销售方名字",
  19150. "type": "string"
  19151. },
  19152. "userid": {
  19153. "description": "用户ID",
  19154. "type": "integer"
  19155. },
  19156. "wrstandardcode": {
  19157. "description": "品类代码",
  19158. "type": "string"
  19159. },
  19160. "wrstandardid": {
  19161. "description": "品类id",
  19162. "type": "integer"
  19163. },
  19164. "wrstandardname": {
  19165. "description": "品类名称",
  19166. "type": "string"
  19167. }
  19168. }
  19169. },
  19170. "ermcp.QryBussinessFpRsp": {
  19171. "type": "object",
  19172. "properties": {
  19173. "applyid": {
  19174. "description": "申请人",
  19175. "type": "string"
  19176. },
  19177. "applyname": {
  19178. "description": "申请人名称",
  19179. "type": "string"
  19180. },
  19181. "applystatus": {
  19182. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19183. "type": "integer"
  19184. },
  19185. "applytime": {
  19186. "description": "申请时间",
  19187. "type": "string"
  19188. },
  19189. "attachurl": {
  19190. "description": "附件",
  19191. "type": "string"
  19192. },
  19193. "auditid": {
  19194. "description": "审核人ID",
  19195. "type": "string"
  19196. },
  19197. "auditname": {
  19198. "description": "审核人名称",
  19199. "type": "string"
  19200. },
  19201. "auditremark": {
  19202. "description": "审核备注",
  19203. "type": "string"
  19204. },
  19205. "audittime": {
  19206. "description": "审核时间",
  19207. "type": "string"
  19208. },
  19209. "buyusername": {
  19210. "description": "采购方名称",
  19211. "type": "string"
  19212. },
  19213. "contractno": {
  19214. "description": "合同编号",
  19215. "type": "string"
  19216. },
  19217. "contractstatus": {
  19218. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19219. "type": "integer"
  19220. },
  19221. "contracttype": {
  19222. "description": "现货合同类型 - 1:采购 -1:销售",
  19223. "type": "integer"
  19224. },
  19225. "deliverygoodscode": {
  19226. "description": "现货品种代码",
  19227. "type": "string"
  19228. },
  19229. "deliverygoodsid": {
  19230. "description": "现货商品ID",
  19231. "type": "integer"
  19232. },
  19233. "deliverygoodsname": {
  19234. "description": "现货品种名称",
  19235. "type": "string"
  19236. },
  19237. "enumdicname": {
  19238. "description": "单位名称",
  19239. "type": "string"
  19240. },
  19241. "goodscode": {
  19242. "description": "点价合约",
  19243. "type": "string"
  19244. },
  19245. "goodsname": {
  19246. "description": "商品名称",
  19247. "type": "string"
  19248. },
  19249. "invoiceamount": {
  19250. "description": "已开收票金额(销售为开票,采购为收票)",
  19251. "type": "number"
  19252. },
  19253. "operateapplyid": {
  19254. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19255. "type": "string"
  19256. },
  19257. "operateapplytype": {
  19258. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19259. "type": "integer"
  19260. },
  19261. "pricemove": {
  19262. "description": "升贴水",
  19263. "type": "number"
  19264. },
  19265. "pricetype": {
  19266. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19267. "type": "integer"
  19268. },
  19269. "relatedid": {
  19270. "description": "现货合同ID",
  19271. "type": "string"
  19272. },
  19273. "sellusername": {
  19274. "description": "销售方名字",
  19275. "type": "string"
  19276. },
  19277. "userid": {
  19278. "description": "用户ID",
  19279. "type": "integer"
  19280. },
  19281. "wrstandardcode": {
  19282. "description": "品类代码",
  19283. "type": "string"
  19284. },
  19285. "wrstandardid": {
  19286. "description": "品类id",
  19287. "type": "integer"
  19288. },
  19289. "wrstandardname": {
  19290. "description": "品类名称",
  19291. "type": "string"
  19292. }
  19293. }
  19294. },
  19295. "ermcp.QryBussinessJsExRsp": {
  19296. "type": "object",
  19297. "properties": {
  19298. "applyid": {
  19299. "description": "申请人",
  19300. "type": "string"
  19301. },
  19302. "applyname": {
  19303. "description": "申请人名称",
  19304. "type": "string"
  19305. },
  19306. "applystatus": {
  19307. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19308. "type": "integer"
  19309. },
  19310. "applytime": {
  19311. "description": "申请时间",
  19312. "type": "string"
  19313. },
  19314. "attachurl": {
  19315. "description": "附件",
  19316. "type": "string"
  19317. },
  19318. "auditid": {
  19319. "description": "审核人ID",
  19320. "type": "string"
  19321. },
  19322. "auditname": {
  19323. "description": "审核人名称",
  19324. "type": "string"
  19325. },
  19326. "auditremark": {
  19327. "description": "审核备注",
  19328. "type": "string"
  19329. },
  19330. "audittime": {
  19331. "description": "审核时间",
  19332. "type": "string"
  19333. },
  19334. "buyusername": {
  19335. "description": "采购方名称",
  19336. "type": "string"
  19337. },
  19338. "contractno": {
  19339. "description": "合同编号",
  19340. "type": "string"
  19341. },
  19342. "contractstatus": {
  19343. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19344. "type": "integer"
  19345. },
  19346. "contracttype": {
  19347. "description": "现货合同类型 - 1:采购 -1:销售",
  19348. "type": "integer"
  19349. },
  19350. "deliverygoodscode": {
  19351. "description": "现货品种代码",
  19352. "type": "string"
  19353. },
  19354. "deliverygoodsid": {
  19355. "description": "现货商品ID",
  19356. "type": "integer"
  19357. },
  19358. "deliverygoodsname": {
  19359. "description": "现货品种名称",
  19360. "type": "string"
  19361. },
  19362. "enumdicname": {
  19363. "description": "单位名称",
  19364. "type": "string"
  19365. },
  19366. "goodscode": {
  19367. "description": "点价合约",
  19368. "type": "string"
  19369. },
  19370. "goodsname": {
  19371. "description": "商品名称",
  19372. "type": "string"
  19373. },
  19374. "operateapplyid": {
  19375. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19376. "type": "string"
  19377. },
  19378. "operateapplytype": {
  19379. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19380. "type": "integer"
  19381. },
  19382. "pricemove": {
  19383. "description": "升贴水",
  19384. "type": "number"
  19385. },
  19386. "pricetype": {
  19387. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19388. "type": "integer"
  19389. },
  19390. "reckontype": {
  19391. "description": "结算类型",
  19392. "type": "string"
  19393. },
  19394. "reckonvalue": {
  19395. "description": "值",
  19396. "type": "number"
  19397. },
  19398. "relatedid": {
  19399. "description": "现货合同ID",
  19400. "type": "string"
  19401. },
  19402. "sellusername": {
  19403. "description": "销售方名字",
  19404. "type": "string"
  19405. },
  19406. "userid": {
  19407. "description": "用户ID",
  19408. "type": "integer"
  19409. },
  19410. "wrstandardcode": {
  19411. "description": "品类代码",
  19412. "type": "string"
  19413. },
  19414. "wrstandardid": {
  19415. "description": "品类id",
  19416. "type": "integer"
  19417. },
  19418. "wrstandardname": {
  19419. "description": "品类名称",
  19420. "type": "string"
  19421. }
  19422. }
  19423. },
  19424. "ermcp.QryBussinessJsRsp": {
  19425. "type": "object",
  19426. "properties": {
  19427. "addmargin": {
  19428. "description": "追加保证金(非必填)",
  19429. "type": "number"
  19430. },
  19431. "applyid": {
  19432. "description": "申请人",
  19433. "type": "string"
  19434. },
  19435. "applyname": {
  19436. "description": "申请人名称",
  19437. "type": "string"
  19438. },
  19439. "applystatus": {
  19440. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19441. "type": "integer"
  19442. },
  19443. "applytime": {
  19444. "description": "申请时间",
  19445. "type": "string"
  19446. },
  19447. "attachurl": {
  19448. "description": "附件",
  19449. "type": "string"
  19450. },
  19451. "auditid": {
  19452. "description": "审核人ID",
  19453. "type": "string"
  19454. },
  19455. "auditname": {
  19456. "description": "审核人名称",
  19457. "type": "string"
  19458. },
  19459. "auditremark": {
  19460. "description": "审核备注",
  19461. "type": "string"
  19462. },
  19463. "audittime": {
  19464. "description": "审核时间",
  19465. "type": "string"
  19466. },
  19467. "buyusername": {
  19468. "description": "采购方名称",
  19469. "type": "string"
  19470. },
  19471. "contractno": {
  19472. "description": "合同编号",
  19473. "type": "string"
  19474. },
  19475. "contractstatus": {
  19476. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19477. "type": "integer"
  19478. },
  19479. "contracttype": {
  19480. "description": "现货合同类型 - 1:采购 -1:销售",
  19481. "type": "integer"
  19482. },
  19483. "decmargin": {
  19484. "description": "减少保证金(非必填)",
  19485. "type": "number"
  19486. },
  19487. "deliverygoodscode": {
  19488. "description": "现货品种代码",
  19489. "type": "string"
  19490. },
  19491. "deliverygoodsid": {
  19492. "description": "现货商品ID",
  19493. "type": "integer"
  19494. },
  19495. "deliverygoodsname": {
  19496. "description": "现货品种名称",
  19497. "type": "string"
  19498. },
  19499. "enumdicname": {
  19500. "description": "单位名称",
  19501. "type": "string"
  19502. },
  19503. "goodscode": {
  19504. "description": "点价合约",
  19505. "type": "string"
  19506. },
  19507. "goodsname": {
  19508. "description": "商品名称",
  19509. "type": "string"
  19510. },
  19511. "operateapplyid": {
  19512. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19513. "type": "string"
  19514. },
  19515. "operateapplytype": {
  19516. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19517. "type": "integer"
  19518. },
  19519. "pricemove": {
  19520. "description": "升贴水",
  19521. "type": "number"
  19522. },
  19523. "pricetype": {
  19524. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19525. "type": "integer"
  19526. },
  19527. "reckonadjustamount": {
  19528. "description": "结算调整金额(非必填)",
  19529. "type": "number"
  19530. },
  19531. "reckonosamount": {
  19532. "description": "结算溢短金额(非必填)",
  19533. "type": "number"
  19534. },
  19535. "reckonotheramount": {
  19536. "description": "结算其他费用(非必填)",
  19537. "type": "number"
  19538. },
  19539. "reckonrealqty": {
  19540. "description": "结算实际数量(非必填)",
  19541. "type": "number"
  19542. },
  19543. "relatedid": {
  19544. "description": "现货合同ID",
  19545. "type": "string"
  19546. },
  19547. "sellusername": {
  19548. "description": "销售方名字",
  19549. "type": "string"
  19550. },
  19551. "userid": {
  19552. "description": "用户ID",
  19553. "type": "integer"
  19554. },
  19555. "wrstandardcode": {
  19556. "description": "品类代码",
  19557. "type": "string"
  19558. },
  19559. "wrstandardid": {
  19560. "description": "品类id",
  19561. "type": "integer"
  19562. },
  19563. "wrstandardname": {
  19564. "description": "品类名称",
  19565. "type": "string"
  19566. }
  19567. }
  19568. },
  19569. "ermcp.QryBussinessKxRsp": {
  19570. "type": "object",
  19571. "properties": {
  19572. "applyid": {
  19573. "description": "申请人",
  19574. "type": "string"
  19575. },
  19576. "applyname": {
  19577. "description": "申请人名称",
  19578. "type": "string"
  19579. },
  19580. "applystatus": {
  19581. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19582. "type": "integer"
  19583. },
  19584. "applytime": {
  19585. "description": "申请时间",
  19586. "type": "string"
  19587. },
  19588. "attachurl": {
  19589. "description": "附件",
  19590. "type": "string"
  19591. },
  19592. "auditid": {
  19593. "description": "审核人ID",
  19594. "type": "string"
  19595. },
  19596. "auditname": {
  19597. "description": "审核人名称",
  19598. "type": "string"
  19599. },
  19600. "auditremark": {
  19601. "description": "审核备注",
  19602. "type": "string"
  19603. },
  19604. "audittime": {
  19605. "description": "审核时间",
  19606. "type": "string"
  19607. },
  19608. "buyusername": {
  19609. "description": "采购方名称",
  19610. "type": "string"
  19611. },
  19612. "contractno": {
  19613. "description": "合同编号",
  19614. "type": "string"
  19615. },
  19616. "contractstatus": {
  19617. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19618. "type": "integer"
  19619. },
  19620. "contracttype": {
  19621. "description": "现货合同类型 - 1:采购 -1:销售",
  19622. "type": "integer"
  19623. },
  19624. "deductamount": {
  19625. "description": "期初均价",
  19626. "type": "number"
  19627. },
  19628. "deliverygoodscode": {
  19629. "description": "现货品种代码",
  19630. "type": "string"
  19631. },
  19632. "deliverygoodsid": {
  19633. "description": "现货商品ID",
  19634. "type": "integer"
  19635. },
  19636. "deliverygoodsname": {
  19637. "description": "现货品种名称",
  19638. "type": "string"
  19639. },
  19640. "enumdicname": {
  19641. "description": "单位名称",
  19642. "type": "string"
  19643. },
  19644. "goodscode": {
  19645. "description": "点价合约",
  19646. "type": "string"
  19647. },
  19648. "goodsname": {
  19649. "description": "商品名称",
  19650. "type": "string"
  19651. },
  19652. "kxtype": {
  19653. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  19654. "type": "integer"
  19655. },
  19656. "operateapplyid": {
  19657. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19658. "type": "string"
  19659. },
  19660. "operateapplytype": {
  19661. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19662. "type": "integer"
  19663. },
  19664. "payamount": {
  19665. "description": "期初均价",
  19666. "type": "number"
  19667. },
  19668. "pricemove": {
  19669. "description": "升贴水",
  19670. "type": "number"
  19671. },
  19672. "pricetype": {
  19673. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19674. "type": "integer"
  19675. },
  19676. "relatedid": {
  19677. "description": "现货合同ID",
  19678. "type": "string"
  19679. },
  19680. "sellusername": {
  19681. "description": "销售方名字",
  19682. "type": "string"
  19683. },
  19684. "userid": {
  19685. "description": "用户ID",
  19686. "type": "integer"
  19687. },
  19688. "wrstandardcode": {
  19689. "description": "品类代码",
  19690. "type": "string"
  19691. },
  19692. "wrstandardid": {
  19693. "description": "品类id",
  19694. "type": "integer"
  19695. },
  19696. "wrstandardname": {
  19697. "description": "品类名称",
  19698. "type": "string"
  19699. }
  19700. }
  19701. },
  19702. "ermcp.QryGGCovertCfgRsp": {
  19703. "type": "object",
  19704. "properties": {
  19705. "convertratio": {
  19706. "description": "折算系数",
  19707. "type": "number"
  19708. },
  19709. "destgoodsgroupid": {
  19710. "description": "目标品种ID",
  19711. "type": "integer"
  19712. },
  19713. "dstcode": {
  19714. "description": "目录品种代码",
  19715. "type": "string"
  19716. },
  19717. "dstexchangecode": {
  19718. "description": "目标期货交易所",
  19719. "type": "string"
  19720. },
  19721. "dstname": {
  19722. "description": "目标品种名称",
  19723. "type": "string"
  19724. },
  19725. "dstunitid": {
  19726. "description": "目标品种单位ID",
  19727. "type": "integer"
  19728. },
  19729. "dstunitidname": {
  19730. "description": "目标品种单位名称",
  19731. "type": "string"
  19732. },
  19733. "modifytime": {
  19734. "description": "修改时间",
  19735. "type": "string"
  19736. },
  19737. "srccode": {
  19738. "description": "源品种代码",
  19739. "type": "string"
  19740. },
  19741. "srcexchangecode": {
  19742. "description": "源期货交易所",
  19743. "type": "string"
  19744. },
  19745. "srcgoodsgroupid": {
  19746. "description": "源品种ID",
  19747. "type": "integer"
  19748. },
  19749. "srcname": {
  19750. "description": "源品种名称",
  19751. "type": "string"
  19752. },
  19753. "srcunitid": {
  19754. "description": "源品种单位ID",
  19755. "type": "integer"
  19756. },
  19757. "srcunitidname": {
  19758. "description": "源品种单位名称",
  19759. "type": "string"
  19760. }
  19761. }
  19762. },
  19763. "ermcp.QryMGChangeLogRsp": {
  19764. "type": "object",
  19765. "properties": {
  19766. "aftervalue": {
  19767. "description": "变更后",
  19768. "type": "number"
  19769. },
  19770. "applyid": {
  19771. "description": "操作人",
  19772. "type": "integer"
  19773. },
  19774. "applyname": {
  19775. "description": "操作人名称",
  19776. "type": "string"
  19777. },
  19778. "applysrc": {
  19779. "description": "操作来源 - 1:管理端 2:终端",
  19780. "type": "integer"
  19781. },
  19782. "beforevalue": {
  19783. "description": "变更前",
  19784. "type": "number"
  19785. },
  19786. "changelogtype": {
  19787. "description": "变更流水类型 - 1:套保比率变更",
  19788. "type": "integer"
  19789. },
  19790. "handlestatus": {
  19791. "description": "处理状态",
  19792. "type": "integer"
  19793. },
  19794. "logdatetime": {
  19795. "description": "流水日期",
  19796. "type": "string"
  19797. },
  19798. "logid": {
  19799. "description": "流水ID",
  19800. "type": "integer"
  19801. },
  19802. "logremark": {
  19803. "description": "流水备注",
  19804. "type": "string"
  19805. },
  19806. "middlegoodsid": {
  19807. "description": "套保品种ID",
  19808. "type": "integer"
  19809. },
  19810. "tradedate": {
  19811. "description": "交易日(yyyyMMdd)",
  19812. "type": "string"
  19813. },
  19814. "updatetime": {
  19815. "description": "更新时间",
  19816. "type": "string"
  19817. }
  19818. }
  19819. },
  19820. "ermcp.QryMiddleGoodsDetailRsp": {
  19821. "type": "object",
  19822. "properties": {
  19823. "cvList": {
  19824. "description": "期货品种折算列表",
  19825. "type": "array",
  19826. "items": {
  19827. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19828. }
  19829. },
  19830. "mg": {
  19831. "description": "套保品种基本信息",
  19832. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19833. },
  19834. "wrcList": {
  19835. "description": "现货品种列表(现货商品折算配置)",
  19836. "type": "array",
  19837. "items": {
  19838. "$ref": "#/definitions/models.WRSConverTDetail"
  19839. }
  19840. }
  19841. }
  19842. },
  19843. "ermcp.QryMiddleGoodsRsp": {
  19844. "type": "object",
  19845. "properties": {
  19846. "areauserid": {
  19847. "description": "机构用户ID",
  19848. "type": "integer"
  19849. },
  19850. "createtime": {
  19851. "description": "修改时间",
  19852. "type": "string"
  19853. },
  19854. "enumdicname": {
  19855. "description": "单位名称",
  19856. "type": "string"
  19857. },
  19858. "evaluateratio": {
  19859. "description": "估价系数",
  19860. "type": "number"
  19861. },
  19862. "goodsgroupid": {
  19863. "description": "关联期货品种ID",
  19864. "type": "integer"
  19865. },
  19866. "goodsunitid": {
  19867. "description": "单位ID",
  19868. "type": "integer"
  19869. },
  19870. "isvalid": {
  19871. "description": "状态 0-无效(停用) 1-有效(正常)",
  19872. "type": "integer"
  19873. },
  19874. "middlegoodscode": {
  19875. "description": "套保品种代码",
  19876. "type": "string"
  19877. },
  19878. "middlegoodsid": {
  19879. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19880. "type": "integer"
  19881. },
  19882. "middlegoodsname": {
  19883. "description": "套保品种名称",
  19884. "type": "string"
  19885. },
  19886. "modifytime": {
  19887. "description": "修改时间",
  19888. "type": "string"
  19889. },
  19890. "needarbitrageratio": {
  19891. "description": "套利比例",
  19892. "type": "number"
  19893. },
  19894. "needhedgeratio": {
  19895. "description": "套保比率",
  19896. "type": "number"
  19897. },
  19898. "qtydecimalplace": {
  19899. "description": "数量小数位",
  19900. "type": "integer"
  19901. },
  19902. "relatedgoodsid": {
  19903. "description": "关联交易商品ID",
  19904. "type": "integer"
  19905. },
  19906. "relatedgoodstype": {
  19907. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19908. "type": "integer"
  19909. },
  19910. "remark": {
  19911. "description": "备注",
  19912. "type": "string"
  19913. }
  19914. }
  19915. },
  19916. "ermcp.QryOPLogRsp": {
  19917. "type": "object",
  19918. "properties": {
  19919. "aftervalue": {
  19920. "description": "变更后",
  19921. "type": "number"
  19922. },
  19923. "applyid": {
  19924. "description": "操作人ID",
  19925. "type": "string"
  19926. },
  19927. "applyname": {
  19928. "description": "操作人名称",
  19929. "type": "string"
  19930. },
  19931. "beforevalue": {
  19932. "description": "变更前",
  19933. "type": "number"
  19934. },
  19935. "biztype": {
  19936. "description": "业务类型 - 1:套保计划 2:现货合同",
  19937. "type": "integer"
  19938. },
  19939. "contracttype": {
  19940. "description": "现货合同类型 - 1:采购 -1:销售",
  19941. "type": "integer"
  19942. },
  19943. "logvalue": {
  19944. "description": "数值",
  19945. "type": "number"
  19946. },
  19947. "operatelogtype": {
  19948. "description": "操作流水类型",
  19949. "type": "integer"
  19950. },
  19951. "operatelogtypedesc": {
  19952. "description": "操作流水类型名称",
  19953. "type": "string"
  19954. },
  19955. "relatedid": {
  19956. "description": "现货合同ID\\套保计划",
  19957. "type": "string"
  19958. },
  19959. "updatetime": {
  19960. "description": "更新时间",
  19961. "type": "string"
  19962. }
  19963. }
  19964. },
  19965. "ermcp.QryUserInfoRsp": {
  19966. "type": "object",
  19967. "properties": {
  19968. "address": {
  19969. "description": "通讯地址",
  19970. "type": "string"
  19971. },
  19972. "attachment1": {
  19973. "description": "附件1",
  19974. "type": "string"
  19975. },
  19976. "audittime": {
  19977. "description": "审核时间",
  19978. "type": "string"
  19979. },
  19980. "cardbackphotourl": {
  19981. "description": "证件反面图片地址",
  19982. "type": "string"
  19983. },
  19984. "cardfrontphotourl": {
  19985. "description": "证件正面图片地址",
  19986. "type": "string"
  19987. },
  19988. "cardnum": {
  19989. "description": "证件号码",
  19990. "type": "string"
  19991. },
  19992. "cardtype": {
  19993. "description": "证件类型",
  19994. "type": "integer"
  19995. },
  19996. "cardtypename": {
  19997. "description": "证件类型名称",
  19998. "type": "string"
  19999. },
  20000. "cityid": {
  20001. "description": "市",
  20002. "type": "integer"
  20003. },
  20004. "contactname": {
  20005. "description": "联系人",
  20006. "type": "string"
  20007. },
  20008. "countryid": {
  20009. "description": "国家",
  20010. "type": "integer"
  20011. },
  20012. "createtime": {
  20013. "description": "创建时间",
  20014. "type": "string"
  20015. },
  20016. "customername": {
  20017. "description": "企业名称",
  20018. "type": "string"
  20019. },
  20020. "districtid": {
  20021. "description": "区域",
  20022. "type": "integer"
  20023. },
  20024. "email": {
  20025. "description": "邮件",
  20026. "type": "string"
  20027. },
  20028. "legalpersonname": {
  20029. "description": "法人姓名(企业)",
  20030. "type": "string"
  20031. },
  20032. "memberuserid": {
  20033. "description": "所属机构ID",
  20034. "type": "integer"
  20035. },
  20036. "mobile": {
  20037. "description": "手机号码",
  20038. "type": "string"
  20039. },
  20040. "modifytime": {
  20041. "description": "修改时间",
  20042. "type": "string"
  20043. },
  20044. "nickname": {
  20045. "description": "昵称",
  20046. "type": "string"
  20047. },
  20048. "provinceid": {
  20049. "description": "省",
  20050. "type": "integer"
  20051. },
  20052. "remark": {
  20053. "description": "备注",
  20054. "type": "string"
  20055. },
  20056. "status": {
  20057. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20058. "type": "integer"
  20059. },
  20060. "statusdesc": {
  20061. "description": "账户状态中文描述",
  20062. "type": "string"
  20063. },
  20064. "taxpayernum": {
  20065. "description": "纳税人识别号",
  20066. "type": "string"
  20067. },
  20068. "telphone": {
  20069. "description": "联系电话",
  20070. "type": "string"
  20071. },
  20072. "userid": {
  20073. "description": "用户ID",
  20074. "type": "integer"
  20075. },
  20076. "userinfotype": {
  20077. "description": "客户类型",
  20078. "type": "string"
  20079. }
  20080. }
  20081. },
  20082. "ermcp.QryWarehouseRsp": {
  20083. "type": "object",
  20084. "properties": {
  20085. "address": {
  20086. "description": "详细地址",
  20087. "type": "string"
  20088. },
  20089. "areauserid": {
  20090. "description": "所属机构",
  20091. "type": "integer"
  20092. },
  20093. "autoid": {
  20094. "description": "自增ID(仓库ID)",
  20095. "type": "integer"
  20096. },
  20097. "cityid": {
  20098. "description": "市",
  20099. "type": "integer"
  20100. },
  20101. "contactname": {
  20102. "description": "联系人",
  20103. "type": "string"
  20104. },
  20105. "contactnum": {
  20106. "description": "联系电话",
  20107. "type": "string"
  20108. },
  20109. "countryid": {
  20110. "description": "国家",
  20111. "type": "integer"
  20112. },
  20113. "createtime": {
  20114. "description": "创建时间",
  20115. "type": "string"
  20116. },
  20117. "districtid": {
  20118. "description": "区",
  20119. "type": "integer"
  20120. },
  20121. "hasvideo": {
  20122. "description": "是否有视频 - 0:无 1:有",
  20123. "type": "integer"
  20124. },
  20125. "provinceid": {
  20126. "description": "省",
  20127. "type": "integer"
  20128. },
  20129. "remark": {
  20130. "description": "审核备注",
  20131. "type": "string"
  20132. },
  20133. "videourl": {
  20134. "description": "视频地址",
  20135. "type": "string"
  20136. },
  20137. "warehousecode": {
  20138. "description": "仓库代码",
  20139. "type": "string"
  20140. },
  20141. "warehousename": {
  20142. "description": "仓库名称",
  20143. "type": "string"
  20144. },
  20145. "warehousestatus": {
  20146. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20147. "type": "integer"
  20148. },
  20149. "warehousetype": {
  20150. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20151. "type": "integer"
  20152. }
  20153. }
  20154. },
  20155. "ermcp.QueryErmcpTradePositionRsp": {
  20156. "type": "object",
  20157. "properties": {
  20158. "agreeunit": {
  20159. "description": "合约单位",
  20160. "type": "number"
  20161. },
  20162. "buyorsell": {
  20163. "description": "方向 - 0:买 1:卖",
  20164. "type": "integer"
  20165. },
  20166. "curpositionqty": {
  20167. "description": "持仓(总仓数量, 期末头寸)",
  20168. "type": "integer"
  20169. },
  20170. "curtdposition": {
  20171. "description": "今仓数量(期末今日头寸)",
  20172. "type": "integer"
  20173. },
  20174. "curtdpositionenabled": {
  20175. "description": "今仓可用",
  20176. "type": "integer"
  20177. },
  20178. "decimalplace": {
  20179. "description": "报价小数位",
  20180. "type": "integer"
  20181. },
  20182. "enableqty": {
  20183. "description": "可用(总仓可用)",
  20184. "type": "integer"
  20185. },
  20186. "exexchangename": {
  20187. "description": "外部交易所名称",
  20188. "type": "string"
  20189. },
  20190. "exexehangecode": {
  20191. "description": "外部交易所代码",
  20192. "type": "string"
  20193. },
  20194. "exexehangeid": {
  20195. "description": "外部交易所id",
  20196. "type": "integer"
  20197. },
  20198. "goodscode": {
  20199. "description": "商品代码(内部)",
  20200. "type": "string"
  20201. },
  20202. "goodsid": {
  20203. "description": "商品ID(自增ID SEQ_GOODS)",
  20204. "type": "integer"
  20205. },
  20206. "goodsname": {
  20207. "description": "商品名称",
  20208. "type": "string"
  20209. },
  20210. "last": {
  20211. "description": "现价",
  20212. "type": "number"
  20213. },
  20214. "marketid": {
  20215. "description": "所属市场ID",
  20216. "type": "integer"
  20217. },
  20218. "openaverageprice": {
  20219. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  20220. "type": "number"
  20221. },
  20222. "opencost": {
  20223. "description": "开仓成本",
  20224. "type": "number"
  20225. },
  20226. "openpl": {
  20227. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  20228. "type": "number"
  20229. },
  20230. "outgoodscode": {
  20231. "description": "商品代码(外部)",
  20232. "type": "string"
  20233. },
  20234. "positionaverageprice": {
  20235. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  20236. "type": "number"
  20237. },
  20238. "positioncost": {
  20239. "description": "持仓成本",
  20240. "type": "number"
  20241. },
  20242. "positionpl": {
  20243. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  20244. "type": "number"
  20245. },
  20246. "positionplrate": {
  20247. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  20248. "type": "number"
  20249. },
  20250. "usedmargin": {
  20251. "description": "占用保证金",
  20252. "type": "number"
  20253. }
  20254. }
  20255. },
  20256. "ermcp.RealtimeExposurePositionRsp": {
  20257. "type": "object",
  20258. "properties": {
  20259. "agreeunit": {
  20260. "description": "合约单位",
  20261. "type": "string"
  20262. },
  20263. "areauserid": {
  20264. "description": "所属机构id",
  20265. "type": "integer"
  20266. },
  20267. "convertratio": {
  20268. "description": "期货品种系数(折算系数)",
  20269. "type": "number"
  20270. },
  20271. "curhedgeqty": {
  20272. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  20273. "type": "number"
  20274. },
  20275. "curqty": {
  20276. "description": "当前持仓",
  20277. "type": "integer"
  20278. },
  20279. "diffhedgeqty": {
  20280. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20281. "type": "number"
  20282. },
  20283. "diffqty": {
  20284. "description": "持仓变动量=当前持仓-昨日持仓",
  20285. "type": "integer"
  20286. },
  20287. "goodscode": {
  20288. "description": "商品代码",
  20289. "type": "string"
  20290. },
  20291. "goodsid": {
  20292. "description": "商品id",
  20293. "type": "integer"
  20294. },
  20295. "goodsname": {
  20296. "description": "商品名称",
  20297. "type": "string"
  20298. },
  20299. "hedgeaccountcode": {
  20300. "description": "对冲账号(只有外部账号才有值)",
  20301. "type": "string"
  20302. },
  20303. "middlegoodscode": {
  20304. "description": "套保商品代码",
  20305. "type": "string"
  20306. },
  20307. "middlegoodsid": {
  20308. "description": "套保商品id",
  20309. "type": "integer"
  20310. },
  20311. "middlegoodsname": {
  20312. "description": "套保商品名称",
  20313. "type": "string"
  20314. },
  20315. "ydqty": {
  20316. "description": "昨日持仓",
  20317. "type": "integer"
  20318. }
  20319. }
  20320. },
  20321. "ermcp.RealtimeExposureRsp": {
  20322. "type": "object",
  20323. "properties": {
  20324. "AreaUserID": {
  20325. "description": "所属机构",
  20326. "type": "integer"
  20327. },
  20328. "BuyFutureQty": {
  20329. "description": "买入期货数量",
  20330. "type": "number"
  20331. },
  20332. "BuyPlanQty": {
  20333. "description": "采购计划数量",
  20334. "type": "number"
  20335. },
  20336. "BuyPricedQty": {
  20337. "description": "采购合同已定价数量",
  20338. "type": "number"
  20339. },
  20340. "MiddleGoodsCode": {
  20341. "description": "套保品种代码",
  20342. "type": "string"
  20343. },
  20344. "MiddleGoodsHedgeRatio": {
  20345. "description": "套保比例",
  20346. "type": "number"
  20347. },
  20348. "MiddleGoodsID": {
  20349. "description": "套保品种",
  20350. "type": "integer"
  20351. },
  20352. "MiddleGoodsName": {
  20353. "description": "套保品种名称",
  20354. "type": "string"
  20355. },
  20356. "NeedHedgeExposoure": {
  20357. "description": "应套保敞口(套保敞口)",
  20358. "type": "number"
  20359. },
  20360. "NeedHedgeRatio": {
  20361. "description": "应套保敞口比例",
  20362. "type": "number"
  20363. },
  20364. "OriBuyFutureQty": {
  20365. "description": "期初买入期货数量",
  20366. "type": "number"
  20367. },
  20368. "OriBuyPlanQty": {
  20369. "description": "期初采购计划数量",
  20370. "type": "number"
  20371. },
  20372. "OriBuyPricedQty": {
  20373. "description": "期初采购合同已定价数量",
  20374. "type": "number"
  20375. },
  20376. "OriSellFutureQty": {
  20377. "description": "期初卖出期货数量",
  20378. "type": "number"
  20379. },
  20380. "OriSellPlanQty": {
  20381. "description": "期初销售计划数量",
  20382. "type": "number"
  20383. },
  20384. "OriSellPricedQty": {
  20385. "description": "期初销售合同已定价数量",
  20386. "type": "number"
  20387. },
  20388. "OriTotalSpotQty": {
  20389. "description": "期初现货总量",
  20390. "type": "number"
  20391. },
  20392. "SellFutureQty": {
  20393. "description": "卖出期货数量",
  20394. "type": "number"
  20395. },
  20396. "SellPlanQty": {
  20397. "description": "销售计划数量",
  20398. "type": "number"
  20399. },
  20400. "SellPricedQty": {
  20401. "description": "销售合同已定价数量",
  20402. "type": "number"
  20403. },
  20404. "TotalExposure": {
  20405. "description": "总敞口 平安:净敞口",
  20406. "type": "number"
  20407. },
  20408. "TotalFutureQty": {
  20409. "description": "期货总量 平安:保值净持仓量",
  20410. "type": "number"
  20411. },
  20412. "TotalHedgeRatio": {
  20413. "description": "敞口比例",
  20414. "type": "number"
  20415. },
  20416. "TotalNeedHedgeQty": {
  20417. "description": "应套保总量(现货应套保总量)",
  20418. "type": "number"
  20419. },
  20420. "TotalSpotQty": {
  20421. "description": "现货总量 平安:采销定价净值",
  20422. "type": "number"
  20423. },
  20424. "arbitrageqty": {
  20425. "description": "套利量",
  20426. "type": "number"
  20427. },
  20428. "diffArbitrageQty": {
  20429. "description": "期初均价",
  20430. "type": "number"
  20431. },
  20432. "diffExposoureQty": {
  20433. "description": "期初均价",
  20434. "type": "number"
  20435. },
  20436. "diffFutuQty": {
  20437. "description": "期初均价",
  20438. "type": "number"
  20439. },
  20440. "diffHedgeQty": {
  20441. "description": "期初均价",
  20442. "type": "number"
  20443. },
  20444. "diffQty": {
  20445. "description": "期初均价",
  20446. "type": "number"
  20447. },
  20448. "diffSpotHedgeQty": {
  20449. "description": "期初均价",
  20450. "type": "number"
  20451. },
  20452. "diffSpotQty": {
  20453. "description": "期初均价",
  20454. "type": "number"
  20455. },
  20456. "enumdicname": {
  20457. "description": "单位名称",
  20458. "type": "string"
  20459. },
  20460. "hedgeqty": {
  20461. "description": "套保量",
  20462. "type": "number"
  20463. },
  20464. "needarbitrageqty": {
  20465. "description": "应套利量",
  20466. "type": "number"
  20467. },
  20468. "needarbitrageratio": {
  20469. "description": "套利比例",
  20470. "type": "number"
  20471. },
  20472. "needhedgeqty": {
  20473. "description": "应套保量",
  20474. "type": "number"
  20475. },
  20476. "oriarbitrageqty": {
  20477. "description": "期初套利量",
  20478. "type": "number"
  20479. },
  20480. "orihedgeqty": {
  20481. "description": "期初套保量",
  20482. "type": "number"
  20483. },
  20484. "orineedhedgeexposoure": {
  20485. "description": "期初套保敞口",
  20486. "type": "number"
  20487. },
  20488. "oritotalexposure": {
  20489. "description": "期初总敞口",
  20490. "type": "number"
  20491. },
  20492. "oritotalfutureqty": {
  20493. "description": "期初期货总量",
  20494. "type": "number"
  20495. },
  20496. "oritotalneedhedgeqty": {
  20497. "description": "期初现货应套保量",
  20498. "type": "number"
  20499. }
  20500. }
  20501. },
  20502. "erms2.QueryArbitrageStrategyRsp": {
  20503. "type": "object",
  20504. "required": [
  20505. "asapplyid"
  20506. ],
  20507. "properties": {
  20508. "applybasis": {
  20509. "description": "申请基差",
  20510. "type": "number"
  20511. },
  20512. "asapplyid": {
  20513. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  20514. "type": "string"
  20515. },
  20516. "asname": {
  20517. "description": "策略名称",
  20518. "type": "string"
  20519. },
  20520. "asno": {
  20521. "description": "策略编号",
  20522. "type": "string"
  20523. },
  20524. "basischangepl": {
  20525. "description": "基差变动损益[结算更新]",
  20526. "type": "number"
  20527. },
  20528. "biztype": {
  20529. "description": "业务类型 - 1:正向套利 -1:反向套利",
  20530. "type": "integer"
  20531. },
  20532. "closetradedate": {
  20533. "description": "完结交易日(yyyyMMdd)",
  20534. "type": "string"
  20535. },
  20536. "curbasis": {
  20537. "description": "当前基差[结算更新]",
  20538. "type": "number"
  20539. },
  20540. "deliverygoodsid": {
  20541. "description": "现货品种ID",
  20542. "type": "integer"
  20543. },
  20544. "futureavgprice": {
  20545. "description": "期货建仓均价",
  20546. "type": "number"
  20547. },
  20548. "futurecloseamount": {
  20549. "description": "期货平仓金额",
  20550. "type": "number"
  20551. },
  20552. "futurecloseqty": {
  20553. "description": "期货平仓数量",
  20554. "type": "number"
  20555. },
  20556. "futureopenamount": {
  20557. "description": "期货开仓金额",
  20558. "type": "number"
  20559. },
  20560. "futureopenqty": {
  20561. "description": "期货开仓数量",
  20562. "type": "number"
  20563. },
  20564. "futurepl": {
  20565. "description": "期货总盈亏[结算更新]",
  20566. "type": "number"
  20567. },
  20568. "futureqty": {
  20569. "description": "期货持仓数量",
  20570. "type": "number"
  20571. },
  20572. "futurequote": {
  20573. "description": "期货额度",
  20574. "type": "number"
  20575. },
  20576. "goodsgroupid": {
  20577. "description": "期货品种ID",
  20578. "type": "integer"
  20579. },
  20580. "marketid": {
  20581. "description": "市场ID",
  20582. "type": "integer"
  20583. },
  20584. "netexposure": {
  20585. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  20586. "type": "number"
  20587. },
  20588. "netexposurepl": {
  20589. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  20590. "type": "number"
  20591. },
  20592. "netexposurerate": {
  20593. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  20594. "type": "number"
  20595. },
  20596. "openbasis": {
  20597. "description": "建仓基差",
  20598. "type": "number"
  20599. },
  20600. "pricedspotqty": {
  20601. "description": "已定价现货数量",
  20602. "type": "number"
  20603. },
  20604. "pricedspotqtynotax": {
  20605. "description": "已定价现货不含税数量",
  20606. "type": "number"
  20607. },
  20608. "remark": {
  20609. "description": "备注",
  20610. "type": "string"
  20611. },
  20612. "spotavgprice": {
  20613. "description": "现货均价",
  20614. "type": "number"
  20615. },
  20616. "spotbuyamount": {
  20617. "description": "现货采购金额",
  20618. "type": "number"
  20619. },
  20620. "spotbuyqty": {
  20621. "description": "现货采购数量",
  20622. "type": "number"
  20623. },
  20624. "spotpl": {
  20625. "description": "现货总盈亏[结算更新]",
  20626. "type": "number"
  20627. },
  20628. "spotquota": {
  20629. "description": "现货额度",
  20630. "type": "number"
  20631. },
  20632. "spotsellamount": {
  20633. "description": "现货销售金额",
  20634. "type": "number"
  20635. },
  20636. "spotsellqty": {
  20637. "description": "现货销售数量",
  20638. "type": "number"
  20639. },
  20640. "spotusedquota": {
  20641. "description": "现货占用资金",
  20642. "type": "number"
  20643. },
  20644. "strategystatus": {
  20645. "description": "策略状态 - 0:未结束 1:已结束",
  20646. "type": "integer"
  20647. },
  20648. "totalpl": {
  20649. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  20650. "type": "number"
  20651. },
  20652. "tradedate": {
  20653. "description": "交易日(yyyyMMdd)",
  20654. "type": "string"
  20655. },
  20656. "updatetime": {
  20657. "description": "更新时间",
  20658. "type": "string"
  20659. },
  20660. "usedquota": {
  20661. "description": "已占用资金",
  20662. "type": "number"
  20663. },
  20664. "userid": {
  20665. "description": "所属机构",
  20666. "type": "integer"
  20667. }
  20668. }
  20669. },
  20670. "erms2.QueryInnerTradeDetailRsp": {
  20671. "type": "object",
  20672. "required": [
  20673. "asapplyid",
  20674. "buyorsell",
  20675. "goodscode",
  20676. "goodsgroupid",
  20677. "goodsgroupname",
  20678. "goodsname",
  20679. "tradeid"
  20680. ],
  20681. "properties": {
  20682. "accountid": {
  20683. "description": "账号ID",
  20684. "type": "integer"
  20685. },
  20686. "agreeunit": {
  20687. "description": "合约单位",
  20688. "type": "number"
  20689. },
  20690. "asapplyid": {
  20691. "description": "策略申请ID",
  20692. "type": "integer"
  20693. },
  20694. "asname": {
  20695. "description": "策略名称",
  20696. "type": "string"
  20697. },
  20698. "asno": {
  20699. "description": "策略编号",
  20700. "type": "string"
  20701. },
  20702. "buyorsell": {
  20703. "description": "方向 - 0:买 1:卖",
  20704. "type": "integer"
  20705. },
  20706. "channelbuildtype": {
  20707. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20708. "type": "integer"
  20709. },
  20710. "closetype": {
  20711. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20712. "type": "integer"
  20713. },
  20714. "decimalplace": {
  20715. "description": "报价小数位",
  20716. "type": "integer"
  20717. },
  20718. "detailtype": {
  20719. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  20720. "type": "integer"
  20721. },
  20722. "exexchangecode": {
  20723. "description": "外部交易所代码",
  20724. "type": "string"
  20725. },
  20726. "exexchangename": {
  20727. "description": "外部交易所名称",
  20728. "type": "string"
  20729. },
  20730. "goodscode": {
  20731. "description": "商品代码(合约)",
  20732. "type": "string"
  20733. },
  20734. "goodsgroupid": {
  20735. "description": "商品组ID(品种ID)",
  20736. "type": "integer"
  20737. },
  20738. "goodsgroupname": {
  20739. "description": "商品组名称(品种)",
  20740. "type": "string"
  20741. },
  20742. "goodsid": {
  20743. "description": "商品ID",
  20744. "type": "integer"
  20745. },
  20746. "goodsname": {
  20747. "description": "商品名称(合约)",
  20748. "type": "string"
  20749. },
  20750. "goodunit": {
  20751. "description": "报价单位",
  20752. "type": "string"
  20753. },
  20754. "marketid": {
  20755. "description": "市场ID",
  20756. "type": "integer"
  20757. },
  20758. "orderid": {
  20759. "description": "委托单号",
  20760. "type": "string"
  20761. },
  20762. "outgoodscode": {
  20763. "description": "商品代码(外部)",
  20764. "type": "string"
  20765. },
  20766. "relatedouttradeid": {
  20767. "description": "关联外部成交单ID",
  20768. "type": "string"
  20769. },
  20770. "remark": {
  20771. "description": "备注",
  20772. "type": "string"
  20773. },
  20774. "spotcontractid": {
  20775. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  20776. "type": "integer"
  20777. },
  20778. "spotcontractno": {
  20779. "description": "现货合同编号",
  20780. "type": "string"
  20781. },
  20782. "tradeid": {
  20783. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20784. "type": "string"
  20785. },
  20786. "tradeprice": {
  20787. "description": "成交价格",
  20788. "type": "number"
  20789. },
  20790. "tradeqty": {
  20791. "description": "成交数量",
  20792. "type": "integer"
  20793. },
  20794. "tradetime": {
  20795. "description": "成交时间",
  20796. "type": "string"
  20797. },
  20798. "updatetime": {
  20799. "description": "更新时间",
  20800. "type": "string"
  20801. }
  20802. }
  20803. },
  20804. "erms2.QuerySpotContractRsp": {
  20805. "type": "object",
  20806. "required": [
  20807. "spotcontractid"
  20808. ],
  20809. "properties": {
  20810. "accountid": {
  20811. "description": "资金账户ID",
  20812. "type": "integer"
  20813. },
  20814. "areauserid": {
  20815. "description": "所属机构",
  20816. "type": "integer"
  20817. },
  20818. "closedate": {
  20819. "description": "终止日期",
  20820. "type": "string"
  20821. },
  20822. "closeremark": {
  20823. "description": "结束备注",
  20824. "type": "string"
  20825. },
  20826. "closetradedate": {
  20827. "description": "完结交易日(yyyyMMdd)",
  20828. "type": "string"
  20829. },
  20830. "closetype": {
  20831. "description": "终止类型 - 1:违约 2:提前终止",
  20832. "type": "integer"
  20833. },
  20834. "contractamount": {
  20835. "description": "合同金额",
  20836. "type": "number"
  20837. },
  20838. "contractattachment": {
  20839. "description": "合同附件",
  20840. "type": "string"
  20841. },
  20842. "contractno": {
  20843. "description": "现货合同编号",
  20844. "type": "string"
  20845. },
  20846. "contractqty": {
  20847. "description": "合同数量(数值) (用于计算)",
  20848. "type": "number"
  20849. },
  20850. "contractqtychar": {
  20851. "description": "合同数量\\已订价数量 (用于显示)",
  20852. "type": "string"
  20853. },
  20854. "contractstatus": {
  20855. "description": "合同状态 - 0:未结束 1:已结束",
  20856. "type": "integer"
  20857. },
  20858. "contracttype": {
  20859. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20860. "type": "integer"
  20861. },
  20862. "customeraccountid": {
  20863. "description": "客户资金账户ID",
  20864. "type": "integer"
  20865. },
  20866. "customeruserid": {
  20867. "description": "客户ID",
  20868. "type": "integer"
  20869. },
  20870. "deliverygoodsdesc": {
  20871. "description": "品种说明",
  20872. "type": "string"
  20873. },
  20874. "deliverygoodsid": {
  20875. "description": "现货品种ID",
  20876. "type": "integer"
  20877. },
  20878. "handlestatus": {
  20879. "description": "处理状态",
  20880. "type": "integer"
  20881. },
  20882. "invoiceatt": {
  20883. "description": "发票附件",
  20884. "type": "string"
  20885. },
  20886. "invoicedatetime": {
  20887. "description": "开收票更新时间",
  20888. "type": "string"
  20889. },
  20890. "invoiceopentime": {
  20891. "description": "开票时间",
  20892. "type": "string"
  20893. },
  20894. "invoiceremark": {
  20895. "description": "发票备注",
  20896. "type": "string"
  20897. },
  20898. "invoicestatus": {
  20899. "description": "开收票状态 - 0:未开票 1:已开票",
  20900. "type": "integer"
  20901. },
  20902. "lastdate": {
  20903. "description": "交货时间",
  20904. "type": "string"
  20905. },
  20906. "marketid": {
  20907. "description": "市场ID",
  20908. "type": "integer"
  20909. },
  20910. "paydatetime": {
  20911. "description": "收付款更新时间",
  20912. "type": "string"
  20913. },
  20914. "payremark": {
  20915. "description": "收付款备注",
  20916. "type": "string"
  20917. },
  20918. "paystatus": {
  20919. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20920. "type": "integer"
  20921. },
  20922. "positionqty": {
  20923. "description": "头寸数量 - 合同数量去小数部分",
  20924. "type": "integer"
  20925. },
  20926. "producttype": {
  20927. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20928. "type": "integer"
  20929. },
  20930. "relatedqty": {
  20931. "description": "已关联数量",
  20932. "type": "number"
  20933. },
  20934. "relatedstatus": {
  20935. "description": "关联完结状态 - 0:未结束 1:已结束",
  20936. "type": "integer"
  20937. },
  20938. "remark": {
  20939. "description": "备注",
  20940. "type": "string"
  20941. },
  20942. "signdate": {
  20943. "description": "签订日期",
  20944. "type": "string"
  20945. },
  20946. "spotcontractid": {
  20947. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20948. "type": "string"
  20949. },
  20950. "spotdatetime": {
  20951. "description": "收发货更新时间",
  20952. "type": "string"
  20953. },
  20954. "spotprice": {
  20955. "description": "价格",
  20956. "type": "number"
  20957. },
  20958. "spotremark": {
  20959. "description": "收发货备注",
  20960. "type": "string"
  20961. },
  20962. "spotstatus": {
  20963. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20964. "type": "integer"
  20965. },
  20966. "tradedate": {
  20967. "description": "交易日(yyyyMMdd)",
  20968. "type": "string"
  20969. },
  20970. "userid": {
  20971. "description": "业务员用户ID",
  20972. "type": "integer"
  20973. },
  20974. "warehouseid": {
  20975. "description": "仓库ID",
  20976. "type": "integer"
  20977. },
  20978. "wrfactortypeid": {
  20979. "description": "仓单要素类型ID",
  20980. "type": "integer"
  20981. },
  20982. "wrstandardid": {
  20983. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20984. "type": "integer"
  20985. }
  20986. }
  20987. },
  20988. "erms3.AddErms2ASApplyReq": {
  20989. "type": "object",
  20990. "required": [
  20991. "asapplyid"
  20992. ],
  20993. "properties": {
  20994. "applybasis": {
  20995. "description": "申请基差",
  20996. "type": "number"
  20997. },
  20998. "applystatus": {
  20999. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21000. "type": "integer"
  21001. },
  21002. "asapplyid": {
  21003. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  21004. "type": "integer"
  21005. },
  21006. "asname": {
  21007. "description": "策略名称",
  21008. "type": "string"
  21009. },
  21010. "asno": {
  21011. "description": "策略编号",
  21012. "type": "string"
  21013. },
  21014. "auditid": {
  21015. "description": "审核人",
  21016. "type": "integer"
  21017. },
  21018. "auditremark": {
  21019. "description": "审核备注",
  21020. "type": "string"
  21021. },
  21022. "audittime": {
  21023. "description": "审核时间",
  21024. "type": "string"
  21025. },
  21026. "biztype": {
  21027. "description": "业务类型 - 1:正向套利 2:反向套利",
  21028. "type": "integer"
  21029. },
  21030. "createtime": {
  21031. "description": "创建时间",
  21032. "type": "string"
  21033. },
  21034. "creatorid": {
  21035. "description": "创建人",
  21036. "type": "integer"
  21037. },
  21038. "deliverygoodsid": {
  21039. "description": "现货品种ID",
  21040. "type": "integer"
  21041. },
  21042. "futurequote": {
  21043. "description": "期货额度",
  21044. "type": "number"
  21045. },
  21046. "goodsgroupid": {
  21047. "description": "期货品种ID",
  21048. "type": "integer"
  21049. },
  21050. "marketid": {
  21051. "description": "市场ID",
  21052. "type": "integer"
  21053. },
  21054. "remark": {
  21055. "description": "备注",
  21056. "type": "string"
  21057. },
  21058. "spotquota": {
  21059. "description": "现货额度",
  21060. "type": "number"
  21061. },
  21062. "tradedate": {
  21063. "description": "交易日(yyyyMMdd)",
  21064. "type": "string"
  21065. },
  21066. "userid": {
  21067. "description": "所属机构",
  21068. "type": "integer"
  21069. }
  21070. }
  21071. },
  21072. "erms3.AddErms2SpotTradeApplyReq": {
  21073. "type": "object",
  21074. "required": [
  21075. "spottradeid"
  21076. ],
  21077. "properties": {
  21078. "applyjsondetail": {
  21079. "description": "申请明细(JSON)",
  21080. "type": "string"
  21081. },
  21082. "applystatus": {
  21083. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21084. "type": "integer"
  21085. },
  21086. "areauserid": {
  21087. "description": "所属机构",
  21088. "type": "integer"
  21089. },
  21090. "auditid": {
  21091. "description": "审核人",
  21092. "type": "integer"
  21093. },
  21094. "auditremark": {
  21095. "description": "审核备注",
  21096. "type": "string"
  21097. },
  21098. "audittime": {
  21099. "description": "审核时间",
  21100. "type": "string"
  21101. },
  21102. "createtime": {
  21103. "description": "创建时间",
  21104. "type": "string"
  21105. },
  21106. "creatorid": {
  21107. "description": "创建人",
  21108. "type": "integer"
  21109. },
  21110. "deliverygoodsid": {
  21111. "description": "现货品种ID",
  21112. "type": "integer"
  21113. },
  21114. "futureaccountid": {
  21115. "description": "期货资金账户",
  21116. "type": "integer"
  21117. },
  21118. "goodsgroupid": {
  21119. "description": "期货品种",
  21120. "type": "integer"
  21121. },
  21122. "marketid": {
  21123. "description": "市场ID",
  21124. "type": "integer"
  21125. },
  21126. "remark": {
  21127. "description": "备注",
  21128. "type": "string"
  21129. },
  21130. "spotaccountid": {
  21131. "description": "现货资金账户",
  21132. "type": "integer"
  21133. },
  21134. "spottradeid": {
  21135. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  21136. "type": "integer"
  21137. },
  21138. "spottradename": {
  21139. "description": "业务名称",
  21140. "type": "string"
  21141. },
  21142. "spottradeno": {
  21143. "description": "业务编号",
  21144. "type": "string"
  21145. },
  21146. "tradedate": {
  21147. "description": "交易日(yyyyMMdd)",
  21148. "type": "string"
  21149. },
  21150. "wrstandardid": {
  21151. "description": "仓单标准ID",
  21152. "type": "integer"
  21153. }
  21154. }
  21155. },
  21156. "erms3.AddSpotContractApplyReq": {
  21157. "type": "object",
  21158. "required": [
  21159. "accountid",
  21160. "areauserid",
  21161. "contractno",
  21162. "contracttype",
  21163. "customeraccountid",
  21164. "customeruserid",
  21165. "details",
  21166. "orimargin",
  21167. "signdate"
  21168. ],
  21169. "properties": {
  21170. "accountid": {
  21171. "description": "资金账户ID",
  21172. "type": "integer"
  21173. },
  21174. "areauserid": {
  21175. "description": "所属机构",
  21176. "type": "integer"
  21177. },
  21178. "contractattachment": {
  21179. "description": "合同附件",
  21180. "type": "string"
  21181. },
  21182. "contractno": {
  21183. "description": "现货合同编号",
  21184. "type": "string"
  21185. },
  21186. "contracttype": {
  21187. "description": "现货合同类型 - 1:采购 -1:销售",
  21188. "type": "integer"
  21189. },
  21190. "creatorid": {
  21191. "description": "申请人",
  21192. "type": "integer"
  21193. },
  21194. "customeraccountid": {
  21195. "description": "客户资金账户ID",
  21196. "type": "integer"
  21197. },
  21198. "customeruserid": {
  21199. "description": "客户ID",
  21200. "type": "integer"
  21201. },
  21202. "details": {
  21203. "description": "明细",
  21204. "type": "array",
  21205. "items": {
  21206. "$ref": "#/definitions/erms3.SoptContractDetail"
  21207. }
  21208. },
  21209. "orimargin": {
  21210. "description": "初始保证金",
  21211. "type": "number"
  21212. },
  21213. "remark": {
  21214. "description": "备注",
  21215. "type": "string"
  21216. },
  21217. "signdate": {
  21218. "description": "签订日期",
  21219. "type": "string"
  21220. }
  21221. }
  21222. },
  21223. "erms3.AddSpotContractApplyRsp": {
  21224. "type": "object",
  21225. "required": [
  21226. "contractno"
  21227. ],
  21228. "properties": {
  21229. "contractno": {
  21230. "description": "现货合同编号",
  21231. "type": "string"
  21232. },
  21233. "spotcontractid": {
  21234. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  21235. "type": "integer"
  21236. }
  21237. }
  21238. },
  21239. "erms3.AddUserInfoApplyReq": {
  21240. "type": "object",
  21241. "required": [
  21242. "userid"
  21243. ],
  21244. "properties": {
  21245. "accountid": {
  21246. "description": "交易系统帐号Id (加密存储)",
  21247. "type": "integer"
  21248. },
  21249. "areacode": {
  21250. "description": "机构代码",
  21251. "type": "string"
  21252. },
  21253. "areaid": {
  21254. "description": "机构Id",
  21255. "type": "integer"
  21256. },
  21257. "attachment1": {
  21258. "description": "附件1",
  21259. "type": "string"
  21260. },
  21261. "attachment2": {
  21262. "description": "附件2",
  21263. "type": "string"
  21264. },
  21265. "attachment3": {
  21266. "description": "附件3",
  21267. "type": "string"
  21268. },
  21269. "attachment4": {
  21270. "description": "附件4",
  21271. "type": "string"
  21272. },
  21273. "attachment5": {
  21274. "description": "附件5",
  21275. "type": "string"
  21276. },
  21277. "auditedby": {
  21278. "description": "审核人",
  21279. "type": "string"
  21280. },
  21281. "auditime": {
  21282. "description": "审核时间",
  21283. "type": "string"
  21284. },
  21285. "auditsrc": {
  21286. "description": "审核来源 - 1:管理端 2:终端",
  21287. "type": "integer"
  21288. },
  21289. "bankaccount": {
  21290. "description": "银行帐号 (加密存储)",
  21291. "type": "string"
  21292. },
  21293. "bankaccountname": {
  21294. "description": "收款人名称",
  21295. "type": "string"
  21296. },
  21297. "bankcardbackphotourl": {
  21298. "description": "银行卡背面照地址",
  21299. "type": "string"
  21300. },
  21301. "bankcardfrontphotourl": {
  21302. "description": "银行卡正面照地址",
  21303. "type": "string"
  21304. },
  21305. "bankid": {
  21306. "description": "银行编码",
  21307. "type": "string"
  21308. },
  21309. "bankname": {
  21310. "description": "银行名称",
  21311. "type": "string"
  21312. },
  21313. "bankpictureurl": {
  21314. "description": "银行卡正面地址",
  21315. "type": "string"
  21316. },
  21317. "biznature": {
  21318. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21319. "type": "integer"
  21320. },
  21321. "bizscope": {
  21322. "description": "企业经营范围(企业)",
  21323. "type": "string"
  21324. },
  21325. "biztype": {
  21326. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21327. "type": "integer"
  21328. },
  21329. "brokerid": {
  21330. "description": "经纪人ID(加密存储)",
  21331. "type": "string"
  21332. },
  21333. "cardaddress": {
  21334. "description": "证件地址 (加密存储)",
  21335. "type": "string"
  21336. },
  21337. "cardbackphotourl": {
  21338. "description": "背面证件照地址",
  21339. "type": "string"
  21340. },
  21341. "cardfrontphotourl": {
  21342. "description": "正面证件照地址",
  21343. "type": "string"
  21344. },
  21345. "cardnum": {
  21346. "description": "证件号码 (加密存储)",
  21347. "type": "string"
  21348. },
  21349. "cardtype": {
  21350. "description": "证件类型",
  21351. "type": "integer"
  21352. },
  21353. "cityid": {
  21354. "description": "市",
  21355. "type": "integer"
  21356. },
  21357. "company": {
  21358. "description": "公司(个人)",
  21359. "type": "string"
  21360. },
  21361. "contactcardbackphotourl": {
  21362. "description": "联系人证件背面图片地址",
  21363. "type": "string"
  21364. },
  21365. "contactcardfrontphotourl": {
  21366. "description": "联系人证件正面图片地址",
  21367. "type": "string"
  21368. },
  21369. "contactname": {
  21370. "description": "联系人",
  21371. "type": "string"
  21372. },
  21373. "countryid": {
  21374. "description": "国家",
  21375. "type": "integer"
  21376. },
  21377. "createtime": {
  21378. "description": "开户申请时间",
  21379. "type": "string"
  21380. },
  21381. "cusbankid": {
  21382. "description": "签约类型",
  21383. "type": "string"
  21384. },
  21385. "cusbankname": {
  21386. "description": "签约类型名称",
  21387. "type": "string"
  21388. },
  21389. "customername": {
  21390. "description": "客户名称(企业名称)",
  21391. "type": "string"
  21392. },
  21393. "districtid": {
  21394. "description": "地区",
  21395. "type": "integer"
  21396. },
  21397. "email": {
  21398. "description": "Email地址(加密存储)",
  21399. "type": "string"
  21400. },
  21401. "halfbodyphotourl": {
  21402. "description": "半身照地址",
  21403. "type": "string"
  21404. },
  21405. "headurl": {
  21406. "description": "头像地址",
  21407. "type": "string"
  21408. },
  21409. "ipaddress": {
  21410. "description": "IP地址",
  21411. "type": "string"
  21412. },
  21413. "isvalidate": {
  21414. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21415. "type": "string"
  21416. },
  21417. "legalcardbackphotourl": {
  21418. "description": "法人身份证背面照地址",
  21419. "type": "string"
  21420. },
  21421. "legalcardfrontphotourl": {
  21422. "description": "法人身份证正面照地址",
  21423. "type": "string"
  21424. },
  21425. "legalpersonname": {
  21426. "description": "法人姓名(企业)",
  21427. "type": "string"
  21428. },
  21429. "logincode": {
  21430. "description": "登录帐号 (加密存储)",
  21431. "type": "string"
  21432. },
  21433. "memberareaid": {
  21434. "description": "所属会员ID",
  21435. "type": "integer"
  21436. },
  21437. "mobile2": {
  21438. "description": "手机号码[明文-尚志]",
  21439. "type": "string"
  21440. },
  21441. "mobilephone": {
  21442. "description": "手机号码 (加密存储)",
  21443. "type": "string"
  21444. },
  21445. "modifiedby": {
  21446. "description": "修改人帐号",
  21447. "type": "integer"
  21448. },
  21449. "modifiedtime": {
  21450. "description": "修改时间",
  21451. "type": "string"
  21452. },
  21453. "nickname": {
  21454. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21455. "type": "string"
  21456. },
  21457. "openmode": {
  21458. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21459. "type": "integer"
  21460. },
  21461. "otherurl": {
  21462. "description": "其它图片地址[使用分号分隔]",
  21463. "type": "string"
  21464. },
  21465. "postalcode": {
  21466. "description": "邮政编码",
  21467. "type": "string"
  21468. },
  21469. "provinceid": {
  21470. "description": "省",
  21471. "type": "integer"
  21472. },
  21473. "proxystatementurl": {
  21474. "description": "授权委托书",
  21475. "type": "string"
  21476. },
  21477. "qq": {
  21478. "description": "QQ(加密存储",
  21479. "type": "string"
  21480. },
  21481. "referral": {
  21482. "description": "推荐人编码",
  21483. "type": "string"
  21484. },
  21485. "remark": {
  21486. "description": "备注",
  21487. "type": "string"
  21488. },
  21489. "removebeforestatus": {
  21490. "description": "REMOVEBEFORESTATUS",
  21491. "type": "integer"
  21492. },
  21493. "sex": {
  21494. "description": "性别 - 0:女 1:男",
  21495. "type": "integer"
  21496. },
  21497. "signedstatus": {
  21498. "description": "账户一号签签约状态",
  21499. "type": "integer"
  21500. },
  21501. "signpdfurl": {
  21502. "description": "签约pdf文件",
  21503. "type": "string"
  21504. },
  21505. "subbranch": {
  21506. "description": "开户支行",
  21507. "type": "string"
  21508. },
  21509. "taxpayernum": {
  21510. "description": "纳税人识别号",
  21511. "type": "string"
  21512. },
  21513. "telphone": {
  21514. "description": "联系电话(加密存储)",
  21515. "type": "string"
  21516. },
  21517. "userid": {
  21518. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21519. "type": "integer"
  21520. },
  21521. "userinfotype": {
  21522. "description": "用户信息类型 - 1:个人 2:企业",
  21523. "type": "integer"
  21524. },
  21525. "username": {
  21526. "description": "用户姓名",
  21527. "type": "string"
  21528. },
  21529. "userstate": {
  21530. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21531. "type": "integer"
  21532. },
  21533. "usertype": {
  21534. "description": "用户类型 - 1:投资者 2:机构",
  21535. "type": "integer"
  21536. },
  21537. "videourl": {
  21538. "description": "视频地址",
  21539. "type": "string"
  21540. },
  21541. "wechat": {
  21542. "description": "微信号 (加密存储)",
  21543. "type": "string"
  21544. }
  21545. }
  21546. },
  21547. "erms3.CustomerInfo": {
  21548. "type": "object",
  21549. "required": [
  21550. "userid"
  21551. ],
  21552. "properties": {
  21553. "accountids": {
  21554. "description": "资金账户ID列表",
  21555. "type": "array",
  21556. "items": {
  21557. "type": "integer"
  21558. }
  21559. },
  21560. "customername": {
  21561. "description": "名称(企业名称)",
  21562. "type": "string"
  21563. },
  21564. "mobile": {
  21565. "description": "手机号码",
  21566. "type": "string"
  21567. },
  21568. "userid": {
  21569. "description": "用户ID",
  21570. "type": "integer"
  21571. }
  21572. }
  21573. },
  21574. "erms3.ModifyUserInfoApplyReq": {
  21575. "type": "object",
  21576. "required": [
  21577. "userid"
  21578. ],
  21579. "properties": {
  21580. "accountid": {
  21581. "description": "交易系统帐号Id (加密存储)",
  21582. "type": "integer"
  21583. },
  21584. "areacode": {
  21585. "description": "机构代码",
  21586. "type": "string"
  21587. },
  21588. "areaid": {
  21589. "description": "机构Id",
  21590. "type": "integer"
  21591. },
  21592. "attachment1": {
  21593. "description": "附件1",
  21594. "type": "string"
  21595. },
  21596. "attachment2": {
  21597. "description": "附件2",
  21598. "type": "string"
  21599. },
  21600. "attachment3": {
  21601. "description": "附件3",
  21602. "type": "string"
  21603. },
  21604. "attachment4": {
  21605. "description": "附件4",
  21606. "type": "string"
  21607. },
  21608. "attachment5": {
  21609. "description": "附件5",
  21610. "type": "string"
  21611. },
  21612. "auditedby": {
  21613. "description": "审核人",
  21614. "type": "string"
  21615. },
  21616. "auditime": {
  21617. "description": "审核时间",
  21618. "type": "string"
  21619. },
  21620. "auditsrc": {
  21621. "description": "审核来源 - 1:管理端 2:终端",
  21622. "type": "integer"
  21623. },
  21624. "bankaccount": {
  21625. "description": "银行帐号 (加密存储)",
  21626. "type": "string"
  21627. },
  21628. "bankaccountname": {
  21629. "description": "收款人名称",
  21630. "type": "string"
  21631. },
  21632. "bankcardbackphotourl": {
  21633. "description": "银行卡背面照地址",
  21634. "type": "string"
  21635. },
  21636. "bankcardfrontphotourl": {
  21637. "description": "银行卡正面照地址",
  21638. "type": "string"
  21639. },
  21640. "bankid": {
  21641. "description": "银行编码",
  21642. "type": "string"
  21643. },
  21644. "bankname": {
  21645. "description": "银行名称",
  21646. "type": "string"
  21647. },
  21648. "bankpictureurl": {
  21649. "description": "银行卡正面地址",
  21650. "type": "string"
  21651. },
  21652. "biznature": {
  21653. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21654. "type": "integer"
  21655. },
  21656. "bizscope": {
  21657. "description": "企业经营范围(企业)",
  21658. "type": "string"
  21659. },
  21660. "biztype": {
  21661. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21662. "type": "integer"
  21663. },
  21664. "brokerid": {
  21665. "description": "经纪人ID(加密存储)",
  21666. "type": "string"
  21667. },
  21668. "cardaddress": {
  21669. "description": "证件地址 (加密存储)",
  21670. "type": "string"
  21671. },
  21672. "cardbackphotourl": {
  21673. "description": "背面证件照地址",
  21674. "type": "string"
  21675. },
  21676. "cardfrontphotourl": {
  21677. "description": "正面证件照地址",
  21678. "type": "string"
  21679. },
  21680. "cardnum": {
  21681. "description": "证件号码 (加密存储)",
  21682. "type": "string"
  21683. },
  21684. "cardtype": {
  21685. "description": "证件类型",
  21686. "type": "integer"
  21687. },
  21688. "cityid": {
  21689. "description": "市",
  21690. "type": "integer"
  21691. },
  21692. "company": {
  21693. "description": "公司(个人)",
  21694. "type": "string"
  21695. },
  21696. "contactcardbackphotourl": {
  21697. "description": "联系人证件背面图片地址",
  21698. "type": "string"
  21699. },
  21700. "contactcardfrontphotourl": {
  21701. "description": "联系人证件正面图片地址",
  21702. "type": "string"
  21703. },
  21704. "contactname": {
  21705. "description": "联系人",
  21706. "type": "string"
  21707. },
  21708. "countryid": {
  21709. "description": "国家",
  21710. "type": "integer"
  21711. },
  21712. "createtime": {
  21713. "description": "开户申请时间",
  21714. "type": "string"
  21715. },
  21716. "cusbankid": {
  21717. "description": "签约类型",
  21718. "type": "string"
  21719. },
  21720. "cusbankname": {
  21721. "description": "签约类型名称",
  21722. "type": "string"
  21723. },
  21724. "customername": {
  21725. "description": "客户名称(企业名称)",
  21726. "type": "string"
  21727. },
  21728. "districtid": {
  21729. "description": "地区",
  21730. "type": "integer"
  21731. },
  21732. "email": {
  21733. "description": "Email地址(加密存储)",
  21734. "type": "string"
  21735. },
  21736. "halfbodyphotourl": {
  21737. "description": "半身照地址",
  21738. "type": "string"
  21739. },
  21740. "headurl": {
  21741. "description": "头像地址",
  21742. "type": "string"
  21743. },
  21744. "ipaddress": {
  21745. "description": "IP地址",
  21746. "type": "string"
  21747. },
  21748. "isvalidate": {
  21749. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21750. "type": "string"
  21751. },
  21752. "legalcardbackphotourl": {
  21753. "description": "法人身份证背面照地址",
  21754. "type": "string"
  21755. },
  21756. "legalcardfrontphotourl": {
  21757. "description": "法人身份证正面照地址",
  21758. "type": "string"
  21759. },
  21760. "legalpersonname": {
  21761. "description": "法人姓名(企业)",
  21762. "type": "string"
  21763. },
  21764. "logincode": {
  21765. "description": "登录帐号 (加密存储)",
  21766. "type": "string"
  21767. },
  21768. "memberareaid": {
  21769. "description": "所属会员ID",
  21770. "type": "integer"
  21771. },
  21772. "mobile2": {
  21773. "description": "手机号码[明文-尚志]",
  21774. "type": "string"
  21775. },
  21776. "mobilephone": {
  21777. "description": "手机号码 (加密存储)",
  21778. "type": "string"
  21779. },
  21780. "modifiedby": {
  21781. "description": "修改人帐号",
  21782. "type": "integer"
  21783. },
  21784. "modifiedtime": {
  21785. "description": "修改时间",
  21786. "type": "string"
  21787. },
  21788. "nickname": {
  21789. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21790. "type": "string"
  21791. },
  21792. "openmode": {
  21793. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21794. "type": "integer"
  21795. },
  21796. "otherurl": {
  21797. "description": "其它图片地址[使用分号分隔]",
  21798. "type": "string"
  21799. },
  21800. "postalcode": {
  21801. "description": "邮政编码",
  21802. "type": "string"
  21803. },
  21804. "provinceid": {
  21805. "description": "省",
  21806. "type": "integer"
  21807. },
  21808. "proxystatementurl": {
  21809. "description": "授权委托书",
  21810. "type": "string"
  21811. },
  21812. "qq": {
  21813. "description": "QQ(加密存储",
  21814. "type": "string"
  21815. },
  21816. "referral": {
  21817. "description": "推荐人编码",
  21818. "type": "string"
  21819. },
  21820. "remark": {
  21821. "description": "备注",
  21822. "type": "string"
  21823. },
  21824. "removebeforestatus": {
  21825. "description": "REMOVEBEFORESTATUS",
  21826. "type": "integer"
  21827. },
  21828. "sex": {
  21829. "description": "性别 - 0:女 1:男",
  21830. "type": "integer"
  21831. },
  21832. "signedstatus": {
  21833. "description": "账户一号签签约状态",
  21834. "type": "integer"
  21835. },
  21836. "signpdfurl": {
  21837. "description": "签约pdf文件",
  21838. "type": "string"
  21839. },
  21840. "subbranch": {
  21841. "description": "开户支行",
  21842. "type": "string"
  21843. },
  21844. "taxpayernum": {
  21845. "description": "纳税人识别号",
  21846. "type": "string"
  21847. },
  21848. "telphone": {
  21849. "description": "联系电话(加密存储)",
  21850. "type": "string"
  21851. },
  21852. "userid": {
  21853. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21854. "type": "integer"
  21855. },
  21856. "userinfotype": {
  21857. "description": "用户信息类型 - 1:个人 2:企业",
  21858. "type": "integer"
  21859. },
  21860. "username": {
  21861. "description": "用户姓名",
  21862. "type": "string"
  21863. },
  21864. "userstate": {
  21865. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21866. "type": "integer"
  21867. },
  21868. "usertype": {
  21869. "description": "用户类型 - 1:投资者 2:机构",
  21870. "type": "integer"
  21871. },
  21872. "videourl": {
  21873. "description": "视频地址",
  21874. "type": "string"
  21875. },
  21876. "wechat": {
  21877. "description": "微信号 (加密存储)",
  21878. "type": "string"
  21879. }
  21880. }
  21881. },
  21882. "erms3.QryAuditContractRsp": {
  21883. "type": "object",
  21884. "required": [
  21885. "matchcustomername",
  21886. "spotcontractid"
  21887. ],
  21888. "properties": {
  21889. "accountid": {
  21890. "description": "交易员ID",
  21891. "type": "string"
  21892. },
  21893. "applystatus": {
  21894. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21895. "type": "integer"
  21896. },
  21897. "curdeliveryqty": {
  21898. "description": "未交收量",
  21899. "type": "integer"
  21900. },
  21901. "customername": {
  21902. "description": "采购方ID",
  21903. "type": "string"
  21904. },
  21905. "deliverygoodsid": {
  21906. "description": "品种ID",
  21907. "type": "string"
  21908. },
  21909. "deliveryqty": {
  21910. "description": "交收量",
  21911. "type": "integer"
  21912. },
  21913. "enumdicname": {
  21914. "description": "单位名称",
  21915. "type": "string"
  21916. },
  21917. "matchaccountid": {
  21918. "description": "业务员ID",
  21919. "type": "string"
  21920. },
  21921. "matchcustomername": {
  21922. "description": "销售方ID",
  21923. "type": "string"
  21924. },
  21925. "pricedqty": {
  21926. "description": "定价量",
  21927. "type": "number"
  21928. },
  21929. "signdate": {
  21930. "description": "签订日期",
  21931. "type": "string"
  21932. },
  21933. "spotcontractid": {
  21934. "description": "合同ID",
  21935. "type": "string"
  21936. },
  21937. "totaldqty": {
  21938. "description": "合同量",
  21939. "type": "number"
  21940. },
  21941. "unpricedqty": {
  21942. "description": "未定价量",
  21943. "type": "number"
  21944. },
  21945. "wrstandardname": {
  21946. "description": "商品名称",
  21947. "type": "string"
  21948. }
  21949. }
  21950. },
  21951. "erms3.QryPendingBizRsp": {
  21952. "type": "object",
  21953. "properties": {
  21954. "accountid": {
  21955. "description": "现货账户",
  21956. "type": "string"
  21957. },
  21958. "areaname": {
  21959. "description": "所属部门",
  21960. "type": "string"
  21961. },
  21962. "bizid": {
  21963. "description": "业务ID",
  21964. "type": "string"
  21965. },
  21966. "bizname": {
  21967. "description": "业务名称",
  21968. "type": "string"
  21969. },
  21970. "status": {
  21971. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21972. "type": "integer"
  21973. },
  21974. "type": {
  21975. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21976. "type": "integer"
  21977. }
  21978. }
  21979. },
  21980. "erms3.QueryBusinessInfoRsp": {
  21981. "type": "object",
  21982. "properties": {
  21983. "businessid": {
  21984. "description": "业务ID.",
  21985. "type": "integer"
  21986. },
  21987. "buyamount": {
  21988. "description": "采购额.",
  21989. "type": "number"
  21990. },
  21991. "buyqty": {
  21992. "description": "采购量.",
  21993. "type": "string"
  21994. },
  21995. "futurepl": {
  21996. "description": "期货盈亏.",
  21997. "type": "number"
  21998. },
  21999. "futureqty": {
  22000. "description": "期货敞口.",
  22001. "type": "string"
  22002. },
  22003. "goodsid": {
  22004. "description": "商品名称/商品代码.",
  22005. "type": "string"
  22006. },
  22007. "hedgingqty": {
  22008. "description": "套保量.",
  22009. "type": "string"
  22010. },
  22011. "sellamount": {
  22012. "description": "销售额.",
  22013. "type": "number"
  22014. },
  22015. "sellqty": {
  22016. "description": "销售量.",
  22017. "type": "string"
  22018. },
  22019. "spotmarketvalue": {
  22020. "description": "现货市值.",
  22021. "type": "number"
  22022. },
  22023. "spotpl": {
  22024. "description": "浮动权益.",
  22025. "type": "number"
  22026. },
  22027. "spotqty": {
  22028. "description": "现货量.",
  22029. "type": "string"
  22030. },
  22031. "statu": {
  22032. "description": "状态,0-未结束 1-已结束.",
  22033. "type": "integer"
  22034. },
  22035. "totalpl": {
  22036. "description": "总盈亏.",
  22037. "type": "number"
  22038. },
  22039. "totalqty": {
  22040. "description": "总敞口.",
  22041. "type": "string"
  22042. },
  22043. "type": {
  22044. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  22045. "type": "integer"
  22046. }
  22047. }
  22048. },
  22049. "erms3.QuerySpotContractAppleFormRsp": {
  22050. "type": "object",
  22051. "properties": {
  22052. "goodses": {
  22053. "description": "合约列表",
  22054. "type": "array",
  22055. "items": {
  22056. "$ref": "#/definitions/models.GoodsIDAndName"
  22057. }
  22058. },
  22059. "oppositeusers": {
  22060. "description": "对方账号列表",
  22061. "type": "array",
  22062. "items": {
  22063. "$ref": "#/definitions/erms3.CustomerInfo"
  22064. }
  22065. },
  22066. "ouruser": {
  22067. "description": "我方账号",
  22068. "$ref": "#/definitions/erms3.CustomerInfo"
  22069. },
  22070. "warehouseinfos": {
  22071. "description": "仓库信息列表",
  22072. "type": "array",
  22073. "items": {
  22074. "$ref": "#/definitions/models.Warehouseinfo"
  22075. }
  22076. },
  22077. "wrstandards": {
  22078. "description": "仓单标准列表",
  22079. "type": "array",
  22080. "items": {
  22081. "$ref": "#/definitions/models.WRStandardInfo"
  22082. }
  22083. }
  22084. }
  22085. },
  22086. "erms3.QuerySpotContractInfoRsp": {
  22087. "type": "object",
  22088. "properties": {
  22089. "accountid": {
  22090. "description": "表示交易员ID.",
  22091. "type": "integer"
  22092. },
  22093. "curdeliveryqty": {
  22094. "description": "表示未交收量.",
  22095. "type": "number"
  22096. },
  22097. "customername": {
  22098. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  22099. "type": "string"
  22100. },
  22101. "deliverygoodsid": {
  22102. "description": "表示品种ID.",
  22103. "type": "string"
  22104. },
  22105. "deliveryqty": {
  22106. "description": "表示交收量.",
  22107. "type": "number"
  22108. },
  22109. "matchaccountid": {
  22110. "description": "表示业务员ID.",
  22111. "type": "integer"
  22112. },
  22113. "matchcustomername": {
  22114. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  22115. "type": "string"
  22116. },
  22117. "priceqty": {
  22118. "description": "表示定价量.",
  22119. "type": "number"
  22120. },
  22121. "relatedbizid": {
  22122. "description": "表示业务ID.",
  22123. "type": "string"
  22124. },
  22125. "signdate": {
  22126. "description": "表示签订日期.",
  22127. "type": "string"
  22128. },
  22129. "spotcontractid": {
  22130. "description": "合同ID",
  22131. "type": "string"
  22132. },
  22133. "status": {
  22134. "description": "表示状态,0-履约中 1-已完成.",
  22135. "type": "integer"
  22136. },
  22137. "totalqty": {
  22138. "description": "表示合同量.",
  22139. "type": "number"
  22140. },
  22141. "unpricedqty": {
  22142. "description": "表示未定价量.",
  22143. "type": "number"
  22144. },
  22145. "wrstandardname": {
  22146. "description": "表示商品ID.",
  22147. "type": "string"
  22148. }
  22149. }
  22150. },
  22151. "erms3.QueryUserInfoAppliesRsp": {
  22152. "type": "object",
  22153. "required": [
  22154. "userid"
  22155. ],
  22156. "properties": {
  22157. "biznature": {
  22158. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22159. "type": "integer"
  22160. },
  22161. "contactname": {
  22162. "description": "联系人",
  22163. "type": "string"
  22164. },
  22165. "createtime": {
  22166. "description": "开户申请时间",
  22167. "type": "string"
  22168. },
  22169. "userid": {
  22170. "description": "用户ID(自增ID)",
  22171. "type": "integer"
  22172. },
  22173. "userinfotype": {
  22174. "description": "用户信息类型 - 1:个人 2:企业",
  22175. "type": "integer"
  22176. },
  22177. "username": {
  22178. "description": "用户姓名",
  22179. "type": "string"
  22180. },
  22181. "userstate": {
  22182. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  22183. "type": "integer"
  22184. }
  22185. }
  22186. },
  22187. "erms3.QueryUserInfosRsp": {
  22188. "type": "object",
  22189. "required": [
  22190. "userid"
  22191. ],
  22192. "properties": {
  22193. "biznature": {
  22194. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22195. "type": "integer"
  22196. },
  22197. "contactname": {
  22198. "description": "联系人",
  22199. "type": "string"
  22200. },
  22201. "customername": {
  22202. "description": "客户名称(企业名称)",
  22203. "type": "string"
  22204. },
  22205. "userid": {
  22206. "description": "用户ID",
  22207. "type": "integer"
  22208. },
  22209. "userinfotype": {
  22210. "description": "用户信息类型 - 1:个人 2:企业",
  22211. "type": "integer"
  22212. },
  22213. "userstatus": {
  22214. "description": "用户状态 - 1:正常 2:注销",
  22215. "type": "integer"
  22216. }
  22217. }
  22218. },
  22219. "erms3.SoptContractDetail": {
  22220. "type": "object",
  22221. "required": [
  22222. "deliverygoodsid",
  22223. "producttype",
  22224. "unitname",
  22225. "warehouseid",
  22226. "wrstandardid",
  22227. "wrstandardname"
  22228. ],
  22229. "properties": {
  22230. "deliverygoodsdesc": {
  22231. "description": "现货品种说明",
  22232. "type": "string"
  22233. },
  22234. "deliverygoodsid": {
  22235. "description": "现货品种ID",
  22236. "type": "integer"
  22237. },
  22238. "deliverygoodsname": {
  22239. "description": "现货品种名称",
  22240. "type": "string"
  22241. },
  22242. "pointdesc": {
  22243. "description": "点价描述",
  22244. "type": "string"
  22245. },
  22246. "producttype": {
  22247. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  22248. "type": "integer"
  22249. },
  22250. "producttypename": {
  22251. "description": "产品类型名称",
  22252. "type": "string"
  22253. },
  22254. "spotPointOrderVoList": {
  22255. "description": "点价列表",
  22256. "type": "array",
  22257. "items": {
  22258. "$ref": "#/definitions/erms3.SpotPointOrder"
  22259. }
  22260. },
  22261. "spotPriceOrderList": {
  22262. "description": "定价列表",
  22263. "type": "array",
  22264. "items": {
  22265. "$ref": "#/definitions/erms3.SpotPriceOrder"
  22266. }
  22267. },
  22268. "unitname": {
  22269. "description": "单位名称",
  22270. "type": "string"
  22271. },
  22272. "warehouseid": {
  22273. "description": "仓库ID",
  22274. "type": "integer"
  22275. },
  22276. "warehousename": {
  22277. "description": "仓库名称",
  22278. "type": "string"
  22279. },
  22280. "wrstandardid": {
  22281. "description": "交易标的ID",
  22282. "type": "integer"
  22283. },
  22284. "wrstandardname": {
  22285. "description": "交易标的名称",
  22286. "type": "string"
  22287. }
  22288. }
  22289. },
  22290. "erms3.SpotPointOrder": {
  22291. "type": "object",
  22292. "required": [
  22293. "basic",
  22294. "goodsid",
  22295. "qty"
  22296. ],
  22297. "properties": {
  22298. "basic": {
  22299. "description": "基差",
  22300. "type": "number"
  22301. },
  22302. "deliveryenddate": {
  22303. "description": "交收结束日期",
  22304. "type": "string"
  22305. },
  22306. "deliverystartdate": {
  22307. "description": "交收开始日期",
  22308. "type": "string"
  22309. },
  22310. "enddate": {
  22311. "description": "点价结束日期",
  22312. "type": "string"
  22313. },
  22314. "goodsid": {
  22315. "description": "商品ID",
  22316. "type": "integer"
  22317. },
  22318. "goodsname": {
  22319. "description": "商品名称",
  22320. "type": "string"
  22321. },
  22322. "qty": {
  22323. "description": "数量",
  22324. "type": "number"
  22325. },
  22326. "startdate": {
  22327. "description": "点价开始日期",
  22328. "type": "string"
  22329. }
  22330. }
  22331. },
  22332. "erms3.SpotPriceOrder": {
  22333. "type": "object",
  22334. "required": [
  22335. "amount",
  22336. "price",
  22337. "qty"
  22338. ],
  22339. "properties": {
  22340. "amount": {
  22341. "description": "金额",
  22342. "type": "number"
  22343. },
  22344. "deliveryenddate": {
  22345. "description": "交收结束日期",
  22346. "type": "string"
  22347. },
  22348. "deliverystartdate": {
  22349. "description": "交收开始日期",
  22350. "type": "string"
  22351. },
  22352. "price": {
  22353. "description": "价格",
  22354. "type": "number"
  22355. },
  22356. "qty": {
  22357. "description": "数量",
  22358. "type": "number"
  22359. }
  22360. }
  22361. },
  22362. "hsby.GetHsbyMyCountRsp": {
  22363. "type": "object",
  22364. "properties": {
  22365. "myCouponCount": {
  22366. "description": "我的优惠卷数量",
  22367. "type": "integer"
  22368. },
  22369. "myOrderDetailListingCount": {
  22370. "description": "我的订单求购中数量",
  22371. "type": "integer"
  22372. },
  22373. "myOrderDetailPreCount": {
  22374. "description": "我的订单抢购中数量",
  22375. "type": "integer"
  22376. },
  22377. "myPackageUnReceiveCount": {
  22378. "description": "我的包裹待收货数量",
  22379. "type": "integer"
  22380. },
  22381. "myPackageUnSendCount": {
  22382. "description": "我的包裹待发货数量",
  22383. "type": "integer"
  22384. },
  22385. "myPayOrderCount": {
  22386. "description": "我的订单待付款数量",
  22387. "type": "integer"
  22388. }
  22389. }
  22390. },
  22391. "hsby.QueryProvincesAndCitiesRsp": {
  22392. "type": "object",
  22393. "properties": {
  22394. "cities": {
  22395. "description": "市",
  22396. "type": "array",
  22397. "items": {
  22398. "$ref": "#/definitions/models.Division"
  22399. }
  22400. },
  22401. "province": {
  22402. "description": "省",
  22403. "$ref": "#/definitions/models.Division"
  22404. }
  22405. }
  22406. },
  22407. "models.Arearole": {
  22408. "type": "object",
  22409. "required": [
  22410. "roletype",
  22411. "userid"
  22412. ],
  22413. "properties": {
  22414. "createtime": {
  22415. "description": "创建时间",
  22416. "type": "string"
  22417. },
  22418. "creatorid": {
  22419. "description": "创建人ID",
  22420. "type": "integer"
  22421. },
  22422. "fromuserid": {
  22423. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22424. "type": "integer"
  22425. },
  22426. "isreturnscore": {
  22427. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  22428. "type": "integer"
  22429. },
  22430. "modifierid": {
  22431. "description": "修改人ID",
  22432. "type": "integer"
  22433. },
  22434. "modifytime": {
  22435. "description": "修改时间",
  22436. "type": "string"
  22437. },
  22438. "orgtype": {
  22439. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  22440. "type": "integer"
  22441. },
  22442. "outuserid": {
  22443. "description": "外部账户[场外期权做市商]",
  22444. "type": "string"
  22445. },
  22446. "parentuserid": {
  22447. "description": "上级组织机构(组织机构)",
  22448. "type": "integer"
  22449. },
  22450. "roletype": {
  22451. "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:门店",
  22452. "type": "integer"
  22453. },
  22454. "rootuserid": {
  22455. "description": "顶级组织机构用户ID(组织机构)",
  22456. "type": "integer"
  22457. },
  22458. "shoppassword": {
  22459. "description": "商城店铺登陆密码(商城店铺角色使用)",
  22460. "type": "string"
  22461. },
  22462. "sublevelpath": {
  22463. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  22464. "type": "string"
  22465. },
  22466. "suborgtype": {
  22467. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22468. "type": "integer"
  22469. },
  22470. "tradeaccountid": {
  22471. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  22472. "type": "integer"
  22473. },
  22474. "transurl": {
  22475. "description": "物流地址(物流机构)",
  22476. "type": "string"
  22477. },
  22478. "userid": {
  22479. "description": "机构用户ID其他做市关系,都设置为 1",
  22480. "type": "integer"
  22481. }
  22482. }
  22483. },
  22484. "models.BuyOrder": {
  22485. "type": "object",
  22486. "properties": {
  22487. "accountid": {
  22488. "description": "资金账户ID",
  22489. "type": "integer"
  22490. },
  22491. "buyusername": {
  22492. "description": "买方",
  22493. "type": "string"
  22494. },
  22495. "marketid": {
  22496. "description": "市场ID",
  22497. "type": "integer"
  22498. },
  22499. "ordertime": {
  22500. "description": "委托时间",
  22501. "type": "string"
  22502. },
  22503. "origin": {
  22504. "description": "原产地",
  22505. "type": "string"
  22506. },
  22507. "performancetemplateid": {
  22508. "description": "履约计划模板ID",
  22509. "type": "integer"
  22510. },
  22511. "remark": {
  22512. "description": "备注",
  22513. "type": "string"
  22514. },
  22515. "userid": {
  22516. "description": "用户ID",
  22517. "type": "integer"
  22518. },
  22519. "validtime": {
  22520. "description": "有效期限",
  22521. "type": "string"
  22522. },
  22523. "warehouseids": {
  22524. "description": "仓库ID - 多个, 逗号分隔",
  22525. "type": "string"
  22526. },
  22527. "warehouseinfosdisplay": {
  22528. "type": "string"
  22529. },
  22530. "wrtradeorderid": {
  22531. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  22532. "type": "string"
  22533. },
  22534. "wrtradeorderstatus": {
  22535. "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、",
  22536. "type": "integer"
  22537. },
  22538. "zscategory": {
  22539. "description": "钻石分类 - 枚举”ZSCategory“",
  22540. "type": "integer"
  22541. },
  22542. "zscategorydisplay": {
  22543. "type": "string"
  22544. },
  22545. "zsclaritytype": {
  22546. "description": "净度 - 两个, 逗号分隔",
  22547. "type": "string"
  22548. },
  22549. "zsclaritytypedisplay": {
  22550. "type": "string"
  22551. },
  22552. "zscolortype": {
  22553. "description": "颜色 - 两个, 逗号分隔",
  22554. "type": "string"
  22555. },
  22556. "zscolortypedisplay": {
  22557. "type": "string"
  22558. },
  22559. "zscrystaltype": {
  22560. "description": "晶型 - 多个,逗号分隔",
  22561. "type": "string"
  22562. },
  22563. "zscrystaltypedisplay": {
  22564. "type": "string"
  22565. },
  22566. "zscurrencytype": {
  22567. "description": "货币类型 - 多个, 逗号分隔",
  22568. "type": "string"
  22569. },
  22570. "zscurrencytypedisplay": {
  22571. "type": "string"
  22572. },
  22573. "zscuttype": {
  22574. "description": "切工 - 两个, 逗号分隔",
  22575. "type": "string"
  22576. },
  22577. "zscuttypedisplay": {
  22578. "type": "string"
  22579. },
  22580. "zsczcolor1type": {
  22581. "description": "彩钻颜色1, 逗号分隔",
  22582. "type": "string"
  22583. },
  22584. "zsczcolor1typedisplay": {
  22585. "type": "string"
  22586. },
  22587. "zsczcolor2type": {
  22588. "description": "彩钻颜色2, 逗号分隔",
  22589. "type": "string"
  22590. },
  22591. "zsczcolor2typedisplay": {
  22592. "type": "string"
  22593. },
  22594. "zsczcolor3type": {
  22595. "description": "彩钻颜色3, 逗号分隔",
  22596. "type": "string"
  22597. },
  22598. "zsczcolor3typedisplay": {
  22599. "type": "string"
  22600. },
  22601. "zsfluorescencetype": {
  22602. "description": "荧光 - 多个, 逗号分隔",
  22603. "type": "string"
  22604. },
  22605. "zsfluorescencetypedisplay": {
  22606. "type": "string"
  22607. },
  22608. "zspolishtype": {
  22609. "description": "抛光度 - 两个, 逗号分隔",
  22610. "type": "string"
  22611. },
  22612. "zspolishtypedisplay": {
  22613. "type": "string"
  22614. },
  22615. "zsshapetype": {
  22616. "description": "形状 - 多个, 逗号分隔",
  22617. "type": "string"
  22618. },
  22619. "zsshapetypedisplay": {
  22620. "type": "string"
  22621. },
  22622. "zssize": {
  22623. "description": "尺寸 - 两个小数, 逗号分隔",
  22624. "type": "string"
  22625. },
  22626. "zsstyletype": {
  22627. "description": "款式 - 多个, 逗号分隔",
  22628. "type": "string"
  22629. },
  22630. "zsstyletypedisplay": {
  22631. "type": "string"
  22632. },
  22633. "zssymmetrytype": {
  22634. "description": "对称度 - 两个, 逗号分隔",
  22635. "type": "string"
  22636. },
  22637. "zssymmetrytypedisplay": {
  22638. "type": "string"
  22639. },
  22640. "zstabledisplay": {
  22641. "description": "求购信息",
  22642. "type": "string"
  22643. }
  22644. }
  22645. },
  22646. "models.Clientfixedadconfig": {
  22647. "type": "object",
  22648. "required": [
  22649. "adsort",
  22650. "adtype"
  22651. ],
  22652. "properties": {
  22653. "adsort": {
  22654. "description": "排序",
  22655. "type": "integer"
  22656. },
  22657. "adtype": {
  22658. "description": "广告位类型 - 1:新品抢购(HSBY)",
  22659. "type": "integer"
  22660. },
  22661. "areauserid": {
  22662. "description": "所属机构ID",
  22663. "type": "integer"
  22664. },
  22665. "createdate": {
  22666. "description": "创建时间",
  22667. "type": "string"
  22668. },
  22669. "creatorid": {
  22670. "description": "创建人",
  22671. "type": "integer"
  22672. },
  22673. "imagepath": {
  22674. "description": "图片",
  22675. "type": "string"
  22676. },
  22677. "isshow": {
  22678. "description": "是否展示 - 0:不展示 1:展示",
  22679. "type": "integer"
  22680. },
  22681. "modifierid": {
  22682. "description": "操作人",
  22683. "type": "integer"
  22684. },
  22685. "recsize": {
  22686. "description": "推荐尺寸",
  22687. "type": "string"
  22688. },
  22689. "title": {
  22690. "description": "标题",
  22691. "type": "string"
  22692. },
  22693. "updatedate": {
  22694. "description": "更新时间",
  22695. "type": "string"
  22696. },
  22697. "urlcontent": {
  22698. "description": "链接(地址或商品ID)",
  22699. "type": "string"
  22700. },
  22701. "urltype": {
  22702. "description": "链接类型 - 1:直接地址 2:商品ID",
  22703. "type": "integer"
  22704. }
  22705. }
  22706. },
  22707. "models.DgFactoryItem": {
  22708. "type": "object",
  22709. "properties": {
  22710. "dgfactoryitemid": {
  22711. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22712. "type": "integer"
  22713. },
  22714. "dgfactoryitemtypeid": {
  22715. "description": "要素项类型",
  22716. "type": "integer"
  22717. },
  22718. "dgfactoryitemvalue": {
  22719. "description": "要素项值(类型为仓库时填写仓库名称)",
  22720. "type": "string"
  22721. },
  22722. "orderindex": {
  22723. "description": "顺序",
  22724. "type": "integer"
  22725. }
  22726. }
  22727. },
  22728. "models.Division": {
  22729. "type": "object",
  22730. "required": [
  22731. "autoid",
  22732. "divisioncode"
  22733. ],
  22734. "properties": {
  22735. "autoid": {
  22736. "description": "自增ID",
  22737. "type": "integer"
  22738. },
  22739. "divisioncode": {
  22740. "description": "行政代码",
  22741. "type": "string"
  22742. },
  22743. "divisionlevel": {
  22744. "description": "行政级别",
  22745. "type": "string"
  22746. },
  22747. "divisionname": {
  22748. "description": "行政名称",
  22749. "type": "string"
  22750. },
  22751. "modifierid": {
  22752. "description": "修改人",
  22753. "type": "integer"
  22754. },
  22755. "modifytime": {
  22756. "description": "修改时间",
  22757. "type": "string"
  22758. },
  22759. "parentcode": {
  22760. "description": "上级行政代码",
  22761. "type": "string"
  22762. },
  22763. "pathname": {
  22764. "description": "路径名称",
  22765. "type": "string"
  22766. },
  22767. "postcode": {
  22768. "description": "邮政编码",
  22769. "type": "string"
  22770. },
  22771. "separablename": {
  22772. "description": "可拆分的全称",
  22773. "type": "string"
  22774. },
  22775. "shortcode": {
  22776. "description": "地区简码",
  22777. "type": "string"
  22778. }
  22779. }
  22780. },
  22781. "models.Enumdicitem": {
  22782. "type": "object",
  22783. "required": [
  22784. "autoid",
  22785. "enumdiccode",
  22786. "enumdicid",
  22787. "enumitemname"
  22788. ],
  22789. "properties": {
  22790. "autoid": {
  22791. "description": "自增ID",
  22792. "type": "integer"
  22793. },
  22794. "bankmappedvalue": {
  22795. "description": "银行服务对应值",
  22796. "type": "string"
  22797. },
  22798. "enumdiccode": {
  22799. "description": "所属枚举代码",
  22800. "type": "string"
  22801. },
  22802. "enumdicid": {
  22803. "description": "所属枚举ID",
  22804. "type": "integer"
  22805. },
  22806. "enumdicname": {
  22807. "description": "枚举项名称",
  22808. "type": "string"
  22809. },
  22810. "enumitemname": {
  22811. "description": "枚举项值",
  22812. "type": "integer"
  22813. },
  22814. "enumitemstatus": {
  22815. "description": "枚举项状态 - 1.启用 2.不启用",
  22816. "type": "integer"
  22817. },
  22818. "enumitemvalue": {
  22819. "description": "通用值 - [币种通用简写]",
  22820. "type": "string"
  22821. },
  22822. "param1": {
  22823. "description": "参数1[币种:币种小数位]",
  22824. "type": "string"
  22825. },
  22826. "param2": {
  22827. "description": "参数1[币种:币种显示单位]",
  22828. "type": "string"
  22829. },
  22830. "remark": {
  22831. "description": "备注",
  22832. "type": "string"
  22833. }
  22834. }
  22835. },
  22836. "models.Ermcp2AreaExposure": {
  22837. "type": "object",
  22838. "properties": {
  22839. "areauserid": {
  22840. "description": "所属机构",
  22841. "type": "integer"
  22842. },
  22843. "enumdicname": {
  22844. "description": "单位",
  22845. "type": "string"
  22846. },
  22847. "futureqty": {
  22848. "description": "期货套期量",
  22849. "type": "number"
  22850. },
  22851. "futureqtychange": {
  22852. "description": "期货变动量 = FutureQty - OriFutureQty",
  22853. "type": "number"
  22854. },
  22855. "goodsunitid": {
  22856. "description": "单位ID",
  22857. "type": "integer"
  22858. },
  22859. "hedgedspotexposure": {
  22860. "description": "被套期现货敞口量",
  22861. "type": "number"
  22862. },
  22863. "hedgedspratio": {
  22864. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  22865. "type": "number"
  22866. },
  22867. "hedgedtotalexposourechange": {
  22868. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  22869. "type": "number"
  22870. },
  22871. "hedgedtotalexposure": {
  22872. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  22873. "type": "number"
  22874. },
  22875. "hedgeplanqty": {
  22876. "description": "套期计划量",
  22877. "type": "number"
  22878. },
  22879. "hedgeplanqtychange": {
  22880. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  22881. "type": "number"
  22882. },
  22883. "hedgespotqty": {
  22884. "description": "被套期现货量",
  22885. "type": "number"
  22886. },
  22887. "middlegoodsid": {
  22888. "description": "套保品种",
  22889. "type": "integer"
  22890. },
  22891. "middlegoodsname": {
  22892. "description": "套保品种名称",
  22893. "type": "string"
  22894. },
  22895. "orifutureqty": {
  22896. "description": "期初期货套期量",
  22897. "type": "number"
  22898. },
  22899. "orihedgedspotexposure": {
  22900. "description": "期初被套期现货敞口量",
  22901. "type": "number"
  22902. },
  22903. "orihedgedtotalexposure": {
  22904. "description": "期初套期敞口量",
  22905. "type": "number"
  22906. },
  22907. "orihedgeplanqty": {
  22908. "description": "期初套期计划量",
  22909. "type": "number"
  22910. },
  22911. "orihedgespotqty": {
  22912. "description": "期初被套期现货量",
  22913. "type": "number"
  22914. },
  22915. "orispotexposure": {
  22916. "description": "期初现货敞口量",
  22917. "type": "number"
  22918. },
  22919. "orispotqty": {
  22920. "description": "期初现货总量",
  22921. "type": "number"
  22922. },
  22923. "oritotalexposure": {
  22924. "description": "期初总敞口量",
  22925. "type": "number"
  22926. },
  22927. "spotexposure": {
  22928. "description": "现货敞口量",
  22929. "type": "number"
  22930. },
  22931. "spotqty": {
  22932. "description": "现货总量",
  22933. "type": "number"
  22934. },
  22935. "spotqtychange": {
  22936. "description": "现货变动量 = SpotQty - OriSpotQty",
  22937. "type": "number"
  22938. },
  22939. "spratio": {
  22940. "description": "总期现比例 = 期货套期量/现货敞口量",
  22941. "type": "number"
  22942. },
  22943. "totalexposure": {
  22944. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22945. "type": "number"
  22946. },
  22947. "totalexposurechange": {
  22948. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22949. "type": "number"
  22950. },
  22951. "updatetime": {
  22952. "description": "更新时间 --DATE",
  22953. "type": "string"
  22954. }
  22955. }
  22956. },
  22957. "models.Ermcp2hedgeditem": {
  22958. "type": "object",
  22959. "properties": {
  22960. "accountname": {
  22961. "description": "套期主体",
  22962. "type": "string"
  22963. },
  22964. "applyid": {
  22965. "description": "申请人",
  22966. "type": "integer"
  22967. },
  22968. "applysrc": {
  22969. "description": "申请来源 - 1:管理端 2:终端",
  22970. "type": "integer"
  22971. },
  22972. "areauserid": {
  22973. "description": "企业ID",
  22974. "type": "integer"
  22975. },
  22976. "auditid": {
  22977. "description": "审核人",
  22978. "type": "integer"
  22979. },
  22980. "auditremark": {
  22981. "description": "审核备注",
  22982. "type": "string"
  22983. },
  22984. "auditsrc": {
  22985. "description": "审核来源 - 1:管理端 2:终端",
  22986. "type": "integer"
  22987. },
  22988. "audittime": {
  22989. "description": "审核时间",
  22990. "type": "string"
  22991. },
  22992. "audittradedate": {
  22993. "description": "审核交易日(yyyyMMdd)",
  22994. "type": "string"
  22995. },
  22996. "createtime": {
  22997. "description": "申请时间",
  22998. "type": "string"
  22999. },
  23000. "curprice": {
  23001. "description": "当前市场价",
  23002. "type": "number"
  23003. },
  23004. "curstock": {
  23005. "description": "期末库存量 = 采购总量 - 销售总量",
  23006. "type": "number"
  23007. },
  23008. "deliverygoodsid": {
  23009. "description": "现货品种ID",
  23010. "type": "integer"
  23011. },
  23012. "enddate": {
  23013. "description": "完成日期",
  23014. "type": "string"
  23015. },
  23016. "endtradedate": {
  23017. "description": "完成交易日",
  23018. "type": "string"
  23019. },
  23020. "enumdicname": {
  23021. "description": "单位",
  23022. "type": "string"
  23023. },
  23024. "exeamount": {
  23025. "description": "执行市价总额",
  23026. "type": "number"
  23027. },
  23028. "exeavgprice": {
  23029. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  23030. "type": "number"
  23031. },
  23032. "execontractamount": {
  23033. "description": "执行定价总额",
  23034. "type": "number"
  23035. },
  23036. "exeqty": {
  23037. "description": "执行现货量",
  23038. "type": "number"
  23039. },
  23040. "exerestamount": {
  23041. "description": "执行剩余市价总额【现货贸易】",
  23042. "type": "number"
  23043. },
  23044. "futurefloatpl": {
  23045. "description": "期货浮动损益",
  23046. "type": "number"
  23047. },
  23048. "futurehedgepl": {
  23049. "description": "期货实际损益",
  23050. "type": "number"
  23051. },
  23052. "futurehedgeplchange": {
  23053. "description": "期货实际损益变动",
  23054. "type": "number"
  23055. },
  23056. "futurepl": {
  23057. "description": "期货套期损益",
  23058. "type": "number"
  23059. },
  23060. "futureplchange": {
  23061. "description": "期货套期损益变动",
  23062. "type": "number"
  23063. },
  23064. "hedgeamount": {
  23065. "description": "套期市价总额",
  23066. "type": "number"
  23067. },
  23068. "hedgecontractamount": {
  23069. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  23070. "type": "number"
  23071. },
  23072. "hedgeditemid": {
  23073. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23074. "type": "string"
  23075. },
  23076. "hedgeditemname": {
  23077. "description": "项目名称",
  23078. "type": "string"
  23079. },
  23080. "hedgeditemnum": {
  23081. "description": "项目编号",
  23082. "type": "string"
  23083. },
  23084. "hedgeditemstatus": {
  23085. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23086. "type": "integer"
  23087. },
  23088. "hedgedtype": {
  23089. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23090. "type": "integer"
  23091. },
  23092. "hedgeqty": {
  23093. "description": "套期现货量",
  23094. "type": "number"
  23095. },
  23096. "hedgerate": {
  23097. "description": "套保比率",
  23098. "type": "number"
  23099. },
  23100. "hedgerestamount": {
  23101. "description": "套期剩余市价总额【现货贸易】",
  23102. "type": "number"
  23103. },
  23104. "hedgesumpl": {
  23105. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  23106. "type": "number"
  23107. },
  23108. "middlegoodslist": {
  23109. "description": "套期商品列表",
  23110. "type": "array",
  23111. "items": {
  23112. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  23113. }
  23114. },
  23115. "oriavgprice": {
  23116. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  23117. "type": "number"
  23118. },
  23119. "orifuturehedgepl": {
  23120. "description": "期初期货实际损益",
  23121. "type": "number"
  23122. },
  23123. "orifuturepl": {
  23124. "description": "期初期货套期损益",
  23125. "type": "number"
  23126. },
  23127. "orispothedgepl": {
  23128. "description": "期初现货实际损益",
  23129. "type": "number"
  23130. },
  23131. "orispotpl": {
  23132. "description": "期初现货套期损益",
  23133. "type": "number"
  23134. },
  23135. "planenddate": {
  23136. "description": "计划结束日期",
  23137. "type": "string"
  23138. },
  23139. "planstartdate": {
  23140. "description": "计划开始日期",
  23141. "type": "string"
  23142. },
  23143. "remark": {
  23144. "description": "备注",
  23145. "type": "string"
  23146. },
  23147. "spotbookamount": {
  23148. "description": "现货账面总额",
  23149. "type": "number"
  23150. },
  23151. "spotfloatpl": {
  23152. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23153. "type": "number"
  23154. },
  23155. "spothedgepl": {
  23156. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23157. "type": "number"
  23158. },
  23159. "spothedgeplchange": {
  23160. "description": "现货实际损益变动",
  23161. "type": "number"
  23162. },
  23163. "spotpl": {
  23164. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23165. "type": "number"
  23166. },
  23167. "spotplchange": {
  23168. "description": "现货套期损益变动",
  23169. "type": "number"
  23170. },
  23171. "spottradepl": {
  23172. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  23173. "type": "number"
  23174. },
  23175. "sumobspl": {
  23176. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  23177. "type": "number"
  23178. },
  23179. "tradeuserid": {
  23180. "description": "交易用户ID",
  23181. "type": "integer"
  23182. },
  23183. "unexeqty": {
  23184. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23185. "type": "number"
  23186. },
  23187. "updatetime": {
  23188. "description": "更新时间",
  23189. "type": "string"
  23190. },
  23191. "vatpl": {
  23192. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  23193. "type": "number"
  23194. },
  23195. "vatrate": {
  23196. "description": "增值税",
  23197. "type": "number"
  23198. },
  23199. "wrstandardid": {
  23200. "description": "现货商品ID",
  23201. "type": "integer"
  23202. },
  23203. "wrstandardname": {
  23204. "description": "商品名称",
  23205. "type": "string"
  23206. }
  23207. }
  23208. },
  23209. "models.Ermcp2hedgeditemlink": {
  23210. "type": "object",
  23211. "required": [
  23212. "relatedspotcontractid"
  23213. ],
  23214. "properties": {
  23215. "areauserid": {
  23216. "description": "企业ID",
  23217. "type": "integer"
  23218. },
  23219. "createtime": {
  23220. "description": "[关联时间]创建时间",
  23221. "type": "string"
  23222. },
  23223. "customeruserid": {
  23224. "description": "对手方 【3:采购合同 4:销售合同】",
  23225. "type": "integer"
  23226. },
  23227. "deliverygoodsid": {
  23228. "description": "现货品种ID",
  23229. "type": "integer"
  23230. },
  23231. "enumdicname": {
  23232. "description": "单位",
  23233. "type": "string"
  23234. },
  23235. "hedgeditemid": {
  23236. "description": "被套期项目ID",
  23237. "type": "integer"
  23238. },
  23239. "hedgeditemlinkid": {
  23240. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  23241. "type": "integer"
  23242. },
  23243. "hedgeditemnum": {
  23244. "description": "项目编号",
  23245. "type": "string"
  23246. },
  23247. "hedgedtype": {
  23248. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23249. "type": "integer"
  23250. },
  23251. "relatedamount": {
  23252. "description": "市价总额 = 关联数量 * 期初市场价",
  23253. "type": "number"
  23254. },
  23255. "relatedhedgeplanid": {
  23256. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23257. "type": "integer"
  23258. },
  23259. "relatedqty": {
  23260. "description": "关联数量",
  23261. "type": "number"
  23262. },
  23263. "relatedspotcontractid": {
  23264. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23265. "type": "integer"
  23266. },
  23267. "relatedtype": {
  23268. "description": "关联类型 - 1:套期关联 2:执行关联",
  23269. "type": "integer"
  23270. },
  23271. "spotgoodsbrandid": {
  23272. "description": "现货品牌ID",
  23273. "type": "integer"
  23274. },
  23275. "spotpricedamount": {
  23276. "description": "[关联定价总额]定价总额",
  23277. "type": "number"
  23278. },
  23279. "spotpricedavgprice": {
  23280. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  23281. "type": "number"
  23282. },
  23283. "spottype": {
  23284. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23285. "type": "integer"
  23286. },
  23287. "tradeuserid": {
  23288. "description": "交易用户ID",
  23289. "type": "integer"
  23290. },
  23291. "unexeqty": {
  23292. "description": "未执行现货量【项目关联时值】",
  23293. "type": "number"
  23294. },
  23295. "wrstandardid": {
  23296. "description": "现货商品ID",
  23297. "type": "integer"
  23298. },
  23299. "wrstandardname": {
  23300. "description": "现货商品",
  23301. "type": "string"
  23302. }
  23303. }
  23304. },
  23305. "models.Ermcp2hedgeditemsDetail": {
  23306. "type": "object",
  23307. "properties": {
  23308. "accountname": {
  23309. "description": "套期主体",
  23310. "type": "string"
  23311. },
  23312. "areauserid": {
  23313. "description": "企业ID",
  23314. "type": "integer"
  23315. },
  23316. "createtime": {
  23317. "description": "[日期时间]创建时间",
  23318. "type": "string"
  23319. },
  23320. "customeruserid": {
  23321. "description": "对手方 【3:采购合同 4:销售合同】",
  23322. "type": "integer"
  23323. },
  23324. "deliverygoodsid": {
  23325. "description": "现货品种ID",
  23326. "type": "integer"
  23327. },
  23328. "enumdicname": {
  23329. "description": "单位",
  23330. "type": "string"
  23331. },
  23332. "hedgeditemid": {
  23333. "description": "被套期项目ID",
  23334. "type": "string"
  23335. },
  23336. "hedgeditemspotid": {
  23337. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23338. "type": "string"
  23339. },
  23340. "hedgedtype": {
  23341. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23342. "type": "integer"
  23343. },
  23344. "hedgeplanno": {
  23345. "description": "计划编号",
  23346. "type": "string"
  23347. },
  23348. "middlegoodschange": {
  23349. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  23350. "type": "number"
  23351. },
  23352. "oriavgprice": {
  23353. "description": "期初市场价[当初市场价]",
  23354. "type": "number"
  23355. },
  23356. "relatedamount": {
  23357. "description": "市价总额 = 关联数量 * 期初市场价",
  23358. "type": "number"
  23359. },
  23360. "relatedhedgeplanid": {
  23361. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23362. "type": "integer"
  23363. },
  23364. "relatedqty": {
  23365. "description": "[期间变化量]关联数量",
  23366. "type": "number"
  23367. },
  23368. "relatedspotcontractid": {
  23369. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23370. "type": "integer"
  23371. },
  23372. "relatedtype": {
  23373. "description": "关联类型 - 1:套期关联 2:执行关联",
  23374. "type": "integer"
  23375. },
  23376. "spotgoodsbrandid": {
  23377. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23378. "type": "integer"
  23379. },
  23380. "spotpricedamount": {
  23381. "description": "定价总额",
  23382. "type": "number"
  23383. },
  23384. "spotpricedavgprice": {
  23385. "description": "现货均价 = 定价总额 / 关联数量",
  23386. "type": "number"
  23387. },
  23388. "spottype": {
  23389. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23390. "type": "integer"
  23391. },
  23392. "tradeuserid": {
  23393. "description": "交易用户ID",
  23394. "type": "integer"
  23395. },
  23396. "unexeqty": {
  23397. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23398. "type": "number"
  23399. },
  23400. "wrstandardid": {
  23401. "description": "现货商品ID",
  23402. "type": "integer"
  23403. },
  23404. "wrstandardname": {
  23405. "description": "现货商品",
  23406. "type": "string"
  23407. }
  23408. }
  23409. },
  23410. "models.Ermcp2hedgeditemspot": {
  23411. "type": "object",
  23412. "required": [
  23413. "hedgeditemid"
  23414. ],
  23415. "properties": {
  23416. "areauserid": {
  23417. "description": "企业ID",
  23418. "type": "integer"
  23419. },
  23420. "createtime": {
  23421. "description": "创建时间",
  23422. "type": "string"
  23423. },
  23424. "customeruserid": {
  23425. "description": "对手方 【3:采购合同 4:销售合同】",
  23426. "type": "integer"
  23427. },
  23428. "deliverygoodsid": {
  23429. "description": "现货品种ID",
  23430. "type": "integer"
  23431. },
  23432. "enumdicname": {
  23433. "description": "单位",
  23434. "type": "string"
  23435. },
  23436. "hedgeditemid": {
  23437. "description": "被套期项目ID",
  23438. "type": "string"
  23439. },
  23440. "hedgeditemspotid": {
  23441. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23442. "type": "string"
  23443. },
  23444. "hedgedtype": {
  23445. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23446. "type": "integer"
  23447. },
  23448. "hedgeplanno": {
  23449. "description": "计划编号",
  23450. "type": "string"
  23451. },
  23452. "oriavgprice": {
  23453. "description": "期初市场价[当初市场价]",
  23454. "type": "number"
  23455. },
  23456. "relatedamount": {
  23457. "description": "市价总额 = 关联数量 * 期初市场价",
  23458. "type": "number"
  23459. },
  23460. "relatedhedgeplanid": {
  23461. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23462. "type": "integer"
  23463. },
  23464. "relatedqty": {
  23465. "description": "关联数量[数量]",
  23466. "type": "number"
  23467. },
  23468. "relatedspotcontractid": {
  23469. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23470. "type": "integer"
  23471. },
  23472. "relatedtype": {
  23473. "description": "关联类型 - 1:套期关联 2:执行关联",
  23474. "type": "integer"
  23475. },
  23476. "spotgoodsbrandid": {
  23477. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23478. "type": "integer"
  23479. },
  23480. "spotpricedamount": {
  23481. "description": "定价总额",
  23482. "type": "number"
  23483. },
  23484. "spotpricedavgprice": {
  23485. "description": "现货均价 = 定价总额 / 关联数量",
  23486. "type": "number"
  23487. },
  23488. "spottype": {
  23489. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23490. "type": "integer"
  23491. },
  23492. "tradeuserid": {
  23493. "description": "交易用户ID",
  23494. "type": "integer"
  23495. },
  23496. "wrstandardid": {
  23497. "description": "现货商品ID",
  23498. "type": "integer"
  23499. },
  23500. "wrstandardname": {
  23501. "description": "现货商品",
  23502. "type": "string"
  23503. }
  23504. }
  23505. },
  23506. "models.Ermcp2hedgeditemspotDetail": {
  23507. "type": "object",
  23508. "required": [
  23509. "hedgeditemid"
  23510. ],
  23511. "properties": {
  23512. "accountname": {
  23513. "description": "对手方",
  23514. "type": "string"
  23515. },
  23516. "areauserid": {
  23517. "description": "企业ID",
  23518. "type": "integer"
  23519. },
  23520. "brandname": {
  23521. "description": "品牌",
  23522. "type": "string"
  23523. },
  23524. "contractno": {
  23525. "description": "合同编号",
  23526. "type": "string"
  23527. },
  23528. "createtime": {
  23529. "description": "创建时间",
  23530. "type": "string"
  23531. },
  23532. "customeruserid": {
  23533. "description": "对手方 【3:采购合同 4:销售合同】",
  23534. "type": "integer"
  23535. },
  23536. "deliverygoodsid": {
  23537. "description": "现货品种ID",
  23538. "type": "integer"
  23539. },
  23540. "enumdicname": {
  23541. "description": "单位",
  23542. "type": "string"
  23543. },
  23544. "hedgeditemid": {
  23545. "description": "被套期项目ID",
  23546. "type": "string"
  23547. },
  23548. "hedgeditemspotid": {
  23549. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23550. "type": "string"
  23551. },
  23552. "hedgedtype": {
  23553. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23554. "type": "integer"
  23555. },
  23556. "oriavgprice": {
  23557. "description": "期初市场价[当初市场价]",
  23558. "type": "number"
  23559. },
  23560. "relatedamount": {
  23561. "description": "市价总额 = 关联数量 * 期初市场价",
  23562. "type": "number"
  23563. },
  23564. "relatedhedgeplanid": {
  23565. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23566. "type": "integer"
  23567. },
  23568. "relatedqty": {
  23569. "description": "关联数量[数量]",
  23570. "type": "number"
  23571. },
  23572. "relatedspotcontractid": {
  23573. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23574. "type": "integer"
  23575. },
  23576. "relatedtype": {
  23577. "description": "关联类型 - 1:套期关联 2:执行关联",
  23578. "type": "integer"
  23579. },
  23580. "spotgoodsbrandid": {
  23581. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23582. "type": "integer"
  23583. },
  23584. "spotpricedamount": {
  23585. "description": "定价总额[金额]",
  23586. "type": "number"
  23587. },
  23588. "spotpricedavgprice": {
  23589. "description": "现货均价 = 定价总额 / 关联数量",
  23590. "type": "number"
  23591. },
  23592. "spottype": {
  23593. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23594. "type": "integer"
  23595. },
  23596. "tradeuserid": {
  23597. "description": "交易用户ID",
  23598. "type": "integer"
  23599. },
  23600. "wrstandardid": {
  23601. "description": "现货商品ID",
  23602. "type": "integer"
  23603. },
  23604. "wrstandardname": {
  23605. "description": "现货商品",
  23606. "type": "string"
  23607. }
  23608. }
  23609. },
  23610. "models.Ermcp2himiddlegoods": {
  23611. "type": "object",
  23612. "required": [
  23613. "hedgeditemid",
  23614. "middlegoodsid"
  23615. ],
  23616. "properties": {
  23617. "futurehedgeqty": {
  23618. "description": "期货持仓套期量",
  23619. "type": "number"
  23620. },
  23621. "hedgeditemid": {
  23622. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23623. "type": "integer"
  23624. },
  23625. "hiexpsoure": {
  23626. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  23627. "type": "number"
  23628. },
  23629. "middlegoodscode": {
  23630. "description": "套保商品代码",
  23631. "type": "string"
  23632. },
  23633. "middlegoodsid": {
  23634. "description": "套保品种ID",
  23635. "type": "integer"
  23636. },
  23637. "middlegoodsname": {
  23638. "description": "套保商品名称",
  23639. "type": "string"
  23640. },
  23641. "unexehedgeqty": {
  23642. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  23643. "type": "number"
  23644. }
  23645. }
  23646. },
  23647. "models.Ermcp2stockspotchangelog": {
  23648. "type": "object",
  23649. "properties": {
  23650. "accountname": {
  23651. "description": "套期主体",
  23652. "type": "string"
  23653. },
  23654. "aftervalue": {
  23655. "description": "现货量",
  23656. "type": "number"
  23657. },
  23658. "beforevalue": {
  23659. "description": "变更前现货量",
  23660. "type": "number"
  23661. },
  23662. "contractno": {
  23663. "description": "[编号]现货合同编号",
  23664. "type": "string"
  23665. },
  23666. "contracttype": {
  23667. "description": "现货合同类型 - 1:采购 -1:销售",
  23668. "type": "integer"
  23669. },
  23670. "createtime": {
  23671. "description": "创建时间",
  23672. "type": "string"
  23673. },
  23674. "customerusername": {
  23675. "description": "对手方",
  23676. "type": "string"
  23677. },
  23678. "deliverygoodsid": {
  23679. "description": "现货品种ID",
  23680. "type": "integer"
  23681. },
  23682. "exetype": {
  23683. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  23684. "type": "integer"
  23685. },
  23686. "logid": {
  23687. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  23688. "type": "string"
  23689. },
  23690. "logvalue": {
  23691. "description": "[期间变化量]现货量变更值",
  23692. "type": "number"
  23693. },
  23694. "middlegoodschange": {
  23695. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  23696. "type": "number"
  23697. },
  23698. "operatelogtype": {
  23699. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  23700. "type": "integer"
  23701. },
  23702. "relatedid": {
  23703. "description": "现货合同ID",
  23704. "type": "integer"
  23705. },
  23706. "spotgoodsbrandid": {
  23707. "description": "现货品牌ID",
  23708. "type": "integer"
  23709. },
  23710. "tradedate": {
  23711. "description": "交易日(yyyyMMdd)",
  23712. "type": "string"
  23713. },
  23714. "userid": {
  23715. "description": "机构ID",
  23716. "type": "integer"
  23717. },
  23718. "warehouseinfoid": {
  23719. "description": "仓库ID",
  23720. "type": "integer"
  23721. },
  23722. "wrfactortypeid": {
  23723. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23724. "type": "integer"
  23725. },
  23726. "wrstandardid": {
  23727. "description": "现货商品ID",
  23728. "type": "integer"
  23729. },
  23730. "wrstandardname": {
  23731. "description": "商品名称",
  23732. "type": "string"
  23733. }
  23734. }
  23735. },
  23736. "models.Ermcp3AreaSpot": {
  23737. "type": "object",
  23738. "properties": {
  23739. "areauserid": {
  23740. "description": "所属机构",
  23741. "type": "integer"
  23742. },
  23743. "convertratio": {
  23744. "description": "套保系数",
  23745. "type": "number"
  23746. },
  23747. "decreaseqty": {
  23748. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  23749. "type": "number"
  23750. },
  23751. "enumdicname": {
  23752. "description": "单位名称",
  23753. "type": "string"
  23754. },
  23755. "increaseqty": {
  23756. "description": "增加数量=销售计划数量+采购已定价数量",
  23757. "type": "number"
  23758. },
  23759. "oritoalspotqty": {
  23760. "description": "昨日数量",
  23761. "type": "number"
  23762. },
  23763. "totalspotqty": {
  23764. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  23765. "type": "number"
  23766. },
  23767. "unitid": {
  23768. "description": "现货商品单位id",
  23769. "type": "integer"
  23770. },
  23771. "updatetime": {
  23772. "description": "更新时间",
  23773. "type": "string"
  23774. },
  23775. "wrstandardcode": {
  23776. "description": "现货商品代码",
  23777. "type": "string"
  23778. },
  23779. "wrstandardid": {
  23780. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23781. "type": "integer"
  23782. },
  23783. "wrstandardname": {
  23784. "description": "现货商品名称",
  23785. "type": "string"
  23786. }
  23787. }
  23788. },
  23789. "models.Ermcp3AreaSpotDetail": {
  23790. "type": "object",
  23791. "properties": {
  23792. "contracttype": {
  23793. "description": "合同类型 1-采购 -1-销售",
  23794. "type": "integer"
  23795. },
  23796. "createtime": {
  23797. "description": "创建时间",
  23798. "type": "string"
  23799. },
  23800. "enumdicname": {
  23801. "description": "现货商品单位名称",
  23802. "type": "string"
  23803. },
  23804. "logtype": {
  23805. "description": "记录类型 1-套保 2-现货合同",
  23806. "type": "integer"
  23807. },
  23808. "qty": {
  23809. "description": "数量",
  23810. "type": "number"
  23811. },
  23812. "recordname": {
  23813. "description": "类型名称",
  23814. "type": "string"
  23815. },
  23816. "relatedid": {
  23817. "description": "套保计划ID/现货合同ID",
  23818. "type": "string"
  23819. },
  23820. "relatedno": {
  23821. "description": "编号",
  23822. "type": "string"
  23823. },
  23824. "strtime": {
  23825. "description": "时间",
  23826. "type": "string"
  23827. },
  23828. "wrstandardcode": {
  23829. "description": "现货商品代码",
  23830. "type": "string"
  23831. },
  23832. "wrstandardid": {
  23833. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23834. "type": "integer"
  23835. },
  23836. "wrstandardname": {
  23837. "description": "现货商品名称",
  23838. "type": "string"
  23839. }
  23840. }
  23841. },
  23842. "models.Ermcp3AreaSpotPLReport": {
  23843. "type": "object",
  23844. "properties": {
  23845. "accountid": {
  23846. "description": "期货账户ID (作废, 默认为0)",
  23847. "type": "integer"
  23848. },
  23849. "accountname": {
  23850. "description": "机构名称",
  23851. "type": "string"
  23852. },
  23853. "actualpl": {
  23854. "description": "现货损益",
  23855. "type": "number"
  23856. },
  23857. "areauserid": {
  23858. "description": "所属机构\\交易用户ID",
  23859. "type": "integer"
  23860. },
  23861. "begindate": {
  23862. "description": "开始交易日",
  23863. "type": "string"
  23864. },
  23865. "biztype": {
  23866. "description": "业务类型 - 1:套保 2:套利",
  23867. "type": "integer"
  23868. },
  23869. "brandname": {
  23870. "description": "品牌名称",
  23871. "type": "string"
  23872. },
  23873. "curamount": {
  23874. "description": "期末额",
  23875. "type": "number"
  23876. },
  23877. "curaverageprice": {
  23878. "description": "期初均价",
  23879. "type": "number"
  23880. },
  23881. "curbuyamount": {
  23882. "description": "期末采购总额",
  23883. "type": "number"
  23884. },
  23885. "curbuyqty": {
  23886. "description": "期末采购总量",
  23887. "type": "number"
  23888. },
  23889. "curmarketvalue": {
  23890. "description": "期初均价",
  23891. "type": "number"
  23892. },
  23893. "curqty": {
  23894. "description": "期末量",
  23895. "type": "number"
  23896. },
  23897. "currencyid": {
  23898. "description": "结算币种ID【原值】",
  23899. "type": "integer"
  23900. },
  23901. "currencyname": {
  23902. "description": "币种名称",
  23903. "type": "string"
  23904. },
  23905. "cursellamount": {
  23906. "description": "期末销售总额",
  23907. "type": "number"
  23908. },
  23909. "cursellqty": {
  23910. "description": "期末销售总量",
  23911. "type": "number"
  23912. },
  23913. "curspotprice": {
  23914. "description": "期初均价",
  23915. "type": "number"
  23916. },
  23917. "cycletime": {
  23918. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23919. "type": "string"
  23920. },
  23921. "cycletype": {
  23922. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23923. "type": "integer"
  23924. },
  23925. "deliverygoodscode": {
  23926. "description": "现货品种代码",
  23927. "type": "string"
  23928. },
  23929. "deliverygoodsid": {
  23930. "description": "现货品种ID",
  23931. "type": "integer"
  23932. },
  23933. "deliverygoodsname": {
  23934. "description": "现货品种名称",
  23935. "type": "string"
  23936. },
  23937. "enddate": {
  23938. "description": "结束交易日",
  23939. "type": "string"
  23940. },
  23941. "enumdicname": {
  23942. "description": "现货品种单位名称(作废)",
  23943. "type": "string"
  23944. },
  23945. "floatpl": {
  23946. "description": "期初均价",
  23947. "type": "number"
  23948. },
  23949. "goodsunitid": {
  23950. "description": "现货品种单位id(作废)",
  23951. "type": "integer"
  23952. },
  23953. "oriamount": {
  23954. "description": "期初额",
  23955. "type": "number"
  23956. },
  23957. "oriaverageprice": {
  23958. "description": "期初均价",
  23959. "type": "number"
  23960. },
  23961. "oribuyamount": {
  23962. "description": "期初采购总额",
  23963. "type": "number"
  23964. },
  23965. "oribuyqty": {
  23966. "description": "期初采购总量",
  23967. "type": "number"
  23968. },
  23969. "oriqty": {
  23970. "description": "期初量",
  23971. "type": "number"
  23972. },
  23973. "orisellamount": {
  23974. "description": "期初销售总额",
  23975. "type": "number"
  23976. },
  23977. "orisellqty": {
  23978. "description": "期初销售总量",
  23979. "type": "number"
  23980. },
  23981. "reckondate": {
  23982. "description": "日照时期(yyyyMMdd)",
  23983. "type": "string"
  23984. },
  23985. "spotgoodsbrandid": {
  23986. "description": "现货品牌ID",
  23987. "type": "integer"
  23988. },
  23989. "todaybuyamount": {
  23990. "description": "今日采购额(今采购额)",
  23991. "type": "number"
  23992. },
  23993. "todaybuyaverageprice": {
  23994. "description": "期初均价",
  23995. "type": "number"
  23996. },
  23997. "todaybuyqty": {
  23998. "description": "今日采购量(今采购量)",
  23999. "type": "number"
  24000. },
  24001. "todayinqty": {
  24002. "description": "今日入库量(今入库量)",
  24003. "type": "number"
  24004. },
  24005. "todayoutqty": {
  24006. "description": "今日出库量(今出库量)",
  24007. "type": "number"
  24008. },
  24009. "todaysellamount": {
  24010. "description": "今日销售额(今销售额)",
  24011. "type": "number"
  24012. },
  24013. "todaysellaverageprice": {
  24014. "description": "期初均价",
  24015. "type": "number"
  24016. },
  24017. "todaysellqty": {
  24018. "description": "今日销售量(今销售量)",
  24019. "type": "number"
  24020. },
  24021. "unitid": {
  24022. "description": "品类单位id",
  24023. "type": "integer"
  24024. },
  24025. "unitidname": {
  24026. "description": "品类单位名称",
  24027. "type": "string"
  24028. },
  24029. "updatetime": {
  24030. "description": "更新时间",
  24031. "type": "string"
  24032. },
  24033. "wrfactortypeid": {
  24034. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24035. "type": "integer"
  24036. },
  24037. "wrstandardcode": {
  24038. "description": "现货商品(品类)代码",
  24039. "type": "string"
  24040. },
  24041. "wrstandardid": {
  24042. "description": "现货品类ID",
  24043. "type": "integer"
  24044. },
  24045. "wrstandardname": {
  24046. "description": "现货商品(品类)名称",
  24047. "type": "string"
  24048. }
  24049. }
  24050. },
  24051. "models.Ermcp3AreaStock": {
  24052. "type": "object",
  24053. "required": [
  24054. "userid"
  24055. ],
  24056. "properties": {
  24057. "brandname": {
  24058. "description": "品牌名称",
  24059. "type": "string"
  24060. },
  24061. "curstock": {
  24062. "description": "期末库存量(今日量)",
  24063. "type": "number"
  24064. },
  24065. "deliverygoodscode": {
  24066. "description": "现货品种代码",
  24067. "type": "string"
  24068. },
  24069. "deliverygoodsid": {
  24070. "description": "现货品种id",
  24071. "type": "integer"
  24072. },
  24073. "deliverygoodsname": {
  24074. "description": "现货品种名称",
  24075. "type": "string"
  24076. },
  24077. "enumdicname": {
  24078. "description": "单位名称",
  24079. "type": "string"
  24080. },
  24081. "goodsunitid": {
  24082. "description": "现货商品单位id",
  24083. "type": "integer"
  24084. },
  24085. "oristock": {
  24086. "description": "期初库存量(昨日量)",
  24087. "type": "number"
  24088. },
  24089. "spotgoodsbrandid": {
  24090. "description": "现货品牌ID",
  24091. "type": "integer"
  24092. },
  24093. "todaybuyinqty": {
  24094. "description": "今日采购入库量",
  24095. "type": "number"
  24096. },
  24097. "todayproduceinqty": {
  24098. "description": "今日生产入库量",
  24099. "type": "number"
  24100. },
  24101. "todayproduceoutqty": {
  24102. "description": "今日生产出库量",
  24103. "type": "number"
  24104. },
  24105. "todayselloutqty": {
  24106. "description": "今日销售出库量",
  24107. "type": "number"
  24108. },
  24109. "unitid": {
  24110. "description": "单位id",
  24111. "type": "integer"
  24112. },
  24113. "updatetime": {
  24114. "description": "更新时间",
  24115. "type": "string"
  24116. },
  24117. "userid": {
  24118. "description": "机构ID",
  24119. "type": "integer"
  24120. },
  24121. "username": {
  24122. "description": "机构名称",
  24123. "type": "string"
  24124. },
  24125. "warehousecode": {
  24126. "description": "仓库代码",
  24127. "type": "string"
  24128. },
  24129. "warehouseinfoid": {
  24130. "description": "仓库ID",
  24131. "type": "string"
  24132. },
  24133. "warehousename": {
  24134. "description": "仓库名称",
  24135. "type": "string"
  24136. },
  24137. "warehousetype": {
  24138. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24139. "type": "integer"
  24140. },
  24141. "wrstandardcode": {
  24142. "description": "品类代码",
  24143. "type": "string"
  24144. },
  24145. "wrstandardid": {
  24146. "description": "品类ID",
  24147. "type": "string"
  24148. },
  24149. "wrstandardname": {
  24150. "description": "品类名称",
  24151. "type": "string"
  24152. }
  24153. }
  24154. },
  24155. "models.Ermcp3AreaStockApply": {
  24156. "type": "object",
  24157. "properties": {
  24158. "applyid": {
  24159. "description": "申请人",
  24160. "type": "integer"
  24161. },
  24162. "applyname": {
  24163. "description": "申请人名称",
  24164. "type": "string"
  24165. },
  24166. "applyremark": {
  24167. "description": "申请备注",
  24168. "type": "string"
  24169. },
  24170. "applysrc": {
  24171. "description": "申请来源 - 1:管理端 2:终端",
  24172. "type": "integer"
  24173. },
  24174. "applystatus": {
  24175. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24176. "type": "integer"
  24177. },
  24178. "applytime": {
  24179. "description": "申请时间",
  24180. "type": "string"
  24181. },
  24182. "auditid": {
  24183. "description": "审核人",
  24184. "type": "integer"
  24185. },
  24186. "auditname": {
  24187. "description": "审核人名称",
  24188. "type": "string"
  24189. },
  24190. "auditremark": {
  24191. "description": "审核备注",
  24192. "type": "string"
  24193. },
  24194. "auditsrc": {
  24195. "description": "审核来源 - 1:管理端 2:终端",
  24196. "type": "integer"
  24197. },
  24198. "audittime": {
  24199. "description": "审核时间",
  24200. "type": "string"
  24201. },
  24202. "audittradedate": {
  24203. "description": "审核交易日(yyyyMMdd)",
  24204. "type": "string"
  24205. },
  24206. "brandname": {
  24207. "description": "品牌名称",
  24208. "type": "string"
  24209. },
  24210. "buynickname": {
  24211. "description": "采购方昵称",
  24212. "type": "string"
  24213. },
  24214. "buyuserid": {
  24215. "description": "采购方userid",
  24216. "type": "integer"
  24217. },
  24218. "buyusername": {
  24219. "description": "采购方名称",
  24220. "type": "string"
  24221. },
  24222. "contractno": {
  24223. "description": "合同编号",
  24224. "type": "string"
  24225. },
  24226. "contractqty": {
  24227. "description": "合同量",
  24228. "type": "number"
  24229. },
  24230. "contracttype": {
  24231. "description": "现货合同类型 - 1:采购 -1:销售",
  24232. "type": "integer"
  24233. },
  24234. "deliverygoodscode": {
  24235. "description": "现货品种代码",
  24236. "type": "string"
  24237. },
  24238. "deliverygoodsid": {
  24239. "description": "现货品种id",
  24240. "type": "integer"
  24241. },
  24242. "deliverygoodsname": {
  24243. "description": "现货品种名称",
  24244. "type": "string"
  24245. },
  24246. "detailjson": {
  24247. "description": "明细数据",
  24248. "type": "string"
  24249. },
  24250. "enumdicname": {
  24251. "description": "现货商品单位名称",
  24252. "type": "string"
  24253. },
  24254. "inoutapplyid": {
  24255. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  24256. "type": "string"
  24257. },
  24258. "inouttype": {
  24259. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  24260. "type": "integer"
  24261. },
  24262. "pricetype": {
  24263. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24264. "type": "integer"
  24265. },
  24266. "qty": {
  24267. "description": "数量",
  24268. "type": "number"
  24269. },
  24270. "sellnickname": {
  24271. "description": "销售方昵称",
  24272. "type": "string"
  24273. },
  24274. "selluserid": {
  24275. "description": "销售方userid",
  24276. "type": "integer"
  24277. },
  24278. "sellusername": {
  24279. "description": "销售方名称",
  24280. "type": "string"
  24281. },
  24282. "spotcontractid": {
  24283. "description": "关联现货合同ID",
  24284. "type": "string"
  24285. },
  24286. "spotgoodsbrandid": {
  24287. "description": "现货品牌ID",
  24288. "type": "integer"
  24289. },
  24290. "unitid": {
  24291. "description": "单位id",
  24292. "type": "integer"
  24293. },
  24294. "userid": {
  24295. "description": "机构ID",
  24296. "type": "integer"
  24297. },
  24298. "warehousecode": {
  24299. "description": "仓库代码",
  24300. "type": "string"
  24301. },
  24302. "warehouseinfoid": {
  24303. "description": "现货仓库ID",
  24304. "type": "string"
  24305. },
  24306. "warehousename": {
  24307. "description": "仓库名称",
  24308. "type": "string"
  24309. },
  24310. "warehousetype": {
  24311. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24312. "type": "integer"
  24313. },
  24314. "wrstandardcode": {
  24315. "description": "品类代码",
  24316. "type": "string"
  24317. },
  24318. "wrstandardid": {
  24319. "description": "品类ID",
  24320. "type": "integer"
  24321. },
  24322. "wrstandardname": {
  24323. "description": "品类名称",
  24324. "type": "string"
  24325. }
  24326. }
  24327. },
  24328. "models.Ermcp3AreaStockApplySum": {
  24329. "type": "object",
  24330. "properties": {
  24331. "brandname": {
  24332. "description": "品牌名称",
  24333. "type": "string"
  24334. },
  24335. "inouttype": {
  24336. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  24337. "type": "integer"
  24338. },
  24339. "spotcontractid": {
  24340. "description": "关联现货合同ID",
  24341. "type": "string"
  24342. },
  24343. "spotgoodsbrandid": {
  24344. "description": "品牌id",
  24345. "type": "integer"
  24346. },
  24347. "totalqty": {
  24348. "description": "总数量",
  24349. "type": "number"
  24350. },
  24351. "wrstandardid": {
  24352. "description": "品类id",
  24353. "type": "integer"
  24354. },
  24355. "wrstandardname": {
  24356. "description": "品类名称",
  24357. "type": "string"
  24358. }
  24359. }
  24360. },
  24361. "models.Ermcp3AreaStockReportEx": {
  24362. "type": "object",
  24363. "properties": {
  24364. "begindate": {
  24365. "description": "开始交易日",
  24366. "type": "string"
  24367. },
  24368. "brandname": {
  24369. "description": "品牌名称",
  24370. "type": "string"
  24371. },
  24372. "curstock": {
  24373. "description": "期末库存量",
  24374. "type": "number"
  24375. },
  24376. "cycletime": {
  24377. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24378. "type": "string"
  24379. },
  24380. "cycletype": {
  24381. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24382. "type": "integer"
  24383. },
  24384. "deliverygoodscode": {
  24385. "description": "现货品种代码",
  24386. "type": "string"
  24387. },
  24388. "deliverygoodsid": {
  24389. "description": "现货品种id",
  24390. "type": "integer"
  24391. },
  24392. "deliverygoodsname": {
  24393. "description": "现货品种名称",
  24394. "type": "string"
  24395. },
  24396. "diffqty": {
  24397. "description": "库存变化量 = 期末 - 期初",
  24398. "type": "number"
  24399. },
  24400. "enddate": {
  24401. "description": "结束交易日",
  24402. "type": "string"
  24403. },
  24404. "enumdicname": {
  24405. "description": "单位名称",
  24406. "type": "string"
  24407. },
  24408. "goodsunitid": {
  24409. "description": "现货单位id",
  24410. "type": "integer"
  24411. },
  24412. "oristock": {
  24413. "description": "期初库存量",
  24414. "type": "number"
  24415. },
  24416. "reckondate": {
  24417. "description": "日照时期(yyyyMMdd)",
  24418. "type": "string"
  24419. },
  24420. "spotgoodsbrandid": {
  24421. "description": "现货品牌ID",
  24422. "type": "integer"
  24423. },
  24424. "todaybuyinqty": {
  24425. "description": "今采购入库量",
  24426. "type": "number"
  24427. },
  24428. "todayproduceinqty": {
  24429. "description": "今内部入库量",
  24430. "type": "number"
  24431. },
  24432. "todayproduceoutqty": {
  24433. "description": "今内部出库量",
  24434. "type": "number"
  24435. },
  24436. "todayselloutqty": {
  24437. "description": "今销售出库量",
  24438. "type": "number"
  24439. },
  24440. "unbuyinqty": {
  24441. "description": "采购未入库量(数据库未找到相关字段?)",
  24442. "type": "number"
  24443. },
  24444. "unitid": {
  24445. "description": "品类单位id",
  24446. "type": "integer"
  24447. },
  24448. "unselloutqty": {
  24449. "description": "销售未出库量(数据库未找到相关字段?)",
  24450. "type": "number"
  24451. },
  24452. "updatetime": {
  24453. "description": "更新时间",
  24454. "type": "string"
  24455. },
  24456. "userid": {
  24457. "description": "机构ID",
  24458. "type": "integer"
  24459. },
  24460. "username": {
  24461. "description": "机构名称",
  24462. "type": "string"
  24463. },
  24464. "warehousecode": {
  24465. "description": "仓库代码",
  24466. "type": "string"
  24467. },
  24468. "warehouseinfoid": {
  24469. "description": "仓库ID",
  24470. "type": "string"
  24471. },
  24472. "warehousename": {
  24473. "description": "仓库名称",
  24474. "type": "string"
  24475. },
  24476. "warehousetype": {
  24477. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24478. "type": "integer"
  24479. },
  24480. "wrstandardcode": {
  24481. "description": "品类代码",
  24482. "type": "string"
  24483. },
  24484. "wrstandardid": {
  24485. "description": "品类ID",
  24486. "type": "integer"
  24487. },
  24488. "wrstandardname": {
  24489. "description": "品类名称",
  24490. "type": "string"
  24491. }
  24492. }
  24493. },
  24494. "models.Ermcp3ArealSumPL": {
  24495. "type": "object",
  24496. "properties": {
  24497. "accountname": {
  24498. "description": "机构名称",
  24499. "type": "string"
  24500. },
  24501. "areauserid": {
  24502. "description": "所属机构\\交易用户ID",
  24503. "type": "integer"
  24504. },
  24505. "begindate": {
  24506. "description": "开始交易日",
  24507. "type": "string"
  24508. },
  24509. "currencyid": {
  24510. "description": "结算币种ID",
  24511. "type": "integer"
  24512. },
  24513. "currencyname": {
  24514. "description": "币种名称",
  24515. "type": "string"
  24516. },
  24517. "cycletime": {
  24518. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24519. "type": "string"
  24520. },
  24521. "cycletype": {
  24522. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24523. "type": "integer"
  24524. },
  24525. "enddate": {
  24526. "description": "结束交易日",
  24527. "type": "string"
  24528. },
  24529. "enumdicname": {
  24530. "description": "单位名称(套保品种)",
  24531. "type": "string"
  24532. },
  24533. "futureactualpl": {
  24534. "description": "期货损益",
  24535. "type": "number"
  24536. },
  24537. "futurefloatpl": {
  24538. "description": "期货浮动损益",
  24539. "type": "number"
  24540. },
  24541. "futurespotratio": {
  24542. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  24543. "type": "number"
  24544. },
  24545. "goodsunitid": {
  24546. "description": "套保品种单位id",
  24547. "type": "integer"
  24548. },
  24549. "hedgeexposurepl": {
  24550. "description": "套保敞口损益",
  24551. "type": "number"
  24552. },
  24553. "middlegoodscode": {
  24554. "description": "套保品种代码",
  24555. "type": "string"
  24556. },
  24557. "middlegoodsid": {
  24558. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24559. "type": "integer"
  24560. },
  24561. "middlegoodsname": {
  24562. "description": "套保品种名称",
  24563. "type": "string"
  24564. },
  24565. "reckondate": {
  24566. "description": "日照时期(yyyyMMdd)",
  24567. "type": "string"
  24568. },
  24569. "spotactualpl": {
  24570. "description": "现货损益",
  24571. "type": "number"
  24572. },
  24573. "spotfloatpl": {
  24574. "description": "现货浮动损益",
  24575. "type": "number"
  24576. },
  24577. "sumactualpl": {
  24578. "description": "实际损益 = (ActualPL + FutureActualPL)",
  24579. "type": "number"
  24580. },
  24581. "sumpl": {
  24582. "description": "总敞口损益 | 汇总损益",
  24583. "type": "number"
  24584. },
  24585. "totalfutureqty": {
  24586. "description": "期货头寸总量",
  24587. "type": "number"
  24588. },
  24589. "totalneedhedgeqty": {
  24590. "description": "应套保总量",
  24591. "type": "number"
  24592. },
  24593. "totalspotqty": {
  24594. "description": "现货头寸总量",
  24595. "type": "number"
  24596. },
  24597. "updatetime": {
  24598. "description": "更新时间",
  24599. "type": "string"
  24600. }
  24601. }
  24602. },
  24603. "models.Ermcp3Brand": {
  24604. "type": "object",
  24605. "properties": {
  24606. "areauserid": {
  24607. "description": "用户id",
  24608. "type": "integer"
  24609. },
  24610. "brandid": {
  24611. "description": "品牌id",
  24612. "type": "integer"
  24613. },
  24614. "brandname": {
  24615. "description": "品牌名称",
  24616. "type": "string"
  24617. },
  24618. "deliverygoodsid": {
  24619. "description": "品种ID",
  24620. "type": "integer"
  24621. },
  24622. "isvalid": {
  24623. "description": "是否有效",
  24624. "type": "integer"
  24625. }
  24626. }
  24627. },
  24628. "models.Ermcp3Contract": {
  24629. "type": "object",
  24630. "properties": {
  24631. "accountid": {
  24632. "description": "期货账户id",
  24633. "type": "string"
  24634. },
  24635. "amount": {
  24636. "description": "金额 [1:一口价、3:暂定价]",
  24637. "type": "number"
  24638. },
  24639. "attachment": {
  24640. "description": "附件",
  24641. "type": "string"
  24642. },
  24643. "auditremark": {
  24644. "description": "审核意见",
  24645. "type": "string"
  24646. },
  24647. "audittime": {
  24648. "description": "审核时间",
  24649. "type": "string"
  24650. },
  24651. "biztype": {
  24652. "description": "业务类型 1-套保 2-套利",
  24653. "type": "integer"
  24654. },
  24655. "brandname": {
  24656. "description": "品牌名称",
  24657. "type": "string"
  24658. },
  24659. "buynickname": {
  24660. "description": "销售方昵称",
  24661. "type": "string"
  24662. },
  24663. "buyuserid": {
  24664. "description": "采购方ID",
  24665. "type": "integer"
  24666. },
  24667. "buyusername": {
  24668. "description": "采购方名称",
  24669. "type": "string"
  24670. },
  24671. "contracctstatus": {
  24672. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24673. "type": "integer"
  24674. },
  24675. "contractmargin": {
  24676. "description": "合同保证金",
  24677. "type": "number"
  24678. },
  24679. "contractno": {
  24680. "description": "现货合同编号",
  24681. "type": "string"
  24682. },
  24683. "contracttype": {
  24684. "description": "现货合同类型 - 1:采购 -1:销售",
  24685. "type": "integer"
  24686. },
  24687. "convertfactor": {
  24688. "description": "标仓系数(品类)",
  24689. "type": "number"
  24690. },
  24691. "createtime": {
  24692. "description": "创建时间",
  24693. "type": "string"
  24694. },
  24695. "currencyid": {
  24696. "description": "币种id",
  24697. "type": "integer"
  24698. },
  24699. "currencyname": {
  24700. "description": "币种名称",
  24701. "type": "string"
  24702. },
  24703. "deliveryenddate": {
  24704. "description": "交收期(结束)",
  24705. "type": "string"
  24706. },
  24707. "deliverygoodscode": {
  24708. "description": "现货品种代码",
  24709. "type": "string"
  24710. },
  24711. "deliverygoodsid": {
  24712. "description": "现货品种ID",
  24713. "type": "integer"
  24714. },
  24715. "deliverygoodsname": {
  24716. "description": "现货品种名称",
  24717. "type": "string"
  24718. },
  24719. "deliverystartdate": {
  24720. "description": "交收期(开始)",
  24721. "type": "string"
  24722. },
  24723. "enddate": {
  24724. "description": "点价结束日期 [2:点价 3:暂定价]",
  24725. "type": "string"
  24726. },
  24727. "enumdicname": {
  24728. "description": "单位名称",
  24729. "type": "string"
  24730. },
  24731. "goodscode": {
  24732. "description": "点价合约代码",
  24733. "type": "string"
  24734. },
  24735. "goodsid": {
  24736. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  24737. "type": "integer"
  24738. },
  24739. "goodsname": {
  24740. "description": "点价商品名称",
  24741. "type": "string"
  24742. },
  24743. "margin": {
  24744. "description": "当前保证金",
  24745. "type": "number"
  24746. },
  24747. "meruserid": {
  24748. "description": "跟单员id",
  24749. "type": "integer"
  24750. },
  24751. "meruserlogincode": {
  24752. "description": "跟单员登录代码",
  24753. "type": "string"
  24754. },
  24755. "merusername": {
  24756. "description": "跟单员名称",
  24757. "type": "string"
  24758. },
  24759. "pointdesc": {
  24760. "description": "点价备注",
  24761. "type": "string"
  24762. },
  24763. "price": {
  24764. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  24765. "type": "number"
  24766. },
  24767. "pricemove": {
  24768. "description": "升贴水 [2:点价 3:暂定价]",
  24769. "type": "number"
  24770. },
  24771. "pricetype": {
  24772. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24773. "type": "integer"
  24774. },
  24775. "producttype": {
  24776. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24777. "type": "integer"
  24778. },
  24779. "qty": {
  24780. "description": "数量",
  24781. "type": "number"
  24782. },
  24783. "remark": {
  24784. "description": "备注",
  24785. "type": "string"
  24786. },
  24787. "saleuserid": {
  24788. "description": "业务员id",
  24789. "type": "integer"
  24790. },
  24791. "saleuserlogincode": {
  24792. "description": "业务员登录代码",
  24793. "type": "string"
  24794. },
  24795. "saleusername": {
  24796. "description": "业务员名称",
  24797. "type": "string"
  24798. },
  24799. "sellnickname": {
  24800. "description": "采购方昵称",
  24801. "type": "string"
  24802. },
  24803. "selluserid": {
  24804. "description": "销售方ID",
  24805. "type": "integer"
  24806. },
  24807. "sellusername": {
  24808. "description": "销售方名称",
  24809. "type": "string"
  24810. },
  24811. "spotcontractid": {
  24812. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24813. "type": "string"
  24814. },
  24815. "spotgoodsbrandid": {
  24816. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24817. "type": "integer"
  24818. },
  24819. "spotgoodsdesc": {
  24820. "description": "商品型号",
  24821. "type": "string"
  24822. },
  24823. "startdate": {
  24824. "description": "点价开始日期 [2:点价 3:暂定价]",
  24825. "type": "string"
  24826. },
  24827. "subjectid": {
  24828. "description": "交易主体ID",
  24829. "type": "integer"
  24830. },
  24831. "subjectname": {
  24832. "description": "交易主体名称",
  24833. "type": "string"
  24834. },
  24835. "tradeuserid": {
  24836. "description": "交易员id",
  24837. "type": "integer"
  24838. },
  24839. "tradeuserlogincode": {
  24840. "description": "交易员登录代码",
  24841. "type": "string"
  24842. },
  24843. "tradeusername": {
  24844. "description": "交易员名称",
  24845. "type": "string"
  24846. },
  24847. "unitid": {
  24848. "description": "单位id(取品类上的单位id)",
  24849. "type": "integer"
  24850. },
  24851. "updatetime": {
  24852. "description": "更新时间",
  24853. "type": "string"
  24854. },
  24855. "userid": {
  24856. "description": "所属机构ID",
  24857. "type": "integer"
  24858. },
  24859. "vatrate": {
  24860. "description": "增值税率",
  24861. "type": "number"
  24862. },
  24863. "wrstandardcode": {
  24864. "description": "品类代码",
  24865. "type": "string"
  24866. },
  24867. "wrstandardid": {
  24868. "description": "品类ID",
  24869. "type": "integer"
  24870. },
  24871. "wrstandardname": {
  24872. "description": "品类名称",
  24873. "type": "string"
  24874. }
  24875. }
  24876. },
  24877. "models.Ermcp3ContractMiddleGoodsCfg": {
  24878. "type": "object",
  24879. "properties": {
  24880. "agreeunit": {
  24881. "description": "合约乘数",
  24882. "type": "number"
  24883. },
  24884. "convertratio": {
  24885. "description": "期货品种系数",
  24886. "type": "number"
  24887. },
  24888. "covertqty": {
  24889. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  24890. "type": "integer"
  24891. },
  24892. "middlegoodsid": {
  24893. "description": "套保品种ID",
  24894. "type": "integer"
  24895. },
  24896. "middlegoodspricedqty3": {
  24897. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24898. "type": "string",
  24899. "example": "0"
  24900. },
  24901. "pendingpricedqty": {
  24902. "description": "待点价量",
  24903. "type": "string",
  24904. "example": "0"
  24905. },
  24906. "relatedmiddlegoodsqty": {
  24907. "description": "已关联量(套保品种-期货)",
  24908. "type": "string",
  24909. "example": "0"
  24910. },
  24911. "spotcontractid": {
  24912. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24913. "type": "string"
  24914. }
  24915. }
  24916. },
  24917. "models.Ermcp3ExposureContractDetail": {
  24918. "type": "object",
  24919. "properties": {
  24920. "biztype": {
  24921. "description": "业务类型 1-套保 2-套利",
  24922. "type": "integer"
  24923. },
  24924. "brandname": {
  24925. "description": "品牌名称",
  24926. "type": "string"
  24927. },
  24928. "buyuserid": {
  24929. "description": "采购方id",
  24930. "type": "integer"
  24931. },
  24932. "buyusername": {
  24933. "description": "采购方名称",
  24934. "type": "string"
  24935. },
  24936. "contractno": {
  24937. "description": "合同编号",
  24938. "type": "string"
  24939. },
  24940. "contracttype": {
  24941. "description": "现货合同类型 - 1:采购 -1:销售",
  24942. "type": "integer"
  24943. },
  24944. "convertfactor": {
  24945. "description": "标仓系数",
  24946. "type": "number"
  24947. },
  24948. "convertratio": {
  24949. "description": "折算系数(套保品种)",
  24950. "type": "number"
  24951. },
  24952. "curqty": {
  24953. "description": "今定价量",
  24954. "type": "number"
  24955. },
  24956. "deliverygoodscode": {
  24957. "description": "现货品种代码",
  24958. "type": "string"
  24959. },
  24960. "deliverygoodsid": {
  24961. "description": "现货品种id",
  24962. "type": "integer"
  24963. },
  24964. "deliverygoodsname": {
  24965. "description": "现货品种名称",
  24966. "type": "string"
  24967. },
  24968. "diffhedgeqty": {
  24969. "description": "套保变动量",
  24970. "type": "number"
  24971. },
  24972. "diffneedhedgeqty": {
  24973. "description": "应套保变动量",
  24974. "type": "number"
  24975. },
  24976. "diffqty": {
  24977. "description": "套保品种今变动量",
  24978. "type": "number"
  24979. },
  24980. "enumdicname": {
  24981. "description": "单位名称",
  24982. "type": "string"
  24983. },
  24984. "mgunitname": {
  24985. "description": "套保品种单位名称",
  24986. "type": "string"
  24987. },
  24988. "middlegoodscode": {
  24989. "description": "套保品种代码",
  24990. "type": "string"
  24991. },
  24992. "middlegoodsid": {
  24993. "description": "套保品种id",
  24994. "type": "integer"
  24995. },
  24996. "middlegoodsname": {
  24997. "description": "套保品种名称",
  24998. "type": "string"
  24999. },
  25000. "needarbitrageratio": {
  25001. "description": "应套利比例",
  25002. "type": "number"
  25003. },
  25004. "needhedgeratio": {
  25005. "description": "应套保比例",
  25006. "type": "number"
  25007. },
  25008. "pricedqty": {
  25009. "description": "已定价量",
  25010. "type": "number"
  25011. },
  25012. "qty": {
  25013. "description": "合同量",
  25014. "type": "number"
  25015. },
  25016. "reckondate": {
  25017. "description": "交易日(reckondate)",
  25018. "type": "string"
  25019. },
  25020. "selluserid": {
  25021. "description": "销售方id",
  25022. "type": "integer"
  25023. },
  25024. "sellusername": {
  25025. "description": "销售方名称",
  25026. "type": "string"
  25027. },
  25028. "spotcontractid": {
  25029. "description": "合同id",
  25030. "type": "string"
  25031. },
  25032. "todaypricedqty": {
  25033. "description": "今定价量",
  25034. "type": "number"
  25035. },
  25036. "tradedate": {
  25037. "description": "交易日",
  25038. "type": "string"
  25039. },
  25040. "unitid": {
  25041. "description": "品类单位id",
  25042. "type": "integer"
  25043. },
  25044. "userid": {
  25045. "description": "机构id",
  25046. "type": "integer"
  25047. },
  25048. "username": {
  25049. "description": "交易用户",
  25050. "type": "string"
  25051. },
  25052. "wrstandardcode": {
  25053. "description": "现货商品代码",
  25054. "type": "string"
  25055. },
  25056. "wrstandardid": {
  25057. "description": "现货商品id",
  25058. "type": "integer"
  25059. },
  25060. "wrstandardname": {
  25061. "description": "现货商品名称",
  25062. "type": "string"
  25063. }
  25064. }
  25065. },
  25066. "models.Ermcp3ExposureDetail": {
  25067. "type": "object",
  25068. "properties": {
  25069. "areauserid": {
  25070. "description": "机构ID",
  25071. "type": "integer"
  25072. },
  25073. "changeQty": {
  25074. "description": "套保变动量",
  25075. "type": "number"
  25076. },
  25077. "contracttype": {
  25078. "description": "现货合同类型 - 1:采购 -1:销售",
  25079. "type": "integer"
  25080. },
  25081. "convertfactor": {
  25082. "description": "标仓系数",
  25083. "type": "number"
  25084. },
  25085. "convertratio": {
  25086. "description": "折算系数",
  25087. "type": "number"
  25088. },
  25089. "createtime": {
  25090. "description": "时间",
  25091. "type": "string"
  25092. },
  25093. "enumdicname": {
  25094. "description": "现货商品单位名称",
  25095. "type": "string"
  25096. },
  25097. "logtype": {
  25098. "description": "类型 - 1:套保计划 2:现货合同",
  25099. "type": "integer"
  25100. },
  25101. "mgunitid": {
  25102. "description": "套保品种单位id",
  25103. "type": "integer"
  25104. },
  25105. "mgunitidname": {
  25106. "description": "套保品种单位名称",
  25107. "type": "string"
  25108. },
  25109. "middlegoodsId": {
  25110. "description": "套保商品id",
  25111. "type": "integer"
  25112. },
  25113. "middlegoodscode": {
  25114. "description": "套保商品代码",
  25115. "type": "string"
  25116. },
  25117. "middlegoodsname": {
  25118. "description": "套保商品名称",
  25119. "type": "string"
  25120. },
  25121. "qty": {
  25122. "description": "数量",
  25123. "type": "number"
  25124. },
  25125. "relateNo": {
  25126. "description": "现货合同/套保计划编号",
  25127. "type": "string"
  25128. },
  25129. "unitid": {
  25130. "description": "现货商品单位id",
  25131. "type": "integer"
  25132. },
  25133. "wrstandardcode": {
  25134. "description": "现货商品代码",
  25135. "type": "string"
  25136. },
  25137. "wrstandardid": {
  25138. "description": "现货商品ID(SEQ_WRSTANDARD)",
  25139. "type": "integer"
  25140. },
  25141. "wrstandardname": {
  25142. "description": "现货商品名称",
  25143. "type": "string"
  25144. }
  25145. }
  25146. },
  25147. "models.Ermcp3ExposureFutuDetail": {
  25148. "type": "object",
  25149. "properties": {
  25150. "accountid": {
  25151. "description": "交易账户id",
  25152. "type": "integer"
  25153. },
  25154. "accountname": {
  25155. "description": "交易账户",
  25156. "type": "string"
  25157. },
  25158. "begindate": {
  25159. "description": "开始交易日",
  25160. "type": "string"
  25161. },
  25162. "buyorsell": {
  25163. "description": "方向 0-买 1-卖",
  25164. "type": "integer"
  25165. },
  25166. "diffmgqty": {
  25167. "description": "套保品种今变化量",
  25168. "type": "number"
  25169. },
  25170. "diffneedqty": {
  25171. "description": "应套保总量变化量",
  25172. "type": "number"
  25173. },
  25174. "difftradeqty": {
  25175. "description": "交易品种今变化量",
  25176. "type": "number"
  25177. },
  25178. "enddate": {
  25179. "description": "结束交易日",
  25180. "type": "string"
  25181. },
  25182. "enumdicname": {
  25183. "description": "单位名称",
  25184. "type": "string"
  25185. },
  25186. "goodscode": {
  25187. "description": "商品代码",
  25188. "type": "string"
  25189. },
  25190. "goodsid": {
  25191. "description": "商品id",
  25192. "type": "integer"
  25193. },
  25194. "goodsname": {
  25195. "description": "商品名称",
  25196. "type": "string"
  25197. },
  25198. "holdqty": {
  25199. "description": "期末持仓量",
  25200. "type": "number"
  25201. },
  25202. "middlegoodscode": {
  25203. "description": "套保商品代码",
  25204. "type": "string"
  25205. },
  25206. "middlegoodsid": {
  25207. "description": "套保商品id",
  25208. "type": "integer"
  25209. },
  25210. "middlegoodsname": {
  25211. "description": "套保商品名称",
  25212. "type": "string"
  25213. },
  25214. "oriholdqty": {
  25215. "description": "期初持仓量",
  25216. "type": "number"
  25217. },
  25218. "reckondate": {
  25219. "description": "交易日(RECKONDATE)",
  25220. "type": "string"
  25221. },
  25222. "todaycloseqty": {
  25223. "description": "今平仓量",
  25224. "type": "number"
  25225. },
  25226. "todayopenqty": {
  25227. "description": "今开仓量",
  25228. "type": "number"
  25229. },
  25230. "tradedate": {
  25231. "description": "交易日(RECKONDATE)",
  25232. "type": "string"
  25233. },
  25234. "username": {
  25235. "description": "用户名称(交易用户)",
  25236. "type": "string"
  25237. }
  25238. }
  25239. },
  25240. "models.Ermcp3ExposureHedgeplanDetail": {
  25241. "type": "object",
  25242. "properties": {
  25243. "biztype": {
  25244. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  25245. "type": "integer"
  25246. },
  25247. "changqty": {
  25248. "description": "应套保总量变化量",
  25249. "type": "number"
  25250. },
  25251. "contracttype": {
  25252. "description": "计划类型 - 1:采购 -1:销售",
  25253. "type": "integer"
  25254. },
  25255. "convertratio": {
  25256. "description": "折算系数(套保品种)",
  25257. "type": "number"
  25258. },
  25259. "deliverygoodscode": {
  25260. "description": "现货商品代码",
  25261. "type": "string"
  25262. },
  25263. "deliverygoodsid": {
  25264. "description": "现货商品id",
  25265. "type": "integer"
  25266. },
  25267. "deliverygoodsname": {
  25268. "description": "现货商吕名称",
  25269. "type": "string"
  25270. },
  25271. "dgunitid": {
  25272. "description": "现货商品单位id",
  25273. "type": "integer"
  25274. },
  25275. "dgunitidname": {
  25276. "description": "单位名称(现货商品)",
  25277. "type": "string"
  25278. },
  25279. "diffqty": {
  25280. "description": "套保品种今变动量",
  25281. "type": "number"
  25282. },
  25283. "enumdicname": {
  25284. "description": "单位名称(品类)",
  25285. "type": "string"
  25286. },
  25287. "hedgeplanid": {
  25288. "description": "套保计划id",
  25289. "type": "string"
  25290. },
  25291. "hedgeplanno": {
  25292. "description": "套保计划名称",
  25293. "type": "string"
  25294. },
  25295. "hedgeplanstatus": {
  25296. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25297. "type": "integer"
  25298. },
  25299. "mgunitidname": {
  25300. "description": "单位名称(套保商品)",
  25301. "type": "string"
  25302. },
  25303. "middlegoodscode": {
  25304. "description": "套保品种代码",
  25305. "type": "string"
  25306. },
  25307. "middlegoodsid": {
  25308. "description": "套保品种id",
  25309. "type": "integer"
  25310. },
  25311. "middlegoodsname": {
  25312. "description": "套保品种名称",
  25313. "type": "string"
  25314. },
  25315. "needarbitrageratio": {
  25316. "description": "应套利比例",
  25317. "type": "number"
  25318. },
  25319. "needhedgeratio": {
  25320. "description": "应套保比例",
  25321. "type": "number"
  25322. },
  25323. "pricedqty": {
  25324. "description": "已定价量",
  25325. "type": "number"
  25326. },
  25327. "qty": {
  25328. "description": "合同量",
  25329. "type": "number"
  25330. },
  25331. "reckondate": {
  25332. "description": "交易日(reckondate)",
  25333. "type": "string"
  25334. },
  25335. "tradedate": {
  25336. "description": "交易日(登记日)",
  25337. "type": "string"
  25338. },
  25339. "unitid": {
  25340. "description": "品类单位id",
  25341. "type": "integer"
  25342. },
  25343. "userid": {
  25344. "description": "机构id",
  25345. "type": "integer"
  25346. },
  25347. "wrstandardcode": {
  25348. "description": "品类代码",
  25349. "type": "string"
  25350. },
  25351. "wrstandardid": {
  25352. "description": "品类id",
  25353. "type": "integer"
  25354. },
  25355. "wrstandardname": {
  25356. "description": "品类名称",
  25357. "type": "string"
  25358. }
  25359. }
  25360. },
  25361. "models.Ermcp3ExposureParamChLog": {
  25362. "type": "object",
  25363. "properties": {
  25364. "accountid": {
  25365. "description": "期货账户ID (作废, 默认为0)",
  25366. "type": "integer"
  25367. },
  25368. "aftervalue": {
  25369. "description": "应套保\\套利量变更后(调整后应套保总量)",
  25370. "type": "number"
  25371. },
  25372. "areauserid": {
  25373. "description": "所属机构\\交易用户ID",
  25374. "type": "integer"
  25375. },
  25376. "beforevalue": {
  25377. "description": "应套保\\套利量变更前(调整前应套保总量)",
  25378. "type": "number"
  25379. },
  25380. "begindate": {
  25381. "description": "开始交易日",
  25382. "type": "string"
  25383. },
  25384. "changelogtype": {
  25385. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  25386. "type": "integer"
  25387. },
  25388. "curvalue": {
  25389. "description": "当前套保\\套利量(套保总量|套利总量)",
  25390. "type": "number"
  25391. },
  25392. "diffvalue": {
  25393. "description": "应套保总量变化量",
  25394. "type": "number"
  25395. },
  25396. "enddate": {
  25397. "description": "结束交易日",
  25398. "type": "string"
  25399. },
  25400. "logdatetime": {
  25401. "description": "流水日期",
  25402. "type": "string"
  25403. },
  25404. "logid": {
  25405. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  25406. "type": "string"
  25407. },
  25408. "middlegoodscode": {
  25409. "description": "套保品种代码",
  25410. "type": "string"
  25411. },
  25412. "middlegoodsid": {
  25413. "description": "套保品种",
  25414. "type": "integer"
  25415. },
  25416. "middlegoodsname": {
  25417. "description": "套保品种名称",
  25418. "type": "string"
  25419. },
  25420. "paramaftervalue": {
  25421. "description": "参数变更后(调整后参数值)",
  25422. "type": "number"
  25423. },
  25424. "parambeforevalue": {
  25425. "description": "参数变更前(调整前参数值)",
  25426. "type": "number"
  25427. },
  25428. "reckondate": {
  25429. "description": "交易日(reckondate)",
  25430. "type": "string"
  25431. },
  25432. "tradedate": {
  25433. "description": "交易日(yyyyMMdd)",
  25434. "type": "string"
  25435. }
  25436. }
  25437. },
  25438. "models.Ermcp3ExpourseReport": {
  25439. "type": "object",
  25440. "properties": {
  25441. "accountid": {
  25442. "description": "期货账户ID (作废, 默认为0)",
  25443. "type": "integer"
  25444. },
  25445. "accountname": {
  25446. "description": "机构名称",
  25447. "type": "string"
  25448. },
  25449. "arbitrageqty": {
  25450. "description": "套利量",
  25451. "type": "number"
  25452. },
  25453. "areauserid": {
  25454. "description": "所属机构\\交易用户ID",
  25455. "type": "integer"
  25456. },
  25457. "begindate": {
  25458. "description": "开始交易日",
  25459. "type": "string"
  25460. },
  25461. "buyfutureqty": {
  25462. "description": "买入期货数量",
  25463. "type": "number"
  25464. },
  25465. "buyplanqty": {
  25466. "description": "采购计划数量",
  25467. "type": "number"
  25468. },
  25469. "buypricedqty": {
  25470. "description": "采购合同已定价数量",
  25471. "type": "number"
  25472. },
  25473. "cycletime": {
  25474. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25475. "type": "string"
  25476. },
  25477. "cycletype": {
  25478. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25479. "type": "integer"
  25480. },
  25481. "diffexposure": {
  25482. "description": "变动量(套保敞口)",
  25483. "type": "number"
  25484. },
  25485. "difffutuqty": {
  25486. "description": "变动量(期货)",
  25487. "type": "number"
  25488. },
  25489. "diffhedgeqty": {
  25490. "description": "变动量(现货应套保总量)",
  25491. "type": "number"
  25492. },
  25493. "diffmgqtya": {
  25494. "description": "套保变动量",
  25495. "type": "number"
  25496. },
  25497. "diffmgqtyb": {
  25498. "description": "套利变动量",
  25499. "type": "number"
  25500. },
  25501. "diffneedqty": {
  25502. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  25503. "type": "number"
  25504. },
  25505. "diffqty": {
  25506. "description": "变动量(总敞口)",
  25507. "type": "number"
  25508. },
  25509. "diffspotqty": {
  25510. "description": "变动量(现货) | 除税变动量",
  25511. "type": "number"
  25512. },
  25513. "enddate": {
  25514. "description": "结束交易日",
  25515. "type": "string"
  25516. },
  25517. "enumdicname": {
  25518. "description": "单位名称",
  25519. "type": "string"
  25520. },
  25521. "hedgeqty": {
  25522. "description": "套保量",
  25523. "type": "number"
  25524. },
  25525. "mgneedhedgeratio": {
  25526. "description": "套保比例(套保品的)",
  25527. "type": "number"
  25528. },
  25529. "middlegoodsid": {
  25530. "description": "套保品种ID",
  25531. "type": "integer"
  25532. },
  25533. "middlegoodsname": {
  25534. "description": "套保商品名称",
  25535. "type": "string"
  25536. },
  25537. "middlgoodscode": {
  25538. "description": "套保商品代码",
  25539. "type": "string"
  25540. },
  25541. "needarbitrageqty": {
  25542. "description": "应套利量",
  25543. "type": "number"
  25544. },
  25545. "needarbitrageratio": {
  25546. "description": "套利比例(套保品的)",
  25547. "type": "number"
  25548. },
  25549. "needhedgeexposoure": {
  25550. "description": "应套保敞口(套保敞口)",
  25551. "type": "number"
  25552. },
  25553. "needhedgeqty": {
  25554. "description": "应套保量",
  25555. "type": "number"
  25556. },
  25557. "needhedgeratio": {
  25558. "description": "应套保敞口比例",
  25559. "type": "number"
  25560. },
  25561. "needqty": {
  25562. "description": "应套总量 = 应套保量 + 应套利量",
  25563. "type": "number"
  25564. },
  25565. "oriarbitrageqty": {
  25566. "description": "期初套利量",
  25567. "type": "number"
  25568. },
  25569. "oribuyfutureqty": {
  25570. "description": "期初买入期货数量",
  25571. "type": "number"
  25572. },
  25573. "oribuyplanqty": {
  25574. "description": "期初采购计划数量",
  25575. "type": "number"
  25576. },
  25577. "oribuypricedqty": {
  25578. "description": "期初采购合同已定价数量",
  25579. "type": "number"
  25580. },
  25581. "orihedgeqty": {
  25582. "description": "期初套保量",
  25583. "type": "number"
  25584. },
  25585. "orineedarbitrageqty": {
  25586. "description": "期初应套利量",
  25587. "type": "number"
  25588. },
  25589. "orineedhedgeexposoure": {
  25590. "description": "期初应套保敞口",
  25591. "type": "number"
  25592. },
  25593. "orineedhedgeqty": {
  25594. "description": "期初应套保量",
  25595. "type": "number"
  25596. },
  25597. "orisellfutureqty": {
  25598. "description": "期初卖出期货数量",
  25599. "type": "number"
  25600. },
  25601. "orisellplanqty": {
  25602. "description": "期初销售计划数量",
  25603. "type": "number"
  25604. },
  25605. "orisellpricedqty": {
  25606. "description": "期初销售合同已定价数量",
  25607. "type": "number"
  25608. },
  25609. "oritotalexposure": {
  25610. "description": "期初实时总敞口",
  25611. "type": "number"
  25612. },
  25613. "oritotalfutureqty": {
  25614. "description": "期初期货头寸总量",
  25615. "type": "number"
  25616. },
  25617. "oritotalneedhedgeqty": {
  25618. "description": "期初应套保总量",
  25619. "type": "number"
  25620. },
  25621. "oritotalspotqty": {
  25622. "description": "期初现货头寸总量",
  25623. "type": "number"
  25624. },
  25625. "reckondate": {
  25626. "description": "日照时期(yyyyMMdd)",
  25627. "type": "string"
  25628. },
  25629. "sellfutureqty": {
  25630. "description": "卖出期货数量",
  25631. "type": "number"
  25632. },
  25633. "sellplanqty": {
  25634. "description": "销售计划数量",
  25635. "type": "number"
  25636. },
  25637. "sellpricedqty": {
  25638. "description": "销售合同已定价数量",
  25639. "type": "number"
  25640. },
  25641. "totalexposure": {
  25642. "description": "实时总敞口(总敞口)",
  25643. "type": "number"
  25644. },
  25645. "totalfutureqty": {
  25646. "description": "期货头寸总量(期货总量)",
  25647. "type": "number"
  25648. },
  25649. "totalhedgeratio": {
  25650. "description": "敞口比例",
  25651. "type": "number"
  25652. },
  25653. "totalneedhedgeqty": {
  25654. "description": "应套保总量(现货应套保总量)",
  25655. "type": "number"
  25656. },
  25657. "totalspotqty": {
  25658. "description": "现货头寸总量 | 除税总量",
  25659. "type": "number"
  25660. },
  25661. "unitid": {
  25662. "description": "单位id",
  25663. "type": "integer"
  25664. },
  25665. "updatetime": {
  25666. "description": "更新时间",
  25667. "type": "string"
  25668. }
  25669. }
  25670. },
  25671. "models.Ermcp3FinanceReport": {
  25672. "type": "object",
  25673. "properties": {
  25674. "accountname": {
  25675. "description": "机构名称",
  25676. "type": "string"
  25677. },
  25678. "areauserid": {
  25679. "description": "所属机构\\交易用户ID",
  25680. "type": "integer"
  25681. },
  25682. "begindate": {
  25683. "description": "开始交易日",
  25684. "type": "string"
  25685. },
  25686. "biztype": {
  25687. "description": "业务类型 - 1:套保 2:套利",
  25688. "type": "integer"
  25689. },
  25690. "brandname": {
  25691. "description": "品牌名称",
  25692. "type": "string"
  25693. },
  25694. "buypreinvoicedamount": {
  25695. "description": "采购预收票额(预收票额)",
  25696. "type": "number"
  25697. },
  25698. "buyprepaidamount": {
  25699. "description": "采购预付款额(预付货款额)",
  25700. "type": "number"
  25701. },
  25702. "buytodayinvoiceamount": {
  25703. "description": "采购今收票额(今收票额)",
  25704. "type": "number"
  25705. },
  25706. "buytodayrefundamount": {
  25707. "description": "采购今收退款额(今收退款额)",
  25708. "type": "number"
  25709. },
  25710. "buytodaysettleamount": {
  25711. "description": "采购今付款额(今付货款额)",
  25712. "type": "number"
  25713. },
  25714. "buyuninvoicedamount": {
  25715. "description": "采购应收票额(应收票额)",
  25716. "type": "number"
  25717. },
  25718. "buyunpaidamount": {
  25719. "description": "采购应付款额(应付货款额)",
  25720. "type": "number"
  25721. },
  25722. "currencyid": {
  25723. "description": "结算币种ID",
  25724. "type": "integer"
  25725. },
  25726. "currencyname": {
  25727. "description": "币种名称",
  25728. "type": "string"
  25729. },
  25730. "cycletime": {
  25731. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25732. "type": "string"
  25733. },
  25734. "cycletype": {
  25735. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25736. "type": "integer"
  25737. },
  25738. "deliverygoodscode": {
  25739. "description": "现货品种代码",
  25740. "type": "string"
  25741. },
  25742. "deliverygoodsid": {
  25743. "description": "现货品种ID",
  25744. "type": "integer"
  25745. },
  25746. "deliverygoodsname": {
  25747. "description": "现货品种名称",
  25748. "type": "string"
  25749. },
  25750. "enddate": {
  25751. "description": "结束交易日",
  25752. "type": "string"
  25753. },
  25754. "reckondate": {
  25755. "description": "日照时期(yyyyMMdd)",
  25756. "type": "string"
  25757. },
  25758. "sellpreinvoicedamount": {
  25759. "description": "销售预开票额(预开票额)",
  25760. "type": "number"
  25761. },
  25762. "sellprepaidamount": {
  25763. "description": "销售预收款额(预收货款额)",
  25764. "type": "number"
  25765. },
  25766. "selltodayinvoiceamount": {
  25767. "description": "销售今开票额(今开票额)",
  25768. "type": "number"
  25769. },
  25770. "selltodayrefundamount": {
  25771. "description": "销售今付退款额(今付退款额)",
  25772. "type": "number"
  25773. },
  25774. "selltodaysettleamount": {
  25775. "description": "销售今收款额(今收货款额)",
  25776. "type": "number"
  25777. },
  25778. "selluninvoicedamount": {
  25779. "description": "销售应开票额(应开票额)",
  25780. "type": "number"
  25781. },
  25782. "sellunpaidamount": {
  25783. "description": "销售应收款额(应收货款额)",
  25784. "type": "number"
  25785. },
  25786. "spotgoodsbrandid": {
  25787. "description": "现货品牌ID",
  25788. "type": "integer"
  25789. },
  25790. "todaypaysum": {
  25791. "description": "今付款合计",
  25792. "type": "number"
  25793. },
  25794. "todayreceivesum": {
  25795. "description": "今收款合计",
  25796. "type": "number"
  25797. },
  25798. "updatetime": {
  25799. "description": "更新时间",
  25800. "type": "string"
  25801. },
  25802. "wrfactortypeid": {
  25803. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25804. "type": "integer"
  25805. },
  25806. "wrstandardcode": {
  25807. "description": "品类代码",
  25808. "type": "string"
  25809. },
  25810. "wrstandardid": {
  25811. "description": "现货商品ID",
  25812. "type": "integer"
  25813. },
  25814. "wrstandardname": {
  25815. "description": "品类名称",
  25816. "type": "string"
  25817. }
  25818. }
  25819. },
  25820. "models.Ermcp3GoodsGroup": {
  25821. "type": "object",
  25822. "required": [
  25823. "areauserid"
  25824. ],
  25825. "properties": {
  25826. "agreeunit": {
  25827. "description": "合约单位",
  25828. "type": "number"
  25829. },
  25830. "areauserid": {
  25831. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  25832. "type": "integer"
  25833. },
  25834. "canshort": {
  25835. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25836. "type": "integer"
  25837. },
  25838. "closepricemode": {
  25839. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25840. "type": "integer"
  25841. },
  25842. "createtime": {
  25843. "description": "创建时间",
  25844. "type": "string"
  25845. },
  25846. "creatorid": {
  25847. "description": "创建人",
  25848. "type": "integer"
  25849. },
  25850. "currencyid": {
  25851. "description": "报价货币ID",
  25852. "type": "integer"
  25853. },
  25854. "decimalplace": {
  25855. "description": "报价小数位",
  25856. "type": "integer"
  25857. },
  25858. "enumdicname": {
  25859. "description": "单位名称",
  25860. "type": "string"
  25861. },
  25862. "exchangefullname": {
  25863. "description": "交易所全称",
  25864. "type": "string"
  25865. },
  25866. "excludecfg": {
  25867. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  25868. "type": "integer"
  25869. },
  25870. "exexchangecode": {
  25871. "description": "交易所代码",
  25872. "type": "string"
  25873. },
  25874. "exexchangeid": {
  25875. "description": "外部交易所ID[通道交易]",
  25876. "type": "integer"
  25877. },
  25878. "exexchangename": {
  25879. "description": "交易所名称",
  25880. "type": "string"
  25881. },
  25882. "goodsgroupid": {
  25883. "description": "商品组ID(自增ID)",
  25884. "type": "integer"
  25885. },
  25886. "goodsgroupname": {
  25887. "description": "商品组名称",
  25888. "type": "string"
  25889. },
  25890. "goodsgroupstatus": {
  25891. "description": "商品组状态 - 1:正常 2:注销",
  25892. "type": "integer"
  25893. },
  25894. "goodunitid": {
  25895. "description": "报价单位ID",
  25896. "type": "integer"
  25897. },
  25898. "groupcategroyid": {
  25899. "description": "品种分类ID",
  25900. "type": "integer"
  25901. },
  25902. "innerdealmode": {
  25903. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25904. "type": "integer"
  25905. },
  25906. "marketid": {
  25907. "description": "所属市场ID",
  25908. "type": "integer"
  25909. },
  25910. "modifierid": {
  25911. "description": "修改人",
  25912. "type": "integer"
  25913. },
  25914. "modifytime": {
  25915. "description": "修改时间",
  25916. "type": "string"
  25917. },
  25918. "outerdealmode": {
  25919. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25920. "type": "integer"
  25921. },
  25922. "outergroupcode": {
  25923. "description": "外部商品组代码[通道交易]",
  25924. "type": "string"
  25925. },
  25926. "quoteminunit": {
  25927. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25928. "type": "integer"
  25929. },
  25930. "quotesourcegroupid": {
  25931. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25932. "type": "integer"
  25933. },
  25934. "syncgoodsqty": {
  25935. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25936. "type": "integer"
  25937. }
  25938. }
  25939. },
  25940. "models.Ermcp3HPMiddleGoods": {
  25941. "type": "object",
  25942. "properties": {
  25943. "biztype": {
  25944. "description": "业务类型 1:套保 2:套利",
  25945. "type": "integer"
  25946. },
  25947. "contracttype": {
  25948. "description": "合同类型 1:采购 -1:销售",
  25949. "type": "integer"
  25950. },
  25951. "convertratio": {
  25952. "description": "折算系数",
  25953. "type": "number"
  25954. },
  25955. "customername": {
  25956. "description": "对手手名称",
  25957. "type": "string"
  25958. },
  25959. "customeruserid": {
  25960. "description": "对手id",
  25961. "type": "integer"
  25962. },
  25963. "enumdicname": {
  25964. "description": "现货单位名称",
  25965. "type": "string"
  25966. },
  25967. "hedgeplanid": {
  25968. "description": "计划id",
  25969. "type": "string"
  25970. },
  25971. "hedgeplanno": {
  25972. "description": "计划编号",
  25973. "type": "string"
  25974. },
  25975. "middlegoodsid": {
  25976. "description": "套保品种ID",
  25977. "type": "integer"
  25978. },
  25979. "middlegoodsplanqty3": {
  25980. "description": "应套保计划量",
  25981. "type": "number"
  25982. },
  25983. "needhedgeratio": {
  25984. "description": "套保比例",
  25985. "type": "number"
  25986. },
  25987. "pricedqty": {
  25988. "description": "已定价量",
  25989. "type": "number"
  25990. },
  25991. "relatedmiddlegoodsqty": {
  25992. "description": "已关联量(套保品种)(期货)",
  25993. "type": "number"
  25994. },
  25995. "unitid": {
  25996. "description": "现货单位id",
  25997. "type": "integer"
  25998. },
  25999. "userid": {
  26000. "description": "用户id",
  26001. "type": "integer"
  26002. },
  26003. "vatrate": {
  26004. "description": "增值税率",
  26005. "type": "number"
  26006. },
  26007. "wrstandardcode": {
  26008. "description": "现货商品代码",
  26009. "type": "string"
  26010. },
  26011. "wrstandardid": {
  26012. "description": "现货商品id",
  26013. "type": "integer"
  26014. },
  26015. "wrstandardname": {
  26016. "description": "现货商品名称",
  26017. "type": "string"
  26018. }
  26019. }
  26020. },
  26021. "models.Ermcp3HedgePlan": {
  26022. "type": "object",
  26023. "properties": {
  26024. "accountid": {
  26025. "description": "资金账号",
  26026. "type": "integer"
  26027. },
  26028. "areauserid": {
  26029. "description": "用户ID",
  26030. "type": "integer"
  26031. },
  26032. "auditid": {
  26033. "description": "审核id",
  26034. "type": "integer"
  26035. },
  26036. "auditname": {
  26037. "description": "审核人名称",
  26038. "type": "string"
  26039. },
  26040. "auditremark": {
  26041. "description": "审核备注",
  26042. "type": "string"
  26043. },
  26044. "auditsrc": {
  26045. "description": "审核来源 1-管理端 2-终端",
  26046. "type": "integer"
  26047. },
  26048. "audittime": {
  26049. "description": "审核时间",
  26050. "type": "string"
  26051. },
  26052. "contracttype": {
  26053. "description": "计划类型 - 1:采购 -1:销售",
  26054. "type": "integer"
  26055. },
  26056. "convertfactor": {
  26057. "description": "标仓系数",
  26058. "type": "number"
  26059. },
  26060. "createtime": {
  26061. "description": "创建时间",
  26062. "type": "string"
  26063. },
  26064. "currencyid": {
  26065. "description": "币种id",
  26066. "type": "integer"
  26067. },
  26068. "currencyname": {
  26069. "description": "币种名称",
  26070. "type": "string"
  26071. },
  26072. "deliverygoodscode": {
  26073. "description": "现货品种代码",
  26074. "type": "string"
  26075. },
  26076. "deliverygoodsid": {
  26077. "description": "现货品种ID",
  26078. "type": "integer"
  26079. },
  26080. "deliverygoodsname": {
  26081. "description": "现货品种名称",
  26082. "type": "string"
  26083. },
  26084. "enumdicname": {
  26085. "description": "单位名称(现货商品)",
  26086. "type": "string"
  26087. },
  26088. "hedgeplanid": {
  26089. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  26090. "type": "string"
  26091. },
  26092. "hedgeplanno": {
  26093. "description": "套保计划编号(名称)",
  26094. "type": "string"
  26095. },
  26096. "hedgeplanstatus": {
  26097. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26098. "type": "integer"
  26099. },
  26100. "planqty": {
  26101. "description": "计划数量",
  26102. "type": "number"
  26103. },
  26104. "plantime": {
  26105. "description": "计划时间",
  26106. "type": "string"
  26107. },
  26108. "producttype": {
  26109. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26110. "type": "integer"
  26111. },
  26112. "remark": {
  26113. "description": "备注",
  26114. "type": "string"
  26115. },
  26116. "spotgoodsdesc": {
  26117. "description": "商品型号",
  26118. "type": "string"
  26119. },
  26120. "taaccountname": {
  26121. "description": "资金账号名称",
  26122. "type": "string"
  26123. },
  26124. "tradeuserid": {
  26125. "description": "交易用户id",
  26126. "type": "integer"
  26127. },
  26128. "tradeusername": {
  26129. "description": "交易用户名称",
  26130. "type": "string"
  26131. },
  26132. "unitid": {
  26133. "description": "单位id(现货商品)",
  26134. "type": "integer"
  26135. },
  26136. "updatetime": {
  26137. "description": "更新时间",
  26138. "type": "string"
  26139. },
  26140. "vatrate": {
  26141. "description": "增值税率",
  26142. "type": "number"
  26143. },
  26144. "wrstandardcode": {
  26145. "description": "品类代码",
  26146. "type": "string"
  26147. },
  26148. "wrstandardid": {
  26149. "description": "品类id",
  26150. "type": "integer"
  26151. },
  26152. "wrstandardname": {
  26153. "description": "品类名称",
  26154. "type": "string"
  26155. },
  26156. "wrunitid": {
  26157. "description": "品类单位id",
  26158. "type": "integer"
  26159. },
  26160. "wrunitidame": {
  26161. "description": "品类单位名称",
  26162. "type": "string"
  26163. }
  26164. }
  26165. },
  26166. "models.Ermcp3InnerTradeLink": {
  26167. "type": "object",
  26168. "properties": {
  26169. "accountid": {
  26170. "description": "期货账号代码 | 资金账号ID",
  26171. "type": "integer"
  26172. },
  26173. "buyorsell": {
  26174. "description": "方向 - 0:买 1:卖",
  26175. "type": "integer"
  26176. },
  26177. "channelbuildtype": {
  26178. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26179. "type": "integer"
  26180. },
  26181. "currencyid": {
  26182. "description": "币种id",
  26183. "type": "integer"
  26184. },
  26185. "currencyname": {
  26186. "description": "结算币种 名称",
  26187. "type": "string"
  26188. },
  26189. "goodscode": {
  26190. "description": "商品代码",
  26191. "type": "string"
  26192. },
  26193. "goodsid": {
  26194. "description": "商品ID",
  26195. "type": "integer"
  26196. },
  26197. "goodsname": {
  26198. "description": "商品名称",
  26199. "type": "string"
  26200. },
  26201. "outtradeid": {
  26202. "description": "外部成交单号",
  26203. "type": "string"
  26204. },
  26205. "taname": {
  26206. "description": "期货账户名称",
  26207. "type": "string"
  26208. },
  26209. "tradeid": {
  26210. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26211. "type": "string"
  26212. },
  26213. "tradeprice": {
  26214. "description": "成交价格",
  26215. "type": "number"
  26216. },
  26217. "tradeqty": {
  26218. "description": "期货成交数量",
  26219. "type": "integer"
  26220. },
  26221. "tradetime": {
  26222. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  26223. "type": "string"
  26224. },
  26225. "username": {
  26226. "description": "用户名称",
  26227. "type": "string"
  26228. }
  26229. }
  26230. },
  26231. "models.Ermcp3OutTradeLink": {
  26232. "type": "object",
  26233. "properties": {
  26234. "buyorsell": {
  26235. "description": "买卖方向 - 0:买 1:卖",
  26236. "type": "integer"
  26237. },
  26238. "channelbuildtype": {
  26239. "description": "开平标志- 0:无 1:建仓 2:平仓",
  26240. "type": "integer"
  26241. },
  26242. "currencyname": {
  26243. "description": "币种名称",
  26244. "type": "string"
  26245. },
  26246. "exexchangecode": {
  26247. "description": "交易所代码",
  26248. "type": "string"
  26249. },
  26250. "exexchangename": {
  26251. "description": "交易所名称",
  26252. "type": "string"
  26253. },
  26254. "goodscode": {
  26255. "description": "合约代码",
  26256. "type": "string"
  26257. },
  26258. "goodsid": {
  26259. "description": "合约id",
  26260. "type": "integer"
  26261. },
  26262. "goodsname": {
  26263. "description": "合约名称",
  26264. "type": "string"
  26265. },
  26266. "hasinnerorder": {
  26267. "description": "是否有内部单关联 - 0:无 1:有",
  26268. "type": "integer"
  26269. },
  26270. "hedgeaccountcode": {
  26271. "description": "外部账号 | 对冲账号",
  26272. "type": "string"
  26273. },
  26274. "outtradeid": {
  26275. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26276. "type": "string"
  26277. },
  26278. "tradeprice": {
  26279. "description": "成交价格",
  26280. "type": "number"
  26281. },
  26282. "tradeqty": {
  26283. "description": "成交数量",
  26284. "type": "integer"
  26285. },
  26286. "tradetime": {
  26287. "description": "成交时间",
  26288. "type": "string"
  26289. }
  26290. }
  26291. },
  26292. "models.Ermcp3PaAreaAuditCfg": {
  26293. "type": "object",
  26294. "properties": {
  26295. "areauserid": {
  26296. "description": "用户ID",
  26297. "type": "integer"
  26298. },
  26299. "buyinauditflag": {
  26300. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  26301. "type": "integer"
  26302. },
  26303. "costratioauditflag": {
  26304. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  26305. "type": "integer"
  26306. },
  26307. "customerauditflag": {
  26308. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  26309. "type": "integer"
  26310. },
  26311. "deliveryauditflag": {
  26312. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  26313. "type": "integer"
  26314. },
  26315. "invoiceauditflag": {
  26316. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  26317. "type": "integer"
  26318. },
  26319. "mgneedhedgeratioauditflag": {
  26320. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  26321. "type": "integer"
  26322. },
  26323. "moneyauditflag": {
  26324. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  26325. "type": "integer"
  26326. },
  26327. "operatorid": {
  26328. "description": "操作人",
  26329. "type": "integer"
  26330. },
  26331. "operatorsrc": {
  26332. "description": "操作来源 - 1:管理端 2:终端",
  26333. "type": "integer"
  26334. },
  26335. "pointpriceauditflag": {
  26336. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  26337. "type": "integer"
  26338. },
  26339. "produceinauditflag": {
  26340. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  26341. "type": "integer"
  26342. },
  26343. "produceoutauditflag": {
  26344. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  26345. "type": "integer"
  26346. },
  26347. "selloutauditflag": {
  26348. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  26349. "type": "integer"
  26350. },
  26351. "sgconvertratioauditflag": {
  26352. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  26353. "type": "integer"
  26354. },
  26355. "sgvtaratioauditflag": {
  26356. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  26357. "type": "integer"
  26358. },
  26359. "spotcontractauditflag": {
  26360. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  26361. "type": "integer"
  26362. },
  26363. "updatetime": {
  26364. "description": "更新时间",
  26365. "type": "string"
  26366. }
  26367. }
  26368. },
  26369. "models.Ermcp3PaAreaSubject": {
  26370. "type": "object",
  26371. "properties": {
  26372. "areauserid": {
  26373. "description": "所属机构",
  26374. "type": "integer"
  26375. },
  26376. "canmodify": {
  26377. "description": "是否可修改 - 0:否 1:是",
  26378. "type": "integer"
  26379. },
  26380. "createtime": {
  26381. "description": "创建时间",
  26382. "type": "string"
  26383. },
  26384. "creatorid": {
  26385. "description": "创建人ID",
  26386. "type": "string"
  26387. },
  26388. "creatorsrc": {
  26389. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26390. "type": "integer"
  26391. },
  26392. "modifierid": {
  26393. "description": "修改人",
  26394. "type": "string"
  26395. },
  26396. "modifiersrc": {
  26397. "description": "修改人来源 - 1:管理端 2:终端",
  26398. "type": "integer"
  26399. },
  26400. "modifytime": {
  26401. "description": "修改时间",
  26402. "type": "string"
  26403. },
  26404. "parentsubjectid": {
  26405. "description": "上级主体ID",
  26406. "type": "string"
  26407. },
  26408. "remark": {
  26409. "description": "备注",
  26410. "type": "string"
  26411. },
  26412. "subjectid": {
  26413. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  26414. "type": "integer"
  26415. },
  26416. "subjectname": {
  26417. "description": "主体名称",
  26418. "type": "string"
  26419. },
  26420. "subjectstatus": {
  26421. "description": "主体状态 - 1:正常 2: 停用",
  26422. "type": "integer"
  26423. },
  26424. "subjecttype": {
  26425. "description": "主体类型 - 1:交易主体 2:业务部门",
  26426. "type": "integer"
  26427. }
  26428. }
  26429. },
  26430. "models.Ermcp3PaTradeLink": {
  26431. "type": "object",
  26432. "properties": {
  26433. "accountid": {
  26434. "description": "期货账户代码 | 账号ID",
  26435. "type": "integer"
  26436. },
  26437. "agreeunit": {
  26438. "description": "合约乘数",
  26439. "type": "number"
  26440. },
  26441. "buyorsell": {
  26442. "description": "方向 - 0:买 1:卖",
  26443. "type": "integer"
  26444. },
  26445. "channelbuildtype": {
  26446. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26447. "type": "integer"
  26448. },
  26449. "charge": {
  26450. "description": "手续费",
  26451. "type": "number"
  26452. },
  26453. "closepl": {
  26454. "description": "平仓盈亏",
  26455. "type": "number"
  26456. },
  26457. "closetype": {
  26458. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26459. "type": "integer"
  26460. },
  26461. "convertratio": {
  26462. "description": "折算系数",
  26463. "type": "number"
  26464. },
  26465. "enumdicname": {
  26466. "description": "单位名称",
  26467. "type": "string"
  26468. },
  26469. "executeprice": {
  26470. "description": "执行价 [期权]",
  26471. "type": "integer"
  26472. },
  26473. "goodscode": {
  26474. "description": "合约代码",
  26475. "type": "string"
  26476. },
  26477. "goodsgroupid": {
  26478. "description": "对冲品种ID[期货合约商品组ID]",
  26479. "type": "integer"
  26480. },
  26481. "goodsid": {
  26482. "description": "商品ID",
  26483. "type": "integer"
  26484. },
  26485. "goodsname": {
  26486. "description": "合约名称",
  26487. "type": "string"
  26488. },
  26489. "goodunitid": {
  26490. "description": "单位id",
  26491. "type": "integer"
  26492. },
  26493. "hedgeflag": {
  26494. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26495. "type": "integer"
  26496. },
  26497. "marketid": {
  26498. "description": "市场ID",
  26499. "type": "integer"
  26500. },
  26501. "middlegoodsid": {
  26502. "description": "套保品种ID",
  26503. "type": "integer"
  26504. },
  26505. "middlegoodsqty": {
  26506. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26507. "type": "number"
  26508. },
  26509. "optioncode": {
  26510. "description": "期权代码 [期权]",
  26511. "type": "string"
  26512. },
  26513. "ordertype": {
  26514. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  26515. "type": "integer"
  26516. },
  26517. "ordertypename": {
  26518. "description": "订单类型",
  26519. "type": "string"
  26520. },
  26521. "parentaccountid": {
  26522. "description": "所属母账户",
  26523. "type": "integer"
  26524. },
  26525. "premium": {
  26526. "description": "权利金 [期权]",
  26527. "type": "number"
  26528. },
  26529. "relatedlot": {
  26530. "description": "已关联数量(已关联数量手) | db:关联手数",
  26531. "type": "number"
  26532. },
  26533. "relatedouttradeid": {
  26534. "description": "关联外部成交单ID",
  26535. "type": "string"
  26536. },
  26537. "relatedqty": {
  26538. "description": "关联数量",
  26539. "type": "number"
  26540. },
  26541. "spotcontractid": {
  26542. "description": "现货合同ID [4:套期保值\\10\\11]",
  26543. "type": "string"
  26544. },
  26545. "taname": {
  26546. "description": "期货账户名称",
  26547. "type": "string"
  26548. },
  26549. "tradeamount": {
  26550. "description": "成交金额(账户)",
  26551. "type": "number"
  26552. },
  26553. "tradedate": {
  26554. "description": "交易日(yyyyMMdd)",
  26555. "type": "string"
  26556. },
  26557. "tradeid": {
  26558. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26559. "type": "string"
  26560. },
  26561. "tradelot": {
  26562. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  26563. "type": "integer"
  26564. },
  26565. "tradeprice": {
  26566. "description": "成交价格",
  26567. "type": "number"
  26568. },
  26569. "tradetime": {
  26570. "description": "时间 | db:成交时间",
  26571. "type": "string"
  26572. },
  26573. "tradetype": {
  26574. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26575. "type": "integer"
  26576. },
  26577. "userid": {
  26578. "description": "所属机构 - 所属母账户的UserID",
  26579. "type": "string"
  26580. },
  26581. "username": {
  26582. "description": "用户名称",
  26583. "type": "string"
  26584. }
  26585. }
  26586. },
  26587. "models.Ermcp3ParamChangeApp": {
  26588. "type": "object",
  26589. "properties": {
  26590. "aftervalue": {
  26591. "description": "变更后",
  26592. "type": "number"
  26593. },
  26594. "applicationid": {
  26595. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  26596. "type": "string"
  26597. },
  26598. "applyid": {
  26599. "description": "申请人",
  26600. "type": "string"
  26601. },
  26602. "applyname": {
  26603. "description": "申请人名称(代码)",
  26604. "type": "string"
  26605. },
  26606. "applyremark": {
  26607. "description": "申请备注",
  26608. "type": "string"
  26609. },
  26610. "applysrc": {
  26611. "description": "申请来源 - 1:管理端 2:终端",
  26612. "type": "integer"
  26613. },
  26614. "applystatus": {
  26615. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26616. "type": "integer"
  26617. },
  26618. "applytime": {
  26619. "description": "申请时间",
  26620. "type": "string"
  26621. },
  26622. "areauserid": {
  26623. "description": "所属机构用户ID",
  26624. "type": "integer"
  26625. },
  26626. "auditid": {
  26627. "description": "审核人",
  26628. "type": "string"
  26629. },
  26630. "auditname": {
  26631. "description": "审核人名称(代码)",
  26632. "type": "string"
  26633. },
  26634. "auditremark": {
  26635. "description": "审核备注",
  26636. "type": "string"
  26637. },
  26638. "auditsrc": {
  26639. "description": "审核来源 - 1:管理端 2:终端",
  26640. "type": "integer"
  26641. },
  26642. "audittime": {
  26643. "description": "审核时间",
  26644. "type": "string"
  26645. },
  26646. "audittradedate": {
  26647. "description": "审核交易日(yyyyMMdd)",
  26648. "type": "string"
  26649. },
  26650. "beforevalue": {
  26651. "description": "变更前",
  26652. "type": "number"
  26653. },
  26654. "deliverygoodscode": {
  26655. "description": "品种代码",
  26656. "type": "string"
  26657. },
  26658. "deliverygoodsid": {
  26659. "description": "品种id",
  26660. "type": "integer"
  26661. },
  26662. "deliverygoodsname": {
  26663. "description": "品种名称",
  26664. "type": "string"
  26665. },
  26666. "middlegoodscode": {
  26667. "description": "套保品种代码",
  26668. "type": "string"
  26669. },
  26670. "middlegoodsid": {
  26671. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  26672. "type": "integer"
  26673. },
  26674. "middlegoodsname": {
  26675. "description": "套保品种名称",
  26676. "type": "string"
  26677. },
  26678. "operatetype": {
  26679. "description": "操作类型 - 1:新增 2:修改",
  26680. "type": "integer"
  26681. },
  26682. "paramchangetype": {
  26683. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  26684. "type": "integer"
  26685. },
  26686. "wrstandardcode": {
  26687. "description": "现货商品代码",
  26688. "type": "string"
  26689. },
  26690. "wrstandardid": {
  26691. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  26692. "type": "integer"
  26693. },
  26694. "wrstandardname": {
  26695. "description": "现货商品名称",
  26696. "type": "string"
  26697. }
  26698. }
  26699. },
  26700. "models.Ermcp3RootUserAccount": {
  26701. "type": "object",
  26702. "properties": {
  26703. "accountname": {
  26704. "description": "账户名称(机构名称)",
  26705. "type": "string"
  26706. },
  26707. "accountstatus": {
  26708. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26709. "type": "integer"
  26710. },
  26711. "applysrc": {
  26712. "description": "申请来源 - 1:管理端 2:终端",
  26713. "type": "integer"
  26714. },
  26715. "auditremark": {
  26716. "description": "审核备注",
  26717. "type": "string"
  26718. },
  26719. "auditsrc": {
  26720. "description": "审核来源 - 1:管理端 2:终端",
  26721. "type": "integer"
  26722. },
  26723. "audittime": {
  26724. "description": "审核时间",
  26725. "type": "string"
  26726. },
  26727. "audituserid": {
  26728. "description": "审核人",
  26729. "type": "integer"
  26730. },
  26731. "broker": {
  26732. "description": "所属经纪人ID",
  26733. "type": "integer"
  26734. },
  26735. "canceltime": {
  26736. "description": "销户时间",
  26737. "type": "string"
  26738. },
  26739. "canceluserid": {
  26740. "description": "销户人",
  26741. "type": "integer"
  26742. },
  26743. "canrecommend": {
  26744. "description": "是否可推荐 - 0:不可 1;可",
  26745. "type": "integer"
  26746. },
  26747. "createtime": {
  26748. "description": "创建时间",
  26749. "type": "string"
  26750. },
  26751. "creatorid": {
  26752. "description": "创建人",
  26753. "type": "integer"
  26754. },
  26755. "hasauth": {
  26756. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26757. "type": "integer"
  26758. },
  26759. "isanonymous": {
  26760. "description": "是否匿名下单 - 0:否 1:是",
  26761. "type": "integer"
  26762. },
  26763. "maxinvestornum": {
  26764. "description": "最大用户数(经纪会员下投资者个数)",
  26765. "type": "integer"
  26766. },
  26767. "memberuserid": {
  26768. "description": "所属会员ID",
  26769. "type": "integer"
  26770. },
  26771. "modifierid": {
  26772. "description": "修改人",
  26773. "type": "integer"
  26774. },
  26775. "modifyremark": {
  26776. "description": "变更备注",
  26777. "type": "string"
  26778. },
  26779. "modifystatus": {
  26780. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26781. "type": "integer"
  26782. },
  26783. "modifytime": {
  26784. "description": "修改时间",
  26785. "type": "string"
  26786. },
  26787. "nickname": {
  26788. "description": "昵称",
  26789. "type": "string"
  26790. },
  26791. "parenttopuser": {
  26792. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26793. "type": "string"
  26794. },
  26795. "parentuserid": {
  26796. "description": "所属机构ID",
  26797. "type": "integer"
  26798. },
  26799. "reckonaccountid": {
  26800. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26801. "type": "integer"
  26802. },
  26803. "refercount": {
  26804. "description": "推荐总人数",
  26805. "type": "integer"
  26806. },
  26807. "refereeuserid": {
  26808. "description": "推荐人ID",
  26809. "type": "integer"
  26810. },
  26811. "refernum": {
  26812. "description": "推荐码",
  26813. "type": "string"
  26814. },
  26815. "rootuserid": {
  26816. "description": "根用户ID",
  26817. "type": "integer"
  26818. },
  26819. "subaccountlevel": {
  26820. "description": "子账户层数",
  26821. "type": "integer"
  26822. },
  26823. "subarealevelpath": {
  26824. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26825. "type": "string"
  26826. },
  26827. "userid": {
  26828. "description": "用户ID",
  26829. "type": "integer"
  26830. },
  26831. "usertype": {
  26832. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26833. "type": "integer"
  26834. }
  26835. }
  26836. },
  26837. "models.Ermcp3SCMiddleGoods": {
  26838. "type": "object",
  26839. "properties": {
  26840. "biztype": {
  26841. "description": "业务类型 1:套保 2:套利",
  26842. "type": "integer"
  26843. },
  26844. "contractno": {
  26845. "description": "合同编号",
  26846. "type": "string"
  26847. },
  26848. "contracttype": {
  26849. "description": "合同类型 1:采购 -1:销售",
  26850. "type": "integer"
  26851. },
  26852. "convertratio": {
  26853. "description": "折算系数",
  26854. "type": "number"
  26855. },
  26856. "customername": {
  26857. "description": "对手手名称",
  26858. "type": "string"
  26859. },
  26860. "customeruserid": {
  26861. "description": "对手id",
  26862. "type": "integer"
  26863. },
  26864. "deliverygoodscode": {
  26865. "description": "现货品种代码",
  26866. "type": "string"
  26867. },
  26868. "deliverygoodsid": {
  26869. "description": "现货品种ID",
  26870. "type": "integer"
  26871. },
  26872. "deliverygoodsname": {
  26873. "description": "现货品种名称",
  26874. "type": "string"
  26875. },
  26876. "enumdicname": {
  26877. "description": "现货单位名称",
  26878. "type": "string"
  26879. },
  26880. "middlegoodsid": {
  26881. "description": "套保品种ID",
  26882. "type": "integer"
  26883. },
  26884. "middlegoodspricedqty3": {
  26885. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  26886. "type": "number"
  26887. },
  26888. "needhedgeratio": {
  26889. "description": "套保比例",
  26890. "type": "number"
  26891. },
  26892. "pricedqty": {
  26893. "description": "已定价量",
  26894. "type": "number"
  26895. },
  26896. "relatedmiddlegoodsqty": {
  26897. "description": "已关联量(套保品种)(期货)",
  26898. "type": "number"
  26899. },
  26900. "spotcontractid": {
  26901. "description": "合同编号",
  26902. "type": "string"
  26903. },
  26904. "unitid": {
  26905. "description": "现货单位id",
  26906. "type": "integer"
  26907. },
  26908. "userid": {
  26909. "description": "用户id",
  26910. "type": "integer"
  26911. },
  26912. "vatrate": {
  26913. "description": "增值税率",
  26914. "type": "number"
  26915. },
  26916. "wrstandardcode": {
  26917. "description": "现货商品代码",
  26918. "type": "string"
  26919. },
  26920. "wrstandardid": {
  26921. "description": "现货商品id",
  26922. "type": "integer"
  26923. },
  26924. "wrstandardname": {
  26925. "description": "现货商品名称",
  26926. "type": "string"
  26927. }
  26928. }
  26929. },
  26930. "models.Ermcp3SCMiddleGoodsReport": {
  26931. "type": "object",
  26932. "properties": {
  26933. "begindate": {
  26934. "description": "开始交易日",
  26935. "type": "string"
  26936. },
  26937. "contractno": {
  26938. "description": "合同编号",
  26939. "type": "string"
  26940. },
  26941. "contracttype": {
  26942. "description": "合同类型 1:采购 -1:销售",
  26943. "type": "integer"
  26944. },
  26945. "convertratio": {
  26946. "description": "期初均价",
  26947. "type": "number"
  26948. },
  26949. "cycletime": {
  26950. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26951. "type": "string"
  26952. },
  26953. "cycletype": {
  26954. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26955. "type": "integer"
  26956. },
  26957. "deliverygoodscode": {
  26958. "description": "品种代码",
  26959. "type": "string"
  26960. },
  26961. "deliverygoodsid": {
  26962. "description": "现货品种ID",
  26963. "type": "integer"
  26964. },
  26965. "deliverygoodsname": {
  26966. "description": "品种名称",
  26967. "type": "string"
  26968. },
  26969. "diffprice": {
  26970. "description": "期初均价",
  26971. "type": "number"
  26972. },
  26973. "diffqty": {
  26974. "description": "期初均价",
  26975. "type": "number"
  26976. },
  26977. "enddate": {
  26978. "description": "结束交易日",
  26979. "type": "string"
  26980. },
  26981. "hedgeplanqty": {
  26982. "description": "期初均价",
  26983. "type": "number"
  26984. },
  26985. "matchname": {
  26986. "description": "交易对手方(个人:用户名称 企业:简称)",
  26987. "type": "string"
  26988. },
  26989. "matchnickname": {
  26990. "description": "交易对手方昵称",
  26991. "type": "string"
  26992. },
  26993. "middlegoodscode": {
  26994. "description": "套保品种代码",
  26995. "type": "string"
  26996. },
  26997. "middlegoodsid": {
  26998. "description": "套保品种ID",
  26999. "type": "integer"
  27000. },
  27001. "middlegoodsname": {
  27002. "description": "套保品种名称",
  27003. "type": "string"
  27004. },
  27005. "middlegoodspricedqty": {
  27006. "description": "期初均价",
  27007. "type": "number"
  27008. },
  27009. "middlegoodspricedqty2": {
  27010. "description": "期初均价",
  27011. "type": "number"
  27012. },
  27013. "middlegoodspricedqty3": {
  27014. "description": "期初均价",
  27015. "type": "number"
  27016. },
  27017. "needhedgeratio": {
  27018. "description": "期初均价",
  27019. "type": "number"
  27020. },
  27021. "pricedamount": {
  27022. "description": "期初均价",
  27023. "type": "number"
  27024. },
  27025. "pricedamount2": {
  27026. "description": "期初均价",
  27027. "type": "number"
  27028. },
  27029. "pricedqty": {
  27030. "description": "期初均价",
  27031. "type": "number"
  27032. },
  27033. "reckondate": {
  27034. "description": "日照时期(yyyyMMdd)",
  27035. "type": "string"
  27036. },
  27037. "relatedmiddlegoodsamount": {
  27038. "description": "期初均价",
  27039. "type": "number"
  27040. },
  27041. "relatedmiddlegoodsqty": {
  27042. "description": "期初均价",
  27043. "type": "number"
  27044. },
  27045. "spotcontractid": {
  27046. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27047. "type": "string"
  27048. },
  27049. "todayavgfutuprice": {
  27050. "description": "期初均价",
  27051. "type": "number"
  27052. },
  27053. "todayavgprice": {
  27054. "description": "期初均价",
  27055. "type": "number"
  27056. },
  27057. "todayavgprice2": {
  27058. "description": "期初均价",
  27059. "type": "number"
  27060. },
  27061. "todaypricedamount": {
  27062. "description": "期初均价",
  27063. "type": "number"
  27064. },
  27065. "todaypricedamount2": {
  27066. "description": "期初均价",
  27067. "type": "number"
  27068. },
  27069. "todaypricedqty": {
  27070. "description": "期初均价",
  27071. "type": "number"
  27072. },
  27073. "todayrelatedfutureqty": {
  27074. "description": "期初均价",
  27075. "type": "number"
  27076. },
  27077. "todayrelatedmiddlegoodsamount": {
  27078. "description": "期初均价",
  27079. "type": "number"
  27080. },
  27081. "todayrelatedmiddlegoodsqty": {
  27082. "description": "期初均价",
  27083. "type": "number"
  27084. },
  27085. "updatetime": {
  27086. "description": "更新时间",
  27087. "type": "string"
  27088. },
  27089. "userid": {
  27090. "description": "合同所属用户id",
  27091. "type": "integer"
  27092. },
  27093. "vatrate": {
  27094. "description": "期初均价",
  27095. "type": "number"
  27096. },
  27097. "wrstandardcode": {
  27098. "description": "商品(品类) 代码",
  27099. "type": "string"
  27100. },
  27101. "wrstandardid": {
  27102. "description": "现货商品ID",
  27103. "type": "integer"
  27104. },
  27105. "wrstandardname": {
  27106. "description": "商品(品类) 名称",
  27107. "type": "string"
  27108. }
  27109. }
  27110. },
  27111. "models.Ermcp3SellBuyContract": {
  27112. "type": "object",
  27113. "properties": {
  27114. "accountid": {
  27115. "description": "期货账户id",
  27116. "type": "string"
  27117. },
  27118. "accountname": {
  27119. "description": "账户名称",
  27120. "type": "string"
  27121. },
  27122. "attachment": {
  27123. "description": "附件",
  27124. "type": "string"
  27125. },
  27126. "audittime": {
  27127. "description": "审核时间",
  27128. "type": "string"
  27129. },
  27130. "bizsubjectid": {
  27131. "description": "归属业务部门ID - SubjectID",
  27132. "type": "integer"
  27133. },
  27134. "biztype": {
  27135. "description": "业务类型 1-套保 2-套利",
  27136. "type": "integer"
  27137. },
  27138. "brandname": {
  27139. "description": "品牌名称",
  27140. "type": "string"
  27141. },
  27142. "contracctstatus": {
  27143. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27144. "type": "integer"
  27145. },
  27146. "contractmargin": {
  27147. "description": "合同保证金",
  27148. "type": "number"
  27149. },
  27150. "contractno": {
  27151. "description": "合同编号",
  27152. "type": "string"
  27153. },
  27154. "contracttype": {
  27155. "description": "合同类型 1-采购, -1-销售",
  27156. "type": "integer"
  27157. },
  27158. "convertfactor": {
  27159. "description": "标仓系数(品类)",
  27160. "type": "number"
  27161. },
  27162. "createtime": {
  27163. "description": "创建时间",
  27164. "type": "string"
  27165. },
  27166. "currencyid": {
  27167. "description": "币种id",
  27168. "type": "integer"
  27169. },
  27170. "currencyname": {
  27171. "description": "币种名称",
  27172. "type": "string"
  27173. },
  27174. "daikaiamount": {
  27175. "description": "应收(开)票额 | 未收票额",
  27176. "type": "number"
  27177. },
  27178. "deliveryenddate": {
  27179. "description": "交割结束日",
  27180. "type": "string"
  27181. },
  27182. "deliverygoodscode": {
  27183. "description": "现货品种代码",
  27184. "type": "string"
  27185. },
  27186. "deliverygoodsid": {
  27187. "description": "现货商品ID",
  27188. "type": "integer"
  27189. },
  27190. "deliverygoodsname": {
  27191. "description": "现货品种名称",
  27192. "type": "string"
  27193. },
  27194. "deliverystartdate": {
  27195. "description": "交割开始日",
  27196. "type": "string"
  27197. },
  27198. "enddate": {
  27199. "description": "点价结束日",
  27200. "type": "string"
  27201. },
  27202. "enumdicname": {
  27203. "description": "单位名称",
  27204. "type": "string"
  27205. },
  27206. "goodscode": {
  27207. "description": "点价商品代码",
  27208. "type": "string"
  27209. },
  27210. "goodsgroupid": {
  27211. "description": "点价商品组id",
  27212. "type": "integer"
  27213. },
  27214. "goodsid": {
  27215. "description": "点价商品ID",
  27216. "type": "integer"
  27217. },
  27218. "goodsname": {
  27219. "description": "点价商品名称",
  27220. "type": "string"
  27221. },
  27222. "invoiceamount": {
  27223. "description": "已开票额",
  27224. "type": "number"
  27225. },
  27226. "loanamount": {
  27227. "description": "贷款总额=已定价额+调整金额",
  27228. "type": "number"
  27229. },
  27230. "margin": {
  27231. "description": "保证金",
  27232. "type": "number"
  27233. },
  27234. "meruserid": {
  27235. "description": "跟单员id",
  27236. "type": "integer"
  27237. },
  27238. "meruserlogincode": {
  27239. "description": "跟单员登录代码",
  27240. "type": "string"
  27241. },
  27242. "merusername": {
  27243. "description": "跟单员名称",
  27244. "type": "string"
  27245. },
  27246. "nickname": {
  27247. "description": "账户昵称",
  27248. "type": "string"
  27249. },
  27250. "orireckonrealqty": {
  27251. "description": "应交收量",
  27252. "type": "number"
  27253. },
  27254. "payamount": {
  27255. "description": "已收付额(收款或付款)",
  27256. "type": "number"
  27257. },
  27258. "preinvoiceamount": {
  27259. "description": "预收(开)票额",
  27260. "type": "number"
  27261. },
  27262. "prepayamount": {
  27263. "description": "预收付额",
  27264. "type": "number"
  27265. },
  27266. "price": {
  27267. "description": "价格",
  27268. "type": "number"
  27269. },
  27270. "pricedamount": {
  27271. "description": "已定价额",
  27272. "type": "number"
  27273. },
  27274. "pricedavg": {
  27275. "description": "已点均价",
  27276. "type": "number"
  27277. },
  27278. "pricedqty": {
  27279. "description": "已定价量",
  27280. "type": "number"
  27281. },
  27282. "pricemove": {
  27283. "description": "升贴水",
  27284. "type": "number"
  27285. },
  27286. "pricetype": {
  27287. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27288. "type": "integer"
  27289. },
  27290. "producttype": {
  27291. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27292. "type": "integer"
  27293. },
  27294. "qty": {
  27295. "description": "合同量",
  27296. "type": "number"
  27297. },
  27298. "reckonadjustamount": {
  27299. "description": "调整金额",
  27300. "type": "number"
  27301. },
  27302. "reckonedamount": {
  27303. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  27304. "type": "number"
  27305. },
  27306. "reckonotheramount": {
  27307. "description": "其它费用",
  27308. "type": "number"
  27309. },
  27310. "reckonrealqty": {
  27311. "description": "已交收量",
  27312. "type": "number"
  27313. },
  27314. "remark": {
  27315. "description": "备注",
  27316. "type": "string"
  27317. },
  27318. "saleuserid": {
  27319. "description": "业务员id",
  27320. "type": "integer"
  27321. },
  27322. "saleuserlogincode": {
  27323. "description": "业务员登录代码",
  27324. "type": "string"
  27325. },
  27326. "saleusername": {
  27327. "description": "业务员名称",
  27328. "type": "string"
  27329. },
  27330. "spotcontractid": {
  27331. "description": "合同ID",
  27332. "type": "string"
  27333. },
  27334. "spotgoodsbrandid": {
  27335. "description": "现货品牌ID(DGFactoryItem表的ID)",
  27336. "type": "integer"
  27337. },
  27338. "spotgoodsdesc": {
  27339. "description": "商品型号(商品规格)",
  27340. "type": "string"
  27341. },
  27342. "startdate": {
  27343. "description": "点价开始日",
  27344. "type": "string"
  27345. },
  27346. "subjectid": {
  27347. "description": "交易主体ID",
  27348. "type": "integer"
  27349. },
  27350. "subjectname": {
  27351. "description": "交易主体名称",
  27352. "type": "string"
  27353. },
  27354. "totalamount": {
  27355. "description": "合计总额",
  27356. "type": "number"
  27357. },
  27358. "tradeuserid": {
  27359. "description": "交易员id",
  27360. "type": "integer"
  27361. },
  27362. "tradeuserlogincode": {
  27363. "description": "交易员登录代码",
  27364. "type": "string"
  27365. },
  27366. "tradeusername": {
  27367. "description": "交易员名称",
  27368. "type": "string"
  27369. },
  27370. "unpayamount": {
  27371. "description": "应收付款额(应支付或应收款) | 未付款额",
  27372. "type": "number"
  27373. },
  27374. "unpricedqty": {
  27375. "description": "未定价量",
  27376. "type": "number"
  27377. },
  27378. "unsureqty": {
  27379. "description": "未确定量 | 未交收量",
  27380. "type": "number"
  27381. },
  27382. "userid": {
  27383. "description": "机构ID",
  27384. "type": "integer"
  27385. },
  27386. "vatrate": {
  27387. "description": "增值税率",
  27388. "type": "number"
  27389. },
  27390. "wrstandardcode": {
  27391. "description": "品类代码",
  27392. "type": "string"
  27393. },
  27394. "wrstandardid": {
  27395. "description": "品类ID",
  27396. "type": "integer"
  27397. },
  27398. "wrstandardname": {
  27399. "description": "品类名称",
  27400. "type": "string"
  27401. }
  27402. }
  27403. },
  27404. "models.Ermcp3SpotGoodsPrice": {
  27405. "type": "object",
  27406. "properties": {
  27407. "areauserid": {
  27408. "description": "所属机构id",
  27409. "type": "integer"
  27410. },
  27411. "brandname": {
  27412. "description": "品牌名称",
  27413. "type": "string"
  27414. },
  27415. "currencyid": {
  27416. "description": "报价货币ID",
  27417. "type": "integer"
  27418. },
  27419. "currencyname": {
  27420. "description": "币种名称",
  27421. "type": "string"
  27422. },
  27423. "deliverygoodscode": {
  27424. "description": "现货商品代码",
  27425. "type": "string"
  27426. },
  27427. "deliverygoodsid": {
  27428. "description": "现货商品id",
  27429. "type": "integer"
  27430. },
  27431. "deliverygoodsname": {
  27432. "description": "现货商品名称",
  27433. "type": "string"
  27434. },
  27435. "enumdicname": {
  27436. "description": "现货商品单位名称",
  27437. "type": "string"
  27438. },
  27439. "gbenumdicname": {
  27440. "description": "品类单位名称",
  27441. "type": "string"
  27442. },
  27443. "gmunitid": {
  27444. "description": "品类单位id",
  27445. "type": "integer"
  27446. },
  27447. "isvalid": {
  27448. "description": "是否有效 - 0:无效 1:有效",
  27449. "type": "integer"
  27450. },
  27451. "operateid": {
  27452. "description": "最后操作人",
  27453. "type": "integer"
  27454. },
  27455. "operatesrc": {
  27456. "description": "最后操作来源 - 1:管理端 2:终端",
  27457. "type": "integer"
  27458. },
  27459. "operatetime": {
  27460. "description": "最后操作时间",
  27461. "type": "string"
  27462. },
  27463. "operatorname": {
  27464. "description": "操作人名称",
  27465. "type": "string"
  27466. },
  27467. "spotgoodsbrandid": {
  27468. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27469. "type": "integer"
  27470. },
  27471. "spotgoodsprice": {
  27472. "description": "现货价格",
  27473. "type": "number"
  27474. },
  27475. "tradedate": {
  27476. "description": "交易日(yyyyMMdd)",
  27477. "type": "string"
  27478. },
  27479. "unitid": {
  27480. "description": "现货商品单位id",
  27481. "type": "integer"
  27482. },
  27483. "wrstandardcode": {
  27484. "description": "品类代码",
  27485. "type": "string"
  27486. },
  27487. "wrstandardid": {
  27488. "description": "现货品类ID(通用则为0)",
  27489. "type": "integer"
  27490. },
  27491. "wrstandardname": {
  27492. "description": "品类名称",
  27493. "type": "string"
  27494. }
  27495. }
  27496. },
  27497. "models.Ermcp3SpotGoodsPriceLog": {
  27498. "type": "object",
  27499. "properties": {
  27500. "areauserid": {
  27501. "description": "所属机构id",
  27502. "type": "integer"
  27503. },
  27504. "brandname": {
  27505. "description": "品牌名称",
  27506. "type": "string"
  27507. },
  27508. "currencyid": {
  27509. "description": "报价货币ID",
  27510. "type": "integer"
  27511. },
  27512. "deliverygoodscode": {
  27513. "description": "现货商品代码",
  27514. "type": "string"
  27515. },
  27516. "deliverygoodsid": {
  27517. "description": "现货商品id",
  27518. "type": "integer"
  27519. },
  27520. "deliverygoodsname": {
  27521. "description": "现货商品名称",
  27522. "type": "string"
  27523. },
  27524. "enumdicname": {
  27525. "description": "现货商品单位名称",
  27526. "type": "string"
  27527. },
  27528. "gbenumdicname": {
  27529. "description": "品类单位名称",
  27530. "type": "string"
  27531. },
  27532. "gmunitid": {
  27533. "description": "品类单位id",
  27534. "type": "integer"
  27535. },
  27536. "logid": {
  27537. "description": "日志id",
  27538. "type": "integer"
  27539. },
  27540. "operateid": {
  27541. "description": "最后操作人",
  27542. "type": "integer"
  27543. },
  27544. "operatesrc": {
  27545. "description": "最后操作来源 - 1:管理端 2:终端",
  27546. "type": "integer"
  27547. },
  27548. "operatetime": {
  27549. "description": "最后操作时间",
  27550. "type": "string"
  27551. },
  27552. "operatorname": {
  27553. "description": "操作人名称",
  27554. "type": "string"
  27555. },
  27556. "spotgoodsbrandid": {
  27557. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27558. "type": "integer"
  27559. },
  27560. "spotgoodsprice": {
  27561. "description": "现货价格",
  27562. "type": "number"
  27563. },
  27564. "tradedate": {
  27565. "description": "交易日(yyyyMMdd)",
  27566. "type": "string"
  27567. },
  27568. "unitid": {
  27569. "description": "现货商品单位id",
  27570. "type": "integer"
  27571. },
  27572. "wrstandardcode": {
  27573. "description": "品类代码",
  27574. "type": "string"
  27575. },
  27576. "wrstandardid": {
  27577. "description": "现货品类ID(通用则为0)",
  27578. "type": "integer"
  27579. },
  27580. "wrstandardname": {
  27581. "description": "品类名称",
  27582. "type": "string"
  27583. }
  27584. }
  27585. },
  27586. "models.Ermcp3SubTaaccount": {
  27587. "type": "object",
  27588. "properties": {
  27589. "accountid": {
  27590. "description": "资金账户ID",
  27591. "type": "integer"
  27592. },
  27593. "parentaccountcode": {
  27594. "description": "所属根账号代码(母账号代码)",
  27595. "type": "string"
  27596. },
  27597. "parentaccountid": {
  27598. "description": "所属根账号(母账号)",
  27599. "type": "integer"
  27600. },
  27601. "taname": {
  27602. "description": "资金账号名称",
  27603. "type": "string"
  27604. },
  27605. "tradestatus": {
  27606. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  27607. "type": "integer"
  27608. },
  27609. "username": {
  27610. "description": "交易用户",
  27611. "type": "string"
  27612. }
  27613. }
  27614. },
  27615. "models.Ermcp3TaFutuReDataReport": {
  27616. "type": "object",
  27617. "properties": {
  27618. "accountid": {
  27619. "description": "交易账户",
  27620. "type": "integer"
  27621. },
  27622. "accountname": {
  27623. "description": "交易账号名称",
  27624. "type": "string"
  27625. },
  27626. "agreeunit": {
  27627. "description": "商品合约单位",
  27628. "type": "number"
  27629. },
  27630. "begindate": {
  27631. "description": "开始交易日",
  27632. "type": "string"
  27633. },
  27634. "buyorsell": {
  27635. "description": "持仓方向",
  27636. "type": "integer"
  27637. },
  27638. "charge": {
  27639. "description": "手续费",
  27640. "type": "number"
  27641. },
  27642. "closeavgprice": {
  27643. "description": "期初均价",
  27644. "type": "number"
  27645. },
  27646. "closepl": {
  27647. "description": "平仓损益",
  27648. "type": "number"
  27649. },
  27650. "currencyid": {
  27651. "description": "结算币种ID",
  27652. "type": "integer"
  27653. },
  27654. "currencyname": {
  27655. "description": "币种名称",
  27656. "type": "string"
  27657. },
  27658. "cycletime": {
  27659. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27660. "type": "string"
  27661. },
  27662. "cycletype": {
  27663. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27664. "type": "integer"
  27665. },
  27666. "enddate": {
  27667. "description": "结束交易日",
  27668. "type": "string"
  27669. },
  27670. "enumdicname": {
  27671. "description": "单位名称",
  27672. "type": "string"
  27673. },
  27674. "floatpl": {
  27675. "description": "浮动损益",
  27676. "type": "number"
  27677. },
  27678. "goodscode": {
  27679. "description": "交易合约代码",
  27680. "type": "string"
  27681. },
  27682. "goodsgroupid": {
  27683. "description": "交易品种",
  27684. "type": "integer"
  27685. },
  27686. "goodsgroupname": {
  27687. "description": "交易品种名称",
  27688. "type": "string"
  27689. },
  27690. "goodsgroupspotqty": {
  27691. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  27692. "type": "number"
  27693. },
  27694. "goodsid": {
  27695. "description": "交易合约",
  27696. "type": "integer"
  27697. },
  27698. "goodsname": {
  27699. "description": "交易合约名称",
  27700. "type": "string"
  27701. },
  27702. "goodunitid": {
  27703. "description": "交易合约单位id",
  27704. "type": "integer"
  27705. },
  27706. "holdamount": {
  27707. "description": "期末持仓额",
  27708. "type": "number"
  27709. },
  27710. "holdqty": {
  27711. "description": "期初均价",
  27712. "type": "number"
  27713. },
  27714. "lastholdamount": {
  27715. "description": "当前持仓额",
  27716. "type": "number"
  27717. },
  27718. "lastprice": {
  27719. "description": "最新价",
  27720. "type": "number"
  27721. },
  27722. "middlegoodsid": {
  27723. "description": "套保品种id",
  27724. "type": "integer"
  27725. },
  27726. "middlegoodsname": {
  27727. "description": "套保商品名称",
  27728. "type": "string"
  27729. },
  27730. "middlegoodsqty": {
  27731. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  27732. "type": "number"
  27733. },
  27734. "middlgoodscode": {
  27735. "description": "套保商品代码",
  27736. "type": "string"
  27737. },
  27738. "openamount": {
  27739. "description": "期末开仓额",
  27740. "type": "number"
  27741. },
  27742. "openavgprice": {
  27743. "description": "期初均价",
  27744. "type": "number"
  27745. },
  27746. "oriholdamount": {
  27747. "description": "期初持仓额",
  27748. "type": "number"
  27749. },
  27750. "oriholdqty": {
  27751. "description": "期初均价",
  27752. "type": "number"
  27753. },
  27754. "oriopenamount": {
  27755. "description": "期初开仓额",
  27756. "type": "number"
  27757. },
  27758. "outergroupcode": {
  27759. "description": "交易品种代码",
  27760. "type": "string"
  27761. },
  27762. "qtydecimalplace": {
  27763. "description": "成交量小数位",
  27764. "type": "integer"
  27765. },
  27766. "reckondate": {
  27767. "description": "日照时期(yyyyMMdd)",
  27768. "type": "string"
  27769. },
  27770. "reckonholdamount": {
  27771. "description": "结算持仓额",
  27772. "type": "number"
  27773. },
  27774. "reckonpl": {
  27775. "description": "结算损益",
  27776. "type": "number"
  27777. },
  27778. "reckonpl2": {
  27779. "description": "结算逐笔盈亏",
  27780. "type": "number"
  27781. },
  27782. "reckonprice": {
  27783. "description": "结算价",
  27784. "type": "number"
  27785. },
  27786. "relateduserid": {
  27787. "description": "账户关联用户ID",
  27788. "type": "integer"
  27789. },
  27790. "todaycloseamount": {
  27791. "description": "今平仓额",
  27792. "type": "number"
  27793. },
  27794. "todaycloseqty": {
  27795. "description": "期初均价",
  27796. "type": "number"
  27797. },
  27798. "todaygoodsgroupspotqty": {
  27799. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  27800. "type": "number"
  27801. },
  27802. "todaymiddlegoodsqty": {
  27803. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  27804. "type": "number"
  27805. },
  27806. "todayopenamount": {
  27807. "description": "今开仓额",
  27808. "type": "number"
  27809. },
  27810. "todayopenqty": {
  27811. "description": "期初均价",
  27812. "type": "number"
  27813. },
  27814. "userid": {
  27815. "description": "账户所属用户ID",
  27816. "type": "integer"
  27817. }
  27818. }
  27819. },
  27820. "models.Ermcp3TradeLinkDetail": {
  27821. "type": "object",
  27822. "properties": {
  27823. "accountid": {
  27824. "description": "资金账号",
  27825. "type": "integer"
  27826. },
  27827. "agreeunit": {
  27828. "description": "合约乘数",
  27829. "type": "number"
  27830. },
  27831. "areauserid": {
  27832. "description": "所属机构",
  27833. "type": "string"
  27834. },
  27835. "bizsubjectid": {
  27836. "description": "归属业务部门ID - SubjectID",
  27837. "type": "string"
  27838. },
  27839. "buyorsell": {
  27840. "description": "方向 - 0:买 1:卖",
  27841. "type": "integer"
  27842. },
  27843. "channelbuildtype": {
  27844. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27845. "type": "integer"
  27846. },
  27847. "contractno": {
  27848. "description": "现货编号 (合同编号)",
  27849. "type": "string"
  27850. },
  27851. "convertratio": {
  27852. "description": "折算系数",
  27853. "type": "number"
  27854. },
  27855. "createtime": {
  27856. "description": "关联时间 | 创建时间",
  27857. "type": "string"
  27858. },
  27859. "creatorid": {
  27860. "description": "创建人ID",
  27861. "type": "string"
  27862. },
  27863. "creatorsrc": {
  27864. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27865. "type": "integer"
  27866. },
  27867. "enumdicname": {
  27868. "description": "单位名称",
  27869. "type": "string"
  27870. },
  27871. "goodscode": {
  27872. "description": "合约代码",
  27873. "type": "string"
  27874. },
  27875. "goodsgroupid": {
  27876. "description": "对冲品种ID[期货合约商品组ID]",
  27877. "type": "integer"
  27878. },
  27879. "goodsid": {
  27880. "description": "商品ID",
  27881. "type": "integer"
  27882. },
  27883. "goodsname": {
  27884. "description": "合约名称",
  27885. "type": "string"
  27886. },
  27887. "hedgeflag": {
  27888. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  27889. "type": "integer"
  27890. },
  27891. "linkdetailid": {
  27892. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27893. "type": "string"
  27894. },
  27895. "linkstatus": {
  27896. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27897. "type": "integer"
  27898. },
  27899. "middlegoodscode": {
  27900. "description": "套保品种代码",
  27901. "type": "string"
  27902. },
  27903. "middlegoodsid": {
  27904. "description": "套保品种ID",
  27905. "type": "integer"
  27906. },
  27907. "middlegoodsname": {
  27908. "description": "套保品种名称",
  27909. "type": "string"
  27910. },
  27911. "relatedlot": {
  27912. "description": "关联手数",
  27913. "type": "number"
  27914. },
  27915. "relatedmode": {
  27916. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27917. "type": "integer"
  27918. },
  27919. "relatedqty": {
  27920. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27921. "type": "number"
  27922. },
  27923. "retcode": {
  27924. "description": "返回码",
  27925. "type": "integer"
  27926. },
  27927. "saleuserid": {
  27928. "description": "业务员ID",
  27929. "type": "string"
  27930. },
  27931. "spotcontractid": {
  27932. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27933. "type": "string"
  27934. },
  27935. "taname": {
  27936. "description": "期货账户",
  27937. "type": "string"
  27938. },
  27939. "tradedate": {
  27940. "description": "关联交易日(yyyyMMdd)",
  27941. "type": "string"
  27942. },
  27943. "tradeid": {
  27944. "description": "期货订单号 | 内部成交单ID",
  27945. "type": "string"
  27946. },
  27947. "tradelot": {
  27948. "description": "成交数量 | 成交手数",
  27949. "type": "integer"
  27950. },
  27951. "tradeprice": {
  27952. "description": "成交价格",
  27953. "type": "number"
  27954. },
  27955. "tradetime": {
  27956. "description": "期货成交时间",
  27957. "type": "string"
  27958. },
  27959. "tradetradedate": {
  27960. "description": "成交交易日(yyyyMMdd)",
  27961. "type": "string"
  27962. },
  27963. "username": {
  27964. "description": "用户名称",
  27965. "type": "string"
  27966. }
  27967. }
  27968. },
  27969. "models.Ermcp3Wrstandard": {
  27970. "type": "object",
  27971. "properties": {
  27972. "areauserid": {
  27973. "description": "所属机构",
  27974. "type": "integer"
  27975. },
  27976. "cantrade": {
  27977. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27978. "type": "integer"
  27979. },
  27980. "convertfactor": {
  27981. "description": "标仓系数",
  27982. "type": "number"
  27983. },
  27984. "createtime": {
  27985. "description": "创建时间",
  27986. "type": "string"
  27987. },
  27988. "creatorid": {
  27989. "description": "创建人",
  27990. "type": "integer"
  27991. },
  27992. "deliverygoodsid": {
  27993. "description": "现货品种ID",
  27994. "type": "integer"
  27995. },
  27996. "enumdicname": {
  27997. "description": "品类单位名称",
  27998. "type": "string"
  27999. },
  28000. "isvalid": {
  28001. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  28002. "type": "integer"
  28003. },
  28004. "minivalue": {
  28005. "description": "最小变动值",
  28006. "type": "integer"
  28007. },
  28008. "minivaluedp": {
  28009. "description": "最小变动值小数位",
  28010. "type": "integer"
  28011. },
  28012. "realminivalue": {
  28013. "description": "实际最小变动值",
  28014. "type": "integer"
  28015. },
  28016. "realminivaluedp": {
  28017. "description": "实际最小变动值小数位",
  28018. "type": "integer"
  28019. },
  28020. "remark": {
  28021. "description": "备注",
  28022. "type": "string"
  28023. },
  28024. "unitid": {
  28025. "description": "品类单位ID",
  28026. "type": "integer"
  28027. },
  28028. "updatetime": {
  28029. "description": "更新时间",
  28030. "type": "string"
  28031. },
  28032. "wrstandardcode": {
  28033. "description": "品类代码",
  28034. "type": "string"
  28035. },
  28036. "wrstandardid": {
  28037. "description": "品类ID(SEQ_WRSTANDARD)",
  28038. "type": "integer"
  28039. },
  28040. "wrstandardname": {
  28041. "description": "品类名称",
  28042. "type": "string"
  28043. }
  28044. }
  28045. },
  28046. "models.Ermcp8EnableHedgeditem": {
  28047. "type": "object",
  28048. "properties": {
  28049. "accountname": {
  28050. "description": "套期主体",
  28051. "type": "string"
  28052. },
  28053. "hedgeditemid": {
  28054. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  28055. "type": "string"
  28056. },
  28057. "hedgeditemname": {
  28058. "description": "项目名称",
  28059. "type": "string"
  28060. },
  28061. "hedgeditemnum": {
  28062. "description": "项目编号",
  28063. "type": "string"
  28064. },
  28065. "hedgedtype": {
  28066. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28067. "type": "integer"
  28068. },
  28069. "planenddate": {
  28070. "description": "计划结束日期",
  28071. "type": "string"
  28072. },
  28073. "planstartdate": {
  28074. "description": "计划开始日期",
  28075. "type": "string"
  28076. },
  28077. "wrstandardid": {
  28078. "description": "现货商品ID",
  28079. "type": "integer"
  28080. },
  28081. "wrstandardname": {
  28082. "description": "现货商品",
  28083. "type": "string"
  28084. }
  28085. }
  28086. },
  28087. "models.Ermcp8HedgeditemReport": {
  28088. "type": "object",
  28089. "properties": {
  28090. "accountname": {
  28091. "description": "套期主体",
  28092. "type": "string"
  28093. },
  28094. "areauserid": {
  28095. "description": "企业ID",
  28096. "type": "integer"
  28097. },
  28098. "curprice": {
  28099. "description": "[当日现货市场价]当前市场价",
  28100. "type": "number"
  28101. },
  28102. "enumdicname": {
  28103. "description": "单位",
  28104. "type": "string"
  28105. },
  28106. "exeamount": {
  28107. "description": "[执行现货金额]执行市价总额",
  28108. "type": "number"
  28109. },
  28110. "exeavgprice": {
  28111. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  28112. "type": "number"
  28113. },
  28114. "exeqty": {
  28115. "description": "[执行数量]执行现货量",
  28116. "type": "number"
  28117. },
  28118. "futurehedgepl": {
  28119. "description": "期货实际损益",
  28120. "type": "number"
  28121. },
  28122. "futurehedgeplchange": {
  28123. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  28124. "type": "number"
  28125. },
  28126. "futurepl": {
  28127. "description": "期货套期损益",
  28128. "type": "number"
  28129. },
  28130. "futureplchange": {
  28131. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  28132. "type": "number"
  28133. },
  28134. "hedgeamount": {
  28135. "description": "[套期现货金额]套期市价总额",
  28136. "type": "number"
  28137. },
  28138. "hedgeditemnum": {
  28139. "description": "项目编号,模糊查询",
  28140. "type": "string"
  28141. },
  28142. "hedgeditemstatus": {
  28143. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28144. "type": "integer"
  28145. },
  28146. "hedgedtype": {
  28147. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28148. "type": "integer"
  28149. },
  28150. "hedgeqty": {
  28151. "description": "[套期数量]套期现货量",
  28152. "type": "number"
  28153. },
  28154. "oriavgprice": {
  28155. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  28156. "type": "number"
  28157. },
  28158. "orifuturehedgepl": {
  28159. "description": "期初期货实际损益",
  28160. "type": "number"
  28161. },
  28162. "orifuturepl": {
  28163. "description": "期初期货套期损益",
  28164. "type": "number"
  28165. },
  28166. "orispothedgepl": {
  28167. "description": "期初现货实际损益",
  28168. "type": "number"
  28169. },
  28170. "orispotpl": {
  28171. "description": "期初现货套期损益",
  28172. "type": "number"
  28173. },
  28174. "planenddate": {
  28175. "description": "计划结束日期",
  28176. "type": "string"
  28177. },
  28178. "planstartdate": {
  28179. "description": "计划开始日期",
  28180. "type": "string"
  28181. },
  28182. "spothedgepl": {
  28183. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28184. "type": "number"
  28185. },
  28186. "spothedgeplchange": {
  28187. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  28188. "type": "number"
  28189. },
  28190. "spotpl": {
  28191. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28192. "type": "number"
  28193. },
  28194. "spotplchange": {
  28195. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  28196. "type": "number"
  28197. },
  28198. "tradeuserid": {
  28199. "description": "交易用户ID",
  28200. "type": "integer"
  28201. },
  28202. "unexeqty": {
  28203. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28204. "type": "number"
  28205. },
  28206. "wrstandardcode": {
  28207. "description": "现货品类代码",
  28208. "type": "string"
  28209. },
  28210. "wrstandardid": {
  28211. "description": "现货商品ID",
  28212. "type": "integer"
  28213. },
  28214. "wrstandardname": {
  28215. "description": "[现货商品]现货品类名称",
  28216. "type": "string"
  28217. }
  28218. }
  28219. },
  28220. "models.Ermcp8RunningHedgeditem": {
  28221. "type": "object",
  28222. "properties": {
  28223. "accountname": {
  28224. "description": "套期主体",
  28225. "type": "string"
  28226. },
  28227. "applyid": {
  28228. "description": "申请人",
  28229. "type": "integer"
  28230. },
  28231. "applysrc": {
  28232. "description": "申请来源 - 1:管理端 2:终端",
  28233. "type": "integer"
  28234. },
  28235. "areauserid": {
  28236. "description": "企业ID",
  28237. "type": "integer"
  28238. },
  28239. "auditid": {
  28240. "description": "审核人",
  28241. "type": "integer"
  28242. },
  28243. "auditremark": {
  28244. "description": "审核备注",
  28245. "type": "string"
  28246. },
  28247. "auditsrc": {
  28248. "description": "审核来源 - 1:管理端 2:终端",
  28249. "type": "integer"
  28250. },
  28251. "audittime": {
  28252. "description": "审核时间",
  28253. "type": "string"
  28254. },
  28255. "audittradedate": {
  28256. "description": "审核交易日(yyyyMMdd)",
  28257. "type": "string"
  28258. },
  28259. "createtime": {
  28260. "description": "申请时间",
  28261. "type": "string"
  28262. },
  28263. "curprice": {
  28264. "description": "当前市场价",
  28265. "type": "number"
  28266. },
  28267. "curstock": {
  28268. "description": "期末库存量 = 采购总量 - 销售总量",
  28269. "type": "number"
  28270. },
  28271. "deliverygoodsid": {
  28272. "description": "现货品种ID",
  28273. "type": "integer"
  28274. },
  28275. "enddate": {
  28276. "description": "完成日期",
  28277. "type": "string"
  28278. },
  28279. "endtradedate": {
  28280. "description": "完成交易日",
  28281. "type": "string"
  28282. },
  28283. "enumdicname": {
  28284. "description": "单位",
  28285. "type": "string"
  28286. },
  28287. "exeamount": {
  28288. "description": "执行市价总额",
  28289. "type": "number"
  28290. },
  28291. "exeavgprice": {
  28292. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  28293. "type": "number"
  28294. },
  28295. "execontractamount": {
  28296. "description": "执行定价总额",
  28297. "type": "number"
  28298. },
  28299. "exeqty": {
  28300. "description": "执行现货量",
  28301. "type": "number"
  28302. },
  28303. "exerestamount": {
  28304. "description": "执行剩余市价总额【现货贸易】",
  28305. "type": "number"
  28306. },
  28307. "futurefloatpl": {
  28308. "description": "期货浮动损益",
  28309. "type": "number"
  28310. },
  28311. "futurehedgepl": {
  28312. "description": "期货实际损益",
  28313. "type": "number"
  28314. },
  28315. "futurehedgeplchange": {
  28316. "description": "期货实际损益变动",
  28317. "type": "number"
  28318. },
  28319. "futurepl": {
  28320. "description": "期货套期损益",
  28321. "type": "number"
  28322. },
  28323. "futureplchange": {
  28324. "description": "期货套期损益变动",
  28325. "type": "number"
  28326. },
  28327. "hedgeamount": {
  28328. "description": "套期市价总额",
  28329. "type": "number"
  28330. },
  28331. "hedgecontractamount": {
  28332. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  28333. "type": "number"
  28334. },
  28335. "hedgeditemid": {
  28336. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  28337. "type": "string"
  28338. },
  28339. "hedgeditemname": {
  28340. "description": "项目名称",
  28341. "type": "string"
  28342. },
  28343. "hedgeditemnum": {
  28344. "description": "项目编号",
  28345. "type": "string"
  28346. },
  28347. "hedgeditemstatus": {
  28348. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28349. "type": "integer"
  28350. },
  28351. "hedgedtype": {
  28352. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28353. "type": "integer"
  28354. },
  28355. "hedgeqty": {
  28356. "description": "套期现货量",
  28357. "type": "number"
  28358. },
  28359. "hedgerate": {
  28360. "description": "套保比率",
  28361. "type": "number"
  28362. },
  28363. "hedgerestamount": {
  28364. "description": "套期剩余市价总额【现货贸易】",
  28365. "type": "number"
  28366. },
  28367. "hedgesumpl": {
  28368. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  28369. "type": "number"
  28370. },
  28371. "middlegoodslist": {
  28372. "description": "套期商品列表",
  28373. "type": "array",
  28374. "items": {
  28375. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  28376. }
  28377. },
  28378. "oriavgprice": {
  28379. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  28380. "type": "number"
  28381. },
  28382. "orifuturehedgepl": {
  28383. "description": "期初期货实际损益",
  28384. "type": "number"
  28385. },
  28386. "orifuturepl": {
  28387. "description": "期初期货套期损益",
  28388. "type": "number"
  28389. },
  28390. "orispothedgepl": {
  28391. "description": "期初现货实际损益",
  28392. "type": "number"
  28393. },
  28394. "orispotpl": {
  28395. "description": "期初现货套期损益",
  28396. "type": "number"
  28397. },
  28398. "planenddate": {
  28399. "description": "计划结束日期",
  28400. "type": "string"
  28401. },
  28402. "planstartdate": {
  28403. "description": "计划开始日期",
  28404. "type": "string"
  28405. },
  28406. "remark": {
  28407. "description": "备注",
  28408. "type": "string"
  28409. },
  28410. "spotbookamount": {
  28411. "description": "现货账面总额",
  28412. "type": "number"
  28413. },
  28414. "spotfloatpl": {
  28415. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28416. "type": "number"
  28417. },
  28418. "spothedgepl": {
  28419. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28420. "type": "number"
  28421. },
  28422. "spothedgeplchange": {
  28423. "description": "现货实际损益变动",
  28424. "type": "number"
  28425. },
  28426. "spotpl": {
  28427. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28428. "type": "number"
  28429. },
  28430. "spotplchange": {
  28431. "description": "现货套期损益变动",
  28432. "type": "number"
  28433. },
  28434. "spottradepl": {
  28435. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  28436. "type": "number"
  28437. },
  28438. "sumobspl": {
  28439. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  28440. "type": "number"
  28441. },
  28442. "tradeuserid": {
  28443. "description": "交易用户ID",
  28444. "type": "integer"
  28445. },
  28446. "unexeqty": {
  28447. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28448. "type": "number"
  28449. },
  28450. "updatetime": {
  28451. "description": "更新时间",
  28452. "type": "string"
  28453. },
  28454. "vatpl": {
  28455. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  28456. "type": "number"
  28457. },
  28458. "vatrate": {
  28459. "description": "增值税",
  28460. "type": "number"
  28461. },
  28462. "wrstandardid": {
  28463. "description": "现货商品ID",
  28464. "type": "integer"
  28465. },
  28466. "wrstandardname": {
  28467. "description": "商品名称",
  28468. "type": "string"
  28469. }
  28470. }
  28471. },
  28472. "models.ErmcpBizGroupEx": {
  28473. "type": "object",
  28474. "properties": {
  28475. "acclist": {
  28476. "description": "账号列表",
  28477. "type": "array",
  28478. "items": {
  28479. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  28480. }
  28481. },
  28482. "bizgroupid": {
  28483. "description": "业务分组id",
  28484. "type": "integer"
  28485. },
  28486. "biztype": {
  28487. "description": "业务类型 1-套保 2-套利",
  28488. "type": "integer"
  28489. },
  28490. "wrlist": {
  28491. "description": "现货商品表",
  28492. "type": "array",
  28493. "items": {
  28494. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  28495. }
  28496. }
  28497. }
  28498. },
  28499. "models.ErmcpBizGroupSpotGoods": {
  28500. "type": "object",
  28501. "properties": {
  28502. "areauserid": {
  28503. "description": "所属机构id",
  28504. "type": "integer"
  28505. },
  28506. "bizgroupid": {
  28507. "description": "分组id",
  28508. "type": "integer"
  28509. },
  28510. "biztype": {
  28511. "description": "业务类型 1-套保 2-套利",
  28512. "type": "integer"
  28513. },
  28514. "deliverygoodscode": {
  28515. "description": "现货商品代码",
  28516. "type": "string"
  28517. },
  28518. "deliverygoodsid": {
  28519. "description": "现货商品id",
  28520. "type": "integer"
  28521. },
  28522. "deliverygoodsname": {
  28523. "description": "现货商品名称",
  28524. "type": "string"
  28525. },
  28526. "unitid": {
  28527. "description": "现货商品单位id",
  28528. "type": "integer"
  28529. }
  28530. }
  28531. },
  28532. "models.ErmcpBizGroupTaAccount": {
  28533. "type": "object",
  28534. "properties": {
  28535. "accountid": {
  28536. "description": "账号id",
  28537. "type": "integer"
  28538. },
  28539. "accountname": {
  28540. "description": "账号名称",
  28541. "type": "string"
  28542. },
  28543. "areauserid": {
  28544. "description": "所属机构id",
  28545. "type": "integer"
  28546. },
  28547. "bizgroupid": {
  28548. "description": "业务分组id",
  28549. "type": "integer"
  28550. },
  28551. "ismain": {
  28552. "description": "是否主账号 1-是 0-否",
  28553. "type": "integer"
  28554. }
  28555. }
  28556. },
  28557. "models.ErmcpDGFactoryItem": {
  28558. "type": "object",
  28559. "properties": {
  28560. "areauserid": {
  28561. "description": "用户id",
  28562. "type": "integer"
  28563. },
  28564. "deliverygoodsid": {
  28565. "description": "现货品种ID",
  28566. "type": "integer"
  28567. },
  28568. "dgfactoryitemid": {
  28569. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  28570. "type": "integer"
  28571. },
  28572. "dgfactoryitemtypeid": {
  28573. "description": "要素项类型",
  28574. "type": "integer"
  28575. },
  28576. "dgfactoryitemvalue": {
  28577. "description": "要素项值(类型为仓库时填写仓库名称)",
  28578. "type": "string"
  28579. },
  28580. "isvalid": {
  28581. "description": "是否有效 - 0:无效 1:有效",
  28582. "type": "integer"
  28583. },
  28584. "orderindex": {
  28585. "description": "顺序",
  28586. "type": "integer"
  28587. },
  28588. "warehouseid": {
  28589. "description": "仓库ID(类型为仓库时填写)",
  28590. "type": "integer"
  28591. }
  28592. }
  28593. },
  28594. "models.ErmcpDeliveryGoods": {
  28595. "type": "object",
  28596. "properties": {
  28597. "agreeunit": {
  28598. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  28599. "type": "integer"
  28600. },
  28601. "areauserid": {
  28602. "description": "所属机构",
  28603. "type": "integer"
  28604. },
  28605. "auditflag": {
  28606. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  28607. "type": "integer"
  28608. },
  28609. "categoryid": {
  28610. "description": "类别ID(SEQ_WRCATEGORY)",
  28611. "type": "integer"
  28612. },
  28613. "deliverygoodscode": {
  28614. "description": "现货品种代码",
  28615. "type": "string"
  28616. },
  28617. "deliverygoodsid": {
  28618. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  28619. "type": "integer"
  28620. },
  28621. "deliverygoodsname": {
  28622. "description": "现货品种名称",
  28623. "type": "string"
  28624. },
  28625. "deliverygoodstype": {
  28626. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  28627. "type": "integer"
  28628. },
  28629. "dgstatus": {
  28630. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  28631. "type": "integer"
  28632. },
  28633. "enumdicname": {
  28634. "description": "现货品种单位名称",
  28635. "type": "string"
  28636. },
  28637. "goodsunitid": {
  28638. "description": "现货品种单位ID",
  28639. "type": "integer"
  28640. },
  28641. "isvalid": {
  28642. "description": "是否有效 - 0:无效 1:有效",
  28643. "type": "integer"
  28644. },
  28645. "qtydecimalplace": {
  28646. "description": "成交量小数位",
  28647. "type": "integer"
  28648. },
  28649. "remark": {
  28650. "description": "备注",
  28651. "type": "string"
  28652. },
  28653. "standardqty": {
  28654. "description": "标准数量(库位数量) [标准品特有]",
  28655. "type": "integer"
  28656. },
  28657. "standardqtyrange": {
  28658. "description": "标准数量偏差范围 [标准品特有]",
  28659. "type": "integer"
  28660. }
  28661. }
  28662. },
  28663. "models.ErmcpFuturesCompany": {
  28664. "type": "object",
  28665. "properties": {
  28666. "brokerid": {
  28667. "description": "经纪公司代码",
  28668. "type": "string"
  28669. },
  28670. "channeladdress": {
  28671. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  28672. "type": "string"
  28673. },
  28674. "channelid": {
  28675. "description": "对冲渠道ID",
  28676. "type": "string"
  28677. },
  28678. "createtime": {
  28679. "description": "创建时间",
  28680. "type": "string"
  28681. },
  28682. "creatorid": {
  28683. "description": "创建人",
  28684. "type": "string"
  28685. },
  28686. "fcid": {
  28687. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  28688. "type": "integer"
  28689. },
  28690. "fcname": {
  28691. "description": "期货公司名称",
  28692. "type": "string"
  28693. },
  28694. "isvalid": {
  28695. "description": "是否有效 - 0:无效 1:有效",
  28696. "type": "integer"
  28697. },
  28698. "mhpaddress": {
  28699. "description": "MHP服务地址(IP:Port)",
  28700. "type": "string"
  28701. },
  28702. "riskrulegroupid": {
  28703. "description": "风控规则组ID",
  28704. "type": "string"
  28705. },
  28706. "tradefeetmpid": {
  28707. "description": "手续费模板ID[TradeConfigTmpType为2]",
  28708. "type": "string"
  28709. },
  28710. "trademargintmpid": {
  28711. "description": "保证金模板ID [TradeConfigTmpType为1]",
  28712. "type": "string"
  28713. },
  28714. "traderatetmpid": {
  28715. "description": "汇率模板ID[TradeConfigTmpType为3]",
  28716. "type": "string"
  28717. },
  28718. "updatetime": {
  28719. "description": "更新时间",
  28720. "type": "string"
  28721. },
  28722. "updatorid": {
  28723. "description": "更新人",
  28724. "type": "string"
  28725. }
  28726. }
  28727. },
  28728. "models.ErmcpGGConvertCfg": {
  28729. "type": "object",
  28730. "properties": {
  28731. "convertratio": {
  28732. "description": "折算系数",
  28733. "type": "number"
  28734. },
  28735. "destgoodsgroupid": {
  28736. "description": "目标品种ID",
  28737. "type": "integer"
  28738. },
  28739. "dstcode": {
  28740. "description": "目录品种代码",
  28741. "type": "string"
  28742. },
  28743. "dstexchangecode": {
  28744. "description": "目标期货交易所",
  28745. "type": "string"
  28746. },
  28747. "dstname": {
  28748. "description": "目标品种名称",
  28749. "type": "string"
  28750. },
  28751. "dstunitid": {
  28752. "description": "目标品种单位ID",
  28753. "type": "integer"
  28754. },
  28755. "dstunitidname": {
  28756. "description": "目标品种单位名称",
  28757. "type": "string"
  28758. },
  28759. "modifytime": {
  28760. "description": "修改时间",
  28761. "type": "string"
  28762. },
  28763. "srccode": {
  28764. "description": "源品种代码",
  28765. "type": "string"
  28766. },
  28767. "srcexchangecode": {
  28768. "description": "源期货交易所",
  28769. "type": "string"
  28770. },
  28771. "srcgoodsgroupid": {
  28772. "description": "源品种ID",
  28773. "type": "integer"
  28774. },
  28775. "srcname": {
  28776. "description": "源品种名称",
  28777. "type": "string"
  28778. },
  28779. "srcunitid": {
  28780. "description": "源品种单位ID",
  28781. "type": "integer"
  28782. },
  28783. "srcunitidname": {
  28784. "description": "源品种单位名称",
  28785. "type": "string"
  28786. }
  28787. }
  28788. },
  28789. "models.ErmcpGoods": {
  28790. "type": "object",
  28791. "required": [
  28792. "goodscode",
  28793. "goodsid",
  28794. "goodsname",
  28795. "marketid"
  28796. ],
  28797. "properties": {
  28798. "agreeunit": {
  28799. "description": "合约单位",
  28800. "type": "number"
  28801. },
  28802. "areauserid": {
  28803. "description": "所属机构",
  28804. "type": "integer"
  28805. },
  28806. "auditaccountid": {
  28807. "description": "审核操作员账号",
  28808. "type": "integer"
  28809. },
  28810. "audittime": {
  28811. "description": "审核时间",
  28812. "type": "string"
  28813. },
  28814. "cancelaccountid": {
  28815. "description": "注销操作员账号",
  28816. "type": "integer"
  28817. },
  28818. "canceltime": {
  28819. "description": "注销时间",
  28820. "type": "string"
  28821. },
  28822. "closepricemode": {
  28823. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28824. "type": "integer"
  28825. },
  28826. "closepriceparam": {
  28827. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28828. "type": "number"
  28829. },
  28830. "createtime": {
  28831. "description": "创建时间",
  28832. "type": "string"
  28833. },
  28834. "creatorid": {
  28835. "description": "创建人",
  28836. "type": "integer"
  28837. },
  28838. "currencyid": {
  28839. "description": "报价货币ID",
  28840. "type": "integer"
  28841. },
  28842. "cutmode": {
  28843. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28844. "type": "integer"
  28845. },
  28846. "decimalplace": {
  28847. "description": "报价小数位",
  28848. "type": "integer"
  28849. },
  28850. "delistingdate": {
  28851. "description": "商品退市时间(状态:退市) -- 已作废",
  28852. "type": "string"
  28853. },
  28854. "delistingmode": {
  28855. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28856. "type": "integer"
  28857. },
  28858. "deliveryflag": {
  28859. "description": "交割标志 - 0:不可交割 1:可交割",
  28860. "type": "integer"
  28861. },
  28862. "enumdicname": {
  28863. "description": "单位名称",
  28864. "type": "string"
  28865. },
  28866. "forceclosemode": {
  28867. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28868. "type": "integer"
  28869. },
  28870. "forceclosevalue": {
  28871. "description": "定期强平参数 [收益权]",
  28872. "type": "integer"
  28873. },
  28874. "goodscode": {
  28875. "description": "商品代码(内部)",
  28876. "type": "string"
  28877. },
  28878. "goodscurrencyid": {
  28879. "description": "合约货币ID",
  28880. "type": "integer"
  28881. },
  28882. "goodsgroupid": {
  28883. "description": "所属商品组ID",
  28884. "type": "integer"
  28885. },
  28886. "goodsid": {
  28887. "description": "商品ID(自增ID SEQ_GOODS)",
  28888. "type": "integer"
  28889. },
  28890. "goodsname": {
  28891. "description": "商品名称",
  28892. "type": "string"
  28893. },
  28894. "goodsquotetype": {
  28895. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28896. "type": "integer"
  28897. },
  28898. "goodsstatus": {
  28899. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28900. "type": "integer"
  28901. },
  28902. "goodstradetype": {
  28903. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28904. "type": "integer"
  28905. },
  28906. "goodunitid": {
  28907. "description": "报价单位ID",
  28908. "type": "integer"
  28909. },
  28910. "hasquoter": {
  28911. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28912. "type": "integer"
  28913. },
  28914. "hqprotecttime": {
  28915. "description": "行情保护时间(秒)",
  28916. "type": "integer"
  28917. },
  28918. "innerdealmode": {
  28919. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28920. "type": "integer"
  28921. },
  28922. "isbuylimited": {
  28923. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28924. "type": "integer"
  28925. },
  28926. "isvisible": {
  28927. "description": "游客是否可见 - 0:不可见 1:可见",
  28928. "type": "integer"
  28929. },
  28930. "lasttradedate": {
  28931. "description": "最后交易日期(状态:待退市)",
  28932. "type": "string"
  28933. },
  28934. "listingdate": {
  28935. "description": "交易开始日期",
  28936. "type": "string"
  28937. },
  28938. "marketid": {
  28939. "description": "所属市场ID",
  28940. "type": "integer"
  28941. },
  28942. "modifierid": {
  28943. "description": "修改人",
  28944. "type": "integer"
  28945. },
  28946. "modifystatus": {
  28947. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28948. "type": "integer"
  28949. },
  28950. "modifytime": {
  28951. "description": "修改时间",
  28952. "type": "string"
  28953. },
  28954. "outerdealmode": {
  28955. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28956. "type": "integer"
  28957. },
  28958. "outgoodscode": {
  28959. "description": "商品代码(外部)",
  28960. "type": "string"
  28961. },
  28962. "pictureurl": {
  28963. "description": "商品图片",
  28964. "type": "string"
  28965. },
  28966. "qtydecimalplace": {
  28967. "description": "成交量小数位",
  28968. "type": "integer"
  28969. },
  28970. "quotegear": {
  28971. "description": "行情档位(1-10)",
  28972. "type": "integer"
  28973. },
  28974. "quoteminunit": {
  28975. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28976. "type": "integer"
  28977. },
  28978. "quoteshowtype": {
  28979. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28980. "type": "integer"
  28981. },
  28982. "quoteshowtypeinterval": {
  28983. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28984. "type": "integer"
  28985. },
  28986. "relatedgoodsid": {
  28987. "description": "关联参考商品ID",
  28988. "type": "integer"
  28989. },
  28990. "remark": {
  28991. "description": "备注",
  28992. "type": "string"
  28993. },
  28994. "trademode": {
  28995. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28996. "type": "integer"
  28997. }
  28998. }
  28999. },
  29000. "models.ErmcpGoodsBrand": {
  29001. "type": "object",
  29002. "properties": {
  29003. "areauserid": {
  29004. "description": "所属机构",
  29005. "type": "integer"
  29006. },
  29007. "brandid": {
  29008. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  29009. "type": "integer"
  29010. },
  29011. "brandname": {
  29012. "description": "品牌名称",
  29013. "type": "string"
  29014. },
  29015. "createtime": {
  29016. "description": "创建时间",
  29017. "type": "string"
  29018. },
  29019. "creatorid": {
  29020. "description": "创建人",
  29021. "type": "integer"
  29022. },
  29023. "creatorsrc": {
  29024. "description": "创建人来源 - 1:管理端 2:终端",
  29025. "type": "integer"
  29026. },
  29027. "deliverygoodsid": {
  29028. "description": "现货品种ID",
  29029. "type": "integer"
  29030. },
  29031. "isvalid": {
  29032. "description": "是否有效 - 0:无效 1:有效",
  29033. "type": "integer"
  29034. },
  29035. "updatetime": {
  29036. "description": "更新时间",
  29037. "type": "string"
  29038. },
  29039. "updatorid": {
  29040. "description": "更新人",
  29041. "type": "integer"
  29042. },
  29043. "updatorsrc": {
  29044. "description": "更新人来源 - 1:管理端 2:终端",
  29045. "type": "integer"
  29046. },
  29047. "wrstandardid": {
  29048. "description": "现货商品ID",
  29049. "type": "integer"
  29050. }
  29051. }
  29052. },
  29053. "models.ErmcpGoodsModel": {
  29054. "type": "object",
  29055. "properties": {
  29056. "areauserid": {
  29057. "description": "所属机构",
  29058. "type": "integer"
  29059. },
  29060. "convertfactor": {
  29061. "description": "标仓系数",
  29062. "type": "number"
  29063. },
  29064. "createtime": {
  29065. "description": "创建时间",
  29066. "type": "string"
  29067. },
  29068. "creatorid": {
  29069. "description": "创建人",
  29070. "type": "integer"
  29071. },
  29072. "creatorsrc": {
  29073. "description": "创建人来源 - 1:管理端 2:终端",
  29074. "type": "integer"
  29075. },
  29076. "deliverygoodsid": {
  29077. "description": "现货品种ID",
  29078. "type": "integer"
  29079. },
  29080. "isvalid": {
  29081. "description": "是否有效 - 0:无效 1:有效",
  29082. "type": "integer"
  29083. },
  29084. "modelid": {
  29085. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  29086. "type": "integer"
  29087. },
  29088. "modelname": {
  29089. "description": "型号名称",
  29090. "type": "string"
  29091. },
  29092. "updatetime": {
  29093. "description": "更新时间",
  29094. "type": "string"
  29095. },
  29096. "updatorid": {
  29097. "description": "更新人",
  29098. "type": "integer"
  29099. },
  29100. "updatorsrc": {
  29101. "description": "更新人来源 - 1:管理端 2:终端",
  29102. "type": "integer"
  29103. },
  29104. "wrstandardid": {
  29105. "description": "现货商品ID",
  29106. "type": "integer"
  29107. }
  29108. }
  29109. },
  29110. "models.ErmcpHisExposure": {
  29111. "type": "object",
  29112. "properties": {
  29113. "needhedgeexposoure": {
  29114. "description": "应套保敞口",
  29115. "type": "number"
  29116. },
  29117. "reckondate": {
  29118. "description": "日照时期(yyyyMMdd)",
  29119. "type": "string"
  29120. },
  29121. "totalexposure": {
  29122. "description": "总敞口",
  29123. "type": "number"
  29124. }
  29125. }
  29126. },
  29127. "models.ErmcpLoginTaAccount": {
  29128. "type": "object",
  29129. "properties": {
  29130. "accountid": {
  29131. "description": "账号id",
  29132. "type": "integer"
  29133. },
  29134. "accountname": {
  29135. "description": "账号名称",
  29136. "type": "string"
  29137. }
  29138. }
  29139. },
  29140. "models.ErmcpLoginUser": {
  29141. "type": "object",
  29142. "properties": {
  29143. "acclist": {
  29144. "description": "关联资金账号",
  29145. "type": "array",
  29146. "items": {
  29147. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  29148. }
  29149. },
  29150. "accountname": {
  29151. "description": "用户名称",
  29152. "type": "string"
  29153. },
  29154. "clientroleid": {
  29155. "description": "角色id(usertype=2)",
  29156. "type": "integer"
  29157. },
  29158. "createtime": {
  29159. "description": "创建时间",
  29160. "type": "string"
  29161. },
  29162. "logincode": {
  29163. "description": "登录代码",
  29164. "type": "string"
  29165. },
  29166. "loginid": {
  29167. "description": "登录id(LOGINID)",
  29168. "type": "integer"
  29169. },
  29170. "loginname": {
  29171. "description": "登录名称(loginaccount表中的accountname字段)",
  29172. "type": "string"
  29173. },
  29174. "loginstatus": {
  29175. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  29176. "type": "integer"
  29177. },
  29178. "memberuserid": {
  29179. "description": "所属会员id",
  29180. "type": "integer"
  29181. },
  29182. "mobile": {
  29183. "description": "手机号",
  29184. "type": "string"
  29185. },
  29186. "modifytime": {
  29187. "description": "修改时间",
  29188. "type": "string"
  29189. },
  29190. "password": {
  29191. "description": "密码(不可解密)",
  29192. "type": "string"
  29193. },
  29194. "rolename": {
  29195. "description": "角色名称",
  29196. "type": "string"
  29197. },
  29198. "rolestatus": {
  29199. "description": "角色状态 1-启用 2-停用",
  29200. "type": "integer"
  29201. },
  29202. "roletype": {
  29203. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  29204. "type": "string"
  29205. },
  29206. "userid": {
  29207. "description": "用户id",
  29208. "type": "integer"
  29209. },
  29210. "usertype": {
  29211. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29212. "type": "integer"
  29213. }
  29214. }
  29215. },
  29216. "models.ErmcpLoginUserEx": {
  29217. "type": "object",
  29218. "properties": {
  29219. "accountstatus": {
  29220. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29221. "type": "integer"
  29222. },
  29223. "mobile": {
  29224. "description": "手机号",
  29225. "type": "string"
  29226. },
  29227. "querytype": {
  29228. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  29229. "type": "integer"
  29230. },
  29231. "roleid": {
  29232. "description": "角色id(交易账户-\u003e用户id)",
  29233. "type": "integer"
  29234. },
  29235. "rolename": {
  29236. "description": "角色名称(交易账户-\u003e用户名称)",
  29237. "type": "string"
  29238. },
  29239. "userlist": {
  29240. "description": "用户列表",
  29241. "type": "array",
  29242. "items": {
  29243. "$ref": "#/definitions/models.ErmcpLoginUser"
  29244. }
  29245. },
  29246. "usertype": {
  29247. "description": "用户类型 2-机构 7-企业成员(云平台)",
  29248. "type": "integer"
  29249. }
  29250. }
  29251. },
  29252. "models.ErmcpMiddleGoodsModel": {
  29253. "type": "object",
  29254. "properties": {
  29255. "areauserid": {
  29256. "description": "机构用户ID",
  29257. "type": "integer"
  29258. },
  29259. "createtime": {
  29260. "description": "修改时间",
  29261. "type": "string"
  29262. },
  29263. "enumdicname": {
  29264. "description": "单位名称",
  29265. "type": "string"
  29266. },
  29267. "evaluateratio": {
  29268. "description": "估价系数",
  29269. "type": "number"
  29270. },
  29271. "goodsgroupid": {
  29272. "description": "关联期货品种ID",
  29273. "type": "integer"
  29274. },
  29275. "goodsunitid": {
  29276. "description": "单位ID",
  29277. "type": "integer"
  29278. },
  29279. "isvalid": {
  29280. "description": "状态 0-无效(停用) 1-有效(正常)",
  29281. "type": "integer"
  29282. },
  29283. "middlegoodscode": {
  29284. "description": "套保品种代码",
  29285. "type": "string"
  29286. },
  29287. "middlegoodsid": {
  29288. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  29289. "type": "integer"
  29290. },
  29291. "middlegoodsname": {
  29292. "description": "套保品种名称",
  29293. "type": "string"
  29294. },
  29295. "modifytime": {
  29296. "description": "修改时间",
  29297. "type": "string"
  29298. },
  29299. "needarbitrageratio": {
  29300. "description": "套利比例",
  29301. "type": "number"
  29302. },
  29303. "needhedgeratio": {
  29304. "description": "套保比率",
  29305. "type": "number"
  29306. },
  29307. "qtydecimalplace": {
  29308. "description": "数量小数位",
  29309. "type": "integer"
  29310. },
  29311. "relatedgoodsid": {
  29312. "description": "关联交易商品ID",
  29313. "type": "integer"
  29314. },
  29315. "relatedgoodstype": {
  29316. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  29317. "type": "integer"
  29318. },
  29319. "remark": {
  29320. "description": "备注",
  29321. "type": "string"
  29322. }
  29323. }
  29324. },
  29325. "models.ErmcpMiddlegoodsRelateGoods": {
  29326. "type": "object",
  29327. "properties": {
  29328. "agreeunit": {
  29329. "description": "合约乘数",
  29330. "type": "number"
  29331. },
  29332. "convertratio": {
  29333. "description": "折算系数",
  29334. "type": "number"
  29335. },
  29336. "enumdicname": {
  29337. "description": "单位名称(交易商品)",
  29338. "type": "string"
  29339. },
  29340. "goodscode": {
  29341. "description": "交易商品代码",
  29342. "type": "string"
  29343. },
  29344. "goodsgroupid": {
  29345. "description": "交易品种id",
  29346. "type": "integer"
  29347. },
  29348. "goodsid": {
  29349. "description": "商品Id",
  29350. "type": "integer"
  29351. },
  29352. "goodsname": {
  29353. "description": "交易商品名称",
  29354. "type": "string"
  29355. },
  29356. "goodunitid": {
  29357. "description": "交易商品单位id",
  29358. "type": "integer"
  29359. },
  29360. "middlegoodsid": {
  29361. "description": "套保商品id",
  29362. "type": "integer"
  29363. },
  29364. "middlegoodsname": {
  29365. "description": "套保商品名称",
  29366. "type": "string"
  29367. },
  29368. "middlegoodsswcode": {
  29369. "description": "套保商品代码",
  29370. "type": "string"
  29371. },
  29372. "needarbitrageratio": {
  29373. "description": "应套利比例",
  29374. "type": "number"
  29375. },
  29376. "needhedgeratio": {
  29377. "description": "应套保比例",
  29378. "type": "number"
  29379. }
  29380. }
  29381. },
  29382. "models.ErmcpRole": {
  29383. "type": "object",
  29384. "properties": {
  29385. "areauserid": {
  29386. "description": "所属机构",
  29387. "type": "integer"
  29388. },
  29389. "autoid": {
  29390. "description": "角色ID(自增ID)",
  29391. "type": "integer"
  29392. },
  29393. "modifierid": {
  29394. "description": "修改人(创建人)",
  29395. "type": "integer"
  29396. },
  29397. "modifiername": {
  29398. "description": "修改人名称",
  29399. "type": "string"
  29400. },
  29401. "modifytime": {
  29402. "description": "修改时间(创建时间)",
  29403. "type": "string"
  29404. },
  29405. "rolename": {
  29406. "description": "角色名称",
  29407. "type": "string"
  29408. },
  29409. "rolestatus": {
  29410. "description": "角色状态 - 1:启用 2:停用",
  29411. "type": "integer"
  29412. },
  29413. "roletype": {
  29414. "description": "角色类型 - 1- 管理端 2- 交易端",
  29415. "type": "integer"
  29416. }
  29417. }
  29418. },
  29419. "models.ErmcpRoleMenu": {
  29420. "type": "object",
  29421. "properties": {
  29422. "iconame": {
  29423. "description": "菜单图标",
  29424. "type": "string"
  29425. },
  29426. "ishadrole": {
  29427. "description": "是否有权限",
  29428. "type": "boolean"
  29429. },
  29430. "menutype": {
  29431. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  29432. "type": "integer"
  29433. },
  29434. "parentcode": {
  29435. "description": "上级资源代码",
  29436. "type": "string"
  29437. },
  29438. "remark": {
  29439. "description": "菜单备注",
  29440. "type": "string"
  29441. },
  29442. "resourcecode": {
  29443. "description": "菜单代码",
  29444. "type": "string"
  29445. },
  29446. "resourcelevel": {
  29447. "description": "级别",
  29448. "type": "integer"
  29449. },
  29450. "resourcename": {
  29451. "description": "菜单名称",
  29452. "type": "string"
  29453. },
  29454. "roleid": {
  29455. "description": "角色id",
  29456. "type": "integer"
  29457. },
  29458. "sort": {
  29459. "description": "排序",
  29460. "type": "integer"
  29461. },
  29462. "url": {
  29463. "description": "URL",
  29464. "type": "string"
  29465. },
  29466. "userid": {
  29467. "description": "用户id",
  29468. "type": "integer"
  29469. }
  29470. }
  29471. },
  29472. "models.ErmcpRoleMenuEx": {
  29473. "type": "object",
  29474. "properties": {
  29475. "menu": {
  29476. "description": "父级菜单",
  29477. "$ref": "#/definitions/models.ErmcpRoleMenu"
  29478. },
  29479. "subMenu": {
  29480. "description": "子级菜单",
  29481. "type": "array",
  29482. "items": {
  29483. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  29484. }
  29485. }
  29486. }
  29487. },
  29488. "models.ErmcpSpotContractModelEx": {
  29489. "type": "object",
  29490. "properties": {
  29491. "accountname": {
  29492. "description": "套期主体",
  29493. "type": "string"
  29494. },
  29495. "amount": {
  29496. "description": "金额 [1:一口价、3:暂定价]",
  29497. "type": "number"
  29498. },
  29499. "attachment": {
  29500. "description": "附件",
  29501. "type": "string"
  29502. },
  29503. "auditremark": {
  29504. "description": "审核意见",
  29505. "type": "string"
  29506. },
  29507. "audittime": {
  29508. "description": "审核时间",
  29509. "type": "string"
  29510. },
  29511. "avgprice": {
  29512. "description": "定价均价 = 已定价金额 / 已定价量",
  29513. "type": "number"
  29514. },
  29515. "brandname": {
  29516. "description": "品牌名称",
  29517. "type": "string"
  29518. },
  29519. "buyuserid": {
  29520. "description": "采购方ID",
  29521. "type": "integer"
  29522. },
  29523. "buyusername": {
  29524. "description": "采购方名称",
  29525. "type": "string"
  29526. },
  29527. "contracctstatus": {
  29528. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  29529. "type": "integer"
  29530. },
  29531. "contractmargin": {
  29532. "description": "合同保证金",
  29533. "type": "number"
  29534. },
  29535. "contractno": {
  29536. "description": "[合同编号]现货合同编号",
  29537. "type": "string"
  29538. },
  29539. "contracttype": {
  29540. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  29541. "type": "integer"
  29542. },
  29543. "convertfactor": {
  29544. "description": "标仓系数",
  29545. "type": "number"
  29546. },
  29547. "createtime": {
  29548. "description": "创建时间",
  29549. "type": "string"
  29550. },
  29551. "customername": {
  29552. "description": "对手方",
  29553. "type": "string"
  29554. },
  29555. "customeruserid": {
  29556. "description": "客户ID",
  29557. "type": "integer"
  29558. },
  29559. "deliveryenddate": {
  29560. "description": "交收期(结束)",
  29561. "type": "string"
  29562. },
  29563. "deliverygoodscode": {
  29564. "description": "现货品种代码",
  29565. "type": "string"
  29566. },
  29567. "deliverygoodsid": {
  29568. "description": "现货品种ID",
  29569. "type": "integer"
  29570. },
  29571. "deliverygoodsname": {
  29572. "description": "现货品种名称",
  29573. "type": "string"
  29574. },
  29575. "deliverystartdate": {
  29576. "description": "交收期(开始)",
  29577. "type": "string"
  29578. },
  29579. "enddate": {
  29580. "description": "点价结束日期 [2:点价 3:暂定价]",
  29581. "type": "string"
  29582. },
  29583. "enumdicname": {
  29584. "description": "单位名称",
  29585. "type": "string"
  29586. },
  29587. "goodscode": {
  29588. "description": "点价合约代码",
  29589. "type": "string"
  29590. },
  29591. "goodsid": {
  29592. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  29593. "type": "integer"
  29594. },
  29595. "goodsname": {
  29596. "description": "点价商品名称",
  29597. "type": "string"
  29598. },
  29599. "isrelated": {
  29600. "description": "是否已关联计划项目 - 0:否 1:是",
  29601. "type": "integer"
  29602. },
  29603. "isrelated2": {
  29604. "description": "是否已关联现货项目 - 0:否 1:是",
  29605. "type": "integer"
  29606. },
  29607. "margin": {
  29608. "description": "当前保证金",
  29609. "type": "number"
  29610. },
  29611. "modelname": {
  29612. "description": "型号名称",
  29613. "type": "string"
  29614. },
  29615. "price": {
  29616. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  29617. "type": "number"
  29618. },
  29619. "pricedamount": {
  29620. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  29621. "type": "number"
  29622. },
  29623. "pricedqty": {
  29624. "description": "已定价量",
  29625. "type": "number"
  29626. },
  29627. "pricemove": {
  29628. "description": "升贴水 [2:点价 3:暂定价]",
  29629. "type": "number"
  29630. },
  29631. "pricetype": {
  29632. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  29633. "type": "integer"
  29634. },
  29635. "producttype": {
  29636. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  29637. "type": "integer"
  29638. },
  29639. "qty": {
  29640. "description": "[合同数量]数量",
  29641. "type": "number"
  29642. },
  29643. "remark": {
  29644. "description": "备注",
  29645. "type": "string"
  29646. },
  29647. "selluserid": {
  29648. "description": "销售方ID",
  29649. "type": "integer"
  29650. },
  29651. "sellusername": {
  29652. "description": "销售方名称",
  29653. "type": "string"
  29654. },
  29655. "spotamount": {
  29656. "description": "合同现货金额 [不含升贴水]",
  29657. "type": "number"
  29658. },
  29659. "spotavgprice": {
  29660. "description": "现货均价 = 合同现货金额 / 已定价量",
  29661. "type": "number"
  29662. },
  29663. "spotcontractid": {
  29664. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  29665. "type": "string"
  29666. },
  29667. "spotgoodsbrandid": {
  29668. "description": "现货品牌ID",
  29669. "type": "integer"
  29670. },
  29671. "spotgoodsdesc": {
  29672. "description": "商品型号",
  29673. "type": "string"
  29674. },
  29675. "spotgoodsmodelid": {
  29676. "description": "现货型号ID",
  29677. "type": "integer"
  29678. },
  29679. "startdate": {
  29680. "description": "点价开始日期 [2:点价 3:暂定价]",
  29681. "type": "string"
  29682. },
  29683. "tradeuserid": {
  29684. "description": "交易用户ID",
  29685. "type": "integer"
  29686. },
  29687. "unpricedqty": {
  29688. "description": "未定价量 = 合同数量 - 已定价量",
  29689. "type": "number"
  29690. },
  29691. "updatetime": {
  29692. "description": "更新时间",
  29693. "type": "string"
  29694. },
  29695. "userid": {
  29696. "description": "机构ID",
  29697. "type": "integer"
  29698. },
  29699. "wrstandardcode": {
  29700. "description": "现货商品代码",
  29701. "type": "string"
  29702. },
  29703. "wrstandardid": {
  29704. "description": "现货商品ID",
  29705. "type": "integer"
  29706. },
  29707. "wrstandardname": {
  29708. "description": "[现货商品]现货商品名称",
  29709. "type": "string"
  29710. }
  29711. }
  29712. },
  29713. "models.ErmcpTaAccount": {
  29714. "type": "object",
  29715. "properties": {
  29716. "accountid": {
  29717. "description": "账户id",
  29718. "type": "integer"
  29719. },
  29720. "accountname": {
  29721. "description": "账户名称",
  29722. "type": "string"
  29723. },
  29724. "currencyid": {
  29725. "description": "币种id",
  29726. "type": "integer"
  29727. },
  29728. "hedgeaccountcode": {
  29729. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29730. "type": "string"
  29731. },
  29732. "ismain": {
  29733. "description": "是否主账户 0-否 1-是",
  29734. "type": "integer"
  29735. },
  29736. "parentaccountid": {
  29737. "description": "父账户id",
  29738. "type": "integer"
  29739. },
  29740. "relateduserid": {
  29741. "description": "关联userid",
  29742. "type": "integer"
  29743. },
  29744. "tradefeetmpid": {
  29745. "description": "手续费模板id",
  29746. "type": "integer"
  29747. },
  29748. "tradefeetmpname": {
  29749. "description": "手续费模板名称",
  29750. "type": "string"
  29751. },
  29752. "trademargintmpid": {
  29753. "description": "保证金模板id",
  29754. "type": "integer"
  29755. },
  29756. "trademargintmpname": {
  29757. "description": "保证金模板名称",
  29758. "type": "string"
  29759. },
  29760. "traderatetmpid": {
  29761. "description": "汇率模板id",
  29762. "type": "integer"
  29763. },
  29764. "traderatetmpname": {
  29765. "description": "汇率模板名称",
  29766. "type": "string"
  29767. },
  29768. "tradestatus": {
  29769. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29770. "type": "integer"
  29771. },
  29772. "userid": {
  29773. "description": "用户id",
  29774. "type": "integer"
  29775. }
  29776. }
  29777. },
  29778. "models.ErmcpTaAccountEx": {
  29779. "type": "object",
  29780. "properties": {
  29781. "mainAcc": {
  29782. "description": "主账号",
  29783. "$ref": "#/definitions/models.ErmcpTaAccountM"
  29784. },
  29785. "subacclist": {
  29786. "description": "子账号列表",
  29787. "type": "array",
  29788. "items": {
  29789. "$ref": "#/definitions/models.ErmcpTaAccount"
  29790. }
  29791. }
  29792. }
  29793. },
  29794. "models.ErmcpTaAccountInfo": {
  29795. "type": "object",
  29796. "properties": {
  29797. "accountid": {
  29798. "description": "资金账户ID",
  29799. "type": "integer"
  29800. },
  29801. "accountname": {
  29802. "description": "账户名称",
  29803. "type": "string"
  29804. },
  29805. "balance": {
  29806. "description": "期初余额",
  29807. "type": "number"
  29808. },
  29809. "capitalbalance": {
  29810. "description": "本金余额[外部子账户实际出入金余额]",
  29811. "type": "number"
  29812. },
  29813. "closepl": {
  29814. "description": "今日平仓盈亏",
  29815. "type": "number"
  29816. },
  29817. "creditdecrease": {
  29818. "description": "今日授信减少",
  29819. "type": "number"
  29820. },
  29821. "creditincrease": {
  29822. "description": "今日授信增加",
  29823. "type": "number"
  29824. },
  29825. "curdebt": {
  29826. "description": "期末欠款",
  29827. "type": "number"
  29828. },
  29829. "currencyid": {
  29830. "description": "货币ID",
  29831. "type": "integer"
  29832. },
  29833. "currentbalance": {
  29834. "description": "期末余额",
  29835. "type": "number"
  29836. },
  29837. "freezecharge": {
  29838. "description": "手续费冻结",
  29839. "type": "number"
  29840. },
  29841. "freezemargin": {
  29842. "description": "冻结保证金",
  29843. "type": "number"
  29844. },
  29845. "fromaccountid": {
  29846. "description": "所属上级账户",
  29847. "type": "integer"
  29848. },
  29849. "inamount": {
  29850. "description": "今日入金金额(包括三方入金)",
  29851. "type": "number"
  29852. },
  29853. "ismain": {
  29854. "description": "是否母账号 0:不是母账户 1:是母账户",
  29855. "type": "integer"
  29856. },
  29857. "mortgagecredit": {
  29858. "description": "授信金额",
  29859. "type": "number"
  29860. },
  29861. "oridebt": {
  29862. "description": "期初欠款",
  29863. "type": "number"
  29864. },
  29865. "orifreezecharge": {
  29866. "description": "期初手续费冻结",
  29867. "type": "number"
  29868. },
  29869. "orifreezemargin": {
  29870. "description": "期初冻结保证金",
  29871. "type": "number"
  29872. },
  29873. "orimortgagecredit": {
  29874. "description": "期初授信金额",
  29875. "type": "number"
  29876. },
  29877. "oriothercredit": {
  29878. "description": "期初其它授信金额",
  29879. "type": "number"
  29880. },
  29881. "oriotherfreezemargin": {
  29882. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29883. "type": "number"
  29884. },
  29885. "orioutamountfreeze": {
  29886. "description": "期初出金冻结",
  29887. "type": "number"
  29888. },
  29889. "oriusedmargin": {
  29890. "description": "期初占用保证金",
  29891. "type": "number"
  29892. },
  29893. "othercredit": {
  29894. "description": "其它授信金额",
  29895. "type": "number"
  29896. },
  29897. "othercreditdecrease": {
  29898. "description": "今日其它授信减少",
  29899. "type": "number"
  29900. },
  29901. "othercreditincrease": {
  29902. "description": "今日其它授信增加",
  29903. "type": "number"
  29904. },
  29905. "otherfreezemargin": {
  29906. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29907. "type": "number"
  29908. },
  29909. "outamount": {
  29910. "description": "今日出金金额(包括三方出金)",
  29911. "type": "number"
  29912. },
  29913. "outamountfreeze": {
  29914. "description": "出金冻结",
  29915. "type": "number"
  29916. },
  29917. "outthreshold": {
  29918. "description": "出金阈值",
  29919. "type": "number"
  29920. },
  29921. "parentaccountid": {
  29922. "description": "所属根账号",
  29923. "type": "integer"
  29924. },
  29925. "paycharge": {
  29926. "description": "今日手续费支出",
  29927. "type": "number"
  29928. },
  29929. "relateduserid": {
  29930. "description": "关联用户",
  29931. "type": "integer"
  29932. },
  29933. "signstatus": {
  29934. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29935. "type": "integer"
  29936. },
  29937. "sublevelpath": {
  29938. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29939. "type": "string"
  29940. },
  29941. "taaccounttype": {
  29942. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29943. "type": "integer"
  29944. },
  29945. "thirdinamount": {
  29946. "description": "今日三方入金",
  29947. "type": "number"
  29948. },
  29949. "thirdoutamount": {
  29950. "description": "今日三方出金",
  29951. "type": "number"
  29952. },
  29953. "tradestatus": {
  29954. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29955. "type": "integer"
  29956. },
  29957. "transferamount": {
  29958. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29959. "type": "number"
  29960. },
  29961. "usedmargin": {
  29962. "description": "占用保证金",
  29963. "type": "number"
  29964. },
  29965. "userid": {
  29966. "description": "用户ID",
  29967. "type": "integer"
  29968. }
  29969. }
  29970. },
  29971. "models.ErmcpTaAccountM": {
  29972. "type": "object",
  29973. "properties": {
  29974. "accountid": {
  29975. "description": "账户id",
  29976. "type": "integer"
  29977. },
  29978. "accountname": {
  29979. "description": "账户名称",
  29980. "type": "string"
  29981. },
  29982. "currencyid": {
  29983. "description": "币种id",
  29984. "type": "integer"
  29985. },
  29986. "fcid": {
  29987. "description": "期货公司id",
  29988. "type": "integer"
  29989. },
  29990. "fcname": {
  29991. "description": "期货公司代码",
  29992. "type": "string"
  29993. },
  29994. "hedgeaccountcode": {
  29995. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29996. "type": "string"
  29997. },
  29998. "ismain": {
  29999. "description": "是否主账户 0-否 1-是",
  30000. "type": "integer"
  30001. },
  30002. "parentaccountid": {
  30003. "description": "父账户id",
  30004. "type": "integer"
  30005. },
  30006. "relateduserid": {
  30007. "description": "关联userid",
  30008. "type": "integer"
  30009. },
  30010. "tradefeetmpid": {
  30011. "description": "手续费模板id",
  30012. "type": "integer"
  30013. },
  30014. "tradefeetmpname": {
  30015. "description": "手续费模板名称",
  30016. "type": "string"
  30017. },
  30018. "trademargintmpid": {
  30019. "description": "保证金模板id",
  30020. "type": "integer"
  30021. },
  30022. "trademargintmpname": {
  30023. "description": "保证金模板名称",
  30024. "type": "string"
  30025. },
  30026. "traderatetmpid": {
  30027. "description": "汇率模板id",
  30028. "type": "integer"
  30029. },
  30030. "traderatetmpname": {
  30031. "description": "汇率模板名称",
  30032. "type": "string"
  30033. },
  30034. "tradestatus": {
  30035. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30036. "type": "integer"
  30037. },
  30038. "userid": {
  30039. "description": "用户id",
  30040. "type": "integer"
  30041. }
  30042. }
  30043. },
  30044. "models.ErmcpTradeConfigTMP": {
  30045. "type": "object",
  30046. "properties": {
  30047. "areauserid": {
  30048. "description": "所属机构",
  30049. "type": "integer"
  30050. },
  30051. "basiccurrencyid": {
  30052. "description": "基本币种ID[汇率] - 目标币种",
  30053. "type": "integer"
  30054. },
  30055. "mainaccountid": {
  30056. "description": "主账户ID",
  30057. "type": "integer"
  30058. },
  30059. "modifierid": {
  30060. "description": "修改人",
  30061. "type": "integer"
  30062. },
  30063. "remark": {
  30064. "description": "备注",
  30065. "type": "string"
  30066. },
  30067. "tradeconfigtmpid": {
  30068. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  30069. "type": "integer"
  30070. },
  30071. "tradeconfigtmpname": {
  30072. "description": "交易配置模板名称",
  30073. "type": "string"
  30074. },
  30075. "tradeconfigtmptype": {
  30076. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  30077. "type": "integer"
  30078. },
  30079. "updatetime": {
  30080. "description": "更新时间",
  30081. "type": "string"
  30082. }
  30083. }
  30084. },
  30085. "models.Ermcpjrlinkpos": {
  30086. "type": "object",
  30087. "required": [
  30088. "spotcontractid"
  30089. ],
  30090. "properties": {
  30091. "areauserid": {
  30092. "description": "所属企业",
  30093. "type": "integer"
  30094. },
  30095. "averageprice": {
  30096. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  30097. "type": "number"
  30098. },
  30099. "closepl": {
  30100. "description": "总平仓盈亏 [期货损益]",
  30101. "type": "number"
  30102. },
  30103. "executeprice": {
  30104. "description": "执行价 - 1:期货单 为 0",
  30105. "type": "integer"
  30106. },
  30107. "futurehedgeqty": {
  30108. "description": "期货套期量",
  30109. "type": "number"
  30110. },
  30111. "goodsid": {
  30112. "description": "期货合约",
  30113. "type": "integer"
  30114. },
  30115. "middlegoodscode": {
  30116. "description": "套保商品代码",
  30117. "type": "string"
  30118. },
  30119. "middlegoodsname": {
  30120. "description": "套保商品名称",
  30121. "type": "string"
  30122. },
  30123. "netqty": {
  30124. "description": "净头寸",
  30125. "type": "number"
  30126. },
  30127. "optioncode": {
  30128. "description": "期权代码",
  30129. "type": "string"
  30130. },
  30131. "ordertype": {
  30132. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  30133. "type": "integer"
  30134. },
  30135. "reckonpl": {
  30136. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  30137. "type": "number"
  30138. },
  30139. "spotcontractid": {
  30140. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  30141. "type": "string"
  30142. },
  30143. "todayfutureclosepl": {
  30144. "description": "今日平仓盈亏",
  30145. "type": "number"
  30146. },
  30147. "totalbuyamount": {
  30148. "description": "买金额 [期货]",
  30149. "type": "number"
  30150. },
  30151. "totalbuyholdamount": {
  30152. "description": "买持仓总金额[期货]",
  30153. "type": "number"
  30154. },
  30155. "totalbuyqty": {
  30156. "description": "买数量",
  30157. "type": "number"
  30158. },
  30159. "totalcharge": {
  30160. "description": "手续费",
  30161. "type": "number"
  30162. },
  30163. "totalpremium": {
  30164. "description": "权利金 [期权]",
  30165. "type": "number"
  30166. },
  30167. "totalsellamount": {
  30168. "description": "卖金额 [期货]",
  30169. "type": "number"
  30170. },
  30171. "totalsellholdamount": {
  30172. "description": "卖持仓总金额[期货]",
  30173. "type": "number"
  30174. },
  30175. "totalsellqty": {
  30176. "description": "卖数量",
  30177. "type": "number"
  30178. },
  30179. "updatetime": {
  30180. "description": "更新时间",
  30181. "type": "string"
  30182. }
  30183. }
  30184. },
  30185. "models.Ermcppatradelinkdetail": {
  30186. "type": "object",
  30187. "required": [
  30188. "hedgeditemid"
  30189. ],
  30190. "properties": {
  30191. "agreeunit": {
  30192. "description": "合约乘数",
  30193. "type": "number"
  30194. },
  30195. "amount": {
  30196. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  30197. "type": "number"
  30198. },
  30199. "areauserid": {
  30200. "description": "所属机构",
  30201. "type": "integer"
  30202. },
  30203. "bizsubjectid": {
  30204. "description": "归属业务部门ID - SubjectID",
  30205. "type": "integer"
  30206. },
  30207. "buyorsell": {
  30208. "description": "方向 - 0:买 1:卖",
  30209. "type": "integer"
  30210. },
  30211. "convertratio": {
  30212. "description": "品种系数",
  30213. "type": "number"
  30214. },
  30215. "createtime": {
  30216. "description": "创建时间",
  30217. "type": "string"
  30218. },
  30219. "creatorid": {
  30220. "description": "创建人ID",
  30221. "type": "integer"
  30222. },
  30223. "creatorsrc": {
  30224. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30225. "type": "integer"
  30226. },
  30227. "goodsgroupid": {
  30228. "description": "对冲品种ID[期货合约商品组ID]",
  30229. "type": "integer"
  30230. },
  30231. "goodsid": {
  30232. "description": "商品ID",
  30233. "type": "integer"
  30234. },
  30235. "hedgeditemid": {
  30236. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30237. "type": "integer"
  30238. },
  30239. "hedgeflag": {
  30240. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30241. "type": "integer"
  30242. },
  30243. "linkdetailid": {
  30244. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30245. "type": "string"
  30246. },
  30247. "linkstatus": {
  30248. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30249. "type": "integer"
  30250. },
  30251. "middlegoodsid": {
  30252. "description": "套保品种ID",
  30253. "type": "integer"
  30254. },
  30255. "name": {
  30256. "description": "账户名/子账户",
  30257. "type": "string"
  30258. },
  30259. "optioncode": {
  30260. "description": "[期货合约]期权代码 [期权]",
  30261. "type": "string"
  30262. },
  30263. "ordertype": {
  30264. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  30265. "type": "integer"
  30266. },
  30267. "relatedlot": {
  30268. "description": "[数量]关联手数",
  30269. "type": "number"
  30270. },
  30271. "relatedmode": {
  30272. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30273. "type": "integer"
  30274. },
  30275. "relatedqty": {
  30276. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30277. "type": "number"
  30278. },
  30279. "retcode": {
  30280. "description": "返回码",
  30281. "type": "integer"
  30282. },
  30283. "saleuserid": {
  30284. "description": "业务员ID",
  30285. "type": "integer"
  30286. },
  30287. "tradedate": {
  30288. "description": "关联交易日(yyyyMMdd)",
  30289. "type": "string"
  30290. },
  30291. "tradeid": {
  30292. "description": "[成交单号]内部成交单ID",
  30293. "type": "string"
  30294. },
  30295. "tradelot": {
  30296. "description": "成交手数",
  30297. "type": "integer"
  30298. },
  30299. "tradeprice": {
  30300. "description": "[价格]成交价格",
  30301. "type": "number"
  30302. },
  30303. "tradetime": {
  30304. "description": "日期时间",
  30305. "type": "string"
  30306. },
  30307. "tradetradedate": {
  30308. "description": "成交交易日(yyyyMMdd)",
  30309. "type": "string"
  30310. }
  30311. }
  30312. },
  30313. "models.Exchangerateconfig": {
  30314. "type": "object",
  30315. "properties": {
  30316. "descurrencyid": {
  30317. "description": "目标币种ID",
  30318. "type": "integer"
  30319. },
  30320. "exchangerate": {
  30321. "description": "汇率",
  30322. "type": "number"
  30323. },
  30324. "oricurrencyid": {
  30325. "description": "源币种ID",
  30326. "type": "integer"
  30327. },
  30328. "remark": {
  30329. "description": "备注",
  30330. "type": "string"
  30331. }
  30332. }
  30333. },
  30334. "models.Externalexchange": {
  30335. "type": "object",
  30336. "required": [
  30337. "autoid"
  30338. ],
  30339. "properties": {
  30340. "autoid": {
  30341. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  30342. "type": "integer"
  30343. },
  30344. "exchangefullname": {
  30345. "description": "外部交易所全称",
  30346. "type": "string"
  30347. },
  30348. "exexchangecode": {
  30349. "description": "外部交易所代码",
  30350. "type": "string"
  30351. },
  30352. "exexchangename": {
  30353. "description": "外部交易所名称(简称)",
  30354. "type": "string"
  30355. },
  30356. "ismarketprice": {
  30357. "description": "是否支持市价 - 0:不支持 1:支持",
  30358. "type": "integer"
  30359. },
  30360. "quotegear": {
  30361. "description": "行情档位(1-10)",
  30362. "type": "integer"
  30363. },
  30364. "showbrokerflag": {
  30365. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  30366. "type": "integer"
  30367. },
  30368. "updatetime": {
  30369. "description": "更新时间",
  30370. "type": "string"
  30371. }
  30372. }
  30373. },
  30374. "models.Funcmenulist": {
  30375. "type": "object",
  30376. "required": [
  30377. "resourcecode"
  30378. ],
  30379. "properties": {
  30380. "iconame": {
  30381. "description": "菜单图标",
  30382. "type": "string"
  30383. },
  30384. "menutype": {
  30385. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  30386. "type": "integer"
  30387. },
  30388. "parentcode": {
  30389. "description": "上级资源代码",
  30390. "type": "string"
  30391. },
  30392. "remark": {
  30393. "description": "备注",
  30394. "type": "string"
  30395. },
  30396. "resourcecode": {
  30397. "description": "资源代码",
  30398. "type": "string"
  30399. },
  30400. "resourcelevel": {
  30401. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  30402. "type": "integer"
  30403. },
  30404. "resourcename": {
  30405. "description": "资源名",
  30406. "type": "string"
  30407. },
  30408. "sort": {
  30409. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  30410. "type": "integer"
  30411. },
  30412. "url": {
  30413. "description": "URL",
  30414. "type": "string"
  30415. }
  30416. }
  30417. },
  30418. "models.GZGoods": {
  30419. "type": "object",
  30420. "required": [
  30421. "goodsno"
  30422. ],
  30423. "properties": {
  30424. "cerno": {
  30425. "description": "证书编号 - 类型:2,4,5",
  30426. "type": "string"
  30427. },
  30428. "cpcertno": {
  30429. "description": "金伯利证书编号 - 类型:3",
  30430. "type": "string"
  30431. },
  30432. "goodsno": {
  30433. "description": "商品编号",
  30434. "type": "string"
  30435. },
  30436. "imagepath": {
  30437. "description": "商品照片(相对地址)",
  30438. "type": "string"
  30439. },
  30440. "isvalid": {
  30441. "description": "是否有效 - 0:无效 1:有效",
  30442. "type": "integer"
  30443. },
  30444. "kppath": {
  30445. "description": "金伯利证书图片(相对地址) - 类型:3",
  30446. "type": "string"
  30447. },
  30448. "kpweight": {
  30449. "description": "金伯利证书重量 - 类型:3",
  30450. "type": "string"
  30451. },
  30452. "marketprice": {
  30453. "description": "市场价",
  30454. "type": "string"
  30455. },
  30456. "mobile": {
  30457. "description": "手机号码",
  30458. "type": "string"
  30459. },
  30460. "origin": {
  30461. "description": "原产地 - 类型:3",
  30462. "type": "string"
  30463. },
  30464. "performancetemplateid": {
  30465. "description": "履约计划模板ID",
  30466. "type": "integer"
  30467. },
  30468. "price": {
  30469. "description": "总价(价格) - 类型:1,2,3,4,5",
  30470. "type": "number"
  30471. },
  30472. "priceper": {
  30473. "description": "克拉单价 - 类型:1,2,3,5",
  30474. "type": "string"
  30475. },
  30476. "remainqty": {
  30477. "description": "剩余重量",
  30478. "type": "number"
  30479. },
  30480. "remark": {
  30481. "description": "备注",
  30482. "type": "string"
  30483. },
  30484. "sellusername": {
  30485. "description": "账户名称(机构名称)",
  30486. "type": "string"
  30487. },
  30488. "settingmaterial": {
  30489. "description": "镶嵌材料 - 类型:4",
  30490. "type": "string"
  30491. },
  30492. "size1": {
  30493. "description": "尺寸1 - 类型:2,4,5",
  30494. "type": "string"
  30495. },
  30496. "size2": {
  30497. "description": "尺寸2 - 类型:2,4,5",
  30498. "type": "string"
  30499. },
  30500. "size3": {
  30501. "description": "尺寸3 - 类型:2,4,5",
  30502. "type": "string"
  30503. },
  30504. "stonedesc": {
  30505. "description": "配石描述 - 类型:4",
  30506. "type": "string"
  30507. },
  30508. "userid": {
  30509. "description": "用户ID",
  30510. "type": "integer"
  30511. },
  30512. "warehouseid": {
  30513. "description": "仓库ID",
  30514. "type": "integer"
  30515. },
  30516. "warehousenamedisplay": {
  30517. "type": "string"
  30518. },
  30519. "weight": {
  30520. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  30521. "type": "number"
  30522. },
  30523. "weightavg": {
  30524. "description": "平均单颗重量 - 类型:1,3",
  30525. "type": "number"
  30526. },
  30527. "wrpath": {
  30528. "description": "仓单扫描件(相对地址)",
  30529. "type": "string"
  30530. },
  30531. "wrstandardid": {
  30532. "description": "现货商品ID",
  30533. "type": "integer"
  30534. },
  30535. "wrtradeorderid": {
  30536. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30537. "type": "string"
  30538. },
  30539. "zscategory": {
  30540. "description": "钻石分类 - 枚举”ZSCategory“",
  30541. "type": "integer"
  30542. },
  30543. "zscategorydisplay": {
  30544. "type": "string"
  30545. },
  30546. "zscerttype": {
  30547. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  30548. "type": "integer"
  30549. },
  30550. "zscerttypedisplay": {
  30551. "type": "string"
  30552. },
  30553. "zsclaritytype1": {
  30554. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  30555. "type": "integer"
  30556. },
  30557. "zsclaritytype1display": {
  30558. "type": "string"
  30559. },
  30560. "zsclaritytype2": {
  30561. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  30562. "type": "integer"
  30563. },
  30564. "zsclaritytype2display": {
  30565. "type": "string"
  30566. },
  30567. "zscolortype1": {
  30568. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  30569. "type": "integer"
  30570. },
  30571. "zscolortype1display": {
  30572. "type": "string"
  30573. },
  30574. "zscolortype2": {
  30575. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  30576. "type": "integer"
  30577. },
  30578. "zscolortype2display": {
  30579. "type": "string"
  30580. },
  30581. "zscrystaltype": {
  30582. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  30583. "type": "string"
  30584. },
  30585. "zscrystaltypedisplay": {
  30586. "type": "string"
  30587. },
  30588. "zscurrencytype": {
  30589. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30590. "type": "integer"
  30591. },
  30592. "zscurrencytypedisplay": {
  30593. "type": "string"
  30594. },
  30595. "zscurrencytypedisplayunit": {
  30596. "type": "string"
  30597. },
  30598. "zscuttype1": {
  30599. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  30600. "type": "integer"
  30601. },
  30602. "zscuttype1display": {
  30603. "type": "string"
  30604. },
  30605. "zscuttype2": {
  30606. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  30607. "type": "integer"
  30608. },
  30609. "zscuttype2display": {
  30610. "type": "string"
  30611. },
  30612. "zsczcolor1type": {
  30613. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  30614. "type": "integer"
  30615. },
  30616. "zsczcolor1typedisplay": {
  30617. "type": "string"
  30618. },
  30619. "zsczcolor2type": {
  30620. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  30621. "type": "integer"
  30622. },
  30623. "zsczcolor2typedisplay": {
  30624. "type": "string"
  30625. },
  30626. "zsczcolor3type": {
  30627. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  30628. "type": "integer"
  30629. },
  30630. "zsczcolor3typedisplay": {
  30631. "type": "string"
  30632. },
  30633. "zsfluorescencetype1": {
  30634. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  30635. "type": "integer"
  30636. },
  30637. "zsfluorescencetype1display": {
  30638. "type": "string"
  30639. },
  30640. "zsfluorescencetype2": {
  30641. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  30642. "type": "integer"
  30643. },
  30644. "zsfluorescencetype2display": {
  30645. "type": "string"
  30646. },
  30647. "zspolishtype1": {
  30648. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  30649. "type": "integer"
  30650. },
  30651. "zspolishtype1display": {
  30652. "type": "string"
  30653. },
  30654. "zspolishtype2": {
  30655. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  30656. "type": "integer"
  30657. },
  30658. "zspolishtype2display": {
  30659. "type": "string"
  30660. },
  30661. "zsshapetype": {
  30662. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  30663. "type": "string"
  30664. },
  30665. "zsshapetypedisplay": {
  30666. "type": "string"
  30667. },
  30668. "zsstyletype": {
  30669. "description": "款式 - 类型:4",
  30670. "type": "integer"
  30671. },
  30672. "zsstyletypedisplay": {
  30673. "type": "string"
  30674. },
  30675. "zssymmetrytype1": {
  30676. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  30677. "type": "integer"
  30678. },
  30679. "zssymmetrytype1display": {
  30680. "type": "string"
  30681. },
  30682. "zssymmetrytype2": {
  30683. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  30684. "type": "integer"
  30685. },
  30686. "zssymmetrytype2display": {
  30687. "type": "string"
  30688. }
  30689. }
  30690. },
  30691. "models.GZHomeData": {
  30692. "type": "object",
  30693. "properties": {
  30694. "purchasedtransactions": {
  30695. "description": "已购买的交易",
  30696. "type": "integer"
  30697. },
  30698. "transactioninpurchase": {
  30699. "description": "求购中的交易",
  30700. "type": "integer"
  30701. },
  30702. "transactionsonsale": {
  30703. "description": "出售中的交易",
  30704. "type": "integer"
  30705. },
  30706. "transactionssold": {
  30707. "description": "已卖出的交易",
  30708. "type": "integer"
  30709. },
  30710. "unhandledmessage": {
  30711. "description": "未处理消息",
  30712. "type": "integer"
  30713. }
  30714. }
  30715. },
  30716. "models.GZWarehouseinfo": {
  30717. "type": "object",
  30718. "properties": {
  30719. "address": {
  30720. "description": "详细地址",
  30721. "type": "string"
  30722. },
  30723. "areauserid": {
  30724. "description": "所属机构",
  30725. "type": "integer"
  30726. },
  30727. "autoid": {
  30728. "description": "自增ID",
  30729. "type": "integer"
  30730. },
  30731. "cityid": {
  30732. "description": "市",
  30733. "type": "integer"
  30734. },
  30735. "contactname": {
  30736. "description": "联系人",
  30737. "type": "string"
  30738. },
  30739. "contactnum": {
  30740. "description": "联系电话",
  30741. "type": "string"
  30742. },
  30743. "countryid": {
  30744. "description": "国家",
  30745. "type": "integer"
  30746. },
  30747. "createtime": {
  30748. "description": "创建时间",
  30749. "type": "string"
  30750. },
  30751. "districtid": {
  30752. "description": "区",
  30753. "type": "integer"
  30754. },
  30755. "hasvideo": {
  30756. "description": "是否有视频 - 0:无 1:有",
  30757. "type": "integer"
  30758. },
  30759. "provinceid": {
  30760. "description": "省",
  30761. "type": "integer"
  30762. },
  30763. "remark": {
  30764. "description": "审核备注",
  30765. "type": "string"
  30766. },
  30767. "videourl": {
  30768. "description": "视频地址",
  30769. "type": "string"
  30770. },
  30771. "warehousecode": {
  30772. "description": "仓库代码",
  30773. "type": "string"
  30774. },
  30775. "warehousename": {
  30776. "description": "仓库名称",
  30777. "type": "string"
  30778. },
  30779. "warehousestatus": {
  30780. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30781. "type": "integer"
  30782. },
  30783. "warehousetype": {
  30784. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30785. "type": "integer"
  30786. }
  30787. }
  30788. },
  30789. "models.Goods": {
  30790. "type": "object",
  30791. "required": [
  30792. "goodscode",
  30793. "goodsid",
  30794. "goodsname",
  30795. "marketid"
  30796. ],
  30797. "properties": {
  30798. "agreeunit": {
  30799. "description": "合约单位",
  30800. "type": "number"
  30801. },
  30802. "areauserid": {
  30803. "description": "所属机构",
  30804. "type": "integer"
  30805. },
  30806. "auditaccountid": {
  30807. "description": "审核操作员账号",
  30808. "type": "integer"
  30809. },
  30810. "audittime": {
  30811. "description": "审核时间",
  30812. "type": "string"
  30813. },
  30814. "cancelaccountid": {
  30815. "description": "注销操作员账号",
  30816. "type": "integer"
  30817. },
  30818. "canceltime": {
  30819. "description": "注销时间",
  30820. "type": "string"
  30821. },
  30822. "closepricemode": {
  30823. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30824. "type": "integer"
  30825. },
  30826. "closepriceparam": {
  30827. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30828. "type": "number"
  30829. },
  30830. "createtime": {
  30831. "description": "创建时间",
  30832. "type": "string"
  30833. },
  30834. "creatorid": {
  30835. "description": "创建人",
  30836. "type": "integer"
  30837. },
  30838. "currencyid": {
  30839. "description": "报价货币ID",
  30840. "type": "integer"
  30841. },
  30842. "cutmode": {
  30843. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30844. "type": "integer"
  30845. },
  30846. "decimalplace": {
  30847. "description": "报价小数位",
  30848. "type": "integer"
  30849. },
  30850. "delistingdate": {
  30851. "description": "商品退市时间(状态:退市) -- 已作废",
  30852. "type": "string"
  30853. },
  30854. "delistingmode": {
  30855. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30856. "type": "integer"
  30857. },
  30858. "deliveryflag": {
  30859. "description": "交割标志 - 0:不可交割 1:可交割",
  30860. "type": "integer"
  30861. },
  30862. "forceclosemode": {
  30863. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30864. "type": "integer"
  30865. },
  30866. "forceclosevalue": {
  30867. "description": "定期强平参数 [收益权]",
  30868. "type": "integer"
  30869. },
  30870. "goodscode": {
  30871. "description": "商品代码(内部)",
  30872. "type": "string"
  30873. },
  30874. "goodscurrencyid": {
  30875. "description": "合约货币ID",
  30876. "type": "integer"
  30877. },
  30878. "goodsgroupid": {
  30879. "description": "所属商品组ID",
  30880. "type": "integer"
  30881. },
  30882. "goodsid": {
  30883. "description": "商品ID(自增ID SEQ_GOODS)",
  30884. "type": "integer"
  30885. },
  30886. "goodsname": {
  30887. "description": "商品名称",
  30888. "type": "string"
  30889. },
  30890. "goodsquotetype": {
  30891. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30892. "type": "integer"
  30893. },
  30894. "goodsstatus": {
  30895. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30896. "type": "integer"
  30897. },
  30898. "goodstradetype": {
  30899. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30900. "type": "integer"
  30901. },
  30902. "goodunitid": {
  30903. "description": "报价单位ID",
  30904. "type": "integer"
  30905. },
  30906. "hasquoter": {
  30907. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30908. "type": "integer"
  30909. },
  30910. "hqprotecttime": {
  30911. "description": "行情保护时间(秒)",
  30912. "type": "integer"
  30913. },
  30914. "innerdealmode": {
  30915. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30916. "type": "integer"
  30917. },
  30918. "isbuylimited": {
  30919. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30920. "type": "integer"
  30921. },
  30922. "isvisible": {
  30923. "description": "游客是否可见 - 0:不可见 1:可见",
  30924. "type": "integer"
  30925. },
  30926. "lasttradedate": {
  30927. "description": "最后交易日期(状态:待退市)",
  30928. "type": "string"
  30929. },
  30930. "listingdate": {
  30931. "description": "交易开始日期",
  30932. "type": "string"
  30933. },
  30934. "marketid": {
  30935. "description": "所属市场ID",
  30936. "type": "integer"
  30937. },
  30938. "modifierid": {
  30939. "description": "修改人",
  30940. "type": "integer"
  30941. },
  30942. "modifystatus": {
  30943. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30944. "type": "integer"
  30945. },
  30946. "modifytime": {
  30947. "description": "修改时间",
  30948. "type": "string"
  30949. },
  30950. "outerdealmode": {
  30951. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30952. "type": "integer"
  30953. },
  30954. "outgoodscode": {
  30955. "description": "商品代码(外部)",
  30956. "type": "string"
  30957. },
  30958. "pictureurl": {
  30959. "description": "商品图片",
  30960. "type": "string"
  30961. },
  30962. "qtydecimalplace": {
  30963. "description": "成交量小数位",
  30964. "type": "integer"
  30965. },
  30966. "quotegear": {
  30967. "description": "行情档位(1-10)",
  30968. "type": "integer"
  30969. },
  30970. "quoteminunit": {
  30971. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30972. "type": "integer"
  30973. },
  30974. "quoteshowtype": {
  30975. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30976. "type": "integer"
  30977. },
  30978. "quoteshowtypeinterval": {
  30979. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30980. "type": "integer"
  30981. },
  30982. "remark": {
  30983. "description": "备注",
  30984. "type": "string"
  30985. }
  30986. }
  30987. },
  30988. "models.GoodsIDAndName": {
  30989. "type": "object",
  30990. "required": [
  30991. "goodscode",
  30992. "goodsid",
  30993. "goodsname",
  30994. "marketid"
  30995. ],
  30996. "properties": {
  30997. "goodscode": {
  30998. "description": "商品代码(内部)",
  30999. "type": "string"
  31000. },
  31001. "goodsid": {
  31002. "description": "商品ID(自增ID SEQ_GOODS)",
  31003. "type": "integer"
  31004. },
  31005. "goodsname": {
  31006. "description": "商品名称",
  31007. "type": "string"
  31008. },
  31009. "marketid": {
  31010. "description": "所属市场ID",
  31011. "type": "integer"
  31012. }
  31013. }
  31014. },
  31015. "models.Goodsgroup": {
  31016. "type": "object",
  31017. "required": [
  31018. "goodsgroupid",
  31019. "goodsgroupname",
  31020. "goodsgroupstatus",
  31021. "marketid"
  31022. ],
  31023. "properties": {
  31024. "agreeunit": {
  31025. "description": "合约单位",
  31026. "type": "number"
  31027. },
  31028. "canshort": {
  31029. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  31030. "type": "integer"
  31031. },
  31032. "closepricemode": {
  31033. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  31034. "type": "integer"
  31035. },
  31036. "closepriceparam": {
  31037. "description": "强平最新价浮动比例 - 方式为2时使用",
  31038. "type": "number"
  31039. },
  31040. "createtime": {
  31041. "description": "创建时间",
  31042. "type": "string"
  31043. },
  31044. "creatorid": {
  31045. "description": "创建人",
  31046. "type": "integer"
  31047. },
  31048. "currencyid": {
  31049. "description": "报价货币ID",
  31050. "type": "integer"
  31051. },
  31052. "decimalplace": {
  31053. "description": "报价小数位",
  31054. "type": "integer"
  31055. },
  31056. "exercisetype": {
  31057. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  31058. "type": "integer"
  31059. },
  31060. "exexchangeid": {
  31061. "description": "外部交易所ID[通道交易]",
  31062. "type": "integer"
  31063. },
  31064. "goodsgroupid": {
  31065. "description": "商品组ID(自增ID)",
  31066. "type": "integer"
  31067. },
  31068. "goodsgroupname": {
  31069. "description": "商品组名称",
  31070. "type": "string"
  31071. },
  31072. "goodsgroupstatus": {
  31073. "description": "商品组状态 - 1:正常 2:注销",
  31074. "type": "integer"
  31075. },
  31076. "goodunitid": {
  31077. "description": "报价单位ID",
  31078. "type": "integer"
  31079. },
  31080. "innerdealmode": {
  31081. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  31082. "type": "integer"
  31083. },
  31084. "isbuylimited": {
  31085. "description": "是否限制建仓量 - 0:不限制 1:限制",
  31086. "type": "integer"
  31087. },
  31088. "marketid": {
  31089. "description": "所属市场ID",
  31090. "type": "integer"
  31091. },
  31092. "modifierid": {
  31093. "description": "修改人",
  31094. "type": "integer"
  31095. },
  31096. "modifytime": {
  31097. "description": "修改时间",
  31098. "type": "string"
  31099. },
  31100. "outerdealmode": {
  31101. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  31102. "type": "integer"
  31103. },
  31104. "outergroupcode": {
  31105. "description": "外部商品组代码[通道交易]",
  31106. "type": "string"
  31107. },
  31108. "premiumdecimalplace": {
  31109. "description": "权利金小数位[场外期权]",
  31110. "type": "integer"
  31111. },
  31112. "premiumspreadalgorithm": {
  31113. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  31114. "type": "integer"
  31115. },
  31116. "premiumspreadvalue": {
  31117. "description": "权利金点差值[场外期权]",
  31118. "type": "number"
  31119. },
  31120. "qtydecimalplace": {
  31121. "description": "成交量小数位",
  31122. "type": "integer"
  31123. },
  31124. "quotegear": {
  31125. "description": "行情档位(1-10)",
  31126. "type": "integer"
  31127. },
  31128. "quoteminunit": {
  31129. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31130. "type": "integer"
  31131. },
  31132. "quoterid": {
  31133. "description": "报价商ID[场外期权]",
  31134. "type": "integer"
  31135. },
  31136. "quotesourcegroupid": {
  31137. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  31138. "type": "integer"
  31139. },
  31140. "syncgoodsqty": {
  31141. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  31142. "type": "integer"
  31143. }
  31144. }
  31145. },
  31146. "models.Goodssortbypreposition": {
  31147. "type": "object",
  31148. "required": [
  31149. "goodscode",
  31150. "tradedate"
  31151. ],
  31152. "properties": {
  31153. "goodscode": {
  31154. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  31155. "type": "string"
  31156. },
  31157. "goodsgroupcode": {
  31158. "description": "品种代码",
  31159. "type": "string"
  31160. },
  31161. "prepositionqty": {
  31162. "description": "昨持仓量",
  31163. "type": "integer"
  31164. },
  31165. "sortindex": {
  31166. "description": "排序",
  31167. "type": "integer"
  31168. },
  31169. "tradedate": {
  31170. "description": "交易日",
  31171. "type": "string"
  31172. },
  31173. "updatetime": {
  31174. "description": "更新时间",
  31175. "type": "string"
  31176. }
  31177. }
  31178. },
  31179. "models.Gzcertaddressconfig": {
  31180. "type": "object",
  31181. "properties": {
  31182. "certregion": {
  31183. "description": "证书地域 - 1:国内 2:国际",
  31184. "type": "integer"
  31185. },
  31186. "certtype": {
  31187. "description": "证书类型",
  31188. "type": "string"
  31189. },
  31190. "orderindex": {
  31191. "description": "显示顺序",
  31192. "type": "integer"
  31193. },
  31194. "orgcnname": {
  31195. "description": "机构名称(中文)",
  31196. "type": "string"
  31197. },
  31198. "orgenname": {
  31199. "description": "机构名称(英文)",
  31200. "type": "string"
  31201. },
  31202. "queryaddress": {
  31203. "description": "查询地址",
  31204. "type": "string"
  31205. },
  31206. "remark": {
  31207. "description": "备注",
  31208. "type": "string"
  31209. },
  31210. "updatetime": {
  31211. "description": "更新时间",
  31212. "type": "string"
  31213. }
  31214. }
  31215. },
  31216. "models.Gzcertaddressparam": {
  31217. "type": "object",
  31218. "properties": {
  31219. "certtype": {
  31220. "description": "证书类型",
  31221. "type": "string"
  31222. },
  31223. "orderindex": {
  31224. "description": "参数顺序",
  31225. "type": "integer"
  31226. },
  31227. "paramkey": {
  31228. "description": "参数Key",
  31229. "type": "string"
  31230. },
  31231. "paramname": {
  31232. "description": "参数名称",
  31233. "type": "string"
  31234. },
  31235. "updatetime": {
  31236. "description": "更新时间",
  31237. "type": "string"
  31238. }
  31239. }
  31240. },
  31241. "models.Gzrapaportprice": {
  31242. "type": "object",
  31243. "properties": {
  31244. "dollar": {
  31245. "description": "美元",
  31246. "type": "string"
  31247. },
  31248. "rmb": {
  31249. "description": "人民币",
  31250. "type": "string"
  31251. }
  31252. }
  31253. },
  31254. "models.Hedgeinnerholderdetail": {
  31255. "type": "object",
  31256. "required": [
  31257. "buyorsell",
  31258. "tradeid"
  31259. ],
  31260. "properties": {
  31261. "accountid": {
  31262. "description": "账号ID",
  31263. "type": "integer"
  31264. },
  31265. "buyorsell": {
  31266. "description": "方向 - 0:买 1:卖",
  31267. "type": "integer"
  31268. },
  31269. "freezeqty": {
  31270. "description": "冻结数量 - 按单平使用",
  31271. "type": "integer"
  31272. },
  31273. "goodsid": {
  31274. "description": "商品ID",
  31275. "type": "integer"
  31276. },
  31277. "holderamount": {
  31278. "description": "持仓金额 [商品币种]",
  31279. "type": "number"
  31280. },
  31281. "holderdays": {
  31282. "description": "剩余冻结天数",
  31283. "type": "integer"
  31284. },
  31285. "holderprice": {
  31286. "description": "持仓价格",
  31287. "type": "number"
  31288. },
  31289. "holderqty": {
  31290. "description": "持仓数量",
  31291. "type": "integer"
  31292. },
  31293. "marketid": {
  31294. "description": "市场ID",
  31295. "type": "integer"
  31296. },
  31297. "openprice": {
  31298. "description": "建仓价格",
  31299. "type": "number"
  31300. },
  31301. "openqty": {
  31302. "description": "建仓数量",
  31303. "type": "integer"
  31304. },
  31305. "parentaccountid": {
  31306. "description": "所属母账户",
  31307. "type": "integer"
  31308. },
  31309. "releaseamount": {
  31310. "description": "释放持仓金额[商品币种]",
  31311. "type": "number"
  31312. },
  31313. "tradeamount": {
  31314. "description": "成交金额[账户]",
  31315. "type": "number"
  31316. },
  31317. "tradedate": {
  31318. "description": "交易日(yyyyMMdd)",
  31319. "type": "string"
  31320. },
  31321. "tradeid": {
  31322. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31323. "type": "string"
  31324. },
  31325. "tradetime": {
  31326. "description": "交易时间",
  31327. "type": "string"
  31328. }
  31329. }
  31330. },
  31331. "models.Hedgemarketopenlog": {
  31332. "type": "object",
  31333. "required": [
  31334. "accountid"
  31335. ],
  31336. "properties": {
  31337. "accountid": {
  31338. "description": "资金账号[外部母账户]",
  31339. "type": "integer"
  31340. },
  31341. "fcname": {
  31342. "description": "期货公司名称",
  31343. "type": "string"
  31344. },
  31345. "handlestatus": {
  31346. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  31347. "type": "integer"
  31348. },
  31349. "marketid": {
  31350. "description": "市场ID",
  31351. "type": "integer"
  31352. },
  31353. "status": {
  31354. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  31355. "type": "integer"
  31356. },
  31357. "tradedate": {
  31358. "description": "交易日(yyyyMMdd)",
  31359. "type": "string"
  31360. },
  31361. "updatetime": {
  31362. "description": "更新时间",
  31363. "type": "string"
  31364. }
  31365. }
  31366. },
  31367. "models.HsbyBuyMyPayOrder": {
  31368. "type": "object",
  31369. "required": [
  31370. "goodscode",
  31371. "goodsname",
  31372. "tradeid",
  31373. "trademode"
  31374. ],
  31375. "properties": {
  31376. "agreeunit": {
  31377. "description": "合约单位",
  31378. "type": "number"
  31379. },
  31380. "buyaccountid": {
  31381. "description": "买方账号ID[报价币种]",
  31382. "type": "integer"
  31383. },
  31384. "buyorderid": {
  31385. "description": "买方委托单号",
  31386. "type": "string"
  31387. },
  31388. "createtime": {
  31389. "description": "创建时间",
  31390. "type": "string"
  31391. },
  31392. "currencysign": {
  31393. "description": "货币符号",
  31394. "type": "string"
  31395. },
  31396. "decimalplace": {
  31397. "description": "报价小数位",
  31398. "type": "integer"
  31399. },
  31400. "goodscode": {
  31401. "description": "商品代码(内部)",
  31402. "type": "string"
  31403. },
  31404. "goodsid": {
  31405. "description": "商品ID",
  31406. "type": "integer"
  31407. },
  31408. "goodsname": {
  31409. "description": "商品名称",
  31410. "type": "string"
  31411. },
  31412. "marketid": {
  31413. "description": "市场ID",
  31414. "type": "integer"
  31415. },
  31416. "offamount": {
  31417. "description": "优惠金额",
  31418. "type": "number"
  31419. },
  31420. "originalamount": {
  31421. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  31422. "type": "number"
  31423. },
  31424. "payamount": {
  31425. "description": "支付金额 = TradeAmount + TradeCharge",
  31426. "type": "number"
  31427. },
  31428. "payflag": {
  31429. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31430. "type": "integer"
  31431. },
  31432. "paylimitedtime": {
  31433. "description": "支付期限",
  31434. "type": "string"
  31435. },
  31436. "paytime": {
  31437. "description": "付款时间",
  31438. "type": "string"
  31439. },
  31440. "picurls1": {
  31441. "description": "预售商品介绍图片[多张用逗号分隔]",
  31442. "type": "string"
  31443. },
  31444. "picurls2": {
  31445. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  31446. "type": "string"
  31447. },
  31448. "sellaccountid": {
  31449. "description": "卖方账号ID[报价币种]",
  31450. "type": "integer"
  31451. },
  31452. "sellorderid": {
  31453. "description": "卖方委托单号",
  31454. "type": "string"
  31455. },
  31456. "tradeamount": {
  31457. "description": "成交金额",
  31458. "type": "number"
  31459. },
  31460. "tradecharge": {
  31461. "description": "成交手续费(买方)",
  31462. "type": "number"
  31463. },
  31464. "tradedate": {
  31465. "description": "交易日(yyyyMMdd)",
  31466. "type": "string"
  31467. },
  31468. "tradeid": {
  31469. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31470. "type": "string"
  31471. },
  31472. "trademode": {
  31473. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31474. "type": "integer"
  31475. },
  31476. "tradeprice": {
  31477. "description": "成交价格",
  31478. "type": "number"
  31479. },
  31480. "tradeqty": {
  31481. "description": "成交数量",
  31482. "type": "integer"
  31483. },
  31484. "vendorname1": {
  31485. "description": "预售商品供应商名称",
  31486. "type": "string"
  31487. },
  31488. "vendorname2": {
  31489. "description": "挂牌商品供应商名称",
  31490. "type": "string"
  31491. }
  31492. }
  31493. },
  31494. "models.HsbyBuyMyTradeDetail": {
  31495. "type": "object",
  31496. "required": [
  31497. "accountid",
  31498. "buyorsell",
  31499. "goodscode",
  31500. "goodsid",
  31501. "goodsname",
  31502. "marketid",
  31503. "orderid",
  31504. "qty",
  31505. "time",
  31506. "trademode"
  31507. ],
  31508. "properties": {
  31509. "accountid": {
  31510. "description": "账户ID[报价币种]",
  31511. "type": "integer"
  31512. },
  31513. "agreeunit": {
  31514. "description": "合约单位",
  31515. "type": "number"
  31516. },
  31517. "amount": {
  31518. "description": "金额 = 价格 * 数量 * 合约单位",
  31519. "type": "number"
  31520. },
  31521. "buyorsell": {
  31522. "description": "买卖 - 0:买 1:卖",
  31523. "type": "integer"
  31524. },
  31525. "currencysign": {
  31526. "description": "货币符号",
  31527. "type": "string"
  31528. },
  31529. "decimalplace": {
  31530. "description": "报价小数位",
  31531. "type": "integer"
  31532. },
  31533. "goodscode": {
  31534. "description": "商品代码(内部)",
  31535. "type": "string"
  31536. },
  31537. "goodsid": {
  31538. "description": "商品ID",
  31539. "type": "integer"
  31540. },
  31541. "goodsname": {
  31542. "description": "商品名称",
  31543. "type": "string"
  31544. },
  31545. "marketid": {
  31546. "description": "市场ID",
  31547. "type": "integer"
  31548. },
  31549. "orderamount": {
  31550. "description": "委托金额",
  31551. "type": "number"
  31552. },
  31553. "orderid": {
  31554. "description": "单号(成交单号)",
  31555. "type": "string"
  31556. },
  31557. "picurls1": {
  31558. "description": "预售商品介绍图片[多张用逗号分隔]",
  31559. "type": "string"
  31560. },
  31561. "picurls2": {
  31562. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  31563. "type": "string"
  31564. },
  31565. "price": {
  31566. "description": "价格",
  31567. "type": "number"
  31568. },
  31569. "qty": {
  31570. "description": "数量",
  31571. "type": "integer"
  31572. },
  31573. "time": {
  31574. "description": "时间",
  31575. "type": "string"
  31576. },
  31577. "trademode": {
  31578. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31579. "type": "integer"
  31580. },
  31581. "vendorname1": {
  31582. "description": "预售商品供应商名称",
  31583. "type": "string"
  31584. },
  31585. "vendorname2": {
  31586. "description": "挂牌商品供应商名称",
  31587. "type": "string"
  31588. }
  31589. }
  31590. },
  31591. "models.HsbyGoodsOrderDetail": {
  31592. "type": "object",
  31593. "required": [
  31594. "buyorsell",
  31595. "orderid",
  31596. "ordertime"
  31597. ],
  31598. "properties": {
  31599. "buyorsell": {
  31600. "description": "买卖 - 0:买 1:卖",
  31601. "type": "integer"
  31602. },
  31603. "currencysign": {
  31604. "description": "货币符号",
  31605. "type": "string"
  31606. },
  31607. "customername": {
  31608. "description": "客户名称(企业名称),已脱敏",
  31609. "type": "string"
  31610. },
  31611. "enableqty": {
  31612. "description": "可用数量",
  31613. "type": "integer"
  31614. },
  31615. "goodunit": {
  31616. "description": "报价单位",
  31617. "type": "string"
  31618. },
  31619. "orderid": {
  31620. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31621. "type": "string"
  31622. },
  31623. "orderprice": {
  31624. "description": "委托价格",
  31625. "type": "number"
  31626. },
  31627. "ordertime": {
  31628. "description": "委托时间",
  31629. "type": "string"
  31630. }
  31631. }
  31632. },
  31633. "models.HsbyListingGoodsDetail": {
  31634. "type": "object",
  31635. "required": [
  31636. "goodscode",
  31637. "goodsid",
  31638. "goodsname",
  31639. "marketid",
  31640. "trademode"
  31641. ],
  31642. "properties": {
  31643. "agreeunit": {
  31644. "description": "合约单位",
  31645. "type": "number"
  31646. },
  31647. "buymaxqty": {
  31648. "description": "购买上限 [71] - 0为不限",
  31649. "type": "integer"
  31650. },
  31651. "currency": {
  31652. "description": "货币",
  31653. "type": "string"
  31654. },
  31655. "currencysign": {
  31656. "description": "货币符号",
  31657. "type": "string"
  31658. },
  31659. "decimalplace": {
  31660. "description": "报价小数位",
  31661. "type": "integer"
  31662. },
  31663. "desccityid": {
  31664. "description": "目的地(市)ID",
  31665. "type": "integer"
  31666. },
  31667. "descprovinceid": {
  31668. "description": "目的地(省)ID",
  31669. "type": "integer"
  31670. },
  31671. "goodscode": {
  31672. "description": "商品代码(内部)",
  31673. "type": "string"
  31674. },
  31675. "goodsdesc": {
  31676. "description": "商品详情",
  31677. "type": "string"
  31678. },
  31679. "goodsid": {
  31680. "description": "商品ID(自增ID SEQ_GOODS)",
  31681. "type": "integer"
  31682. },
  31683. "goodsname": {
  31684. "description": "商品名称",
  31685. "type": "string"
  31686. },
  31687. "goodsprice": {
  31688. "description": "商品价格",
  31689. "type": "number"
  31690. },
  31691. "hotindex": {
  31692. "description": "景点热度",
  31693. "type": "integer"
  31694. },
  31695. "last": {
  31696. "description": "现价",
  31697. "type": "number"
  31698. },
  31699. "limitdown": {
  31700. "description": "跌停价",
  31701. "type": "number"
  31702. },
  31703. "limitup": {
  31704. "description": "涨停价",
  31705. "type": "number"
  31706. },
  31707. "lotsize": {
  31708. "description": "手数最小变动单位",
  31709. "type": "integer"
  31710. },
  31711. "marketid": {
  31712. "description": "所属市场ID",
  31713. "type": "integer"
  31714. },
  31715. "picurls": {
  31716. "description": "介绍图片[多张用逗号分隔]",
  31717. "type": "string"
  31718. },
  31719. "quoteminunit": {
  31720. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31721. "type": "integer"
  31722. },
  31723. "stepvalue": {
  31724. "description": "价格最小变动单位",
  31725. "type": "number"
  31726. },
  31727. "trademode": {
  31728. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31729. "type": "integer"
  31730. },
  31731. "vendorattr": {
  31732. "description": "供应商附件(多张,逗号分隔)",
  31733. "type": "string"
  31734. },
  31735. "vendorname": {
  31736. "description": "供应商名称",
  31737. "type": "string"
  31738. },
  31739. "vendorphone": {
  31740. "description": "供应商客服电话",
  31741. "type": "string"
  31742. },
  31743. "videourls": {
  31744. "description": "介绍视频[多张用逗号分隔]",
  31745. "type": "string"
  31746. }
  31747. }
  31748. },
  31749. "models.HsbyMarketGoods": {
  31750. "type": "object",
  31751. "required": [
  31752. "accountid",
  31753. "buyorsell",
  31754. "goodscode",
  31755. "goodsid",
  31756. "goodsname",
  31757. "marketid",
  31758. "orderid",
  31759. "trademode"
  31760. ],
  31761. "properties": {
  31762. "accountid": {
  31763. "description": "账户ID[报价币种]",
  31764. "type": "integer"
  31765. },
  31766. "agreeunit": {
  31767. "description": "合约单位",
  31768. "type": "number"
  31769. },
  31770. "buyorsell": {
  31771. "description": "买卖 - 0:买 1:卖",
  31772. "type": "integer"
  31773. },
  31774. "categoryid": {
  31775. "description": "类别ID(WRCATEGORY)",
  31776. "type": "integer"
  31777. },
  31778. "currency": {
  31779. "description": "货币",
  31780. "type": "string"
  31781. },
  31782. "currencysign": {
  31783. "description": "货币符号",
  31784. "type": "string"
  31785. },
  31786. "customername": {
  31787. "description": "卖家名称",
  31788. "type": "string"
  31789. },
  31790. "decimalplace": {
  31791. "description": "报价小数位",
  31792. "type": "integer"
  31793. },
  31794. "goodscode": {
  31795. "description": "商品代码(内部)",
  31796. "type": "string"
  31797. },
  31798. "goodsid": {
  31799. "description": "商品ID",
  31800. "type": "integer"
  31801. },
  31802. "goodsname": {
  31803. "description": "商品名称",
  31804. "type": "string"
  31805. },
  31806. "goodsprice": {
  31807. "description": "商品价格",
  31808. "type": "number"
  31809. },
  31810. "hascoupon": {
  31811. "description": "是否可用优惠卷",
  31812. "type": "boolean"
  31813. },
  31814. "hotindex": {
  31815. "description": "景点热度",
  31816. "type": "integer"
  31817. },
  31818. "marketid": {
  31819. "description": "市场ID",
  31820. "type": "integer"
  31821. },
  31822. "orderid": {
  31823. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31824. "type": "string"
  31825. },
  31826. "orderprice": {
  31827. "description": "委托价格",
  31828. "type": "number"
  31829. },
  31830. "orderstatus": {
  31831. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31832. "type": "integer"
  31833. },
  31834. "picurls": {
  31835. "description": "介绍图片[多张用逗号分隔]",
  31836. "type": "string"
  31837. },
  31838. "quoteminunit": {
  31839. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31840. "type": "integer"
  31841. },
  31842. "sellUserID": {
  31843. "description": "卖方UserID",
  31844. "type": "integer"
  31845. },
  31846. "trademode": {
  31847. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31848. "type": "integer"
  31849. },
  31850. "videourls": {
  31851. "description": "介绍视频[多张用逗号分隔]",
  31852. "type": "string"
  31853. }
  31854. }
  31855. },
  31856. "models.HsbyMarketGoodsDetail": {
  31857. "type": "object",
  31858. "required": [
  31859. "accountid",
  31860. "buyorsell",
  31861. "goodscode",
  31862. "goodsid",
  31863. "goodsname",
  31864. "marketid",
  31865. "orderid",
  31866. "orderqty",
  31867. "trademode"
  31868. ],
  31869. "properties": {
  31870. "accountid": {
  31871. "description": "账户ID[报价币种]",
  31872. "type": "integer"
  31873. },
  31874. "agreeunit": {
  31875. "description": "合约单位",
  31876. "type": "number"
  31877. },
  31878. "buymaxqty": {
  31879. "description": "购买上限 [71] - 0为不限",
  31880. "type": "integer"
  31881. },
  31882. "buyorsell": {
  31883. "description": "买卖 - 0:买 1:卖",
  31884. "type": "integer"
  31885. },
  31886. "cancelqty": {
  31887. "description": "撤单数量",
  31888. "type": "integer"
  31889. },
  31890. "categoryid": {
  31891. "description": "类别ID(WRCATEGORY)",
  31892. "type": "integer"
  31893. },
  31894. "currency": {
  31895. "description": "货币",
  31896. "type": "string"
  31897. },
  31898. "currencysign": {
  31899. "description": "货币符号",
  31900. "type": "string"
  31901. },
  31902. "customername": {
  31903. "description": "卖家名称",
  31904. "type": "string"
  31905. },
  31906. "decimalplace": {
  31907. "description": "报价小数位",
  31908. "type": "integer"
  31909. },
  31910. "goodscode": {
  31911. "description": "商品代码(内部)",
  31912. "type": "string"
  31913. },
  31914. "goodsdesc": {
  31915. "description": "商品详情",
  31916. "type": "string"
  31917. },
  31918. "goodsid": {
  31919. "description": "商品ID",
  31920. "type": "integer"
  31921. },
  31922. "goodsname": {
  31923. "description": "商品名称",
  31924. "type": "string"
  31925. },
  31926. "goodsprice": {
  31927. "description": "商品价格",
  31928. "type": "number"
  31929. },
  31930. "hotindex": {
  31931. "description": "景点热度",
  31932. "type": "integer"
  31933. },
  31934. "lotsize": {
  31935. "description": "手数最小变动单位",
  31936. "type": "integer"
  31937. },
  31938. "marketid": {
  31939. "description": "市场ID",
  31940. "type": "integer"
  31941. },
  31942. "orderid": {
  31943. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31944. "type": "string"
  31945. },
  31946. "orderprice": {
  31947. "description": "委托价格",
  31948. "type": "number"
  31949. },
  31950. "orderqty": {
  31951. "description": "委托数量",
  31952. "type": "integer"
  31953. },
  31954. "orderstatus": {
  31955. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31956. "type": "integer"
  31957. },
  31958. "picurls": {
  31959. "description": "介绍图片[多张用逗号分隔]",
  31960. "type": "string"
  31961. },
  31962. "quoteminunit": {
  31963. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31964. "type": "integer"
  31965. },
  31966. "sellUserID": {
  31967. "description": "卖方UserID",
  31968. "type": "integer"
  31969. },
  31970. "trademode": {
  31971. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31972. "type": "integer"
  31973. },
  31974. "tradeqty": {
  31975. "description": "成交数量",
  31976. "type": "integer"
  31977. },
  31978. "vendorattr": {
  31979. "description": "供应商附件(多张,逗号分隔)",
  31980. "type": "string"
  31981. },
  31982. "vendorname": {
  31983. "description": "供应商名称",
  31984. "type": "string"
  31985. },
  31986. "vendorphone": {
  31987. "description": "供应商客服电话",
  31988. "type": "string"
  31989. },
  31990. "videourls": {
  31991. "description": "介绍视频[多张用逗号分隔]",
  31992. "type": "string"
  31993. }
  31994. }
  31995. },
  31996. "models.HsbyMarketInfo": {
  31997. "type": "object",
  31998. "required": [
  31999. "marketid",
  32000. "marketstatus",
  32001. "trademode"
  32002. ],
  32003. "properties": {
  32004. "marketid": {
  32005. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32006. "type": "integer"
  32007. },
  32008. "marketname": {
  32009. "description": "市场名称",
  32010. "type": "string"
  32011. },
  32012. "marketstatus": {
  32013. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32014. "type": "integer"
  32015. },
  32016. "trademode": {
  32017. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32018. "type": "integer"
  32019. }
  32020. }
  32021. },
  32022. "models.HsbyMyGoods": {
  32023. "type": "object",
  32024. "required": [
  32025. "accountid",
  32026. "goodscode",
  32027. "goodsid",
  32028. "goodsname",
  32029. "marketid",
  32030. "trademode"
  32031. ],
  32032. "properties": {
  32033. "accountid": {
  32034. "description": "账号Id",
  32035. "type": "integer"
  32036. },
  32037. "agreeunit": {
  32038. "description": "合约单位",
  32039. "type": "number"
  32040. },
  32041. "buyaverageprice": {
  32042. "description": "持仓均价",
  32043. "type": "number"
  32044. },
  32045. "buycurholderamount": {
  32046. "description": "买当前持仓总金额[商品币种]",
  32047. "type": "number"
  32048. },
  32049. "buycurpositionqty": {
  32050. "description": "买当前持仓总数量",
  32051. "type": "integer"
  32052. },
  32053. "buymaxqty": {
  32054. "description": "购买上限 [71] - 0为不限",
  32055. "type": "integer"
  32056. },
  32057. "currencysign": {
  32058. "description": "货币符号",
  32059. "type": "string"
  32060. },
  32061. "decimalplace": {
  32062. "description": "报价小数位",
  32063. "type": "integer"
  32064. },
  32065. "enableqty": {
  32066. "description": "可用数量",
  32067. "type": "integer"
  32068. },
  32069. "goodscode": {
  32070. "description": "商品代码(内部)",
  32071. "type": "string"
  32072. },
  32073. "goodsid": {
  32074. "description": "商品Id",
  32075. "type": "integer"
  32076. },
  32077. "goodsname": {
  32078. "description": "商品名称",
  32079. "type": "string"
  32080. },
  32081. "goodsprice": {
  32082. "description": "商品价格",
  32083. "type": "number"
  32084. },
  32085. "goodsstatus": {
  32086. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  32087. "type": "integer"
  32088. },
  32089. "last": {
  32090. "description": "现价(仅使用于挂牌点选)",
  32091. "type": "number"
  32092. },
  32093. "limitdown": {
  32094. "description": "跌停价(仅使用于挂牌点选)",
  32095. "type": "number"
  32096. },
  32097. "limitup": {
  32098. "description": "涨停价(仅使用于挂牌点选)",
  32099. "type": "number"
  32100. },
  32101. "lotsize": {
  32102. "description": "手数最小变动单位",
  32103. "type": "integer"
  32104. },
  32105. "marketid": {
  32106. "description": "所属市场ID",
  32107. "type": "integer"
  32108. },
  32109. "picurls": {
  32110. "description": "介绍图片[多张用逗号分隔]",
  32111. "type": "string"
  32112. },
  32113. "quoteminunit": {
  32114. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  32115. "type": "integer"
  32116. },
  32117. "stepvalue": {
  32118. "description": "价格最小变动单位",
  32119. "type": "number"
  32120. },
  32121. "trademode": {
  32122. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32123. "type": "integer"
  32124. }
  32125. }
  32126. },
  32127. "models.HsbyMyPackage": {
  32128. "type": "object",
  32129. "required": [
  32130. "goodscode",
  32131. "goodsname",
  32132. "takeorderid",
  32133. "trademode"
  32134. ],
  32135. "properties": {
  32136. "accountid": {
  32137. "description": "账户ID",
  32138. "type": "integer"
  32139. },
  32140. "address": {
  32141. "description": "提货人详细地址",
  32142. "type": "string"
  32143. },
  32144. "agreeunit": {
  32145. "description": "合约单位",
  32146. "type": "number"
  32147. },
  32148. "amount": {
  32149. "description": "提货金额",
  32150. "type": "number"
  32151. },
  32152. "auditer": {
  32153. "description": "审核人",
  32154. "type": "integer"
  32155. },
  32156. "audittime": {
  32157. "description": "审核时间",
  32158. "type": "string"
  32159. },
  32160. "averageprice": {
  32161. "description": "均价",
  32162. "type": "number"
  32163. },
  32164. "cardnum": {
  32165. "description": "提货人证件号码",
  32166. "type": "string"
  32167. },
  32168. "cardtypeid": {
  32169. "description": "提货人证件类型",
  32170. "type": "integer"
  32171. },
  32172. "checkremark": {
  32173. "description": "审核备注",
  32174. "type": "string"
  32175. },
  32176. "currencysign": {
  32177. "description": "货币符号",
  32178. "type": "string"
  32179. },
  32180. "decimalplace": {
  32181. "description": "报价小数位",
  32182. "type": "integer"
  32183. },
  32184. "goodscode": {
  32185. "description": "商品代码(内部)",
  32186. "type": "string"
  32187. },
  32188. "goodsid": {
  32189. "description": "商品ID",
  32190. "type": "integer"
  32191. },
  32192. "goodsname": {
  32193. "description": "商品名称",
  32194. "type": "string"
  32195. },
  32196. "handlestatus": {
  32197. "description": "处理状态",
  32198. "type": "integer"
  32199. },
  32200. "marketid": {
  32201. "description": "市场ID",
  32202. "type": "integer"
  32203. },
  32204. "phonenum": {
  32205. "description": "提货人联系方式",
  32206. "type": "string"
  32207. },
  32208. "picurls": {
  32209. "description": "介绍图片[多张用逗号分隔]",
  32210. "type": "string"
  32211. },
  32212. "qty": {
  32213. "description": "提货数量",
  32214. "type": "number"
  32215. },
  32216. "recivername": {
  32217. "description": "提货人姓名",
  32218. "type": "string"
  32219. },
  32220. "reqtime": {
  32221. "description": "更新时间",
  32222. "type": "string"
  32223. },
  32224. "takemode": {
  32225. "description": "提货方式 - 2:自提 3:配送",
  32226. "type": "integer"
  32227. },
  32228. "takeorderid": {
  32229. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32230. "type": "string"
  32231. },
  32232. "takeorderstatus": {
  32233. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  32234. "type": "integer"
  32235. },
  32236. "takeremark": {
  32237. "description": "提货备注",
  32238. "type": "string"
  32239. },
  32240. "tradedate": {
  32241. "description": "交易日(yyyyMMdd)",
  32242. "type": "string"
  32243. },
  32244. "trademode": {
  32245. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32246. "type": "integer"
  32247. },
  32248. "userid": {
  32249. "description": "用户ID",
  32250. "type": "integer"
  32251. },
  32252. "vendorname": {
  32253. "description": "供应商名称",
  32254. "type": "string"
  32255. }
  32256. }
  32257. },
  32258. "models.HsbyPreGoods": {
  32259. "type": "object",
  32260. "required": [
  32261. "goodscode",
  32262. "goodsid",
  32263. "goodsname",
  32264. "marketid",
  32265. "trademode"
  32266. ],
  32267. "properties": {
  32268. "agreeunit": {
  32269. "description": "合约单位",
  32270. "type": "number"
  32271. },
  32272. "currency": {
  32273. "description": "货币",
  32274. "type": "string"
  32275. },
  32276. "currencysign": {
  32277. "description": "货币符号",
  32278. "type": "string"
  32279. },
  32280. "decimalplace": {
  32281. "description": "报价小数位",
  32282. "type": "integer"
  32283. },
  32284. "desccityid": {
  32285. "description": "目的地(市)",
  32286. "type": "integer"
  32287. },
  32288. "descprovinceid": {
  32289. "description": "目的地(省)",
  32290. "type": "integer"
  32291. },
  32292. "enableqty": {
  32293. "description": "剩余数量",
  32294. "type": "integer"
  32295. },
  32296. "goodscode": {
  32297. "description": "商品代码(内部)",
  32298. "type": "string"
  32299. },
  32300. "goodsid": {
  32301. "description": "商品ID(自增ID SEQ_GOODS)",
  32302. "type": "integer"
  32303. },
  32304. "goodsname": {
  32305. "description": "商品名称",
  32306. "type": "string"
  32307. },
  32308. "goodsstatus": {
  32309. "description": "商品状态- 2:未上市 3:上市",
  32310. "type": "integer"
  32311. },
  32312. "lasttradedate": {
  32313. "description": "最后交易日期(状态:待退市)",
  32314. "type": "string"
  32315. },
  32316. "listingdate": {
  32317. "description": "交易开始日期",
  32318. "type": "string"
  32319. },
  32320. "marketid": {
  32321. "description": "所属市场ID",
  32322. "type": "integer"
  32323. },
  32324. "picurls": {
  32325. "description": "介绍图片[多张用逗号分隔]",
  32326. "type": "string"
  32327. },
  32328. "presaledqty": {
  32329. "description": "已预售量(预售结束时更新)",
  32330. "type": "integer"
  32331. },
  32332. "presaleqty": {
  32333. "description": "预售数量",
  32334. "type": "integer"
  32335. },
  32336. "quoteminunit": {
  32337. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  32338. "type": "integer"
  32339. },
  32340. "refprice": {
  32341. "description": "参考价格[一口价]",
  32342. "type": "number"
  32343. },
  32344. "relatedgoodsid": {
  32345. "description": "关联交易合约ID",
  32346. "type": "integer"
  32347. },
  32348. "trademode": {
  32349. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32350. "type": "integer"
  32351. },
  32352. "videourls": {
  32353. "description": "介绍视频[多张用逗号分隔]",
  32354. "type": "string"
  32355. }
  32356. }
  32357. },
  32358. "models.HsbyPreGoodsDetail": {
  32359. "type": "object",
  32360. "required": [
  32361. "goodscode",
  32362. "goodsid",
  32363. "goodsname",
  32364. "marketid",
  32365. "trademode"
  32366. ],
  32367. "properties": {
  32368. "agreeunit": {
  32369. "description": "合约单位",
  32370. "type": "number"
  32371. },
  32372. "buymaxqty": {
  32373. "description": "购买上限 [71] - 0为不限",
  32374. "type": "integer"
  32375. },
  32376. "currency": {
  32377. "description": "货币",
  32378. "type": "string"
  32379. },
  32380. "currencysign": {
  32381. "description": "货币符号",
  32382. "type": "string"
  32383. },
  32384. "customername": {
  32385. "description": "发行单位",
  32386. "type": "string"
  32387. },
  32388. "decimalplace": {
  32389. "description": "报价小数位",
  32390. "type": "integer"
  32391. },
  32392. "desccityid": {
  32393. "description": "目的地(市)ID",
  32394. "type": "integer"
  32395. },
  32396. "descprovinceid": {
  32397. "description": "目的地(省)ID",
  32398. "type": "integer"
  32399. },
  32400. "enableqty": {
  32401. "description": "剩余数量",
  32402. "type": "integer"
  32403. },
  32404. "goodscode": {
  32405. "description": "商品代码(内部)",
  32406. "type": "string"
  32407. },
  32408. "goodsdesc": {
  32409. "description": "商品详情",
  32410. "type": "string"
  32411. },
  32412. "goodsid": {
  32413. "description": "商品ID(自增ID SEQ_GOODS)",
  32414. "type": "integer"
  32415. },
  32416. "goodsname": {
  32417. "description": "商品名称",
  32418. "type": "string"
  32419. },
  32420. "goodsstatus": {
  32421. "description": "商品状态- 2:未上市 3:上市",
  32422. "type": "integer"
  32423. },
  32424. "goodunit": {
  32425. "description": "报价单位",
  32426. "type": "string"
  32427. },
  32428. "lasttradedate": {
  32429. "description": "最后交易日期(状态:待退市)",
  32430. "type": "string"
  32431. },
  32432. "listingdate": {
  32433. "description": "交易开始日期",
  32434. "type": "string"
  32435. },
  32436. "lotsize": {
  32437. "description": "手数最小变动单位",
  32438. "type": "integer"
  32439. },
  32440. "marketid": {
  32441. "description": "所属市场ID",
  32442. "type": "integer"
  32443. },
  32444. "picurls": {
  32445. "description": "介绍图片[多张用逗号分隔]",
  32446. "type": "string"
  32447. },
  32448. "presaledqty": {
  32449. "description": "已预售量(预售结束时更新)",
  32450. "type": "integer"
  32451. },
  32452. "presaleqty": {
  32453. "description": "预售数量",
  32454. "type": "integer"
  32455. },
  32456. "quoteminunit": {
  32457. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  32458. "type": "integer"
  32459. },
  32460. "refprice": {
  32461. "description": "参考价格[一口价]",
  32462. "type": "number"
  32463. },
  32464. "relatedgoodsid": {
  32465. "description": "关联交易合约ID",
  32466. "type": "integer"
  32467. },
  32468. "stepvalue": {
  32469. "description": "价格最小变动单位",
  32470. "type": "number"
  32471. },
  32472. "trademode": {
  32473. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32474. "type": "integer"
  32475. },
  32476. "vendorattr": {
  32477. "description": "供应商附件(多张,逗号分隔)",
  32478. "type": "string"
  32479. },
  32480. "vendorname": {
  32481. "description": "供应商名称",
  32482. "type": "string"
  32483. },
  32484. "vendorphone": {
  32485. "description": "供应商客服电话",
  32486. "type": "string"
  32487. },
  32488. "videourls": {
  32489. "description": "介绍视频[多张用逗号分隔]",
  32490. "type": "string"
  32491. }
  32492. }
  32493. },
  32494. "models.HsbySellCollectionOrder": {
  32495. "type": "object",
  32496. "required": [
  32497. "goodscode",
  32498. "goodsname",
  32499. "tradeid",
  32500. "trademode"
  32501. ],
  32502. "properties": {
  32503. "agreeunit": {
  32504. "description": "合约单位",
  32505. "type": "number"
  32506. },
  32507. "buyaccountid": {
  32508. "description": "买方账号ID[报价币种]",
  32509. "type": "integer"
  32510. },
  32511. "buyorderid": {
  32512. "description": "买方委托单号",
  32513. "type": "string"
  32514. },
  32515. "createtime": {
  32516. "description": "创建时间",
  32517. "type": "string"
  32518. },
  32519. "currencysign": {
  32520. "description": "货币符号",
  32521. "type": "string"
  32522. },
  32523. "decimalplace": {
  32524. "description": "报价小数位",
  32525. "type": "integer"
  32526. },
  32527. "goodscode": {
  32528. "description": "商品代码(内部)",
  32529. "type": "string"
  32530. },
  32531. "goodsid": {
  32532. "description": "商品ID",
  32533. "type": "integer"
  32534. },
  32535. "goodsname": {
  32536. "description": "商品名称",
  32537. "type": "string"
  32538. },
  32539. "marketid": {
  32540. "description": "市场ID",
  32541. "type": "integer"
  32542. },
  32543. "offamount": {
  32544. "description": "优惠金额",
  32545. "type": "number"
  32546. },
  32547. "payamount": {
  32548. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  32549. "type": "number"
  32550. },
  32551. "payflag": {
  32552. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  32553. "type": "integer"
  32554. },
  32555. "paylimitedtime": {
  32556. "description": "支付期限",
  32557. "type": "string"
  32558. },
  32559. "paytime": {
  32560. "description": "付款时间",
  32561. "type": "string"
  32562. },
  32563. "picurls": {
  32564. "description": "商品介绍图片[多张用逗号分隔]",
  32565. "type": "string"
  32566. },
  32567. "sellaccountid": {
  32568. "description": "卖方账号ID[报价币种]",
  32569. "type": "integer"
  32570. },
  32571. "sellorderid": {
  32572. "description": "卖方委托单号",
  32573. "type": "string"
  32574. },
  32575. "tradeamount": {
  32576. "description": "成交金额",
  32577. "type": "number"
  32578. },
  32579. "tradecharge": {
  32580. "description": "成交手续费(买方)",
  32581. "type": "number"
  32582. },
  32583. "tradedate": {
  32584. "description": "交易日(yyyyMMdd)",
  32585. "type": "string"
  32586. },
  32587. "tradeid": {
  32588. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32589. "type": "string"
  32590. },
  32591. "trademode": {
  32592. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32593. "type": "integer"
  32594. },
  32595. "tradeprice": {
  32596. "description": "成交价格",
  32597. "type": "number"
  32598. },
  32599. "tradeqty": {
  32600. "description": "成交数量",
  32601. "type": "integer"
  32602. }
  32603. }
  32604. },
  32605. "models.HsbySellMyDetail": {
  32606. "type": "object",
  32607. "required": [
  32608. "accountid",
  32609. "buyorsell",
  32610. "goodscode",
  32611. "goodsid",
  32612. "goodsname",
  32613. "marketid",
  32614. "orderid",
  32615. "time",
  32616. "trademode"
  32617. ],
  32618. "properties": {
  32619. "accountid": {
  32620. "description": "账户ID[报价币种]",
  32621. "type": "integer"
  32622. },
  32623. "agreeunit": {
  32624. "description": "合约单位",
  32625. "type": "number"
  32626. },
  32627. "buyorsell": {
  32628. "description": "买卖 - 0:买 1:卖",
  32629. "type": "integer"
  32630. },
  32631. "currencysign": {
  32632. "description": "货币符号",
  32633. "type": "string"
  32634. },
  32635. "decimalplace": {
  32636. "description": "报价小数位",
  32637. "type": "integer"
  32638. },
  32639. "goodscode": {
  32640. "description": "商品代码(内部)",
  32641. "type": "string"
  32642. },
  32643. "goodsid": {
  32644. "description": "商品ID",
  32645. "type": "integer"
  32646. },
  32647. "goodsname": {
  32648. "description": "商品名称",
  32649. "type": "string"
  32650. },
  32651. "marketid": {
  32652. "description": "市场ID",
  32653. "type": "integer"
  32654. },
  32655. "orderid": {
  32656. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  32657. "type": "string"
  32658. },
  32659. "ordertype": {
  32660. "description": "单据类型:0 - 发布中, 1 - 已完成",
  32661. "type": "integer"
  32662. },
  32663. "picurls": {
  32664. "description": "介绍图片[多张用逗号分隔]",
  32665. "type": "string"
  32666. },
  32667. "price": {
  32668. "description": "价格",
  32669. "type": "number"
  32670. },
  32671. "qty": {
  32672. "description": "数量",
  32673. "type": "integer"
  32674. },
  32675. "time": {
  32676. "description": "时间",
  32677. "type": "string"
  32678. },
  32679. "trademode": {
  32680. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32681. "type": "integer"
  32682. },
  32683. "vendorname": {
  32684. "description": "供应商名称",
  32685. "type": "string"
  32686. }
  32687. }
  32688. },
  32689. "models.HsbyTopGoods": {
  32690. "type": "object",
  32691. "required": [
  32692. "goodscode",
  32693. "goodsid",
  32694. "goodsname",
  32695. "marketid",
  32696. "trademode"
  32697. ],
  32698. "properties": {
  32699. "agreeunit": {
  32700. "description": "合约单位",
  32701. "type": "number"
  32702. },
  32703. "currency": {
  32704. "description": "货币",
  32705. "type": "string"
  32706. },
  32707. "currencysign": {
  32708. "description": "货币符号",
  32709. "type": "string"
  32710. },
  32711. "decimalplace": {
  32712. "description": "报价小数位",
  32713. "type": "integer"
  32714. },
  32715. "desccityid": {
  32716. "description": "目的地(市)",
  32717. "type": "integer"
  32718. },
  32719. "descprovinceid": {
  32720. "description": "目的地(省)",
  32721. "type": "integer"
  32722. },
  32723. "goodscode": {
  32724. "description": "商品代码(内部)",
  32725. "type": "string"
  32726. },
  32727. "goodsid": {
  32728. "description": "商品ID(自增ID SEQ_GOODS)",
  32729. "type": "integer"
  32730. },
  32731. "goodsname": {
  32732. "description": "商品名称",
  32733. "type": "string"
  32734. },
  32735. "hotindex": {
  32736. "description": "景点热度",
  32737. "type": "integer"
  32738. },
  32739. "last": {
  32740. "description": "现价",
  32741. "type": "number"
  32742. },
  32743. "marketid": {
  32744. "description": "所属市场ID",
  32745. "type": "integer"
  32746. },
  32747. "picurls": {
  32748. "description": "介绍图片[多张用逗号分隔]",
  32749. "type": "string"
  32750. },
  32751. "quoteminunit": {
  32752. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  32753. "type": "integer"
  32754. },
  32755. "trademode": {
  32756. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32757. "type": "integer"
  32758. },
  32759. "videourls": {
  32760. "description": "介绍视频[多张用逗号分隔]",
  32761. "type": "string"
  32762. }
  32763. }
  32764. },
  32765. "models.HybsMyBuyOrderDetail": {
  32766. "type": "object",
  32767. "required": [
  32768. "accountid",
  32769. "buyorsell",
  32770. "goodscode",
  32771. "goodsid",
  32772. "goodsname",
  32773. "marketid",
  32774. "orderid",
  32775. "orderqty",
  32776. "ordertime",
  32777. "trademode"
  32778. ],
  32779. "properties": {
  32780. "accountid": {
  32781. "description": "账户ID[报价币种]",
  32782. "type": "integer"
  32783. },
  32784. "agreeunit": {
  32785. "description": "合约单位",
  32786. "type": "number"
  32787. },
  32788. "buyorsell": {
  32789. "description": "买卖 - 0:买 1:卖",
  32790. "type": "integer"
  32791. },
  32792. "cancelqty": {
  32793. "description": "撤单数量",
  32794. "type": "integer"
  32795. },
  32796. "currencysign": {
  32797. "description": "货币符号",
  32798. "type": "string"
  32799. },
  32800. "decimalplace": {
  32801. "description": "报价小数位",
  32802. "type": "integer"
  32803. },
  32804. "goodscode": {
  32805. "description": "商品代码(内部)",
  32806. "type": "string"
  32807. },
  32808. "goodsid": {
  32809. "description": "商品ID",
  32810. "type": "integer"
  32811. },
  32812. "goodsname": {
  32813. "description": "商品名称",
  32814. "type": "string"
  32815. },
  32816. "listingselecttype": {
  32817. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32818. "type": "integer"
  32819. },
  32820. "marketid": {
  32821. "description": "市场ID",
  32822. "type": "integer"
  32823. },
  32824. "mybuystatus": {
  32825. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  32826. "type": "integer"
  32827. },
  32828. "orderamount": {
  32829. "description": "委托金额",
  32830. "type": "number"
  32831. },
  32832. "orderid": {
  32833. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32834. "type": "string"
  32835. },
  32836. "orderprice": {
  32837. "description": "委托价格",
  32838. "type": "number"
  32839. },
  32840. "orderqty": {
  32841. "description": "委托数量",
  32842. "type": "integer"
  32843. },
  32844. "orderstatus": {
  32845. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32846. "type": "integer"
  32847. },
  32848. "ordertime": {
  32849. "description": "委托时间",
  32850. "type": "string"
  32851. },
  32852. "picurls1": {
  32853. "description": "预售商品介绍图片[多张用逗号分隔]",
  32854. "type": "string"
  32855. },
  32856. "picurls2": {
  32857. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  32858. "type": "string"
  32859. },
  32860. "trademode": {
  32861. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32862. "type": "integer"
  32863. },
  32864. "tradeqty": {
  32865. "description": "成交数量",
  32866. "type": "integer"
  32867. },
  32868. "vendorname1": {
  32869. "description": "预售商品供应商名称",
  32870. "type": "string"
  32871. },
  32872. "vendorname2": {
  32873. "description": "挂牌商品供应商名称",
  32874. "type": "string"
  32875. }
  32876. }
  32877. },
  32878. "models.InternalEnableTradeDetail": {
  32879. "type": "object",
  32880. "required": [
  32881. "areauserid",
  32882. "goodsid",
  32883. "tradeuserid"
  32884. ],
  32885. "properties": {
  32886. "agreeunit": {
  32887. "description": "合约乘数",
  32888. "type": "number"
  32889. },
  32890. "areauserid": {
  32891. "description": "企业ID",
  32892. "type": "integer"
  32893. },
  32894. "convertratio": {
  32895. "description": "品种系数",
  32896. "type": "number"
  32897. },
  32898. "deliverygoodscode": {
  32899. "description": "现货品种代码",
  32900. "type": "string"
  32901. },
  32902. "deliverygoodsid": {
  32903. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  32904. "type": "integer"
  32905. },
  32906. "deliverygoodsname": {
  32907. "description": "现货品种名称",
  32908. "type": "string"
  32909. },
  32910. "futurehedgeqty": {
  32911. "description": "[已关联数量]期货持仓套期量",
  32912. "type": "number"
  32913. },
  32914. "goodsid": {
  32915. "description": "期货合约ID",
  32916. "type": "integer"
  32917. },
  32918. "hedgeditemid": {
  32919. "description": "被套期项目ID",
  32920. "type": "string"
  32921. },
  32922. "hedgeditemnum": {
  32923. "description": "项目编号",
  32924. "type": "string"
  32925. },
  32926. "tradeuserid": {
  32927. "description": "交易用户ID",
  32928. "type": "integer"
  32929. },
  32930. "unexehedgeqty": {
  32931. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  32932. "type": "number"
  32933. },
  32934. "unexespotqty": {
  32935. "description": "未执行现货量",
  32936. "type": "number"
  32937. },
  32938. "wrstandardcode": {
  32939. "description": "现货品类代码",
  32940. "type": "string"
  32941. },
  32942. "wrstandardid": {
  32943. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32944. "type": "integer"
  32945. },
  32946. "wrstandardname": {
  32947. "description": "现货品类名称",
  32948. "type": "string"
  32949. }
  32950. }
  32951. },
  32952. "models.InternalUncorrelatedTradeDetail": {
  32953. "type": "object",
  32954. "properties": {
  32955. "accountid": {
  32956. "description": "账号ID",
  32957. "type": "integer"
  32958. },
  32959. "accountname": {
  32960. "description": "套期主体",
  32961. "type": "string"
  32962. },
  32963. "agreeunit": {
  32964. "description": "合约乘数",
  32965. "type": "number"
  32966. },
  32967. "areauserid": {
  32968. "description": "所属机构",
  32969. "type": "integer"
  32970. },
  32971. "bizsubjectid": {
  32972. "description": "归属业务部门ID - SubjectID",
  32973. "type": "integer"
  32974. },
  32975. "buyorsell": {
  32976. "description": "方向 - 0:买 1:卖",
  32977. "type": "integer"
  32978. },
  32979. "channelbuildtype": {
  32980. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32981. "type": "integer"
  32982. },
  32983. "convertratio": {
  32984. "description": "品种系数",
  32985. "type": "number"
  32986. },
  32987. "createtime": {
  32988. "description": "创建时间",
  32989. "type": "string"
  32990. },
  32991. "creatorid": {
  32992. "description": "创建人ID",
  32993. "type": "integer"
  32994. },
  32995. "creatorsrc": {
  32996. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32997. "type": "integer"
  32998. },
  32999. "enableqty": {
  33000. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  33001. "type": "number"
  33002. },
  33003. "enumdicname": {
  33004. "description": "单位",
  33005. "type": "string"
  33006. },
  33007. "goodscode": {
  33008. "description": "合约代码",
  33009. "type": "string"
  33010. },
  33011. "goodsgroupid": {
  33012. "description": "对冲品种ID[期货合约商品组ID]",
  33013. "type": "integer"
  33014. },
  33015. "goodsid": {
  33016. "description": "商品ID",
  33017. "type": "integer"
  33018. },
  33019. "goodsname": {
  33020. "description": "合约名称",
  33021. "type": "string"
  33022. },
  33023. "hedgeditemid": {
  33024. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  33025. "type": "integer"
  33026. },
  33027. "hedgeflag": {
  33028. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  33029. "type": "integer"
  33030. },
  33031. "linkdetailid": {
  33032. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  33033. "type": "string"
  33034. },
  33035. "linkstatus": {
  33036. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  33037. "type": "integer"
  33038. },
  33039. "middlegoodsid": {
  33040. "description": "套保品种ID",
  33041. "type": "integer"
  33042. },
  33043. "middlegoodsqty": {
  33044. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  33045. "type": "number"
  33046. },
  33047. "relatedlot": {
  33048. "description": "[数量]关联手数",
  33049. "type": "number"
  33050. },
  33051. "relatedmode": {
  33052. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  33053. "type": "integer"
  33054. },
  33055. "relatedqty": {
  33056. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  33057. "type": "number"
  33058. },
  33059. "retcode": {
  33060. "description": "返回码",
  33061. "type": "integer"
  33062. },
  33063. "saleuserid": {
  33064. "description": "业务员ID",
  33065. "type": "integer"
  33066. },
  33067. "tradedate": {
  33068. "description": "关联交易日(yyyyMMdd)",
  33069. "type": "string"
  33070. },
  33071. "tradeid": {
  33072. "description": "成交单号",
  33073. "type": "string"
  33074. },
  33075. "tradelot": {
  33076. "description": "成交手数",
  33077. "type": "integer"
  33078. },
  33079. "tradeprice": {
  33080. "description": "成交价",
  33081. "type": "number"
  33082. },
  33083. "tradetime": {
  33084. "description": "成交时间",
  33085. "type": "string"
  33086. },
  33087. "tradetradedate": {
  33088. "description": "成交交易日(yyyyMMdd)",
  33089. "type": "string"
  33090. },
  33091. "tradeuserid": {
  33092. "description": "交易用户ID",
  33093. "type": "integer"
  33094. }
  33095. }
  33096. },
  33097. "models.Loginaccount": {
  33098. "type": "object",
  33099. "required": [
  33100. "loginid"
  33101. ],
  33102. "properties": {
  33103. "accountname": {
  33104. "description": "账户名称",
  33105. "type": "string"
  33106. },
  33107. "canoutin": {
  33108. "description": "是否可出入金 - 0:不可 1:可",
  33109. "type": "integer"
  33110. },
  33111. "clientroleid": {
  33112. "description": "终端角色ID",
  33113. "type": "integer"
  33114. },
  33115. "haslogined": {
  33116. "description": "是否已登录 - 0:未登录 1:已登录",
  33117. "type": "integer"
  33118. },
  33119. "hasupdatedpwd": {
  33120. "description": "是否已更改密码 - 0:未修改 1:已修改",
  33121. "type": "integer"
  33122. },
  33123. "lastloginip": {
  33124. "description": "最新登录地址",
  33125. "type": "string"
  33126. },
  33127. "lastloginmode": {
  33128. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  33129. "type": "integer"
  33130. },
  33131. "lastloginremark": {
  33132. "description": "最新登录描述",
  33133. "type": "string"
  33134. },
  33135. "lastlogintime": {
  33136. "description": "最新登录时间",
  33137. "type": "string"
  33138. },
  33139. "logincode": {
  33140. "description": "登录代码",
  33141. "type": "string"
  33142. },
  33143. "loginfailnum": {
  33144. "description": "连续登录失败次数(登录成功时清零)",
  33145. "type": "integer"
  33146. },
  33147. "loginid": {
  33148. "description": "登陆账号",
  33149. "type": "integer"
  33150. },
  33151. "loginport": {
  33152. "description": "最新登录端口",
  33153. "type": "integer"
  33154. },
  33155. "loginstatus": {
  33156. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  33157. "type": "integer"
  33158. },
  33159. "loginusertype": {
  33160. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  33161. "type": "integer"
  33162. },
  33163. "mobile": {
  33164. "description": "手机号码(加密存储)",
  33165. "type": "string"
  33166. },
  33167. "modifierid": {
  33168. "description": "修改人",
  33169. "type": "integer"
  33170. },
  33171. "modifysrc": {
  33172. "description": "审核来源 - 1:管理端 2:终端",
  33173. "type": "integer"
  33174. },
  33175. "modifytime": {
  33176. "description": "修改时间",
  33177. "type": "string"
  33178. },
  33179. "pwdwrongcount": {
  33180. "description": "密码错误次数",
  33181. "type": "integer"
  33182. },
  33183. "relateduserid": {
  33184. "description": "关联用户ID(机构)",
  33185. "type": "integer"
  33186. },
  33187. "taaccountrighttype": {
  33188. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  33189. "type": "integer"
  33190. },
  33191. "unfreezetime": {
  33192. "description": "账户解冻时间",
  33193. "type": "string"
  33194. },
  33195. "userid": {
  33196. "description": "用户ID",
  33197. "type": "integer"
  33198. }
  33199. }
  33200. },
  33201. "models.MainAccountInfo": {
  33202. "type": "object",
  33203. "properties": {
  33204. "accountid": {
  33205. "description": "账号id",
  33206. "type": "integer"
  33207. },
  33208. "accountname": {
  33209. "description": "账号名称(taaccount表中的名称)",
  33210. "type": "string"
  33211. },
  33212. "appid": {
  33213. "description": "AppID",
  33214. "type": "string"
  33215. },
  33216. "authcode": {
  33217. "description": "授权码",
  33218. "type": "string"
  33219. },
  33220. "brokerid": {
  33221. "description": "经纪商id",
  33222. "type": "string"
  33223. },
  33224. "fcid": {
  33225. "description": "期货公司id",
  33226. "type": "integer"
  33227. },
  33228. "fcname": {
  33229. "description": "期货公司代码",
  33230. "type": "string"
  33231. },
  33232. "hedgeaccountcode": {
  33233. "description": "外部账号代码(主账号登录代码)",
  33234. "type": "string"
  33235. },
  33236. "hedgeaccountpwd": {
  33237. "description": "密码",
  33238. "type": "string"
  33239. },
  33240. "ismain": {
  33241. "description": "是否主账号",
  33242. "type": "integer"
  33243. },
  33244. "relateduserid": {
  33245. "description": "关联用户id",
  33246. "type": "integer"
  33247. },
  33248. "userid": {
  33249. "description": "关联用户id",
  33250. "type": "integer"
  33251. }
  33252. }
  33253. },
  33254. "models.Market": {
  33255. "type": "object",
  33256. "required": [
  33257. "marketid",
  33258. "marketstatus",
  33259. "openmethod",
  33260. "reckonpricealgorithm",
  33261. "trademode",
  33262. "tradeproperty"
  33263. ],
  33264. "properties": {
  33265. "auctionwrtype": {
  33266. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  33267. "type": "integer"
  33268. },
  33269. "canacceptquote": {
  33270. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  33271. "type": "integer"
  33272. },
  33273. "cangoodsexercise": {
  33274. "description": "[期权]是否可现货行权- 0:否 1:是",
  33275. "type": "integer"
  33276. },
  33277. "cangoodsexercisetype": {
  33278. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  33279. "type": "integer"
  33280. },
  33281. "canmanualquotestrike": {
  33282. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  33283. "type": "integer"
  33284. },
  33285. "canmutistage": {
  33286. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  33287. "type": "integer"
  33288. },
  33289. "canpreexercise": {
  33290. "description": "[期权]是否可预申报- 0:否 1:是",
  33291. "type": "integer"
  33292. },
  33293. "clearinterval": {
  33294. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  33295. "type": "integer"
  33296. },
  33297. "contracttmp": {
  33298. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  33299. "type": "string"
  33300. },
  33301. "exchareaid": {
  33302. "description": "所属交易所,可以没有",
  33303. "type": "integer"
  33304. },
  33305. "goodstype": {
  33306. "description": "商品类型 - 1:交易商品 2:仓单商品",
  33307. "type": "integer"
  33308. },
  33309. "hasrebate": {
  33310. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  33311. "type": "integer"
  33312. },
  33313. "hastradecredit": {
  33314. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  33315. "type": "integer"
  33316. },
  33317. "haswr": {
  33318. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  33319. "type": "integer"
  33320. },
  33321. "isdeductmargin": {
  33322. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  33323. "type": "integer"
  33324. },
  33325. "isrecordsource": {
  33326. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  33327. "type": "integer"
  33328. },
  33329. "isreleasemargin": {
  33330. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  33331. "type": "integer"
  33332. },
  33333. "marginformula": {
  33334. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33335. "type": "integer"
  33336. },
  33337. "marginformula2": {
  33338. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33339. "type": "integer"
  33340. },
  33341. "marketid": {
  33342. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  33343. "type": "integer"
  33344. },
  33345. "marketname": {
  33346. "description": "市场名称",
  33347. "type": "string"
  33348. },
  33349. "marketserviceid": {
  33350. "description": "市场服务ID",
  33351. "type": "integer"
  33352. },
  33353. "marketstatus": {
  33354. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  33355. "type": "integer"
  33356. },
  33357. "markettype": {
  33358. "description": "市场类型- 1:非交易服务 2:交易服务",
  33359. "type": "integer"
  33360. },
  33361. "matchermode": {
  33362. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  33363. "type": "integer"
  33364. },
  33365. "openmethod": {
  33366. "description": "开盘模式 - 0 自动 1手动",
  33367. "type": "integer"
  33368. },
  33369. "otcuserid": {
  33370. "description": "场外期权做市商[场外期权]",
  33371. "type": "integer"
  33372. },
  33373. "outersynctime": {
  33374. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  33375. "type": "string"
  33376. },
  33377. "pendingflag": {
  33378. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  33379. "type": "integer"
  33380. },
  33381. "pendingtime": {
  33382. "description": "待开市时间[通道交易-对冲](HH:mm)",
  33383. "type": "string"
  33384. },
  33385. "performancetempid": {
  33386. "description": "履约计划模板ID - 作废",
  33387. "type": "integer"
  33388. },
  33389. "premiumquotemode": {
  33390. "description": "权利金报价方式 - 1:自动 2:手动",
  33391. "type": "integer"
  33392. },
  33393. "rebateratio": {
  33394. "description": "返利比率[竞价式]",
  33395. "type": "number"
  33396. },
  33397. "reckonorder": {
  33398. "description": "结算顺序",
  33399. "type": "integer"
  33400. },
  33401. "reckonpricealgorithm": {
  33402. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  33403. "type": "integer"
  33404. },
  33405. "reckonpriceparam": {
  33406. "description": "结算价参数",
  33407. "type": "integer"
  33408. },
  33409. "reckontime": {
  33410. "description": "结算时间[通道交易-对冲](HH:mm)",
  33411. "type": "string"
  33412. },
  33413. "roleprioritytype": {
  33414. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33415. "type": "integer"
  33416. },
  33417. "selllistingauditflag": {
  33418. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33419. "type": "integer"
  33420. },
  33421. "trademarkettype": {
  33422. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33423. "type": "integer"
  33424. },
  33425. "trademode": {
  33426. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33427. "type": "integer"
  33428. },
  33429. "tradeproperty": {
  33430. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33431. "type": "integer"
  33432. },
  33433. "tradetype": {
  33434. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33435. "type": "integer"
  33436. }
  33437. }
  33438. },
  33439. "models.Marketcalendar": {
  33440. "type": "object",
  33441. "properties": {
  33442. "holidaydate": {
  33443. "description": "节假日期(yyyy-MM-dd)",
  33444. "type": "string"
  33445. },
  33446. "marketid": {
  33447. "description": "市场ID",
  33448. "type": "integer"
  33449. }
  33450. }
  33451. },
  33452. "models.Marketrun": {
  33453. "type": "object",
  33454. "required": [
  33455. "marketid",
  33456. "nexttradedate",
  33457. "reckonflag",
  33458. "runstatus",
  33459. "tradedate",
  33460. "tradedate2"
  33461. ],
  33462. "properties": {
  33463. "afternexttradedate": {
  33464. "description": "下下交易日",
  33465. "type": "string"
  33466. },
  33467. "clearquoteflag": {
  33468. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  33469. "type": "integer"
  33470. },
  33471. "lastreckondate": {
  33472. "description": "最新交易日(结算成功)",
  33473. "type": "string"
  33474. },
  33475. "machinedate": {
  33476. "description": "机器时间",
  33477. "type": "string"
  33478. },
  33479. "manualflag": {
  33480. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  33481. "type": "integer"
  33482. },
  33483. "marketid": {
  33484. "description": "市场ID",
  33485. "type": "integer"
  33486. },
  33487. "nexttradedate": {
  33488. "description": "下一交易日",
  33489. "type": "string"
  33490. },
  33491. "pretradedate": {
  33492. "description": "上一交易日",
  33493. "type": "string"
  33494. },
  33495. "reckonflag": {
  33496. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  33497. "type": "integer"
  33498. },
  33499. "runstatus": {
  33500. "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.今日免清算",
  33501. "type": "integer"
  33502. },
  33503. "sectionid": {
  33504. "description": "时间段号[多时段时用]",
  33505. "type": "integer"
  33506. },
  33507. "tradedate": {
  33508. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  33509. "type": "string"
  33510. },
  33511. "tradedate2": {
  33512. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  33513. "type": "string"
  33514. },
  33515. "updatetime": {
  33516. "description": "更新时间",
  33517. "type": "string"
  33518. }
  33519. }
  33520. },
  33521. "models.Messageboard": {
  33522. "type": "object",
  33523. "required": [
  33524. "messageboardid"
  33525. ],
  33526. "properties": {
  33527. "contactnum": {
  33528. "description": "联系电话",
  33529. "type": "string"
  33530. },
  33531. "createtime": {
  33532. "description": "创建时间",
  33533. "type": "string"
  33534. },
  33535. "message": {
  33536. "description": "留言信息",
  33537. "type": "string"
  33538. },
  33539. "messageboardid": {
  33540. "description": "留言簿ID(SEQ_MessageBoard)",
  33541. "type": "integer"
  33542. },
  33543. "userid": {
  33544. "description": "用户ID",
  33545. "type": "integer"
  33546. }
  33547. }
  33548. },
  33549. "models.MyBargainApply": {
  33550. "type": "object",
  33551. "required": [
  33552. "userid"
  33553. ],
  33554. "properties": {
  33555. "accountid": {
  33556. "description": "摘牌资金账号",
  33557. "type": "integer"
  33558. },
  33559. "applyprice": {
  33560. "description": "申请价格",
  33561. "type": "string"
  33562. },
  33563. "applyremark": {
  33564. "description": "申请备注",
  33565. "type": "string"
  33566. },
  33567. "applystatus": {
  33568. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33569. "type": "integer"
  33570. },
  33571. "applytime": {
  33572. "description": "申请时间",
  33573. "type": "string"
  33574. },
  33575. "buyorsell": {
  33576. "description": "买卖 - 0:买 1:卖",
  33577. "type": "integer"
  33578. },
  33579. "confirmprice": {
  33580. "description": "可接受价格(拒绝时填写)-作废",
  33581. "type": "number"
  33582. },
  33583. "confirmqty": {
  33584. "description": "可接受数量(拒绝时填写)-作废",
  33585. "type": "integer"
  33586. },
  33587. "confirmremark": {
  33588. "description": "确认备注",
  33589. "type": "string"
  33590. },
  33591. "confirmtime": {
  33592. "description": "确认时间",
  33593. "type": "string"
  33594. },
  33595. "confirmuserid": {
  33596. "description": "确认人",
  33597. "type": "integer"
  33598. },
  33599. "goodsno": {
  33600. "description": "商品编号",
  33601. "type": "string"
  33602. },
  33603. "handlestatus": {
  33604. "description": "处理状态",
  33605. "type": "integer"
  33606. },
  33607. "ladingbillid": {
  33608. "description": "摘牌方提单ID [卖]",
  33609. "type": "integer"
  33610. },
  33611. "marketid": {
  33612. "description": "市场ID",
  33613. "type": "integer"
  33614. },
  33615. "matchaccountid": {
  33616. "description": "挂牌方资金账号",
  33617. "type": "integer"
  33618. },
  33619. "matchuserid": {
  33620. "description": "挂牌方用户ID",
  33621. "type": "integer"
  33622. },
  33623. "performancetemplateid": {
  33624. "description": "履约计划模板ID",
  33625. "type": "integer"
  33626. },
  33627. "price": {
  33628. "description": "价格",
  33629. "type": "number"
  33630. },
  33631. "priceper": {
  33632. "description": "克拉单价 - 类型:1,2,3,5",
  33633. "type": "string"
  33634. },
  33635. "qty": {
  33636. "description": "申请数量",
  33637. "type": "number"
  33638. },
  33639. "refprice": {
  33640. "description": "参考价格",
  33641. "type": "string"
  33642. },
  33643. "retcode": {
  33644. "description": "委托返回代码",
  33645. "type": "integer"
  33646. },
  33647. "sellusername": {
  33648. "description": "卖方",
  33649. "type": "string"
  33650. },
  33651. "sizedisplay": {
  33652. "description": "尺寸",
  33653. "type": "string"
  33654. },
  33655. "subnum": {
  33656. "description": "摘牌方提单子单号 [卖]",
  33657. "type": "integer"
  33658. },
  33659. "tradedate": {
  33660. "description": "交易日(yyyyMMdd)",
  33661. "type": "string"
  33662. },
  33663. "userid": {
  33664. "description": "摘牌人用户ID",
  33665. "type": "integer"
  33666. },
  33667. "warehousenamedisplay": {
  33668. "type": "string"
  33669. },
  33670. "wrbargainid": {
  33671. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33672. "type": "string"
  33673. },
  33674. "wrtradeorderid": {
  33675. "description": "关联委托单ID",
  33676. "type": "string"
  33677. },
  33678. "zscerttypedisplay": {
  33679. "type": "string"
  33680. },
  33681. "zsclaritytype1display": {
  33682. "type": "string"
  33683. },
  33684. "zsclaritytype2display": {
  33685. "type": "string"
  33686. },
  33687. "zscolortype1display": {
  33688. "type": "string"
  33689. },
  33690. "zscolortype2display": {
  33691. "type": "string"
  33692. },
  33693. "zscrystaltypedisplay": {
  33694. "type": "string"
  33695. },
  33696. "zscurrencytypedisplay": {
  33697. "type": "string"
  33698. },
  33699. "zscurrencytypedisplayunit": {
  33700. "type": "string"
  33701. },
  33702. "zscuttype1display": {
  33703. "type": "string"
  33704. },
  33705. "zscuttype2display": {
  33706. "type": "string"
  33707. },
  33708. "zsczcolor1typedisplay": {
  33709. "type": "string"
  33710. },
  33711. "zsczcolor2typedisplay": {
  33712. "type": "string"
  33713. },
  33714. "zsczcolor3typedisplay": {
  33715. "type": "string"
  33716. },
  33717. "zsfluorescencetype1display": {
  33718. "type": "string"
  33719. },
  33720. "zsfluorescencetype2display": {
  33721. "type": "string"
  33722. },
  33723. "zspolishtype1display": {
  33724. "type": "string"
  33725. },
  33726. "zspolishtype2display": {
  33727. "type": "string"
  33728. },
  33729. "zsshapetypedisplay": {
  33730. "type": "string"
  33731. },
  33732. "zsstyletypedisplay": {
  33733. "type": "string"
  33734. },
  33735. "zssymmetrytype1display": {
  33736. "type": "string"
  33737. },
  33738. "zssymmetrytype2display": {
  33739. "type": "string"
  33740. }
  33741. }
  33742. },
  33743. "models.MyBuyOrder": {
  33744. "type": "object",
  33745. "required": [
  33746. "userid"
  33747. ],
  33748. "properties": {
  33749. "accountid": {
  33750. "description": "资金账户ID",
  33751. "type": "integer"
  33752. },
  33753. "marketid": {
  33754. "description": "市场ID",
  33755. "type": "integer"
  33756. },
  33757. "ordertime": {
  33758. "description": "委托时间",
  33759. "type": "string"
  33760. },
  33761. "origin": {
  33762. "description": "原产地",
  33763. "type": "string"
  33764. },
  33765. "performancetemplateid": {
  33766. "description": "履约计划模板ID",
  33767. "type": "integer"
  33768. },
  33769. "remark": {
  33770. "description": "备注",
  33771. "type": "string"
  33772. },
  33773. "userid": {
  33774. "description": "用户ID",
  33775. "type": "integer"
  33776. },
  33777. "validtime": {
  33778. "description": "有效期限",
  33779. "type": "string"
  33780. },
  33781. "warehouseids": {
  33782. "description": "仓库ID - 多个, 逗号分隔",
  33783. "type": "string"
  33784. },
  33785. "warehouseinfosdisplay": {
  33786. "type": "string"
  33787. },
  33788. "wrtradeorderid": {
  33789. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33790. "type": "string"
  33791. },
  33792. "wrtradeorderstatus": {
  33793. "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、",
  33794. "type": "integer"
  33795. },
  33796. "zscategory": {
  33797. "description": "钻石分类 - 枚举”ZSCategory“",
  33798. "type": "integer"
  33799. },
  33800. "zscategorydisplay": {
  33801. "type": "string"
  33802. },
  33803. "zsclaritytype": {
  33804. "description": "净度 - 两个, 逗号分隔",
  33805. "type": "string"
  33806. },
  33807. "zsclaritytypedisplay": {
  33808. "type": "string"
  33809. },
  33810. "zscolortype": {
  33811. "description": "颜色 - 两个, 逗号分隔",
  33812. "type": "string"
  33813. },
  33814. "zscolortypedisplay": {
  33815. "type": "string"
  33816. },
  33817. "zscrystaltype": {
  33818. "description": "晶型 - 多个,逗号分隔",
  33819. "type": "string"
  33820. },
  33821. "zscrystaltypedisplay": {
  33822. "type": "string"
  33823. },
  33824. "zscurrencytype": {
  33825. "description": "货币类型 - 多个, 逗号分隔",
  33826. "type": "string"
  33827. },
  33828. "zscurrencytypedisplay": {
  33829. "type": "string"
  33830. },
  33831. "zscuttype": {
  33832. "description": "切工 - 两个, 逗号分隔",
  33833. "type": "string"
  33834. },
  33835. "zscuttypedisplay": {
  33836. "type": "string"
  33837. },
  33838. "zsczcolor1type": {
  33839. "description": "彩钻颜色1, 逗号分隔",
  33840. "type": "string"
  33841. },
  33842. "zsczcolor1typedisplay": {
  33843. "type": "string"
  33844. },
  33845. "zsczcolor2type": {
  33846. "description": "彩钻颜色2, 逗号分隔",
  33847. "type": "string"
  33848. },
  33849. "zsczcolor2typedisplay": {
  33850. "type": "string"
  33851. },
  33852. "zsczcolor3type": {
  33853. "description": "彩钻颜色3, 逗号分隔",
  33854. "type": "string"
  33855. },
  33856. "zsczcolor3typedisplay": {
  33857. "type": "string"
  33858. },
  33859. "zsfluorescencetype": {
  33860. "description": "荧光 - 多个, 逗号分隔",
  33861. "type": "string"
  33862. },
  33863. "zsfluorescencetypedisplay": {
  33864. "type": "string"
  33865. },
  33866. "zspolishtype": {
  33867. "description": "抛光度 - 两个, 逗号分隔",
  33868. "type": "string"
  33869. },
  33870. "zspolishtypedisplay": {
  33871. "type": "string"
  33872. },
  33873. "zsshapetype": {
  33874. "description": "形状 - 多个, 逗号分隔",
  33875. "type": "string"
  33876. },
  33877. "zsshapetypedisplay": {
  33878. "type": "string"
  33879. },
  33880. "zssize": {
  33881. "description": "尺寸 - 两个小数, 逗号分隔",
  33882. "type": "string"
  33883. },
  33884. "zsstyletype": {
  33885. "description": "款式 - 多个, 逗号分隔",
  33886. "type": "string"
  33887. },
  33888. "zsstyletypedisplay": {
  33889. "type": "string"
  33890. },
  33891. "zssymmetrytype": {
  33892. "description": "对称度 - 两个, 逗号分隔",
  33893. "type": "string"
  33894. },
  33895. "zssymmetrytypedisplay": {
  33896. "type": "string"
  33897. },
  33898. "zstabledisplay": {
  33899. "description": "求购信息",
  33900. "type": "string"
  33901. }
  33902. }
  33903. },
  33904. "models.MyCoupon": {
  33905. "type": "object",
  33906. "required": [
  33907. "accountid",
  33908. "coupontypeid"
  33909. ],
  33910. "properties": {
  33911. "accountid": {
  33912. "description": "资金账户ID",
  33913. "type": "integer"
  33914. },
  33915. "areauserid": {
  33916. "description": "所属机构",
  33917. "type": "integer"
  33918. },
  33919. "conditionvalue": {
  33920. "description": "条件阈值(可为0)",
  33921. "type": "number"
  33922. },
  33923. "couponcategroy": {
  33924. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  33925. "type": "integer"
  33926. },
  33927. "couponname": {
  33928. "description": "优惠券名称",
  33929. "type": "string"
  33930. },
  33931. "coupontypeid": {
  33932. "description": "优惠券类型ID",
  33933. "type": "string"
  33934. },
  33935. "couponvalue": {
  33936. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  33937. "type": "number"
  33938. },
  33939. "curfreezeqty": {
  33940. "description": "期末冻结数量",
  33941. "type": "integer"
  33942. },
  33943. "curqty": {
  33944. "description": "期末数量",
  33945. "type": "integer"
  33946. },
  33947. "isgeneral": {
  33948. "description": "是否通用券 - 0:否 1:是",
  33949. "type": "integer"
  33950. },
  33951. "isunusable": {
  33952. "description": "是否不可用",
  33953. "type": "boolean"
  33954. },
  33955. "limitedflag": {
  33956. "description": "是否指定商品 - 0:不限 1:限制",
  33957. "type": "integer"
  33958. },
  33959. "limitedgoodsids": {
  33960. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  33961. "type": "string"
  33962. },
  33963. "orifreezeqty": {
  33964. "description": "期初冻结数量",
  33965. "type": "integer"
  33966. },
  33967. "oriqty": {
  33968. "description": "期初数量",
  33969. "type": "integer"
  33970. },
  33971. "reasontype": {
  33972. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  33973. "type": "integer"
  33974. },
  33975. "todaydecrease": {
  33976. "description": "今日减少",
  33977. "type": "integer"
  33978. },
  33979. "todayincrease": {
  33980. "description": "今日增加",
  33981. "type": "integer"
  33982. },
  33983. "userid": {
  33984. "description": "用户ID",
  33985. "type": "integer"
  33986. },
  33987. "userscope": {
  33988. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  33989. "type": "string"
  33990. }
  33991. }
  33992. },
  33993. "models.MyCouponHold": {
  33994. "type": "object",
  33995. "required": [
  33996. "couponholdid"
  33997. ],
  33998. "properties": {
  33999. "accountid": {
  34000. "description": "资金账户ID",
  34001. "type": "integer"
  34002. },
  34003. "conditionvalue": {
  34004. "description": "条件阈值(可为0)",
  34005. "type": "number"
  34006. },
  34007. "couponcategroy": {
  34008. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  34009. "type": "integer"
  34010. },
  34011. "couponholdid": {
  34012. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  34013. "type": "string"
  34014. },
  34015. "couponname": {
  34016. "description": "优惠券名称",
  34017. "type": "string"
  34018. },
  34019. "coupontypeid": {
  34020. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  34021. "type": "string"
  34022. },
  34023. "couponvalue": {
  34024. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  34025. "type": "number"
  34026. },
  34027. "createtime": {
  34028. "description": "创建时间",
  34029. "type": "string"
  34030. },
  34031. "enddate": {
  34032. "description": "结束日期",
  34033. "type": "string"
  34034. },
  34035. "giveapplyid": {
  34036. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  34037. "type": "integer"
  34038. },
  34039. "holdstatus": {
  34040. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  34041. "type": "integer"
  34042. },
  34043. "isgeneral": {
  34044. "description": "是否通用券 - 0:否 1:是",
  34045. "type": "integer"
  34046. },
  34047. "limitedflag": {
  34048. "description": "是否指定商品 - 0:不限 1:限制",
  34049. "type": "integer"
  34050. },
  34051. "limitedgoodsids": {
  34052. "description": "指定商品IDs[逗号分隔]",
  34053. "type": "string"
  34054. },
  34055. "qty": {
  34056. "description": "数量(按1平铺)",
  34057. "type": "integer"
  34058. },
  34059. "startdate": {
  34060. "description": "开始日期",
  34061. "type": "string"
  34062. },
  34063. "userid": {
  34064. "description": "用户ID",
  34065. "type": "integer"
  34066. },
  34067. "userscope": {
  34068. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  34069. "type": "string"
  34070. }
  34071. }
  34072. },
  34073. "models.MyDeListing": {
  34074. "type": "object",
  34075. "required": [
  34076. "userid"
  34077. ],
  34078. "properties": {
  34079. "buyaccountid": {
  34080. "description": "买方账号ID",
  34081. "type": "integer"
  34082. },
  34083. "buychargevalue": {
  34084. "description": "买方手续费",
  34085. "type": "number"
  34086. },
  34087. "buyuserid": {
  34088. "description": "买方用户ID",
  34089. "type": "integer"
  34090. },
  34091. "deliverygoodsid": {
  34092. "description": "现货品种ID",
  34093. "type": "integer"
  34094. },
  34095. "exchangerate": {
  34096. "description": "汇率",
  34097. "type": "number"
  34098. },
  34099. "goodsno": {
  34100. "description": "商品编号",
  34101. "type": "string"
  34102. },
  34103. "marketid": {
  34104. "description": "市场ID",
  34105. "type": "integer"
  34106. },
  34107. "matchusername": {
  34108. "description": "对手方",
  34109. "type": "string"
  34110. },
  34111. "oritradeamount": {
  34112. "description": "成交金额[商品币种]",
  34113. "type": "number"
  34114. },
  34115. "performanceplanid": {
  34116. "description": "履约计划ID/合同ID",
  34117. "type": "string"
  34118. },
  34119. "price": {
  34120. "description": "价格",
  34121. "type": "number"
  34122. },
  34123. "qty": {
  34124. "description": "成交重量",
  34125. "type": "number"
  34126. },
  34127. "sellaccountid": {
  34128. "description": "卖方账号ID",
  34129. "type": "integer"
  34130. },
  34131. "sellchargevalue": {
  34132. "description": "卖方手续费",
  34133. "type": "number"
  34134. },
  34135. "selluserid": {
  34136. "description": "卖方用户ID",
  34137. "type": "integer"
  34138. },
  34139. "sizedisplay": {
  34140. "description": "尺寸",
  34141. "type": "string"
  34142. },
  34143. "tradeamount": {
  34144. "description": "成交金额",
  34145. "type": "number"
  34146. },
  34147. "tradedate": {
  34148. "description": "交易日(yyyyMMdd)",
  34149. "type": "string"
  34150. },
  34151. "tradeprice": {
  34152. "description": "成交价格",
  34153. "type": "number"
  34154. },
  34155. "tradetime": {
  34156. "description": "成交时间",
  34157. "type": "string"
  34158. },
  34159. "userid": {
  34160. "description": "用户ID",
  34161. "type": "integer"
  34162. },
  34163. "warehousenamedisplay": {
  34164. "type": "string"
  34165. },
  34166. "wrfactortypeid": {
  34167. "description": "仓单要素类型ID",
  34168. "type": "integer"
  34169. },
  34170. "wrstandardid": {
  34171. "description": "现货商品ID",
  34172. "type": "integer"
  34173. },
  34174. "wrtradedetailid": {
  34175. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  34176. "type": "string"
  34177. },
  34178. "zscategory": {
  34179. "description": "钻石分类 - 枚举”ZSCategory“",
  34180. "type": "integer"
  34181. },
  34182. "zscategorydisplay": {
  34183. "type": "string"
  34184. },
  34185. "zscerttypedisplay": {
  34186. "type": "string"
  34187. },
  34188. "zsclaritytype1display": {
  34189. "type": "string"
  34190. },
  34191. "zsclaritytype2display": {
  34192. "type": "string"
  34193. },
  34194. "zscolortype1display": {
  34195. "type": "string"
  34196. },
  34197. "zscolortype2display": {
  34198. "type": "string"
  34199. },
  34200. "zscrystaltypedisplay": {
  34201. "type": "string"
  34202. },
  34203. "zscurrencytype": {
  34204. "description": "货币类型 - 枚举“ZSCurrencyType”",
  34205. "type": "integer"
  34206. },
  34207. "zscurrencytypedisplay": {
  34208. "type": "string"
  34209. },
  34210. "zscurrencytypedisplayunit": {
  34211. "type": "string"
  34212. },
  34213. "zscuttype1display": {
  34214. "type": "string"
  34215. },
  34216. "zscuttype2display": {
  34217. "type": "string"
  34218. },
  34219. "zsczcolor1typedisplay": {
  34220. "type": "string"
  34221. },
  34222. "zsczcolor2typedisplay": {
  34223. "type": "string"
  34224. },
  34225. "zsczcolor3typedisplay": {
  34226. "type": "string"
  34227. },
  34228. "zsfluorescencetype1display": {
  34229. "type": "string"
  34230. },
  34231. "zsfluorescencetype2display": {
  34232. "type": "string"
  34233. },
  34234. "zspolishtype1display": {
  34235. "type": "string"
  34236. },
  34237. "zspolishtype2display": {
  34238. "type": "string"
  34239. },
  34240. "zsshapetypedisplay": {
  34241. "type": "string"
  34242. },
  34243. "zsstyletypedisplay": {
  34244. "type": "string"
  34245. },
  34246. "zssymmetrytype1display": {
  34247. "type": "string"
  34248. },
  34249. "zssymmetrytype2display": {
  34250. "type": "string"
  34251. }
  34252. }
  34253. },
  34254. "models.MyDelistingApply": {
  34255. "type": "object",
  34256. "required": [
  34257. "selluserid"
  34258. ],
  34259. "properties": {
  34260. "applyprice": {
  34261. "description": "申请价格",
  34262. "type": "number"
  34263. },
  34264. "applyqty": {
  34265. "description": "申请数量",
  34266. "type": "number"
  34267. },
  34268. "applyremark": {
  34269. "description": "申请备注",
  34270. "type": "string"
  34271. },
  34272. "applystatus": {
  34273. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34274. "type": "integer"
  34275. },
  34276. "applytime": {
  34277. "description": "申请时间",
  34278. "type": "string"
  34279. },
  34280. "auditremark": {
  34281. "description": "确认备注",
  34282. "type": "string"
  34283. },
  34284. "audittime": {
  34285. "description": "确认时间",
  34286. "type": "string"
  34287. },
  34288. "buyuserid": {
  34289. "description": "买方用户ID",
  34290. "type": "integer"
  34291. },
  34292. "buyusername": {
  34293. "type": "string"
  34294. },
  34295. "buywrtradeorderid": {
  34296. "description": "买委托单ID",
  34297. "type": "string"
  34298. },
  34299. "goodsno": {
  34300. "description": "商品编号",
  34301. "type": "string"
  34302. },
  34303. "ladingbillid": {
  34304. "description": "卖方提单ID",
  34305. "type": "string"
  34306. },
  34307. "marketid": {
  34308. "description": "市场ID",
  34309. "type": "integer"
  34310. },
  34311. "performancetemplateid": {
  34312. "description": "履约计划模板ID",
  34313. "type": "integer"
  34314. },
  34315. "price": {
  34316. "description": "价格",
  34317. "type": "number"
  34318. },
  34319. "sellaccountid": {
  34320. "description": "卖方账户ID",
  34321. "type": "integer"
  34322. },
  34323. "selldelistingapplyid": {
  34324. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  34325. "type": "string"
  34326. },
  34327. "selltradeorderid": {
  34328. "description": "卖方委托ID(买方确认成交后更新)",
  34329. "type": "string"
  34330. },
  34331. "selluserid": {
  34332. "description": "卖方用户ID",
  34333. "type": "integer"
  34334. },
  34335. "sizedisplay": {
  34336. "description": "尺寸",
  34337. "type": "string"
  34338. },
  34339. "subnum": {
  34340. "description": "卖方提单子单号",
  34341. "type": "integer"
  34342. },
  34343. "warehouseinfosdisplay": {
  34344. "type": "string"
  34345. },
  34346. "weight": {
  34347. "description": "克拉重量",
  34348. "type": "number"
  34349. },
  34350. "wrfactortypeid": {
  34351. "description": "仓单要素类型ID",
  34352. "type": "string"
  34353. },
  34354. "wrstandardid": {
  34355. "description": "现货商品ID",
  34356. "type": "integer"
  34357. },
  34358. "zsallproperties": {
  34359. "type": "string"
  34360. },
  34361. "zscategorydisplay": {
  34362. "type": "string"
  34363. },
  34364. "zsclaritytypedisplay": {
  34365. "type": "string"
  34366. },
  34367. "zscolortypedisplay": {
  34368. "type": "string"
  34369. },
  34370. "zscrystaltypedisplay": {
  34371. "type": "string"
  34372. },
  34373. "zscurrencytypedisplay": {
  34374. "type": "string"
  34375. },
  34376. "zscuttypedisplay": {
  34377. "type": "string"
  34378. },
  34379. "zsczcolor1typedisplay": {
  34380. "type": "string"
  34381. },
  34382. "zsczcolor2typedisplay": {
  34383. "type": "string"
  34384. },
  34385. "zsczcolor3typedisplay": {
  34386. "type": "string"
  34387. },
  34388. "zsfluorescencetypedisplay": {
  34389. "type": "string"
  34390. },
  34391. "zspolishtypedisplay": {
  34392. "type": "string"
  34393. },
  34394. "zsshapetypedisplay": {
  34395. "type": "string"
  34396. },
  34397. "zssizedisplay": {
  34398. "type": "string"
  34399. },
  34400. "zsstyletypedisplay": {
  34401. "type": "string"
  34402. },
  34403. "zssymmetrytypedisplay": {
  34404. "type": "string"
  34405. },
  34406. "zstabledisplay": {
  34407. "type": "string"
  34408. }
  34409. }
  34410. },
  34411. "models.MyFavorite": {
  34412. "type": "object",
  34413. "required": [
  34414. "userid"
  34415. ],
  34416. "properties": {
  34417. "buyorsell": {
  34418. "description": "买卖 - 0:买 1:卖",
  34419. "type": "integer"
  34420. },
  34421. "favoritestatus": {
  34422. "description": "收藏状态 - 1:正常 2:失效",
  34423. "type": "integer"
  34424. },
  34425. "goodsno": {
  34426. "description": "商品编号",
  34427. "type": "string"
  34428. },
  34429. "marketid": {
  34430. "description": "市场ID",
  34431. "type": "integer"
  34432. },
  34433. "price": {
  34434. "description": "价格",
  34435. "type": "number"
  34436. },
  34437. "priceper": {
  34438. "description": "克拉单价",
  34439. "type": "string"
  34440. },
  34441. "sizedisplay": {
  34442. "description": "尺寸",
  34443. "type": "string"
  34444. },
  34445. "userid": {
  34446. "description": "用户ID",
  34447. "type": "integer"
  34448. },
  34449. "warehousenamedisplay": {
  34450. "type": "string"
  34451. },
  34452. "weight": {
  34453. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  34454. "type": "number"
  34455. },
  34456. "weightavg": {
  34457. "description": "平均单颗重量 - 类型:1,3",
  34458. "type": "number"
  34459. },
  34460. "wrfactortypeid": {
  34461. "description": "仓单要素类型ID/商品ID(77)",
  34462. "type": "string"
  34463. },
  34464. "wrstandardid": {
  34465. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  34466. "type": "integer"
  34467. },
  34468. "wrtradeorderid": {
  34469. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34470. "type": "string"
  34471. },
  34472. "zscategory": {
  34473. "description": "钻石分类 - 枚举”ZSCategory“",
  34474. "type": "integer"
  34475. },
  34476. "zscategorydisplay": {
  34477. "type": "string"
  34478. },
  34479. "zscerttypedisplay": {
  34480. "type": "string"
  34481. },
  34482. "zsclaritytype1display": {
  34483. "type": "string"
  34484. },
  34485. "zsclaritytype2display": {
  34486. "type": "string"
  34487. },
  34488. "zscolortype1display": {
  34489. "type": "string"
  34490. },
  34491. "zscolortype2display": {
  34492. "type": "string"
  34493. },
  34494. "zscrystaltypedisplay": {
  34495. "type": "string"
  34496. },
  34497. "zscurrencytypedisplay": {
  34498. "type": "string"
  34499. },
  34500. "zscurrencytypedisplayunit": {
  34501. "type": "string"
  34502. },
  34503. "zscuttype1display": {
  34504. "type": "string"
  34505. },
  34506. "zscuttype2display": {
  34507. "type": "string"
  34508. },
  34509. "zsczcolor1typedisplay": {
  34510. "type": "string"
  34511. },
  34512. "zsczcolor2typedisplay": {
  34513. "type": "string"
  34514. },
  34515. "zsczcolor3typedisplay": {
  34516. "type": "string"
  34517. },
  34518. "zsfluorescencetype1display": {
  34519. "type": "string"
  34520. },
  34521. "zsfluorescencetype2display": {
  34522. "type": "string"
  34523. },
  34524. "zspolishtype1display": {
  34525. "type": "string"
  34526. },
  34527. "zspolishtype2display": {
  34528. "type": "string"
  34529. },
  34530. "zsshapetypedisplay": {
  34531. "type": "string"
  34532. },
  34533. "zsstyletypedisplay": {
  34534. "type": "string"
  34535. },
  34536. "zssymmetrytype1display": {
  34537. "type": "string"
  34538. },
  34539. "zssymmetrytype2display": {
  34540. "type": "string"
  34541. }
  34542. }
  34543. },
  34544. "models.MyPerformanc": {
  34545. "type": "object",
  34546. "properties": {
  34547. "accountname": {
  34548. "description": "[对手方]账户名称(机构名称)",
  34549. "type": "string"
  34550. },
  34551. "amount": {
  34552. "description": "履约金额",
  34553. "type": "number"
  34554. },
  34555. "buyaccountid": {
  34556. "description": "买方账号",
  34557. "type": "integer"
  34558. },
  34559. "buyerfreezeamount": {
  34560. "description": "买方履约前冻结资金",
  34561. "type": "number"
  34562. },
  34563. "buyerfreezeamountremain": {
  34564. "description": "买方履约前冻结资金剩余",
  34565. "type": "number"
  34566. },
  34567. "buyerinfo": {
  34568. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  34569. "type": "string"
  34570. },
  34571. "buyorsell": {
  34572. "description": "方向 - 0:买 1:卖",
  34573. "type": "integer"
  34574. },
  34575. "buypaidamount": {
  34576. "description": "买方已冻/已扣金额",
  34577. "type": "number"
  34578. },
  34579. "curstepid": {
  34580. "description": "当前步骤ID",
  34581. "type": "string"
  34582. },
  34583. "goodsno": {
  34584. "description": "商品编号",
  34585. "type": "string"
  34586. },
  34587. "overshortamount": {
  34588. "description": "溢短金额",
  34589. "type": "number"
  34590. },
  34591. "paymenttype": {
  34592. "description": "买方支付方式 - 1:冻结 2:扣款",
  34593. "type": "integer"
  34594. },
  34595. "performanceplanid": {
  34596. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34597. "type": "string"
  34598. },
  34599. "performancestatus": {
  34600. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34601. "type": "integer"
  34602. },
  34603. "price": {
  34604. "description": "价格",
  34605. "type": "number"
  34606. },
  34607. "priceper": {
  34608. "description": "克拉单价",
  34609. "type": "string"
  34610. },
  34611. "relatedorderid": {
  34612. "description": "关联单号(履约类型的关联单号)",
  34613. "type": "string"
  34614. },
  34615. "remaindays": {
  34616. "description": "剩余天数",
  34617. "type": "integer"
  34618. },
  34619. "sellerfreezeamount": {
  34620. "description": "卖方履约前冻结资金",
  34621. "type": "number"
  34622. },
  34623. "sellerfreezeamountremain": {
  34624. "description": "卖方履约前冻结资金剩余",
  34625. "type": "number"
  34626. },
  34627. "sellerinfo": {
  34628. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  34629. "type": "string"
  34630. },
  34631. "sellreceivedamount": {
  34632. "description": "卖方已收金额",
  34633. "type": "number"
  34634. },
  34635. "sizedisplay": {
  34636. "description": "尺寸",
  34637. "type": "string"
  34638. },
  34639. "steptypeid": {
  34640. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34641. "type": "integer"
  34642. },
  34643. "warehousenamedisplay": {
  34644. "type": "string"
  34645. },
  34646. "zscategorydisplay": {
  34647. "type": "string"
  34648. },
  34649. "zscerttypedisplay": {
  34650. "type": "string"
  34651. },
  34652. "zsclaritytype1display": {
  34653. "type": "string"
  34654. },
  34655. "zsclaritytype2display": {
  34656. "type": "string"
  34657. },
  34658. "zscolortype1display": {
  34659. "type": "string"
  34660. },
  34661. "zscolortype2display": {
  34662. "type": "string"
  34663. },
  34664. "zscrystaltypedisplay": {
  34665. "type": "string"
  34666. },
  34667. "zscurrencytypedisplay": {
  34668. "type": "string"
  34669. },
  34670. "zscurrencytypedisplayunit": {
  34671. "type": "string"
  34672. },
  34673. "zscuttype1display": {
  34674. "type": "string"
  34675. },
  34676. "zscuttype2display": {
  34677. "type": "string"
  34678. },
  34679. "zsczcolor1typedisplay": {
  34680. "type": "string"
  34681. },
  34682. "zsczcolor2typedisplay": {
  34683. "type": "string"
  34684. },
  34685. "zsczcolor3typedisplay": {
  34686. "type": "string"
  34687. },
  34688. "zsfluorescencetype1display": {
  34689. "type": "string"
  34690. },
  34691. "zsfluorescencetype2display": {
  34692. "type": "string"
  34693. },
  34694. "zspolishtype1display": {
  34695. "type": "string"
  34696. },
  34697. "zspolishtype2display": {
  34698. "type": "string"
  34699. },
  34700. "zsshapetypedisplay": {
  34701. "type": "string"
  34702. },
  34703. "zsstyletypedisplay": {
  34704. "type": "string"
  34705. },
  34706. "zssymmetrytype1display": {
  34707. "type": "string"
  34708. },
  34709. "zssymmetrytype2display": {
  34710. "type": "string"
  34711. }
  34712. }
  34713. },
  34714. "models.MySellOrder": {
  34715. "type": "object",
  34716. "required": [
  34717. "userid"
  34718. ],
  34719. "properties": {
  34720. "accountid": {
  34721. "description": "资金账号",
  34722. "type": "integer"
  34723. },
  34724. "applyid": {
  34725. "description": "申请单ID",
  34726. "type": "integer"
  34727. },
  34728. "attachment1": {
  34729. "description": "附件1",
  34730. "type": "string"
  34731. },
  34732. "attachment2": {
  34733. "description": "附件2",
  34734. "type": "string"
  34735. },
  34736. "buyorsell": {
  34737. "description": "买卖 - 0:买 1:卖",
  34738. "type": "integer"
  34739. },
  34740. "canbargain": {
  34741. "description": "是否可议价 - 0:不可 1:可",
  34742. "type": "integer"
  34743. },
  34744. "cancelqty": {
  34745. "description": "撤销数量",
  34746. "type": "integer"
  34747. },
  34748. "canceltime": {
  34749. "description": "撤销时间",
  34750. "type": "string"
  34751. },
  34752. "cerno": {
  34753. "type": "string"
  34754. },
  34755. "chargealgorithm": {
  34756. "description": "手续费收取方式 1:比率 2:固定",
  34757. "type": "integer"
  34758. },
  34759. "chargealgorithmvalue": {
  34760. "description": "手续费设置值(交易所部分)",
  34761. "type": "number"
  34762. },
  34763. "chargealgorithmvalue2": {
  34764. "description": "手续费设置值(会员部分)",
  34765. "type": "number"
  34766. },
  34767. "clientordertime": {
  34768. "description": "客户端委托时间",
  34769. "type": "string"
  34770. },
  34771. "cpcertno": {
  34772. "type": "string"
  34773. },
  34774. "exchangerate": {
  34775. "description": "汇率[67]",
  34776. "type": "number"
  34777. },
  34778. "firstratio": {
  34779. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  34780. "type": "number"
  34781. },
  34782. "fixedprice": {
  34783. "description": "[克拉单价]固定价格 - [挂牌]",
  34784. "type": "number"
  34785. },
  34786. "freezecharge": {
  34787. "description": "冻结手续费",
  34788. "type": "number"
  34789. },
  34790. "freezefirstamount": {
  34791. "description": "冻结首付金额 - [摘牌]",
  34792. "type": "number"
  34793. },
  34794. "freezemargin": {
  34795. "description": "冻结保证金",
  34796. "type": "number"
  34797. },
  34798. "goodsno": {
  34799. "description": "商品编号",
  34800. "type": "string"
  34801. },
  34802. "imagepath": {
  34803. "type": "string"
  34804. },
  34805. "isspecified": {
  34806. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  34807. "type": "integer"
  34808. },
  34809. "kppath": {
  34810. "type": "string"
  34811. },
  34812. "kpweight": {
  34813. "type": "string"
  34814. },
  34815. "marginalgorithm": {
  34816. "description": "保证金方式 - 1:比率 2:固定",
  34817. "type": "integer"
  34818. },
  34819. "marginvalue": {
  34820. "description": "保证金设置值",
  34821. "type": "number"
  34822. },
  34823. "marketid": {
  34824. "description": "市场ID",
  34825. "type": "integer"
  34826. },
  34827. "marketprice": {
  34828. "type": "string"
  34829. },
  34830. "orderamount": {
  34831. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  34832. "type": "number"
  34833. },
  34834. "ordertime": {
  34835. "description": "委托时间",
  34836. "type": "string"
  34837. },
  34838. "performancetemplateid": {
  34839. "description": "履约计划模板ID",
  34840. "type": "integer"
  34841. },
  34842. "price": {
  34843. "description": "价格",
  34844. "type": "number"
  34845. },
  34846. "pricefactor": {
  34847. "description": "价格系数(浮动价时填写) - [挂牌]",
  34848. "type": "number"
  34849. },
  34850. "pricemove": {
  34851. "description": "升贴水(浮动价时填写) - [挂牌]",
  34852. "type": "number"
  34853. },
  34854. "priceper": {
  34855. "type": "string"
  34856. },
  34857. "relatedwrtradeorderid": {
  34858. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  34859. "type": "integer"
  34860. },
  34861. "remark": {
  34862. "type": "string"
  34863. },
  34864. "retcode": {
  34865. "description": "错误代码",
  34866. "type": "integer"
  34867. },
  34868. "selledqty": {
  34869. "description": "成交重量",
  34870. "type": "number"
  34871. },
  34872. "settingmaterial": {
  34873. "type": "string"
  34874. },
  34875. "size1": {
  34876. "type": "string"
  34877. },
  34878. "size2": {
  34879. "type": "string"
  34880. },
  34881. "size3": {
  34882. "type": "string"
  34883. },
  34884. "stonedesc": {
  34885. "type": "string"
  34886. },
  34887. "totalqty": {
  34888. "description": "总重量",
  34889. "type": "number"
  34890. },
  34891. "tradedate": {
  34892. "description": "交易日(yyyyMMdd)",
  34893. "type": "string"
  34894. },
  34895. "tradeprice": {
  34896. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34897. "type": "number"
  34898. },
  34899. "unfreezecharge": {
  34900. "description": "解冻手续费",
  34901. "type": "number"
  34902. },
  34903. "unfreezefirstamount": {
  34904. "description": "解冻首付金额 - [摘牌]",
  34905. "type": "number"
  34906. },
  34907. "unfreezemargin": {
  34908. "description": "解冻保证金",
  34909. "type": "number"
  34910. },
  34911. "userid": {
  34912. "description": "用户ID",
  34913. "type": "integer"
  34914. },
  34915. "uuid": {
  34916. "description": "发起端唯一id",
  34917. "type": "string"
  34918. },
  34919. "validtime": {
  34920. "description": "有效期限",
  34921. "type": "string"
  34922. },
  34923. "validtype": {
  34924. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34925. "type": "integer"
  34926. },
  34927. "warehousenamedisplay": {
  34928. "type": "string"
  34929. },
  34930. "wrbargainid": {
  34931. "description": "议价申请单ID",
  34932. "type": "integer"
  34933. },
  34934. "wrfactortypeid": {
  34935. "description": "仓单要素类型ID/商品ID(77)",
  34936. "type": "integer"
  34937. },
  34938. "wrpath": {
  34939. "type": "string"
  34940. },
  34941. "wrpricetype": {
  34942. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34943. "type": "integer"
  34944. },
  34945. "wrstandardid": {
  34946. "description": "现货商品ID",
  34947. "type": "integer"
  34948. },
  34949. "wrtradeorderid": {
  34950. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34951. "type": "string"
  34952. },
  34953. "wrtradeorderstatus": {
  34954. "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:撤单解冻贷款失败",
  34955. "type": "integer"
  34956. },
  34957. "wrtradetype": {
  34958. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34959. "type": "integer"
  34960. },
  34961. "wrtransferuserid": {
  34962. "description": "仓单受让用户 - [摘牌]",
  34963. "type": "integer"
  34964. },
  34965. "zscategory": {
  34966. "description": "钻石分类 - 枚举”ZSCategory“",
  34967. "type": "integer"
  34968. },
  34969. "zscategorydisplay": {
  34970. "description": "钻石分类 - 描述",
  34971. "type": "string"
  34972. },
  34973. "zscerttypedisplay": {
  34974. "type": "string"
  34975. },
  34976. "zsclaritytype1display": {
  34977. "type": "string"
  34978. },
  34979. "zsclaritytype2display": {
  34980. "type": "string"
  34981. },
  34982. "zscolortype1display": {
  34983. "type": "string"
  34984. },
  34985. "zscolortype2display": {
  34986. "type": "string"
  34987. },
  34988. "zscrystaltype": {
  34989. "type": "string"
  34990. },
  34991. "zscrystaltypedisplay": {
  34992. "type": "string"
  34993. },
  34994. "zscurrencytype": {
  34995. "description": "货币类型 - 枚举“ZSCurrencyType”",
  34996. "type": "integer"
  34997. },
  34998. "zscurrencytypedisplay": {
  34999. "type": "string"
  35000. },
  35001. "zscurrencytypedisplayunit": {
  35002. "type": "string"
  35003. },
  35004. "zscuttype1display": {
  35005. "type": "string"
  35006. },
  35007. "zscuttype2display": {
  35008. "type": "string"
  35009. },
  35010. "zsczcolor1typedisplay": {
  35011. "type": "string"
  35012. },
  35013. "zsczcolor2typedisplay": {
  35014. "type": "string"
  35015. },
  35016. "zsczcolor3typedisplay": {
  35017. "type": "string"
  35018. },
  35019. "zsfluorescencetype1display": {
  35020. "type": "string"
  35021. },
  35022. "zsfluorescencetype2display": {
  35023. "type": "string"
  35024. },
  35025. "zspolishtype1display": {
  35026. "type": "string"
  35027. },
  35028. "zspolishtype2display": {
  35029. "type": "string"
  35030. },
  35031. "zsshapetypedisplay": {
  35032. "type": "string"
  35033. },
  35034. "zsstyletypedisplay": {
  35035. "type": "string"
  35036. },
  35037. "zssymmetrytype1display": {
  35038. "type": "string"
  35039. },
  35040. "zssymmetrytype2display": {
  35041. "type": "string"
  35042. }
  35043. }
  35044. },
  35045. "models.MyUsedCoupon": {
  35046. "type": "object",
  35047. "required": [
  35048. "coupontypeid",
  35049. "orderid"
  35050. ],
  35051. "properties": {
  35052. "accountid": {
  35053. "description": "资金账户ID(买方)",
  35054. "type": "integer"
  35055. },
  35056. "conditionvalue": {
  35057. "description": "条件阈值(可为0)",
  35058. "type": "number"
  35059. },
  35060. "couponcategroy": {
  35061. "description": "种类 - 1:现金券 2:折扣券",
  35062. "type": "integer"
  35063. },
  35064. "couponname": {
  35065. "description": "优惠券名称",
  35066. "type": "string"
  35067. },
  35068. "coupontypeid": {
  35069. "description": "优惠券类型ID(买方)",
  35070. "type": "string"
  35071. },
  35072. "couponvalue": {
  35073. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  35074. "type": "number"
  35075. },
  35076. "createtime": {
  35077. "description": "创建时间",
  35078. "type": "string"
  35079. },
  35080. "goodsid": {
  35081. "description": "商品ID",
  35082. "type": "integer"
  35083. },
  35084. "handlestatus": {
  35085. "description": "处理状态",
  35086. "type": "integer"
  35087. },
  35088. "marketid": {
  35089. "description": "市场ID",
  35090. "type": "integer"
  35091. },
  35092. "offamount": {
  35093. "description": "优惠金额",
  35094. "type": "number"
  35095. },
  35096. "orderid": {
  35097. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35098. "type": "string"
  35099. },
  35100. "sellaccountid": {
  35101. "description": "资金账户ID(卖方)",
  35102. "type": "integer"
  35103. },
  35104. "tradeamount": {
  35105. "description": "成交金额",
  35106. "type": "number"
  35107. },
  35108. "tradeid": {
  35109. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35110. "type": "string"
  35111. },
  35112. "usedqty": {
  35113. "description": "使用数量",
  35114. "type": "integer"
  35115. }
  35116. }
  35117. },
  35118. "models.MyWRPosition": {
  35119. "type": "object",
  35120. "required": [
  35121. "wruserid"
  35122. ],
  35123. "properties": {
  35124. "cerno": {
  35125. "description": "证书编号 - 类型:2,4,5",
  35126. "type": "string"
  35127. },
  35128. "cpcertno": {
  35129. "description": "金伯利证书编号 - 类型:3",
  35130. "type": "string"
  35131. },
  35132. "ffreezeqty": {
  35133. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  35134. "type": "number"
  35135. },
  35136. "ftotalqty": {
  35137. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  35138. "type": "number"
  35139. },
  35140. "goodsno": {
  35141. "description": "商品编号",
  35142. "type": "string"
  35143. },
  35144. "imagepath": {
  35145. "description": "商品照片(相对地址)",
  35146. "type": "string"
  35147. },
  35148. "isvalid": {
  35149. "description": "是否有效 - 0:无效 1:有效",
  35150. "type": "integer"
  35151. },
  35152. "kppath": {
  35153. "description": "金伯利证书图片(相对地址) - 类型:3",
  35154. "type": "string"
  35155. },
  35156. "kpweight": {
  35157. "description": "金伯利证书重量 - 类型:3",
  35158. "type": "string"
  35159. },
  35160. "ladingbillid": {
  35161. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35162. "type": "string"
  35163. },
  35164. "marketflag": {
  35165. "description": "是否上架,0-全部 1-是 2-否",
  35166. "type": "integer"
  35167. },
  35168. "marketprice": {
  35169. "description": "市场价",
  35170. "type": "string"
  35171. },
  35172. "origin": {
  35173. "description": "原产地 - 类型:3",
  35174. "type": "string"
  35175. },
  35176. "price": {
  35177. "description": "总价(价格) - 类型:1,2,3,4,5",
  35178. "type": "number"
  35179. },
  35180. "priceper": {
  35181. "description": "克拉单价 - 类型:1,2,3,5",
  35182. "type": "string"
  35183. },
  35184. "remark": {
  35185. "description": "备注",
  35186. "type": "string"
  35187. },
  35188. "sellmobile": {
  35189. "description": "手机号码(加密存储)",
  35190. "type": "string"
  35191. },
  35192. "sellusername": {
  35193. "description": "账户名称(机构名称)",
  35194. "type": "string"
  35195. },
  35196. "settingmaterial": {
  35197. "description": "镶嵌材料 - 类型:4",
  35198. "type": "string"
  35199. },
  35200. "size1": {
  35201. "description": "尺寸1 - 类型:2,4,5",
  35202. "type": "string"
  35203. },
  35204. "size2": {
  35205. "description": "尺寸2 - 类型:2,4,5",
  35206. "type": "string"
  35207. },
  35208. "size3": {
  35209. "description": "尺寸3 - 类型:2,4,5",
  35210. "type": "string"
  35211. },
  35212. "stonedesc": {
  35213. "description": "配石描述 - 类型:4",
  35214. "type": "string"
  35215. },
  35216. "subnum": {
  35217. "description": "提单子单号",
  35218. "type": "integer"
  35219. },
  35220. "userid": {
  35221. "description": "用户ID",
  35222. "type": "integer"
  35223. },
  35224. "warehouseid": {
  35225. "description": "仓库ID",
  35226. "type": "integer"
  35227. },
  35228. "warehousenamedisplay": {
  35229. "type": "string"
  35230. },
  35231. "weight": {
  35232. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  35233. "type": "number"
  35234. },
  35235. "weightavg": {
  35236. "description": "平均单颗重量 - 类型:1,3",
  35237. "type": "number"
  35238. },
  35239. "wrpath": {
  35240. "description": "仓单扫描件(相对地址)",
  35241. "type": "string"
  35242. },
  35243. "wrstandardid": {
  35244. "description": "现货商品ID",
  35245. "type": "integer"
  35246. },
  35247. "wrtradeorderid": {
  35248. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35249. "type": "string"
  35250. },
  35251. "wruserid": {
  35252. "description": "登录用户ID",
  35253. "type": "integer"
  35254. },
  35255. "zscategory": {
  35256. "description": "钻石分类 - 枚举”ZSCategory“",
  35257. "type": "integer"
  35258. },
  35259. "zscategorydisplay": {
  35260. "type": "string"
  35261. },
  35262. "zscerttype": {
  35263. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  35264. "type": "integer"
  35265. },
  35266. "zscerttypedisplay": {
  35267. "type": "string"
  35268. },
  35269. "zsclaritytype1": {
  35270. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  35271. "type": "integer"
  35272. },
  35273. "zsclaritytype1display": {
  35274. "type": "string"
  35275. },
  35276. "zsclaritytype2": {
  35277. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  35278. "type": "integer"
  35279. },
  35280. "zsclaritytype2display": {
  35281. "type": "string"
  35282. },
  35283. "zscolortype1": {
  35284. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  35285. "type": "integer"
  35286. },
  35287. "zscolortype1display": {
  35288. "type": "string"
  35289. },
  35290. "zscolortype2": {
  35291. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  35292. "type": "integer"
  35293. },
  35294. "zscolortype2display": {
  35295. "type": "string"
  35296. },
  35297. "zscrystaltype": {
  35298. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  35299. "type": "string"
  35300. },
  35301. "zscrystaltypedisplay": {
  35302. "type": "string"
  35303. },
  35304. "zscurrencytype": {
  35305. "description": "货币类型 - 枚举“ZSCurrencyType”",
  35306. "type": "integer"
  35307. },
  35308. "zscurrencytypedisplay": {
  35309. "type": "string"
  35310. },
  35311. "zscurrencytypedisplayunit": {
  35312. "type": "string"
  35313. },
  35314. "zscuttype1": {
  35315. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  35316. "type": "integer"
  35317. },
  35318. "zscuttype1display": {
  35319. "type": "string"
  35320. },
  35321. "zscuttype2": {
  35322. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  35323. "type": "integer"
  35324. },
  35325. "zscuttype2display": {
  35326. "type": "string"
  35327. },
  35328. "zsczcolor1type": {
  35329. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  35330. "type": "integer"
  35331. },
  35332. "zsczcolor1typedisplay": {
  35333. "type": "string"
  35334. },
  35335. "zsczcolor2type": {
  35336. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  35337. "type": "integer"
  35338. },
  35339. "zsczcolor2typedisplay": {
  35340. "type": "string"
  35341. },
  35342. "zsczcolor3type": {
  35343. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  35344. "type": "integer"
  35345. },
  35346. "zsczcolor3typedisplay": {
  35347. "type": "string"
  35348. },
  35349. "zsfluorescencetype1": {
  35350. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  35351. "type": "integer"
  35352. },
  35353. "zsfluorescencetype1display": {
  35354. "type": "string"
  35355. },
  35356. "zsfluorescencetype2": {
  35357. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  35358. "type": "integer"
  35359. },
  35360. "zsfluorescencetype2display": {
  35361. "type": "string"
  35362. },
  35363. "zspolishtype1": {
  35364. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  35365. "type": "integer"
  35366. },
  35367. "zspolishtype1display": {
  35368. "type": "string"
  35369. },
  35370. "zspolishtype2": {
  35371. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  35372. "type": "integer"
  35373. },
  35374. "zspolishtype2display": {
  35375. "type": "string"
  35376. },
  35377. "zsshapetype": {
  35378. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  35379. "type": "string"
  35380. },
  35381. "zsshapetypedisplay": {
  35382. "type": "string"
  35383. },
  35384. "zsstyletype": {
  35385. "description": "款式 - 类型:4",
  35386. "type": "integer"
  35387. },
  35388. "zsstyletypedisplay": {
  35389. "type": "string"
  35390. },
  35391. "zssymmetrytype1": {
  35392. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  35393. "type": "integer"
  35394. },
  35395. "zssymmetrytype1display": {
  35396. "type": "string"
  35397. },
  35398. "zssymmetrytype2": {
  35399. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  35400. "type": "integer"
  35401. },
  35402. "zssymmetrytype2display": {
  35403. "type": "string"
  35404. }
  35405. }
  35406. },
  35407. "models.NewFuncmenulist": {
  35408. "type": "object",
  35409. "required": [
  35410. "resourcecode"
  35411. ],
  35412. "properties": {
  35413. "authtype": {
  35414. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  35415. "type": "integer"
  35416. },
  35417. "buttonname": {
  35418. "description": "按钮名称",
  35419. "type": "string"
  35420. },
  35421. "buttontype": {
  35422. "description": "按钮类型 - 存按钮样式",
  35423. "type": "string"
  35424. },
  35425. "component": {
  35426. "description": "组件名或组件地址",
  35427. "type": "string"
  35428. },
  35429. "hidden": {
  35430. "description": "是否隐藏 - 0:显示 1:隐藏",
  35431. "type": "integer"
  35432. },
  35433. "iconame": {
  35434. "description": "菜单图标",
  35435. "type": "string"
  35436. },
  35437. "menutype": {
  35438. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  35439. "type": "integer"
  35440. },
  35441. "parentcode": {
  35442. "description": "上级资源代码",
  35443. "type": "string"
  35444. },
  35445. "remark": {
  35446. "description": "Remark",
  35447. "type": "string"
  35448. },
  35449. "resourcecode": {
  35450. "description": "资源代码",
  35451. "type": "string"
  35452. },
  35453. "resourcelevel": {
  35454. "description": "级别1-一级 2-二级 3-三级4-四级",
  35455. "type": "integer"
  35456. },
  35457. "resourcename": {
  35458. "description": "资源名(Title)",
  35459. "type": "string"
  35460. },
  35461. "sort": {
  35462. "description": "排序",
  35463. "type": "integer"
  35464. },
  35465. "url": {
  35466. "description": "Url",
  35467. "type": "string"
  35468. },
  35469. "urltype": {
  35470. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  35471. "type": "integer"
  35472. }
  35473. }
  35474. },
  35475. "models.OperationPrimaryMenu": {
  35476. "type": "object",
  35477. "properties": {
  35478. "Children": {
  35479. "description": "二级功能菜单",
  35480. "type": "array",
  35481. "items": {
  35482. "$ref": "#/definitions/models.OperationSecondaryMenu"
  35483. }
  35484. },
  35485. "Key": {
  35486. "description": "菜单KEY",
  35487. "type": "string"
  35488. },
  35489. "Label": {
  35490. "description": "菜单标题",
  35491. "type": "string"
  35492. }
  35493. }
  35494. },
  35495. "models.OperationSecondaryMenu": {
  35496. "type": "object",
  35497. "properties": {
  35498. "Key": {
  35499. "description": "菜单KEY",
  35500. "type": "string"
  35501. },
  35502. "Label": {
  35503. "description": "菜单标题",
  35504. "type": "string"
  35505. },
  35506. "TabList": {
  35507. "description": "三级功能菜单",
  35508. "type": "array",
  35509. "items": {
  35510. "$ref": "#/definitions/models.OperationTabMenu"
  35511. }
  35512. }
  35513. }
  35514. },
  35515. "models.OperationTabMenu": {
  35516. "type": "object",
  35517. "properties": {
  35518. "Key": {
  35519. "description": "菜单KEY",
  35520. "type": "string"
  35521. },
  35522. "Label": {
  35523. "description": "菜单标题",
  35524. "type": "string"
  35525. }
  35526. }
  35527. },
  35528. "models.Patradelinkdetail": {
  35529. "type": "object",
  35530. "properties": {
  35531. "accountname": {
  35532. "description": "套期主体",
  35533. "type": "string"
  35534. },
  35535. "agreeunit": {
  35536. "description": "合约乘数",
  35537. "type": "number"
  35538. },
  35539. "amount": {
  35540. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  35541. "type": "number"
  35542. },
  35543. "areauserid": {
  35544. "description": "所属机构",
  35545. "type": "integer"
  35546. },
  35547. "bizsubjectid": {
  35548. "description": "归属业务部门ID - SubjectID",
  35549. "type": "integer"
  35550. },
  35551. "buyorsell": {
  35552. "description": "方向 - 0:买 1:卖",
  35553. "type": "integer"
  35554. },
  35555. "convertratio": {
  35556. "description": "品种系数",
  35557. "type": "number"
  35558. },
  35559. "convertratiochange": {
  35560. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  35561. "type": "number"
  35562. },
  35563. "createtime": {
  35564. "description": "[日期时间]创建时间",
  35565. "type": "string"
  35566. },
  35567. "creatorid": {
  35568. "description": "创建人ID",
  35569. "type": "integer"
  35570. },
  35571. "creatorsrc": {
  35572. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  35573. "type": "integer"
  35574. },
  35575. "goodscode": {
  35576. "description": "商品代码(内部)",
  35577. "type": "string"
  35578. },
  35579. "goodsgroupid": {
  35580. "description": "对冲品种ID[期货合约商品组ID]",
  35581. "type": "integer"
  35582. },
  35583. "goodsid": {
  35584. "description": "商品ID",
  35585. "type": "integer"
  35586. },
  35587. "hedgeditemid": {
  35588. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  35589. "type": "integer"
  35590. },
  35591. "hedgeflag": {
  35592. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  35593. "type": "integer"
  35594. },
  35595. "linkdetailid": {
  35596. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  35597. "type": "string"
  35598. },
  35599. "linkstatus": {
  35600. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  35601. "type": "integer"
  35602. },
  35603. "middlegoodsid": {
  35604. "description": "套保品种ID",
  35605. "type": "integer"
  35606. },
  35607. "name": {
  35608. "description": "账户名/子账户",
  35609. "type": "string"
  35610. },
  35611. "optioncode": {
  35612. "description": "[期货合约]期权代码 [期权]",
  35613. "type": "string"
  35614. },
  35615. "ordertype": {
  35616. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  35617. "type": "integer"
  35618. },
  35619. "relatedlot": {
  35620. "description": "[数量]关联手数",
  35621. "type": "number"
  35622. },
  35623. "relatedmode": {
  35624. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  35625. "type": "integer"
  35626. },
  35627. "relatedqty": {
  35628. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  35629. "type": "number"
  35630. },
  35631. "retcode": {
  35632. "description": "返回码",
  35633. "type": "integer"
  35634. },
  35635. "saleuserid": {
  35636. "description": "业务员ID",
  35637. "type": "integer"
  35638. },
  35639. "tradedate": {
  35640. "description": "关联交易日(yyyyMMdd)",
  35641. "type": "string"
  35642. },
  35643. "tradeid": {
  35644. "description": "[成交单号]内部成交单ID",
  35645. "type": "string"
  35646. },
  35647. "tradelot": {
  35648. "description": "成交手数",
  35649. "type": "integer"
  35650. },
  35651. "tradeprice": {
  35652. "description": "[价格]成交价格",
  35653. "type": "number"
  35654. },
  35655. "tradetradedate": {
  35656. "description": "成交交易日(yyyyMMdd)",
  35657. "type": "string"
  35658. }
  35659. }
  35660. },
  35661. "models.QhjAccountOutInApply": {
  35662. "type": "object",
  35663. "properties": {
  35664. "accountcode": {
  35665. "description": "资金账号",
  35666. "type": "string"
  35667. },
  35668. "accountname": {
  35669. "description": "用户名称(名称)",
  35670. "type": "string"
  35671. },
  35672. "accountpwd": {
  35673. "description": "资金密码",
  35674. "type": "string"
  35675. },
  35676. "accountticket": {
  35677. "description": "最新账户服务流水号",
  35678. "type": "string"
  35679. },
  35680. "amount": {
  35681. "description": "金额",
  35682. "type": "number"
  35683. },
  35684. "applyremark": {
  35685. "description": "申请备注",
  35686. "type": "string"
  35687. },
  35688. "applystatus": {
  35689. "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: 复审通过,账户冻结金额检查中;",
  35690. "type": "integer"
  35691. },
  35692. "auditid": {
  35693. "description": "审核人",
  35694. "type": "integer"
  35695. },
  35696. "audittime": {
  35697. "description": "审核时间",
  35698. "type": "string"
  35699. },
  35700. "bank_apply_ticket": {
  35701. "description": "银行申请流水",
  35702. "type": "string"
  35703. },
  35704. "bankaccountname": {
  35705. "description": "银行账户名",
  35706. "type": "string"
  35707. },
  35708. "bankaccountno": {
  35709. "description": "银行卡号",
  35710. "type": "string"
  35711. },
  35712. "bankid": {
  35713. "description": "银行编号",
  35714. "type": "string"
  35715. },
  35716. "bankticket": {
  35717. "description": "银行流水",
  35718. "type": "string"
  35719. },
  35720. "branchbankid": {
  35721. "description": "银行支行号",
  35722. "type": "string"
  35723. },
  35724. "branchbankname": {
  35725. "description": "银行支行名称",
  35726. "type": "string"
  35727. },
  35728. "capamountout": {
  35729. "description": "出金(劣后本金) - 外部子账户",
  35730. "type": "number"
  35731. },
  35732. "certificatephotourl": {
  35733. "description": "凭证地址",
  35734. "type": "string"
  35735. },
  35736. "charge": {
  35737. "description": "手续费",
  35738. "type": "number"
  35739. },
  35740. "checkerrorflag": {
  35741. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  35742. "type": "integer"
  35743. },
  35744. "currency": {
  35745. "description": "币种",
  35746. "type": "string"
  35747. },
  35748. "cusbankid": {
  35749. "description": "托管银行编号",
  35750. "type": "string"
  35751. },
  35752. "cusbankname": {
  35753. "description": "托管银行名称",
  35754. "type": "string"
  35755. },
  35756. "cusbankshortname": {
  35757. "description": "托管银行简称",
  35758. "type": "string"
  35759. },
  35760. "exchticket": {
  35761. "description": "银行服务流水号",
  35762. "type": "string"
  35763. },
  35764. "executetype": {
  35765. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  35766. "type": "integer"
  35767. },
  35768. "extendinfo": {
  35769. "description": "扩展信息",
  35770. "type": "string"
  35771. },
  35772. "extoperateid": {
  35773. "description": "交易服务流水号",
  35774. "type": "integer"
  35775. },
  35776. "infamount": {
  35777. "description": "劣后金额(自有)",
  35778. "type": "number"
  35779. },
  35780. "logincode": {
  35781. "description": "登录账号(账号)",
  35782. "type": "string"
  35783. },
  35784. "netaddr": {
  35785. "description": "调转网址",
  35786. "type": "string"
  35787. },
  35788. "priamount": {
  35789. "description": "优先金额(授信)",
  35790. "type": "number"
  35791. },
  35792. "reauditid": {
  35793. "description": "复审人",
  35794. "type": "integer"
  35795. },
  35796. "reauditremark": {
  35797. "description": "复审备注",
  35798. "type": "string"
  35799. },
  35800. "reaudittime": {
  35801. "description": "复审时间",
  35802. "type": "string"
  35803. },
  35804. "relatedorderid": {
  35805. "description": "三方关联ID",
  35806. "type": "string"
  35807. },
  35808. "remark": {
  35809. "description": "备注",
  35810. "type": "string"
  35811. },
  35812. "remark2": {
  35813. "description": "备注(失败原因)",
  35814. "type": "string"
  35815. },
  35816. "soucreamount": {
  35817. "description": "原始出入金金额",
  35818. "type": "number"
  35819. },
  35820. "soucrecurrencyid": {
  35821. "description": "原始出入金币种",
  35822. "type": "integer"
  35823. },
  35824. "tradedate": {
  35825. "description": "交易日(yyyyMMdd)",
  35826. "type": "string"
  35827. },
  35828. "updatetime": {
  35829. "description": "更新时间(申请时间)",
  35830. "type": "string"
  35831. },
  35832. "userid": {
  35833. "description": "用户id",
  35834. "type": "integer"
  35835. },
  35836. "userinfotype": {
  35837. "description": "账户类型 1-个人 2-企业",
  35838. "type": "integer"
  35839. }
  35840. }
  35841. },
  35842. "models.QhjAgreementChangeLog": {
  35843. "type": "object",
  35844. "properties": {
  35845. "agreementcontent": {
  35846. "description": "协议内容",
  35847. "type": "string"
  35848. },
  35849. "agreementfrequency": {
  35850. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  35851. "type": "integer"
  35852. },
  35853. "agreementid": {
  35854. "description": "协议ID",
  35855. "type": "integer"
  35856. },
  35857. "agreementname": {
  35858. "description": "协议名称",
  35859. "type": "string"
  35860. },
  35861. "agreementno": {
  35862. "description": "协议编号",
  35863. "type": "string"
  35864. },
  35865. "agreementtype": {
  35866. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35867. "type": "integer"
  35868. },
  35869. "agreementversion": {
  35870. "description": "协议版本号",
  35871. "type": "integer"
  35872. },
  35873. "logid": {
  35874. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  35875. "type": "integer"
  35876. },
  35877. "reviserid": {
  35878. "description": "修改人",
  35879. "type": "integer"
  35880. },
  35881. "revisersrc": {
  35882. "description": "修改来源 - 1:管理端 2:终端",
  35883. "type": "integer"
  35884. },
  35885. "updatetime": {
  35886. "description": "更新时间",
  35887. "type": "string"
  35888. }
  35889. }
  35890. },
  35891. "models.QhjAgreementConfig": {
  35892. "type": "object",
  35893. "properties": {
  35894. "agreementcontent": {
  35895. "description": "协议内容",
  35896. "type": "string"
  35897. },
  35898. "agreementfrequency": {
  35899. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  35900. "type": "integer"
  35901. },
  35902. "agreementid": {
  35903. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  35904. "type": "integer"
  35905. },
  35906. "agreementname": {
  35907. "description": "协议名称",
  35908. "type": "string"
  35909. },
  35910. "agreementno": {
  35911. "description": "协议编号",
  35912. "type": "string"
  35913. },
  35914. "agreementtype": {
  35915. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35916. "type": "integer"
  35917. },
  35918. "agreementversion": {
  35919. "description": "协议版本号(从1开始每次修改加1)",
  35920. "type": "integer"
  35921. },
  35922. "createtime": {
  35923. "description": "创建时间",
  35924. "type": "string"
  35925. },
  35926. "creatorid": {
  35927. "description": "创建人",
  35928. "type": "integer"
  35929. },
  35930. "creatorsrc": {
  35931. "description": "创建来源 - 1:管理端 2:终端",
  35932. "type": "integer"
  35933. },
  35934. "isvalid": {
  35935. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  35936. "type": "integer"
  35937. },
  35938. "reviserid": {
  35939. "description": "修改人",
  35940. "type": "integer"
  35941. },
  35942. "revisersrc": {
  35943. "description": "修改来源 - 1:管理端 2:终端",
  35944. "type": "integer"
  35945. },
  35946. "updatetime": {
  35947. "description": "更新时间",
  35948. "type": "string"
  35949. }
  35950. }
  35951. },
  35952. "models.QhjAreaFinanceConfig": {
  35953. "type": "object",
  35954. "properties": {
  35955. "additionalratio": {
  35956. "description": "追加款比例",
  35957. "type": "number"
  35958. },
  35959. "advanceratio": {
  35960. "description": "预付款比例",
  35961. "type": "number"
  35962. },
  35963. "alarmratio": {
  35964. "description": "告警比例",
  35965. "type": "number"
  35966. },
  35967. "consumptiondirectreward": {
  35968. "description": "消费直推奖励值",
  35969. "type": "number"
  35970. },
  35971. "consumptionenabled": {
  35972. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  35973. "type": "integer"
  35974. },
  35975. "consumptionindirectreward": {
  35976. "description": "消费间推奖励值",
  35977. "type": "number"
  35978. },
  35979. "consumptionmodel": {
  35980. "description": "消费奖励方式 - 1:比率 2:固定",
  35981. "type": "integer"
  35982. },
  35983. "customerservicenum": {
  35984. "description": "客服电话",
  35985. "type": "string"
  35986. },
  35987. "dayinterestrate": {
  35988. "description": "日利率",
  35989. "type": "number"
  35990. },
  35991. "disableconsumptiontips": {
  35992. "description": "关闭消费奖励提示",
  35993. "type": "string"
  35994. },
  35995. "modifierid": {
  35996. "description": "修改人ID",
  35997. "type": "integer"
  35998. },
  35999. "modifysrc": {
  36000. "description": "审核来源 - 1:管理端 2:终端",
  36001. "type": "integer"
  36002. },
  36003. "modifytime": {
  36004. "description": "修改时间",
  36005. "type": "string"
  36006. },
  36007. "promotionvalue": {
  36008. "description": "推广奖励值(固定)",
  36009. "type": "number"
  36010. },
  36011. "scoreconfigvalue1": {
  36012. "description": "提货积分配置1",
  36013. "type": "integer"
  36014. },
  36015. "scoreconfigvalue2": {
  36016. "description": "提货积分配置2",
  36017. "type": "integer"
  36018. },
  36019. "userid": {
  36020. "description": "机构用户ID其他做市关系,都设置为 1",
  36021. "type": "integer"
  36022. },
  36023. "username": {
  36024. "description": "用户名称",
  36025. "type": "string"
  36026. }
  36027. }
  36028. },
  36029. "models.QhjBankAccountSign": {
  36030. "type": "object",
  36031. "properties": {
  36032. "accountcode": {
  36033. "description": "资金账号",
  36034. "type": "string"
  36035. },
  36036. "accountname": {
  36037. "description": "资金账号对应的账号名(UserName)",
  36038. "type": "string"
  36039. },
  36040. "accountname2": {
  36041. "description": "资金账号对应的账号名(UserName) - 密文",
  36042. "type": "string"
  36043. },
  36044. "accounttype": {
  36045. "description": "账户类型(UserType)",
  36046. "type": "integer"
  36047. },
  36048. "applicationtime": {
  36049. "description": "最后一次更新的时间",
  36050. "type": "string"
  36051. },
  36052. "applyexchticket": {
  36053. "description": "申请流水",
  36054. "type": "string"
  36055. },
  36056. "auditid": {
  36057. "description": "审核人",
  36058. "type": "integer"
  36059. },
  36060. "audittime": {
  36061. "description": "审核时间",
  36062. "type": "string"
  36063. },
  36064. "bankaccountname": {
  36065. "description": "签约银行卡账号名",
  36066. "type": "string"
  36067. },
  36068. "bankaccountname2": {
  36069. "description": "签约银行卡账号名 - 密文",
  36070. "type": "string"
  36071. },
  36072. "bankaccountno": {
  36073. "description": "银行卡号",
  36074. "type": "string"
  36075. },
  36076. "bankaccountno2": {
  36077. "description": "银行卡号 - 密文",
  36078. "type": "string"
  36079. },
  36080. "bankaccounttype": {
  36081. "description": "银行账户类型 - 1-对私; 2-对公",
  36082. "type": "integer"
  36083. },
  36084. "bankcardtype": {
  36085. "description": "银行卡类型",
  36086. "type": "integer"
  36087. },
  36088. "bankchildaccount": {
  36089. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  36090. "type": "string"
  36091. },
  36092. "bankcity": {
  36093. "description": "开户行城市",
  36094. "type": "string"
  36095. },
  36096. "bankid": {
  36097. "description": "签约银行ID",
  36098. "type": "string"
  36099. },
  36100. "bankname": {
  36101. "description": "签约银行名称",
  36102. "type": "string"
  36103. },
  36104. "bankprovince": {
  36105. "description": "开户行省份",
  36106. "type": "string"
  36107. },
  36108. "branchbankid": {
  36109. "description": "签约银行支行号",
  36110. "type": "string"
  36111. },
  36112. "branchbankname": {
  36113. "description": "签约银行支行名称",
  36114. "type": "string"
  36115. },
  36116. "cardno": {
  36117. "description": "证件号码",
  36118. "type": "string"
  36119. },
  36120. "cardno2": {
  36121. "description": "证件号码 - 密文",
  36122. "type": "string"
  36123. },
  36124. "cardtype": {
  36125. "description": "证件类型",
  36126. "type": "string"
  36127. },
  36128. "currency": {
  36129. "description": "币种",
  36130. "type": "string"
  36131. },
  36132. "cusbankid": {
  36133. "description": "托管银行编号",
  36134. "type": "string"
  36135. },
  36136. "direct": {
  36137. "description": "方向(可以判断那方先发起的签约)",
  36138. "type": "integer"
  36139. },
  36140. "exchticket": {
  36141. "description": "最后一次签约成功的流水号",
  36142. "type": "string"
  36143. },
  36144. "extendinfo": {
  36145. "description": "扩展信息(JSON字符串)",
  36146. "type": "string"
  36147. },
  36148. "mobilephone": {
  36149. "description": "手机号",
  36150. "type": "string"
  36151. },
  36152. "mobilephone2": {
  36153. "description": "手机号 - 密文",
  36154. "type": "string"
  36155. },
  36156. "netaddr": {
  36157. "description": "调转网址",
  36158. "type": "string"
  36159. },
  36160. "relateduserid": {
  36161. "description": "关联使用者userid",
  36162. "type": "integer"
  36163. },
  36164. "signstatus": {
  36165. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  36166. "type": "integer"
  36167. },
  36168. "updatetime": {
  36169. "description": "更新时间(签解约更新时间)",
  36170. "type": "string"
  36171. }
  36172. }
  36173. },
  36174. "models.QhjBankInfo": {
  36175. "type": "object",
  36176. "properties": {
  36177. "bankid": {
  36178. "description": "银行ID",
  36179. "type": "string"
  36180. },
  36181. "bankname": {
  36182. "description": "银行名称",
  36183. "type": "string"
  36184. },
  36185. "clearbankno": {
  36186. "description": "清算系统银行编号",
  36187. "type": "string"
  36188. },
  36189. "orderindex": {
  36190. "description": "排序顺序",
  36191. "type": "integer"
  36192. },
  36193. "status": {
  36194. "description": "状态 - 0:正常 1:注销",
  36195. "type": "integer"
  36196. }
  36197. }
  36198. },
  36199. "models.QhjBrokerApply": {
  36200. "type": "object",
  36201. "properties": {
  36202. "applicantid": {
  36203. "description": "申请人",
  36204. "type": "integer"
  36205. },
  36206. "applysrc": {
  36207. "description": "申请来源 - 1:管理端 2:终端",
  36208. "type": "integer"
  36209. },
  36210. "applystatus": {
  36211. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  36212. "type": "integer"
  36213. },
  36214. "applytime": {
  36215. "description": "申请时间",
  36216. "type": "string"
  36217. },
  36218. "auditorid": {
  36219. "description": "审核人",
  36220. "type": "integer"
  36221. },
  36222. "auditremark": {
  36223. "description": "审核备注",
  36224. "type": "string"
  36225. },
  36226. "auditsrc": {
  36227. "description": "审核来源 - 1:管理端 2:终端",
  36228. "type": "integer"
  36229. },
  36230. "audittime": {
  36231. "description": "审核时间",
  36232. "type": "string"
  36233. },
  36234. "audittradedate": {
  36235. "description": "审核交易日(yyyyMMdd)",
  36236. "type": "string"
  36237. },
  36238. "brokerapplyid": {
  36239. "description": "申请ID(SEQ_BROKERAPPLY)",
  36240. "type": "integer"
  36241. },
  36242. "cardbackphotourl": {
  36243. "description": "证件背面图片地址",
  36244. "type": "string"
  36245. },
  36246. "cardfrontphotourl": {
  36247. "description": "证件正面图片地址",
  36248. "type": "string"
  36249. },
  36250. "cardnum": {
  36251. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  36252. "type": "string"
  36253. },
  36254. "customername": {
  36255. "description": "姓名",
  36256. "type": "string"
  36257. },
  36258. "logincode": {
  36259. "description": "登录代码",
  36260. "type": "string"
  36261. },
  36262. "mobile": {
  36263. "description": "手机号码",
  36264. "type": "string"
  36265. },
  36266. "parentuserid": {
  36267. "description": "所属机构id",
  36268. "type": "integer"
  36269. },
  36270. "parentusername": {
  36271. "description": "所属机构名称",
  36272. "type": "string"
  36273. },
  36274. "refereeuserid": {
  36275. "description": "推荐人id(经纪人)",
  36276. "type": "integer"
  36277. },
  36278. "refernum": {
  36279. "description": "推荐码",
  36280. "type": "string"
  36281. },
  36282. "remark": {
  36283. "description": "备注",
  36284. "type": "string"
  36285. },
  36286. "subarealevelpath": {
  36287. "description": "层级路径",
  36288. "type": "string"
  36289. },
  36290. "tradedate": {
  36291. "description": "交易日(yyyyMMdd)",
  36292. "type": "string"
  36293. },
  36294. "userid": {
  36295. "description": "申请人用户ID",
  36296. "type": "integer"
  36297. },
  36298. "userinfotype": {
  36299. "description": "用户类型 1-个人 2-企业",
  36300. "type": "integer"
  36301. },
  36302. "username": {
  36303. "description": "用户名称",
  36304. "type": "string"
  36305. }
  36306. }
  36307. },
  36308. "models.QhjBrokerApplyEx": {
  36309. "type": "object",
  36310. "properties": {
  36311. "applylist": {
  36312. "description": "经纪人申请记录(只返回最新一条)",
  36313. "type": "array",
  36314. "items": {
  36315. "$ref": "#/definitions/models.QhjBrokerApply"
  36316. }
  36317. },
  36318. "canrecommend": {
  36319. "description": "是否经纪人 0-不是 1-是",
  36320. "type": "integer"
  36321. },
  36322. "refernum": {
  36323. "description": "推荐码",
  36324. "type": "string"
  36325. },
  36326. "userid": {
  36327. "description": "用户id",
  36328. "type": "integer"
  36329. },
  36330. "userinfotype": {
  36331. "description": "用户类型 1-个人 2-企业",
  36332. "type": "integer"
  36333. }
  36334. }
  36335. },
  36336. "models.QhjBrokerRewardLog": {
  36337. "type": "object",
  36338. "properties": {
  36339. "accountid": {
  36340. "description": "资金账号ID",
  36341. "type": "integer"
  36342. },
  36343. "createtime": {
  36344. "description": "创建时间(时间)",
  36345. "type": "string"
  36346. },
  36347. "handlestatus": {
  36348. "description": "处理状态",
  36349. "type": "integer"
  36350. },
  36351. "logid": {
  36352. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36353. "type": "string"
  36354. },
  36355. "marketid": {
  36356. "description": "市场ID",
  36357. "type": "integer"
  36358. },
  36359. "mmaccountid": {
  36360. "description": "做市商资金账号ID",
  36361. "type": "string"
  36362. },
  36363. "mmuserid": {
  36364. "description": "做市商用户ID",
  36365. "type": "string"
  36366. },
  36367. "rewardamount": {
  36368. "description": "奖励金额",
  36369. "type": "number"
  36370. },
  36371. "rewardmodel": {
  36372. "description": "消费奖励方式 - 1:比率 2:固定",
  36373. "type": "integer"
  36374. },
  36375. "rewardtype": {
  36376. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  36377. "type": "integer"
  36378. },
  36379. "rewardvalue": {
  36380. "description": "配置奖励值",
  36381. "type": "number"
  36382. },
  36383. "srcamount": {
  36384. "description": "成交金额 [消费奖励] (金额)",
  36385. "type": "number"
  36386. },
  36387. "srcgoodsid": {
  36388. "description": "来源商品ID [消费奖励]",
  36389. "type": "string"
  36390. },
  36391. "srctime": {
  36392. "description": "来源时间 (成交时间) [消费奖励]",
  36393. "type": "string"
  36394. },
  36395. "srctradeid": {
  36396. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  36397. "type": "string"
  36398. },
  36399. "srcuserid": {
  36400. "description": "来源用户ID(推广账户)",
  36401. "type": "string"
  36402. },
  36403. "srcusername": {
  36404. "description": "推广账户名称",
  36405. "type": "string"
  36406. },
  36407. "tradedate": {
  36408. "description": "交易日(yyyyMMdd)",
  36409. "type": "string"
  36410. },
  36411. "userid": {
  36412. "description": "经纪人用户ID",
  36413. "type": "integer"
  36414. }
  36415. }
  36416. },
  36417. "models.QhjContract": {
  36418. "type": "object",
  36419. "properties": {
  36420. "contractconfirmtime": {
  36421. "description": "合同确认时间(时间)",
  36422. "type": "string"
  36423. },
  36424. "currisklevel": {
  36425. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36426. "type": "integer"
  36427. },
  36428. "decimalplace": {
  36429. "description": "商品报价小数位",
  36430. "type": "integer"
  36431. },
  36432. "enumdicname": {
  36433. "description": "单位名称",
  36434. "type": "string"
  36435. },
  36436. "goodscode": {
  36437. "description": "商品代码",
  36438. "type": "string"
  36439. },
  36440. "goodsid": {
  36441. "description": "商品ID [5:融资单]",
  36442. "type": "integer"
  36443. },
  36444. "goodsname": {
  36445. "description": "商品名称",
  36446. "type": "string"
  36447. },
  36448. "goodunitid": {
  36449. "description": "商品单位id",
  36450. "type": "integer"
  36451. },
  36452. "initmargin": {
  36453. "description": "初始保证金(首付款)",
  36454. "type": "number"
  36455. },
  36456. "lenderamount": {
  36457. "description": "贷款金额(总额|订单总额)",
  36458. "type": "number"
  36459. },
  36460. "marginratio": {
  36461. "description": "保证金比率(首付比例)",
  36462. "type": "number"
  36463. },
  36464. "payamount": {
  36465. "description": "已付(已付货款)",
  36466. "type": "number"
  36467. },
  36468. "reckonrecovermargin": {
  36469. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  36470. "type": "number"
  36471. },
  36472. "recoveredmargin": {
  36473. "description": "已追缴保证金",
  36474. "type": "number"
  36475. },
  36476. "remainamount": {
  36477. "description": "合同剩余金额(融资额)",
  36478. "type": "number"
  36479. },
  36480. "scfcontractid": {
  36481. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36482. "type": "string"
  36483. },
  36484. "scfcontractstatus": {
  36485. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36486. "type": "integer"
  36487. },
  36488. "scfcontracttype": {
  36489. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  36490. "type": "integer"
  36491. },
  36492. "totalinterest": {
  36493. "description": "已计总利息(利息)",
  36494. "type": "number"
  36495. },
  36496. "tradeprice": {
  36497. "description": "成交价格(成本价格)",
  36498. "type": "number"
  36499. },
  36500. "userid": {
  36501. "description": "用户ID",
  36502. "type": "integer"
  36503. },
  36504. "username": {
  36505. "description": "用户名称",
  36506. "type": "string"
  36507. },
  36508. "wrqty": {
  36509. "description": "仓单数量(数量)",
  36510. "type": "number"
  36511. }
  36512. }
  36513. },
  36514. "models.QhjContractLog": {
  36515. "type": "object",
  36516. "properties": {
  36517. "amount": {
  36518. "description": "支付金额",
  36519. "type": "number"
  36520. },
  36521. "amounttype": {
  36522. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  36523. "type": "integer"
  36524. },
  36525. "logid": {
  36526. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36527. "type": "string"
  36528. },
  36529. "remainamount": {
  36530. "description": "剩余货款",
  36531. "type": "number"
  36532. },
  36533. "scfcontractid": {
  36534. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36535. "type": "integer"
  36536. },
  36537. "updatetime": {
  36538. "description": "更新时间",
  36539. "type": "string"
  36540. }
  36541. }
  36542. },
  36543. "models.QhjCusBankSignBankEx": {
  36544. "type": "object",
  36545. "properties": {
  36546. "banklst": {
  36547. "description": "银行列表",
  36548. "type": "array",
  36549. "items": {
  36550. "$ref": "#/definitions/models.QhjBankInfo"
  36551. }
  36552. },
  36553. "canallot": {
  36554. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  36555. "type": "integer"
  36556. },
  36557. "canallotquery": {
  36558. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  36559. "type": "integer"
  36560. },
  36561. "canbindcard": {
  36562. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  36563. "type": "integer"
  36564. },
  36565. "caninamount": {
  36566. "description": "是否可入金 - 0:不可 1:可以",
  36567. "type": "integer"
  36568. },
  36569. "caninamount2": {
  36570. "description": "是否可入金(网银端) - 0:不可 1:可以",
  36571. "type": "integer"
  36572. },
  36573. "canmodifybankcard": {
  36574. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  36575. "type": "integer"
  36576. },
  36577. "canmodifyphone": {
  36578. "description": "是否可修改手机号 - 0:不可 1:可以",
  36579. "type": "integer"
  36580. },
  36581. "canmodifysigninfo": {
  36582. "description": "是否可修改签约信息 - 0:不可 1:可以",
  36583. "type": "integer"
  36584. },
  36585. "canoutamount": {
  36586. "description": "是否可出金 - 0:不可 1:可以",
  36587. "type": "integer"
  36588. },
  36589. "canoutamount2": {
  36590. "description": "是否可出金(网银端) - 0:不可 1:可以",
  36591. "type": "integer"
  36592. },
  36593. "canrelease": {
  36594. "description": "是否可解约 - 0:不可 1:可以",
  36595. "type": "integer"
  36596. },
  36597. "canrelease2": {
  36598. "description": "是否可解约(网银端) - 0:不可 1:可以",
  36599. "type": "integer"
  36600. },
  36601. "cansign": {
  36602. "description": "是否可签约 - 0:不可 1:可以",
  36603. "type": "integer"
  36604. },
  36605. "cansign2": {
  36606. "description": "是否可签约(网银端) - 0:不可 1:可以",
  36607. "type": "integer"
  36608. },
  36609. "currency": {
  36610. "description": "币种",
  36611. "type": "string"
  36612. },
  36613. "cusbankid": {
  36614. "description": "托管银行编号(对应清算中心TRAN_NO)",
  36615. "type": "string"
  36616. },
  36617. "cusbankname": {
  36618. "description": "银行业务名称",
  36619. "type": "string"
  36620. },
  36621. "cusbankshortname": {
  36622. "description": "银行业务简称",
  36623. "type": "string"
  36624. },
  36625. "exchbankid": {
  36626. "description": "交易所开户银行ID",
  36627. "type": "string"
  36628. },
  36629. "exchpaybankaccname": {
  36630. "description": "交易所支出结算账户户名",
  36631. "type": "string"
  36632. },
  36633. "exchpaybankaccno": {
  36634. "description": "交易所支出结算账户",
  36635. "type": "string"
  36636. },
  36637. "isneedcheck": {
  36638. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  36639. "type": "integer"
  36640. },
  36641. "isneedclear": {
  36642. "description": "是否需要清算 - 0:不需要 1:需要",
  36643. "type": "integer"
  36644. },
  36645. "lastcheckstatus": {
  36646. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  36647. "type": "integer"
  36648. },
  36649. "lastchecktime": {
  36650. "description": "最后对账时间",
  36651. "type": "string"
  36652. },
  36653. "lastclearstatus": {
  36654. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  36655. "type": "integer"
  36656. },
  36657. "lastcleartime": {
  36658. "description": "最后清算时间",
  36659. "type": "string"
  36660. },
  36661. "lastsignintime": {
  36662. "description": "最后签到时间",
  36663. "type": "string"
  36664. },
  36665. "lastsignouttime": {
  36666. "description": "最后签退时间",
  36667. "type": "string"
  36668. },
  36669. "riskinfo": {
  36670. "description": "签约风险提示书",
  36671. "type": "string"
  36672. },
  36673. "signstatus": {
  36674. "description": "当前签到/签退状态 - 1:签到 2:签退",
  36675. "type": "integer"
  36676. },
  36677. "tradedate": {
  36678. "description": "交易日(yyyyMMdd)",
  36679. "type": "string"
  36680. },
  36681. "updatetime": {
  36682. "description": "当前签到/签退更新时间",
  36683. "type": "string"
  36684. }
  36685. }
  36686. },
  36687. "models.QhjCustomer": {
  36688. "type": "object",
  36689. "properties": {
  36690. "address": {
  36691. "description": "通讯地址",
  36692. "type": "string"
  36693. },
  36694. "attachment1": {
  36695. "description": "附件1",
  36696. "type": "string"
  36697. },
  36698. "attachment2": {
  36699. "description": "附件2",
  36700. "type": "string"
  36701. },
  36702. "audittime": {
  36703. "description": "审核时间",
  36704. "type": "string"
  36705. },
  36706. "cardbackphotourl": {
  36707. "description": "证件反面图片地址",
  36708. "type": "string"
  36709. },
  36710. "cardfrontphotourl": {
  36711. "description": "证件正面图片地址",
  36712. "type": "string"
  36713. },
  36714. "cardnum": {
  36715. "description": "证件号码",
  36716. "type": "string"
  36717. },
  36718. "cardtype": {
  36719. "description": "证件类型",
  36720. "type": "integer"
  36721. },
  36722. "cardtypename": {
  36723. "description": "证件类型名称",
  36724. "type": "string"
  36725. },
  36726. "cityid": {
  36727. "description": "市",
  36728. "type": "integer"
  36729. },
  36730. "cityname": {
  36731. "description": "城市名称",
  36732. "type": "string"
  36733. },
  36734. "contactname": {
  36735. "description": "联系人",
  36736. "type": "string"
  36737. },
  36738. "countryid": {
  36739. "description": "国家",
  36740. "type": "integer"
  36741. },
  36742. "countryname": {
  36743. "description": "国家名称",
  36744. "type": "string"
  36745. },
  36746. "createtime": {
  36747. "description": "创建时间",
  36748. "type": "string"
  36749. },
  36750. "customername": {
  36751. "description": "客户名称",
  36752. "type": "string"
  36753. },
  36754. "districtid": {
  36755. "description": "区域",
  36756. "type": "integer"
  36757. },
  36758. "districtname": {
  36759. "description": "地区名称",
  36760. "type": "string"
  36761. },
  36762. "email": {
  36763. "description": "邮件",
  36764. "type": "string"
  36765. },
  36766. "legalpersonname": {
  36767. "description": "法人姓名(企业)",
  36768. "type": "string"
  36769. },
  36770. "logincode": {
  36771. "description": "登录账号(代码)",
  36772. "type": "string"
  36773. },
  36774. "memberuserid": {
  36775. "description": "所属机构ID(所属会员)",
  36776. "type": "integer"
  36777. },
  36778. "memberusername": {
  36779. "description": "所属会员名称",
  36780. "type": "string"
  36781. },
  36782. "mobile": {
  36783. "description": "手机号码",
  36784. "type": "string"
  36785. },
  36786. "modifytime": {
  36787. "description": "修改时间",
  36788. "type": "string"
  36789. },
  36790. "nickname": {
  36791. "description": "昵称",
  36792. "type": "string"
  36793. },
  36794. "parentuserid": {
  36795. "description": "上级机构(所属机构)",
  36796. "type": "integer"
  36797. },
  36798. "parentusername": {
  36799. "description": "所属机构名称",
  36800. "type": "string"
  36801. },
  36802. "provinceid": {
  36803. "description": "省",
  36804. "type": "integer"
  36805. },
  36806. "provincename": {
  36807. "description": "省名称",
  36808. "type": "string"
  36809. },
  36810. "proxystatementurl": {
  36811. "description": "授权委托书",
  36812. "type": "string"
  36813. },
  36814. "remark": {
  36815. "description": "备注",
  36816. "type": "string"
  36817. },
  36818. "status": {
  36819. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  36820. "type": "integer"
  36821. },
  36822. "statusdesc": {
  36823. "description": "账户状态中文描述",
  36824. "type": "string"
  36825. },
  36826. "taxpayernum": {
  36827. "description": "纳税人识别号",
  36828. "type": "string"
  36829. },
  36830. "telphone": {
  36831. "description": "联系电话",
  36832. "type": "string"
  36833. },
  36834. "userid": {
  36835. "description": "用户ID",
  36836. "type": "integer"
  36837. },
  36838. "userinfotype": {
  36839. "description": "客户类型 1-个人 2-企业",
  36840. "type": "integer"
  36841. },
  36842. "username": {
  36843. "description": "用户名称",
  36844. "type": "string"
  36845. }
  36846. }
  36847. },
  36848. "models.QhjCustomerSignLog": {
  36849. "type": "object",
  36850. "properties": {
  36851. "agreementcontent": {
  36852. "description": "协议内容",
  36853. "type": "string"
  36854. },
  36855. "agreementid": {
  36856. "description": "协议ID",
  36857. "type": "integer"
  36858. },
  36859. "agreementname": {
  36860. "description": "协议名称",
  36861. "type": "string"
  36862. },
  36863. "agreementno": {
  36864. "description": "协议编号",
  36865. "type": "string"
  36866. },
  36867. "agreementtype": {
  36868. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36869. "type": "integer"
  36870. },
  36871. "agreementversion": {
  36872. "description": "协议版本号",
  36873. "type": "integer"
  36874. },
  36875. "createtime": {
  36876. "description": "创建时间",
  36877. "type": "string"
  36878. },
  36879. "goodscode": {
  36880. "description": "商品代码",
  36881. "type": "string"
  36882. },
  36883. "goodsid": {
  36884. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36885. "type": "integer"
  36886. },
  36887. "goodsname": {
  36888. "description": "商品名称",
  36889. "type": "string"
  36890. },
  36891. "logid": {
  36892. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  36893. "type": "integer"
  36894. },
  36895. "nodetype": {
  36896. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36897. "type": "integer"
  36898. },
  36899. "signadressurl": {
  36900. "description": "签约文件地址",
  36901. "type": "string"
  36902. },
  36903. "signtimestamp": {
  36904. "description": "签约状态时间戳",
  36905. "type": "string"
  36906. },
  36907. "userid": {
  36908. "description": "客户ID",
  36909. "type": "integer"
  36910. },
  36911. "username": {
  36912. "description": "客户名称",
  36913. "type": "string"
  36914. }
  36915. }
  36916. },
  36917. "models.QhjCustomerSignStatus": {
  36918. "type": "object",
  36919. "properties": {
  36920. "createtime": {
  36921. "description": "创建时间",
  36922. "type": "string"
  36923. },
  36924. "goodscode": {
  36925. "description": "商品代码",
  36926. "type": "string"
  36927. },
  36928. "goodsid": {
  36929. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36930. "type": "integer"
  36931. },
  36932. "goodsname": {
  36933. "description": "商品名称",
  36934. "type": "string"
  36935. },
  36936. "nodetype": {
  36937. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  36938. "type": "integer"
  36939. },
  36940. "signtimestamp": {
  36941. "description": "签约状态时间戳",
  36942. "type": "string"
  36943. },
  36944. "tradedate": {
  36945. "description": "创建交易日(yyyyMMdd)",
  36946. "type": "string"
  36947. },
  36948. "updatetime": {
  36949. "description": "更新时间",
  36950. "type": "string"
  36951. },
  36952. "userid": {
  36953. "description": "客户ID",
  36954. "type": "integer"
  36955. },
  36956. "username": {
  36957. "description": "客户名称",
  36958. "type": "string"
  36959. }
  36960. }
  36961. },
  36962. "models.QhjMgrAccountOutInApply": {
  36963. "type": "object",
  36964. "properties": {
  36965. "accountcode": {
  36966. "description": "资金账号",
  36967. "type": "string"
  36968. },
  36969. "accountname": {
  36970. "description": "用户名称(名称)",
  36971. "type": "string"
  36972. },
  36973. "accountpwd": {
  36974. "description": "资金密码",
  36975. "type": "string"
  36976. },
  36977. "accountticket": {
  36978. "description": "最新账户服务流水号",
  36979. "type": "string"
  36980. },
  36981. "amount": {
  36982. "description": "金额",
  36983. "type": "number"
  36984. },
  36985. "applyremark": {
  36986. "description": "申请备注",
  36987. "type": "string"
  36988. },
  36989. "applystatus": {
  36990. "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: 复审通过,账户冻结金额检查中;",
  36991. "type": "integer"
  36992. },
  36993. "auditid": {
  36994. "description": "审核人",
  36995. "type": "integer"
  36996. },
  36997. "audittime": {
  36998. "description": "审核时间",
  36999. "type": "string"
  37000. },
  37001. "bank_apply_ticket": {
  37002. "description": "银行申请流水",
  37003. "type": "string"
  37004. },
  37005. "bankaccountname": {
  37006. "description": "银行账户名",
  37007. "type": "string"
  37008. },
  37009. "bankaccountno": {
  37010. "description": "银行卡号",
  37011. "type": "string"
  37012. },
  37013. "bankid": {
  37014. "description": "银行编号",
  37015. "type": "string"
  37016. },
  37017. "bankname": {
  37018. "description": "银行名称",
  37019. "type": "string"
  37020. },
  37021. "bankticket": {
  37022. "description": "银行流水",
  37023. "type": "string"
  37024. },
  37025. "branchbankid": {
  37026. "description": "银行支行号",
  37027. "type": "string"
  37028. },
  37029. "branchbankname": {
  37030. "description": "银行支行名称",
  37031. "type": "string"
  37032. },
  37033. "capamountout": {
  37034. "description": "出金(劣后本金) - 外部子账户",
  37035. "type": "number"
  37036. },
  37037. "certificatephotourl": {
  37038. "description": "凭证地址",
  37039. "type": "string"
  37040. },
  37041. "charge": {
  37042. "description": "手续费",
  37043. "type": "number"
  37044. },
  37045. "checkerrorflag": {
  37046. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  37047. "type": "integer"
  37048. },
  37049. "currency": {
  37050. "description": "币种",
  37051. "type": "string"
  37052. },
  37053. "cusbankid": {
  37054. "description": "托管银行编号",
  37055. "type": "string"
  37056. },
  37057. "exchticket": {
  37058. "description": "银行服务流水号",
  37059. "type": "string"
  37060. },
  37061. "executetype": {
  37062. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  37063. "type": "integer"
  37064. },
  37065. "extendinfo": {
  37066. "description": "扩展信息",
  37067. "type": "string"
  37068. },
  37069. "extoperateid": {
  37070. "description": "交易服务流水号",
  37071. "type": "integer"
  37072. },
  37073. "infamount": {
  37074. "description": "劣后金额(自有)",
  37075. "type": "number"
  37076. },
  37077. "logincode": {
  37078. "description": "登录账号(账号)",
  37079. "type": "string"
  37080. },
  37081. "netaddr": {
  37082. "description": "调转网址",
  37083. "type": "string"
  37084. },
  37085. "priamount": {
  37086. "description": "优先金额(授信)",
  37087. "type": "number"
  37088. },
  37089. "reauditid": {
  37090. "description": "复审人",
  37091. "type": "integer"
  37092. },
  37093. "reauditremark": {
  37094. "description": "复审备注",
  37095. "type": "string"
  37096. },
  37097. "reaudittime": {
  37098. "description": "复审时间",
  37099. "type": "string"
  37100. },
  37101. "relatedorderid": {
  37102. "description": "三方关联ID",
  37103. "type": "string"
  37104. },
  37105. "remark": {
  37106. "description": "备注",
  37107. "type": "string"
  37108. },
  37109. "remark2": {
  37110. "description": "备注(失败原因)",
  37111. "type": "string"
  37112. },
  37113. "soucreamount": {
  37114. "description": "原始出入金金额",
  37115. "type": "number"
  37116. },
  37117. "soucrecurrencyid": {
  37118. "description": "原始出入金币种",
  37119. "type": "integer"
  37120. },
  37121. "tradedate": {
  37122. "description": "交易日(yyyyMMdd)",
  37123. "type": "string"
  37124. },
  37125. "updatetime": {
  37126. "description": "更新时间(申请时间)",
  37127. "type": "string"
  37128. },
  37129. "userid": {
  37130. "description": "用户id",
  37131. "type": "integer"
  37132. },
  37133. "userinfotype": {
  37134. "description": "账户类型 1-个人 2-企业",
  37135. "type": "integer"
  37136. }
  37137. }
  37138. },
  37139. "models.QhjMgrBrokerApply": {
  37140. "type": "object",
  37141. "properties": {
  37142. "applicantid": {
  37143. "description": "申请人",
  37144. "type": "integer"
  37145. },
  37146. "applysrc": {
  37147. "description": "申请来源 - 1:管理端 2:终端",
  37148. "type": "integer"
  37149. },
  37150. "applystatus": {
  37151. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  37152. "type": "integer"
  37153. },
  37154. "applytime": {
  37155. "description": "申请时间",
  37156. "type": "string"
  37157. },
  37158. "auditorid": {
  37159. "description": "审核人",
  37160. "type": "integer"
  37161. },
  37162. "auditremark": {
  37163. "description": "审核备注",
  37164. "type": "string"
  37165. },
  37166. "auditsrc": {
  37167. "description": "审核来源 - 1:管理端 2:终端",
  37168. "type": "integer"
  37169. },
  37170. "audittime": {
  37171. "description": "审核时间",
  37172. "type": "string"
  37173. },
  37174. "audittradedate": {
  37175. "description": "审核交易日(yyyyMMdd)",
  37176. "type": "string"
  37177. },
  37178. "brokerapplyid": {
  37179. "description": "申请ID(SEQ_BROKERAPPLY)",
  37180. "type": "integer"
  37181. },
  37182. "cardbackphotourl": {
  37183. "description": "证件背面图片地址",
  37184. "type": "string"
  37185. },
  37186. "cardfrontphotourl": {
  37187. "description": "证件正面图片地址",
  37188. "type": "string"
  37189. },
  37190. "cardnum": {
  37191. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  37192. "type": "string"
  37193. },
  37194. "customername": {
  37195. "description": "姓名",
  37196. "type": "string"
  37197. },
  37198. "filterstatus": {
  37199. "description": "筛选条件",
  37200. "type": "string"
  37201. },
  37202. "logincode": {
  37203. "description": "登录代码",
  37204. "type": "string"
  37205. },
  37206. "mobile": {
  37207. "description": "手机号码",
  37208. "type": "string"
  37209. },
  37210. "parentuserid": {
  37211. "description": "所属机构id",
  37212. "type": "integer"
  37213. },
  37214. "parentusername": {
  37215. "description": "所属机构名称",
  37216. "type": "string"
  37217. },
  37218. "refereeuserid": {
  37219. "description": "推荐人id(经纪人)",
  37220. "type": "integer"
  37221. },
  37222. "refernum": {
  37223. "description": "推荐码",
  37224. "type": "string"
  37225. },
  37226. "remark": {
  37227. "description": "备注",
  37228. "type": "string"
  37229. },
  37230. "subarealevelpath": {
  37231. "description": "层级路径",
  37232. "type": "string"
  37233. },
  37234. "tradedate": {
  37235. "description": "交易日(yyyyMMdd)",
  37236. "type": "string"
  37237. },
  37238. "userid": {
  37239. "description": "申请人用户ID",
  37240. "type": "integer"
  37241. },
  37242. "userinfotype": {
  37243. "description": "用户类型 1-个人 2-企业",
  37244. "type": "integer"
  37245. },
  37246. "username": {
  37247. "description": "用户名称",
  37248. "type": "string"
  37249. }
  37250. }
  37251. },
  37252. "models.QhjMgrBrokerRewardReport": {
  37253. "type": "object",
  37254. "properties": {
  37255. "createtime": {
  37256. "description": "创建时间(注册时间)",
  37257. "type": "string"
  37258. },
  37259. "cycletime": {
  37260. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  37261. "type": "string"
  37262. },
  37263. "cycletype": {
  37264. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  37265. "type": "integer"
  37266. },
  37267. "directtotalnum": {
  37268. "description": "直推总人数【期末】",
  37269. "type": "integer"
  37270. },
  37271. "indirecttotalnum": {
  37272. "description": "间推总人数【期末】",
  37273. "type": "integer"
  37274. },
  37275. "mobile": {
  37276. "description": "电话号码",
  37277. "type": "string"
  37278. },
  37279. "refereeuserid": {
  37280. "description": "推荐人id(经纪人id)",
  37281. "type": "integer"
  37282. },
  37283. "refereeusername": {
  37284. "description": "推荐人名称(经纪人) 上级经纪人名称",
  37285. "type": "string"
  37286. },
  37287. "refernum": {
  37288. "description": "推荐码",
  37289. "type": "string"
  37290. },
  37291. "subarealevelpath": {
  37292. "description": "用户层级路径",
  37293. "type": "string"
  37294. },
  37295. "todayrewardamount": {
  37296. "description": "奖励总金额【汇总】",
  37297. "type": "number"
  37298. },
  37299. "updatetime": {
  37300. "description": "更新时间",
  37301. "type": "string"
  37302. },
  37303. "userid": {
  37304. "description": "经纪人用户ID",
  37305. "type": "integer"
  37306. },
  37307. "userinfotype": {
  37308. "description": "用户类型 1-个人 2-企业",
  37309. "type": "integer"
  37310. },
  37311. "username": {
  37312. "description": "用户名称",
  37313. "type": "string"
  37314. }
  37315. }
  37316. },
  37317. "models.QhjMgrContract": {
  37318. "type": "object",
  37319. "properties": {
  37320. "contractconfirmtime": {
  37321. "description": "合同确认时间(时间)",
  37322. "type": "string"
  37323. },
  37324. "currisklevel": {
  37325. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  37326. "type": "integer"
  37327. },
  37328. "decimalplace": {
  37329. "description": "商品报价小数位",
  37330. "type": "integer"
  37331. },
  37332. "enumdicname": {
  37333. "description": "单位名称",
  37334. "type": "string"
  37335. },
  37336. "goodscode": {
  37337. "description": "商品代码",
  37338. "type": "string"
  37339. },
  37340. "goodsid": {
  37341. "description": "商品ID [5:融资单]",
  37342. "type": "integer"
  37343. },
  37344. "goodsname": {
  37345. "description": "商品名称",
  37346. "type": "string"
  37347. },
  37348. "goodunitid": {
  37349. "description": "商品单位id",
  37350. "type": "integer"
  37351. },
  37352. "initmargin": {
  37353. "description": "初始保证金(首付款)",
  37354. "type": "number"
  37355. },
  37356. "lenderamount": {
  37357. "description": "贷款金额(总额|订单总额)",
  37358. "type": "number"
  37359. },
  37360. "logincode": {
  37361. "description": "账号(登录代码)",
  37362. "type": "string"
  37363. },
  37364. "marginratio": {
  37365. "description": "保证金比率(首付比例)",
  37366. "type": "number"
  37367. },
  37368. "mobile": {
  37369. "description": "电话号码(用户资料里的电话)",
  37370. "type": "string"
  37371. },
  37372. "payamount": {
  37373. "description": "已付(已付货款)",
  37374. "type": "number"
  37375. },
  37376. "reckonrecovermargin": {
  37377. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  37378. "type": "number"
  37379. },
  37380. "recoveredmargin": {
  37381. "description": "已追缴保证金",
  37382. "type": "number"
  37383. },
  37384. "remainamount": {
  37385. "description": "合同剩余金额(融资额)",
  37386. "type": "number"
  37387. },
  37388. "scfcontractid": {
  37389. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  37390. "type": "string"
  37391. },
  37392. "scfcontractstatus": {
  37393. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  37394. "type": "integer"
  37395. },
  37396. "scfcontracttype": {
  37397. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  37398. "type": "integer"
  37399. },
  37400. "totalinterest": {
  37401. "description": "已计总利息(利息)",
  37402. "type": "number"
  37403. },
  37404. "tradedate": {
  37405. "description": "交易日",
  37406. "type": "string"
  37407. },
  37408. "tradeprice": {
  37409. "description": "成交价格(成本价格)",
  37410. "type": "number"
  37411. },
  37412. "userid": {
  37413. "description": "用户ID",
  37414. "type": "integer"
  37415. },
  37416. "userinfotype": {
  37417. "description": "用户类型 1-个人 2-企业",
  37418. "type": "integer"
  37419. },
  37420. "username": {
  37421. "description": "用户名称",
  37422. "type": "string"
  37423. },
  37424. "wrqty": {
  37425. "description": "仓单数量(数量)",
  37426. "type": "number"
  37427. }
  37428. }
  37429. },
  37430. "models.QhjMgrCustomer": {
  37431. "type": "object",
  37432. "properties": {
  37433. "address": {
  37434. "description": "通讯地址",
  37435. "type": "string"
  37436. },
  37437. "attachment1": {
  37438. "description": "附件1",
  37439. "type": "string"
  37440. },
  37441. "audittime": {
  37442. "description": "审核时间",
  37443. "type": "string"
  37444. },
  37445. "birthday": {
  37446. "description": "生日",
  37447. "type": "string"
  37448. },
  37449. "brokerid": {
  37450. "description": "所属客户经理id",
  37451. "type": "integer"
  37452. },
  37453. "brokername": {
  37454. "description": "所属客户经理名称",
  37455. "type": "string"
  37456. },
  37457. "cardbackphotourl": {
  37458. "description": "证件反面图片地址",
  37459. "type": "string"
  37460. },
  37461. "cardfrontphotourl": {
  37462. "description": "证件正面图片地址",
  37463. "type": "string"
  37464. },
  37465. "cardnum": {
  37466. "description": "证件号码",
  37467. "type": "string"
  37468. },
  37469. "cardtype": {
  37470. "description": "证件类型",
  37471. "type": "integer"
  37472. },
  37473. "cardtypename": {
  37474. "description": "证件类型名称",
  37475. "type": "string"
  37476. },
  37477. "cityid": {
  37478. "description": "市",
  37479. "type": "integer"
  37480. },
  37481. "cityname": {
  37482. "description": "城市名称",
  37483. "type": "string"
  37484. },
  37485. "contactname": {
  37486. "description": "联系人",
  37487. "type": "string"
  37488. },
  37489. "countryid": {
  37490. "description": "国家",
  37491. "type": "integer"
  37492. },
  37493. "countryname": {
  37494. "description": "国家名称",
  37495. "type": "string"
  37496. },
  37497. "createtime": {
  37498. "description": "创建时间",
  37499. "type": "string"
  37500. },
  37501. "customername": {
  37502. "description": "客户名称",
  37503. "type": "string"
  37504. },
  37505. "districtid": {
  37506. "description": "区域",
  37507. "type": "integer"
  37508. },
  37509. "districtname": {
  37510. "description": "地区名称",
  37511. "type": "string"
  37512. },
  37513. "email": {
  37514. "description": "邮件",
  37515. "type": "string"
  37516. },
  37517. "legalpersonname": {
  37518. "description": "法人姓名(企业)",
  37519. "type": "string"
  37520. },
  37521. "logincode": {
  37522. "description": "登录账号(代码)",
  37523. "type": "string"
  37524. },
  37525. "memberuserid": {
  37526. "description": "所属机构ID(所属会员)",
  37527. "type": "integer"
  37528. },
  37529. "memberusername": {
  37530. "description": "所属会员名称",
  37531. "type": "string"
  37532. },
  37533. "mobile": {
  37534. "description": "手机号码",
  37535. "type": "string"
  37536. },
  37537. "modifytime": {
  37538. "description": "修改时间",
  37539. "type": "string"
  37540. },
  37541. "nickname": {
  37542. "description": "昵称",
  37543. "type": "string"
  37544. },
  37545. "parentuserid": {
  37546. "description": "上级机构(所属机构)",
  37547. "type": "integer"
  37548. },
  37549. "parentusername": {
  37550. "description": "所属机构名称",
  37551. "type": "string"
  37552. },
  37553. "provinceid": {
  37554. "description": "省",
  37555. "type": "integer"
  37556. },
  37557. "provincename": {
  37558. "description": "省名称",
  37559. "type": "string"
  37560. },
  37561. "proxystatementurl": {
  37562. "description": "授权委托书",
  37563. "type": "string"
  37564. },
  37565. "querytype": {
  37566. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  37567. "type": "integer"
  37568. },
  37569. "remark": {
  37570. "description": "备注",
  37571. "type": "string"
  37572. },
  37573. "sex": {
  37574. "description": "性别 0-女 1-男",
  37575. "type": "integer"
  37576. },
  37577. "status": {
  37578. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37579. "type": "integer"
  37580. },
  37581. "statusdesc": {
  37582. "description": "账户状态中文描述",
  37583. "type": "string"
  37584. },
  37585. "taxpayernum": {
  37586. "description": "纳税人识别号",
  37587. "type": "string"
  37588. },
  37589. "telphone": {
  37590. "description": "联系电话",
  37591. "type": "string"
  37592. },
  37593. "userid": {
  37594. "description": "用户ID",
  37595. "type": "integer"
  37596. },
  37597. "userinfotype": {
  37598. "description": "客户类型 1-个人 2-企业",
  37599. "type": "integer"
  37600. },
  37601. "username": {
  37602. "description": "用户名称",
  37603. "type": "string"
  37604. }
  37605. }
  37606. },
  37607. "models.QhjMgrPickGoods": {
  37608. "type": "object",
  37609. "properties": {
  37610. "enumdicname": {
  37611. "description": "单位名称(提货商品)",
  37612. "type": "string"
  37613. },
  37614. "goodsid": {
  37615. "description": "商品id",
  37616. "type": "integer"
  37617. },
  37618. "imageaddress": {
  37619. "description": "图片",
  37620. "type": "string"
  37621. },
  37622. "modifierid": {
  37623. "description": "修改人",
  37624. "type": "integer"
  37625. },
  37626. "modifiername": {
  37627. "description": "修改人名称",
  37628. "type": "string"
  37629. },
  37630. "modifysrc": {
  37631. "description": "修改来源 - 1:管理端 2:终端",
  37632. "type": "integer"
  37633. },
  37634. "pickupgoodsagreeunit": {
  37635. "description": "合约乘数",
  37636. "type": "number"
  37637. },
  37638. "pickupgoodsdesc": {
  37639. "description": "描述",
  37640. "type": "string"
  37641. },
  37642. "pickupgoodsid": {
  37643. "description": "提货商品ID",
  37644. "type": "string"
  37645. },
  37646. "pickupgoodsname": {
  37647. "description": "提货商品名称",
  37648. "type": "string"
  37649. },
  37650. "pickupgoodsstatus": {
  37651. "description": "状态 - 1:正常 2:停用 3:注销",
  37652. "type": "integer"
  37653. },
  37654. "pickupgoodsunitid": {
  37655. "description": "单位ID",
  37656. "type": "integer"
  37657. },
  37658. "pickupratio": {
  37659. "description": "提货系数",
  37660. "type": "number"
  37661. },
  37662. "preparedays": {
  37663. "description": "备货期(天)",
  37664. "type": "integer"
  37665. },
  37666. "remark": {
  37667. "description": "备注",
  37668. "type": "string"
  37669. },
  37670. "updatetime": {
  37671. "description": "更新时间",
  37672. "type": "string"
  37673. }
  37674. }
  37675. },
  37676. "models.QhjMgrPositionRsp": {
  37677. "type": "object",
  37678. "properties": {
  37679. "accountid": {
  37680. "description": "账号Id",
  37681. "type": "integer"
  37682. },
  37683. "accountname": {
  37684. "description": "用户名称",
  37685. "type": "string"
  37686. },
  37687. "agreeunit": {
  37688. "description": "合约乘数",
  37689. "type": "number"
  37690. },
  37691. "averageprice": {
  37692. "description": "均价",
  37693. "type": "number"
  37694. },
  37695. "avialqty": {
  37696. "description": "可用数量",
  37697. "type": "number"
  37698. },
  37699. "decimalplace": {
  37700. "description": "报价小数位",
  37701. "type": "integer"
  37702. },
  37703. "enumdicname": {
  37704. "description": "单位名称(商品)",
  37705. "type": "string"
  37706. },
  37707. "frozenqty": {
  37708. "description": "冻结数量",
  37709. "type": "number"
  37710. },
  37711. "goodscode": {
  37712. "description": "商品代码(内部)",
  37713. "type": "string"
  37714. },
  37715. "goodsid": {
  37716. "description": "商品Id",
  37717. "type": "integer"
  37718. },
  37719. "goodsname": {
  37720. "description": "商品名称",
  37721. "type": "string"
  37722. },
  37723. "goodunitid": {
  37724. "description": "报价单位ID",
  37725. "type": "integer"
  37726. },
  37727. "holderamount": {
  37728. "description": "金额",
  37729. "type": "number"
  37730. },
  37731. "holderqty": {
  37732. "description": "持有数量",
  37733. "type": "number"
  37734. },
  37735. "holdertype": {
  37736. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  37737. "type": "integer"
  37738. },
  37739. "logincode": {
  37740. "description": "登录代码(账户)",
  37741. "type": "string"
  37742. },
  37743. "marketid": {
  37744. "description": "市场id",
  37745. "type": "integer"
  37746. },
  37747. "qtydecimalplace": {
  37748. "description": "成交量小数位",
  37749. "type": "integer"
  37750. },
  37751. "trademode": {
  37752. "description": "交易模式",
  37753. "type": "integer"
  37754. },
  37755. "userid": {
  37756. "description": "用户id",
  37757. "type": "integer"
  37758. },
  37759. "userinfotype": {
  37760. "description": "账户类型 1-个人 2-企业",
  37761. "type": "integer"
  37762. }
  37763. }
  37764. },
  37765. "models.QhjMgrSubArea": {
  37766. "type": "object",
  37767. "properties": {
  37768. "accountname": {
  37769. "description": "账户名称(机构名称)",
  37770. "type": "string"
  37771. },
  37772. "memberuserid": {
  37773. "description": "所属会员ID",
  37774. "type": "integer"
  37775. },
  37776. "parenttopuser": {
  37777. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37778. "type": "string"
  37779. },
  37780. "parentuserid": {
  37781. "description": "所属机构ID",
  37782. "type": "integer"
  37783. },
  37784. "rootuserid": {
  37785. "description": "根用户ID",
  37786. "type": "string"
  37787. },
  37788. "subaccountlevel": {
  37789. "description": "子账户层数",
  37790. "type": "integer"
  37791. },
  37792. "subarealevelpath": {
  37793. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37794. "type": "string"
  37795. },
  37796. "userid": {
  37797. "description": "用户ID",
  37798. "type": "integer"
  37799. },
  37800. "usertype": {
  37801. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37802. "type": "integer"
  37803. }
  37804. }
  37805. },
  37806. "models.QhjMgrTradeDetailRsp": {
  37807. "type": "object",
  37808. "properties": {
  37809. "accountid": {
  37810. "description": "资金账号",
  37811. "type": "integer"
  37812. },
  37813. "accountname": {
  37814. "description": "用户名称",
  37815. "type": "string"
  37816. },
  37817. "agreeunit": {
  37818. "description": "合约乘数",
  37819. "type": "number"
  37820. },
  37821. "buyorsell": {
  37822. "description": "成交类型(方向) 0:买 1:卖",
  37823. "type": "integer"
  37824. },
  37825. "decimalplace": {
  37826. "description": "报价小数位",
  37827. "type": "integer"
  37828. },
  37829. "enumdicname": {
  37830. "description": "单位名称(商品)",
  37831. "type": "string"
  37832. },
  37833. "goodscode": {
  37834. "description": "商品代码(内部)",
  37835. "type": "string"
  37836. },
  37837. "goodsid": {
  37838. "description": "商品id",
  37839. "type": "integer"
  37840. },
  37841. "goodsname": {
  37842. "description": "商品名称",
  37843. "type": "string"
  37844. },
  37845. "goodunitid": {
  37846. "description": "报价单位ID",
  37847. "type": "integer"
  37848. },
  37849. "logincode": {
  37850. "description": "登录代码(账户)",
  37851. "type": "string"
  37852. },
  37853. "marketid": {
  37854. "description": "市场id",
  37855. "type": "integer"
  37856. },
  37857. "orderid": {
  37858. "description": "关联委托单号",
  37859. "type": "string"
  37860. },
  37861. "qtydecimalplace": {
  37862. "description": "成交量小数位",
  37863. "type": "integer"
  37864. },
  37865. "tradeamount": {
  37866. "description": "金额",
  37867. "type": "number"
  37868. },
  37869. "tradedate": {
  37870. "description": "交易日",
  37871. "type": "string"
  37872. },
  37873. "tradeid": {
  37874. "description": "成交单号",
  37875. "type": "string"
  37876. },
  37877. "trademode": {
  37878. "description": "交易模式",
  37879. "type": "integer"
  37880. },
  37881. "tradeprice": {
  37882. "description": "价格",
  37883. "type": "number"
  37884. },
  37885. "tradeqty": {
  37886. "description": "数量",
  37887. "type": "number"
  37888. },
  37889. "tradetime": {
  37890. "description": "成交时间",
  37891. "type": "string"
  37892. },
  37893. "userid": {
  37894. "description": "用户id",
  37895. "type": "integer"
  37896. },
  37897. "userinfotype": {
  37898. "description": "账户类型 1-个人 2-企业",
  37899. "type": "integer"
  37900. }
  37901. }
  37902. },
  37903. "models.QhjMgrTradeOrderDetailRsp": {
  37904. "type": "object",
  37905. "properties": {
  37906. "accountid": {
  37907. "description": "资金账号",
  37908. "type": "integer"
  37909. },
  37910. "accountname": {
  37911. "description": "用户名称",
  37912. "type": "string"
  37913. },
  37914. "agreeunit": {
  37915. "description": "合约乘数",
  37916. "type": "number"
  37917. },
  37918. "amount": {
  37919. "description": "金额",
  37920. "type": "number"
  37921. },
  37922. "decimalplace": {
  37923. "description": "报价小数位",
  37924. "type": "integer"
  37925. },
  37926. "enumdicname": {
  37927. "description": "单位名称(商品)",
  37928. "type": "string"
  37929. },
  37930. "goodscode": {
  37931. "description": "商品代码(内部)",
  37932. "type": "string"
  37933. },
  37934. "goodsid": {
  37935. "description": "商品id",
  37936. "type": "integer"
  37937. },
  37938. "goodsname": {
  37939. "description": "商品名称",
  37940. "type": "string"
  37941. },
  37942. "goodunitid": {
  37943. "description": "报价单位ID",
  37944. "type": "integer"
  37945. },
  37946. "logincode": {
  37947. "description": "登录代码(账户)",
  37948. "type": "string"
  37949. },
  37950. "marketid": {
  37951. "description": "市场id",
  37952. "type": "integer"
  37953. },
  37954. "orderid": {
  37955. "description": "关联委托单号",
  37956. "type": "string"
  37957. },
  37958. "orderprice": {
  37959. "description": "价格",
  37960. "type": "number"
  37961. },
  37962. "orderqty": {
  37963. "description": "数量",
  37964. "type": "number"
  37965. },
  37966. "orderstatus": {
  37967. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37968. "type": "integer"
  37969. },
  37970. "ordertime": {
  37971. "description": "委托时间",
  37972. "type": "string"
  37973. },
  37974. "qtydecimalplace": {
  37975. "description": "成交量小数位",
  37976. "type": "integer"
  37977. },
  37978. "tradedate": {
  37979. "description": "交易日",
  37980. "type": "string"
  37981. },
  37982. "trademode": {
  37983. "description": "交易模式",
  37984. "type": "integer"
  37985. },
  37986. "userid": {
  37987. "description": "用户id",
  37988. "type": "integer"
  37989. },
  37990. "userinfotype": {
  37991. "description": "账户类型 1-个人 2-企业",
  37992. "type": "integer"
  37993. }
  37994. }
  37995. },
  37996. "models.QhjMgrTradePayOrder": {
  37997. "type": "object",
  37998. "properties": {
  37999. "accountname": {
  38000. "description": "用户名称",
  38001. "type": "string"
  38002. },
  38003. "advanceratio": {
  38004. "description": "首付比率",
  38005. "type": "number"
  38006. },
  38007. "agreeunit": {
  38008. "description": "合约乘数",
  38009. "type": "number"
  38010. },
  38011. "buyaccountid": {
  38012. "description": "买方账号ID[报价币种]",
  38013. "type": "integer"
  38014. },
  38015. "buyorderid": {
  38016. "description": "买方委托单号(关联单号)",
  38017. "type": "string"
  38018. },
  38019. "createtime": {
  38020. "description": "创建时间",
  38021. "type": "string"
  38022. },
  38023. "decimalplace": {
  38024. "description": "报价小数位",
  38025. "type": "integer"
  38026. },
  38027. "enumdicname": {
  38028. "description": "单位名称(商品)",
  38029. "type": "string"
  38030. },
  38031. "goodscode": {
  38032. "description": "商品代码(内部)",
  38033. "type": "string"
  38034. },
  38035. "goodsid": {
  38036. "description": "商品ID",
  38037. "type": "integer"
  38038. },
  38039. "goodsname": {
  38040. "description": "商品名称",
  38041. "type": "string"
  38042. },
  38043. "goodunitid": {
  38044. "description": "报价单位ID",
  38045. "type": "integer"
  38046. },
  38047. "logincode": {
  38048. "description": "登录代码(账户)",
  38049. "type": "string"
  38050. },
  38051. "marketid": {
  38052. "description": "市场id",
  38053. "type": "integer"
  38054. },
  38055. "offamount": {
  38056. "description": "优惠金额",
  38057. "type": "number"
  38058. },
  38059. "operatetype": {
  38060. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  38061. "type": "integer"
  38062. },
  38063. "payamount": {
  38064. "description": "支付金额(金额)",
  38065. "type": "number"
  38066. },
  38067. "payflag": {
  38068. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  38069. "type": "integer"
  38070. },
  38071. "paylimitedtime": {
  38072. "description": "支付期限",
  38073. "type": "string"
  38074. },
  38075. "paytime": {
  38076. "description": "付款时间",
  38077. "type": "string"
  38078. },
  38079. "qtydecimalplace": {
  38080. "description": "成交量小数位",
  38081. "type": "integer"
  38082. },
  38083. "sellaccountid": {
  38084. "description": "卖方账号ID[报价币种]",
  38085. "type": "integer"
  38086. },
  38087. "sellorderid": {
  38088. "description": "卖方委托单号",
  38089. "type": "string"
  38090. },
  38091. "tradeamount": {
  38092. "description": "成交金额(优惠后金额)",
  38093. "type": "number"
  38094. },
  38095. "tradecharge": {
  38096. "description": "成交手续费(买方)",
  38097. "type": "number"
  38098. },
  38099. "tradedate": {
  38100. "description": "交易日(yyyyMMdd)",
  38101. "type": "string"
  38102. },
  38103. "tradeid": {
  38104. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38105. "type": "string"
  38106. },
  38107. "trademode": {
  38108. "description": "交易模式",
  38109. "type": "integer"
  38110. },
  38111. "tradeprice": {
  38112. "description": "成交价格(价格)",
  38113. "type": "number"
  38114. },
  38115. "tradeqty": {
  38116. "description": "成交数量(数量)",
  38117. "type": "number"
  38118. },
  38119. "tradetime": {
  38120. "description": "成交时间",
  38121. "type": "string"
  38122. },
  38123. "userid": {
  38124. "description": "用户id",
  38125. "type": "integer"
  38126. },
  38127. "userinfotype": {
  38128. "description": "账户类型 1-个人 2-企业",
  38129. "type": "integer"
  38130. }
  38131. }
  38132. },
  38133. "models.QhjMyTeamEx": {
  38134. "type": "object",
  38135. "properties": {
  38136. "accountname": {
  38137. "description": "用户名称",
  38138. "type": "string"
  38139. },
  38140. "accountstatus": {
  38141. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38142. "type": "integer"
  38143. },
  38144. "createtime": {
  38145. "description": "创建时间",
  38146. "type": "string"
  38147. },
  38148. "mobile": {
  38149. "description": "手机号码",
  38150. "type": "string"
  38151. },
  38152. "refereeuserid": {
  38153. "description": "推荐人id",
  38154. "type": "integer"
  38155. },
  38156. "refernum": {
  38157. "description": "推荐码",
  38158. "type": "string"
  38159. },
  38160. "subList": {
  38161. "type": "array",
  38162. "items": {
  38163. "$ref": "#/definitions/models.QhjMyTeamEx"
  38164. }
  38165. },
  38166. "userid": {
  38167. "description": "用户id",
  38168. "type": "integer"
  38169. },
  38170. "userinfotype": {
  38171. "description": "用户类型 1-个人 2-企业",
  38172. "type": "integer"
  38173. }
  38174. }
  38175. },
  38176. "models.QhjNodeAgreementConfig": {
  38177. "type": "object",
  38178. "properties": {
  38179. "agreementcontent": {
  38180. "description": "协议内容",
  38181. "type": "string"
  38182. },
  38183. "agreementid": {
  38184. "description": "协议ID",
  38185. "type": "integer"
  38186. },
  38187. "agreementname": {
  38188. "description": "协议名称",
  38189. "type": "string"
  38190. },
  38191. "agreementno": {
  38192. "description": "协议编号",
  38193. "type": "string"
  38194. },
  38195. "agreementtype": {
  38196. "description": "协议类型 - 1:注册 2:登录 3:交易",
  38197. "type": "integer"
  38198. },
  38199. "agreementversion": {
  38200. "description": "协议版本号",
  38201. "type": "integer"
  38202. },
  38203. "configid": {
  38204. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  38205. "type": "integer"
  38206. },
  38207. "createtime": {
  38208. "description": "创建时间",
  38209. "type": "string"
  38210. },
  38211. "goodsid": {
  38212. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  38213. "type": "integer"
  38214. },
  38215. "nodetype": {
  38216. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  38217. "type": "integer"
  38218. }
  38219. }
  38220. },
  38221. "models.QhjParentAreaList": {
  38222. "type": "object",
  38223. "properties": {
  38224. "accountname": {
  38225. "description": "账户名称(机构名称)",
  38226. "type": "string"
  38227. },
  38228. "userid": {
  38229. "description": "用户ID",
  38230. "type": "integer"
  38231. },
  38232. "usertype": {
  38233. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38234. "type": "integer"
  38235. }
  38236. }
  38237. },
  38238. "models.QhjPayOrder": {
  38239. "type": "object",
  38240. "properties": {
  38241. "advanceratio": {
  38242. "description": "首付比率",
  38243. "type": "number"
  38244. },
  38245. "buyaccountid": {
  38246. "description": "买方账号ID[报价币种]",
  38247. "type": "integer"
  38248. },
  38249. "buyorderid": {
  38250. "description": "买方委托单号",
  38251. "type": "string"
  38252. },
  38253. "createtime": {
  38254. "description": "创建时间",
  38255. "type": "string"
  38256. },
  38257. "decimalplace": {
  38258. "description": "商品报价小数位",
  38259. "type": "integer"
  38260. },
  38261. "enumdicname": {
  38262. "description": "单位名称",
  38263. "type": "string"
  38264. },
  38265. "goodscode": {
  38266. "description": "商品代码",
  38267. "type": "string"
  38268. },
  38269. "goodsid": {
  38270. "description": "商品ID",
  38271. "type": "integer"
  38272. },
  38273. "goodsname": {
  38274. "description": "商品名称",
  38275. "type": "string"
  38276. },
  38277. "goodunitid": {
  38278. "description": "商品单位id",
  38279. "type": "integer"
  38280. },
  38281. "marketid": {
  38282. "description": "市场ID",
  38283. "type": "integer"
  38284. },
  38285. "offamount": {
  38286. "description": "优惠金额",
  38287. "type": "number"
  38288. },
  38289. "operatetype": {
  38290. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  38291. "type": "integer"
  38292. },
  38293. "payamount": {
  38294. "description": "支付金额",
  38295. "type": "number"
  38296. },
  38297. "payflag": {
  38298. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  38299. "type": "integer"
  38300. },
  38301. "paylimitedtime": {
  38302. "description": "支付期限",
  38303. "type": "string"
  38304. },
  38305. "paytime": {
  38306. "description": "付款时间",
  38307. "type": "string"
  38308. },
  38309. "qtydecimalplace": {
  38310. "description": "成交量小数位",
  38311. "type": "integer"
  38312. },
  38313. "sellaccountid": {
  38314. "description": "卖方账号ID[报价币种]",
  38315. "type": "integer"
  38316. },
  38317. "sellorderid": {
  38318. "description": "卖方委托单号",
  38319. "type": "string"
  38320. },
  38321. "tradeamount": {
  38322. "description": "成交金额(优惠后金额)",
  38323. "type": "number"
  38324. },
  38325. "tradecharge": {
  38326. "description": "成交手续费(买方)",
  38327. "type": "number"
  38328. },
  38329. "tradedate": {
  38330. "description": "交易日(yyyyMMdd)",
  38331. "type": "string"
  38332. },
  38333. "tradeid": {
  38334. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38335. "type": "string"
  38336. },
  38337. "tradeprice": {
  38338. "description": "成交价格",
  38339. "type": "number"
  38340. },
  38341. "tradeqty": {
  38342. "description": "成交数量",
  38343. "type": "number"
  38344. }
  38345. }
  38346. },
  38347. "models.QhjPickArea": {
  38348. "type": "object",
  38349. "properties": {
  38350. "address": {
  38351. "description": "详细地址",
  38352. "type": "string"
  38353. },
  38354. "cityid": {
  38355. "description": "市",
  38356. "type": "integer"
  38357. },
  38358. "cityname": {
  38359. "description": "城市名称",
  38360. "type": "string"
  38361. },
  38362. "countryid": {
  38363. "description": "国家",
  38364. "type": "integer"
  38365. },
  38366. "countryname": {
  38367. "description": "国家名称",
  38368. "type": "string"
  38369. },
  38370. "districtid": {
  38371. "description": "地区",
  38372. "type": "integer"
  38373. },
  38374. "districtname": {
  38375. "description": "地区名称",
  38376. "type": "string"
  38377. },
  38378. "fromuserid": {
  38379. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  38380. "type": "integer"
  38381. },
  38382. "fromusername": {
  38383. "description": "所属机构名称",
  38384. "type": "string"
  38385. },
  38386. "provinceid": {
  38387. "description": "省",
  38388. "type": "integer"
  38389. },
  38390. "provincename": {
  38391. "description": "省名称",
  38392. "type": "string"
  38393. },
  38394. "suborgtype": {
  38395. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  38396. "type": "integer"
  38397. },
  38398. "userid": {
  38399. "description": "机构用户ID 其他做市关系,都设置为 1",
  38400. "type": "integer"
  38401. },
  38402. "username": {
  38403. "description": "机构用户名称(门店门称)",
  38404. "type": "string"
  38405. }
  38406. }
  38407. },
  38408. "models.QhjPickGoods": {
  38409. "type": "object",
  38410. "properties": {
  38411. "enumdicname": {
  38412. "description": "单位名称(提货商品)",
  38413. "type": "string"
  38414. },
  38415. "goodsid": {
  38416. "description": "商品id",
  38417. "type": "integer"
  38418. },
  38419. "imageaddress": {
  38420. "description": "图片",
  38421. "type": "string"
  38422. },
  38423. "modifierid": {
  38424. "description": "修改人",
  38425. "type": "integer"
  38426. },
  38427. "modifiername": {
  38428. "description": "修改人名称",
  38429. "type": "string"
  38430. },
  38431. "modifysrc": {
  38432. "description": "修改来源 - 1:管理端 2:终端",
  38433. "type": "integer"
  38434. },
  38435. "pickupgoodsagreeunit": {
  38436. "description": "合约乘数",
  38437. "type": "number"
  38438. },
  38439. "pickupgoodsdesc": {
  38440. "description": "描述",
  38441. "type": "string"
  38442. },
  38443. "pickupgoodsid": {
  38444. "description": "提货商品ID",
  38445. "type": "string"
  38446. },
  38447. "pickupgoodsname": {
  38448. "description": "提货商品名称",
  38449. "type": "string"
  38450. },
  38451. "pickupgoodsstatus": {
  38452. "description": "状态 - 1:正常 2:停用 3:注销",
  38453. "type": "integer"
  38454. },
  38455. "pickupgoodsunitid": {
  38456. "description": "单位ID",
  38457. "type": "integer"
  38458. },
  38459. "pickupratio": {
  38460. "description": "提货系数",
  38461. "type": "number"
  38462. },
  38463. "preparedays": {
  38464. "description": "备货期(天)",
  38465. "type": "integer"
  38466. },
  38467. "remark": {
  38468. "description": "备注",
  38469. "type": "string"
  38470. },
  38471. "updatetime": {
  38472. "description": "更新时间",
  38473. "type": "string"
  38474. }
  38475. }
  38476. },
  38477. "models.QhjRSTriggerLog": {
  38478. "type": "object",
  38479. "properties": {
  38480. "accountid": {
  38481. "description": "用户资金账户",
  38482. "type": "integer"
  38483. },
  38484. "accountname": {
  38485. "description": "账号名称(ACCOUNTID对应的名称)",
  38486. "type": "string"
  38487. },
  38488. "currencyid": {
  38489. "description": "币种id",
  38490. "type": "integer"
  38491. },
  38492. "currencyname": {
  38493. "description": "币种名称",
  38494. "type": "string"
  38495. },
  38496. "decimalplace": {
  38497. "description": "商品报价小数位",
  38498. "type": "integer"
  38499. },
  38500. "enumdicname": {
  38501. "description": "单位名称",
  38502. "type": "string"
  38503. },
  38504. "goodscode": {
  38505. "description": "定投商品代码",
  38506. "type": "string"
  38507. },
  38508. "goodsid": {
  38509. "description": "定投商品ID",
  38510. "type": "integer"
  38511. },
  38512. "goodsname": {
  38513. "description": "定投商品名称",
  38514. "type": "string"
  38515. },
  38516. "goodunitid": {
  38517. "description": "定投商品单位id",
  38518. "type": "integer"
  38519. },
  38520. "logid": {
  38521. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  38522. "type": "string"
  38523. },
  38524. "logincode": {
  38525. "description": "账号(登录代码)",
  38526. "type": "string"
  38527. },
  38528. "qtydecimalplace": {
  38529. "description": "成交量小数位",
  38530. "type": "integer"
  38531. },
  38532. "regularlycycle": {
  38533. "description": "定投频率 - 1:每周 2:每月",
  38534. "type": "integer"
  38535. },
  38536. "regularlycyclevalue": {
  38537. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  38538. "type": "string"
  38539. },
  38540. "regularlymode": {
  38541. "description": "定投方式 - 1:按数量 2:按金额",
  38542. "type": "integer"
  38543. },
  38544. "regularlymodevalue": {
  38545. "description": "定投方式值 - 数量或金额",
  38546. "type": "number"
  38547. },
  38548. "regularlystrategyid": {
  38549. "description": "定投策略ID",
  38550. "type": "integer"
  38551. },
  38552. "retcode": {
  38553. "description": "错误码",
  38554. "type": "string"
  38555. },
  38556. "tradeid": {
  38557. "description": "成交单ID",
  38558. "type": "string"
  38559. },
  38560. "triggeramount": {
  38561. "description": "触发金额",
  38562. "type": "number"
  38563. },
  38564. "triggerqty": {
  38565. "description": "触发数量",
  38566. "type": "number"
  38567. },
  38568. "triggerstatus": {
  38569. "description": "触发状态 - 1:成功 2:失败",
  38570. "type": "integer"
  38571. },
  38572. "triggertime": {
  38573. "description": "触发时间",
  38574. "type": "string"
  38575. },
  38576. "triggertradedate": {
  38577. "description": "触发交易日",
  38578. "type": "string"
  38579. },
  38580. "userid": {
  38581. "description": "所属用户ID",
  38582. "type": "integer"
  38583. },
  38584. "userinfotype": {
  38585. "description": "用户类型 1-个人 2-企业",
  38586. "type": "integer"
  38587. },
  38588. "username": {
  38589. "description": "用户名称(userid对应的名称)",
  38590. "type": "string"
  38591. }
  38592. }
  38593. },
  38594. "models.QhjRStrategy": {
  38595. "type": "object",
  38596. "properties": {
  38597. "accountid": {
  38598. "description": "用户资金账户",
  38599. "type": "integer"
  38600. },
  38601. "accountname": {
  38602. "description": "账号名称(ACCOUNTID对应的名称)",
  38603. "type": "string"
  38604. },
  38605. "currencyid": {
  38606. "description": "币种id",
  38607. "type": "integer"
  38608. },
  38609. "currencyname": {
  38610. "description": "币种名称",
  38611. "type": "string"
  38612. },
  38613. "decimalplace": {
  38614. "description": "商品报价小数位",
  38615. "type": "integer"
  38616. },
  38617. "enumdicname": {
  38618. "description": "单位名称",
  38619. "type": "string"
  38620. },
  38621. "goodscode": {
  38622. "description": "定投商品代码",
  38623. "type": "string"
  38624. },
  38625. "goodsid": {
  38626. "description": "定投商品ID",
  38627. "type": "integer"
  38628. },
  38629. "goodsname": {
  38630. "description": "定投商品名称",
  38631. "type": "string"
  38632. },
  38633. "goodunitid": {
  38634. "description": "定投商品单位id",
  38635. "type": "integer"
  38636. },
  38637. "lasteffecttradedate": {
  38638. "description": "最新生效交易日",
  38639. "type": "string"
  38640. },
  38641. "laststoptradedate": {
  38642. "description": "最新暂停交易日",
  38643. "type": "string"
  38644. },
  38645. "lasttriggertradedate": {
  38646. "description": "最新触发交易日",
  38647. "type": "string"
  38648. },
  38649. "logincode": {
  38650. "description": "账号(登录代码)",
  38651. "type": "string"
  38652. },
  38653. "nexttriggeramount": {
  38654. "description": "下次触发金额",
  38655. "type": "number"
  38656. },
  38657. "nexttriggerdate": {
  38658. "description": "下次触发日期",
  38659. "type": "string"
  38660. },
  38661. "nexttriggerqty": {
  38662. "description": "下次触发数量 [按小数位放大值]",
  38663. "type": "number"
  38664. },
  38665. "qtydecimalplace": {
  38666. "description": "成交量小数位",
  38667. "type": "integer"
  38668. },
  38669. "regularlycycle": {
  38670. "description": "定投频率 - 1:每周 2:每月",
  38671. "type": "integer"
  38672. },
  38673. "regularlycyclevalue": {
  38674. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  38675. "type": "string"
  38676. },
  38677. "regularlymode": {
  38678. "description": "定投方式 - 1:按数量 2:按金额",
  38679. "type": "integer"
  38680. },
  38681. "regularlymodevalue": {
  38682. "description": "定投方式值 - 数量或金额",
  38683. "type": "number"
  38684. },
  38685. "regularlystrategyid": {
  38686. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  38687. "type": "integer"
  38688. },
  38689. "regularlystrategystatus": {
  38690. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  38691. "type": "integer"
  38692. },
  38693. "remark": {
  38694. "description": "备注",
  38695. "type": "string"
  38696. },
  38697. "triggersuccesstimes": {
  38698. "description": "累计定投成功次数",
  38699. "type": "string"
  38700. },
  38701. "triggertotalamount": {
  38702. "description": "累计定投金额(成功)",
  38703. "type": "number"
  38704. },
  38705. "triggertotalqty": {
  38706. "description": "累计定投数量(成功) [按小数位放大值]",
  38707. "type": "number"
  38708. },
  38709. "triggertotaltimes": {
  38710. "description": "累计定投总次数",
  38711. "type": "string"
  38712. },
  38713. "updatesrc": {
  38714. "description": "更新来源 - 1:管理端 2:终端",
  38715. "type": "integer"
  38716. },
  38717. "updatetime": {
  38718. "description": "更新时间",
  38719. "type": "string"
  38720. },
  38721. "updatorid": {
  38722. "description": "更新人",
  38723. "type": "string"
  38724. },
  38725. "userid": {
  38726. "description": "所属用户ID",
  38727. "type": "integer"
  38728. },
  38729. "userinfotype": {
  38730. "description": "用户类型 1-个人 2-企业",
  38731. "type": "integer"
  38732. },
  38733. "username": {
  38734. "description": "用户名称(userid对应的名称)",
  38735. "type": "string"
  38736. }
  38737. }
  38738. },
  38739. "models.QhjReckonPriceLog": {
  38740. "type": "object",
  38741. "properties": {
  38742. "decimalplace": {
  38743. "description": "商品报价小数位",
  38744. "type": "integer"
  38745. },
  38746. "goodscode": {
  38747. "description": "商品代码",
  38748. "type": "string"
  38749. },
  38750. "goodsid": {
  38751. "description": "商品ID",
  38752. "type": "integer"
  38753. },
  38754. "goodsname": {
  38755. "description": "商品名称",
  38756. "type": "string"
  38757. },
  38758. "lastreckonprice": {
  38759. "description": "上日结算价",
  38760. "type": "number"
  38761. },
  38762. "nextdnlimitprice": {
  38763. "description": "下个交易日跌停价",
  38764. "type": "number"
  38765. },
  38766. "nexttrade": {
  38767. "description": "下个交易日",
  38768. "type": "string"
  38769. },
  38770. "nextuplimitprice": {
  38771. "description": "下个交易日涨停价",
  38772. "type": "number"
  38773. },
  38774. "reckonprice": {
  38775. "description": "今日结算价(定投价)",
  38776. "type": "number"
  38777. },
  38778. "reckontime": {
  38779. "description": "结算时间",
  38780. "type": "string"
  38781. },
  38782. "totalholderqty": {
  38783. "description": "总持仓数",
  38784. "type": "integer"
  38785. },
  38786. "totalstock": {
  38787. "description": "总库存",
  38788. "type": "integer"
  38789. },
  38790. "tradedate": {
  38791. "description": "交易日",
  38792. "type": "string"
  38793. },
  38794. "updowncount": {
  38795. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  38796. "type": "integer"
  38797. },
  38798. "updownflag": {
  38799. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  38800. "type": "integer"
  38801. },
  38802. "updownrate": {
  38803. "description": "今日涨跌幅",
  38804. "type": "number"
  38805. },
  38806. "updownrate_2d": {
  38807. "description": "连续两日涨跌幅",
  38808. "type": "number"
  38809. },
  38810. "updownrate_3d": {
  38811. "description": "连续三日涨跌幅",
  38812. "type": "number"
  38813. }
  38814. }
  38815. },
  38816. "models.QhjScoreLog": {
  38817. "type": "object",
  38818. "properties": {
  38819. "accountid": {
  38820. "description": "账户ID",
  38821. "type": "integer"
  38822. },
  38823. "createtime": {
  38824. "description": "创建时间(时间)",
  38825. "type": "string"
  38826. },
  38827. "goodsid": {
  38828. "description": "商品ID",
  38829. "type": "integer"
  38830. },
  38831. "hasuploaded": {
  38832. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  38833. "type": "integer"
  38834. },
  38835. "logid": {
  38836. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38837. "type": "string"
  38838. },
  38839. "marketid": {
  38840. "description": "市场ID",
  38841. "type": "integer"
  38842. },
  38843. "relatedamount": {
  38844. "description": "关联金额",
  38845. "type": "number"
  38846. },
  38847. "relatedorderid": {
  38848. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  38849. "type": "string"
  38850. },
  38851. "scoreconfigvalue1": {
  38852. "description": "积分配置1",
  38853. "type": "integer"
  38854. },
  38855. "scoreconfigvalue2": {
  38856. "description": "积分配置1",
  38857. "type": "integer"
  38858. },
  38859. "scoretype": {
  38860. "description": "积分类型 - 1:提货积分",
  38861. "type": "integer"
  38862. },
  38863. "scorevalue": {
  38864. "description": "积分",
  38865. "type": "number"
  38866. },
  38867. "tradedate": {
  38868. "description": "交易日(yyyyMMdd)",
  38869. "type": "string"
  38870. },
  38871. "uploadedtime": {
  38872. "description": "同步时间",
  38873. "type": "string"
  38874. },
  38875. "userid": {
  38876. "description": "用户ID",
  38877. "type": "integer"
  38878. }
  38879. }
  38880. },
  38881. "models.QhjSiteColumnDetail": {
  38882. "type": "object",
  38883. "properties": {
  38884. "author": {
  38885. "description": "作者",
  38886. "type": "string"
  38887. },
  38888. "brief": {
  38889. "description": "简介",
  38890. "type": "string"
  38891. },
  38892. "columnid": {
  38893. "description": "所属栏目",
  38894. "type": "integer"
  38895. },
  38896. "context": {
  38897. "description": "内容",
  38898. "type": "string"
  38899. },
  38900. "coverimage": {
  38901. "description": "封面图片",
  38902. "type": "string"
  38903. },
  38904. "creaedate": {
  38905. "description": "创建时间",
  38906. "type": "string"
  38907. },
  38908. "creatorid": {
  38909. "description": "创建人",
  38910. "type": "integer"
  38911. },
  38912. "hits": {
  38913. "description": "点击数",
  38914. "type": "integer"
  38915. },
  38916. "id": {
  38917. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  38918. "type": "integer"
  38919. },
  38920. "isshow": {
  38921. "description": "是否展示 - 0:不展示 1:展示",
  38922. "type": "integer"
  38923. },
  38924. "istop": {
  38925. "description": "是否置顶 - 0:不置 1:置顶",
  38926. "type": "integer"
  38927. },
  38928. "modifierid": {
  38929. "description": "操作人",
  38930. "type": "integer"
  38931. },
  38932. "publishdate": {
  38933. "description": "发布日期",
  38934. "type": "string"
  38935. },
  38936. "status": {
  38937. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  38938. "type": "integer"
  38939. },
  38940. "title": {
  38941. "description": "标题",
  38942. "type": "string"
  38943. },
  38944. "updatedate": {
  38945. "description": "修改时间",
  38946. "type": "string"
  38947. },
  38948. "userid": {
  38949. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  38950. "type": "integer"
  38951. },
  38952. "username": {
  38953. "description": "用户名称",
  38954. "type": "string"
  38955. }
  38956. }
  38957. },
  38958. "models.QhjTeamOrder": {
  38959. "type": "object",
  38960. "properties": {
  38961. "accountid": {
  38962. "description": "账户ID[报价币种]",
  38963. "type": "integer"
  38964. },
  38965. "accountname": {
  38966. "description": "账户名称",
  38967. "type": "string"
  38968. },
  38969. "agreeunit": {
  38970. "description": "合约乘数",
  38971. "type": "number"
  38972. },
  38973. "buyorsell": {
  38974. "description": "方向 - 0:买 1:卖",
  38975. "type": "integer"
  38976. },
  38977. "decimalplace": {
  38978. "description": "报价小数位",
  38979. "type": "integer"
  38980. },
  38981. "enumdicname": {
  38982. "description": "单位名称",
  38983. "type": "string"
  38984. },
  38985. "goodscode": {
  38986. "description": "商品代码(内部)",
  38987. "type": "string"
  38988. },
  38989. "goodsid": {
  38990. "description": "商品ID",
  38991. "type": "integer"
  38992. },
  38993. "goodsname": {
  38994. "description": "商品名称",
  38995. "type": "string"
  38996. },
  38997. "goodunitid": {
  38998. "description": "报价单位ID",
  38999. "type": "integer"
  39000. },
  39001. "marketid": {
  39002. "description": "市场ID",
  39003. "type": "integer"
  39004. },
  39005. "marketname": {
  39006. "description": "市场名称",
  39007. "type": "string"
  39008. },
  39009. "qtydecimalplace": {
  39010. "description": "成交量小数位",
  39011. "type": "integer"
  39012. },
  39013. "refereeuserid": {
  39014. "description": "推荐人ID",
  39015. "type": "integer"
  39016. },
  39017. "tradeamount": {
  39018. "description": "成交金额[账户币种,用于所有权]",
  39019. "type": "number"
  39020. },
  39021. "tradedate": {
  39022. "description": "交易日(yyyyMMdd)",
  39023. "type": "string"
  39024. },
  39025. "trademode": {
  39026. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39027. "type": "integer"
  39028. },
  39029. "tradeprice": {
  39030. "description": "成交价格",
  39031. "type": "number"
  39032. },
  39033. "tradeqty": {
  39034. "description": "成交数量",
  39035. "type": "number"
  39036. },
  39037. "tradetime": {
  39038. "description": "成交时间",
  39039. "type": "string"
  39040. },
  39041. "userid": {
  39042. "description": "用户ID",
  39043. "type": "integer"
  39044. }
  39045. }
  39046. },
  39047. "models.QhjTradeGoodsPickup": {
  39048. "type": "object",
  39049. "properties": {
  39050. "accountid": {
  39051. "description": "账户ID",
  39052. "type": "integer"
  39053. },
  39054. "address": {
  39055. "description": "提货人详细地址",
  39056. "type": "string"
  39057. },
  39058. "amount": {
  39059. "description": "提货金额",
  39060. "type": "number"
  39061. },
  39062. "artradedate": {
  39063. "description": "自动收货交易日(yyyyMMdd)",
  39064. "type": "string"
  39065. },
  39066. "auditer": {
  39067. "description": "审核人",
  39068. "type": "integer"
  39069. },
  39070. "auditsrc": {
  39071. "description": "更新来源 - 1:管理端 2:终端",
  39072. "type": "integer"
  39073. },
  39074. "audittime": {
  39075. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  39076. "type": "string"
  39077. },
  39078. "audittradedate": {
  39079. "description": "审核交易日(yyyyMMdd)",
  39080. "type": "string"
  39081. },
  39082. "cardnum": {
  39083. "description": "提货人证件号码",
  39084. "type": "string"
  39085. },
  39086. "cardtypeid": {
  39087. "description": "提货人证件类型",
  39088. "type": "integer"
  39089. },
  39090. "checkremark": {
  39091. "description": "审核备注",
  39092. "type": "string"
  39093. },
  39094. "cityid": {
  39095. "description": "市",
  39096. "type": "integer"
  39097. },
  39098. "cityname": {
  39099. "description": "城市名称",
  39100. "type": "string"
  39101. },
  39102. "confirmtime": {
  39103. "description": "取货时间 或 收货时间",
  39104. "type": "string"
  39105. },
  39106. "countryid": {
  39107. "description": "国家",
  39108. "type": "integer"
  39109. },
  39110. "countryname": {
  39111. "description": "国家名称",
  39112. "type": "string"
  39113. },
  39114. "decimalplace": {
  39115. "description": "商品报价小数位",
  39116. "type": "integer"
  39117. },
  39118. "districtid": {
  39119. "description": "地区",
  39120. "type": "integer"
  39121. },
  39122. "districtname": {
  39123. "description": "地区名称",
  39124. "type": "string"
  39125. },
  39126. "enumdicname": {
  39127. "description": "单位名称(提货商品)",
  39128. "type": "string"
  39129. },
  39130. "expresscompany": {
  39131. "description": "物流公司",
  39132. "type": "string"
  39133. },
  39134. "expressnum": {
  39135. "description": "物流单号",
  39136. "type": "string"
  39137. },
  39138. "goodsagreeunit": {
  39139. "description": "交易商品乘数",
  39140. "type": "number"
  39141. },
  39142. "goodscode": {
  39143. "description": "商品代码",
  39144. "type": "string"
  39145. },
  39146. "goodsid": {
  39147. "description": "商品ID",
  39148. "type": "integer"
  39149. },
  39150. "goodsname": {
  39151. "description": "商品名称",
  39152. "type": "string"
  39153. },
  39154. "goodsqty": {
  39155. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  39156. "type": "number"
  39157. },
  39158. "handlestatus": {
  39159. "description": "处理状态",
  39160. "type": "integer"
  39161. },
  39162. "logincode": {
  39163. "description": "账号(登录代码, 有可能为空)",
  39164. "type": "string"
  39165. },
  39166. "marketid": {
  39167. "description": "市场ID",
  39168. "type": "integer"
  39169. },
  39170. "phonenum": {
  39171. "description": "提货人联系方式",
  39172. "type": "string"
  39173. },
  39174. "pickupgoodsagreeunit": {
  39175. "description": "提货商品合约乘数",
  39176. "type": "number"
  39177. },
  39178. "pickupgoodsid": {
  39179. "description": "提货商品ID",
  39180. "type": "string"
  39181. },
  39182. "pickupgoodsname": {
  39183. "description": "提货商品名称",
  39184. "type": "string"
  39185. },
  39186. "pickupgoodsqty": {
  39187. "description": "提货商品手数(数量)",
  39188. "type": "number"
  39189. },
  39190. "pickupgoodsunitid": {
  39191. "description": "单位ID(提货商品)",
  39192. "type": "integer"
  39193. },
  39194. "pickupratio": {
  39195. "description": "提货系数",
  39196. "type": "number"
  39197. },
  39198. "preparedays": {
  39199. "description": "备货期(天)-提货单明细表",
  39200. "type": "integer"
  39201. },
  39202. "provinceid": {
  39203. "description": "省",
  39204. "type": "integer"
  39205. },
  39206. "provincename": {
  39207. "description": "省名称",
  39208. "type": "string"
  39209. },
  39210. "qty": {
  39211. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  39212. "type": "number"
  39213. },
  39214. "qtydecimalplace": {
  39215. "description": "商品数量小数位",
  39216. "type": "integer"
  39217. },
  39218. "recivername": {
  39219. "description": "提货人姓名",
  39220. "type": "string"
  39221. },
  39222. "reqtime": {
  39223. "description": "提货申请时间",
  39224. "type": "string"
  39225. },
  39226. "storeuserid": {
  39227. "description": "门店用户ID (千海金)",
  39228. "type": "integer"
  39229. },
  39230. "storeusername": {
  39231. "description": "门店用户名称",
  39232. "type": "string"
  39233. },
  39234. "takemode": {
  39235. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  39236. "type": "integer"
  39237. },
  39238. "takeorderid": {
  39239. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39240. "type": "string"
  39241. },
  39242. "takeorderstatus": {
  39243. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  39244. "type": "integer"
  39245. },
  39246. "takeremark": {
  39247. "description": "提货备注",
  39248. "type": "string"
  39249. },
  39250. "tradedate": {
  39251. "description": "交易日(yyyyMMdd)",
  39252. "type": "string"
  39253. },
  39254. "updatetime": {
  39255. "description": "更新时间",
  39256. "type": "string"
  39257. },
  39258. "userid": {
  39259. "description": "用户ID",
  39260. "type": "integer"
  39261. },
  39262. "userinfotype": {
  39263. "description": "客户类型 1-个人 2-企业",
  39264. "type": "integer"
  39265. },
  39266. "username": {
  39267. "description": "用户名称",
  39268. "type": "string"
  39269. }
  39270. }
  39271. },
  39272. "models.QhjUserNodeCfgAndStatus": {
  39273. "type": "object",
  39274. "properties": {
  39275. "agreementcontent": {
  39276. "description": "协议内容",
  39277. "type": "string"
  39278. },
  39279. "agreementid": {
  39280. "description": "协议ID",
  39281. "type": "integer"
  39282. },
  39283. "agreementname": {
  39284. "description": "协议名称",
  39285. "type": "string"
  39286. },
  39287. "agreementno": {
  39288. "description": "协议编号",
  39289. "type": "string"
  39290. },
  39291. "agreementtype": {
  39292. "description": "协议类型 - 1:注册 2:登录 3:交易",
  39293. "type": "integer"
  39294. },
  39295. "agreementversion": {
  39296. "description": "协议版本号",
  39297. "type": "integer"
  39298. },
  39299. "configid": {
  39300. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  39301. "type": "integer"
  39302. },
  39303. "createtime": {
  39304. "description": "创建时间",
  39305. "type": "string"
  39306. },
  39307. "goodsid": {
  39308. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  39309. "type": "integer"
  39310. },
  39311. "nodetype": {
  39312. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  39313. "type": "integer"
  39314. },
  39315. "signtimestamp": {
  39316. "description": "签约状态时间戳(最近一次)",
  39317. "type": "string"
  39318. },
  39319. "tradedate": {
  39320. "description": "签约交易日(yyyyMMdd)",
  39321. "type": "string"
  39322. },
  39323. "userid": {
  39324. "description": "客户ID",
  39325. "type": "integer"
  39326. }
  39327. }
  39328. },
  39329. "models.Qhjgoodsex": {
  39330. "type": "object",
  39331. "properties": {
  39332. "canfinance": {
  39333. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  39334. "type": "integer"
  39335. },
  39336. "canregularlybuy": {
  39337. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  39338. "type": "integer"
  39339. },
  39340. "defaulttradeuserid": {
  39341. "description": "默认交易用户ID",
  39342. "type": "integer"
  39343. },
  39344. "deliverygoodsid": {
  39345. "description": "现货品种ID",
  39346. "type": "integer"
  39347. },
  39348. "goodsid": {
  39349. "description": "商品ID(自增ID SEQ_GOODS)",
  39350. "type": "integer"
  39351. },
  39352. "minamount": {
  39353. "description": "最小购买金额",
  39354. "type": "number"
  39355. },
  39356. "regularlybuyminamount": {
  39357. "description": "定投最小金额",
  39358. "type": "number"
  39359. },
  39360. "regularlybuyminqty": {
  39361. "description": "定投最小数量",
  39362. "type": "number"
  39363. },
  39364. "spotgoodsbrandid": {
  39365. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  39366. "type": "integer"
  39367. },
  39368. "visibilityforenterprise": {
  39369. "description": "企业客户是否可见 - 0:不可见 1:可见",
  39370. "type": "integer"
  39371. },
  39372. "visibilityforpersonal": {
  39373. "description": "个人客户是否可见 - 0:不可见 1:可见",
  39374. "type": "integer"
  39375. },
  39376. "wrstandardid": {
  39377. "description": "现货商品ID",
  39378. "type": "integer"
  39379. }
  39380. }
  39381. },
  39382. "models.QueryErrorInfosRsp": {
  39383. "type": "object",
  39384. "required": [
  39385. "errorid"
  39386. ],
  39387. "properties": {
  39388. "description": {
  39389. "description": "异常描述",
  39390. "type": "string"
  39391. },
  39392. "errorcode": {
  39393. "description": "异常代码",
  39394. "type": "string"
  39395. },
  39396. "errorid": {
  39397. "description": "异常ID",
  39398. "type": "integer"
  39399. },
  39400. "modulecode": {
  39401. "description": "所属模块",
  39402. "type": "string"
  39403. },
  39404. "operatecode": {
  39405. "description": "所属操作",
  39406. "type": "string"
  39407. },
  39408. "rownumber": {
  39409. "description": "行号",
  39410. "type": "string"
  39411. }
  39412. }
  39413. },
  39414. "models.QueryHedgeOrderDetailRsp": {
  39415. "type": "object",
  39416. "properties": {
  39417. "accountid": {
  39418. "description": "账户ID",
  39419. "type": "integer"
  39420. },
  39421. "buyorsell": {
  39422. "description": "买卖 - 0:买 1:卖",
  39423. "type": "integer"
  39424. },
  39425. "cancellogincode": {
  39426. "description": "撤单人",
  39427. "type": "string"
  39428. },
  39429. "channelbuildtype": {
  39430. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  39431. "type": "integer"
  39432. },
  39433. "channelinnerorderstatus": {
  39434. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  39435. "type": "integer"
  39436. },
  39437. "channeloperatetype": {
  39438. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  39439. "type": "integer"
  39440. },
  39441. "closetype": {
  39442. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  39443. "type": "integer"
  39444. },
  39445. "curexchangerate": {
  39446. "description": "当前汇率",
  39447. "type": "number"
  39448. },
  39449. "decimalplace": {
  39450. "description": "商品报价小数位",
  39451. "type": "integer"
  39452. },
  39453. "exchangefullname": {
  39454. "description": "外部交易所全称",
  39455. "type": "string"
  39456. },
  39457. "goodscode": {
  39458. "description": "商品代码(内部)",
  39459. "type": "string"
  39460. },
  39461. "goodsid": {
  39462. "description": "商品ID",
  39463. "type": "integer"
  39464. },
  39465. "goodsname": {
  39466. "description": "商品名称",
  39467. "type": "string"
  39468. },
  39469. "marketid": {
  39470. "description": "市场ID",
  39471. "type": "integer"
  39472. },
  39473. "openfreezemargin": {
  39474. "description": "冻结保证金(冻结交易金额)",
  39475. "type": "number"
  39476. },
  39477. "orderid": {
  39478. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39479. "type": "string"
  39480. },
  39481. "orderlogincode": {
  39482. "description": "委托人",
  39483. "type": "string"
  39484. },
  39485. "orderprice": {
  39486. "description": "委托价格(账户)",
  39487. "type": "number"
  39488. },
  39489. "orderqty": {
  39490. "description": "委托数量",
  39491. "type": "integer"
  39492. },
  39493. "ordertime": {
  39494. "description": "委托时间",
  39495. "type": "string"
  39496. },
  39497. "pricemode": {
  39498. "description": "取价方式 - 1:市价 2: 限价",
  39499. "type": "integer"
  39500. },
  39501. "tradedate": {
  39502. "description": "交易日(yyyyMMdd)",
  39503. "type": "string"
  39504. },
  39505. "tradeqty": {
  39506. "description": "成交数量",
  39507. "type": "integer"
  39508. }
  39509. }
  39510. },
  39511. "models.QueryHedgeTradeDetailRsp": {
  39512. "type": "object",
  39513. "properties": {
  39514. "accountid": {
  39515. "description": "账号ID",
  39516. "type": "integer"
  39517. },
  39518. "buyorsell": {
  39519. "description": "方向 - 0:买 1:卖",
  39520. "type": "integer"
  39521. },
  39522. "channelbuildtype": {
  39523. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  39524. "type": "integer"
  39525. },
  39526. "closecharge": {
  39527. "description": "平仓手续费(账户)",
  39528. "type": "number"
  39529. },
  39530. "closecharge2": {
  39531. "description": "平仓手续费(商品)",
  39532. "type": "number"
  39533. },
  39534. "closepl": {
  39535. "description": "平仓盈亏(账户)",
  39536. "type": "number"
  39537. },
  39538. "closepl2": {
  39539. "description": "平仓盈亏(商品)",
  39540. "type": "number"
  39541. },
  39542. "closepl3": {
  39543. "description": "平仓盈亏(账户)(逐笔)",
  39544. "type": "number"
  39545. },
  39546. "closepl4": {
  39547. "description": "平仓盈亏(商品)(逐笔)",
  39548. "type": "number"
  39549. },
  39550. "closetype": {
  39551. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  39552. "type": "integer"
  39553. },
  39554. "curexchangerate": {
  39555. "description": "当前汇率",
  39556. "type": "number"
  39557. },
  39558. "decimalplace": {
  39559. "description": "商品报价小数位",
  39560. "type": "integer"
  39561. },
  39562. "exchangefullname": {
  39563. "description": "外部交易所全称",
  39564. "type": "string"
  39565. },
  39566. "goodscode": {
  39567. "description": "商品代码(内部)",
  39568. "type": "string"
  39569. },
  39570. "goodsid": {
  39571. "description": "商品ID",
  39572. "type": "integer"
  39573. },
  39574. "goodsname": {
  39575. "description": "商品名称",
  39576. "type": "string"
  39577. },
  39578. "marketid": {
  39579. "description": "市场ID",
  39580. "type": "integer"
  39581. },
  39582. "opencharge": {
  39583. "description": "建仓手续费(账户)",
  39584. "type": "number"
  39585. },
  39586. "opencharge2": {
  39587. "description": "建仓手续费(商品)",
  39588. "type": "number"
  39589. },
  39590. "orderid": {
  39591. "description": "委托单号",
  39592. "type": "string"
  39593. },
  39594. "orderlogincode": {
  39595. "description": "委托人",
  39596. "type": "string"
  39597. },
  39598. "tradeamount": {
  39599. "description": "成交金额(账户)",
  39600. "type": "number"
  39601. },
  39602. "tradedate": {
  39603. "description": "交易日(yyyyMMdd)",
  39604. "type": "string"
  39605. },
  39606. "tradeid": {
  39607. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39608. "type": "string"
  39609. },
  39610. "tradeprice": {
  39611. "description": "成交价格",
  39612. "type": "number"
  39613. },
  39614. "tradeqty": {
  39615. "description": "成交数量",
  39616. "type": "integer"
  39617. },
  39618. "tradetime": {
  39619. "description": "成交时间",
  39620. "type": "string"
  39621. },
  39622. "tradetype": {
  39623. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  39624. "type": "integer"
  39625. }
  39626. }
  39627. },
  39628. "models.QuotePrimaryMenu": {
  39629. "type": "object",
  39630. "properties": {
  39631. "Index": {
  39632. "description": "序号",
  39633. "type": "integer"
  39634. },
  39635. "Key": {
  39636. "description": "键名",
  39637. "type": "string"
  39638. },
  39639. "Name": {
  39640. "description": "菜单名称",
  39641. "type": "string"
  39642. },
  39643. "SubMenus": {
  39644. "description": "子菜单",
  39645. "type": "array",
  39646. "items": {
  39647. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  39648. }
  39649. },
  39650. "SubTitleType": {
  39651. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  39652. "type": "integer"
  39653. },
  39654. "TradeModes": {
  39655. "description": "包含市场交易类型",
  39656. "type": "string"
  39657. }
  39658. }
  39659. },
  39660. "models.QuoteSecondaryMenu": {
  39661. "type": "object",
  39662. "properties": {
  39663. "ExExchangeCode": {
  39664. "description": "外部交易所代码",
  39665. "type": "string"
  39666. },
  39667. "ExExchangeID": {
  39668. "description": "外部交易所ID",
  39669. "type": "integer"
  39670. },
  39671. "GoodsGroupIDs": {
  39672. "description": "商品组ID列表",
  39673. "type": "array",
  39674. "items": {
  39675. "type": "integer"
  39676. }
  39677. },
  39678. "Index": {
  39679. "description": "序号",
  39680. "type": "integer"
  39681. },
  39682. "MarketID": {
  39683. "description": "市场ID",
  39684. "type": "integer"
  39685. },
  39686. "MenuTitle": {
  39687. "description": "菜单标题(市场名称或外部交易所名称)",
  39688. "type": "string"
  39689. },
  39690. "TradeMode": {
  39691. "description": "交易模式",
  39692. "type": "integer"
  39693. }
  39694. }
  39695. },
  39696. "models.RelatedTaAccount": {
  39697. "type": "object",
  39698. "properties": {
  39699. "accountid": {
  39700. "description": "资金账户ID",
  39701. "type": "integer"
  39702. }
  39703. }
  39704. },
  39705. "models.RoleMenu": {
  39706. "type": "object",
  39707. "properties": {
  39708. "hasright": {
  39709. "description": "是否有权限 0-没有权限 1-有权限",
  39710. "type": "integer"
  39711. },
  39712. "iconame": {
  39713. "description": "菜单图标",
  39714. "type": "string"
  39715. },
  39716. "menutype": {
  39717. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  39718. "type": "integer"
  39719. },
  39720. "parentcode": {
  39721. "description": "上级资源代码",
  39722. "type": "string"
  39723. },
  39724. "remark": {
  39725. "description": "菜单备注",
  39726. "type": "string"
  39727. },
  39728. "resourcecode": {
  39729. "description": "菜单代码",
  39730. "type": "string"
  39731. },
  39732. "resourcelevel": {
  39733. "description": "级别",
  39734. "type": "integer"
  39735. },
  39736. "resourcename": {
  39737. "description": "菜单名称",
  39738. "type": "string"
  39739. },
  39740. "roleid": {
  39741. "description": "角色id",
  39742. "type": "integer"
  39743. },
  39744. "sort": {
  39745. "description": "排序",
  39746. "type": "integer"
  39747. },
  39748. "subMenu": {
  39749. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  39750. "type": "array",
  39751. "items": {
  39752. "$ref": "#/definitions/models.RoleMenu"
  39753. }
  39754. },
  39755. "url": {
  39756. "description": "URL",
  39757. "type": "string"
  39758. },
  39759. "userid": {
  39760. "description": "用户id",
  39761. "type": "integer"
  39762. }
  39763. }
  39764. },
  39765. "models.SearchGoods": {
  39766. "type": "object",
  39767. "required": [
  39768. "goodscode",
  39769. "goodsid",
  39770. "goodsname",
  39771. "marketid",
  39772. "trademode"
  39773. ],
  39774. "properties": {
  39775. "goodscode": {
  39776. "description": "商品代码(内部)",
  39777. "type": "string"
  39778. },
  39779. "goodsid": {
  39780. "description": "商品ID(自增ID SEQ_GOODS)",
  39781. "type": "integer"
  39782. },
  39783. "goodsname": {
  39784. "description": "商品名称",
  39785. "type": "string"
  39786. },
  39787. "marketid": {
  39788. "description": "所属市场ID",
  39789. "type": "integer"
  39790. },
  39791. "marketname": {
  39792. "description": "市场名称",
  39793. "type": "string"
  39794. },
  39795. "trademode": {
  39796. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39797. "type": "integer"
  39798. }
  39799. }
  39800. },
  39801. "models.SellOrder": {
  39802. "type": "object",
  39803. "properties": {
  39804. "accountid": {
  39805. "description": "资金账号",
  39806. "type": "integer"
  39807. },
  39808. "applyid": {
  39809. "description": "申请单ID",
  39810. "type": "integer"
  39811. },
  39812. "attachment1": {
  39813. "description": "附件1",
  39814. "type": "string"
  39815. },
  39816. "attachment2": {
  39817. "description": "附件2",
  39818. "type": "string"
  39819. },
  39820. "buyorsell": {
  39821. "description": "买卖 - 0:买 1:卖",
  39822. "type": "integer"
  39823. },
  39824. "canbargain": {
  39825. "description": "是否可议价 - 0:不可 1:可",
  39826. "type": "integer"
  39827. },
  39828. "cancelqty": {
  39829. "description": "撤销数量",
  39830. "type": "integer"
  39831. },
  39832. "canceltime": {
  39833. "description": "撤销时间",
  39834. "type": "string"
  39835. },
  39836. "cerno": {
  39837. "type": "string"
  39838. },
  39839. "chargealgorithm": {
  39840. "description": "手续费收取方式 1:比率 2:固定",
  39841. "type": "integer"
  39842. },
  39843. "chargealgorithmvalue": {
  39844. "description": "手续费设置值(交易所部分)",
  39845. "type": "number"
  39846. },
  39847. "chargealgorithmvalue2": {
  39848. "description": "手续费设置值(会员部分)",
  39849. "type": "number"
  39850. },
  39851. "clientordertime": {
  39852. "description": "客户端委托时间",
  39853. "type": "string"
  39854. },
  39855. "cpcertno": {
  39856. "type": "string"
  39857. },
  39858. "exchangerate": {
  39859. "description": "汇率[67]",
  39860. "type": "number"
  39861. },
  39862. "firstratio": {
  39863. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  39864. "type": "number"
  39865. },
  39866. "fixedprice": {
  39867. "description": "[克拉单价]固定价格 - [挂牌]",
  39868. "type": "number"
  39869. },
  39870. "freezecharge": {
  39871. "description": "冻结手续费",
  39872. "type": "number"
  39873. },
  39874. "freezefirstamount": {
  39875. "description": "冻结首付金额 - [摘牌]",
  39876. "type": "number"
  39877. },
  39878. "freezemargin": {
  39879. "description": "冻结保证金",
  39880. "type": "number"
  39881. },
  39882. "goodsno": {
  39883. "description": "商品编号",
  39884. "type": "string"
  39885. },
  39886. "imagepath": {
  39887. "type": "string"
  39888. },
  39889. "isQueryDiamond": {
  39890. "description": "是否钻石查询",
  39891. "type": "boolean"
  39892. },
  39893. "isspecified": {
  39894. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  39895. "type": "integer"
  39896. },
  39897. "kppath": {
  39898. "type": "string"
  39899. },
  39900. "kpweight": {
  39901. "type": "string"
  39902. },
  39903. "marginalgorithm": {
  39904. "description": "保证金方式 - 1:比率 2:固定",
  39905. "type": "integer"
  39906. },
  39907. "marginvalue": {
  39908. "description": "保证金设置值",
  39909. "type": "number"
  39910. },
  39911. "marketid": {
  39912. "description": "市场ID",
  39913. "type": "integer"
  39914. },
  39915. "marketprice": {
  39916. "type": "string"
  39917. },
  39918. "orderamount": {
  39919. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  39920. "type": "number"
  39921. },
  39922. "ordertime": {
  39923. "description": "委托时间",
  39924. "type": "string"
  39925. },
  39926. "performancetemplateid": {
  39927. "description": "履约计划模板ID",
  39928. "type": "integer"
  39929. },
  39930. "price": {
  39931. "description": "价格",
  39932. "type": "number"
  39933. },
  39934. "pricefactor": {
  39935. "description": "价格系数(浮动价时填写) - [挂牌]",
  39936. "type": "number"
  39937. },
  39938. "pricemove": {
  39939. "description": "升贴水(浮动价时填写) - [挂牌]",
  39940. "type": "number"
  39941. },
  39942. "priceper": {
  39943. "type": "string"
  39944. },
  39945. "relatedwrtradeorderid": {
  39946. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  39947. "type": "integer"
  39948. },
  39949. "remainqty": {
  39950. "description": "剩余重量",
  39951. "type": "number"
  39952. },
  39953. "remark": {
  39954. "type": "string"
  39955. },
  39956. "retcode": {
  39957. "description": "错误代码",
  39958. "type": "integer"
  39959. },
  39960. "sellusername": {
  39961. "description": "卖方(查询字段-模糊查询)",
  39962. "type": "string"
  39963. },
  39964. "settingmaterial": {
  39965. "type": "string"
  39966. },
  39967. "size1": {
  39968. "type": "string"
  39969. },
  39970. "size2": {
  39971. "type": "string"
  39972. },
  39973. "size3": {
  39974. "type": "string"
  39975. },
  39976. "sizedisplay": {
  39977. "description": "尺寸",
  39978. "type": "string"
  39979. },
  39980. "stonedesc": {
  39981. "type": "string"
  39982. },
  39983. "totalqty": {
  39984. "description": "总重量",
  39985. "type": "number"
  39986. },
  39987. "tradedate": {
  39988. "description": "交易日(yyyyMMdd)",
  39989. "type": "string"
  39990. },
  39991. "tradeprice": {
  39992. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39993. "type": "number"
  39994. },
  39995. "unfreezecharge": {
  39996. "description": "解冻手续费",
  39997. "type": "number"
  39998. },
  39999. "unfreezefirstamount": {
  40000. "description": "解冻首付金额 - [摘牌]",
  40001. "type": "number"
  40002. },
  40003. "unfreezemargin": {
  40004. "description": "解冻保证金",
  40005. "type": "number"
  40006. },
  40007. "userid": {
  40008. "description": "用户ID",
  40009. "type": "integer"
  40010. },
  40011. "uuid": {
  40012. "description": "发起端唯一id",
  40013. "type": "string"
  40014. },
  40015. "validtime": {
  40016. "description": "有效期限",
  40017. "type": "string"
  40018. },
  40019. "validtype": {
  40020. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40021. "type": "integer"
  40022. },
  40023. "warehousenamedisplay": {
  40024. "type": "string"
  40025. },
  40026. "wrbargainid": {
  40027. "description": "议价申请单ID",
  40028. "type": "integer"
  40029. },
  40030. "wrfactortypeid": {
  40031. "description": "仓单要素类型ID/商品ID(77)",
  40032. "type": "integer"
  40033. },
  40034. "wrpath": {
  40035. "type": "string"
  40036. },
  40037. "wrpricetype": {
  40038. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40039. "type": "integer"
  40040. },
  40041. "wrstandardid": {
  40042. "description": "现货商品ID",
  40043. "type": "integer"
  40044. },
  40045. "wrtradeorderid": {
  40046. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40047. "type": "string"
  40048. },
  40049. "wrtradeorderstatus": {
  40050. "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:撤单解冻贷款失败",
  40051. "type": "integer"
  40052. },
  40053. "wrtradetype": {
  40054. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40055. "type": "integer"
  40056. },
  40057. "wrtransferuserid": {
  40058. "description": "仓单受让用户 - [摘牌]",
  40059. "type": "integer"
  40060. },
  40061. "zscategory": {
  40062. "description": "钻石分类 - 枚举”ZSCategory“",
  40063. "type": "integer"
  40064. },
  40065. "zscategorydisplay": {
  40066. "description": "钻石分类 - 描述",
  40067. "type": "string"
  40068. },
  40069. "zscerttypedisplay": {
  40070. "type": "string"
  40071. },
  40072. "zsclaritytype1display": {
  40073. "type": "string"
  40074. },
  40075. "zsclaritytype2display": {
  40076. "type": "string"
  40077. },
  40078. "zscolortype1display": {
  40079. "type": "string"
  40080. },
  40081. "zscolortype2display": {
  40082. "type": "string"
  40083. },
  40084. "zscrystaltype": {
  40085. "type": "string"
  40086. },
  40087. "zscrystaltypedisplay": {
  40088. "type": "string"
  40089. },
  40090. "zscurrencytype": {
  40091. "description": "货币类型 - 枚举“ZSCurrencyType”",
  40092. "type": "integer"
  40093. },
  40094. "zscurrencytypedisplay": {
  40095. "type": "string"
  40096. },
  40097. "zscurrencytypedisplayunit": {
  40098. "type": "string"
  40099. },
  40100. "zscuttype1display": {
  40101. "type": "string"
  40102. },
  40103. "zscuttype2display": {
  40104. "type": "string"
  40105. },
  40106. "zsczcolor1typedisplay": {
  40107. "type": "string"
  40108. },
  40109. "zsczcolor2typedisplay": {
  40110. "type": "string"
  40111. },
  40112. "zsczcolor3typedisplay": {
  40113. "type": "string"
  40114. },
  40115. "zsfluorescencetype1display": {
  40116. "type": "string"
  40117. },
  40118. "zsfluorescencetype2display": {
  40119. "type": "string"
  40120. },
  40121. "zspolishtype1display": {
  40122. "type": "string"
  40123. },
  40124. "zspolishtype2display": {
  40125. "type": "string"
  40126. },
  40127. "zsshapetypedisplay": {
  40128. "type": "string"
  40129. },
  40130. "zsstyletypedisplay": {
  40131. "type": "string"
  40132. },
  40133. "zssymmetrytype1display": {
  40134. "type": "string"
  40135. },
  40136. "zssymmetrytype2display": {
  40137. "type": "string"
  40138. }
  40139. }
  40140. },
  40141. "models.SellOrderQueryReq": {
  40142. "type": "object",
  40143. "required": [
  40144. "zscategory"
  40145. ],
  40146. "properties": {
  40147. "origin": {
  40148. "description": "原产地",
  40149. "type": "string"
  40150. },
  40151. "page": {
  40152. "description": "页码",
  40153. "type": "integer"
  40154. },
  40155. "pagesize": {
  40156. "description": "每页大小",
  40157. "type": "integer"
  40158. },
  40159. "total": {
  40160. "description": "总条数",
  40161. "type": "integer"
  40162. },
  40163. "warehouseid": {
  40164. "description": "仓库ID",
  40165. "type": "integer"
  40166. },
  40167. "weight1": {
  40168. "description": "总重量(克拉重量)-从",
  40169. "type": "number"
  40170. },
  40171. "weight2": {
  40172. "description": "总重量(克拉重量)-至",
  40173. "type": "number"
  40174. },
  40175. "weightavg1": {
  40176. "description": "平均单颗重量-从",
  40177. "type": "number"
  40178. },
  40179. "weightavg2": {
  40180. "description": "平均单颗重量-至",
  40181. "type": "number"
  40182. },
  40183. "zscategory": {
  40184. "description": "钻石分类 - 枚举”ZSCategory“",
  40185. "type": "integer"
  40186. },
  40187. "zscerttype": {
  40188. "description": "证书类型",
  40189. "type": "array",
  40190. "items": {
  40191. "type": "string"
  40192. }
  40193. },
  40194. "zsclaritytype": {
  40195. "description": "净度",
  40196. "type": "array",
  40197. "items": {
  40198. "type": "integer"
  40199. }
  40200. },
  40201. "zscolortype": {
  40202. "description": "颜色",
  40203. "type": "array",
  40204. "items": {
  40205. "type": "integer"
  40206. }
  40207. },
  40208. "zscurrencytype": {
  40209. "description": "货币类型 - 枚举“ZSCurrencyType”",
  40210. "type": "array",
  40211. "items": {
  40212. "type": "string"
  40213. }
  40214. },
  40215. "zscuttype": {
  40216. "description": "切工",
  40217. "type": "array",
  40218. "items": {
  40219. "type": "integer"
  40220. }
  40221. },
  40222. "zsczcolor1type": {
  40223. "description": "彩钻颜色1",
  40224. "type": "array",
  40225. "items": {
  40226. "type": "string"
  40227. }
  40228. },
  40229. "zsfluorescencetype": {
  40230. "description": "荧光",
  40231. "type": "array",
  40232. "items": {
  40233. "type": "integer"
  40234. }
  40235. },
  40236. "zspolishtype": {
  40237. "description": "抛光度",
  40238. "type": "array",
  40239. "items": {
  40240. "type": "integer"
  40241. }
  40242. },
  40243. "zsshapetype": {
  40244. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  40245. "type": "array",
  40246. "items": {
  40247. "type": "string"
  40248. }
  40249. },
  40250. "zsstyletype": {
  40251. "description": "款式",
  40252. "type": "array",
  40253. "items": {
  40254. "type": "string"
  40255. }
  40256. },
  40257. "zssymmetrytype": {
  40258. "description": "对称度",
  40259. "type": "array",
  40260. "items": {
  40261. "type": "integer"
  40262. }
  40263. }
  40264. }
  40265. },
  40266. "models.Systemparam": {
  40267. "type": "object",
  40268. "required": [
  40269. "paramcode"
  40270. ],
  40271. "properties": {
  40272. "loginid": {
  40273. "description": "更新用户账号,登录账号",
  40274. "type": "string"
  40275. },
  40276. "modifyflag": {
  40277. "description": "修改标志0 不允许修改 1 允许修改",
  40278. "type": "integer"
  40279. },
  40280. "paramcode": {
  40281. "description": "参数代码",
  40282. "type": "string"
  40283. },
  40284. "paramname": {
  40285. "description": "参数名",
  40286. "type": "string"
  40287. },
  40288. "paramtype": {
  40289. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  40290. "type": "integer"
  40291. },
  40292. "paramvalue": {
  40293. "description": "参数值",
  40294. "type": "string"
  40295. },
  40296. "paramvalue2": {
  40297. "description": "参数值(CLOB)",
  40298. "type": "string"
  40299. },
  40300. "regexpress": {
  40301. "description": "正则表达式",
  40302. "type": "string"
  40303. },
  40304. "remark": {
  40305. "description": "备注",
  40306. "type": "string"
  40307. },
  40308. "serverip": {
  40309. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  40310. "type": "string"
  40311. },
  40312. "showflag": {
  40313. "description": "是否显示0 不显示 1 显示",
  40314. "type": "integer"
  40315. },
  40316. "updatetime": {
  40317. "description": "更新时间",
  40318. "type": "string"
  40319. },
  40320. "userid": {
  40321. "description": "更新用户ID",
  40322. "type": "integer"
  40323. }
  40324. }
  40325. },
  40326. "models.Szdz3convertconfig": {
  40327. "type": "object",
  40328. "required": [
  40329. "converttype",
  40330. "innergoodsid",
  40331. "outergoodscode"
  40332. ],
  40333. "properties": {
  40334. "canin": {
  40335. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  40336. "type": "integer"
  40337. },
  40338. "canout": {
  40339. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  40340. "type": "integer"
  40341. },
  40342. "converttype": {
  40343. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  40344. "type": "integer"
  40345. },
  40346. "createtime": {
  40347. "description": "创建时间",
  40348. "type": "string"
  40349. },
  40350. "creatorid": {
  40351. "description": "创建人",
  40352. "type": "integer"
  40353. },
  40354. "daymaxvalue": {
  40355. "description": "当日最大转入限制",
  40356. "type": "number"
  40357. },
  40358. "freezedays": {
  40359. "description": "冻结天数 [5:花生米转交易]",
  40360. "type": "integer"
  40361. },
  40362. "innergoodsid": {
  40363. "description": "内部商品ID[交易]",
  40364. "type": "integer"
  40365. },
  40366. "inratio": {
  40367. "description": "目标值",
  40368. "type": "integer"
  40369. },
  40370. "modifierid": {
  40371. "description": "修改人",
  40372. "type": "integer"
  40373. },
  40374. "modifytime": {
  40375. "description": "修改时间",
  40376. "type": "string"
  40377. },
  40378. "outergoodscode": {
  40379. "description": "外部商品代码[JD\\PD]",
  40380. "type": "string"
  40381. },
  40382. "outratio": {
  40383. "description": "源值",
  40384. "type": "integer"
  40385. },
  40386. "pddecimalplace": {
  40387. "description": "PD小数位",
  40388. "type": "integer"
  40389. },
  40390. "timemaxvalue": {
  40391. "description": "单次最大转入限制",
  40392. "type": "number"
  40393. },
  40394. "timeminvalue": {
  40395. "description": "单次最小转入限制",
  40396. "type": "number"
  40397. }
  40398. }
  40399. },
  40400. "models.Szdz3searchwhitelist": {
  40401. "type": "object",
  40402. "required": [
  40403. "userid"
  40404. ],
  40405. "properties": {
  40406. "createtime": {
  40407. "description": "创建时间",
  40408. "type": "string"
  40409. },
  40410. "creatorid": {
  40411. "description": "创建人",
  40412. "type": "integer"
  40413. },
  40414. "modifierid": {
  40415. "description": "修改人",
  40416. "type": "integer"
  40417. },
  40418. "modifytime": {
  40419. "description": "修改时间",
  40420. "type": "string"
  40421. },
  40422. "userid": {
  40423. "description": "用户ID",
  40424. "type": "integer"
  40425. }
  40426. }
  40427. },
  40428. "models.TBGoods": {
  40429. "type": "object",
  40430. "properties": {
  40431. "agreeunit": {
  40432. "description": "合约乘数",
  40433. "type": "number"
  40434. },
  40435. "enumdicname": {
  40436. "description": "单位名称",
  40437. "type": "string"
  40438. },
  40439. "goodscode": {
  40440. "description": "商品代码(内部)",
  40441. "type": "string"
  40442. },
  40443. "goodsid": {
  40444. "description": "商品ID(自增ID SEQ_GOODS)",
  40445. "type": "integer"
  40446. },
  40447. "goodsname": {
  40448. "description": "商品名称",
  40449. "type": "string"
  40450. }
  40451. }
  40452. },
  40453. "models.TBGoodsGroup": {
  40454. "type": "object",
  40455. "properties": {
  40456. "GDLST": {
  40457. "description": "商品列表",
  40458. "type": "array",
  40459. "items": {
  40460. "$ref": "#/definitions/models.TBGoods"
  40461. }
  40462. },
  40463. "convertratio": {
  40464. "description": "折算系数",
  40465. "type": "number"
  40466. },
  40467. "enumdicname": {
  40468. "description": "单位名称",
  40469. "type": "string"
  40470. },
  40471. "exexchangecode": {
  40472. "description": "交易所代码",
  40473. "type": "string"
  40474. },
  40475. "exexchangename": {
  40476. "description": "交易所名称",
  40477. "type": "string"
  40478. },
  40479. "goodsgroupid": {
  40480. "description": "商品组ID(自增ID)",
  40481. "type": "integer"
  40482. },
  40483. "goodsgroupname": {
  40484. "description": "商品组名称",
  40485. "type": "string"
  40486. },
  40487. "goodunitid": {
  40488. "description": "报价单位ID",
  40489. "type": "integer"
  40490. }
  40491. }
  40492. },
  40493. "models.TBMiddleGoods": {
  40494. "type": "object",
  40495. "properties": {
  40496. "GPLST": {
  40497. "description": "期货品种列表",
  40498. "type": "array",
  40499. "items": {
  40500. "$ref": "#/definitions/models.TBGoodsGroup"
  40501. }
  40502. },
  40503. "WDLST": {
  40504. "description": "商品信息列表(现货品类)",
  40505. "type": "array",
  40506. "items": {
  40507. "$ref": "#/definitions/models.TBWrstandard"
  40508. }
  40509. },
  40510. "areauserid": {
  40511. "description": "机构用户ID",
  40512. "type": "integer"
  40513. },
  40514. "enumdicname": {
  40515. "description": "单位名称",
  40516. "type": "string"
  40517. },
  40518. "goodsunitid": {
  40519. "description": "套保品种单位id",
  40520. "type": "integer"
  40521. },
  40522. "middlegoodscode": {
  40523. "description": "套保品种代码",
  40524. "type": "string"
  40525. },
  40526. "middlegoodsid": {
  40527. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  40528. "type": "integer"
  40529. },
  40530. "middlegoodsname": {
  40531. "description": "套保品种名称",
  40532. "type": "string"
  40533. },
  40534. "needarbitrageratio": {
  40535. "description": "套利比率",
  40536. "type": "number"
  40537. },
  40538. "needhedgeratio": {
  40539. "description": "套保比率",
  40540. "type": "number"
  40541. }
  40542. }
  40543. },
  40544. "models.TBWrstandard": {
  40545. "type": "object",
  40546. "properties": {
  40547. "convertratio": {
  40548. "description": "折算系数",
  40549. "type": "number"
  40550. },
  40551. "deliverygoodsname": {
  40552. "description": "品种名称",
  40553. "type": "string"
  40554. },
  40555. "enumdicname": {
  40556. "description": "单位名称",
  40557. "type": "string"
  40558. },
  40559. "vatrate": {
  40560. "description": "增值税率",
  40561. "type": "number"
  40562. },
  40563. "wrstandardcode": {
  40564. "description": "现货商品代码",
  40565. "type": "string"
  40566. },
  40567. "wrstandardid": {
  40568. "description": "现货商品ID(SEQ_WRSTANDARD)",
  40569. "type": "integer"
  40570. },
  40571. "wrstandardname": {
  40572. "description": "现货商品名称",
  40573. "type": "string"
  40574. }
  40575. }
  40576. },
  40577. "models.Taaccount": {
  40578. "type": "object",
  40579. "required": [
  40580. "accountid",
  40581. "userid"
  40582. ],
  40583. "properties": {
  40584. "accountflag": {
  40585. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  40586. "type": "integer"
  40587. },
  40588. "accountid": {
  40589. "description": "资金账户ID",
  40590. "type": "integer"
  40591. },
  40592. "accountname": {
  40593. "description": "账户名称",
  40594. "type": "string"
  40595. },
  40596. "balance": {
  40597. "description": "期初余额",
  40598. "type": "number"
  40599. },
  40600. "capitalbalance": {
  40601. "description": "本金余额[外部子账户实际出入金余额]",
  40602. "type": "number"
  40603. },
  40604. "changeflag": {
  40605. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  40606. "type": "integer"
  40607. },
  40608. "changetime": {
  40609. "description": "账户状态变更时间",
  40610. "type": "string"
  40611. },
  40612. "closepl": {
  40613. "description": "今日平仓盈亏",
  40614. "type": "number"
  40615. },
  40616. "creditdecrease": {
  40617. "description": "今日授信减少",
  40618. "type": "number"
  40619. },
  40620. "creditincrease": {
  40621. "description": "今日授信增加",
  40622. "type": "number"
  40623. },
  40624. "curamount": {
  40625. "description": "总市值(从持仓中统计)",
  40626. "type": "number"
  40627. },
  40628. "currencyid": {
  40629. "description": "货币ID",
  40630. "type": "integer"
  40631. },
  40632. "currentbalance": {
  40633. "description": "期末余额",
  40634. "type": "number"
  40635. },
  40636. "freezecharge": {
  40637. "description": "手续费冻结",
  40638. "type": "number"
  40639. },
  40640. "freezemargin": {
  40641. "description": "冻结保证金",
  40642. "type": "number"
  40643. },
  40644. "fromaccountid": {
  40645. "description": "所属上级账户",
  40646. "type": "integer"
  40647. },
  40648. "inamount": {
  40649. "description": "今日入金金额(包括三方入金)",
  40650. "type": "number"
  40651. },
  40652. "ismain": {
  40653. "description": "是否母账号 0:不是母账户 1:是母账户",
  40654. "type": "integer"
  40655. },
  40656. "ismarketaccount": {
  40657. "description": "是否机构接单账号 0:不是 1:是",
  40658. "type": "integer"
  40659. },
  40660. "isreckonaccount": {
  40661. "description": "是否机构分润账号 0:不是 1:是",
  40662. "type": "integer"
  40663. },
  40664. "mortgagecredit": {
  40665. "description": "授信金额",
  40666. "type": "number"
  40667. },
  40668. "orifreezecharge": {
  40669. "description": "期初手续费冻结",
  40670. "type": "number"
  40671. },
  40672. "orifreezemargin": {
  40673. "description": "期初冻结保证金",
  40674. "type": "number"
  40675. },
  40676. "orimortgagecredit": {
  40677. "description": "期初授信金额",
  40678. "type": "number"
  40679. },
  40680. "oriothercredit": {
  40681. "description": "期初其它授信金额",
  40682. "type": "number"
  40683. },
  40684. "oriotherfreezemargin": {
  40685. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  40686. "type": "number"
  40687. },
  40688. "orioutamountfreeze": {
  40689. "description": "期初出金冻结",
  40690. "type": "number"
  40691. },
  40692. "oriusedmargin": {
  40693. "description": "期初占用保证金",
  40694. "type": "number"
  40695. },
  40696. "othercredit": {
  40697. "description": "其它授信金额",
  40698. "type": "number"
  40699. },
  40700. "othercreditdecrease": {
  40701. "description": "今日其它授信减少",
  40702. "type": "number"
  40703. },
  40704. "othercreditincrease": {
  40705. "description": "今日其它授信增加",
  40706. "type": "number"
  40707. },
  40708. "otherfreezemargin": {
  40709. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  40710. "type": "number"
  40711. },
  40712. "otherincome": {
  40713. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  40714. "type": "number"
  40715. },
  40716. "otherpay": {
  40717. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  40718. "type": "number"
  40719. },
  40720. "outamount": {
  40721. "description": "今日出金金额(包括三方出金)",
  40722. "type": "number"
  40723. },
  40724. "outamountfreeze": {
  40725. "description": "出金冻结",
  40726. "type": "number"
  40727. },
  40728. "outthreshold": {
  40729. "description": "出金阈值",
  40730. "type": "number"
  40731. },
  40732. "parentaccountid": {
  40733. "description": "所属根账号",
  40734. "type": "integer"
  40735. },
  40736. "paycharge": {
  40737. "description": "今日手续费支出",
  40738. "type": "number"
  40739. },
  40740. "relatedaccountstatus": {
  40741. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  40742. "type": "integer"
  40743. },
  40744. "relateduserid": {
  40745. "description": "关联用户",
  40746. "type": "integer"
  40747. },
  40748. "remainamount": {
  40749. "description": "融资额(从融资合同中统计)",
  40750. "type": "number"
  40751. },
  40752. "serivcegroup": {
  40753. "description": "服务分组",
  40754. "type": "integer"
  40755. },
  40756. "signstatus": {
  40757. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  40758. "type": "integer"
  40759. },
  40760. "sublevelpath": {
  40761. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  40762. "type": "string"
  40763. },
  40764. "taaccounttype": {
  40765. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  40766. "type": "integer"
  40767. },
  40768. "thirdinamount": {
  40769. "description": "今日三方入金",
  40770. "type": "number"
  40771. },
  40772. "thirdoutamount": {
  40773. "description": "今日三方出金",
  40774. "type": "number"
  40775. },
  40776. "tradestatus": {
  40777. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  40778. "type": "integer"
  40779. },
  40780. "tradestatuschangetime": {
  40781. "description": "激活时间",
  40782. "type": "string"
  40783. },
  40784. "transferamount": {
  40785. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  40786. "type": "number"
  40787. },
  40788. "usedmargin": {
  40789. "description": "占用保证金",
  40790. "type": "number"
  40791. },
  40792. "userid": {
  40793. "description": "用户ID",
  40794. "type": "integer"
  40795. }
  40796. }
  40797. },
  40798. "models.Tablecolumnconfig": {
  40799. "type": "object",
  40800. "required": [
  40801. "autoid"
  40802. ],
  40803. "properties": {
  40804. "aligntype": {
  40805. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  40806. "type": "integer"
  40807. },
  40808. "autoid": {
  40809. "description": "AutoID",
  40810. "type": "integer"
  40811. },
  40812. "columnfield": {
  40813. "description": "列字段",
  40814. "type": "string"
  40815. },
  40816. "columntitle": {
  40817. "description": "列Title",
  40818. "type": "string"
  40819. },
  40820. "columnwidth": {
  40821. "description": "列宽",
  40822. "type": "string"
  40823. },
  40824. "fixed": {
  40825. "description": "固定类型 - 空 | left | right",
  40826. "type": "string"
  40827. },
  40828. "formatterstring": {
  40829. "description": "格式化字符",
  40830. "type": "string"
  40831. },
  40832. "formattertype": {
  40833. "description": "格式化类型",
  40834. "type": "string"
  40835. },
  40836. "groupname": {
  40837. "description": "表头分组名称",
  40838. "type": "string"
  40839. },
  40840. "ismerge": {
  40841. "description": "是否合并显示 - 0:不合并 1:合并",
  40842. "type": "integer"
  40843. },
  40844. "isshow": {
  40845. "description": "是否显示 - 0:不显示 1:显示",
  40846. "type": "integer"
  40847. },
  40848. "needsummary": {
  40849. "description": "是否需要汇总 - 0:不需要 1:需要",
  40850. "type": "integer"
  40851. },
  40852. "orderindex": {
  40853. "description": "顺序",
  40854. "type": "integer"
  40855. },
  40856. "remark": {
  40857. "description": "备注",
  40858. "type": "string"
  40859. },
  40860. "summarytype": {
  40861. "description": "汇总类型 - 1:加总 2:最后一个",
  40862. "type": "integer"
  40863. },
  40864. "tablekey": {
  40865. "description": "列表Key",
  40866. "type": "string"
  40867. }
  40868. }
  40869. },
  40870. "models.TjmdHolderDetailTradeInfo": {
  40871. "type": "object",
  40872. "properties": {
  40873. "agreeunit": {
  40874. "description": "合约乘数",
  40875. "type": "number"
  40876. },
  40877. "buyaccountid": {
  40878. "description": "买方账户",
  40879. "type": "string"
  40880. },
  40881. "buyusername": {
  40882. "description": "买方",
  40883. "type": "string"
  40884. },
  40885. "delistingdate": {
  40886. "description": "最后结算日",
  40887. "type": "string"
  40888. },
  40889. "expiredate": {
  40890. "description": "到期结算价定价日",
  40891. "type": "string"
  40892. },
  40893. "exprieprice": {
  40894. "description": "到期清算价格",
  40895. "type": "string"
  40896. },
  40897. "goodscode": {
  40898. "description": "商品代码",
  40899. "type": "string"
  40900. },
  40901. "goodsid": {
  40902. "description": "商品ID",
  40903. "type": "integer"
  40904. },
  40905. "goodsname": {
  40906. "description": "商品名称(交易标的)",
  40907. "type": "string"
  40908. },
  40909. "lasttradedate": {
  40910. "description": "最后交易日",
  40911. "type": "string"
  40912. },
  40913. "listingdate": {
  40914. "description": "开始交易日",
  40915. "type": "string"
  40916. },
  40917. "openprice": {
  40918. "description": "成交价",
  40919. "type": "number"
  40920. },
  40921. "openqty": {
  40922. "description": "交易数量",
  40923. "type": "integer"
  40924. },
  40925. "sellaccountid": {
  40926. "description": "卖方账户",
  40927. "type": "string"
  40928. },
  40929. "sellusername": {
  40930. "description": "卖方",
  40931. "type": "string"
  40932. },
  40933. "tradeamount": {
  40934. "description": "初始名义价值",
  40935. "type": "number"
  40936. },
  40937. "tradedate": {
  40938. "description": "成交日期",
  40939. "type": "string"
  40940. },
  40941. "tradeid": {
  40942. "description": "成交编号",
  40943. "type": "string"
  40944. }
  40945. }
  40946. },
  40947. "models.TjmdMarketSection": {
  40948. "type": "object",
  40949. "properties": {
  40950. "marketsectionid": {
  40951. "description": "市场版块ID(SEQ_MARKETSECTION)",
  40952. "type": "integer"
  40953. },
  40954. "marketsectionname": {
  40955. "description": "市场版块名称",
  40956. "type": "string"
  40957. },
  40958. "mlist": {
  40959. "description": "市场列表(板块下面有多少个市场)",
  40960. "type": "array",
  40961. "items": {
  40962. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  40963. }
  40964. },
  40965. "orderindex": {
  40966. "description": "排序",
  40967. "type": "integer"
  40968. },
  40969. "pictureurl": {
  40970. "description": "图片url, 规格(90*90)",
  40971. "type": "string"
  40972. },
  40973. "remark": {
  40974. "description": "备注",
  40975. "type": "string"
  40976. }
  40977. }
  40978. },
  40979. "models.TjmdMarketSectionConfig": {
  40980. "type": "object",
  40981. "properties": {
  40982. "auctionwrtype": {
  40983. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  40984. "type": "integer"
  40985. },
  40986. "canacceptquote": {
  40987. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  40988. "type": "integer"
  40989. },
  40990. "cangoodsexercise": {
  40991. "description": "[期权]是否可现货行权- 0:否 1:是",
  40992. "type": "integer"
  40993. },
  40994. "cangoodsexercisetype": {
  40995. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  40996. "type": "integer"
  40997. },
  40998. "canmanualquotestrike": {
  40999. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  41000. "type": "integer"
  41001. },
  41002. "canmutistage": {
  41003. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  41004. "type": "integer"
  41005. },
  41006. "canpreexercise": {
  41007. "description": "[期权]是否可预申报- 0:否 1:是",
  41008. "type": "integer"
  41009. },
  41010. "clearinterval": {
  41011. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  41012. "type": "integer"
  41013. },
  41014. "contracttmp": {
  41015. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  41016. "type": "string"
  41017. },
  41018. "exchareaid": {
  41019. "description": "所属交易所,可以没有",
  41020. "type": "integer"
  41021. },
  41022. "financemarketid": {
  41023. "description": "融资回购市场ID [仓单贸易]",
  41024. "type": "integer"
  41025. },
  41026. "goodstype": {
  41027. "description": "商品类型 - 1:交易商品 2:仓单商品",
  41028. "type": "integer"
  41029. },
  41030. "hasrebate": {
  41031. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  41032. "type": "integer"
  41033. },
  41034. "hastradecredit": {
  41035. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  41036. "type": "integer"
  41037. },
  41038. "haswr": {
  41039. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  41040. "type": "integer"
  41041. },
  41042. "isdeductmargin": {
  41043. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  41044. "type": "integer"
  41045. },
  41046. "isrecordsource": {
  41047. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  41048. "type": "integer"
  41049. },
  41050. "isreleasemargin": {
  41051. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  41052. "type": "integer"
  41053. },
  41054. "isupdatereckonprice": {
  41055. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  41056. "type": "integer"
  41057. },
  41058. "listingmode": {
  41059. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  41060. "type": "integer"
  41061. },
  41062. "marginformula": {
  41063. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  41064. "type": "integer"
  41065. },
  41066. "marginformula2": {
  41067. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  41068. "type": "integer"
  41069. },
  41070. "marketid": {
  41071. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  41072. "type": "integer"
  41073. },
  41074. "marketname": {
  41075. "description": "市场名称",
  41076. "type": "string"
  41077. },
  41078. "marketsectionid": {
  41079. "description": "市场版块ID(SEQ_MARKETSECTION)",
  41080. "type": "integer"
  41081. },
  41082. "marketserviceid": {
  41083. "description": "市场服务ID",
  41084. "type": "integer"
  41085. },
  41086. "marketstatus": {
  41087. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  41088. "type": "integer"
  41089. },
  41090. "markettype": {
  41091. "description": "市场类型- 1:非交易服务 2:交易服务",
  41092. "type": "integer"
  41093. },
  41094. "matchermode": {
  41095. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  41096. "type": "integer"
  41097. },
  41098. "nowrquotaflag": {
  41099. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  41100. "type": "integer"
  41101. },
  41102. "openmethod": {
  41103. "description": "开盘模式 - 0 自动 1手动",
  41104. "type": "integer"
  41105. },
  41106. "orderindex": {
  41107. "description": "排序",
  41108. "type": "integer"
  41109. },
  41110. "otcuserid": {
  41111. "description": "场外期权做市商[场外期权]",
  41112. "type": "integer"
  41113. },
  41114. "outersynctime": {
  41115. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  41116. "type": "string"
  41117. },
  41118. "paylaterflag": {
  41119. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  41120. "type": "integer"
  41121. },
  41122. "pendingflag": {
  41123. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  41124. "type": "integer"
  41125. },
  41126. "pendingtime": {
  41127. "description": "待开市时间[通道交易-对冲](HH:mm)",
  41128. "type": "string"
  41129. },
  41130. "performancetempid": {
  41131. "description": "履约计划模板ID - 作废",
  41132. "type": "integer"
  41133. },
  41134. "premiumquotemode": {
  41135. "description": "权利金报价方式 - 1:自动 2:手动",
  41136. "type": "integer"
  41137. },
  41138. "rebateratio": {
  41139. "description": "返利比率[竞价式]",
  41140. "type": "number"
  41141. },
  41142. "reckonorder": {
  41143. "description": "结算顺序",
  41144. "type": "integer"
  41145. },
  41146. "reckonpricealgorithm": {
  41147. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  41148. "type": "integer"
  41149. },
  41150. "reckonpriceparam": {
  41151. "description": "结算价参数",
  41152. "type": "integer"
  41153. },
  41154. "reckontime": {
  41155. "description": "结算时间[通道交易-对冲](HH:mm)",
  41156. "type": "string"
  41157. },
  41158. "roleprioritytype": {
  41159. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  41160. "type": "integer"
  41161. },
  41162. "selllistingauditflag": {
  41163. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  41164. "type": "integer"
  41165. },
  41166. "trademarkettype": {
  41167. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  41168. "type": "integer"
  41169. },
  41170. "trademode": {
  41171. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  41172. "type": "integer"
  41173. },
  41174. "tradeproperty": {
  41175. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  41176. "type": "integer"
  41177. },
  41178. "tradetype": {
  41179. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  41180. "type": "integer"
  41181. },
  41182. "updatereckonpriceinterval": {
  41183. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  41184. "type": "integer"
  41185. }
  41186. }
  41187. },
  41188. "models.TjmdQuoteGoods": {
  41189. "type": "object",
  41190. "properties": {
  41191. "buyqty": {
  41192. "description": "买量(暂不做, 无值, 保留字段)",
  41193. "type": "number"
  41194. },
  41195. "decimalplace": {
  41196. "description": "报价小数位",
  41197. "type": "integer"
  41198. },
  41199. "goodscode": {
  41200. "description": "合约代码",
  41201. "type": "string"
  41202. },
  41203. "goodsgroupid": {
  41204. "description": "商品组ID(自增ID)",
  41205. "type": "integer"
  41206. },
  41207. "goodsgroupname": {
  41208. "description": "商品组名称",
  41209. "type": "string"
  41210. },
  41211. "goodsid": {
  41212. "description": "合约id",
  41213. "type": "integer"
  41214. },
  41215. "goodsname": {
  41216. "description": "合约名称",
  41217. "type": "string"
  41218. },
  41219. "refgoodscode": {
  41220. "description": "标的合约代码",
  41221. "type": "string"
  41222. },
  41223. "refgoodsid": {
  41224. "description": "标的合约id",
  41225. "type": "integer"
  41226. },
  41227. "refgoodsname": {
  41228. "description": "标的合约名称",
  41229. "type": "string"
  41230. },
  41231. "sellqty": {
  41232. "description": "卖量(暂不做, 无值, 保留字段)",
  41233. "type": "number"
  41234. }
  41235. }
  41236. },
  41237. "models.TjmdTodayAccountMargin": {
  41238. "type": "object",
  41239. "properties": {
  41240. "accountid": {
  41241. "description": "账号ID",
  41242. "type": "integer"
  41243. },
  41244. "goodsid": {
  41245. "description": "商品ID",
  41246. "type": "integer"
  41247. },
  41248. "infoc": {
  41249. "description": "配置参数",
  41250. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  41251. },
  41252. "marketid": {
  41253. "description": "市场ID",
  41254. "type": "integer"
  41255. }
  41256. }
  41257. },
  41258. "models.TjmdTradeOrderDetail": {
  41259. "type": "object",
  41260. "properties": {
  41261. "buyorsell": {
  41262. "description": "买卖方向 0-买 1-卖",
  41263. "type": "integer"
  41264. },
  41265. "goodsid": {
  41266. "description": "商品id",
  41267. "type": "integer"
  41268. },
  41269. "marketmaxsub": {
  41270. "description": "市价最大偏移范围 [浮动价 - 点差]",
  41271. "type": "number"
  41272. },
  41273. "orderid": {
  41274. "description": "委托单号",
  41275. "type": "string"
  41276. },
  41277. "orderprice": {
  41278. "description": "期初均价",
  41279. "type": "number"
  41280. },
  41281. "orderqty": {
  41282. "description": "委托数量",
  41283. "type": "integer"
  41284. },
  41285. "pricemode": {
  41286. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  41287. "type": "integer"
  41288. },
  41289. "userid": {
  41290. "description": "用户id",
  41291. "type": "integer"
  41292. },
  41293. "username": {
  41294. "description": "用户名称(已脱敏)",
  41295. "type": "string"
  41296. }
  41297. }
  41298. },
  41299. "models.TjmdTransferApply": {
  41300. "type": "object",
  41301. "properties": {
  41302. "applyid": {
  41303. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  41304. "type": "integer"
  41305. },
  41306. "applystatus": {
  41307. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  41308. "type": "integer"
  41309. },
  41310. "applytime": {
  41311. "description": "申请时间(时间)",
  41312. "type": "string"
  41313. },
  41314. "auditremark": {
  41315. "description": "审核备注(拒绝原因?)",
  41316. "type": "string"
  41317. },
  41318. "begindate": {
  41319. "description": "开始交易日(yyyymmdd)",
  41320. "type": "string"
  41321. },
  41322. "buyorsell": {
  41323. "description": "买卖 - 0:买 1:卖",
  41324. "type": "integer"
  41325. },
  41326. "enddate": {
  41327. "description": "结束交易日(yyyymmdd)",
  41328. "type": "string"
  41329. },
  41330. "goodscode": {
  41331. "description": "商品代码",
  41332. "type": "string"
  41333. },
  41334. "goodsid": {
  41335. "description": "商品ID",
  41336. "type": "integer"
  41337. },
  41338. "goodsname": {
  41339. "description": "商品名称",
  41340. "type": "string"
  41341. },
  41342. "marketid": {
  41343. "description": "市场ID",
  41344. "type": "integer"
  41345. },
  41346. "qty": {
  41347. "description": "期初均价",
  41348. "type": "number"
  41349. },
  41350. "tradeid": {
  41351. "description": "成交单号(关联持仓)",
  41352. "type": "string"
  41353. },
  41354. "transferamount": {
  41355. "description": "转让总金额(金额)",
  41356. "type": "number"
  41357. },
  41358. "transferprice": {
  41359. "description": "转让价格(协议价格)",
  41360. "type": "number"
  41361. }
  41362. }
  41363. },
  41364. "models.TradeHolderDetail": {
  41365. "type": "object",
  41366. "properties": {
  41367. "accountid": {
  41368. "description": "账号ID",
  41369. "type": "integer"
  41370. },
  41371. "agreeunit": {
  41372. "description": "合约乘数",
  41373. "type": "number"
  41374. },
  41375. "buyorsell": {
  41376. "description": "方向 - 0:买 1:卖",
  41377. "type": "integer"
  41378. },
  41379. "currencyid": {
  41380. "description": "商品币种id",
  41381. "type": "integer"
  41382. },
  41383. "currencyname": {
  41384. "description": "币种名称",
  41385. "type": "string"
  41386. },
  41387. "decimalplace": {
  41388. "description": "商品价格小数位",
  41389. "type": "integer"
  41390. },
  41391. "enumdicname": {
  41392. "description": "商品单位名称",
  41393. "type": "string"
  41394. },
  41395. "expirecycle": {
  41396. "description": "行权周期(天) - 1:滚动行权时填写",
  41397. "type": "integer"
  41398. },
  41399. "expiredate": {
  41400. "description": "行权日(yyyyMMdd) - 到期日",
  41401. "type": "string"
  41402. },
  41403. "expiretype": {
  41404. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  41405. "type": "integer"
  41406. },
  41407. "freezeqty": {
  41408. "description": "期初均价",
  41409. "type": "number"
  41410. },
  41411. "goodscode": {
  41412. "description": "商品代码",
  41413. "type": "string"
  41414. },
  41415. "goodsid": {
  41416. "description": "商品ID",
  41417. "type": "integer"
  41418. },
  41419. "goodsname": {
  41420. "description": "商品名称",
  41421. "type": "string"
  41422. },
  41423. "goodunitid": {
  41424. "description": "商品单位id",
  41425. "type": "integer"
  41426. },
  41427. "holderamount": {
  41428. "description": "持仓金额",
  41429. "type": "number"
  41430. },
  41431. "holdercredit": {
  41432. "description": "持仓授信金额",
  41433. "type": "number"
  41434. },
  41435. "holderdays": {
  41436. "description": "剩余冻结天数",
  41437. "type": "integer"
  41438. },
  41439. "holderprice": {
  41440. "description": "持仓价格",
  41441. "type": "number"
  41442. },
  41443. "holderqty": {
  41444. "description": "期初均价",
  41445. "type": "number"
  41446. },
  41447. "isconfirmexercise": {
  41448. "description": "是否确认行权- 0:否 1:是",
  41449. "type": "integer"
  41450. },
  41451. "ispreexercise": {
  41452. "description": "是否预申报- 0:否 1:是 2:不可行权",
  41453. "type": "integer"
  41454. },
  41455. "marketid": {
  41456. "description": "市场id",
  41457. "type": "integer"
  41458. },
  41459. "marketname": {
  41460. "description": "市场名称",
  41461. "type": "string"
  41462. },
  41463. "openprice": {
  41464. "description": "建仓价格",
  41465. "type": "number"
  41466. },
  41467. "openqty": {
  41468. "description": "期初均价",
  41469. "type": "number"
  41470. },
  41471. "optiontype": {
  41472. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  41473. "type": "integer"
  41474. },
  41475. "preexerciseprice": {
  41476. "description": "预申报价格",
  41477. "type": "number"
  41478. },
  41479. "premium": {
  41480. "description": "权利金",
  41481. "type": "number"
  41482. },
  41483. "qtydecimalplace": {
  41484. "description": "商品成交量小数位",
  41485. "type": "integer"
  41486. },
  41487. "refgoodscode": {
  41488. "description": "标的合约代码",
  41489. "type": "string"
  41490. },
  41491. "refgoodsid": {
  41492. "description": "标的合约id",
  41493. "type": "integer"
  41494. },
  41495. "releaseamount": {
  41496. "description": "释放持仓金额",
  41497. "type": "number"
  41498. },
  41499. "releaseholdercredit": {
  41500. "description": "释放持仓授信金额",
  41501. "type": "number"
  41502. },
  41503. "taname": {
  41504. "description": "资金账号名称",
  41505. "type": "string"
  41506. },
  41507. "tradeamount": {
  41508. "description": "成交金额",
  41509. "type": "number"
  41510. },
  41511. "tradedate": {
  41512. "description": "交易日(yyyyMMdd)",
  41513. "type": "string"
  41514. },
  41515. "tradeid": {
  41516. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41517. "type": "string"
  41518. },
  41519. "trademode": {
  41520. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  41521. "type": "integer"
  41522. },
  41523. "tradeproperty": {
  41524. "description": "交易属性",
  41525. "type": "integer"
  41526. },
  41527. "tradetime": {
  41528. "description": "交易时间",
  41529. "type": "string"
  41530. },
  41531. "userid": {
  41532. "description": "用户id",
  41533. "type": "integer"
  41534. },
  41535. "username": {
  41536. "description": "用户名称",
  41537. "type": "string"
  41538. }
  41539. }
  41540. },
  41541. "models.Unlinkermcphedgeplan": {
  41542. "type": "object",
  41543. "required": [
  41544. "areauserid"
  41545. ],
  41546. "properties": {
  41547. "accountid": {
  41548. "description": "期货账户ID - 作废",
  41549. "type": "integer"
  41550. },
  41551. "accountname": {
  41552. "description": "交易用户",
  41553. "type": "string"
  41554. },
  41555. "applyid": {
  41556. "description": "申请人",
  41557. "type": "integer"
  41558. },
  41559. "applysrc": {
  41560. "description": "申请来源 - 1:管理端 2:终端",
  41561. "type": "integer"
  41562. },
  41563. "applytime": {
  41564. "description": "申请时间",
  41565. "type": "string"
  41566. },
  41567. "areauserid": {
  41568. "description": "[企业ID]机构ID",
  41569. "type": "integer"
  41570. },
  41571. "auditid": {
  41572. "description": "审核人",
  41573. "type": "integer"
  41574. },
  41575. "auditremark": {
  41576. "description": "审核备注",
  41577. "type": "string"
  41578. },
  41579. "auditsrc": {
  41580. "description": "审核来源 - 1:管理端 2:终端",
  41581. "type": "integer"
  41582. },
  41583. "audittime": {
  41584. "description": "审核时间",
  41585. "type": "string"
  41586. },
  41587. "audittradedate": {
  41588. "description": "审核交易日(yyyyMMdd)",
  41589. "type": "string"
  41590. },
  41591. "biztype": {
  41592. "description": "业务类型 - 1:套保",
  41593. "type": "integer"
  41594. },
  41595. "contracttype": {
  41596. "description": "计划类型 - 1:采购 -1:销售",
  41597. "type": "integer"
  41598. },
  41599. "convertfactor": {
  41600. "description": "标仓系数 - 作废",
  41601. "type": "number"
  41602. },
  41603. "createtime": {
  41604. "description": "创建时间",
  41605. "type": "string"
  41606. },
  41607. "currencyid": {
  41608. "description": "结算币种ID - 作废",
  41609. "type": "integer"
  41610. },
  41611. "deliverygoodsid": {
  41612. "description": "现货品种ID",
  41613. "type": "integer"
  41614. },
  41615. "enumdicname": {
  41616. "description": "结算币种",
  41617. "type": "string"
  41618. },
  41619. "hedgeplanid": {
  41620. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  41621. "type": "string"
  41622. },
  41623. "hedgeplanno": {
  41624. "description": "[计划编号]套保计划编号,模糊查询",
  41625. "type": "string"
  41626. },
  41627. "hedgeplanstatus": {
  41628. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  41629. "type": "integer"
  41630. },
  41631. "isrelated": {
  41632. "description": "是否已关联计划项目 - 0:否 1:是",
  41633. "type": "integer"
  41634. },
  41635. "planqty": {
  41636. "description": "[计划量]计划数量",
  41637. "type": "number"
  41638. },
  41639. "plantime": {
  41640. "description": "计划时间",
  41641. "type": "string"
  41642. },
  41643. "producttype": {
  41644. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  41645. "type": "integer"
  41646. },
  41647. "remark": {
  41648. "description": "备注",
  41649. "type": "string"
  41650. },
  41651. "spotgoodsdesc": {
  41652. "description": "商品型号",
  41653. "type": "string"
  41654. },
  41655. "tradedate": {
  41656. "description": "交易日(yyyyMMdd)",
  41657. "type": "string"
  41658. },
  41659. "tradeuserid": {
  41660. "description": "交易用户ID",
  41661. "type": "integer"
  41662. },
  41663. "updatetime": {
  41664. "description": "更新时间",
  41665. "type": "string"
  41666. },
  41667. "wrstandardid": {
  41668. "description": "现货商品ID",
  41669. "type": "integer"
  41670. },
  41671. "wrstandardname": {
  41672. "description": "现货商品,模糊查询",
  41673. "type": "string"
  41674. }
  41675. }
  41676. },
  41677. "models.UserCollectConfig": {
  41678. "type": "object",
  41679. "properties": {
  41680. "accountstatus": {
  41681. "description": "账户状态 - 1:正常 2:停用 3:注销",
  41682. "type": "integer"
  41683. },
  41684. "collectaccountname": {
  41685. "description": "收款人账户名称",
  41686. "type": "string"
  41687. },
  41688. "collectaccountno": {
  41689. "description": "收款人账户",
  41690. "type": "string"
  41691. },
  41692. "collectbankname": {
  41693. "description": "收款人开户行",
  41694. "type": "string"
  41695. },
  41696. "collectbranchbankname": {
  41697. "description": "收款人开户支行",
  41698. "type": "string"
  41699. },
  41700. "collectconfigid": {
  41701. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  41702. "type": "string"
  41703. },
  41704. "remark": {
  41705. "description": "备注",
  41706. "type": "string"
  41707. },
  41708. "userid": {
  41709. "description": "收款人用户ID",
  41710. "type": "integer"
  41711. }
  41712. }
  41713. },
  41714. "models.UserReceiveInfo": {
  41715. "type": "object",
  41716. "properties": {
  41717. "address": {
  41718. "description": "提货人详细地址",
  41719. "type": "string"
  41720. },
  41721. "autoid": {
  41722. "description": "AutoID",
  41723. "type": "integer"
  41724. },
  41725. "cardnum": {
  41726. "description": "证件号码(加密存储)",
  41727. "type": "string"
  41728. },
  41729. "cardtypeid": {
  41730. "description": "证件类型",
  41731. "type": "integer"
  41732. },
  41733. "cityid": {
  41734. "description": "市",
  41735. "type": "integer"
  41736. },
  41737. "cityname": {
  41738. "description": "城市名称",
  41739. "type": "string"
  41740. },
  41741. "countryid": {
  41742. "description": "国家",
  41743. "type": "integer"
  41744. },
  41745. "countryname": {
  41746. "description": "国家名称",
  41747. "type": "string"
  41748. },
  41749. "districtid": {
  41750. "description": "地区",
  41751. "type": "integer"
  41752. },
  41753. "districtname": {
  41754. "description": "地区名称",
  41755. "type": "string"
  41756. },
  41757. "hasencrypt": {
  41758. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41759. "type": "integer"
  41760. },
  41761. "isdefault": {
  41762. "description": "是否默认地址 - 0:否 1:是",
  41763. "type": "integer"
  41764. },
  41765. "phonenum": {
  41766. "description": "提货人联系方式(加密存储)",
  41767. "type": "string"
  41768. },
  41769. "provinceid": {
  41770. "description": "省",
  41771. "type": "integer"
  41772. },
  41773. "provincename": {
  41774. "description": "省名称",
  41775. "type": "string"
  41776. },
  41777. "receivername": {
  41778. "description": "提货人姓名",
  41779. "type": "string"
  41780. },
  41781. "takeremark": {
  41782. "description": "提货备注",
  41783. "type": "string"
  41784. },
  41785. "userid": {
  41786. "description": "用户ID",
  41787. "type": "integer"
  41788. }
  41789. }
  41790. },
  41791. "models.Useraccount": {
  41792. "type": "object",
  41793. "required": [
  41794. "userid"
  41795. ],
  41796. "properties": {
  41797. "accountname": {
  41798. "description": "账户名称(机构名称)",
  41799. "type": "string"
  41800. },
  41801. "accountstatus": {
  41802. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  41803. "type": "integer"
  41804. },
  41805. "applysrc": {
  41806. "description": "申请来源 - 1:管理端 2:终端",
  41807. "type": "integer"
  41808. },
  41809. "auditremark": {
  41810. "description": "审核备注",
  41811. "type": "string"
  41812. },
  41813. "auditsrc": {
  41814. "description": "审核来源 - 1:管理端 2:终端",
  41815. "type": "integer"
  41816. },
  41817. "audittime": {
  41818. "description": "审核时间",
  41819. "type": "string"
  41820. },
  41821. "audituserid": {
  41822. "description": "审核人",
  41823. "type": "integer"
  41824. },
  41825. "broker": {
  41826. "description": "所属经纪人ID",
  41827. "type": "integer"
  41828. },
  41829. "canceltime": {
  41830. "description": "销户时间",
  41831. "type": "string"
  41832. },
  41833. "canceluserid": {
  41834. "description": "销户人",
  41835. "type": "integer"
  41836. },
  41837. "canrecommend": {
  41838. "description": "是否可推荐 - 0:不可 1;可",
  41839. "type": "integer"
  41840. },
  41841. "createtime": {
  41842. "description": "创建时间",
  41843. "type": "string"
  41844. },
  41845. "creatorid": {
  41846. "description": "创建人",
  41847. "type": "integer"
  41848. },
  41849. "hasauth": {
  41850. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  41851. "type": "integer"
  41852. },
  41853. "isanonymous": {
  41854. "description": "是否匿名下单 - 0:否 1:是",
  41855. "type": "integer"
  41856. },
  41857. "maxinvestornum": {
  41858. "description": "最大用户数(经纪会员下投资者个数)",
  41859. "type": "integer"
  41860. },
  41861. "memberuserid": {
  41862. "description": "所属会员ID",
  41863. "type": "integer"
  41864. },
  41865. "modifierid": {
  41866. "description": "修改人",
  41867. "type": "integer"
  41868. },
  41869. "modifyremark": {
  41870. "description": "变更备注",
  41871. "type": "string"
  41872. },
  41873. "modifystatus": {
  41874. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  41875. "type": "integer"
  41876. },
  41877. "modifytime": {
  41878. "description": "修改时间",
  41879. "type": "string"
  41880. },
  41881. "parenttopuser": {
  41882. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  41883. "type": "string"
  41884. },
  41885. "parentuserid": {
  41886. "description": "所属机构ID",
  41887. "type": "integer"
  41888. },
  41889. "reckonaccountid": {
  41890. "description": "默认结算资金账号ID(机构分润使用) 作废",
  41891. "type": "integer"
  41892. },
  41893. "refercount": {
  41894. "description": "推荐总人数",
  41895. "type": "integer"
  41896. },
  41897. "refereeuserid": {
  41898. "description": "推荐人ID",
  41899. "type": "integer"
  41900. },
  41901. "refernum": {
  41902. "description": "推荐码",
  41903. "type": "string"
  41904. },
  41905. "rootuserid": {
  41906. "description": "根用户ID",
  41907. "type": "integer"
  41908. },
  41909. "subaccountlevel": {
  41910. "description": "子账户层数",
  41911. "type": "integer"
  41912. },
  41913. "subarealevelpath": {
  41914. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  41915. "type": "string"
  41916. },
  41917. "userid": {
  41918. "description": "用户ID",
  41919. "type": "integer"
  41920. },
  41921. "usertype": {
  41922. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41923. "type": "integer"
  41924. }
  41925. }
  41926. },
  41927. "models.Userfavoritegoods": {
  41928. "type": "object",
  41929. "required": [
  41930. "goodsid"
  41931. ],
  41932. "properties": {
  41933. "goodsid": {
  41934. "description": "商品ID",
  41935. "type": "integer"
  41936. }
  41937. }
  41938. },
  41939. "models.Userinfo": {
  41940. "type": "object",
  41941. "required": [
  41942. "userid"
  41943. ],
  41944. "properties": {
  41945. "address": {
  41946. "description": "地址",
  41947. "type": "string"
  41948. },
  41949. "attachment1": {
  41950. "description": "附件1",
  41951. "type": "string"
  41952. },
  41953. "attachment2": {
  41954. "description": "附件2",
  41955. "type": "string"
  41956. },
  41957. "bankaccount": {
  41958. "description": "银行帐号 (加密存储)",
  41959. "type": "string"
  41960. },
  41961. "bankaccountname": {
  41962. "description": "收款人名称",
  41963. "type": "string"
  41964. },
  41965. "bankcardfrontphotourl": {
  41966. "description": "银行卡正面照地址",
  41967. "type": "string"
  41968. },
  41969. "bankid": {
  41970. "description": "银行编码",
  41971. "type": "string"
  41972. },
  41973. "bankname": {
  41974. "description": "银行名称",
  41975. "type": "string"
  41976. },
  41977. "biznature": {
  41978. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  41979. "type": "integer"
  41980. },
  41981. "bizscope": {
  41982. "description": "企业经营范围(企业)",
  41983. "type": "string"
  41984. },
  41985. "cardbackphotourl": {
  41986. "description": "证件背面图片地址",
  41987. "type": "string"
  41988. },
  41989. "cardfrontphotourl": {
  41990. "description": "证件正面图片地址",
  41991. "type": "string"
  41992. },
  41993. "cardnum": {
  41994. "description": "证件号码(加密存储)",
  41995. "type": "string"
  41996. },
  41997. "cardtypeid": {
  41998. "description": "证件类型ID",
  41999. "type": "integer"
  42000. },
  42001. "cityid": {
  42002. "description": "市",
  42003. "type": "integer"
  42004. },
  42005. "company": {
  42006. "description": "公司(个人)",
  42007. "type": "string"
  42008. },
  42009. "contactname": {
  42010. "description": "联系人",
  42011. "type": "string"
  42012. },
  42013. "countryid": {
  42014. "description": "国家",
  42015. "type": "integer"
  42016. },
  42017. "createtime": {
  42018. "description": "创建时间",
  42019. "type": "string"
  42020. },
  42021. "creatorid": {
  42022. "description": "创建人",
  42023. "type": "integer"
  42024. },
  42025. "customername": {
  42026. "description": "客户名称(企业名称)",
  42027. "type": "string"
  42028. },
  42029. "districtid": {
  42030. "description": "地区",
  42031. "type": "integer"
  42032. },
  42033. "email": {
  42034. "description": "邮件(加密存储)",
  42035. "type": "string"
  42036. },
  42037. "fax": {
  42038. "description": "传真(加密存储)",
  42039. "type": "string"
  42040. },
  42041. "halfbodyphotourl": {
  42042. "description": "半身照地址",
  42043. "type": "string"
  42044. },
  42045. "hasencrypt": {
  42046. "description": "数据是否已加密 - 0:未加密 1:已加密",
  42047. "type": "integer"
  42048. },
  42049. "headurl": {
  42050. "description": "头像地址",
  42051. "type": "string"
  42052. },
  42053. "legalcardbackphotourl": {
  42054. "description": "法人身份证背面照地址",
  42055. "type": "string"
  42056. },
  42057. "legalcardfrontphotourl": {
  42058. "description": "法人身份证正面照地址",
  42059. "type": "string"
  42060. },
  42061. "legalpersonname": {
  42062. "description": "法人姓名(企业)",
  42063. "type": "string"
  42064. },
  42065. "mobile": {
  42066. "description": "手机号码(加密存储)",
  42067. "type": "string"
  42068. },
  42069. "mobile2": {
  42070. "description": "手机号码[明文-尚志]",
  42071. "type": "string"
  42072. },
  42073. "modifierid": {
  42074. "description": "修改人",
  42075. "type": "integer"
  42076. },
  42077. "modifiertime": {
  42078. "description": "修改时间",
  42079. "type": "string"
  42080. },
  42081. "needinvoice": {
  42082. "description": "是否需要发票 - 0:不需要 1:需要",
  42083. "type": "integer"
  42084. },
  42085. "nickname": {
  42086. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  42087. "type": "string"
  42088. },
  42089. "openmode": {
  42090. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  42091. "type": "integer"
  42092. },
  42093. "otherurl": {
  42094. "description": "其它图片地址[使用分号分隔]",
  42095. "type": "string"
  42096. },
  42097. "postalcode": {
  42098. "description": "邮政编码",
  42099. "type": "string"
  42100. },
  42101. "provinceid": {
  42102. "description": "省",
  42103. "type": "integer"
  42104. },
  42105. "qq": {
  42106. "description": "QQ(加密存储",
  42107. "type": "string"
  42108. },
  42109. "remark": {
  42110. "description": "备注",
  42111. "type": "string"
  42112. },
  42113. "sex": {
  42114. "description": "用户性别 0: 女 1: 男",
  42115. "type": "integer"
  42116. },
  42117. "signpdfurl": {
  42118. "description": "签约pdf文件",
  42119. "type": "string"
  42120. },
  42121. "telphone": {
  42122. "description": "联系电话(加密存储)",
  42123. "type": "string"
  42124. },
  42125. "userid": {
  42126. "description": "用户ID",
  42127. "type": "integer"
  42128. },
  42129. "userinfotype": {
  42130. "description": "用户信息类型 - 1:个人 2:企业",
  42131. "type": "integer"
  42132. },
  42133. "userstatus": {
  42134. "description": "用户状态 - 1:正常 2:注销",
  42135. "type": "integer"
  42136. },
  42137. "usertype": {
  42138. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  42139. "type": "integer"
  42140. },
  42141. "wechat": {
  42142. "description": "微信(加密存储)",
  42143. "type": "string"
  42144. },
  42145. "wskhinfo": {
  42146. "description": "开户申请信息(JSON)",
  42147. "type": "string"
  42148. }
  42149. }
  42150. },
  42151. "models.WRSConverTDetail": {
  42152. "type": "object",
  42153. "properties": {
  42154. "convertratio": {
  42155. "description": "套保系数",
  42156. "type": "number"
  42157. },
  42158. "deliverygoodscode": {
  42159. "description": "现货商品代码",
  42160. "type": "string"
  42161. },
  42162. "deliverygoodsid": {
  42163. "description": "现货品种ID",
  42164. "type": "integer"
  42165. },
  42166. "deliverygoodsname": {
  42167. "description": "现货商品名称",
  42168. "type": "string"
  42169. },
  42170. "enumdicname": {
  42171. "description": "单位名称",
  42172. "type": "string"
  42173. },
  42174. "goodsunitid": {
  42175. "description": "套保品种单位id",
  42176. "type": "integer"
  42177. },
  42178. "middlegoodscode": {
  42179. "description": "套保品种代码",
  42180. "type": "string"
  42181. },
  42182. "middlegoodsid": {
  42183. "description": "套保品种ID",
  42184. "type": "integer"
  42185. },
  42186. "middlegoodsname": {
  42187. "description": "套保品种名称",
  42188. "type": "string"
  42189. },
  42190. "modifytime": {
  42191. "description": "修改时间",
  42192. "type": "string"
  42193. },
  42194. "wrstandardid": {
  42195. "description": "品类ID",
  42196. "type": "integer"
  42197. }
  42198. }
  42199. },
  42200. "models.WRStandardInfo": {
  42201. "type": "object",
  42202. "required": [
  42203. "wrstandardid"
  42204. ],
  42205. "properties": {
  42206. "areauserid": {
  42207. "description": "所属机构",
  42208. "type": "integer"
  42209. },
  42210. "convertfactor": {
  42211. "description": "标仓系数",
  42212. "type": "number"
  42213. },
  42214. "createtime": {
  42215. "description": "创建时间",
  42216. "type": "string"
  42217. },
  42218. "creatorid": {
  42219. "description": "创建人",
  42220. "type": "integer"
  42221. },
  42222. "deliverygoodsid": {
  42223. "description": "品种ID",
  42224. "type": "integer"
  42225. },
  42226. "deliverygoodsname": {
  42227. "description": "交割商品名称",
  42228. "type": "string"
  42229. },
  42230. "factoryitemjson": {
  42231. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  42232. "type": "string"
  42233. },
  42234. "isvalid": {
  42235. "description": "是否有效 - 0:无效 1:有效",
  42236. "type": "integer"
  42237. },
  42238. "minivalue": {
  42239. "description": "最小变动值",
  42240. "type": "integer"
  42241. },
  42242. "minivaluedp": {
  42243. "description": "最小变动值小数位",
  42244. "type": "integer"
  42245. },
  42246. "realminivalue": {
  42247. "description": "实际最小变动值",
  42248. "type": "integer"
  42249. },
  42250. "realminivaluedp": {
  42251. "description": "实际最小变动值小数位",
  42252. "type": "integer"
  42253. },
  42254. "remark": {
  42255. "description": "备注",
  42256. "type": "string"
  42257. },
  42258. "unitid": {
  42259. "description": "单位ID",
  42260. "type": "integer"
  42261. },
  42262. "unitname": {
  42263. "description": "单位",
  42264. "type": "string"
  42265. },
  42266. "updatetime": {
  42267. "description": "更新时间",
  42268. "type": "string"
  42269. },
  42270. "updatorid": {
  42271. "description": "更新人",
  42272. "type": "integer"
  42273. },
  42274. "wrsstatus": {
  42275. "description": "状态 - 作废 - 0:未激活 1:正常",
  42276. "type": "integer"
  42277. },
  42278. "wrstandardcode": {
  42279. "description": "现货品类代码",
  42280. "type": "string"
  42281. },
  42282. "wrstandardid": {
  42283. "description": "现货品类ID(SEQ_WRSTANDARD)",
  42284. "type": "integer"
  42285. },
  42286. "wrstandardname": {
  42287. "description": "现货品类名称",
  42288. "type": "string"
  42289. }
  42290. }
  42291. },
  42292. "models.WRTradeBargainApply": {
  42293. "type": "object",
  42294. "properties": {
  42295. "accountid": {
  42296. "description": "摘牌资金账号",
  42297. "type": "integer"
  42298. },
  42299. "applyprice": {
  42300. "description": "申请价格(议价价格)",
  42301. "type": "string"
  42302. },
  42303. "applyqty": {
  42304. "description": "摘牌数量(议价数量)",
  42305. "type": "number"
  42306. },
  42307. "applyremark": {
  42308. "description": "申请备注",
  42309. "type": "string"
  42310. },
  42311. "applystatus": {
  42312. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  42313. "type": "integer"
  42314. },
  42315. "applytime": {
  42316. "description": "申请时间(议价时间)",
  42317. "type": "string"
  42318. },
  42319. "begindate": {
  42320. "description": "开始交易日(yyyymmdd)",
  42321. "type": "string"
  42322. },
  42323. "buyorsell": {
  42324. "description": "买卖(挂牌类型) - 0:买 1:卖",
  42325. "type": "integer"
  42326. },
  42327. "confirmremark": {
  42328. "description": "确认备注",
  42329. "type": "string"
  42330. },
  42331. "confirmtime": {
  42332. "description": "确认时间",
  42333. "type": "string"
  42334. },
  42335. "confirmuserid": {
  42336. "description": "确认人",
  42337. "type": "integer"
  42338. },
  42339. "deliverygoodscode": {
  42340. "description": "品种代码",
  42341. "type": "string"
  42342. },
  42343. "deliverygoodsid": {
  42344. "description": "品种ID",
  42345. "type": "integer"
  42346. },
  42347. "deliverygoodsname": {
  42348. "description": "品种名称",
  42349. "type": "string"
  42350. },
  42351. "deliverymonth": {
  42352. "description": "交收月",
  42353. "type": "string"
  42354. },
  42355. "enddate": {
  42356. "description": "结束交易日(yyyymmdd)",
  42357. "type": "string"
  42358. },
  42359. "enumdicname": {
  42360. "description": "单位名称",
  42361. "type": "string"
  42362. },
  42363. "fixedprice": {
  42364. "description": "期初均价",
  42365. "type": "number"
  42366. },
  42367. "handlestatus": {
  42368. "description": "处理状态",
  42369. "type": "integer"
  42370. },
  42371. "marginvalue": {
  42372. "description": "期初均价",
  42373. "type": "number"
  42374. },
  42375. "marketid": {
  42376. "description": "市场ID",
  42377. "type": "integer"
  42378. },
  42379. "matchaccountid": {
  42380. "description": "挂牌方资金账号",
  42381. "type": "integer"
  42382. },
  42383. "matchuserid": {
  42384. "description": "挂牌方用户id",
  42385. "type": "integer"
  42386. },
  42387. "matchusername": {
  42388. "description": "挂牌方用户名称(已脱敏)",
  42389. "type": "string"
  42390. },
  42391. "minivalue": {
  42392. "description": "现货商品最小变动值",
  42393. "type": "integer"
  42394. },
  42395. "optioncompare": {
  42396. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42397. "type": "string"
  42398. },
  42399. "orderqty": {
  42400. "description": "挂牌数量",
  42401. "type": "integer"
  42402. },
  42403. "refprice": {
  42404. "description": "参考价格",
  42405. "type": "string"
  42406. },
  42407. "retcode": {
  42408. "description": "委托返回代码",
  42409. "type": "integer"
  42410. },
  42411. "templatename": {
  42412. "description": "履约方式(履约模板名称)",
  42413. "type": "string"
  42414. },
  42415. "tradedate": {
  42416. "description": "交易日(yyyyMMdd)",
  42417. "type": "string"
  42418. },
  42419. "userid": {
  42420. "description": "摘牌人用户ID(议价人ID)",
  42421. "type": "integer"
  42422. },
  42423. "username": {
  42424. "description": "议价人名字(已脱敏)",
  42425. "type": "string"
  42426. },
  42427. "validtime": {
  42428. "description": "有效期限",
  42429. "type": "string"
  42430. },
  42431. "warehouseid": {
  42432. "description": "仓库ID",
  42433. "type": "integer"
  42434. },
  42435. "warehousename": {
  42436. "description": "仓库名称",
  42437. "type": "string"
  42438. },
  42439. "wrbargainid": {
  42440. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  42441. "type": "string"
  42442. },
  42443. "wrfactortypeid": {
  42444. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42445. "type": "string"
  42446. },
  42447. "wrfactortypename": {
  42448. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42449. "type": "string"
  42450. },
  42451. "wrstandardcode": {
  42452. "description": "现货商品代码",
  42453. "type": "string"
  42454. },
  42455. "wrstandardid": {
  42456. "description": "现货商品ID",
  42457. "type": "integer"
  42458. },
  42459. "wrstandardname": {
  42460. "description": "商品名称",
  42461. "type": "string"
  42462. },
  42463. "wrtradeorderid": {
  42464. "description": "关联委托单ID",
  42465. "type": "string"
  42466. },
  42467. "wrtypename": {
  42468. "description": "商品",
  42469. "type": "string"
  42470. }
  42471. }
  42472. },
  42473. "models.Warehouseinfo": {
  42474. "type": "object",
  42475. "required": [
  42476. "autoid",
  42477. "warehousecode"
  42478. ],
  42479. "properties": {
  42480. "address": {
  42481. "description": "详细地址",
  42482. "type": "string"
  42483. },
  42484. "areauserid": {
  42485. "description": "所属机构",
  42486. "type": "integer"
  42487. },
  42488. "autoid": {
  42489. "description": "自增ID",
  42490. "type": "integer"
  42491. },
  42492. "cityid": {
  42493. "description": "市",
  42494. "type": "integer"
  42495. },
  42496. "contactname": {
  42497. "description": "联系人",
  42498. "type": "string"
  42499. },
  42500. "contactnum": {
  42501. "description": "联系电话",
  42502. "type": "string"
  42503. },
  42504. "countryid": {
  42505. "description": "国家",
  42506. "type": "integer"
  42507. },
  42508. "createtime": {
  42509. "description": "创建时间",
  42510. "type": "string"
  42511. },
  42512. "districtid": {
  42513. "description": "区",
  42514. "type": "integer"
  42515. },
  42516. "hasvideo": {
  42517. "description": "是否有视频 - 0:无 1:有",
  42518. "type": "integer"
  42519. },
  42520. "provinceid": {
  42521. "description": "省",
  42522. "type": "integer"
  42523. },
  42524. "remark": {
  42525. "description": "审核备注",
  42526. "type": "string"
  42527. },
  42528. "videourl": {
  42529. "description": "视频地址",
  42530. "type": "string"
  42531. },
  42532. "warehousecode": {
  42533. "description": "仓库代码",
  42534. "type": "string"
  42535. },
  42536. "warehousename": {
  42537. "description": "仓库名称",
  42538. "type": "string"
  42539. },
  42540. "warehousestatus": {
  42541. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  42542. "type": "integer"
  42543. },
  42544. "warehousetype": {
  42545. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  42546. "type": "integer"
  42547. }
  42548. }
  42549. },
  42550. "models.WrAverageTradePrice": {
  42551. "type": "object",
  42552. "properties": {
  42553. "averageprice": {
  42554. "description": "期初均价",
  42555. "type": "number"
  42556. },
  42557. "tradedate": {
  42558. "description": "交易日yyyymm",
  42559. "type": "string"
  42560. }
  42561. }
  42562. },
  42563. "models.WrBrandAndYears": {
  42564. "type": "object",
  42565. "properties": {
  42566. "brandlst": {
  42567. "description": "品牌列表",
  42568. "type": "array",
  42569. "items": {
  42570. "$ref": "#/definitions/models.DgFactoryItem"
  42571. }
  42572. },
  42573. "yearslst": {
  42574. "description": "年份列表",
  42575. "type": "array",
  42576. "items": {
  42577. "$ref": "#/definitions/models.DgFactoryItem"
  42578. }
  42579. }
  42580. }
  42581. },
  42582. "models.WrBsGoodsInfo": {
  42583. "type": "object",
  42584. "properties": {
  42585. "buyorsell": {
  42586. "description": "买卖方向 0-买 1-卖",
  42587. "type": "integer"
  42588. },
  42589. "goodsid": {
  42590. "description": "交易合约ID",
  42591. "type": "integer"
  42592. },
  42593. "lstitem": {
  42594. "description": "商品信息项",
  42595. "type": "array",
  42596. "items": {
  42597. "$ref": "#/definitions/models.WrTypeItem"
  42598. }
  42599. },
  42600. "lststep": {
  42601. "description": "履约规则",
  42602. "type": "array",
  42603. "items": {
  42604. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42605. }
  42606. }
  42607. }
  42608. },
  42609. "models.WrBuybackDetail": {
  42610. "type": "object",
  42611. "properties": {
  42612. "buybackamount": {
  42613. "description": "回购金额",
  42614. "type": "number"
  42615. },
  42616. "buybackqty": {
  42617. "description": "回购数量",
  42618. "type": "number"
  42619. },
  42620. "buybackreleasemargin": {
  42621. "description": "回购释放保证金",
  42622. "type": "number"
  42623. },
  42624. "buybacktime": {
  42625. "description": "回购时间",
  42626. "type": "string"
  42627. },
  42628. "errordesc": {
  42629. "description": "错误描述",
  42630. "type": "string"
  42631. },
  42632. "handlestatus": {
  42633. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  42634. "type": "integer"
  42635. },
  42636. "relatedwrid": {
  42637. "description": "关联仓单ID",
  42638. "type": "integer"
  42639. },
  42640. "scfcontractid": {
  42641. "description": "SCF合同ID",
  42642. "type": "string"
  42643. },
  42644. "scfwrbuybackid": {
  42645. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  42646. "type": "integer"
  42647. },
  42648. "tradedate": {
  42649. "description": "交易日(yyyyMMdd)",
  42650. "type": "string"
  42651. }
  42652. }
  42653. },
  42654. "models.WrClientAdSpaceConfig": {
  42655. "type": "object",
  42656. "properties": {
  42657. "adspaceid": {
  42658. "description": "广告位ID",
  42659. "type": "integer"
  42660. },
  42661. "adspacename": {
  42662. "description": "广告位名称",
  42663. "type": "string"
  42664. },
  42665. "adspacetype": {
  42666. "description": "广告位类型 - 1:固定广告位",
  42667. "type": "integer"
  42668. },
  42669. "areauserid": {
  42670. "description": "所属机构ID",
  42671. "type": "integer"
  42672. },
  42673. "createdate": {
  42674. "description": "创建时间",
  42675. "type": "string"
  42676. },
  42677. "imagepath": {
  42678. "description": "图片",
  42679. "type": "string"
  42680. },
  42681. "modifierid": {
  42682. "description": "操作人",
  42683. "type": "integer"
  42684. },
  42685. "recsize": {
  42686. "description": "推荐尺寸",
  42687. "type": "string"
  42688. },
  42689. "title": {
  42690. "description": "标题",
  42691. "type": "string"
  42692. },
  42693. "updatedate": {
  42694. "description": "更新时间",
  42695. "type": "string"
  42696. },
  42697. "urlcontent": {
  42698. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  42699. "type": "string"
  42700. },
  42701. "urltype": {
  42702. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  42703. "type": "integer"
  42704. }
  42705. }
  42706. },
  42707. "models.WrDeliveryAvalidHoldLB": {
  42708. "type": "object",
  42709. "properties": {
  42710. "accountid": {
  42711. "description": "资金账号",
  42712. "type": "integer"
  42713. },
  42714. "avalidqty": {
  42715. "description": "数量(可点选数量)",
  42716. "type": "number"
  42717. },
  42718. "deliverygoodsid": {
  42719. "description": "品种id",
  42720. "type": "integer"
  42721. },
  42722. "enumdicname": {
  42723. "description": "单位名称",
  42724. "type": "string"
  42725. },
  42726. "goodsid": {
  42727. "description": "x合约商品id",
  42728. "type": "integer"
  42729. },
  42730. "ladingbillid": {
  42731. "description": "提单id",
  42732. "type": "string"
  42733. },
  42734. "pgoodscode": {
  42735. "description": "p商品代码(点价合约)",
  42736. "type": "string"
  42737. },
  42738. "pgoodsid": {
  42739. "description": "p商品id(点价合约)",
  42740. "type": "integer"
  42741. },
  42742. "pgoodsname": {
  42743. "description": "p商品名称(点价合约)",
  42744. "type": "string"
  42745. },
  42746. "pricemove": {
  42747. "description": "升贴水",
  42748. "type": "number"
  42749. },
  42750. "subnum": {
  42751. "description": "提单子id",
  42752. "type": "integer"
  42753. },
  42754. "userid": {
  42755. "description": "用户id",
  42756. "type": "integer"
  42757. },
  42758. "username": {
  42759. "description": "仓单持有人",
  42760. "type": "string"
  42761. },
  42762. "warehousecode": {
  42763. "description": "仓库代码",
  42764. "type": "string"
  42765. },
  42766. "warehouseid": {
  42767. "description": "仓库id",
  42768. "type": "integer"
  42769. },
  42770. "warehousename": {
  42771. "description": "仓库名称",
  42772. "type": "string"
  42773. },
  42774. "wrfactortypeid": {
  42775. "description": "仓单要素id",
  42776. "type": "string"
  42777. },
  42778. "wrstandardcode": {
  42779. "description": "品代码",
  42780. "type": "string"
  42781. },
  42782. "wrstandardid": {
  42783. "description": "品类d",
  42784. "type": "integer"
  42785. },
  42786. "wrstandardname": {
  42787. "description": "品类名称",
  42788. "type": "string"
  42789. },
  42790. "wrtypename": {
  42791. "description": "商品",
  42792. "type": "string"
  42793. },
  42794. "xgoodscode": {
  42795. "description": "x合约代码",
  42796. "type": "string"
  42797. },
  42798. "xgoodsname": {
  42799. "description": "x合约名称",
  42800. "type": "string"
  42801. }
  42802. }
  42803. },
  42804. "models.WrDeliveryDetail": {
  42805. "type": "object",
  42806. "properties": {
  42807. "accountid": {
  42808. "description": "账号ID",
  42809. "type": "integer"
  42810. },
  42811. "averageprice": {
  42812. "description": "期初均价",
  42813. "type": "number"
  42814. },
  42815. "begindate": {
  42816. "description": "开始交易日(yyyymmdd)",
  42817. "type": "string"
  42818. },
  42819. "buyorsell": {
  42820. "description": "方向 - 0:买 1:卖",
  42821. "type": "integer"
  42822. },
  42823. "deliveryamount": {
  42824. "description": "货款金额(X总货款+P总货款)",
  42825. "type": "number"
  42826. },
  42827. "deliveryid": {
  42828. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  42829. "type": "string"
  42830. },
  42831. "deliveryorderid": {
  42832. "description": "申报单号",
  42833. "type": "string"
  42834. },
  42835. "deliverypricemove": {
  42836. "description": "升贴水(升贴水总额)",
  42837. "type": "number"
  42838. },
  42839. "deliveryqty": {
  42840. "description": "交收数量(点选数量)",
  42841. "type": "number"
  42842. },
  42843. "deliverystatus": {
  42844. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  42845. "type": "integer"
  42846. },
  42847. "deliverytime": {
  42848. "description": "交割时间",
  42849. "type": "string"
  42850. },
  42851. "deliverytotalamount": {
  42852. "description": "交收金额",
  42853. "type": "number"
  42854. },
  42855. "enddate": {
  42856. "description": "结束交易日(yyyymmdd)",
  42857. "type": "string"
  42858. },
  42859. "enumdicname": {
  42860. "description": "单位名称",
  42861. "type": "string"
  42862. },
  42863. "matchaccountid": {
  42864. "description": "对手账号ID",
  42865. "type": "integer"
  42866. },
  42867. "matchusername": {
  42868. "description": "对手方名称(仓单持有人)",
  42869. "type": "string"
  42870. },
  42871. "p1goodsremainamount": {
  42872. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42873. "type": "number"
  42874. },
  42875. "pdeliverycloseqty": {
  42876. "description": "p合约平仓数量",
  42877. "type": "number"
  42878. },
  42879. "pdeliveryprice": {
  42880. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42881. "type": "number"
  42882. },
  42883. "pgoodscode": {
  42884. "description": "商品代码",
  42885. "type": "string"
  42886. },
  42887. "pgoodsid": {
  42888. "description": "p点选合约id",
  42889. "type": "integer"
  42890. },
  42891. "pgoodsname": {
  42892. "description": "商品名称",
  42893. "type": "string"
  42894. },
  42895. "ppricemode": {
  42896. "description": "点价价格方式 - 1:商品价 2:固定值",
  42897. "type": "integer"
  42898. },
  42899. "tradedate": {
  42900. "description": "交易日(yyyymmdd)",
  42901. "type": "string"
  42902. },
  42903. "userid": {
  42904. "description": "用户id",
  42905. "type": "integer"
  42906. },
  42907. "username": {
  42908. "description": "用户名称",
  42909. "type": "string"
  42910. },
  42911. "warehousename": {
  42912. "description": "仓库名称",
  42913. "type": "string"
  42914. },
  42915. "wrfactortypeid": {
  42916. "description": "仓单要素类型ID",
  42917. "type": "string"
  42918. },
  42919. "wrtypename": {
  42920. "description": "商品",
  42921. "type": "string"
  42922. },
  42923. "xdeliverycloseqty": {
  42924. "description": "合约数量",
  42925. "type": "number"
  42926. },
  42927. "xgoodsamount": {
  42928. "description": "期初均价",
  42929. "type": "number"
  42930. },
  42931. "xgoodscode": {
  42932. "description": "商品代码",
  42933. "type": "string"
  42934. },
  42935. "xgoodsid": {
  42936. "description": "x交易合约ID",
  42937. "type": "integer"
  42938. },
  42939. "xgoodsname": {
  42940. "description": "商品名称",
  42941. "type": "string"
  42942. }
  42943. }
  42944. },
  42945. "models.WrDeliveryGoodsSection": {
  42946. "type": "object",
  42947. "properties": {
  42948. "dglst": {
  42949. "description": "板块商品列表",
  42950. "type": "array",
  42951. "items": {
  42952. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  42953. }
  42954. },
  42955. "imagepath": {
  42956. "description": "图片地址",
  42957. "type": "string"
  42958. },
  42959. "orderindex": {
  42960. "description": "排序",
  42961. "type": "integer"
  42962. },
  42963. "sectionid": {
  42964. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  42965. "type": "integer"
  42966. },
  42967. "sectionname": {
  42968. "description": "版块名称",
  42969. "type": "string"
  42970. },
  42971. "sectiontype": {
  42972. "description": "版块类型 - 1:指数版块 2:普通版块",
  42973. "type": "integer"
  42974. }
  42975. }
  42976. },
  42977. "models.WrDeliveryGoodsSectionConfig": {
  42978. "type": "object",
  42979. "properties": {
  42980. "deliverygoodscode": {
  42981. "description": "现货商品代码",
  42982. "type": "string"
  42983. },
  42984. "deliverygoodsid": {
  42985. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42986. "type": "integer"
  42987. },
  42988. "deliverygoodsname": {
  42989. "description": "现货商品名称",
  42990. "type": "string"
  42991. },
  42992. "orderindex": {
  42993. "description": "排序",
  42994. "type": "integer"
  42995. }
  42996. }
  42997. },
  42998. "models.WrDraftUserInfo": {
  42999. "type": "object",
  43000. "properties": {
  43001. "address": {
  43002. "description": "地址",
  43003. "type": "string"
  43004. },
  43005. "attachment1": {
  43006. "description": "附件1",
  43007. "type": "string"
  43008. },
  43009. "attachment2": {
  43010. "description": "附件2",
  43011. "type": "string"
  43012. },
  43013. "attachment3": {
  43014. "description": "附件3",
  43015. "type": "string"
  43016. },
  43017. "attachment4": {
  43018. "description": "附件4",
  43019. "type": "string"
  43020. },
  43021. "attachment5": {
  43022. "description": "附件5",
  43023. "type": "string"
  43024. },
  43025. "bankaccount": {
  43026. "description": "银行帐号 (加密存储)",
  43027. "type": "string"
  43028. },
  43029. "bankaccountname": {
  43030. "description": "收款人名称",
  43031. "type": "string"
  43032. },
  43033. "bankcardfrontphotourl": {
  43034. "description": "银行卡正面照地址",
  43035. "type": "string"
  43036. },
  43037. "bankid": {
  43038. "description": "银行编码",
  43039. "type": "string"
  43040. },
  43041. "bankname": {
  43042. "description": "银行名称",
  43043. "type": "string"
  43044. },
  43045. "birthday": {
  43046. "description": "生日(个人:年月日)",
  43047. "type": "string"
  43048. },
  43049. "biznature": {
  43050. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  43051. "type": "integer"
  43052. },
  43053. "bizscope": {
  43054. "description": "企业经营范围(企业)",
  43055. "type": "string"
  43056. },
  43057. "biztype": {
  43058. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  43059. "type": "integer"
  43060. },
  43061. "cardbackphotourl": {
  43062. "description": "证件背面图片地址",
  43063. "type": "string"
  43064. },
  43065. "cardfrontphotourl": {
  43066. "description": "证件正面图片地址",
  43067. "type": "string"
  43068. },
  43069. "cardnum": {
  43070. "description": "证件号码(加密存储)",
  43071. "type": "string"
  43072. },
  43073. "cardtypeid": {
  43074. "description": "证件类型ID",
  43075. "type": "integer"
  43076. },
  43077. "cityid": {
  43078. "description": "市",
  43079. "type": "integer"
  43080. },
  43081. "company": {
  43082. "description": "公司(个人)",
  43083. "type": "string"
  43084. },
  43085. "contactcardbackphotourl": {
  43086. "description": "联系人证件背面图片地址",
  43087. "type": "string"
  43088. },
  43089. "contactcardfrontphotourl": {
  43090. "description": "联系人证件正面图片地址",
  43091. "type": "string"
  43092. },
  43093. "contactname": {
  43094. "description": "联系人",
  43095. "type": "string"
  43096. },
  43097. "countryid": {
  43098. "description": "国家",
  43099. "type": "integer"
  43100. },
  43101. "createtime": {
  43102. "description": "创建时间",
  43103. "type": "string"
  43104. },
  43105. "creatorid": {
  43106. "description": "创建人",
  43107. "type": "integer"
  43108. },
  43109. "creditquota": {
  43110. "description": "授信额度(金瑞)",
  43111. "type": "number"
  43112. },
  43113. "customername": {
  43114. "description": "客户名称(企业名称)",
  43115. "type": "string"
  43116. },
  43117. "districtid": {
  43118. "description": "地区",
  43119. "type": "integer"
  43120. },
  43121. "email": {
  43122. "description": "邮件(加密存储)",
  43123. "type": "string"
  43124. },
  43125. "fax": {
  43126. "description": "传真(加密存储)",
  43127. "type": "string"
  43128. },
  43129. "halfbodyphotourl": {
  43130. "description": "半身照地址",
  43131. "type": "string"
  43132. },
  43133. "hasencrypt": {
  43134. "description": "数据是否已加密 - 0:未加密 1:已加密",
  43135. "type": "integer"
  43136. },
  43137. "headurl": {
  43138. "description": "头像地址",
  43139. "type": "string"
  43140. },
  43141. "legalcardbackphotourl": {
  43142. "description": "法人身份证背面照地址",
  43143. "type": "string"
  43144. },
  43145. "legalcardfrontphotourl": {
  43146. "description": "法人身份证正面照地址",
  43147. "type": "string"
  43148. },
  43149. "legalpersonname": {
  43150. "description": "法人姓名(企业)",
  43151. "type": "string"
  43152. },
  43153. "mobile": {
  43154. "description": "手机号码(加密存储)",
  43155. "type": "string"
  43156. },
  43157. "mobile2": {
  43158. "description": "手机号码[明文-尚志]",
  43159. "type": "string"
  43160. },
  43161. "modifierid": {
  43162. "description": "修改人",
  43163. "type": "integer"
  43164. },
  43165. "modifiertime": {
  43166. "description": "修改时间",
  43167. "type": "string"
  43168. },
  43169. "needinvoice": {
  43170. "description": "是否需要发票 - 0:不需要 1:需要",
  43171. "type": "integer"
  43172. },
  43173. "nickname": {
  43174. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  43175. "type": "string"
  43176. },
  43177. "openmode": {
  43178. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  43179. "type": "integer"
  43180. },
  43181. "otherurl": {
  43182. "description": "其它图片地址[使用分号分隔]",
  43183. "type": "string"
  43184. },
  43185. "postalcode": {
  43186. "description": "邮政编码",
  43187. "type": "string"
  43188. },
  43189. "provinceid": {
  43190. "description": "省",
  43191. "type": "integer"
  43192. },
  43193. "proxystatementurl": {
  43194. "description": "授权委托书",
  43195. "type": "string"
  43196. },
  43197. "qq": {
  43198. "description": "QQ(加密存储",
  43199. "type": "string"
  43200. },
  43201. "remark": {
  43202. "description": "备注",
  43203. "type": "string"
  43204. },
  43205. "sex": {
  43206. "description": "用户性别 0: 女 1: 男",
  43207. "type": "integer"
  43208. },
  43209. "signpdfurl": {
  43210. "description": "签约pdf文件",
  43211. "type": "string"
  43212. },
  43213. "taxpayernum": {
  43214. "description": "纳税人识别号",
  43215. "type": "string"
  43216. },
  43217. "telphone": {
  43218. "description": "联系电话(加密存储)",
  43219. "type": "string"
  43220. },
  43221. "userid": {
  43222. "description": "用户ID",
  43223. "type": "integer"
  43224. },
  43225. "userinfotype": {
  43226. "description": "用户信息类型 - 1:个人 2:企业",
  43227. "type": "integer"
  43228. },
  43229. "userstatus": {
  43230. "description": "用户状态 - 1:正常 2:注销",
  43231. "type": "integer"
  43232. },
  43233. "usertype": {
  43234. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  43235. "type": "integer"
  43236. },
  43237. "wechat": {
  43238. "description": "微信(加密存储)",
  43239. "type": "string"
  43240. },
  43241. "wskhinfo": {
  43242. "description": "开户申请信息(JSON)",
  43243. "type": "string"
  43244. }
  43245. }
  43246. },
  43247. "models.WrFAProductDetail": {
  43248. "type": "object",
  43249. "properties": {
  43250. "accountid": {
  43251. "description": "资金账号",
  43252. "type": "integer"
  43253. },
  43254. "areauserid": {
  43255. "description": "金融机构ID",
  43256. "type": "integer"
  43257. },
  43258. "financingdays": {
  43259. "description": "天数(天)",
  43260. "type": "integer"
  43261. },
  43262. "interestminlen": {
  43263. "description": "最小起息天数",
  43264. "type": "integer"
  43265. },
  43266. "interestrate": {
  43267. "description": "利率",
  43268. "type": "number"
  43269. },
  43270. "interestratemode": {
  43271. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  43272. "type": "integer"
  43273. },
  43274. "interestsettlemode": {
  43275. "description": "结息方式 - 1:按日结息 3:按月结息",
  43276. "type": "integer"
  43277. },
  43278. "interestsettlevalue": {
  43279. "description": "结息方式值",
  43280. "type": "integer"
  43281. },
  43282. "isautoloan": {
  43283. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  43284. "type": "integer"
  43285. },
  43286. "loantag": {
  43287. "description": "放款标识: \"放款快\" 或者为空",
  43288. "type": "string"
  43289. },
  43290. "marginratio": {
  43291. "description": "保证金比率质押率 - [仓单质押]",
  43292. "type": "number"
  43293. },
  43294. "productdetailid": {
  43295. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  43296. "type": "integer"
  43297. },
  43298. "productid": {
  43299. "description": "金融产品ID",
  43300. "type": "integer"
  43301. },
  43302. "productname": {
  43303. "description": "产品名称",
  43304. "type": "string"
  43305. },
  43306. "updatetime": {
  43307. "description": "更新时间",
  43308. "type": "string"
  43309. },
  43310. "username": {
  43311. "description": "融出方",
  43312. "type": "string"
  43313. }
  43314. }
  43315. },
  43316. "models.WrFactorTypeInfo": {
  43317. "type": "object",
  43318. "properties": {
  43319. "deliverygoodscode": {
  43320. "description": "品种代码",
  43321. "type": "string"
  43322. },
  43323. "deliverygoodsname": {
  43324. "description": "品种名称",
  43325. "type": "string"
  43326. },
  43327. "dgfactoryitemid": {
  43328. "description": "选择项id",
  43329. "type": "integer"
  43330. },
  43331. "dgfactoryitemtypeid": {
  43332. "description": "要素选择项ID (1-仓库 2-品牌)",
  43333. "type": "integer"
  43334. },
  43335. "dgfactoryitemvalue": {
  43336. "description": "要素项值",
  43337. "type": "string"
  43338. },
  43339. "itemtypename": {
  43340. "description": "要素项名称",
  43341. "type": "string"
  43342. },
  43343. "optioncompare": {
  43344. "description": "选择比较串",
  43345. "type": "string"
  43346. },
  43347. "warehouseid": {
  43348. "description": "仓库id",
  43349. "type": "integer"
  43350. },
  43351. "wrfactortypeid": {
  43352. "description": "仓单要素ID",
  43353. "type": "string"
  43354. },
  43355. "wrfactortypename": {
  43356. "description": "要素名称",
  43357. "type": "string"
  43358. },
  43359. "wrfactortypename2": {
  43360. "description": "要素名称(不含仓库)",
  43361. "type": "string"
  43362. },
  43363. "wrstandardcode": {
  43364. "description": "品类代码",
  43365. "type": "string"
  43366. },
  43367. "wrstandardid": {
  43368. "description": "品类id",
  43369. "type": "integer"
  43370. },
  43371. "wrstandardname": {
  43372. "description": "品类名称",
  43373. "type": "string"
  43374. }
  43375. }
  43376. },
  43377. "models.WrFilterItem": {
  43378. "type": "object",
  43379. "properties": {
  43380. "itemcode": {
  43381. "description": "代码",
  43382. "type": "string"
  43383. },
  43384. "itemid": {
  43385. "description": "项id",
  43386. "type": "integer"
  43387. },
  43388. "itemname": {
  43389. "description": "名称",
  43390. "type": "string"
  43391. },
  43392. "itemtype": {
  43393. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  43394. "type": "integer"
  43395. }
  43396. }
  43397. },
  43398. "models.WrFinanceBuyApply": {
  43399. "type": "object",
  43400. "properties": {
  43401. "applydate": {
  43402. "description": "申请时间",
  43403. "type": "string"
  43404. },
  43405. "applystatus": {
  43406. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  43407. "type": "integer"
  43408. },
  43409. "applyuserid": {
  43410. "description": "申请人",
  43411. "type": "integer"
  43412. },
  43413. "auditdate": {
  43414. "description": "审核时间",
  43415. "type": "string"
  43416. },
  43417. "auditremark": {
  43418. "description": "审核备注",
  43419. "type": "string"
  43420. },
  43421. "audituserid": {
  43422. "description": "审核人",
  43423. "type": "integer"
  43424. },
  43425. "buyaccountid": {
  43426. "description": "买方资金账号",
  43427. "type": "integer"
  43428. },
  43429. "buyorsell": {
  43430. "description": "买卖 - 0:买 1:卖",
  43431. "type": "integer"
  43432. },
  43433. "buyuserid": {
  43434. "description": "买方用户ID",
  43435. "type": "integer"
  43436. },
  43437. "buyusername": {
  43438. "description": "买方名称",
  43439. "type": "string"
  43440. },
  43441. "buywrtradeorderid": {
  43442. "description": "融资方买委托单ID",
  43443. "type": "string"
  43444. },
  43445. "deliverygoodscode": {
  43446. "description": "品种代码",
  43447. "type": "string"
  43448. },
  43449. "deliverygoodsid": {
  43450. "description": "品种ID",
  43451. "type": "integer"
  43452. },
  43453. "deliverygoodsname": {
  43454. "description": "品种名称",
  43455. "type": "string"
  43456. },
  43457. "deliverymonth": {
  43458. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  43459. "type": "string"
  43460. },
  43461. "enumdicname": {
  43462. "description": "单位名称",
  43463. "type": "string"
  43464. },
  43465. "financeaccountid": {
  43466. "description": "融资方资金帐户ID",
  43467. "type": "integer"
  43468. },
  43469. "financeapplyid": {
  43470. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43471. "type": "string"
  43472. },
  43473. "financeareauserid": {
  43474. "description": "融资方用户ID",
  43475. "type": "string"
  43476. },
  43477. "financename": {
  43478. "description": "融出方名称",
  43479. "type": "string"
  43480. },
  43481. "financetype": {
  43482. "description": "融资类型 1-融资回购",
  43483. "type": "integer"
  43484. },
  43485. "financingdays": {
  43486. "description": "天数(天)",
  43487. "type": "integer"
  43488. },
  43489. "freezebuymargin": {
  43490. "description": "冻结融资保证金(买方)",
  43491. "type": "number"
  43492. },
  43493. "handleremark": {
  43494. "description": "处理备注",
  43495. "type": "string"
  43496. },
  43497. "handlestatus": {
  43498. "description": "处理状态",
  43499. "type": "integer"
  43500. },
  43501. "interestminlen": {
  43502. "description": "最小起息天数",
  43503. "type": "integer"
  43504. },
  43505. "interestrate": {
  43506. "description": "利率",
  43507. "type": "number"
  43508. },
  43509. "interestratemode": {
  43510. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  43511. "type": "integer"
  43512. },
  43513. "interestsettlemode": {
  43514. "description": "结息方式 - 1:按日结息 3:按月结息",
  43515. "type": "integer"
  43516. },
  43517. "interestsettlevalue": {
  43518. "description": "结息方式值",
  43519. "type": "integer"
  43520. },
  43521. "isautoloan": {
  43522. "description": "是否自动放款 - 0:手动 1:自动",
  43523. "type": "integer"
  43524. },
  43525. "marginratio": {
  43526. "description": "保证金比率质押率 - [仓单质押]",
  43527. "type": "number"
  43528. },
  43529. "marketid": {
  43530. "description": "市场ID",
  43531. "type": "integer"
  43532. },
  43533. "minivalue": {
  43534. "description": "现货商品最小变动值",
  43535. "type": "integer"
  43536. },
  43537. "optioncompare": {
  43538. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43539. "type": "string"
  43540. },
  43541. "orderqty": {
  43542. "description": "委托数量(商品数量)",
  43543. "type": "number"
  43544. },
  43545. "productdetailid": {
  43546. "description": "产品组合ID",
  43547. "type": "integer"
  43548. },
  43549. "productid": {
  43550. "description": "金融产品ID",
  43551. "type": "integer"
  43552. },
  43553. "productname": {
  43554. "description": "产品名称",
  43555. "type": "string"
  43556. },
  43557. "remark": {
  43558. "description": "备注",
  43559. "type": "string"
  43560. },
  43561. "scfcontractid": {
  43562. "description": "仓单回购合同ID",
  43563. "type": "string"
  43564. },
  43565. "sellaccountid": {
  43566. "description": "卖方资金账号",
  43567. "type": "integer"
  43568. },
  43569. "selluserid": {
  43570. "description": "卖方用户ID",
  43571. "type": "integer"
  43572. },
  43573. "sellwrtradeorderid": {
  43574. "description": "卖方委托单ID",
  43575. "type": "string"
  43576. },
  43577. "tradeamount": {
  43578. "description": "成交金额(借款金额)",
  43579. "type": "number"
  43580. },
  43581. "tradedate": {
  43582. "description": "交易日(yyyyMMdd)",
  43583. "type": "string"
  43584. },
  43585. "tradeprice": {
  43586. "description": "成交价格",
  43587. "type": "number"
  43588. },
  43589. "warehouseid": {
  43590. "description": "仓库ID",
  43591. "type": "integer"
  43592. },
  43593. "warehousename": {
  43594. "description": "仓库名称",
  43595. "type": "string"
  43596. },
  43597. "wrfactortypeid": {
  43598. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43599. "type": "string"
  43600. },
  43601. "wrfactortypename": {
  43602. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43603. "type": "string"
  43604. },
  43605. "wrpricetype": {
  43606. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  43607. "type": "integer"
  43608. },
  43609. "wrstandardcode": {
  43610. "description": "现货商品代码",
  43611. "type": "string"
  43612. },
  43613. "wrstandardid": {
  43614. "description": "现货商品ID",
  43615. "type": "integer"
  43616. },
  43617. "wrstandardname": {
  43618. "description": "商品名称",
  43619. "type": "string"
  43620. },
  43621. "wrtypename": {
  43622. "description": "商品",
  43623. "type": "string"
  43624. }
  43625. }
  43626. },
  43627. "models.WrFriendApply": {
  43628. "type": "object",
  43629. "properties": {
  43630. "applicantid": {
  43631. "description": "申请人",
  43632. "type": "integer"
  43633. },
  43634. "applyname": {
  43635. "description": "申请人名称",
  43636. "type": "string"
  43637. },
  43638. "applysrc": {
  43639. "description": "申请来源 - 1:管理端 2:终端",
  43640. "type": "integer"
  43641. },
  43642. "applystatus": {
  43643. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  43644. "type": "integer"
  43645. },
  43646. "applytime": {
  43647. "description": "申请时间",
  43648. "type": "string"
  43649. },
  43650. "auditname": {
  43651. "description": "审核人名称",
  43652. "type": "string"
  43653. },
  43654. "auditorid": {
  43655. "description": "审核人",
  43656. "type": "integer"
  43657. },
  43658. "auditremark": {
  43659. "description": "审核备注",
  43660. "type": "string"
  43661. },
  43662. "auditsrc": {
  43663. "description": "审核来源 - 1:管理端 2:终端",
  43664. "type": "integer"
  43665. },
  43666. "audittime": {
  43667. "description": "审核时间",
  43668. "type": "string"
  43669. },
  43670. "friendapplyid": {
  43671. "description": "申请ID(SEQ_FRIENDAPPLY)",
  43672. "type": "string"
  43673. },
  43674. "friendname": {
  43675. "description": "好友名字(已脱敏)",
  43676. "type": "string"
  43677. },
  43678. "frienduserid": {
  43679. "description": "好友用户ID",
  43680. "type": "string"
  43681. },
  43682. "remark": {
  43683. "description": "备注",
  43684. "type": "string"
  43685. },
  43686. "userid": {
  43687. "description": "申请人用户ID",
  43688. "type": "integer"
  43689. }
  43690. }
  43691. },
  43692. "models.WrFtDeliveryGoods": {
  43693. "type": "object",
  43694. "properties": {
  43695. "deliverygoodscode": {
  43696. "description": "品种代码",
  43697. "type": "string"
  43698. },
  43699. "deliverygoodsid": {
  43700. "description": "品种ID",
  43701. "type": "integer"
  43702. },
  43703. "deliverygoodsname": {
  43704. "description": "品种名称",
  43705. "type": "string"
  43706. },
  43707. "wdlst": {
  43708. "description": "商品列表",
  43709. "type": "array",
  43710. "items": {
  43711. "$ref": "#/definitions/models.WrFtWrstandard"
  43712. }
  43713. }
  43714. }
  43715. },
  43716. "models.WrFtWrstandard": {
  43717. "type": "object",
  43718. "properties": {
  43719. "enumdicname": {
  43720. "description": "单位名称",
  43721. "type": "string"
  43722. },
  43723. "minivalue": {
  43724. "description": "最小变动值",
  43725. "type": "integer"
  43726. },
  43727. "wrstandardcode": {
  43728. "description": "现货商品代码",
  43729. "type": "string"
  43730. },
  43731. "wrstandardid": {
  43732. "description": "现货商品ID",
  43733. "type": "integer"
  43734. },
  43735. "wrstandardname": {
  43736. "description": "商品名称",
  43737. "type": "string"
  43738. }
  43739. }
  43740. },
  43741. "models.WrGoodsInfo": {
  43742. "type": "object",
  43743. "properties": {
  43744. "haswr": {
  43745. "description": "0:仓单预售 1:仓单贸易",
  43746. "type": "integer"
  43747. },
  43748. "lstitem": {
  43749. "description": "商品信息项",
  43750. "type": "array",
  43751. "items": {
  43752. "$ref": "#/definitions/models.WrTypeItem"
  43753. }
  43754. },
  43755. "lststep": {
  43756. "description": "履约规则",
  43757. "type": "array",
  43758. "items": {
  43759. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  43760. }
  43761. },
  43762. "marketid": {
  43763. "description": "市场id",
  43764. "type": "integer"
  43765. }
  43766. }
  43767. },
  43768. "models.WrGoodsPerformanceStep": {
  43769. "type": "object",
  43770. "properties": {
  43771. "autoid": {
  43772. "description": "AutoID",
  43773. "type": "integer"
  43774. },
  43775. "isauto": {
  43776. "description": "是否自动 - 0:不自动 1:自动",
  43777. "type": "integer"
  43778. },
  43779. "remark": {
  43780. "description": "备注",
  43781. "type": "string"
  43782. },
  43783. "stepdate": {
  43784. "description": "天数信息(T+N)",
  43785. "type": "string"
  43786. },
  43787. "stepdays": {
  43788. "description": "距离上一步天数",
  43789. "type": "integer"
  43790. },
  43791. "stepindex": {
  43792. "description": "步骤序号",
  43793. "type": "integer"
  43794. },
  43795. "stepinfo": {
  43796. "description": "步骤信息(步骤名称+步骤值)",
  43797. "type": "string"
  43798. },
  43799. "steptypeid": {
  43800. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43801. "type": "integer"
  43802. },
  43803. "steptypename": {
  43804. "description": "步骤名称",
  43805. "type": "string"
  43806. },
  43807. "stepvalue": {
  43808. "description": "期初均价",
  43809. "type": "number"
  43810. },
  43811. "templateid": {
  43812. "description": "履约计划模板ID",
  43813. "type": "integer"
  43814. }
  43815. }
  43816. },
  43817. "models.WrHoldLB": {
  43818. "type": "object",
  43819. "properties": {
  43820. "accountid": {
  43821. "description": "持有人帐户ID",
  43822. "type": "integer"
  43823. },
  43824. "bannerpicurl": {
  43825. "description": "Banner图",
  43826. "type": "string"
  43827. },
  43828. "createtime": {
  43829. "description": "创建时间(过户时间)",
  43830. "type": "string"
  43831. },
  43832. "deliverygoodscode": {
  43833. "description": "品种代码",
  43834. "type": "string"
  43835. },
  43836. "deliverygoodsid": {
  43837. "description": "品种ID",
  43838. "type": "integer"
  43839. },
  43840. "deliverygoodsname": {
  43841. "description": "品种名称",
  43842. "type": "string"
  43843. },
  43844. "enableqty": {
  43845. "description": "可用数量",
  43846. "type": "number"
  43847. },
  43848. "enumdicname": {
  43849. "description": "单位名称",
  43850. "type": "string"
  43851. },
  43852. "freezerqty": {
  43853. "description": "冻结数量",
  43854. "type": "number"
  43855. },
  43856. "ladingbillid": {
  43857. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43858. "type": "string"
  43859. },
  43860. "minivalue": {
  43861. "description": "现货商品最小变动值",
  43862. "type": "integer"
  43863. },
  43864. "optioncompare": {
  43865. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43866. "type": "string"
  43867. },
  43868. "parentsubnum": {
  43869. "description": "拆分父子单号",
  43870. "type": "integer"
  43871. },
  43872. "pledgeqty": {
  43873. "description": "质押数量",
  43874. "type": "number"
  43875. },
  43876. "qty": {
  43877. "description": "数量",
  43878. "type": "number"
  43879. },
  43880. "subnum": {
  43881. "description": "提单子单号",
  43882. "type": "integer"
  43883. },
  43884. "thumurls": {
  43885. "description": "缩略图",
  43886. "type": "string"
  43887. },
  43888. "tradedate": {
  43889. "description": "交易日(yyyyMMdd)",
  43890. "type": "string"
  43891. },
  43892. "userid": {
  43893. "description": "持有人ID",
  43894. "type": "integer"
  43895. },
  43896. "warehouseid": {
  43897. "description": "仓库ID",
  43898. "type": "integer"
  43899. },
  43900. "warehousename": {
  43901. "description": "仓库名称",
  43902. "type": "string"
  43903. },
  43904. "wrfactortypeid": {
  43905. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43906. "type": "string"
  43907. },
  43908. "wrfactortypename": {
  43909. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43910. "type": "string"
  43911. },
  43912. "wrholdeno": {
  43913. "description": "仓单编号",
  43914. "type": "string"
  43915. },
  43916. "wrid": {
  43917. "description": "仓单变更ID",
  43918. "type": "string"
  43919. },
  43920. "wrstandardcode": {
  43921. "description": "现货商品代码",
  43922. "type": "string"
  43923. },
  43924. "wrstandardid": {
  43925. "description": "现货商品ID",
  43926. "type": "integer"
  43927. },
  43928. "wrstandardname": {
  43929. "description": "商品名称",
  43930. "type": "string"
  43931. },
  43932. "wrtypename": {
  43933. "description": "商品",
  43934. "type": "string"
  43935. }
  43936. }
  43937. },
  43938. "models.WrMarketTradeConfig": {
  43939. "type": "object",
  43940. "properties": {
  43941. "basisdownratio": {
  43942. "description": "浮动价基差下限比例(仓单贸易)",
  43943. "type": "number"
  43944. },
  43945. "basisupratio": {
  43946. "description": "浮动价基差上限比例(仓单贸易)",
  43947. "type": "number"
  43948. },
  43949. "buychargealgorithm": {
  43950. "description": "买方手续费收取方式 1:比率 2:固定",
  43951. "type": "integer"
  43952. },
  43953. "buychargealgorithm2": {
  43954. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  43955. "type": "integer"
  43956. },
  43957. "buychargealgorithmvalue": {
  43958. "description": "买方手续费设置值(交易所部分)",
  43959. "type": "number"
  43960. },
  43961. "buychargealgorithmvalue2": {
  43962. "description": "买方手续费设置值(会员部分)",
  43963. "type": "number"
  43964. },
  43965. "buychargealgorithmvalue3": {
  43966. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  43967. "type": "number"
  43968. },
  43969. "buychargealgorithmvalue4": {
  43970. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  43971. "type": "number"
  43972. },
  43973. "buyfirstmarginalgorithm": {
  43974. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  43975. "type": "integer"
  43976. },
  43977. "buyfirstmarginvalue": {
  43978. "description": "买方出价保证金设置值 - [竞拍]",
  43979. "type": "number"
  43980. },
  43981. "buymarginalgorithm": {
  43982. "description": "买方保证金方式 - 1:比率 2:固定",
  43983. "type": "integer"
  43984. },
  43985. "buymarginvalue": {
  43986. "description": "买方保证金设置值",
  43987. "type": "number"
  43988. },
  43989. "buyreleaseratio": {
  43990. "description": "买方释放比率[2:分步履约]",
  43991. "type": "number"
  43992. },
  43993. "executemode": {
  43994. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  43995. "type": "integer"
  43996. },
  43997. "executeside": {
  43998. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  43999. "type": "integer"
  44000. },
  44001. "failedchargealgorithm": {
  44002. "description": "流拍手续费收取方式 1:比率 2:固定",
  44003. "type": "integer"
  44004. },
  44005. "failedchargevalue": {
  44006. "description": "流拍手续费设置值",
  44007. "type": "number"
  44008. },
  44009. "failedchargevalue2": {
  44010. "description": "流拍卖方手续费设置值",
  44011. "type": "number"
  44012. },
  44013. "holddays": {
  44014. "description": "合同期限[2:分步履约]",
  44015. "type": "integer"
  44016. },
  44017. "listingmode": {
  44018. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  44019. "type": "integer"
  44020. },
  44021. "marketid": {
  44022. "description": "市场ID-仓单贸易、竞拍、预售",
  44023. "type": "integer"
  44024. },
  44025. "minqty": {
  44026. "description": "最小执行量[2:分步履约]",
  44027. "type": "number"
  44028. },
  44029. "modifierid": {
  44030. "description": "修改人",
  44031. "type": "integer"
  44032. },
  44033. "nowrquotaflag": {
  44034. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  44035. "type": "integer"
  44036. },
  44037. "performancetempid": {
  44038. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  44039. "type": "integer"
  44040. },
  44041. "performancetempid2": {
  44042. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  44043. "type": "integer"
  44044. },
  44045. "performancetempid2s": {
  44046. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  44047. "type": "string"
  44048. },
  44049. "performancetempids": {
  44050. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  44051. "type": "string"
  44052. },
  44053. "performanceway": {
  44054. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  44055. "type": "integer"
  44056. },
  44057. "sellchargealgorithm": {
  44058. "description": "卖方手续费收取方式 1:比率 2:固定",
  44059. "type": "integer"
  44060. },
  44061. "sellchargealgorithm2": {
  44062. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  44063. "type": "integer"
  44064. },
  44065. "sellchargealgorithmvalue": {
  44066. "description": "卖方手续费设置值(交易所部分)",
  44067. "type": "number"
  44068. },
  44069. "sellchargealgorithmvalue2": {
  44070. "description": "卖方手续费设置值(会员部分)",
  44071. "type": "number"
  44072. },
  44073. "sellchargealgorithmvalue3": {
  44074. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  44075. "type": "number"
  44076. },
  44077. "sellchargealgorithmvalue4": {
  44078. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  44079. "type": "number"
  44080. },
  44081. "sellmarginalgorithm": {
  44082. "description": "卖方保证金方式 - 1:比率 2:固定",
  44083. "type": "integer"
  44084. },
  44085. "sellmarginvalue": {
  44086. "description": "卖方保证金设置值",
  44087. "type": "number"
  44088. },
  44089. "sellmarginvalue2": {
  44090. "description": "卖方保证金设置值(无仓单)",
  44091. "type": "number"
  44092. },
  44093. "sellreleaseratio": {
  44094. "description": "卖方释放比率[2:分步履约]",
  44095. "type": "number"
  44096. },
  44097. "updatetime": {
  44098. "description": "更新时间",
  44099. "type": "string"
  44100. }
  44101. }
  44102. },
  44103. "models.WrOrderDetail": {
  44104. "type": "object",
  44105. "properties": {
  44106. "accountid": {
  44107. "description": "交易账号(资金账号)",
  44108. "type": "integer"
  44109. },
  44110. "allfriendsflag": {
  44111. "description": "是否全好友可见 - 0:否 1:是",
  44112. "type": "integer"
  44113. },
  44114. "amount": {
  44115. "description": "期初均价",
  44116. "type": "number"
  44117. },
  44118. "bannerpicurl": {
  44119. "description": "Banner图",
  44120. "type": "string"
  44121. },
  44122. "begindate": {
  44123. "description": "开始交易日(yyyymmdd)",
  44124. "type": "string"
  44125. },
  44126. "buyorsell": {
  44127. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44128. "type": "integer"
  44129. },
  44130. "canbargain": {
  44131. "description": "是否可议价 - 0:不可 1:可",
  44132. "type": "integer"
  44133. },
  44134. "cancelqty": {
  44135. "description": "撤销数量",
  44136. "type": "number"
  44137. },
  44138. "canpart": {
  44139. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  44140. "type": "integer"
  44141. },
  44142. "delistminqty": {
  44143. "description": "起摘数量",
  44144. "type": "integer"
  44145. },
  44146. "deliverygoodscode": {
  44147. "description": "品种代码",
  44148. "type": "string"
  44149. },
  44150. "deliverygoodsid": {
  44151. "description": "品种ID",
  44152. "type": "integer"
  44153. },
  44154. "deliverygoodsname": {
  44155. "description": "品种名称",
  44156. "type": "string"
  44157. },
  44158. "deliverymonth": {
  44159. "description": "交收月",
  44160. "type": "string"
  44161. },
  44162. "enddate": {
  44163. "description": "结束交易日(yyyymmdd)",
  44164. "type": "string"
  44165. },
  44166. "enumdicname": {
  44167. "description": "单位名称",
  44168. "type": "string"
  44169. },
  44170. "fixedprice": {
  44171. "description": "固定价格 - [挂牌]",
  44172. "type": "number"
  44173. },
  44174. "freezecharge": {
  44175. "description": "期初均价",
  44176. "type": "number"
  44177. },
  44178. "freezemargin": {
  44179. "description": "期初均价",
  44180. "type": "number"
  44181. },
  44182. "futupricemove": {
  44183. "description": "期货升贴水",
  44184. "type": "number"
  44185. },
  44186. "futushow": {
  44187. "description": "期货合约/升贴水",
  44188. "type": "string"
  44189. },
  44190. "goodscode": {
  44191. "description": "期货合约",
  44192. "type": "string"
  44193. },
  44194. "goodsid": {
  44195. "description": "期货商品id",
  44196. "type": "integer"
  44197. },
  44198. "goodsname": {
  44199. "description": "商品名称",
  44200. "type": "string"
  44201. },
  44202. "haswr": {
  44203. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44204. "type": "integer"
  44205. },
  44206. "isspecified": {
  44207. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  44208. "type": "integer"
  44209. },
  44210. "ladingbillid": {
  44211. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  44212. "type": "string"
  44213. },
  44214. "marginvalue": {
  44215. "description": "期初均价",
  44216. "type": "number"
  44217. },
  44218. "marketid": {
  44219. "description": "市场ID",
  44220. "type": "integer"
  44221. },
  44222. "matchusername": {
  44223. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  44224. "type": "string"
  44225. },
  44226. "minivalue": {
  44227. "description": "现货商品最小变动值",
  44228. "type": "integer"
  44229. },
  44230. "optioncompare": {
  44231. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44232. "type": "string"
  44233. },
  44234. "orderqty": {
  44235. "description": "委托数量",
  44236. "type": "number"
  44237. },
  44238. "ordertime": {
  44239. "description": "委托时间(挂牌时间)",
  44240. "type": "string"
  44241. },
  44242. "performancetemplateid": {
  44243. "description": "履约模板id",
  44244. "type": "integer"
  44245. },
  44246. "pricemove": {
  44247. "description": "升贴水(浮动价时填写) - [挂牌]",
  44248. "type": "number"
  44249. },
  44250. "taname": {
  44251. "description": "交易用户名称(资金账号名称)",
  44252. "type": "string"
  44253. },
  44254. "thumurls": {
  44255. "description": "缩略图",
  44256. "type": "string"
  44257. },
  44258. "tradedate": {
  44259. "description": "交易日(yyyyMMdd)",
  44260. "type": "string"
  44261. },
  44262. "tradeprice": {
  44263. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  44264. "type": "number"
  44265. },
  44266. "tradeqty": {
  44267. "description": "成交数量",
  44268. "type": "number"
  44269. },
  44270. "userid": {
  44271. "description": "用户ID",
  44272. "type": "integer"
  44273. },
  44274. "validtime": {
  44275. "description": "挂牌有效期",
  44276. "type": "string"
  44277. },
  44278. "validtype": {
  44279. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  44280. "type": "integer"
  44281. },
  44282. "warehouseid": {
  44283. "description": "仓库ID",
  44284. "type": "integer"
  44285. },
  44286. "warehousename": {
  44287. "description": "仓库名称",
  44288. "type": "string"
  44289. },
  44290. "wrfactortypeid": {
  44291. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44292. "type": "string"
  44293. },
  44294. "wrfactortypename": {
  44295. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44296. "type": "string"
  44297. },
  44298. "wrpricetype": {
  44299. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  44300. "type": "integer"
  44301. },
  44302. "wrstandardcode": {
  44303. "description": "现货商品代码",
  44304. "type": "string"
  44305. },
  44306. "wrstandardid": {
  44307. "description": "现货商品ID",
  44308. "type": "integer"
  44309. },
  44310. "wrstandardname": {
  44311. "description": "商品名称",
  44312. "type": "string"
  44313. },
  44314. "wrtradeorderid": {
  44315. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44316. "type": "string"
  44317. },
  44318. "wrtradeorderstatus": {
  44319. "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:撤单解冻贷款失败",
  44320. "type": "integer"
  44321. },
  44322. "wrtradetype": {
  44323. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  44324. "type": "integer"
  44325. },
  44326. "wrtypename": {
  44327. "description": "商品",
  44328. "type": "string"
  44329. }
  44330. }
  44331. },
  44332. "models.WrOrderQuote": {
  44333. "type": "object",
  44334. "properties": {
  44335. "bannerpicurl": {
  44336. "description": "Banner图",
  44337. "type": "string"
  44338. },
  44339. "buyprice": {
  44340. "description": "买价",
  44341. "type": "number"
  44342. },
  44343. "buypricemove": {
  44344. "description": "买升贴水(基差)",
  44345. "type": "number"
  44346. },
  44347. "buyqty": {
  44348. "description": "买量",
  44349. "type": "number"
  44350. },
  44351. "deliverygoodscode": {
  44352. "description": "品种代码",
  44353. "type": "string"
  44354. },
  44355. "deliverygoodsid": {
  44356. "description": "品种id",
  44357. "type": "integer"
  44358. },
  44359. "deliverygoodsname": {
  44360. "description": "品种名称",
  44361. "type": "string"
  44362. },
  44363. "deliverymonth": {
  44364. "description": "交收月",
  44365. "type": "string"
  44366. },
  44367. "enumdicname": {
  44368. "description": "单位名称",
  44369. "type": "string"
  44370. },
  44371. "goodscode": {
  44372. "description": "商品合约(浮动价列表才有)",
  44373. "type": "string"
  44374. },
  44375. "goodsid": {
  44376. "description": "商品id(浮动价列表才有)",
  44377. "type": "integer"
  44378. },
  44379. "minivalue": {
  44380. "description": "现货商品最小变动值",
  44381. "type": "integer"
  44382. },
  44383. "pictureurls": {
  44384. "description": "详情图片(逗号分隔)",
  44385. "type": "string"
  44386. },
  44387. "sellprice": {
  44388. "description": "卖价",
  44389. "type": "number"
  44390. },
  44391. "sellpricemove": {
  44392. "description": "卖升贴水(基差)",
  44393. "type": "number"
  44394. },
  44395. "sellqty": {
  44396. "description": "卖量",
  44397. "type": "number"
  44398. },
  44399. "thumurls": {
  44400. "description": "缩略图片(1:1)(逗号分隔)",
  44401. "type": "string"
  44402. },
  44403. "warehousecode": {
  44404. "description": "仓库代码",
  44405. "type": "string"
  44406. },
  44407. "warehouseid": {
  44408. "description": "仓库id",
  44409. "type": "integer"
  44410. },
  44411. "warehousename": {
  44412. "description": "仓库名称",
  44413. "type": "string"
  44414. },
  44415. "wrfactortypeid": {
  44416. "description": "仓单要素id",
  44417. "type": "string"
  44418. },
  44419. "wrfactortypename": {
  44420. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44421. "type": "string"
  44422. },
  44423. "wrgoodsname": {
  44424. "description": "商品(商品名称+仓库要素名称 拼接)",
  44425. "type": "string"
  44426. },
  44427. "wrstandardcode": {
  44428. "description": "商品代码",
  44429. "type": "string"
  44430. },
  44431. "wrstandardid": {
  44432. "description": "商品id",
  44433. "type": "integer"
  44434. },
  44435. "wrstandardname": {
  44436. "description": "商品名称",
  44437. "type": "string"
  44438. }
  44439. }
  44440. },
  44441. "models.WrOrderQuoteDetail": {
  44442. "type": "object",
  44443. "properties": {
  44444. "buyorsell": {
  44445. "description": "买卖 - 0:买 1:卖",
  44446. "type": "integer"
  44447. },
  44448. "delistminqty": {
  44449. "description": "期初均价",
  44450. "type": "number"
  44451. },
  44452. "deliverymonth": {
  44453. "description": "交收月",
  44454. "type": "string"
  44455. },
  44456. "enumdicname": {
  44457. "description": "单位名称",
  44458. "type": "string"
  44459. },
  44460. "fixedprice": {
  44461. "description": "买(卖)价",
  44462. "type": "number"
  44463. },
  44464. "marketid": {
  44465. "description": "市场id",
  44466. "type": "integer"
  44467. },
  44468. "minivalue": {
  44469. "description": "现货商品最小变动值",
  44470. "type": "integer"
  44471. },
  44472. "orderqty": {
  44473. "description": "买(卖)量(=委托量-成交量)",
  44474. "type": "number"
  44475. },
  44476. "ordertime": {
  44477. "description": "委托时间",
  44478. "type": "string"
  44479. },
  44480. "pricemove": {
  44481. "description": "买(卖)升贴水- 基差",
  44482. "type": "number"
  44483. },
  44484. "userid": {
  44485. "description": "购买方(销售方)用户ID",
  44486. "type": "integer"
  44487. },
  44488. "username": {
  44489. "description": "购买方(销售方)",
  44490. "type": "string"
  44491. },
  44492. "wrtradeorderid": {
  44493. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44494. "type": "string"
  44495. }
  44496. }
  44497. },
  44498. "models.WrOutInApply": {
  44499. "type": "object",
  44500. "properties": {
  44501. "applyid": {
  44502. "description": "申请单id",
  44503. "type": "string"
  44504. },
  44505. "applystatus": {
  44506. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  44507. "type": "integer"
  44508. },
  44509. "applytime": {
  44510. "description": "申请时间",
  44511. "type": "string"
  44512. },
  44513. "applytype": {
  44514. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  44515. "type": "integer"
  44516. },
  44517. "bannerpicurl": {
  44518. "description": "Banner图",
  44519. "type": "string"
  44520. },
  44521. "begindate": {
  44522. "description": "开始交易日(yyyymmdd)",
  44523. "type": "string"
  44524. },
  44525. "deliverygoodscode": {
  44526. "description": "品种代码",
  44527. "type": "string"
  44528. },
  44529. "deliverygoodsid": {
  44530. "description": "品种ID",
  44531. "type": "integer"
  44532. },
  44533. "deliverygoodsname": {
  44534. "description": "品种名称",
  44535. "type": "string"
  44536. },
  44537. "enddate": {
  44538. "description": "结束交易日(yyyymmdd)",
  44539. "type": "string"
  44540. },
  44541. "enumdicname": {
  44542. "description": "单位名称",
  44543. "type": "string"
  44544. },
  44545. "expresscompany": {
  44546. "description": "物流公司",
  44547. "type": "string"
  44548. },
  44549. "expressnum": {
  44550. "description": "物流单号",
  44551. "type": "string"
  44552. },
  44553. "minivalue": {
  44554. "description": "现货商品最小变动值",
  44555. "type": "integer"
  44556. },
  44557. "optioncompare": {
  44558. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44559. "type": "string"
  44560. },
  44561. "qty": {
  44562. "description": "数量",
  44563. "type": "integer"
  44564. },
  44565. "userid": {
  44566. "description": "用户id",
  44567. "type": "integer"
  44568. },
  44569. "warehouseid": {
  44570. "description": "仓库ID",
  44571. "type": "integer"
  44572. },
  44573. "warehousename": {
  44574. "description": "仓库名称",
  44575. "type": "string"
  44576. },
  44577. "wrfactortypeid": {
  44578. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44579. "type": "string"
  44580. },
  44581. "wrfactortypename": {
  44582. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44583. "type": "string"
  44584. },
  44585. "wrstandardcode": {
  44586. "description": "现货商品代码",
  44587. "type": "string"
  44588. },
  44589. "wrstandardid": {
  44590. "description": "现货商品ID",
  44591. "type": "integer"
  44592. },
  44593. "wrstandardname": {
  44594. "description": "商品名称",
  44595. "type": "string"
  44596. },
  44597. "wrtypename": {
  44598. "description": "商品",
  44599. "type": "string"
  44600. }
  44601. }
  44602. },
  44603. "models.WrPerformancePlan": {
  44604. "type": "object",
  44605. "required": [
  44606. "userid"
  44607. ],
  44608. "properties": {
  44609. "activatemonth": {
  44610. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  44611. "type": "string"
  44612. },
  44613. "amount": {
  44614. "description": "履约金额(总金额)",
  44615. "type": "number"
  44616. },
  44617. "begindate": {
  44618. "description": "开始交易日(yyyymmdd)",
  44619. "type": "string"
  44620. },
  44621. "buyaccountid": {
  44622. "description": "买方账号",
  44623. "type": "integer"
  44624. },
  44625. "buyerfreezeamount": {
  44626. "description": "履约冻结(买履约)",
  44627. "type": "number"
  44628. },
  44629. "buyerfreezeamountremain": {
  44630. "description": "履约冻结剩余(买履约)",
  44631. "type": "number"
  44632. },
  44633. "buyorsell": {
  44634. "description": "买卖方向 0-买 1-卖",
  44635. "type": "integer"
  44636. },
  44637. "buypaidamount": {
  44638. "description": "买方已冻/已扣金额 (已付金额)",
  44639. "type": "number"
  44640. },
  44641. "buyusername": {
  44642. "description": "买方名字",
  44643. "type": "string"
  44644. },
  44645. "contractid": {
  44646. "description": "合同ID",
  44647. "type": "integer"
  44648. },
  44649. "createtime": {
  44650. "description": "创建时间",
  44651. "type": "string"
  44652. },
  44653. "creatorid": {
  44654. "description": "创建人",
  44655. "type": "integer"
  44656. },
  44657. "curstepdeadline": {
  44658. "description": "当前步骤到期时间",
  44659. "type": "string"
  44660. },
  44661. "curstepid": {
  44662. "description": "当前步骤ID",
  44663. "type": "string"
  44664. },
  44665. "curstepname": {
  44666. "description": "当前步骤名称",
  44667. "type": "string"
  44668. },
  44669. "deliverygoodscode": {
  44670. "description": "品种代码",
  44671. "type": "string"
  44672. },
  44673. "deliverygoodsid": {
  44674. "description": "品种ID",
  44675. "type": "integer"
  44676. },
  44677. "deliverygoodsname": {
  44678. "description": "品种名称",
  44679. "type": "string"
  44680. },
  44681. "enddate": {
  44682. "description": "结束交易日(yyyymmdd)",
  44683. "type": "string"
  44684. },
  44685. "enumdicname": {
  44686. "description": "单位名称",
  44687. "type": "string"
  44688. },
  44689. "expressfee": {
  44690. "description": "运费",
  44691. "type": "number"
  44692. },
  44693. "expressfeeconfirmed": {
  44694. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  44695. "type": "integer"
  44696. },
  44697. "hasovershort": {
  44698. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  44699. "type": "integer"
  44700. },
  44701. "haswr": {
  44702. "description": "类型 0-仓单预售 1-仓单贸易",
  44703. "type": "integer"
  44704. },
  44705. "marketid": {
  44706. "description": "市场ID",
  44707. "type": "integer"
  44708. },
  44709. "middleaccountid": {
  44710. "description": "中间商资金账号ID",
  44711. "type": "integer"
  44712. },
  44713. "middleuserid": {
  44714. "description": "中间商用户ID",
  44715. "type": "integer"
  44716. },
  44717. "minivalue": {
  44718. "description": "现货商品最小变动值",
  44719. "type": "integer"
  44720. },
  44721. "optioncompare": {
  44722. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44723. "type": "string"
  44724. },
  44725. "overshortamount": {
  44726. "description": "溢短金额",
  44727. "type": "number"
  44728. },
  44729. "overshortqty": {
  44730. "description": "溢短数量",
  44731. "type": "number"
  44732. },
  44733. "paymenttype": {
  44734. "description": "付款方式 - 1:冻结 2:扣款",
  44735. "type": "integer"
  44736. },
  44737. "performanceplanid": {
  44738. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  44739. "type": "string"
  44740. },
  44741. "performancestatus": {
  44742. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  44743. "type": "integer"
  44744. },
  44745. "performancetype": {
  44746. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  44747. "type": "integer"
  44748. },
  44749. "qty": {
  44750. "description": "履约数量",
  44751. "type": "number"
  44752. },
  44753. "relatedorderid": {
  44754. "description": "关联单号(履约类型的关联单号)",
  44755. "type": "string"
  44756. },
  44757. "remark": {
  44758. "description": "备注",
  44759. "type": "string"
  44760. },
  44761. "sellaccountid": {
  44762. "description": "卖方账号",
  44763. "type": "integer"
  44764. },
  44765. "sellerfreezeamount": {
  44766. "description": "履约冻结(卖履约)",
  44767. "type": "number"
  44768. },
  44769. "sellerfreezeamountremain": {
  44770. "description": "履约冻结剩余(卖履约)",
  44771. "type": "number"
  44772. },
  44773. "sellreceivedamount": {
  44774. "description": "卖方已收金额",
  44775. "type": "number"
  44776. },
  44777. "sellusername": {
  44778. "description": "卖方名字",
  44779. "type": "string"
  44780. },
  44781. "shipremark": {
  44782. "description": "发货备注[物流单号]",
  44783. "type": "string"
  44784. },
  44785. "starttime": {
  44786. "description": "开始时间",
  44787. "type": "string"
  44788. },
  44789. "steptypeid": {
  44790. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44791. "type": "integer"
  44792. },
  44793. "typename": {
  44794. "description": "履约类型 名称",
  44795. "type": "string"
  44796. },
  44797. "unpaidamount": {
  44798. "description": "期初均价",
  44799. "type": "number"
  44800. },
  44801. "userid": {
  44802. "description": "用户id",
  44803. "type": "integer"
  44804. },
  44805. "warehouseid": {
  44806. "description": "仓库ID",
  44807. "type": "integer"
  44808. },
  44809. "warehousename": {
  44810. "description": "仓库名称",
  44811. "type": "string"
  44812. },
  44813. "wrfactortypeid": {
  44814. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44815. "type": "string"
  44816. },
  44817. "wrfactortypename": {
  44818. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44819. "type": "string"
  44820. },
  44821. "wrstandardcode": {
  44822. "description": "现货商品代码",
  44823. "type": "string"
  44824. },
  44825. "wrstandardid": {
  44826. "description": "现货商品ID",
  44827. "type": "integer"
  44828. },
  44829. "wrstandardname": {
  44830. "description": "商品名称",
  44831. "type": "string"
  44832. },
  44833. "wrtransferuserid": {
  44834. "description": "仓单受让用户",
  44835. "type": "integer"
  44836. },
  44837. "wrtypename": {
  44838. "description": "商品",
  44839. "type": "string"
  44840. }
  44841. }
  44842. },
  44843. "models.WrPerformancePlanStep": {
  44844. "type": "object",
  44845. "properties": {
  44846. "delaydays": {
  44847. "description": "延期申请天数",
  44848. "type": "integer"
  44849. },
  44850. "deliverygoodscode": {
  44851. "description": "品种代码",
  44852. "type": "string"
  44853. },
  44854. "deliverygoodsid": {
  44855. "description": "品种ID",
  44856. "type": "integer"
  44857. },
  44858. "deliverygoodsname": {
  44859. "description": "品种名称",
  44860. "type": "string"
  44861. },
  44862. "endtime": {
  44863. "description": "结束日期",
  44864. "type": "string"
  44865. },
  44866. "enumdicname": {
  44867. "description": "单位名称",
  44868. "type": "string"
  44869. },
  44870. "executeside": {
  44871. "description": "步骤执行方 - 1:买方 2:卖方",
  44872. "type": "integer"
  44873. },
  44874. "handlestatus": {
  44875. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  44876. "type": "integer"
  44877. },
  44878. "isauto": {
  44879. "description": "是否自动 - 0:不自动 1:自动",
  44880. "type": "integer"
  44881. },
  44882. "islastreceivestep": {
  44883. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  44884. "type": "integer"
  44885. },
  44886. "minivalue": {
  44887. "description": "现货商品最小变动值",
  44888. "type": "integer"
  44889. },
  44890. "optioncompare": {
  44891. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44892. "type": "string"
  44893. },
  44894. "overdays": {
  44895. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  44896. "type": "integer"
  44897. },
  44898. "performancestepid": {
  44899. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  44900. "type": "string"
  44901. },
  44902. "planid": {
  44903. "description": "所属履约计划ID",
  44904. "type": "string"
  44905. },
  44906. "realamount": {
  44907. "description": "实际完成金额",
  44908. "type": "number"
  44909. },
  44910. "relatedorderid": {
  44911. "description": "关联单号",
  44912. "type": "string"
  44913. },
  44914. "remaindays": {
  44915. "description": "剩余天数",
  44916. "type": "integer"
  44917. },
  44918. "remark": {
  44919. "description": "错误备注",
  44920. "type": "string"
  44921. },
  44922. "starttime": {
  44923. "description": "开始日期",
  44924. "type": "string"
  44925. },
  44926. "stepamount": {
  44927. "description": "步骤金额",
  44928. "type": "number"
  44929. },
  44930. "stepdays": {
  44931. "description": "距离上一步天数(分钟)",
  44932. "type": "integer"
  44933. },
  44934. "stepindex": {
  44935. "description": "步骤序号",
  44936. "type": "integer"
  44937. },
  44938. "steplanchtype": {
  44939. "description": "步骤启动类型 - 1:系统自动 2:手动",
  44940. "type": "integer"
  44941. },
  44942. "stepremark": {
  44943. "description": "步骤备注",
  44944. "type": "string"
  44945. },
  44946. "stepstatus": {
  44947. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  44948. "type": "integer"
  44949. },
  44950. "steptypeid": {
  44951. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44952. "type": "integer"
  44953. },
  44954. "steptypename": {
  44955. "description": "步骤名称",
  44956. "type": "string"
  44957. },
  44958. "stepvalue": {
  44959. "description": "步骤值",
  44960. "type": "number"
  44961. },
  44962. "warehouseid": {
  44963. "description": "仓库ID",
  44964. "type": "integer"
  44965. },
  44966. "warehousename": {
  44967. "description": "仓库名称",
  44968. "type": "string"
  44969. },
  44970. "wrfactortypeid": {
  44971. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44972. "type": "string"
  44973. },
  44974. "wrfactortypename": {
  44975. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44976. "type": "string"
  44977. },
  44978. "wrstandardcode": {
  44979. "description": "现货商品代码",
  44980. "type": "string"
  44981. },
  44982. "wrstandardid": {
  44983. "description": "现货商品ID",
  44984. "type": "integer"
  44985. },
  44986. "wrstandardname": {
  44987. "description": "商品名称",
  44988. "type": "string"
  44989. },
  44990. "wrtypename": {
  44991. "description": "商品",
  44992. "type": "string"
  44993. }
  44994. }
  44995. },
  44996. "models.WrPerformanceStepType": {
  44997. "type": "object",
  44998. "properties": {
  44999. "canauto": {
  45000. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  45001. "type": "integer"
  45002. },
  45003. "steptypeid": {
  45004. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  45005. "type": "integer"
  45006. },
  45007. "steptypename": {
  45008. "description": "步骤类型名称",
  45009. "type": "string"
  45010. }
  45011. }
  45012. },
  45013. "models.WrPerformanceTemplateEx": {
  45014. "type": "object",
  45015. "properties": {
  45016. "autoid": {
  45017. "description": "AutoID 模板id",
  45018. "type": "integer"
  45019. },
  45020. "createtime": {
  45021. "description": "创建时间",
  45022. "type": "string"
  45023. },
  45024. "creatorid": {
  45025. "description": "创建人",
  45026. "type": "integer"
  45027. },
  45028. "lstStep": {
  45029. "description": "步骤信息列表",
  45030. "type": "array",
  45031. "items": {
  45032. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  45033. }
  45034. },
  45035. "paymenttype": {
  45036. "description": "支付方式 - 1:冻结 2:扣款",
  45037. "type": "integer"
  45038. },
  45039. "takemode": {
  45040. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  45041. "type": "integer"
  45042. },
  45043. "templatename": {
  45044. "description": "模板名称",
  45045. "type": "string"
  45046. },
  45047. "templatetype": {
  45048. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  45049. "type": "integer"
  45050. },
  45051. "userid": {
  45052. "description": "所属用户",
  45053. "type": "integer"
  45054. }
  45055. }
  45056. },
  45057. "models.WrPosition": {
  45058. "type": "object",
  45059. "properties": {
  45060. "accountid": {
  45061. "description": "帐户ID",
  45062. "type": "integer"
  45063. },
  45064. "buyexcuteqty": {
  45065. "description": "采购履约中数量",
  45066. "type": "number"
  45067. },
  45068. "creditcurqty": {
  45069. "description": "授信当前数量(预售仓单:预售当前量)",
  45070. "type": "number"
  45071. },
  45072. "creditenableqty": {
  45073. "description": "授信可用数量(预售仓单: 可用数量)",
  45074. "type": "number"
  45075. },
  45076. "creditfreezeqty": {
  45077. "description": "授信冻结数量(预售仓单: 当前数量)",
  45078. "type": "number"
  45079. },
  45080. "credittotalqty": {
  45081. "description": "授信总数量(预售仓单:预售总量)",
  45082. "type": "number"
  45083. },
  45084. "credittradeqty": {
  45085. "description": "授信成交数量(预售仓单:成交总量)",
  45086. "type": "number"
  45087. },
  45088. "deliverygoodscode": {
  45089. "description": "品种代码",
  45090. "type": "string"
  45091. },
  45092. "deliverygoodsid": {
  45093. "description": "品种ID",
  45094. "type": "integer"
  45095. },
  45096. "deliverygoodsname": {
  45097. "description": "品种名称",
  45098. "type": "string"
  45099. },
  45100. "enalbeqty": {
  45101. "description": "可用数量",
  45102. "type": "number"
  45103. },
  45104. "enumdicname": {
  45105. "description": "单位名称",
  45106. "type": "string"
  45107. },
  45108. "freezeqty": {
  45109. "description": "总冻结数量",
  45110. "type": "number"
  45111. },
  45112. "haswr": {
  45113. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45114. "type": "integer"
  45115. },
  45116. "minivalue": {
  45117. "description": "现货商品最小变动值",
  45118. "type": "integer"
  45119. },
  45120. "modifytime": {
  45121. "description": "修改时间(过户时间)",
  45122. "type": "string"
  45123. },
  45124. "optioncompare": {
  45125. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45126. "type": "string"
  45127. },
  45128. "pledgeqty": {
  45129. "description": "质押数量",
  45130. "type": "number"
  45131. },
  45132. "querytype": {
  45133. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  45134. "type": "integer"
  45135. },
  45136. "sellexcuteqty": {
  45137. "description": "销售履约中数量",
  45138. "type": "number"
  45139. },
  45140. "totalqty": {
  45141. "description": "总数量(库存数量)",
  45142. "type": "number"
  45143. },
  45144. "warehouseid": {
  45145. "description": "仓库ID",
  45146. "type": "integer"
  45147. },
  45148. "warehousename": {
  45149. "description": "仓库名称",
  45150. "type": "string"
  45151. },
  45152. "wrfactortypeid": {
  45153. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45154. "type": "string"
  45155. },
  45156. "wrfactortypename": {
  45157. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45158. "type": "string"
  45159. },
  45160. "wrpositionid": {
  45161. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  45162. "type": "string"
  45163. },
  45164. "wrpositionno": {
  45165. "description": "仓单编号",
  45166. "type": "string"
  45167. },
  45168. "wrstandardcode": {
  45169. "description": "现货商品代码",
  45170. "type": "string"
  45171. },
  45172. "wrstandardid": {
  45173. "description": "现货商品ID",
  45174. "type": "integer"
  45175. },
  45176. "wrstandardname": {
  45177. "description": "商品名称",
  45178. "type": "string"
  45179. },
  45180. "wrtypename": {
  45181. "description": "商品",
  45182. "type": "string"
  45183. },
  45184. "wruserid": {
  45185. "description": "持有人ID",
  45186. "type": "integer"
  45187. }
  45188. }
  45189. },
  45190. "models.WrPreSaleInfo": {
  45191. "type": "object",
  45192. "properties": {
  45193. "bannerpicurl": {
  45194. "description": "Banner图",
  45195. "type": "string"
  45196. },
  45197. "baseqty": {
  45198. "description": "中签基数",
  45199. "type": "number"
  45200. },
  45201. "createtime": {
  45202. "description": "创建时间",
  45203. "type": "string"
  45204. },
  45205. "deliverygoodsid": {
  45206. "description": "现货品种ID",
  45207. "type": "integer"
  45208. },
  45209. "enddate": {
  45210. "description": "预售结束日期",
  45211. "type": "string"
  45212. },
  45213. "enumdicname": {
  45214. "description": "单位名称",
  45215. "type": "string"
  45216. },
  45217. "lotteryflag": {
  45218. "description": "摇号标识 - 0:未摇号 1:已摇号",
  45219. "type": "integer"
  45220. },
  45221. "lotteryqty": {
  45222. "description": "摇号总量",
  45223. "type": "number"
  45224. },
  45225. "luckyqty": {
  45226. "description": "已中签量",
  45227. "type": "number"
  45228. },
  45229. "marketid": {
  45230. "description": "市场ID",
  45231. "type": "integer"
  45232. },
  45233. "maxbuyqty": {
  45234. "description": "单人最大申购量",
  45235. "type": "number"
  45236. },
  45237. "maxluckyqty": {
  45238. "description": "单人最大中签量",
  45239. "type": "number"
  45240. },
  45241. "pictureurls": {
  45242. "description": "详情图片(逗号分隔)",
  45243. "type": "string"
  45244. },
  45245. "placeqty": {
  45246. "description": "已配售量",
  45247. "type": "number"
  45248. },
  45249. "presaleapplyid": {
  45250. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  45251. "type": "string",
  45252. "example": "0"
  45253. },
  45254. "presaleqty": {
  45255. "description": "预售总量",
  45256. "type": "number"
  45257. },
  45258. "presalestatus": {
  45259. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  45260. "type": "integer"
  45261. },
  45262. "sellaccountid": {
  45263. "description": "发行方资金账户ID",
  45264. "type": "integer"
  45265. },
  45266. "selluserid": {
  45267. "description": "发行方用户ID",
  45268. "type": "integer"
  45269. },
  45270. "sellwrtradeorderid": {
  45271. "description": "发行方卖委托单ID",
  45272. "type": "string"
  45273. },
  45274. "startdate": {
  45275. "description": "预售开始日期",
  45276. "type": "string"
  45277. },
  45278. "takestartdate": {
  45279. "description": "提货开始日期",
  45280. "type": "string"
  45281. },
  45282. "thumurls": {
  45283. "description": "缩略图片(1:1)(逗号分隔)",
  45284. "type": "string"
  45285. },
  45286. "tradedate": {
  45287. "description": "交易日",
  45288. "type": "string"
  45289. },
  45290. "unitid": {
  45291. "description": "单位ID",
  45292. "type": "integer"
  45293. },
  45294. "unitprice": {
  45295. "description": "商品单价",
  45296. "type": "number"
  45297. },
  45298. "username": {
  45299. "description": "发行方用户名称",
  45300. "type": "string"
  45301. },
  45302. "warehousecode": {
  45303. "description": "仓库代码(仓库简称)",
  45304. "type": "string"
  45305. },
  45306. "warehouseid": {
  45307. "description": "仓库ID",
  45308. "type": "integer"
  45309. },
  45310. "warehousename": {
  45311. "description": "仓库名称",
  45312. "type": "string"
  45313. },
  45314. "wrfactortypeid": {
  45315. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  45316. "type": "string",
  45317. "example": "0"
  45318. },
  45319. "wrstandardid": {
  45320. "description": "现货商品ID",
  45321. "type": "integer"
  45322. },
  45323. "wrstandardname": {
  45324. "description": "现货商品名称",
  45325. "type": "string"
  45326. }
  45327. }
  45328. },
  45329. "models.WrQuoteOrderMyq": {
  45330. "type": "object",
  45331. "properties": {
  45332. "buyorsell": {
  45333. "description": "买卖 - 0:买 1:卖",
  45334. "type": "integer"
  45335. },
  45336. "canbargain": {
  45337. "description": "是否可议价 - 0:不可 1:可",
  45338. "type": "integer"
  45339. },
  45340. "canpart": {
  45341. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  45342. "type": "integer"
  45343. },
  45344. "delistminqty": {
  45345. "description": "期初均价",
  45346. "type": "number"
  45347. },
  45348. "deliverygoodscode": {
  45349. "description": "品种代码",
  45350. "type": "string"
  45351. },
  45352. "deliverygoodsid": {
  45353. "description": "品种ID",
  45354. "type": "integer"
  45355. },
  45356. "deliverygoodsname": {
  45357. "description": "品种名称",
  45358. "type": "string"
  45359. },
  45360. "deliverymonth": {
  45361. "description": "交收月",
  45362. "type": "string"
  45363. },
  45364. "enumdicname": {
  45365. "description": "单位名称",
  45366. "type": "string"
  45367. },
  45368. "fixedprice": {
  45369. "description": "买(卖)价",
  45370. "type": "number"
  45371. },
  45372. "goodscode": {
  45373. "description": "商品合约代码",
  45374. "type": "string"
  45375. },
  45376. "marginflag": {
  45377. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  45378. "type": "integer"
  45379. },
  45380. "marginvalue": {
  45381. "description": "保证金设置值",
  45382. "type": "number"
  45383. },
  45384. "minivalue": {
  45385. "description": "现货商品最小变动值",
  45386. "type": "integer"
  45387. },
  45388. "orderqty": {
  45389. "description": "买(卖)量(=委托量-成交量)",
  45390. "type": "number"
  45391. },
  45392. "ordertime": {
  45393. "description": "委托时间",
  45394. "type": "string"
  45395. },
  45396. "performancetemplateid": {
  45397. "description": "履约模板id",
  45398. "type": "integer"
  45399. },
  45400. "pricemove": {
  45401. "description": "买(卖)升贴水- 基差",
  45402. "type": "number"
  45403. },
  45404. "templatename": {
  45405. "description": "履约模板名称",
  45406. "type": "string"
  45407. },
  45408. "userid": {
  45409. "description": "购买方(销售方)用户ID",
  45410. "type": "integer"
  45411. },
  45412. "username": {
  45413. "description": "购买方(销售方)",
  45414. "type": "string"
  45415. },
  45416. "validtime": {
  45417. "description": "有效期限",
  45418. "type": "string"
  45419. },
  45420. "validtype": {
  45421. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  45422. "type": "integer"
  45423. },
  45424. "warehousename": {
  45425. "description": "仓库名称",
  45426. "type": "string"
  45427. },
  45428. "wrfactortypeid": {
  45429. "description": "仓单要素id",
  45430. "type": "string"
  45431. },
  45432. "wrstandardcode": {
  45433. "description": "现货商品代码",
  45434. "type": "string"
  45435. },
  45436. "wrstandardid": {
  45437. "description": "现货商品ID",
  45438. "type": "integer"
  45439. },
  45440. "wrstandardname": {
  45441. "description": "商品名称",
  45442. "type": "string"
  45443. },
  45444. "wrtradeorderid": {
  45445. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45446. "type": "string"
  45447. },
  45448. "wrtypename": {
  45449. "description": "商品",
  45450. "type": "string"
  45451. }
  45452. }
  45453. },
  45454. "models.WrReckonSpotGoodsTradeSum": {
  45455. "type": "object",
  45456. "properties": {
  45457. "begindate": {
  45458. "description": "开始日期(结果含开始日期) yyyymmdd",
  45459. "type": "string"
  45460. },
  45461. "enddate": {
  45462. "description": "结束日期(结果含结束日期) yyyymmdd",
  45463. "type": "string"
  45464. },
  45465. "istoday": {
  45466. "description": "是否当日",
  45467. "type": "boolean"
  45468. },
  45469. "marketid": {
  45470. "description": "市场ID",
  45471. "type": "integer"
  45472. },
  45473. "price": {
  45474. "description": "价格 = 日成交金额 / 日成交数量",
  45475. "type": "string"
  45476. },
  45477. "reckondate": {
  45478. "description": "日期 格式 yyyymmdd",
  45479. "type": "string"
  45480. },
  45481. "tradeamount": {
  45482. "description": "期初均价",
  45483. "type": "number"
  45484. },
  45485. "tradeqty": {
  45486. "description": "期初均价",
  45487. "type": "number"
  45488. },
  45489. "wrstandardid": {
  45490. "description": "现货商品ID",
  45491. "type": "integer"
  45492. }
  45493. }
  45494. },
  45495. "models.WrScfContract": {
  45496. "type": "object",
  45497. "properties": {
  45498. "borroweruserid": {
  45499. "description": "借款用户ID",
  45500. "type": "integer"
  45501. },
  45502. "buybackwrpositionqty": {
  45503. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  45504. "type": "number"
  45505. },
  45506. "closeinterest": {
  45507. "description": "已结利息 -\u003e 已结费用",
  45508. "type": "number"
  45509. },
  45510. "currisklevel": {
  45511. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  45512. "type": "integer"
  45513. },
  45514. "deadline": {
  45515. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  45516. "type": "string"
  45517. },
  45518. "deliverygoodscode": {
  45519. "description": "品种代码",
  45520. "type": "string"
  45521. },
  45522. "deliverygoodsid": {
  45523. "description": "品种ID",
  45524. "type": "integer"
  45525. },
  45526. "deliverygoodsname": {
  45527. "description": "品种名称",
  45528. "type": "string"
  45529. },
  45530. "enumdicname": {
  45531. "description": "单位名称",
  45532. "type": "string"
  45533. },
  45534. "financingdays": {
  45535. "description": "天数(天)",
  45536. "type": "integer"
  45537. },
  45538. "initmargin": {
  45539. "description": "保证金 - [仓单回购]",
  45540. "type": "number"
  45541. },
  45542. "interestamount": {
  45543. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  45544. "type": "number"
  45545. },
  45546. "interestdebt": {
  45547. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  45548. "type": "number"
  45549. },
  45550. "interestminlen": {
  45551. "description": "最小起息天数",
  45552. "type": "integer"
  45553. },
  45554. "interestrate": {
  45555. "description": "利率",
  45556. "type": "number"
  45557. },
  45558. "interestratemode": {
  45559. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  45560. "type": "integer"
  45561. },
  45562. "interestsettlemode": {
  45563. "description": "结息方式 - 1:按日结息 3:按月结息",
  45564. "type": "integer"
  45565. },
  45566. "interestsettlevalue": {
  45567. "description": "结息方式值",
  45568. "type": "integer"
  45569. },
  45570. "isautoloan": {
  45571. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  45572. "type": "integer"
  45573. },
  45574. "lastcloseinterestday": {
  45575. "description": "最近结息日(yyyyMMdd)",
  45576. "type": "string"
  45577. },
  45578. "lenderamount": {
  45579. "description": "贷款金额 -\u003e 借款金额",
  45580. "type": "number"
  45581. },
  45582. "lenderuserid": {
  45583. "description": "贷款方用户ID -\u003e 融出方用户ID",
  45584. "type": "integer"
  45585. },
  45586. "lenderusername": {
  45587. "description": "融出方",
  45588. "type": "string"
  45589. },
  45590. "marginratio": {
  45591. "description": "保证金比率质押率 - [仓单质押]",
  45592. "type": "number"
  45593. },
  45594. "marketid": {
  45595. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  45596. "type": "integer"
  45597. },
  45598. "minivalue": {
  45599. "description": "现货商品最小变动值",
  45600. "type": "integer"
  45601. },
  45602. "optioncompare": {
  45603. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45604. "type": "string"
  45605. },
  45606. "pricemove": {
  45607. "description": "估值升贴水值",
  45608. "type": "number"
  45609. },
  45610. "productdetailid": {
  45611. "description": "产品组合ID",
  45612. "type": "integer"
  45613. },
  45614. "productid": {
  45615. "description": "金融产品ID",
  45616. "type": "integer"
  45617. },
  45618. "productname": {
  45619. "description": "产品名称",
  45620. "type": "string"
  45621. },
  45622. "remainamount": {
  45623. "description": "合同剩余金额 -\u003e 剩余金额",
  45624. "type": "number"
  45625. },
  45626. "remainwrpositionqty": {
  45627. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  45628. "type": "number"
  45629. },
  45630. "remark": {
  45631. "description": "备注",
  45632. "type": "string"
  45633. },
  45634. "scfcontractid": {
  45635. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  45636. "type": "string"
  45637. },
  45638. "scfcontractstatus": {
  45639. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  45640. "type": "integer"
  45641. },
  45642. "scfcontracttype": {
  45643. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  45644. "type": "integer"
  45645. },
  45646. "startinterestday": {
  45647. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  45648. "type": "string"
  45649. },
  45650. "totalinterest": {
  45651. "description": "已计利息 -\u003e 已计费用",
  45652. "type": "number"
  45653. },
  45654. "unpaidinterest": {
  45655. "description": "期初均价",
  45656. "type": "number"
  45657. },
  45658. "updatetime": {
  45659. "description": "更新时间",
  45660. "type": "string"
  45661. },
  45662. "warehouseid": {
  45663. "description": "仓库ID",
  45664. "type": "integer"
  45665. },
  45666. "warehousename": {
  45667. "description": "仓库名称",
  45668. "type": "string"
  45669. },
  45670. "wrfactortypeid": {
  45671. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45672. "type": "string"
  45673. },
  45674. "wrfactortypename": {
  45675. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45676. "type": "string"
  45677. },
  45678. "wrqty": {
  45679. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  45680. "type": "number"
  45681. },
  45682. "wrstandardcode": {
  45683. "description": "现货商品代码",
  45684. "type": "string"
  45685. },
  45686. "wrstandardid": {
  45687. "description": "现货商品ID",
  45688. "type": "integer"
  45689. },
  45690. "wrstandardname": {
  45691. "description": "商品名称",
  45692. "type": "string"
  45693. },
  45694. "wrtypename": {
  45695. "description": "商品",
  45696. "type": "string"
  45697. }
  45698. }
  45699. },
  45700. "models.WrScfContractInterest": {
  45701. "type": "object",
  45702. "properties": {
  45703. "closeinterest": {
  45704. "description": "已结利息",
  45705. "type": "number"
  45706. },
  45707. "closeintereststatus": {
  45708. "description": "结息状态 - 1:未结 2:已结",
  45709. "type": "integer"
  45710. },
  45711. "closetime": {
  45712. "description": "结息时间",
  45713. "type": "string"
  45714. },
  45715. "closetradedate": {
  45716. "description": "结息交易日",
  45717. "type": "string"
  45718. },
  45719. "creatorid": {
  45720. "description": "操作人ID",
  45721. "type": "integer"
  45722. },
  45723. "dayrate": {
  45724. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  45725. "type": "number"
  45726. },
  45727. "interest": {
  45728. "description": "利息",
  45729. "type": "number"
  45730. },
  45731. "interestamount": {
  45732. "description": "计息金额",
  45733. "type": "number"
  45734. },
  45735. "interestday": {
  45736. "description": "计息日(yyyyMMdd)",
  45737. "type": "string"
  45738. },
  45739. "scfcontractid": {
  45740. "description": "SCF合同ID",
  45741. "type": "string"
  45742. },
  45743. "scfcontractinterestid": {
  45744. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  45745. "type": "integer"
  45746. },
  45747. "updatetime": {
  45748. "description": "更新时间",
  45749. "type": "string"
  45750. }
  45751. }
  45752. },
  45753. "models.WrSearchUser": {
  45754. "type": "object",
  45755. "required": [
  45756. "username"
  45757. ],
  45758. "properties": {
  45759. "userid": {
  45760. "description": "用户ID",
  45761. "type": "integer"
  45762. },
  45763. "username": {
  45764. "description": "用户名称(已脱敏)",
  45765. "type": "string"
  45766. },
  45767. "username2": {
  45768. "description": "用户名称(未脱敏)",
  45769. "type": "string"
  45770. },
  45771. "usertype": {
  45772. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  45773. "type": "integer"
  45774. }
  45775. }
  45776. },
  45777. "models.WrSiteColumnDetail": {
  45778. "type": "object",
  45779. "properties": {
  45780. "brief": {
  45781. "description": "简介",
  45782. "type": "string"
  45783. },
  45784. "context": {
  45785. "description": "内容",
  45786. "type": "string"
  45787. },
  45788. "coverimage": {
  45789. "description": "封面图片",
  45790. "type": "string"
  45791. },
  45792. "creaedate": {
  45793. "description": "创建时间",
  45794. "type": "string"
  45795. },
  45796. "id": {
  45797. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  45798. "type": "integer"
  45799. },
  45800. "istop": {
  45801. "description": "是否置顶 - 0:不置 1:置顶",
  45802. "type": "integer"
  45803. },
  45804. "publishdate": {
  45805. "description": "发布日期",
  45806. "type": "string"
  45807. },
  45808. "title": {
  45809. "description": "标题",
  45810. "type": "string"
  45811. },
  45812. "updatedate": {
  45813. "description": "修改时间",
  45814. "type": "string"
  45815. }
  45816. }
  45817. },
  45818. "models.WrSpecialMatchOrder": {
  45819. "type": "object",
  45820. "properties": {
  45821. "amount": {
  45822. "description": "金额 = 数量 * 价格",
  45823. "type": "number"
  45824. },
  45825. "buyorsell": {
  45826. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  45827. "type": "integer"
  45828. },
  45829. "cancelqty": {
  45830. "description": "撤销数量",
  45831. "type": "number"
  45832. },
  45833. "deliverygoodscode": {
  45834. "description": "品种代码",
  45835. "type": "string"
  45836. },
  45837. "deliverygoodsid": {
  45838. "description": "品种ID",
  45839. "type": "integer"
  45840. },
  45841. "deliverygoodsname": {
  45842. "description": "品种名称",
  45843. "type": "string"
  45844. },
  45845. "enumdicname": {
  45846. "description": "单位名称",
  45847. "type": "string"
  45848. },
  45849. "fixedprice": {
  45850. "description": "固定价格(价格)",
  45851. "type": "number"
  45852. },
  45853. "haswr": {
  45854. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45855. "type": "integer"
  45856. },
  45857. "isspecified": {
  45858. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  45859. "type": "integer"
  45860. },
  45861. "marketid": {
  45862. "description": "市场ID",
  45863. "type": "integer"
  45864. },
  45865. "matchuserid": {
  45866. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  45867. "type": "integer"
  45868. },
  45869. "matchusername": {
  45870. "description": "指定方",
  45871. "type": "string"
  45872. },
  45873. "minivalue": {
  45874. "description": "现货商品最小变动值",
  45875. "type": "integer"
  45876. },
  45877. "optioncompare": {
  45878. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45879. "type": "string"
  45880. },
  45881. "orderqty": {
  45882. "description": "委托数量",
  45883. "type": "number"
  45884. },
  45885. "ordertime": {
  45886. "description": "委托时间",
  45887. "type": "string"
  45888. },
  45889. "pricemove": {
  45890. "description": "升贴水(浮动价时填写) - [挂牌]",
  45891. "type": "number"
  45892. },
  45893. "tradedate": {
  45894. "description": "交易日(yyyyMMdd)",
  45895. "type": "string"
  45896. },
  45897. "tradeprice": {
  45898. "description": "成交价格",
  45899. "type": "number"
  45900. },
  45901. "tradeqty": {
  45902. "description": "成交数量",
  45903. "type": "number"
  45904. },
  45905. "userid": {
  45906. "description": "用户ID",
  45907. "type": "integer"
  45908. },
  45909. "username": {
  45910. "description": "发起方",
  45911. "type": "string"
  45912. },
  45913. "warehouseid": {
  45914. "description": "仓库ID",
  45915. "type": "integer"
  45916. },
  45917. "warehousename": {
  45918. "description": "仓库名称",
  45919. "type": "string"
  45920. },
  45921. "wrfactortypeid": {
  45922. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45923. "type": "string"
  45924. },
  45925. "wrfactortypename": {
  45926. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45927. "type": "string"
  45928. },
  45929. "wrpricetype": {
  45930. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  45931. "type": "integer"
  45932. },
  45933. "wrstandardcode": {
  45934. "description": "现货商品代码",
  45935. "type": "string"
  45936. },
  45937. "wrstandardid": {
  45938. "description": "现货商品ID",
  45939. "type": "integer"
  45940. },
  45941. "wrstandardname": {
  45942. "description": "商品名称",
  45943. "type": "string"
  45944. },
  45945. "wrtradeorderid": {
  45946. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45947. "type": "string"
  45948. },
  45949. "wrtradeorderstatus": {
  45950. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  45951. "type": "integer"
  45952. },
  45953. "wrtradetype": {
  45954. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45955. "type": "integer"
  45956. },
  45957. "wrtypename": {
  45958. "description": "商品",
  45959. "type": "string"
  45960. }
  45961. }
  45962. },
  45963. "models.WrSpotGroupTradeSum": {
  45964. "type": "object",
  45965. "properties": {
  45966. "deliverygoodscode": {
  45967. "description": "现货品种代码",
  45968. "type": "string"
  45969. },
  45970. "deliverygoodsid": {
  45971. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45972. "type": "integer"
  45973. },
  45974. "deliverygoodsname": {
  45975. "description": "现货品种名称",
  45976. "type": "string"
  45977. },
  45978. "lastavgprice": {
  45979. "description": "上上个交易日价格(前2天价格)",
  45980. "type": "string"
  45981. },
  45982. "lastreckondate": {
  45983. "description": "上上个交易日(前2天交易日)",
  45984. "type": "string"
  45985. },
  45986. "reckondate": {
  45987. "description": "上个交易日(前1天交易日)",
  45988. "type": "string"
  45989. },
  45990. "todayavgprice": {
  45991. "description": "上个交易日价格(前1天价格)",
  45992. "type": "string"
  45993. },
  45994. "updown": {
  45995. "description": "涨跌",
  45996. "type": "string"
  45997. },
  45998. "updownratio": {
  45999. "description": "涨幅(已格式化, 直接显示即可)",
  46000. "type": "string"
  46001. }
  46002. }
  46003. },
  46004. "models.WrSpotGroupTradeSumDetail": {
  46005. "type": "object",
  46006. "properties": {
  46007. "deliverygoodsid": {
  46008. "description": "现货商品id",
  46009. "type": "integer"
  46010. },
  46011. "price": {
  46012. "description": "价格",
  46013. "type": "number"
  46014. },
  46015. "reckondate": {
  46016. "description": "日期(yyymmdd, 如:20211031)",
  46017. "type": "string"
  46018. }
  46019. }
  46020. },
  46021. "models.WrSpotGroupTradeSumEx": {
  46022. "type": "object",
  46023. "properties": {
  46024. "lst": {
  46025. "description": "指数列表",
  46026. "type": "array",
  46027. "items": {
  46028. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  46029. }
  46030. },
  46031. "prereckondate": {
  46032. "description": "上上个交易日(yyymmdd)",
  46033. "type": "string"
  46034. },
  46035. "reckondate": {
  46036. "description": "上个交易日(yyyymmdd)",
  46037. "type": "string"
  46038. }
  46039. }
  46040. },
  46041. "models.WrStandardFactoryItem": {
  46042. "type": "object",
  46043. "properties": {
  46044. "dgfactoryitemid": {
  46045. "description": "选择项id",
  46046. "type": "integer"
  46047. },
  46048. "dgfactoryitemvalue": {
  46049. "description": "要素项值",
  46050. "type": "string"
  46051. },
  46052. "warehouseid": {
  46053. "description": "仓库id",
  46054. "type": "integer"
  46055. }
  46056. }
  46057. },
  46058. "models.WrStandardFactoryItemEx": {
  46059. "type": "object",
  46060. "properties": {
  46061. "dgfactoryitemtypeid": {
  46062. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  46063. "type": "integer"
  46064. },
  46065. "itemlst": {
  46066. "description": "要素项列表",
  46067. "type": "array",
  46068. "items": {
  46069. "$ref": "#/definitions/models.WrStandardFactoryItem"
  46070. }
  46071. },
  46072. "itemtypename": {
  46073. "description": "要素项类型名称",
  46074. "type": "string"
  46075. },
  46076. "wrstandardid": {
  46077. "description": "品类",
  46078. "type": "integer"
  46079. }
  46080. }
  46081. },
  46082. "models.WrTradeDetail": {
  46083. "type": "object",
  46084. "properties": {
  46085. "accountid": {
  46086. "description": "资金账号",
  46087. "type": "integer"
  46088. },
  46089. "bannerpicurl": {
  46090. "description": "Banner图",
  46091. "type": "string"
  46092. },
  46093. "begindate": {
  46094. "description": "开始交易日(yyyymmdd)",
  46095. "type": "string"
  46096. },
  46097. "buyorsell": {
  46098. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  46099. "type": "integer"
  46100. },
  46101. "chargevalue": {
  46102. "description": "手续费",
  46103. "type": "number"
  46104. },
  46105. "deliverygoodscode": {
  46106. "description": "品种代码",
  46107. "type": "string"
  46108. },
  46109. "deliverygoodsid": {
  46110. "description": "品种ID",
  46111. "type": "integer"
  46112. },
  46113. "deliverygoodsname": {
  46114. "description": "品种名称",
  46115. "type": "string"
  46116. },
  46117. "deliverymonth": {
  46118. "description": "交收月",
  46119. "type": "string"
  46120. },
  46121. "enddate": {
  46122. "description": "结束交易日(yyyymmdd)",
  46123. "type": "string"
  46124. },
  46125. "enumdicname": {
  46126. "description": "单位名称",
  46127. "type": "string"
  46128. },
  46129. "haswr": {
  46130. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  46131. "type": "integer"
  46132. },
  46133. "marketid": {
  46134. "description": "市场ID",
  46135. "type": "integer"
  46136. },
  46137. "matchaccountid": {
  46138. "description": "对手账号",
  46139. "type": "integer"
  46140. },
  46141. "matchusername": {
  46142. "description": "对手方",
  46143. "type": "string"
  46144. },
  46145. "minivalue": {
  46146. "description": "现货商品最小变动值",
  46147. "type": "integer"
  46148. },
  46149. "optioncompare": {
  46150. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  46151. "type": "string"
  46152. },
  46153. "thumurls": {
  46154. "description": "缩略图",
  46155. "type": "string"
  46156. },
  46157. "tradedate": {
  46158. "description": "交易日(yyyyMMdd)",
  46159. "type": "string"
  46160. },
  46161. "tradeprice": {
  46162. "description": "成交价格",
  46163. "type": "number"
  46164. },
  46165. "tradeqty": {
  46166. "description": "成交数量",
  46167. "type": "number"
  46168. },
  46169. "tradetime": {
  46170. "description": "成交时间",
  46171. "type": "string"
  46172. },
  46173. "userid": {
  46174. "description": "用户ID",
  46175. "type": "integer"
  46176. },
  46177. "warehouseid": {
  46178. "description": "仓库ID",
  46179. "type": "integer"
  46180. },
  46181. "warehousename": {
  46182. "description": "仓库名称",
  46183. "type": "string"
  46184. },
  46185. "wrfactortypeid": {
  46186. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  46187. "type": "string"
  46188. },
  46189. "wrfactortypename": {
  46190. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46191. "type": "string"
  46192. },
  46193. "wrstandardcode": {
  46194. "description": "现货商品代码",
  46195. "type": "string"
  46196. },
  46197. "wrstandardid": {
  46198. "description": "现货商品ID",
  46199. "type": "integer"
  46200. },
  46201. "wrstandardname": {
  46202. "description": "商品名称",
  46203. "type": "string"
  46204. },
  46205. "wrtradedetailid": {
  46206. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  46207. "type": "string"
  46208. },
  46209. "wrtradetype": {
  46210. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  46211. "type": "integer"
  46212. },
  46213. "wrtypename": {
  46214. "description": "商品",
  46215. "type": "string"
  46216. }
  46217. }
  46218. },
  46219. "models.WrTradeOrderDetail": {
  46220. "type": "object",
  46221. "properties": {
  46222. "buyorsell": {
  46223. "description": "买卖方向 0-买 1-卖",
  46224. "type": "integer"
  46225. },
  46226. "goodsid": {
  46227. "description": "商品id",
  46228. "type": "integer"
  46229. },
  46230. "orderid": {
  46231. "description": "委托单号",
  46232. "type": "string"
  46233. },
  46234. "orderprice": {
  46235. "description": "期初均价",
  46236. "type": "number"
  46237. },
  46238. "orderqty": {
  46239. "description": "委托数量",
  46240. "type": "integer"
  46241. },
  46242. "userid": {
  46243. "description": "用户id",
  46244. "type": "integer"
  46245. },
  46246. "username": {
  46247. "description": "用户名称(已脱敏)",
  46248. "type": "string"
  46249. }
  46250. }
  46251. },
  46252. "models.WrTypeItem": {
  46253. "type": "object",
  46254. "properties": {
  46255. "name": {
  46256. "description": "名称",
  46257. "type": "string"
  46258. },
  46259. "value": {
  46260. "description": "值",
  46261. "type": "string"
  46262. }
  46263. }
  46264. },
  46265. "models.WrUserFriend": {
  46266. "type": "object",
  46267. "properties": {
  46268. "friendname": {
  46269. "description": "朋友名称(已脱敏)",
  46270. "type": "string"
  46271. },
  46272. "frienduserid": {
  46273. "description": "朋友id",
  46274. "type": "integer"
  46275. },
  46276. "isfriend": {
  46277. "description": "是否好友 0-不是 1-是",
  46278. "type": "integer"
  46279. },
  46280. "userid": {
  46281. "description": "用户id",
  46282. "type": "integer"
  46283. }
  46284. }
  46285. },
  46286. "models.WrUserReceiptInfo": {
  46287. "type": "object",
  46288. "properties": {
  46289. "address": {
  46290. "description": "地址[发票类型:企业]",
  46291. "type": "string"
  46292. },
  46293. "autoid": {
  46294. "description": "AutoID",
  46295. "type": "integer"
  46296. },
  46297. "contactinfo": {
  46298. "description": "联系方式",
  46299. "type": "string"
  46300. },
  46301. "idnum": {
  46302. "description": "身份证号码[发票类型:个人]",
  46303. "type": "string"
  46304. },
  46305. "isdefault": {
  46306. "description": "是否默认地址 - 0:否 1:是",
  46307. "type": "integer"
  46308. },
  46309. "receiptaccount": {
  46310. "description": "发票帐号[发票类型:企业]",
  46311. "type": "string"
  46312. },
  46313. "receiptbank": {
  46314. "description": "发票开户行[发票类型:企业]",
  46315. "type": "string"
  46316. },
  46317. "receipttype": {
  46318. "description": "发票类型 - 1:个人 2:企业",
  46319. "type": "integer"
  46320. },
  46321. "taxpayerid": {
  46322. "description": "纳税人识别号",
  46323. "type": "string"
  46324. },
  46325. "userid": {
  46326. "description": "用户ID",
  46327. "type": "integer"
  46328. },
  46329. "username": {
  46330. "description": "户名(个人姓名或企业名称)",
  46331. "type": "string"
  46332. }
  46333. }
  46334. },
  46335. "models.Wrtradetradequote": {
  46336. "type": "object",
  46337. "properties": {
  46338. "buyaccountid": {
  46339. "description": "买方账号ID",
  46340. "type": "integer"
  46341. },
  46342. "buychargevalue": {
  46343. "description": "买方手续费",
  46344. "type": "number"
  46345. },
  46346. "buyuserid": {
  46347. "description": "买方用户ID",
  46348. "type": "integer"
  46349. },
  46350. "deliverygoodsid": {
  46351. "description": "现货品种ID",
  46352. "type": "integer"
  46353. },
  46354. "exchangerate": {
  46355. "description": "汇率",
  46356. "type": "number"
  46357. },
  46358. "marketid": {
  46359. "description": "市场ID",
  46360. "type": "integer"
  46361. },
  46362. "oritradeamount": {
  46363. "description": "成交金额[商品币种]",
  46364. "type": "number"
  46365. },
  46366. "performanceplanid": {
  46367. "description": "履约计划ID/合同ID",
  46368. "type": "integer"
  46369. },
  46370. "sellaccountid": {
  46371. "description": "卖方账号ID",
  46372. "type": "integer"
  46373. },
  46374. "sellchargevalue": {
  46375. "description": "卖方手续费",
  46376. "type": "number"
  46377. },
  46378. "selluserid": {
  46379. "description": "卖方用户ID",
  46380. "type": "integer"
  46381. },
  46382. "tradeamount": {
  46383. "description": "成交金额",
  46384. "type": "number"
  46385. },
  46386. "tradedate": {
  46387. "description": "交易日(yyyyMMdd)",
  46388. "type": "string"
  46389. },
  46390. "tradeprice": {
  46391. "description": "成交价格",
  46392. "type": "number"
  46393. },
  46394. "tradeqty": {
  46395. "description": "成交数量",
  46396. "type": "integer"
  46397. },
  46398. "tradetime": {
  46399. "description": "成交时间",
  46400. "type": "string"
  46401. },
  46402. "wrfactortypeid": {
  46403. "description": "仓单要素类型ID",
  46404. "type": "integer"
  46405. },
  46406. "wrstandardid": {
  46407. "description": "现货商品ID",
  46408. "type": "integer"
  46409. },
  46410. "wrtradedetailid": {
  46411. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  46412. "type": "integer"
  46413. }
  46414. }
  46415. },
  46416. "models.XHBRAND": {
  46417. "type": "object",
  46418. "properties": {
  46419. "brandid": {
  46420. "description": "品牌id",
  46421. "type": "integer"
  46422. },
  46423. "brandname": {
  46424. "description": "品牌名称",
  46425. "type": "string"
  46426. },
  46427. "isvalid": {
  46428. "description": "是否有效 0-无效 1-有效",
  46429. "type": "integer"
  46430. }
  46431. }
  46432. },
  46433. "models.XHDeliveryGoods": {
  46434. "type": "object",
  46435. "properties": {
  46436. "areauserid": {
  46437. "description": "所属机构",
  46438. "type": "integer"
  46439. },
  46440. "bdlst": {
  46441. "description": "品牌列表",
  46442. "type": "array",
  46443. "items": {
  46444. "$ref": "#/definitions/models.XHBRAND"
  46445. }
  46446. },
  46447. "deliverygoodscode": {
  46448. "description": "现货品种代码",
  46449. "type": "string"
  46450. },
  46451. "deliverygoodsid": {
  46452. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  46453. "type": "integer"
  46454. },
  46455. "deliverygoodsname": {
  46456. "description": "现货品种名称",
  46457. "type": "string"
  46458. },
  46459. "dgstatus": {
  46460. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  46461. "type": "integer"
  46462. },
  46463. "filterSubEmpty": {
  46464. "description": "过滤下级为空的",
  46465. "type": "integer"
  46466. },
  46467. "isvalid": {
  46468. "description": "是否有效 - 0:无效 1:有效",
  46469. "type": "integer"
  46470. },
  46471. "remark": {
  46472. "description": "备注",
  46473. "type": "string"
  46474. },
  46475. "unitid": {
  46476. "description": "单位id(目前看,数据库中是空值)",
  46477. "type": "integer"
  46478. },
  46479. "wdlst": {
  46480. "description": "品类(现货商品)列表",
  46481. "type": "array",
  46482. "items": {
  46483. "$ref": "#/definitions/models.XHWrstandard"
  46484. }
  46485. }
  46486. }
  46487. },
  46488. "models.XHMiddleGoods": {
  46489. "type": "object",
  46490. "properties": {
  46491. "GPLST": {
  46492. "description": "期货品种列表",
  46493. "type": "array",
  46494. "items": {
  46495. "$ref": "#/definitions/models.TBGoodsGroup"
  46496. }
  46497. },
  46498. "convertratio": {
  46499. "description": "拆算系数",
  46500. "type": "number"
  46501. },
  46502. "costratio": {
  46503. "description": "成本权重",
  46504. "type": "number"
  46505. },
  46506. "deliverygoodsid": {
  46507. "description": "现货商品id",
  46508. "type": "integer"
  46509. },
  46510. "enumdicname": {
  46511. "description": "单位名称",
  46512. "type": "string"
  46513. },
  46514. "middlegoodscode": {
  46515. "description": "套保品种代码",
  46516. "type": "string"
  46517. },
  46518. "middlegoodsid": {
  46519. "description": "套保品种id",
  46520. "type": "integer"
  46521. },
  46522. "middlegoodsname": {
  46523. "description": "套保品种名称",
  46524. "type": "string"
  46525. },
  46526. "unitid": {
  46527. "description": "单位id",
  46528. "type": "integer"
  46529. }
  46530. }
  46531. },
  46532. "models.XHWrstandard": {
  46533. "type": "object",
  46534. "properties": {
  46535. "bannerpicurl": {
  46536. "description": "banner图",
  46537. "type": "string"
  46538. },
  46539. "deliverygoodsid": {
  46540. "description": "品种ID",
  46541. "type": "integer"
  46542. },
  46543. "enumdicname": {
  46544. "description": "单位名称",
  46545. "type": "string"
  46546. },
  46547. "mglst": {
  46548. "description": "套保品列表",
  46549. "type": "array",
  46550. "items": {
  46551. "$ref": "#/definitions/models.XHMiddleGoods"
  46552. }
  46553. },
  46554. "pictureurls": {
  46555. "description": "详情图片(逗号分隔)",
  46556. "type": "string"
  46557. },
  46558. "thumurls": {
  46559. "description": "缩略图片(1:1)(逗号分隔)",
  46560. "type": "string"
  46561. },
  46562. "unitid": {
  46563. "description": "单位id",
  46564. "type": "integer"
  46565. },
  46566. "vatrate": {
  46567. "description": "增值税率",
  46568. "type": "number"
  46569. },
  46570. "wrstandardcode": {
  46571. "description": "现货商品代码",
  46572. "type": "string"
  46573. },
  46574. "wrstandardid": {
  46575. "description": "现货商品ID(SEQ_WRSTANDARD)",
  46576. "type": "integer"
  46577. },
  46578. "wrstandardname": {
  46579. "description": "现货商品名称",
  46580. "type": "string"
  46581. }
  46582. }
  46583. },
  46584. "models.XhcpSellBackApplyEx": {
  46585. "type": "object",
  46586. "required": [
  46587. "userid"
  46588. ],
  46589. "properties": {
  46590. "applyremark": {
  46591. "description": "申请备注",
  46592. "type": "string"
  46593. },
  46594. "expirytype": {
  46595. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  46596. "type": "integer"
  46597. },
  46598. "goodsspec": {
  46599. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  46600. "type": "integer"
  46601. },
  46602. "holeflag": {
  46603. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  46604. "type": "integer"
  46605. },
  46606. "isunopened": {
  46607. "description": "是否原封 - 1:否 2:是",
  46608. "type": "integer"
  46609. },
  46610. "mpflag": {
  46611. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  46612. "type": "integer"
  46613. },
  46614. "openflag": {
  46615. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  46616. "type": "integer"
  46617. },
  46618. "phonenum": {
  46619. "description": "联系电话",
  46620. "type": "string"
  46621. },
  46622. "userid": {
  46623. "description": "所属用户ID",
  46624. "type": "integer"
  46625. },
  46626. "zpflag": {
  46627. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  46628. "type": "integer"
  46629. }
  46630. }
  46631. },
  46632. "models.Xhcpsellbackapply": {
  46633. "type": "object",
  46634. "required": [
  46635. "userid"
  46636. ],
  46637. "properties": {
  46638. "applyid": {
  46639. "description": "申请人",
  46640. "type": "integer"
  46641. },
  46642. "applyremark": {
  46643. "description": "申请备注",
  46644. "type": "string"
  46645. },
  46646. "applysrc": {
  46647. "description": "申请来源 - 1:管理端 2:终端",
  46648. "type": "integer"
  46649. },
  46650. "applystatus": {
  46651. "description": "申请状态 - 1:待确认 2:已处理",
  46652. "type": "integer"
  46653. },
  46654. "applytime": {
  46655. "description": "申请时间",
  46656. "type": "string"
  46657. },
  46658. "auditremark": {
  46659. "description": "审核备注",
  46660. "type": "string"
  46661. },
  46662. "auditsrc": {
  46663. "description": "审核来源 - 1:管理端 2:终端",
  46664. "type": "integer"
  46665. },
  46666. "expirytype": {
  46667. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  46668. "type": "integer"
  46669. },
  46670. "goodsspec": {
  46671. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  46672. "type": "integer"
  46673. },
  46674. "holeflag": {
  46675. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  46676. "type": "integer"
  46677. },
  46678. "isunopened": {
  46679. "description": "是否原封 - 1:否 2:是",
  46680. "type": "integer"
  46681. },
  46682. "mpflag": {
  46683. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  46684. "type": "integer"
  46685. },
  46686. "openflag": {
  46687. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  46688. "type": "integer"
  46689. },
  46690. "phonenum": {
  46691. "description": "联系电话",
  46692. "type": "string"
  46693. },
  46694. "sellbackapplyid": {
  46695. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  46696. "type": "string"
  46697. },
  46698. "userid": {
  46699. "description": "所属用户ID",
  46700. "type": "integer"
  46701. },
  46702. "zpflag": {
  46703. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  46704. "type": "integer"
  46705. }
  46706. }
  46707. },
  46708. "order.QueryHisTradeDetailRsp": {
  46709. "type": "object",
  46710. "required": [
  46711. "accountid",
  46712. "buyorsell",
  46713. "goodsid",
  46714. "histradedate",
  46715. "marketid",
  46716. "memberuserid",
  46717. "orderid",
  46718. "tradeamount",
  46719. "tradedate",
  46720. "tradeid",
  46721. "tradeprice",
  46722. "tradeqty",
  46723. "tradetime"
  46724. ],
  46725. "properties": {
  46726. "accountid": {
  46727. "description": "账户ID[报价币种]",
  46728. "type": "integer"
  46729. },
  46730. "advanceratio": {
  46731. "description": "首付比率",
  46732. "type": "number"
  46733. },
  46734. "buildtype": {
  46735. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  46736. "type": "integer"
  46737. },
  46738. "buyorsell": {
  46739. "description": "方向 - 0:买 1:卖",
  46740. "type": "integer"
  46741. },
  46742. "charge": {
  46743. "description": "手续费",
  46744. "type": "number"
  46745. },
  46746. "closecharge": {
  46747. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46748. "type": "number"
  46749. },
  46750. "closeexchagechargevalue": {
  46751. "description": "平仓交易所手续费设置值",
  46752. "type": "number"
  46753. },
  46754. "closefeealgorithm": {
  46755. "description": "平仓手续费收取方式 1:比率 2:固定",
  46756. "type": "integer"
  46757. },
  46758. "closememberchargevalue": {
  46759. "description": "平仓会员手续费设置值",
  46760. "type": "number"
  46761. },
  46762. "closepl": {
  46763. "description": "平仓盈亏",
  46764. "type": "number"
  46765. },
  46766. "closepl2": {
  46767. "description": "平仓盈亏[逐笔]",
  46768. "type": "number"
  46769. },
  46770. "closeqty": {
  46771. "description": "平仓数量(先建后平操作 需要记录)",
  46772. "type": "number"
  46773. },
  46774. "creditamount": {
  46775. "description": "授信金额",
  46776. "type": "number"
  46777. },
  46778. "decimalplace": {
  46779. "description": "商品报价小数位",
  46780. "type": "integer"
  46781. },
  46782. "enumdicname": {
  46783. "description": "单位名称",
  46784. "type": "string"
  46785. },
  46786. "gcaccountid": {
  46787. "description": "账户ID[合约币种]",
  46788. "type": "integer"
  46789. },
  46790. "goodscode": {
  46791. "description": "商品代码",
  46792. "type": "string"
  46793. },
  46794. "goodsid": {
  46795. "description": "商品ID",
  46796. "type": "integer"
  46797. },
  46798. "goodsname": {
  46799. "description": "商品名称",
  46800. "type": "string"
  46801. },
  46802. "goodunitid": {
  46803. "description": "商品单位id",
  46804. "type": "integer"
  46805. },
  46806. "histradedate": {
  46807. "description": "历史交易日",
  46808. "type": "string"
  46809. },
  46810. "intclosepl": {
  46811. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46812. "type": "integer"
  46813. },
  46814. "isconfirmexercise": {
  46815. "description": "是否确认行权- 0:否 1:是",
  46816. "type": "integer"
  46817. },
  46818. "ismain": {
  46819. "description": "是否主单 - 0:不是 1:是",
  46820. "type": "integer"
  46821. },
  46822. "ispreexercise": {
  46823. "description": "是否预申报- 0:否 1:是",
  46824. "type": "integer"
  46825. },
  46826. "isreckoned": {
  46827. "description": "是否结算 - 0:未结算 1:已结算",
  46828. "type": "integer"
  46829. },
  46830. "isvaliddata": {
  46831. "description": "是否有效 - 0:无效 1:有效",
  46832. "type": "integer"
  46833. },
  46834. "listingselecttype": {
  46835. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46836. "type": "integer"
  46837. },
  46838. "marketid": {
  46839. "description": "市场ID",
  46840. "type": "integer"
  46841. },
  46842. "marketname": {
  46843. "description": "市场名称",
  46844. "type": "string"
  46845. },
  46846. "matchaccountid": {
  46847. "description": "对手账号id",
  46848. "type": "integer"
  46849. },
  46850. "memberuserid": {
  46851. "description": "会员id 个人投资者 需要填写",
  46852. "type": "integer"
  46853. },
  46854. "opencharge": {
  46855. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46856. "type": "number"
  46857. },
  46858. "openexchagechargevalue": {
  46859. "description": "建仓交易所手续费设置值",
  46860. "type": "number"
  46861. },
  46862. "openfeealgorithm": {
  46863. "description": "建仓手续费收取方式 1:比率 2:固定",
  46864. "type": "integer"
  46865. },
  46866. "openmemberchargevalue": {
  46867. "description": "建仓会员手续费设置值",
  46868. "type": "number"
  46869. },
  46870. "openqty": {
  46871. "description": "开仓数量(先建后平操作 需要记录)",
  46872. "type": "number"
  46873. },
  46874. "optiontype": {
  46875. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46876. "type": "integer"
  46877. },
  46878. "orderid": {
  46879. "description": "委托单号",
  46880. "type": "string"
  46881. },
  46882. "payamount": {
  46883. "description": "支付金额(付款金额)",
  46884. "type": "number"
  46885. },
  46886. "performanceplanid": {
  46887. "description": "履约计划ID[期权]",
  46888. "type": "integer"
  46889. },
  46890. "performancestatus": {
  46891. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46892. "type": "integer"
  46893. },
  46894. "preexerciseprice": {
  46895. "description": "预申报价格",
  46896. "type": "number"
  46897. },
  46898. "premium": {
  46899. "description": "权利金 - [持仓单的权利金]",
  46900. "type": "number"
  46901. },
  46902. "qtydecimalplace": {
  46903. "description": "商品报价小数位",
  46904. "type": "integer"
  46905. },
  46906. "recvamount": {
  46907. "description": "到账金额 = 成交金额 - 手续费",
  46908. "type": "number"
  46909. },
  46910. "relatedouttradeid": {
  46911. "description": "关联外部成交单ID",
  46912. "type": "integer"
  46913. },
  46914. "status": {
  46915. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46916. "type": "integer"
  46917. },
  46918. "totalamount": {
  46919. "description": "订单总额 = 成交金额 + 手续费",
  46920. "type": "number"
  46921. },
  46922. "tradeamount": {
  46923. "description": "成交金额[账户币种,用于所有权]",
  46924. "type": "number"
  46925. },
  46926. "tradedate": {
  46927. "description": "交易日(yyyyMMdd)",
  46928. "type": "string"
  46929. },
  46930. "tradeid": {
  46931. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46932. "type": "string"
  46933. },
  46934. "trademode": {
  46935. "description": "交易模式",
  46936. "type": "integer"
  46937. },
  46938. "tradeprice": {
  46939. "description": "成交价格",
  46940. "type": "number"
  46941. },
  46942. "tradeproperty": {
  46943. "description": "交易属性",
  46944. "type": "integer"
  46945. },
  46946. "tradeqty": {
  46947. "description": "成交数量",
  46948. "type": "number"
  46949. },
  46950. "tradetime": {
  46951. "description": "成交时间",
  46952. "type": "string"
  46953. },
  46954. "tradetype": {
  46955. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46956. "type": "integer"
  46957. }
  46958. }
  46959. },
  46960. "order.QueryHisTradeOrderDetailRsp": {
  46961. "type": "object",
  46962. "required": [
  46963. "accountid",
  46964. "buildtype",
  46965. "buyorsell",
  46966. "goodsid",
  46967. "histradedate",
  46968. "marketid",
  46969. "memberuserid",
  46970. "operatetype",
  46971. "orderid",
  46972. "orderqty",
  46973. "ordertime",
  46974. "pricemode",
  46975. "tradedate",
  46976. "validtype"
  46977. ],
  46978. "properties": {
  46979. "accountid": {
  46980. "description": "账户ID[报价币种]",
  46981. "type": "integer"
  46982. },
  46983. "buildtype": {
  46984. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46985. "type": "integer"
  46986. },
  46987. "buyorsell": {
  46988. "description": "买卖 - 0:买 1:卖",
  46989. "type": "integer"
  46990. },
  46991. "cancelorderid": {
  46992. "description": "撤单单号(撤单时填写)",
  46993. "type": "string"
  46994. },
  46995. "cancelqty": {
  46996. "description": "撤单数量",
  46997. "type": "number"
  46998. },
  46999. "clientordertime": {
  47000. "description": "客户端委托时间",
  47001. "type": "string"
  47002. },
  47003. "clientticket": {
  47004. "description": "客户端流水号",
  47005. "type": "string"
  47006. },
  47007. "clienttype": {
  47008. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  47009. "type": "integer"
  47010. },
  47011. "closeexchagechargevalue": {
  47012. "description": "平仓交易所手续费设置值",
  47013. "type": "number"
  47014. },
  47015. "closefeealgorithm": {
  47016. "description": "平仓手续费收取方式 1:比率 2:固定",
  47017. "type": "integer"
  47018. },
  47019. "closefreezecharge": {
  47020. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  47021. "type": "number"
  47022. },
  47023. "closememberchargevalue": {
  47024. "description": "平仓会员手续费设置值",
  47025. "type": "number"
  47026. },
  47027. "closeqty": {
  47028. "description": "平仓数量(先建后平操作 需要记录)",
  47029. "type": "number"
  47030. },
  47031. "closetradeqty": {
  47032. "description": "平仓成交数量(先建后平操作,需要记录)",
  47033. "type": "number"
  47034. },
  47035. "closeunfreezecharge": {
  47036. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  47037. "type": "number"
  47038. },
  47039. "decimalplace": {
  47040. "description": "商品报价小数位",
  47041. "type": "integer"
  47042. },
  47043. "delistingtype": {
  47044. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  47045. "type": "integer"
  47046. },
  47047. "enumdicname": {
  47048. "description": "单位名称",
  47049. "type": "string"
  47050. },
  47051. "freezecharge": {
  47052. "description": "冻结手续费",
  47053. "type": "number"
  47054. },
  47055. "freezemargin": {
  47056. "description": "冻结保证金(冻结交易金额)",
  47057. "type": "number"
  47058. },
  47059. "gcaccountid": {
  47060. "description": "账户ID[合约币种]",
  47061. "type": "integer"
  47062. },
  47063. "goodscode": {
  47064. "description": "商品代码",
  47065. "type": "string"
  47066. },
  47067. "goodsid": {
  47068. "description": "商品ID",
  47069. "type": "integer"
  47070. },
  47071. "goodsname": {
  47072. "description": "商品名称",
  47073. "type": "string"
  47074. },
  47075. "goodunitid": {
  47076. "description": "商品单位id",
  47077. "type": "integer"
  47078. },
  47079. "histradedate": {
  47080. "description": "历史交易日",
  47081. "type": "string"
  47082. },
  47083. "isconfirmexercise": {
  47084. "description": "是否确认行权- 0:否 1:是",
  47085. "type": "integer"
  47086. },
  47087. "ispreexercise": {
  47088. "description": "是否预申报- 0:否 1:是",
  47089. "type": "integer"
  47090. },
  47091. "isvaliddata": {
  47092. "description": "是否有效 - 0:无效 1:有效",
  47093. "type": "integer"
  47094. },
  47095. "listingselecttype": {
  47096. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47097. "type": "integer"
  47098. },
  47099. "marginalgorithm": {
  47100. "description": "保证金收取方式 1:比率 2:固定",
  47101. "type": "integer"
  47102. },
  47103. "marginvalue": {
  47104. "description": "即市保证金设置值",
  47105. "type": "number"
  47106. },
  47107. "marketid": {
  47108. "description": "市场ID",
  47109. "type": "integer"
  47110. },
  47111. "marketmaxsub": {
  47112. "description": "市价最大偏移范围",
  47113. "type": "number"
  47114. },
  47115. "marketname": {
  47116. "description": "市场名称",
  47117. "type": "string"
  47118. },
  47119. "memberuserid": {
  47120. "description": "所属会员UserID",
  47121. "type": "integer"
  47122. },
  47123. "openexchagechargevalue": {
  47124. "description": "建仓交易所手续费设置值",
  47125. "type": "number"
  47126. },
  47127. "openfeealgorithm": {
  47128. "description": "建仓手续费收取方式 1:比率 2:固定",
  47129. "type": "integer"
  47130. },
  47131. "openfreezecharge": {
  47132. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  47133. "type": "number"
  47134. },
  47135. "openmemberchargevalue": {
  47136. "description": "建仓会员手续费设置值",
  47137. "type": "number"
  47138. },
  47139. "openqty": {
  47140. "description": "开仓数量(先建后平操作,需要记录)",
  47141. "type": "number"
  47142. },
  47143. "opentradeqty": {
  47144. "description": "开仓成交数量(先建后平操作,需要记录)",
  47145. "type": "number"
  47146. },
  47147. "openunfreezecharge": {
  47148. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  47149. "type": "number"
  47150. },
  47151. "operatetype": {
  47152. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  47153. "type": "integer"
  47154. },
  47155. "operatorid": {
  47156. "description": "登录账号(LoginID)",
  47157. "type": "integer"
  47158. },
  47159. "optiontype": {
  47160. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  47161. "type": "integer"
  47162. },
  47163. "orderid": {
  47164. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47165. "type": "string"
  47166. },
  47167. "orderprice": {
  47168. "description": "委托价格",
  47169. "type": "number"
  47170. },
  47171. "orderqty": {
  47172. "description": "委托数量",
  47173. "type": "number"
  47174. },
  47175. "ordersrc": {
  47176. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  47177. "type": "integer"
  47178. },
  47179. "orderstatus": {
  47180. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  47181. "type": "integer"
  47182. },
  47183. "ordertime": {
  47184. "description": "委托时间",
  47185. "type": "string"
  47186. },
  47187. "preexerciseprice": {
  47188. "description": "预申报价格",
  47189. "type": "number"
  47190. },
  47191. "premium": {
  47192. "description": "权利金",
  47193. "type": "number"
  47194. },
  47195. "preorderid": {
  47196. "description": "关联预埋单号(止盈止损单时填写)",
  47197. "type": "string"
  47198. },
  47199. "pricemode": {
  47200. "description": "取价方式 - 1:市价 2: 限价",
  47201. "type": "integer"
  47202. },
  47203. "qtydecimalplace": {
  47204. "description": "成交量小数位",
  47205. "type": "integer"
  47206. },
  47207. "quoteid": {
  47208. "description": "报价单ID",
  47209. "type": "integer"
  47210. },
  47211. "relatedid": {
  47212. "description": "关联单号(交割单)",
  47213. "type": "string"
  47214. },
  47215. "retcode": {
  47216. "description": "错误代码",
  47217. "type": "integer"
  47218. },
  47219. "sessionid": {
  47220. "description": "会话ID",
  47221. "type": "integer"
  47222. },
  47223. "tradedate": {
  47224. "description": "交易日(yyyyMMdd)",
  47225. "type": "string"
  47226. },
  47227. "trademode": {
  47228. "description": "交易模式",
  47229. "type": "integer"
  47230. },
  47231. "tradeproperty": {
  47232. "description": "交易属性",
  47233. "type": "integer"
  47234. },
  47235. "tradeqty": {
  47236. "description": "成交数量",
  47237. "type": "number"
  47238. },
  47239. "unfreezecharge": {
  47240. "description": "解冻手续费",
  47241. "type": "number"
  47242. },
  47243. "unfreezemargin": {
  47244. "description": "解冻保证金",
  47245. "type": "number"
  47246. },
  47247. "updatetime": {
  47248. "description": "更新时间",
  47249. "type": "string"
  47250. },
  47251. "uuid": {
  47252. "description": "发起端唯一id",
  47253. "type": "string"
  47254. },
  47255. "validtime": {
  47256. "description": "有效期限",
  47257. "type": "string"
  47258. },
  47259. "validtype": {
  47260. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  47261. "type": "integer"
  47262. },
  47263. "volumetype": {
  47264. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  47265. "type": "integer"
  47266. }
  47267. }
  47268. },
  47269. "order.QueryTradeDetailRsp": {
  47270. "type": "object",
  47271. "required": [
  47272. "accountid",
  47273. "buyorsell",
  47274. "goodsid",
  47275. "marketid",
  47276. "memberuserid",
  47277. "orderid",
  47278. "tradeamount",
  47279. "tradedate",
  47280. "tradeid",
  47281. "tradeprice",
  47282. "tradeqty",
  47283. "tradetime"
  47284. ],
  47285. "properties": {
  47286. "accountid": {
  47287. "description": "账户ID[报价币种]",
  47288. "type": "integer"
  47289. },
  47290. "advanceratio": {
  47291. "description": "首付比率",
  47292. "type": "number"
  47293. },
  47294. "buildtype": {
  47295. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  47296. "type": "integer"
  47297. },
  47298. "buyorsell": {
  47299. "description": "方向 - 0:买 1:卖",
  47300. "type": "integer"
  47301. },
  47302. "charge": {
  47303. "description": "手续费",
  47304. "type": "number"
  47305. },
  47306. "closecharge": {
  47307. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  47308. "type": "number"
  47309. },
  47310. "closeexchagechargevalue": {
  47311. "description": "平仓交易所手续费设置值",
  47312. "type": "number"
  47313. },
  47314. "closefeealgorithm": {
  47315. "description": "平仓手续费收取方式 1:比率 2:固定",
  47316. "type": "integer"
  47317. },
  47318. "closememberchargevalue": {
  47319. "description": "平仓会员手续费设置值",
  47320. "type": "number"
  47321. },
  47322. "closepl": {
  47323. "description": "平仓盈亏",
  47324. "type": "number"
  47325. },
  47326. "closepl2": {
  47327. "description": "平仓盈亏[逐笔]",
  47328. "type": "number"
  47329. },
  47330. "closeqty": {
  47331. "description": "平仓数量(先建后平操作 需要记录)",
  47332. "type": "number"
  47333. },
  47334. "creditamount": {
  47335. "description": "授信金额",
  47336. "type": "number"
  47337. },
  47338. "decimalplace": {
  47339. "description": "商品报价小数位",
  47340. "type": "integer"
  47341. },
  47342. "enumdicname": {
  47343. "description": "单位名称",
  47344. "type": "string"
  47345. },
  47346. "gcaccountid": {
  47347. "description": "账户ID[合约币种]",
  47348. "type": "integer"
  47349. },
  47350. "goodscode": {
  47351. "description": "商品代码",
  47352. "type": "string"
  47353. },
  47354. "goodsid": {
  47355. "description": "商品ID",
  47356. "type": "integer"
  47357. },
  47358. "goodsname": {
  47359. "description": "商品名称",
  47360. "type": "string"
  47361. },
  47362. "goodunitid": {
  47363. "description": "商品单位id",
  47364. "type": "integer"
  47365. },
  47366. "intclosepl": {
  47367. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  47368. "type": "integer"
  47369. },
  47370. "isconfirmexercise": {
  47371. "description": "是否确认行权- 0:否 1:是",
  47372. "type": "integer"
  47373. },
  47374. "ismain": {
  47375. "description": "是否主单 - 0:不是 1:是",
  47376. "type": "integer"
  47377. },
  47378. "ispreexercise": {
  47379. "description": "是否预申报- 0:否 1:是",
  47380. "type": "integer"
  47381. },
  47382. "isreckoned": {
  47383. "description": "是否结算 - 0:未结算 1:已结算",
  47384. "type": "integer"
  47385. },
  47386. "listingselecttype": {
  47387. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47388. "type": "integer"
  47389. },
  47390. "marketid": {
  47391. "description": "市场ID",
  47392. "type": "integer"
  47393. },
  47394. "marketname": {
  47395. "description": "市场名称",
  47396. "type": "string"
  47397. },
  47398. "matchaccountid": {
  47399. "description": "对手账号id",
  47400. "type": "integer"
  47401. },
  47402. "memberuserid": {
  47403. "description": "会员id 个人投资者 需要填写",
  47404. "type": "integer"
  47405. },
  47406. "opencharge": {
  47407. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  47408. "type": "number"
  47409. },
  47410. "openexchagechargevalue": {
  47411. "description": "建仓交易所手续费设置值",
  47412. "type": "number"
  47413. },
  47414. "openfeealgorithm": {
  47415. "description": "建仓手续费收取方式 1:比率 2:固定",
  47416. "type": "integer"
  47417. },
  47418. "openmemberchargevalue": {
  47419. "description": "建仓会员手续费设置值",
  47420. "type": "number"
  47421. },
  47422. "openqty": {
  47423. "description": "开仓数量(先建后平操作 需要记录)",
  47424. "type": "number"
  47425. },
  47426. "optiontype": {
  47427. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  47428. "type": "integer"
  47429. },
  47430. "orderid": {
  47431. "description": "委托单号",
  47432. "type": "string"
  47433. },
  47434. "payamount": {
  47435. "description": "支付金额(付款金额)",
  47436. "type": "number"
  47437. },
  47438. "performanceplanid": {
  47439. "description": "履约计划ID[期权]",
  47440. "type": "integer"
  47441. },
  47442. "performancestatus": {
  47443. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  47444. "type": "integer"
  47445. },
  47446. "preexerciseprice": {
  47447. "description": "预申报价格",
  47448. "type": "number"
  47449. },
  47450. "premium": {
  47451. "description": "权利金 - [持仓单的权利金]",
  47452. "type": "number"
  47453. },
  47454. "qtydecimalplace": {
  47455. "description": "商品报价小数位",
  47456. "type": "integer"
  47457. },
  47458. "recvamount": {
  47459. "description": "到账金额 = 成交金额 - 手续费",
  47460. "type": "number"
  47461. },
  47462. "relatedouttradeid": {
  47463. "description": "关联外部成交单ID",
  47464. "type": "integer"
  47465. },
  47466. "status": {
  47467. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  47468. "type": "integer"
  47469. },
  47470. "totalamount": {
  47471. "description": "订单总额 = 成交金额 + 手续费",
  47472. "type": "number"
  47473. },
  47474. "tradeamount": {
  47475. "description": "成交金额[账户币种,用于所有权]",
  47476. "type": "number"
  47477. },
  47478. "tradedate": {
  47479. "description": "交易日(yyyyMMdd)",
  47480. "type": "string"
  47481. },
  47482. "tradeid": {
  47483. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47484. "type": "string"
  47485. },
  47486. "trademode": {
  47487. "description": "交易模式",
  47488. "type": "integer"
  47489. },
  47490. "tradeprice": {
  47491. "description": "成交价格",
  47492. "type": "number"
  47493. },
  47494. "tradeproperty": {
  47495. "description": "交易属性",
  47496. "type": "integer"
  47497. },
  47498. "tradeqty": {
  47499. "description": "成交数量",
  47500. "type": "number"
  47501. },
  47502. "tradetime": {
  47503. "description": "成交时间",
  47504. "type": "string"
  47505. },
  47506. "tradetype": {
  47507. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  47508. "type": "integer"
  47509. }
  47510. }
  47511. },
  47512. "order.QueryTradeOrderDetailRsp": {
  47513. "type": "object",
  47514. "required": [
  47515. "accountid",
  47516. "buildtype",
  47517. "buyorsell",
  47518. "goodsid",
  47519. "marketid",
  47520. "operatetype",
  47521. "orderqty",
  47522. "ordertime",
  47523. "pricemode",
  47524. "tradedate",
  47525. "validtype"
  47526. ],
  47527. "properties": {
  47528. "accountid": {
  47529. "description": "账户ID[报价币种]",
  47530. "type": "integer"
  47531. },
  47532. "buildtype": {
  47533. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  47534. "type": "integer"
  47535. },
  47536. "buyorsell": {
  47537. "description": "买卖 - 0:买 1:卖",
  47538. "type": "integer"
  47539. },
  47540. "cancelorderid": {
  47541. "description": "撤单单号(撤单时填写)",
  47542. "type": "string"
  47543. },
  47544. "cancelqty": {
  47545. "description": "撤单数量",
  47546. "type": "number"
  47547. },
  47548. "clienttype": {
  47549. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  47550. "type": "integer"
  47551. },
  47552. "closefreezecharge": {
  47553. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  47554. "type": "number"
  47555. },
  47556. "closeqty": {
  47557. "description": "平仓数量(先建后平操作 需要记录)",
  47558. "type": "number"
  47559. },
  47560. "closetradeqty": {
  47561. "description": "平仓成交数量(先建后平操作,需要记录)",
  47562. "type": "number"
  47563. },
  47564. "closeunfreezecharge": {
  47565. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  47566. "type": "number"
  47567. },
  47568. "decimalplace": {
  47569. "description": "商品报价小数位",
  47570. "type": "integer"
  47571. },
  47572. "delistingtype": {
  47573. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  47574. "type": "integer"
  47575. },
  47576. "enableqty": {
  47577. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  47578. "type": "number"
  47579. },
  47580. "enumdicname": {
  47581. "description": "单位名称",
  47582. "type": "string"
  47583. },
  47584. "freezecharge": {
  47585. "description": "冻结手续费",
  47586. "type": "number"
  47587. },
  47588. "freezemargin": {
  47589. "description": "冻结保证金(冻结交易金额)",
  47590. "type": "number"
  47591. },
  47592. "goodscode": {
  47593. "description": "商品代码",
  47594. "type": "string"
  47595. },
  47596. "goodsid": {
  47597. "description": "商品ID",
  47598. "type": "integer"
  47599. },
  47600. "goodsname": {
  47601. "description": "商品名称",
  47602. "type": "string"
  47603. },
  47604. "goodunitid": {
  47605. "description": "商品单位id",
  47606. "type": "integer"
  47607. },
  47608. "listingselecttype": {
  47609. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47610. "type": "integer"
  47611. },
  47612. "marketid": {
  47613. "description": "市场ID",
  47614. "type": "integer"
  47615. },
  47616. "marketname": {
  47617. "description": "市场名称",
  47618. "type": "string"
  47619. },
  47620. "openfreezecharge": {
  47621. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  47622. "type": "number"
  47623. },
  47624. "openqty": {
  47625. "description": "开仓数量(先建后平操作,需要记录)",
  47626. "type": "number"
  47627. },
  47628. "opentradeqty": {
  47629. "description": "开仓成交数量(先建后平操作,需要记录)",
  47630. "type": "number"
  47631. },
  47632. "openunfreezecharge": {
  47633. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  47634. "type": "number"
  47635. },
  47636. "operatetype": {
  47637. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  47638. "type": "integer"
  47639. },
  47640. "operatorid": {
  47641. "description": "登录账号(LoginID)",
  47642. "type": "integer"
  47643. },
  47644. "orderid": {
  47645. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47646. "type": "string"
  47647. },
  47648. "orderprice": {
  47649. "description": "委托价格",
  47650. "type": "number"
  47651. },
  47652. "orderqty": {
  47653. "description": "委托数量",
  47654. "type": "number"
  47655. },
  47656. "ordersrc": {
  47657. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  47658. "type": "integer"
  47659. },
  47660. "orderstatus": {
  47661. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  47662. "type": "integer"
  47663. },
  47664. "ordertime": {
  47665. "description": "委托时间",
  47666. "type": "string"
  47667. },
  47668. "preorderid": {
  47669. "description": "关联预埋单号(止盈止损单时填写)",
  47670. "type": "string"
  47671. },
  47672. "pricemode": {
  47673. "description": "取价方式 - 1:市价 2: 限价",
  47674. "type": "integer"
  47675. },
  47676. "qtydecimalplace": {
  47677. "description": "商品报价小数位",
  47678. "type": "integer"
  47679. },
  47680. "relatedid": {
  47681. "description": "关联单号(交割单)",
  47682. "type": "string"
  47683. },
  47684. "tradedate": {
  47685. "description": "交易日(yyyyMMdd)",
  47686. "type": "string"
  47687. },
  47688. "trademode": {
  47689. "description": "交易模式",
  47690. "type": "integer"
  47691. },
  47692. "tradeqty": {
  47693. "description": "成交数量",
  47694. "type": "number"
  47695. },
  47696. "unfreezecharge": {
  47697. "description": "解冻手续费",
  47698. "type": "number"
  47699. },
  47700. "unfreezemargin": {
  47701. "description": "解冻保证金",
  47702. "type": "number"
  47703. },
  47704. "validtime": {
  47705. "description": "有效期限",
  47706. "type": "string"
  47707. },
  47708. "validtype": {
  47709. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  47710. "type": "integer"
  47711. },
  47712. "volumetype": {
  47713. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  47714. "type": "integer"
  47715. }
  47716. }
  47717. },
  47718. "order.QueryTradePositionRsp": {
  47719. "type": "object",
  47720. "required": [
  47721. "goodsid"
  47722. ],
  47723. "properties": {
  47724. "accountid": {
  47725. "description": "资金账户",
  47726. "type": "integer"
  47727. },
  47728. "agreeunit": {
  47729. "description": "合约单位",
  47730. "type": "number"
  47731. },
  47732. "averageprice": {
  47733. "description": "持仓均价",
  47734. "type": "number"
  47735. },
  47736. "buyorsell": {
  47737. "description": "方向 - 0:买 1:卖",
  47738. "type": "integer"
  47739. },
  47740. "closetotalqty": {
  47741. "description": "平仓总数量",
  47742. "type": "number"
  47743. },
  47744. "curholderamount": {
  47745. "description": "当前持仓总金额[商品币种]",
  47746. "type": "number"
  47747. },
  47748. "curpositionqty": {
  47749. "description": "当前持仓总数量",
  47750. "type": "number"
  47751. },
  47752. "currencyid": {
  47753. "description": "报价货币ID",
  47754. "type": "integer"
  47755. },
  47756. "curtdposition": {
  47757. "description": "期末今日头寸",
  47758. "type": "number"
  47759. },
  47760. "decimalplace": {
  47761. "description": "报价小数位",
  47762. "type": "integer"
  47763. },
  47764. "enableqty": {
  47765. "description": "可用量",
  47766. "type": "number"
  47767. },
  47768. "fretdposition": {
  47769. "description": "冻结今日头寸",
  47770. "type": "number"
  47771. },
  47772. "frozenqty": {
  47773. "description": "持仓冻结数量",
  47774. "type": "number"
  47775. },
  47776. "goodscode": {
  47777. "description": "商品代码",
  47778. "type": "string"
  47779. },
  47780. "goodsid": {
  47781. "description": "商品Id",
  47782. "type": "integer"
  47783. },
  47784. "goodsname": {
  47785. "description": "商品名称",
  47786. "type": "string"
  47787. },
  47788. "goodunit": {
  47789. "description": "报价单位",
  47790. "type": "string"
  47791. },
  47792. "goodunitid": {
  47793. "description": "报价单位ID",
  47794. "type": "integer"
  47795. },
  47796. "holderamount": {
  47797. "description": "期初持仓总金额[商品币种]",
  47798. "type": "number"
  47799. },
  47800. "lastprice": {
  47801. "description": "最新价",
  47802. "type": "number"
  47803. },
  47804. "marketamount": {
  47805. "description": "市值",
  47806. "type": "number"
  47807. },
  47808. "marketid": {
  47809. "description": "所属市场ID",
  47810. "type": "integer"
  47811. },
  47812. "openreqqty": {
  47813. "description": "开仓申请数量(用于比较最大持仓数量)",
  47814. "type": "number"
  47815. },
  47816. "opentotalqty": {
  47817. "description": "开仓总数量",
  47818. "type": "number"
  47819. },
  47820. "otherfrozenqty": {
  47821. "description": "持仓其他冻结数量(交割冻结)",
  47822. "type": "number"
  47823. },
  47824. "positionpl": {
  47825. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  47826. "type": "number"
  47827. },
  47828. "positionplrate": {
  47829. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  47830. "type": "number"
  47831. },
  47832. "positionqty": {
  47833. "description": "期初持仓数量",
  47834. "type": "number"
  47835. },
  47836. "qtydecimalplace": {
  47837. "description": "成交量小数位",
  47838. "type": "integer"
  47839. },
  47840. "refgoodscode": {
  47841. "description": "参考商品代码",
  47842. "type": "string"
  47843. },
  47844. "refgoodsid": {
  47845. "description": "参考商品ID",
  47846. "type": "integer"
  47847. },
  47848. "tnqty": {
  47849. "description": "T+N冻结总量",
  47850. "type": "number"
  47851. },
  47852. "tnusedqty": {
  47853. "description": "T+N使用量(可以使用T+N的冻结数量)",
  47854. "type": "number"
  47855. },
  47856. "trademode": {
  47857. "description": "交易模式",
  47858. "type": "integer"
  47859. },
  47860. "tradeproperty": {
  47861. "description": "交易属性",
  47862. "type": "integer"
  47863. },
  47864. "usedmargin": {
  47865. "description": "占用保证金[商品币种]",
  47866. "type": "number"
  47867. }
  47868. }
  47869. },
  47870. "pb.GoodsMarginCfgStruct": {
  47871. "type": "object",
  47872. "properties": {
  47873. "CustomerTypeID": {
  47874. "description": "投资者客户类型",
  47875. "type": "integer"
  47876. },
  47877. "GoodsID": {
  47878. "description": "商品ID",
  47879. "type": "integer"
  47880. },
  47881. "IsDefault": {
  47882. "description": "是否默认标志位",
  47883. "type": "integer"
  47884. },
  47885. "LockMarginValue": {
  47886. "description": "锁仓保证金",
  47887. "type": "number"
  47888. },
  47889. "MarginAlgorithm": {
  47890. "description": "保证金计算方式",
  47891. "type": "integer"
  47892. },
  47893. "MarketMarginValue": {
  47894. "description": "即市保证金值",
  47895. "type": "number"
  47896. },
  47897. "RealMarginAlgorithm": {
  47898. "description": "实付保证金计算方式",
  47899. "type": "integer"
  47900. },
  47901. "RealMarginValue": {
  47902. "description": "实付比例",
  47903. "type": "number"
  47904. },
  47905. "ReckonMarginValue": {
  47906. "description": "结算保证金值",
  47907. "type": "number"
  47908. }
  47909. }
  47910. },
  47911. "quote.HistoryData": {
  47912. "type": "object",
  47913. "properties": {
  47914. "c": {
  47915. "description": "收盘价",
  47916. "type": "number"
  47917. },
  47918. "f": {
  47919. "description": "是否补充数据",
  47920. "type": "boolean"
  47921. },
  47922. "h": {
  47923. "description": "最高价",
  47924. "type": "number"
  47925. },
  47926. "hv": {
  47927. "description": "持仓量",
  47928. "type": "integer"
  47929. },
  47930. "l": {
  47931. "description": "最低价",
  47932. "type": "number"
  47933. },
  47934. "o": {
  47935. "description": "开盘价",
  47936. "type": "number"
  47937. },
  47938. "s": {
  47939. "description": "结算价,日线周期(包括)以上才有",
  47940. "type": "number"
  47941. },
  47942. "ts": {
  47943. "description": "时间",
  47944. "type": "string"
  47945. },
  47946. "tt": {
  47947. "description": "总金额",
  47948. "type": "number"
  47949. },
  47950. "tv": {
  47951. "description": "总量(成交量)",
  47952. "type": "integer"
  47953. }
  47954. }
  47955. },
  47956. "quote.HistoryTikData": {
  47957. "type": "object",
  47958. "properties": {
  47959. "AV": {
  47960. "description": "卖量",
  47961. "type": "integer"
  47962. },
  47963. "Ask": {
  47964. "description": "卖价",
  47965. "type": "number"
  47966. },
  47967. "BV": {
  47968. "description": "买量",
  47969. "type": "integer"
  47970. },
  47971. "Bid": {
  47972. "description": "买价",
  47973. "type": "number"
  47974. },
  47975. "HI": {
  47976. "description": "单笔持仓",
  47977. "type": "integer"
  47978. },
  47979. "HV": {
  47980. "description": "持仓量",
  47981. "type": "integer"
  47982. },
  47983. "PE": {
  47984. "description": "现价",
  47985. "type": "number"
  47986. },
  47987. "TDR": {
  47988. "description": "交易方向,0:买 1:卖",
  47989. "type": "integer"
  47990. },
  47991. "TK": {
  47992. "description": "交易类型",
  47993. "type": "integer"
  47994. },
  47995. "TS": {
  47996. "description": "行情时间文本",
  47997. "type": "string"
  47998. },
  47999. "TT": {
  48000. "description": "现金额",
  48001. "type": "number"
  48002. },
  48003. "Vol": {
  48004. "description": "现量",
  48005. "type": "integer"
  48006. }
  48007. }
  48008. },
  48009. "quote.QueryQuoteDayRsp": {
  48010. "type": "object",
  48011. "properties": {
  48012. "ask": {
  48013. "description": "卖1",
  48014. "type": "number"
  48015. },
  48016. "ask10": {
  48017. "description": "卖10",
  48018. "type": "number"
  48019. },
  48020. "ask2": {
  48021. "description": "卖2",
  48022. "type": "number"
  48023. },
  48024. "ask3": {
  48025. "description": "卖3",
  48026. "type": "number"
  48027. },
  48028. "ask4": {
  48029. "description": "卖4",
  48030. "type": "number"
  48031. },
  48032. "ask5": {
  48033. "description": "卖5",
  48034. "type": "number"
  48035. },
  48036. "ask6": {
  48037. "description": "卖6",
  48038. "type": "number"
  48039. },
  48040. "ask7": {
  48041. "description": "卖7",
  48042. "type": "number"
  48043. },
  48044. "ask8": {
  48045. "description": "卖8",
  48046. "type": "number"
  48047. },
  48048. "ask9": {
  48049. "description": "卖9",
  48050. "type": "number"
  48051. },
  48052. "askorderid": {
  48053. "description": "卖单号1",
  48054. "type": "integer"
  48055. },
  48056. "askorderid2": {
  48057. "description": "卖单号2",
  48058. "type": "integer"
  48059. },
  48060. "askorderid3": {
  48061. "description": "卖单号3",
  48062. "type": "integer"
  48063. },
  48064. "askorderid4": {
  48065. "description": "卖单号4",
  48066. "type": "integer"
  48067. },
  48068. "askorderid5": {
  48069. "description": "卖单号5",
  48070. "type": "integer"
  48071. },
  48072. "askordervolume": {
  48073. "description": "卖单量1",
  48074. "type": "integer"
  48075. },
  48076. "askordervolume10": {
  48077. "description": "卖单量10",
  48078. "type": "integer"
  48079. },
  48080. "askordervolume2": {
  48081. "description": "卖单量2",
  48082. "type": "integer"
  48083. },
  48084. "askordervolume3": {
  48085. "description": "卖单量3",
  48086. "type": "integer"
  48087. },
  48088. "askordervolume4": {
  48089. "description": "卖单量4",
  48090. "type": "integer"
  48091. },
  48092. "askordervolume5": {
  48093. "description": "卖单量5",
  48094. "type": "integer"
  48095. },
  48096. "askordervolume6": {
  48097. "description": "卖单量6",
  48098. "type": "integer"
  48099. },
  48100. "askordervolume7": {
  48101. "description": "卖单量7",
  48102. "type": "integer"
  48103. },
  48104. "askordervolume8": {
  48105. "description": "卖单量8",
  48106. "type": "integer"
  48107. },
  48108. "askordervolume9": {
  48109. "description": "卖单量9",
  48110. "type": "integer"
  48111. },
  48112. "askqueueinfo": {
  48113. "description": "大利市卖港股用",
  48114. "type": "string"
  48115. },
  48116. "askvolume": {
  48117. "description": "卖量1",
  48118. "type": "integer"
  48119. },
  48120. "askvolume10": {
  48121. "description": "卖量10",
  48122. "type": "integer"
  48123. },
  48124. "askvolume2": {
  48125. "description": "卖量2",
  48126. "type": "integer"
  48127. },
  48128. "askvolume3": {
  48129. "description": "卖量3",
  48130. "type": "integer"
  48131. },
  48132. "askvolume4": {
  48133. "description": "卖量4",
  48134. "type": "integer"
  48135. },
  48136. "askvolume5": {
  48137. "description": "卖量5",
  48138. "type": "integer"
  48139. },
  48140. "askvolume6": {
  48141. "description": "卖量6",
  48142. "type": "integer"
  48143. },
  48144. "askvolume7": {
  48145. "description": "卖量7",
  48146. "type": "integer"
  48147. },
  48148. "askvolume8": {
  48149. "description": "卖量8",
  48150. "type": "integer"
  48151. },
  48152. "askvolume9": {
  48153. "description": "卖量9",
  48154. "type": "integer"
  48155. },
  48156. "averageprice": {
  48157. "description": "均价",
  48158. "type": "number"
  48159. },
  48160. "bid": {
  48161. "description": "买1",
  48162. "type": "number"
  48163. },
  48164. "bid10": {
  48165. "description": "买10",
  48166. "type": "number"
  48167. },
  48168. "bid2": {
  48169. "description": "买2",
  48170. "type": "number"
  48171. },
  48172. "bid3": {
  48173. "description": "买3",
  48174. "type": "number"
  48175. },
  48176. "bid4": {
  48177. "description": "买4",
  48178. "type": "number"
  48179. },
  48180. "bid5": {
  48181. "description": "买5",
  48182. "type": "number"
  48183. },
  48184. "bid6": {
  48185. "description": "买6",
  48186. "type": "number"
  48187. },
  48188. "bid7": {
  48189. "description": "买7",
  48190. "type": "number"
  48191. },
  48192. "bid8": {
  48193. "description": "买8",
  48194. "type": "number"
  48195. },
  48196. "bid9": {
  48197. "description": "买9",
  48198. "type": "number"
  48199. },
  48200. "bidorderid": {
  48201. "description": "买单号1",
  48202. "type": "integer"
  48203. },
  48204. "bidorderid2": {
  48205. "description": "买单号2",
  48206. "type": "integer"
  48207. },
  48208. "bidorderid3": {
  48209. "description": "买单号3",
  48210. "type": "integer"
  48211. },
  48212. "bidorderid4": {
  48213. "description": "买单号4",
  48214. "type": "integer"
  48215. },
  48216. "bidorderid5": {
  48217. "description": "买单号5",
  48218. "type": "integer"
  48219. },
  48220. "bidordervolume": {
  48221. "description": "买单量1",
  48222. "type": "integer"
  48223. },
  48224. "bidordervolume10": {
  48225. "description": "买单量10",
  48226. "type": "integer"
  48227. },
  48228. "bidordervolume2": {
  48229. "description": "买单量2",
  48230. "type": "integer"
  48231. },
  48232. "bidordervolume3": {
  48233. "description": "买单量3",
  48234. "type": "integer"
  48235. },
  48236. "bidordervolume4": {
  48237. "description": "买单量4",
  48238. "type": "integer"
  48239. },
  48240. "bidordervolume5": {
  48241. "description": "买单量5",
  48242. "type": "integer"
  48243. },
  48244. "bidordervolume6": {
  48245. "description": "买单量6",
  48246. "type": "integer"
  48247. },
  48248. "bidordervolume7": {
  48249. "description": "买单量7",
  48250. "type": "integer"
  48251. },
  48252. "bidordervolume8": {
  48253. "description": "买单量8",
  48254. "type": "integer"
  48255. },
  48256. "bidordervolume9": {
  48257. "description": "买单量9",
  48258. "type": "integer"
  48259. },
  48260. "bidqueueinfo": {
  48261. "description": "大利市买港股用",
  48262. "type": "string"
  48263. },
  48264. "bidvolume": {
  48265. "description": "买量1",
  48266. "type": "integer"
  48267. },
  48268. "bidvolume10": {
  48269. "description": "买量10",
  48270. "type": "integer"
  48271. },
  48272. "bidvolume2": {
  48273. "description": "买量2",
  48274. "type": "integer"
  48275. },
  48276. "bidvolume3": {
  48277. "description": "买量3",
  48278. "type": "integer"
  48279. },
  48280. "bidvolume4": {
  48281. "description": "买量4",
  48282. "type": "integer"
  48283. },
  48284. "bidvolume5": {
  48285. "description": "买量5",
  48286. "type": "integer"
  48287. },
  48288. "bidvolume6": {
  48289. "description": "买量6",
  48290. "type": "integer"
  48291. },
  48292. "bidvolume7": {
  48293. "description": "买量7",
  48294. "type": "integer"
  48295. },
  48296. "bidvolume8": {
  48297. "description": "买量8",
  48298. "type": "integer"
  48299. },
  48300. "bidvolume9": {
  48301. "description": "买量9",
  48302. "type": "integer"
  48303. },
  48304. "calloptionpremiums": {
  48305. "description": "认购期权1",
  48306. "type": "integer"
  48307. },
  48308. "calloptionpremiums2": {
  48309. "description": "认购期权2",
  48310. "type": "integer"
  48311. },
  48312. "calloptionpremiums3": {
  48313. "description": "认购期权3",
  48314. "type": "integer"
  48315. },
  48316. "calloptionpremiums4": {
  48317. "description": "认购期权4",
  48318. "type": "integer"
  48319. },
  48320. "calloptionpremiums5": {
  48321. "description": "认购期权5",
  48322. "type": "integer"
  48323. },
  48324. "cleartime": {
  48325. "description": "清盘时间",
  48326. "type": "integer"
  48327. },
  48328. "exchangecode": {
  48329. "description": "交易所代码",
  48330. "type": "integer"
  48331. },
  48332. "exchangedate": {
  48333. "description": "交易日",
  48334. "type": "integer"
  48335. },
  48336. "goodscode": {
  48337. "description": "商品代码",
  48338. "type": "string"
  48339. },
  48340. "grepmarketprice": {
  48341. "description": "暗盘价 港股专用",
  48342. "type": "number"
  48343. },
  48344. "highest": {
  48345. "description": "最高价",
  48346. "type": "number"
  48347. },
  48348. "holdincrement": {
  48349. "description": "单笔持仓",
  48350. "type": "integer"
  48351. },
  48352. "holdvolume": {
  48353. "description": "持仓",
  48354. "type": "integer"
  48355. },
  48356. "iep": {
  48357. "description": "平衡价 港股专用",
  48358. "type": "number"
  48359. },
  48360. "iev": {
  48361. "description": "平衡量 港股专用",
  48362. "type": "number"
  48363. },
  48364. "inventory": {
  48365. "description": "库存",
  48366. "type": "integer"
  48367. },
  48368. "iscleared": {
  48369. "description": "是否清盘标志",
  48370. "type": "integer"
  48371. },
  48372. "issettled": {
  48373. "description": "是否结算标志",
  48374. "type": "integer"
  48375. },
  48376. "last": {
  48377. "description": "最新价",
  48378. "type": "number"
  48379. },
  48380. "lastlot": {
  48381. "description": "最新成交手数",
  48382. "type": "integer"
  48383. },
  48384. "lasttime": {
  48385. "description": "行情时间(只有现价变化行情时间才变化)",
  48386. "type": "string"
  48387. },
  48388. "lastturnover": {
  48389. "description": "最新成交金额",
  48390. "type": "number"
  48391. },
  48392. "lastvolume": {
  48393. "description": "最新成交量",
  48394. "type": "integer"
  48395. },
  48396. "limitdown": {
  48397. "description": "跌停价",
  48398. "type": "number"
  48399. },
  48400. "limitup": {
  48401. "description": "涨停价",
  48402. "type": "number"
  48403. },
  48404. "lowest": {
  48405. "description": "最低价",
  48406. "type": "number"
  48407. },
  48408. "nontotalholdervolume": {
  48409. "description": "非交易持仓量",
  48410. "type": "integer"
  48411. },
  48412. "nontotallot": {
  48413. "description": "非交易总手数",
  48414. "type": "integer"
  48415. },
  48416. "nontotalturnover": {
  48417. "description": "非交易总金额",
  48418. "type": "integer"
  48419. },
  48420. "nontotalvolume": {
  48421. "description": "非交易总量",
  48422. "type": "integer"
  48423. },
  48424. "opened": {
  48425. "description": "开盘价",
  48426. "type": "number"
  48427. },
  48428. "opentime": {
  48429. "description": "开盘时间",
  48430. "type": "string"
  48431. },
  48432. "orderid": {
  48433. "description": "序号",
  48434. "type": "integer"
  48435. },
  48436. "preclose": {
  48437. "description": "昨收",
  48438. "type": "number"
  48439. },
  48440. "preholdvolume": {
  48441. "description": "昨持仓",
  48442. "type": "integer"
  48443. },
  48444. "presettle": {
  48445. "description": "昨结价",
  48446. "type": "number"
  48447. },
  48448. "publictradetype": {
  48449. "description": "公共交易标志类型 港股专用",
  48450. "type": "string"
  48451. },
  48452. "putoptionpremiums": {
  48453. "description": "认沽期权1",
  48454. "type": "integer"
  48455. },
  48456. "putoptionpremiums2": {
  48457. "description": "认沽期权2",
  48458. "type": "integer"
  48459. },
  48460. "putoptionpremiums3": {
  48461. "description": "认沽期权3",
  48462. "type": "integer"
  48463. },
  48464. "putoptionpremiums4": {
  48465. "description": "认沽期权4",
  48466. "type": "integer"
  48467. },
  48468. "putoptionpremiums5": {
  48469. "description": "认沽期权5",
  48470. "type": "integer"
  48471. },
  48472. "settle": {
  48473. "description": "结算价",
  48474. "type": "number"
  48475. },
  48476. "strikeprice": {
  48477. "description": "发行价",
  48478. "type": "number"
  48479. },
  48480. "totalaskvolume": {
  48481. "description": "内盘",
  48482. "type": "integer"
  48483. },
  48484. "totalbidvolume": {
  48485. "description": "外盘",
  48486. "type": "integer"
  48487. },
  48488. "totallot": {
  48489. "description": "总手数",
  48490. "type": "integer"
  48491. },
  48492. "totalturnover": {
  48493. "description": "总金额",
  48494. "type": "number"
  48495. },
  48496. "totalvolume": {
  48497. "description": "总量",
  48498. "type": "integer"
  48499. },
  48500. "utclasttime": {
  48501. "description": "utc的行情时间",
  48502. "type": "string"
  48503. }
  48504. }
  48505. },
  48506. "quote.QueryTSDataRsp": {
  48507. "type": "object",
  48508. "properties": {
  48509. "Count": {
  48510. "description": "交易日应有数据个数",
  48511. "type": "integer"
  48512. },
  48513. "decimalPlace": {
  48514. "description": "小数位",
  48515. "type": "integer"
  48516. },
  48517. "endTime": {
  48518. "description": "结束时间",
  48519. "type": "string"
  48520. },
  48521. "goodsCode": {
  48522. "description": "商品代码",
  48523. "type": "string"
  48524. },
  48525. "historyDatas": {
  48526. "description": "历史数据",
  48527. "type": "array",
  48528. "items": {
  48529. "$ref": "#/definitions/quote.HistoryData"
  48530. }
  48531. },
  48532. "outGoodsCode": {
  48533. "description": "外部商品代码",
  48534. "type": "string"
  48535. },
  48536. "preSettle": {
  48537. "description": "昨结价",
  48538. "type": "number"
  48539. },
  48540. "runSteps": {
  48541. "description": "交易日开休市计划",
  48542. "type": "array",
  48543. "items": {
  48544. "$ref": "#/definitions/quote.TSDataRunStep"
  48545. }
  48546. },
  48547. "startTime": {
  48548. "description": "开始时间",
  48549. "type": "string"
  48550. },
  48551. "tradeDate": {
  48552. "description": "交易日",
  48553. "type": "string"
  48554. }
  48555. }
  48556. },
  48557. "quote.TSDataRunStep": {
  48558. "type": "object",
  48559. "properties": {
  48560. "end": {
  48561. "description": "真实结束时间",
  48562. "type": "string"
  48563. },
  48564. "endflag": {
  48565. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  48566. "type": "integer"
  48567. },
  48568. "endtime": {
  48569. "description": "结束时间(HH:mm)",
  48570. "type": "string"
  48571. },
  48572. "endweekday": {
  48573. "description": "结束周几",
  48574. "type": "integer"
  48575. },
  48576. "groupid": {
  48577. "description": "分组ID",
  48578. "type": "integer"
  48579. },
  48580. "runstep": {
  48581. "description": "运行阶段 - 2:连续交易",
  48582. "type": "integer"
  48583. },
  48584. "sectionid": {
  48585. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  48586. "type": "integer"
  48587. },
  48588. "start": {
  48589. "description": "真实开始时间",
  48590. "type": "string"
  48591. },
  48592. "startflag": {
  48593. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  48594. "type": "integer"
  48595. },
  48596. "starttime": {
  48597. "description": "起始时间(HH:mm)",
  48598. "type": "string"
  48599. },
  48600. "startweekday": {
  48601. "description": "起始周几",
  48602. "type": "integer"
  48603. },
  48604. "tradeweekday": {
  48605. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  48606. "type": "integer"
  48607. }
  48608. }
  48609. },
  48610. "szdz.QueryConvertLogRsp": {
  48611. "type": "object",
  48612. "required": [
  48613. "logid"
  48614. ],
  48615. "properties": {
  48616. "accountid": {
  48617. "description": "资金账户ID",
  48618. "type": "integer"
  48619. },
  48620. "clientticket": {
  48621. "description": "客户端流水号",
  48622. "type": "string"
  48623. },
  48624. "converttype": {
  48625. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  48626. "type": "integer"
  48627. },
  48628. "createtime": {
  48629. "description": "记账时间",
  48630. "type": "string"
  48631. },
  48632. "daymaxvalue": {
  48633. "description": "配置当日最大转入限制",
  48634. "type": "number"
  48635. },
  48636. "daymaxvalue2": {
  48637. "description": "配置当日最大转入限制(转入)",
  48638. "type": "number"
  48639. },
  48640. "goodscode": {
  48641. "description": "商品代码",
  48642. "type": "string"
  48643. },
  48644. "goodsname": {
  48645. "description": "商品名称",
  48646. "type": "string"
  48647. },
  48648. "handlestatus": {
  48649. "description": "处理状态",
  48650. "type": "integer"
  48651. },
  48652. "innergoodsid": {
  48653. "description": "内部商品ID",
  48654. "type": "integer"
  48655. },
  48656. "inratio": {
  48657. "description": "配置转入比值",
  48658. "type": "integer"
  48659. },
  48660. "invalue": {
  48661. "description": "目标值",
  48662. "type": "number"
  48663. },
  48664. "logid": {
  48665. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  48666. "type": "integer"
  48667. },
  48668. "mobile": {
  48669. "description": "手机号码(加密存储)",
  48670. "type": "string"
  48671. },
  48672. "outergoodscode": {
  48673. "description": "外部商品代码[JD\\PD]",
  48674. "type": "string"
  48675. },
  48676. "outratio": {
  48677. "description": "配置转出比值",
  48678. "type": "integer"
  48679. },
  48680. "outvalue": {
  48681. "description": "源值",
  48682. "type": "number"
  48683. },
  48684. "pddecimalplace": {
  48685. "description": "PD小数位",
  48686. "type": "integer"
  48687. },
  48688. "qty": {
  48689. "description": "数量",
  48690. "type": "string"
  48691. },
  48692. "remark": {
  48693. "description": "备注",
  48694. "type": "string"
  48695. },
  48696. "sessionid": {
  48697. "description": "会话ID",
  48698. "type": "integer"
  48699. },
  48700. "timemaxvalue": {
  48701. "description": "配置单次最大转入限制",
  48702. "type": "number"
  48703. },
  48704. "timemaxvalue2": {
  48705. "description": "配置单次最大转入限制(转入)",
  48706. "type": "number"
  48707. },
  48708. "timeminvalue": {
  48709. "description": "配置单次最小数量限制",
  48710. "type": "number"
  48711. },
  48712. "timeminvalue2": {
  48713. "description": "配置单次最小数量限制(转入)",
  48714. "type": "number"
  48715. },
  48716. "tradedate": {
  48717. "description": "交易日(yyyyMMdd)",
  48718. "type": "string"
  48719. },
  48720. "userid": {
  48721. "description": "用户ID",
  48722. "type": "integer"
  48723. }
  48724. }
  48725. },
  48726. "szdz.QueryGoodsPickupRsp": {
  48727. "type": "object",
  48728. "required": [
  48729. "takeorderid"
  48730. ],
  48731. "properties": {
  48732. "accountid": {
  48733. "description": "账户ID",
  48734. "type": "integer"
  48735. },
  48736. "address": {
  48737. "description": "提货人详细地址",
  48738. "type": "string"
  48739. },
  48740. "auditer": {
  48741. "description": "审核人",
  48742. "type": "integer"
  48743. },
  48744. "audittime": {
  48745. "description": "审核时间",
  48746. "type": "string"
  48747. },
  48748. "cardnum": {
  48749. "description": "提货人证件号码",
  48750. "type": "string"
  48751. },
  48752. "cardtypeid": {
  48753. "description": "提货人证件类型",
  48754. "type": "integer"
  48755. },
  48756. "checkremark": {
  48757. "description": "审核备注",
  48758. "type": "string"
  48759. },
  48760. "goodscode": {
  48761. "description": "商品代码",
  48762. "type": "string"
  48763. },
  48764. "goodsid": {
  48765. "description": "商品ID",
  48766. "type": "integer"
  48767. },
  48768. "goodsname": {
  48769. "description": "商品名称",
  48770. "type": "string"
  48771. },
  48772. "handlestatus": {
  48773. "description": "处理状态",
  48774. "type": "integer"
  48775. },
  48776. "marketid": {
  48777. "description": "市场ID",
  48778. "type": "integer"
  48779. },
  48780. "phonenum": {
  48781. "description": "提货人联系方式",
  48782. "type": "string"
  48783. },
  48784. "qty": {
  48785. "description": "提货数量",
  48786. "type": "number"
  48787. },
  48788. "recivername": {
  48789. "description": "提货人姓名",
  48790. "type": "string"
  48791. },
  48792. "reqtime": {
  48793. "description": "更新时间",
  48794. "type": "string"
  48795. },
  48796. "takemode": {
  48797. "description": "提货方式 - 2:自提 3:配送",
  48798. "type": "integer"
  48799. },
  48800. "takeorderid": {
  48801. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  48802. "type": "string"
  48803. },
  48804. "takeorderstatus": {
  48805. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  48806. "type": "integer"
  48807. },
  48808. "takeremark": {
  48809. "description": "提货备注",
  48810. "type": "string"
  48811. },
  48812. "tradedate": {
  48813. "description": "交易日(yyyyMMdd)",
  48814. "type": "string"
  48815. },
  48816. "userid": {
  48817. "description": "用户ID",
  48818. "type": "integer"
  48819. }
  48820. }
  48821. },
  48822. "szdz.QueryRecieptOrderRsp": {
  48823. "type": "object",
  48824. "required": [
  48825. "ordertime"
  48826. ],
  48827. "properties": {
  48828. "accountName": {
  48829. "description": "所属账号名称(已脱敏)",
  48830. "type": "string"
  48831. },
  48832. "accountid": {
  48833. "description": "资金账号",
  48834. "type": "integer"
  48835. },
  48836. "buyorsell": {
  48837. "description": "方向 - 0:买 1:卖",
  48838. "type": "integer"
  48839. },
  48840. "enableqty": {
  48841. "description": "可摘数量",
  48842. "type": "integer"
  48843. },
  48844. "goodscode": {
  48845. "description": "商品代码",
  48846. "type": "string"
  48847. },
  48848. "goodsid": {
  48849. "description": "商品ID",
  48850. "type": "integer"
  48851. },
  48852. "goodsname": {
  48853. "description": "商品名称",
  48854. "type": "string"
  48855. },
  48856. "orderid": {
  48857. "description": "委托单号",
  48858. "type": "string"
  48859. },
  48860. "orderprice": {
  48861. "description": "委托价格",
  48862. "type": "number"
  48863. },
  48864. "ordertime": {
  48865. "description": "委托时间",
  48866. "type": "string"
  48867. },
  48868. "tradedate": {
  48869. "description": "交易日(yyyyMMdd)",
  48870. "type": "string"
  48871. }
  48872. }
  48873. },
  48874. "szdz.QuerySZDZTradePositionRsp": {
  48875. "type": "object",
  48876. "properties": {
  48877. "accountid": {
  48878. "description": "账号Id",
  48879. "type": "integer"
  48880. },
  48881. "agreeunit": {
  48882. "description": "合约单位",
  48883. "type": "number"
  48884. },
  48885. "averageprice": {
  48886. "description": "持仓均价",
  48887. "type": "number"
  48888. },
  48889. "buyorsell": {
  48890. "description": "方向 - 0:买 1:卖",
  48891. "type": "integer"
  48892. },
  48893. "closetotalqty": {
  48894. "description": "平仓总数量",
  48895. "type": "integer"
  48896. },
  48897. "curholderamount": {
  48898. "description": "当前持仓总金额",
  48899. "type": "number"
  48900. },
  48901. "curpositionqty": {
  48902. "description": "当前持仓总数量",
  48903. "type": "integer"
  48904. },
  48905. "currencyid": {
  48906. "description": "报价货币ID",
  48907. "type": "integer"
  48908. },
  48909. "curtdposition": {
  48910. "description": "期末今日头寸",
  48911. "type": "integer"
  48912. },
  48913. "decimalplace": {
  48914. "description": "报价小数位",
  48915. "type": "integer"
  48916. },
  48917. "enableqty": {
  48918. "description": "可用量",
  48919. "type": "integer"
  48920. },
  48921. "fretdposition": {
  48922. "description": "冻结今日头寸",
  48923. "type": "integer"
  48924. },
  48925. "frozenqty": {
  48926. "description": "持仓冻结数量",
  48927. "type": "integer"
  48928. },
  48929. "goodscode": {
  48930. "description": "商品代码(内部)",
  48931. "type": "string"
  48932. },
  48933. "goodsid": {
  48934. "description": "商品Id",
  48935. "type": "integer"
  48936. },
  48937. "goodsname": {
  48938. "description": "商品名称",
  48939. "type": "string"
  48940. },
  48941. "goodunit": {
  48942. "description": "报价单位",
  48943. "type": "string"
  48944. },
  48945. "goodunitid": {
  48946. "description": "报价单位ID",
  48947. "type": "integer"
  48948. },
  48949. "holderamount": {
  48950. "description": "期初持仓总金额",
  48951. "type": "number"
  48952. },
  48953. "marketid": {
  48954. "description": "市场ID",
  48955. "type": "integer"
  48956. },
  48957. "openreqqty": {
  48958. "description": "开仓申请数量",
  48959. "type": "integer"
  48960. },
  48961. "opentotalqty": {
  48962. "description": "开仓总数量",
  48963. "type": "integer"
  48964. },
  48965. "otherfrozenqty": {
  48966. "description": "持仓其他冻结数量(交割冻结)",
  48967. "type": "integer"
  48968. },
  48969. "positionqty": {
  48970. "description": "期初持仓数量",
  48971. "type": "integer"
  48972. },
  48973. "szdz3freezqty": {
  48974. "description": "尚志大宗转换冻结总数量",
  48975. "type": "integer"
  48976. },
  48977. "tnqty": {
  48978. "description": "T+N冻结总量",
  48979. "type": "integer"
  48980. },
  48981. "tnusedqty": {
  48982. "description": "T+N使用量",
  48983. "type": "integer"
  48984. },
  48985. "trademode": {
  48986. "description": "交易模式",
  48987. "type": "integer"
  48988. },
  48989. "usedmargin": {
  48990. "description": "占用保证金",
  48991. "type": "number"
  48992. }
  48993. }
  48994. },
  48995. "taaccount.QueryAmountLogRsp": {
  48996. "type": "object",
  48997. "required": [
  48998. "accountid",
  48999. "amount",
  49000. "amountadjusttype",
  49001. "autoid",
  49002. "balance",
  49003. "createtime",
  49004. "currentbalance",
  49005. "operatetype"
  49006. ],
  49007. "properties": {
  49008. "OPERATETYPENAME": {
  49009. "description": "资金操作类型名称",
  49010. "type": "string"
  49011. },
  49012. "accountid": {
  49013. "description": "资金账户ID",
  49014. "type": "integer"
  49015. },
  49016. "agoodscode": {
  49017. "description": "竞拍商品代码",
  49018. "type": "string"
  49019. },
  49020. "agoodsname": {
  49021. "description": "竞拍商品名称",
  49022. "type": "string"
  49023. },
  49024. "amount": {
  49025. "description": "资金金额",
  49026. "type": "number"
  49027. },
  49028. "amountadjusttype": {
  49029. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  49030. "type": "integer"
  49031. },
  49032. "autoid": {
  49033. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  49034. "type": "integer"
  49035. },
  49036. "balance": {
  49037. "description": "期初余额",
  49038. "type": "number"
  49039. },
  49040. "businesscode": {
  49041. "description": "业务编号",
  49042. "type": "integer"
  49043. },
  49044. "createtime": {
  49045. "description": "发生时间",
  49046. "type": "string"
  49047. },
  49048. "currencyid": {
  49049. "description": "币种ID",
  49050. "type": "integer"
  49051. },
  49052. "currentbalance": {
  49053. "description": "期末余额(变动后金额)",
  49054. "type": "number"
  49055. },
  49056. "dgoodscode": {
  49057. "description": "交割商品代码",
  49058. "type": "string"
  49059. },
  49060. "dgoodsname": {
  49061. "description": "交割商品名称",
  49062. "type": "string"
  49063. },
  49064. "goodscode": {
  49065. "description": "商品代码",
  49066. "type": "string"
  49067. },
  49068. "goodsid": {
  49069. "description": "商品ID",
  49070. "type": "integer"
  49071. },
  49072. "goodsname": {
  49073. "description": "商品名称",
  49074. "type": "string"
  49075. },
  49076. "marketid": {
  49077. "description": "市场ID",
  49078. "type": "integer"
  49079. },
  49080. "marketname": {
  49081. "description": "市场名称",
  49082. "type": "string"
  49083. },
  49084. "moneyticket": {
  49085. "description": "资金流水号:银行端流水号",
  49086. "type": "integer"
  49087. },
  49088. "operatetype": {
  49089. "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:营销收款",
  49090. "type": "integer"
  49091. },
  49092. "relationorderid": {
  49093. "description": "关联单号",
  49094. "type": "string"
  49095. },
  49096. "remark": {
  49097. "description": "备注",
  49098. "type": "string"
  49099. },
  49100. "trademode": {
  49101. "description": "交易模式",
  49102. "type": "integer"
  49103. }
  49104. }
  49105. },
  49106. "taaccount.QueryHisAmountLogRsp": {
  49107. "type": "object",
  49108. "required": [
  49109. "accountid",
  49110. "amount",
  49111. "amountadjusttype",
  49112. "autoid",
  49113. "balance",
  49114. "createtime",
  49115. "currentbalance",
  49116. "histradedate",
  49117. "operatetype"
  49118. ],
  49119. "properties": {
  49120. "OPERATETYPENAME": {
  49121. "description": "资金操作类型名称",
  49122. "type": "string"
  49123. },
  49124. "accountid": {
  49125. "description": "资金账户ID",
  49126. "type": "integer"
  49127. },
  49128. "agoodscode": {
  49129. "description": "竞拍商品代码",
  49130. "type": "string"
  49131. },
  49132. "agoodsname": {
  49133. "description": "竞拍商品名称",
  49134. "type": "string"
  49135. },
  49136. "amount": {
  49137. "description": "资金金额",
  49138. "type": "number"
  49139. },
  49140. "amountadjusttype": {
  49141. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  49142. "type": "integer"
  49143. },
  49144. "autoid": {
  49145. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  49146. "type": "integer"
  49147. },
  49148. "balance": {
  49149. "description": "期初余额",
  49150. "type": "number"
  49151. },
  49152. "businesscode": {
  49153. "description": "业务编号",
  49154. "type": "integer"
  49155. },
  49156. "createtime": {
  49157. "description": "发生时间",
  49158. "type": "string"
  49159. },
  49160. "currencyid": {
  49161. "description": "币种ID",
  49162. "type": "integer"
  49163. },
  49164. "currentbalance": {
  49165. "description": "期末余额(变动后金额)",
  49166. "type": "number"
  49167. },
  49168. "dgoodscode": {
  49169. "description": "交割商品代码",
  49170. "type": "string"
  49171. },
  49172. "dgoodsname": {
  49173. "description": "交割商品名称",
  49174. "type": "string"
  49175. },
  49176. "goodscode": {
  49177. "description": "商品代码",
  49178. "type": "string"
  49179. },
  49180. "goodsid": {
  49181. "description": "商品ID",
  49182. "type": "integer"
  49183. },
  49184. "goodsname": {
  49185. "description": "商品名称",
  49186. "type": "string"
  49187. },
  49188. "histradedate": {
  49189. "description": "历史交易日",
  49190. "type": "string"
  49191. },
  49192. "isvaliddata": {
  49193. "description": "是否有效 - 0:无效 1:有效",
  49194. "type": "integer"
  49195. },
  49196. "marketid": {
  49197. "description": "市场ID",
  49198. "type": "integer"
  49199. },
  49200. "marketname": {
  49201. "description": "市场名称",
  49202. "type": "string"
  49203. },
  49204. "moneyticket": {
  49205. "description": "资金流水号:银行端流水号",
  49206. "type": "integer"
  49207. },
  49208. "operatetype": {
  49209. "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:营销收款",
  49210. "type": "integer"
  49211. },
  49212. "relationorderid": {
  49213. "description": "关联单号",
  49214. "type": "string"
  49215. },
  49216. "remark": {
  49217. "description": "备注",
  49218. "type": "string"
  49219. },
  49220. "trademode": {
  49221. "description": "交易模式",
  49222. "type": "integer"
  49223. }
  49224. }
  49225. },
  49226. "trade.QueryRecieptOrderRsp": {
  49227. "type": "object",
  49228. "required": [
  49229. "ordertime"
  49230. ],
  49231. "properties": {
  49232. "accountName": {
  49233. "description": "所属账号名称(已脱敏)",
  49234. "type": "string"
  49235. },
  49236. "accountid": {
  49237. "description": "资金账号",
  49238. "type": "integer"
  49239. },
  49240. "buyorsell": {
  49241. "description": "方向 - 0:买 1:卖",
  49242. "type": "integer"
  49243. },
  49244. "enableqty": {
  49245. "description": "可摘数量",
  49246. "type": "integer"
  49247. },
  49248. "goodscode": {
  49249. "description": "商品代码",
  49250. "type": "string"
  49251. },
  49252. "goodsid": {
  49253. "description": "商品ID",
  49254. "type": "integer"
  49255. },
  49256. "goodsname": {
  49257. "description": "商品名称",
  49258. "type": "string"
  49259. },
  49260. "orderid": {
  49261. "description": "委托单号",
  49262. "type": "string"
  49263. },
  49264. "orderprice": {
  49265. "description": "委托价格",
  49266. "type": "number"
  49267. },
  49268. "ordertime": {
  49269. "description": "委托时间",
  49270. "type": "string"
  49271. },
  49272. "tradedate": {
  49273. "description": "交易日(yyyyMMdd)",
  49274. "type": "string"
  49275. }
  49276. }
  49277. },
  49278. "user.LoginQueryRsp": {
  49279. "type": "object",
  49280. "properties": {
  49281. "areaRoles": {
  49282. "description": "所属角色信息",
  49283. "type": "array",
  49284. "items": {
  49285. "$ref": "#/definitions/models.Arearole"
  49286. }
  49287. },
  49288. "exchangeRateConfigs": {
  49289. "description": "汇率信息",
  49290. "type": "array",
  49291. "items": {
  49292. "$ref": "#/definitions/models.Exchangerateconfig"
  49293. }
  49294. },
  49295. "externalExchanges": {
  49296. "description": "外部交易所",
  49297. "type": "array",
  49298. "items": {
  49299. "$ref": "#/definitions/models.Externalexchange"
  49300. }
  49301. },
  49302. "goodsgroups": {
  49303. "description": "商品组",
  49304. "type": "array",
  49305. "items": {
  49306. "$ref": "#/definitions/models.Goodsgroup"
  49307. }
  49308. },
  49309. "loginAccount": {
  49310. "description": "登录账号",
  49311. "$ref": "#/definitions/models.Loginaccount"
  49312. },
  49313. "markets": {
  49314. "description": "市场",
  49315. "type": "array",
  49316. "items": {
  49317. "$ref": "#/definitions/models.Market"
  49318. }
  49319. },
  49320. "systemParams": {
  49321. "description": "系统参数",
  49322. "type": "array",
  49323. "items": {
  49324. "$ref": "#/definitions/models.Systemparam"
  49325. }
  49326. },
  49327. "userAccount": {
  49328. "description": "用户账号",
  49329. "$ref": "#/definitions/models.Useraccount"
  49330. },
  49331. "userInfo": {
  49332. "description": "用户信息",
  49333. "$ref": "#/definitions/models.Userinfo"
  49334. },
  49335. "username": {
  49336. "description": "用户姓名",
  49337. "type": "string"
  49338. }
  49339. }
  49340. }
  49341. },
  49342. "securityDefinitions": {
  49343. "ApiKeyAuth": {
  49344. "type": "apiKey",
  49345. "name": "Authorization",
  49346. "in": "header"
  49347. },
  49348. "Group": {
  49349. "type": "apiKey",
  49350. "name": "Group",
  49351. "in": "header"
  49352. },
  49353. "LoginID": {
  49354. "type": "apiKey",
  49355. "name": "LoginID",
  49356. "in": "header"
  49357. }
  49358. }
  49359. }`
  49360. // SwaggerInfo holds exported Swagger Info so clients can modify it
  49361. var SwaggerInfo = &swag.Spec{
  49362. Version: "1.0",
  49363. Host: "",
  49364. BasePath: "",
  49365. Schemes: []string{},
  49366. Title: "MTP2.0 查询服务 API",
  49367. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  49368. InfoInstanceName: "swagger",
  49369. SwaggerTemplate: docTemplate,
  49370. }
  49371. func init() {
  49372. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  49373. }