docs.go 1.8 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "分页标志 0-page从0开始 1-page从1开始",
  892. "name": "pageflag",
  893. "in": "query"
  894. },
  895. {
  896. "type": "integer",
  897. "description": "登录账号",
  898. "name": "loginID",
  899. "in": "query",
  900. "required": true
  901. },
  902. {
  903. "type": "integer",
  904. "description": "消息类型 - 1:公告通知 2:系统消息",
  905. "name": "msgType",
  906. "in": "query"
  907. },
  908. {
  909. "type": "boolean",
  910. "description": "是否只获取未读信息",
  911. "name": "onlyUnRead",
  912. "in": "query"
  913. },
  914. {
  915. "type": "integer",
  916. "description": "自增ID,传入后会返回这个ID后面的记录",
  917. "name": "lastID",
  918. "in": "query"
  919. }
  920. ],
  921. "responses": {
  922. "200": {
  923. "description": "OK",
  924. "schema": {
  925. "$ref": "#/definitions/common.QueryNoticeRsp"
  926. }
  927. },
  928. "500": {
  929. "description": "Internal Server Error",
  930. "schema": {
  931. "$ref": "#/definitions/app.Response"
  932. }
  933. }
  934. }
  935. }
  936. },
  937. "/Common/QueryProvincesAndCities": {
  938. "get": {
  939. "produces": [
  940. "application/json"
  941. ],
  942. "tags": [
  943. "通用服务"
  944. ],
  945. "summary": "查询省市信息(不包括区)",
  946. "parameters": [
  947. {
  948. "type": "integer",
  949. "description": "省ID",
  950. "name": "provinceID",
  951. "in": "query"
  952. }
  953. ],
  954. "responses": {
  955. "200": {
  956. "description": "OK",
  957. "schema": {
  958. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  959. }
  960. },
  961. "500": {
  962. "description": "Internal Server Error",
  963. "schema": {
  964. "$ref": "#/definitions/app.Response"
  965. }
  966. }
  967. }
  968. }
  969. },
  970. "/Common/QueryRates": {
  971. "get": {
  972. "security": [
  973. {
  974. "ApiKeyAuth": []
  975. },
  976. {
  977. "LoginID": []
  978. },
  979. {
  980. "Group": []
  981. }
  982. ],
  983. "produces": [
  984. "application/json"
  985. ],
  986. "tags": [
  987. "通用服务"
  988. ],
  989. "summary": "查询汇率信息",
  990. "parameters": [
  991. {
  992. "type": "integer",
  993. "description": "页码",
  994. "name": "page",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "每页条数",
  1000. "name": "pagesize",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "源币种ID",
  1006. "name": "oricurrencyid",
  1007. "in": "query"
  1008. },
  1009. {
  1010. "type": "integer",
  1011. "description": "目标币种ID",
  1012. "name": "descurrencyid",
  1013. "in": "query"
  1014. }
  1015. ],
  1016. "responses": {
  1017. "200": {
  1018. "description": "OK",
  1019. "schema": {
  1020. "type": "array",
  1021. "items": {
  1022. "$ref": "#/definitions/models.Exchangerateconfig"
  1023. }
  1024. }
  1025. },
  1026. "500": {
  1027. "description": "Internal Server Error",
  1028. "schema": {
  1029. "$ref": "#/definitions/app.Response"
  1030. }
  1031. }
  1032. }
  1033. }
  1034. },
  1035. "/Common/QueryTableDefine": {
  1036. "get": {
  1037. "produces": [
  1038. "application/json"
  1039. ],
  1040. "tags": [
  1041. "通用服务"
  1042. ],
  1043. "summary": "查询交易端列表头信息",
  1044. "parameters": [
  1045. {
  1046. "type": "string",
  1047. "description": "表key",
  1048. "name": "tableKey",
  1049. "in": "query"
  1050. },
  1051. {
  1052. "type": "integer",
  1053. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1054. "name": "tableType",
  1055. "in": "query"
  1056. }
  1057. ],
  1058. "responses": {
  1059. "200": {
  1060. "description": "OK",
  1061. "schema": {
  1062. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1063. }
  1064. },
  1065. "500": {
  1066. "description": "Internal Server Error",
  1067. "schema": {
  1068. "$ref": "#/definitions/app.Response"
  1069. }
  1070. }
  1071. }
  1072. }
  1073. },
  1074. "/Common/QueryTraderMenu": {
  1075. "get": {
  1076. "produces": [
  1077. "application/json"
  1078. ],
  1079. "tags": [
  1080. "通用服务"
  1081. ],
  1082. "summary": "查询交易端菜单",
  1083. "parameters": [
  1084. {
  1085. "type": "integer",
  1086. "description": "登录账号",
  1087. "name": "loginid",
  1088. "in": "query",
  1089. "required": true
  1090. }
  1091. ],
  1092. "responses": {
  1093. "200": {
  1094. "description": "OK",
  1095. "schema": {
  1096. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1097. }
  1098. },
  1099. "500": {
  1100. "description": "Internal Server Error",
  1101. "schema": {
  1102. "$ref": "#/definitions/app.Response"
  1103. }
  1104. }
  1105. }
  1106. }
  1107. },
  1108. "/Common/UpdateNewFuncmenu": {
  1109. "put": {
  1110. "security": [
  1111. {
  1112. "ApiKeyAuth": []
  1113. }
  1114. ],
  1115. "consumes": [
  1116. "application/json"
  1117. ],
  1118. "produces": [
  1119. "application/json"
  1120. ],
  1121. "tags": [
  1122. "通用服务"
  1123. ],
  1124. "summary": "更新菜单表数据",
  1125. "parameters": [
  1126. {
  1127. "description": "菜单表数据",
  1128. "name": "data",
  1129. "in": "body",
  1130. "required": true,
  1131. "schema": {
  1132. "$ref": "#/definitions/models.NewFuncmenulist"
  1133. }
  1134. }
  1135. ],
  1136. "responses": {
  1137. "200": {
  1138. "description": "OK",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Delivery/QueryDeliveryRelation": {
  1153. "get": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "交割服务"
  1164. ],
  1165. "summary": "查询商品交割关系表",
  1166. "parameters": [
  1167. {
  1168. "type": "integer",
  1169. "description": "商品ID",
  1170. "name": "goodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "品种ID",
  1176. "name": "deliverygoodsid",
  1177. "in": "query"
  1178. },
  1179. {
  1180. "type": "integer",
  1181. "description": "市场ID",
  1182. "name": "marketid",
  1183. "in": "query"
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1191. }
  1192. },
  1193. "500": {
  1194. "description": "Internal Server Error",
  1195. "schema": {
  1196. "$ref": "#/definitions/app.Response"
  1197. }
  1198. }
  1199. }
  1200. }
  1201. },
  1202. "/Ermcp/GetErmcpGoods": {
  1203. "get": {
  1204. "security": [
  1205. {
  1206. "ApiKeyAuth": []
  1207. }
  1208. ],
  1209. "produces": [
  1210. "application/json"
  1211. ],
  1212. "tags": [
  1213. "企业风险管理(app)"
  1214. ],
  1215. "summary": "查询企业风管期货商品信息",
  1216. "parameters": [
  1217. {
  1218. "type": "integer",
  1219. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1220. "name": "userid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "string",
  1225. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1226. "name": "lastUpdateTime",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "$ref": "#/definitions/models.ErmcpGoods"
  1235. }
  1236. },
  1237. "500": {
  1238. "description": "Internal Server Error",
  1239. "schema": {
  1240. "$ref": "#/definitions/app.Response"
  1241. }
  1242. }
  1243. }
  1244. }
  1245. },
  1246. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1247. "get": {
  1248. "security": [
  1249. {
  1250. "ApiKeyAuth": []
  1251. }
  1252. ],
  1253. "produces": [
  1254. "application/json"
  1255. ],
  1256. "tags": [
  1257. "企业风险管理(app)"
  1258. ],
  1259. "summary": "查询企业风管期货主力、次主力商品信息",
  1260. "parameters": [
  1261. {
  1262. "type": "string",
  1263. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1264. "name": "sortIndex",
  1265. "in": "query"
  1266. }
  1267. ],
  1268. "responses": {
  1269. "200": {
  1270. "description": "OK",
  1271. "schema": {
  1272. "$ref": "#/definitions/models.Goodssortbypreposition"
  1273. }
  1274. },
  1275. "500": {
  1276. "description": "Internal Server Error",
  1277. "schema": {
  1278. "$ref": "#/definitions/app.Response"
  1279. }
  1280. }
  1281. }
  1282. }
  1283. },
  1284. "/Ermcp/GetErmcpOutAccountStatus": {
  1285. "get": {
  1286. "security": [
  1287. {
  1288. "ApiKeyAuth": []
  1289. }
  1290. ],
  1291. "produces": [
  1292. "application/json"
  1293. ],
  1294. "tags": [
  1295. "企业风险管理(app)"
  1296. ],
  1297. "summary": "获取目标登录账号当前对冲账号在线状态",
  1298. "parameters": [
  1299. {
  1300. "type": "integer",
  1301. "description": "登录账号",
  1302. "name": "loginID",
  1303. "in": "query",
  1304. "required": true
  1305. }
  1306. ],
  1307. "responses": {
  1308. "200": {
  1309. "description": "OK",
  1310. "schema": {
  1311. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1312. }
  1313. },
  1314. "500": {
  1315. "description": "Internal Server Error",
  1316. "schema": {
  1317. "$ref": "#/definitions/app.Response"
  1318. }
  1319. }
  1320. }
  1321. }
  1322. },
  1323. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1324. "get": {
  1325. "security": [
  1326. {
  1327. "ApiKeyAuth": []
  1328. }
  1329. ],
  1330. "produces": [
  1331. "application/json"
  1332. ],
  1333. "tags": [
  1334. "企业风险管理(app)"
  1335. ],
  1336. "summary": "获取企业风管终端权限",
  1337. "parameters": [
  1338. {
  1339. "type": "integer",
  1340. "description": "登录账号",
  1341. "name": "loginID",
  1342. "in": "query",
  1343. "required": true
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "OK",
  1349. "schema": {
  1350. "$ref": "#/definitions/models.Funcmenulist"
  1351. }
  1352. },
  1353. "500": {
  1354. "description": "Internal Server Error",
  1355. "schema": {
  1356. "$ref": "#/definitions/app.Response"
  1357. }
  1358. }
  1359. }
  1360. }
  1361. },
  1362. "/Ermcp/QueryAccMgrBizGroupSet": {
  1363. "get": {
  1364. "security": [
  1365. {
  1366. "ApiKeyAuth": []
  1367. }
  1368. ],
  1369. "produces": [
  1370. "application/json"
  1371. ],
  1372. "tags": [
  1373. "企业风险管理(app)"
  1374. ],
  1375. "summary": "查询业务类型分组(账户管理/账户设置)",
  1376. "parameters": [
  1377. {
  1378. "type": "integer",
  1379. "description": "用户ID",
  1380. "name": "userid",
  1381. "in": "query",
  1382. "required": true
  1383. },
  1384. {
  1385. "type": "integer",
  1386. "description": "现货商品id",
  1387. "name": "deliverygoodsid",
  1388. "in": "query"
  1389. }
  1390. ],
  1391. "responses": {
  1392. "200": {
  1393. "description": "OK",
  1394. "schema": {
  1395. "type": "array",
  1396. "items": {
  1397. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1398. }
  1399. }
  1400. },
  1401. "500": {
  1402. "description": "Internal Server Error",
  1403. "schema": {
  1404. "$ref": "#/definitions/app.Response"
  1405. }
  1406. }
  1407. }
  1408. }
  1409. },
  1410. "/Ermcp/QueryAccMgrLoginUser": {
  1411. "get": {
  1412. "security": [
  1413. {
  1414. "ApiKeyAuth": []
  1415. }
  1416. ],
  1417. "produces": [
  1418. "application/json"
  1419. ],
  1420. "tags": [
  1421. "企业风险管理(app)"
  1422. ],
  1423. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1424. "parameters": [
  1425. {
  1426. "type": "integer",
  1427. "description": "用户ID",
  1428. "name": "userid",
  1429. "in": "query",
  1430. "required": true
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "用户类型 2-机构 7-企业成员",
  1435. "name": "usertype",
  1436. "in": "query"
  1437. },
  1438. {
  1439. "type": "integer",
  1440. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1441. "name": "querytype",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query"
  1485. },
  1486. {
  1487. "type": "integer",
  1488. "description": "主账号id",
  1489. "name": "accountid",
  1490. "in": "query"
  1491. }
  1492. ],
  1493. "responses": {
  1494. "200": {
  1495. "description": "OK",
  1496. "schema": {
  1497. "type": "array",
  1498. "items": {
  1499. "$ref": "#/definitions/models.MainAccountInfo"
  1500. }
  1501. }
  1502. },
  1503. "500": {
  1504. "description": "Internal Server Error",
  1505. "schema": {
  1506. "$ref": "#/definitions/app.Response"
  1507. }
  1508. }
  1509. }
  1510. }
  1511. },
  1512. "/Ermcp/QueryAccMgrRole": {
  1513. "get": {
  1514. "security": [
  1515. {
  1516. "ApiKeyAuth": []
  1517. }
  1518. ],
  1519. "produces": [
  1520. "application/json"
  1521. ],
  1522. "tags": [
  1523. "企业风险管理(app)"
  1524. ],
  1525. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1526. "parameters": [
  1527. {
  1528. "type": "integer",
  1529. "description": "用户ID",
  1530. "name": "userid",
  1531. "in": "query",
  1532. "required": true
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "type": "array",
  1540. "items": {
  1541. "$ref": "#/definitions/models.ErmcpRole"
  1542. }
  1543. }
  1544. },
  1545. "500": {
  1546. "description": "Internal Server Error",
  1547. "schema": {
  1548. "$ref": "#/definitions/app.Response"
  1549. }
  1550. }
  1551. }
  1552. }
  1553. },
  1554. "/Ermcp/QueryAccMgrRoleMenu": {
  1555. "get": {
  1556. "security": [
  1557. {
  1558. "ApiKeyAuth": []
  1559. }
  1560. ],
  1561. "produces": [
  1562. "application/json"
  1563. ],
  1564. "tags": [
  1565. "企业风险管理(app)"
  1566. ],
  1567. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1568. "parameters": [
  1569. {
  1570. "type": "integer",
  1571. "description": "用户ID",
  1572. "name": "userid",
  1573. "in": "query",
  1574. "required": true
  1575. },
  1576. {
  1577. "type": "string",
  1578. "description": "角色id(可多个,逗号隔开)",
  1579. "name": "roleid",
  1580. "in": "query"
  1581. },
  1582. {
  1583. "type": "integer",
  1584. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1585. "name": "menutype",
  1586. "in": "query"
  1587. }
  1588. ],
  1589. "responses": {
  1590. "200": {
  1591. "description": "OK",
  1592. "schema": {
  1593. "type": "array",
  1594. "items": {
  1595. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1596. }
  1597. }
  1598. },
  1599. "500": {
  1600. "description": "Internal Server Error",
  1601. "schema": {
  1602. "$ref": "#/definitions/app.Response"
  1603. }
  1604. }
  1605. }
  1606. }
  1607. },
  1608. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1609. "get": {
  1610. "security": [
  1611. {
  1612. "ApiKeyAuth": []
  1613. }
  1614. ],
  1615. "produces": [
  1616. "application/json"
  1617. ],
  1618. "tags": [
  1619. "企业风险管理(app)"
  1620. ],
  1621. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1622. "parameters": [
  1623. {
  1624. "type": "integer",
  1625. "description": "用户ID",
  1626. "name": "userid",
  1627. "in": "query",
  1628. "required": true
  1629. },
  1630. {
  1631. "type": "integer",
  1632. "description": "账号id",
  1633. "name": "accountid",
  1634. "in": "query"
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryAccMgrTaaccount": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "用户ID",
  1674. "name": "userid",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "type": "array",
  1684. "items": {
  1685. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1686. }
  1687. }
  1688. },
  1689. "500": {
  1690. "description": "Internal Server Error",
  1691. "schema": {
  1692. "$ref": "#/definitions/app.Response"
  1693. }
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "/Ermcp/QueryAvaildGoodsGroup": {
  1699. "get": {
  1700. "security": [
  1701. {
  1702. "ApiKeyAuth": []
  1703. }
  1704. ],
  1705. "produces": [
  1706. "application/json"
  1707. ],
  1708. "tags": [
  1709. "企业风险管理(app)"
  1710. ],
  1711. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1712. "parameters": [
  1713. {
  1714. "type": "integer",
  1715. "description": "所属机构ID",
  1716. "name": "userid",
  1717. "in": "query",
  1718. "required": true
  1719. }
  1720. ],
  1721. "responses": {
  1722. "200": {
  1723. "description": "OK",
  1724. "schema": {
  1725. "type": "array",
  1726. "items": {
  1727. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1728. }
  1729. }
  1730. },
  1731. "500": {
  1732. "description": "Internal Server Error",
  1733. "schema": {
  1734. "$ref": "#/definitions/app.Response"
  1735. }
  1736. }
  1737. }
  1738. }
  1739. },
  1740. "/Ermcp/QueryBusinessDj": {
  1741. "get": {
  1742. "security": [
  1743. {
  1744. "ApiKeyAuth": []
  1745. }
  1746. ],
  1747. "produces": [
  1748. "application/json"
  1749. ],
  1750. "tags": [
  1751. "企业风险管理(app)"
  1752. ],
  1753. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1754. "parameters": [
  1755. {
  1756. "type": "integer",
  1757. "description": "用户ID",
  1758. "name": "UserId",
  1759. "in": "query",
  1760. "required": true
  1761. },
  1762. {
  1763. "type": "integer",
  1764. "description": "用户类型 2-机构 7-企业成员",
  1765. "name": "usertype",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "现货合同ID, 不填则查所有",
  1771. "name": "relatedid",
  1772. "in": "query"
  1773. },
  1774. {
  1775. "type": "string",
  1776. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1777. "name": "applystatus",
  1778. "in": "query"
  1779. }
  1780. ],
  1781. "responses": {
  1782. "200": {
  1783. "description": "OK",
  1784. "schema": {
  1785. "type": "array",
  1786. "items": {
  1787. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1788. }
  1789. }
  1790. },
  1791. "500": {
  1792. "description": "Internal Server Error",
  1793. "schema": {
  1794. "$ref": "#/definitions/app.Response"
  1795. }
  1796. }
  1797. }
  1798. }
  1799. },
  1800. "/Ermcp/QueryBusinessFp": {
  1801. "get": {
  1802. "security": [
  1803. {
  1804. "ApiKeyAuth": []
  1805. }
  1806. ],
  1807. "produces": [
  1808. "application/json"
  1809. ],
  1810. "tags": [
  1811. "企业风险管理(app)"
  1812. ],
  1813. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1814. "parameters": [
  1815. {
  1816. "type": "integer",
  1817. "description": "用户ID",
  1818. "name": "UserId",
  1819. "in": "query",
  1820. "required": true
  1821. },
  1822. {
  1823. "type": "integer",
  1824. "description": "用户类型 2-机构 7-企业成员",
  1825. "name": "usertype",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "现货合同ID, 不填则查所有",
  1831. "name": "relatedid",
  1832. "in": "query"
  1833. },
  1834. {
  1835. "type": "string",
  1836. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1837. "name": "applystatus",
  1838. "in": "query"
  1839. }
  1840. ],
  1841. "responses": {
  1842. "200": {
  1843. "description": "OK",
  1844. "schema": {
  1845. "type": "array",
  1846. "items": {
  1847. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1848. }
  1849. }
  1850. },
  1851. "500": {
  1852. "description": "Internal Server Error",
  1853. "schema": {
  1854. "$ref": "#/definitions/app.Response"
  1855. }
  1856. }
  1857. }
  1858. }
  1859. },
  1860. "/Ermcp/QueryBusinessJs": {
  1861. "get": {
  1862. "security": [
  1863. {
  1864. "ApiKeyAuth": []
  1865. }
  1866. ],
  1867. "produces": [
  1868. "application/json"
  1869. ],
  1870. "tags": [
  1871. "企业风险管理(app)"
  1872. ],
  1873. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1874. "parameters": [
  1875. {
  1876. "type": "integer",
  1877. "description": "用户ID",
  1878. "name": "UserId",
  1879. "in": "query",
  1880. "required": true
  1881. },
  1882. {
  1883. "type": "integer",
  1884. "description": "用户类型 2-机构 7-企业成员",
  1885. "name": "usertype",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "现货合同ID, 不填则查所有",
  1891. "name": "relatedid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "操作申请id",
  1897. "name": "operateapplyid",
  1898. "in": "query"
  1899. },
  1900. {
  1901. "type": "string",
  1902. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1903. "name": "applystatus",
  1904. "in": "query"
  1905. }
  1906. ],
  1907. "responses": {
  1908. "200": {
  1909. "description": "OK",
  1910. "schema": {
  1911. "type": "array",
  1912. "items": {
  1913. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1914. }
  1915. }
  1916. },
  1917. "500": {
  1918. "description": "Internal Server Error",
  1919. "schema": {
  1920. "$ref": "#/definitions/app.Response"
  1921. }
  1922. }
  1923. }
  1924. }
  1925. },
  1926. "/Ermcp/QueryBusinessJsEx": {
  1927. "get": {
  1928. "security": [
  1929. {
  1930. "ApiKeyAuth": []
  1931. }
  1932. ],
  1933. "produces": [
  1934. "application/json"
  1935. ],
  1936. "tags": [
  1937. "企业风险管理(app)"
  1938. ],
  1939. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1940. "parameters": [
  1941. {
  1942. "type": "integer",
  1943. "description": "用户ID",
  1944. "name": "UserId",
  1945. "in": "query",
  1946. "required": true
  1947. },
  1948. {
  1949. "type": "integer",
  1950. "description": "用户类型 2-机构 7-企业成员",
  1951. "name": "usertype",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "现货合同ID, 不填则查所有",
  1957. "name": "relatedid",
  1958. "in": "query"
  1959. },
  1960. {
  1961. "type": "string",
  1962. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1963. "name": "applystatus",
  1964. "in": "query"
  1965. }
  1966. ],
  1967. "responses": {
  1968. "200": {
  1969. "description": "OK",
  1970. "schema": {
  1971. "type": "array",
  1972. "items": {
  1973. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1974. }
  1975. }
  1976. },
  1977. "500": {
  1978. "description": "Internal Server Error",
  1979. "schema": {
  1980. "$ref": "#/definitions/app.Response"
  1981. }
  1982. }
  1983. }
  1984. }
  1985. },
  1986. "/Ermcp/QueryBusinessKx": {
  1987. "get": {
  1988. "security": [
  1989. {
  1990. "ApiKeyAuth": []
  1991. }
  1992. ],
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "用户ID",
  2004. "name": "UserId",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "用户类型 2-机构 7-企业成员",
  2011. "name": "usertype",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "现货合同ID, 不填则查所有",
  2017. "name": "relatedid",
  2018. "in": "query"
  2019. },
  2020. {
  2021. "type": "string",
  2022. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2023. "name": "applystatus",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "type": "array",
  2032. "items": {
  2033. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2034. }
  2035. }
  2036. },
  2037. "500": {
  2038. "description": "Internal Server Error",
  2039. "schema": {
  2040. "$ref": "#/definitions/app.Response"
  2041. }
  2042. }
  2043. }
  2044. }
  2045. },
  2046. "/Ermcp/QueryChangeLog": {
  2047. "get": {
  2048. "security": [
  2049. {
  2050. "ApiKeyAuth": []
  2051. }
  2052. ],
  2053. "produces": [
  2054. "application/json"
  2055. ],
  2056. "tags": [
  2057. "企业风险管理(app)"
  2058. ],
  2059. "summary": "查询变更记录",
  2060. "parameters": [
  2061. {
  2062. "type": "string",
  2063. "description": "合同ID",
  2064. "name": "RelatedId",
  2065. "in": "query",
  2066. "required": true
  2067. }
  2068. ],
  2069. "responses": {
  2070. "200": {
  2071. "description": "OK",
  2072. "schema": {
  2073. "type": "array",
  2074. "items": {
  2075. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2076. }
  2077. }
  2078. },
  2079. "500": {
  2080. "description": "Internal Server Error",
  2081. "schema": {
  2082. "$ref": "#/definitions/app.Response"
  2083. }
  2084. }
  2085. }
  2086. }
  2087. },
  2088. "/Ermcp/QueryErmcpHisOrderDetails": {
  2089. "get": {
  2090. "security": [
  2091. {
  2092. "ApiKeyAuth": []
  2093. }
  2094. ],
  2095. "produces": [
  2096. "application/json"
  2097. ],
  2098. "tags": [
  2099. "企业风险管理(app)"
  2100. ],
  2101. "summary": "获取企业风管期货历史委托单信息",
  2102. "parameters": [
  2103. {
  2104. "type": "integer",
  2105. "description": "资金账户ID",
  2106. "name": "accountID",
  2107. "in": "query",
  2108. "required": true
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "startDate",
  2114. "in": "query"
  2115. },
  2116. {
  2117. "type": "string",
  2118. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2119. "name": "endDate",
  2120. "in": "query"
  2121. }
  2122. ],
  2123. "responses": {
  2124. "200": {
  2125. "description": "OK",
  2126. "schema": {
  2127. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryErmcpHisTradeDetails": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "获取企业风管期货历史成交单信息",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "资金账户ID",
  2157. "name": "accountID",
  2158. "in": "query",
  2159. "required": true
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "商品ID",
  2164. "name": "goodsID",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "买卖方向,0:买 1:卖",
  2170. "name": "buyOrSell",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "integer",
  2175. "description": "关联委托单号",
  2176. "name": "orderID",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "startDate",
  2183. "in": "query"
  2184. },
  2185. {
  2186. "type": "string",
  2187. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2188. "name": "endDate",
  2189. "in": "query"
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "获取企业风管期货内部持仓单信息",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "资金账户ID",
  2226. "name": "accountID",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "商品ID",
  2233. "name": "goodsID",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "integer",
  2238. "description": "买卖方向,0:买 1:卖",
  2239. "name": "buyOrSell",
  2240. "in": "query"
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/Ermcp/QueryErmcpOrderDetails": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "企业风险管理(app)"
  2271. ],
  2272. "summary": "获取企业风管期货委托单信息",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "资金账户ID",
  2277. "name": "accountID",
  2278. "in": "query",
  2279. "required": true
  2280. }
  2281. ],
  2282. "responses": {
  2283. "200": {
  2284. "description": "OK",
  2285. "schema": {
  2286. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2287. }
  2288. },
  2289. "500": {
  2290. "description": "Internal Server Error",
  2291. "schema": {
  2292. "$ref": "#/definitions/app.Response"
  2293. }
  2294. }
  2295. }
  2296. }
  2297. },
  2298. "/Ermcp/QueryErmcpTradeDetails": {
  2299. "get": {
  2300. "security": [
  2301. {
  2302. "ApiKeyAuth": []
  2303. }
  2304. ],
  2305. "produces": [
  2306. "application/json"
  2307. ],
  2308. "tags": [
  2309. "企业风险管理(app)"
  2310. ],
  2311. "summary": "获取企业风管期货成交单信息",
  2312. "parameters": [
  2313. {
  2314. "type": "integer",
  2315. "description": "资金账户ID",
  2316. "name": "accountID",
  2317. "in": "query",
  2318. "required": true
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "商品ID",
  2323. "name": "goodsID",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "买卖方向,0:买 1:卖",
  2329. "name": "buyOrSell",
  2330. "in": "query"
  2331. },
  2332. {
  2333. "type": "integer",
  2334. "description": "关联委托单号",
  2335. "name": "orderID",
  2336. "in": "query"
  2337. }
  2338. ],
  2339. "responses": {
  2340. "200": {
  2341. "description": "OK",
  2342. "schema": {
  2343. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2344. }
  2345. },
  2346. "500": {
  2347. "description": "Internal Server Error",
  2348. "schema": {
  2349. "$ref": "#/definitions/app.Response"
  2350. }
  2351. }
  2352. }
  2353. }
  2354. },
  2355. "/Ermcp/QueryErmcpTradePosition": {
  2356. "get": {
  2357. "security": [
  2358. {
  2359. "ApiKeyAuth": []
  2360. }
  2361. ],
  2362. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2363. "produces": [
  2364. "application/json"
  2365. ],
  2366. "tags": [
  2367. "企业风险管理(app)"
  2368. ],
  2369. "summary": "获取企业风管期货持仓头寸信息",
  2370. "parameters": [
  2371. {
  2372. "type": "integer",
  2373. "description": "资金账户ID",
  2374. "name": "accountID",
  2375. "in": "query",
  2376. "required": true
  2377. },
  2378. {
  2379. "type": "integer",
  2380. "description": "所属市场ID",
  2381. "name": "marketID",
  2382. "in": "query"
  2383. }
  2384. ],
  2385. "responses": {
  2386. "200": {
  2387. "description": "OK",
  2388. "schema": {
  2389. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2390. }
  2391. },
  2392. "500": {
  2393. "description": "Internal Server Error",
  2394. "schema": {
  2395. "$ref": "#/definitions/app.Response"
  2396. }
  2397. }
  2398. }
  2399. }
  2400. },
  2401. "/Ermcp/QueryExposureDetail": {
  2402. "get": {
  2403. "security": [
  2404. {
  2405. "ApiKeyAuth": []
  2406. }
  2407. ],
  2408. "produces": [
  2409. "application/json"
  2410. ],
  2411. "tags": [
  2412. "企业风险管理(app)"
  2413. ],
  2414. "summary": "查询敞口现货明细",
  2415. "parameters": [
  2416. {
  2417. "type": "integer",
  2418. "description": "所属机构ID",
  2419. "name": "areaUserId",
  2420. "in": "query",
  2421. "required": true
  2422. },
  2423. {
  2424. "type": "integer",
  2425. "description": "套保商品",
  2426. "name": "middleGoodsId",
  2427. "in": "query",
  2428. "required": true
  2429. }
  2430. ],
  2431. "responses": {
  2432. "200": {
  2433. "description": "OK",
  2434. "schema": {
  2435. "type": "array",
  2436. "items": {
  2437. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2438. }
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/Ermcp/QueryExposureGoods": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "企业风险管理(app)"
  2462. ],
  2463. "summary": "查询敞口主力合约",
  2464. "parameters": [
  2465. {
  2466. "type": "integer",
  2467. "description": "套保商品id",
  2468. "name": "middlegoodsid",
  2469. "in": "query",
  2470. "required": true
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "type": "array",
  2478. "items": {
  2479. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2480. }
  2481. }
  2482. },
  2483. "500": {
  2484. "description": "Internal Server Error",
  2485. "schema": {
  2486. "$ref": "#/definitions/app.Response"
  2487. }
  2488. }
  2489. }
  2490. }
  2491. },
  2492. "/Ermcp/QueryExposureHedgePosition": {
  2493. "get": {
  2494. "security": [
  2495. {
  2496. "ApiKeyAuth": []
  2497. }
  2498. ],
  2499. "produces": [
  2500. "application/json"
  2501. ],
  2502. "tags": [
  2503. "企业风险管理(app)"
  2504. ],
  2505. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2506. "parameters": [
  2507. {
  2508. "type": "integer",
  2509. "description": "用户id",
  2510. "name": "userid",
  2511. "in": "query",
  2512. "required": true
  2513. }
  2514. ],
  2515. "responses": {
  2516. "200": {
  2517. "description": "OK",
  2518. "schema": {
  2519. "type": "array",
  2520. "items": {
  2521. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2522. }
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/Ermcp/QueryExposureHedgePositionDetail": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "企业风险管理(app)"
  2546. ],
  2547. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2548. "parameters": [
  2549. {
  2550. "type": "integer",
  2551. "description": "所属机构ID",
  2552. "name": "userid",
  2553. "in": "query",
  2554. "required": true
  2555. },
  2556. {
  2557. "type": "integer",
  2558. "description": "商品id",
  2559. "name": "goodsId",
  2560. "in": "query",
  2561. "required": true
  2562. }
  2563. ],
  2564. "responses": {
  2565. "200": {
  2566. "description": "OK",
  2567. "schema": {
  2568. "type": "array",
  2569. "items": {
  2570. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2571. }
  2572. }
  2573. },
  2574. "500": {
  2575. "description": "Internal Server Error",
  2576. "schema": {
  2577. "$ref": "#/definitions/app.Response"
  2578. }
  2579. }
  2580. }
  2581. }
  2582. },
  2583. "/Ermcp/QueryExposureSpot": {
  2584. "get": {
  2585. "security": [
  2586. {
  2587. "ApiKeyAuth": []
  2588. }
  2589. ],
  2590. "produces": [
  2591. "application/json"
  2592. ],
  2593. "tags": [
  2594. "企业风险管理(app)"
  2595. ],
  2596. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2597. "parameters": [
  2598. {
  2599. "type": "integer",
  2600. "description": "所属机构ID",
  2601. "name": "areaUserId",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryExposureSpotDetail": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "areaUserId",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "现货品种ID",
  2650. "name": "wrstandardId",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryFuturesCompany": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询期货公司",
  2688. "responses": {
  2689. "200": {
  2690. "description": "OK",
  2691. "schema": {
  2692. "type": "array",
  2693. "items": {
  2694. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2695. }
  2696. }
  2697. },
  2698. "500": {
  2699. "description": "Internal Server Error",
  2700. "schema": {
  2701. "$ref": "#/definitions/app.Response"
  2702. }
  2703. }
  2704. }
  2705. }
  2706. },
  2707. "/Ermcp/QueryGGConvertConfig": {
  2708. "get": {
  2709. "security": [
  2710. {
  2711. "ApiKeyAuth": []
  2712. }
  2713. ],
  2714. "produces": [
  2715. "application/json"
  2716. ],
  2717. "tags": [
  2718. "企业风险管理(app)"
  2719. ],
  2720. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2721. "parameters": [
  2722. {
  2723. "type": "integer",
  2724. "description": "品种id(不填则查所有)",
  2725. "name": "goodsgroupid",
  2726. "in": "query"
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryGoodsBrand": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询商品品牌",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "用户ID",
  2766. "name": "userid",
  2767. "in": "query",
  2768. "required": true
  2769. },
  2770. {
  2771. "type": "integer",
  2772. "description": "现货商品ID",
  2773. "name": "wrstandardid",
  2774. "in": "query"
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryGoodsModel": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询商品型号",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "用户ID",
  2814. "name": "userid",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryHisExposure": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户id",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "integer",
  2862. "description": "每个品种记录数",
  2863. "name": "lastNum",
  2864. "in": "query",
  2865. "required": true
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "OK",
  2871. "schema": {
  2872. "type": "array",
  2873. "items": {
  2874. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2875. }
  2876. }
  2877. },
  2878. "500": {
  2879. "description": "Internal Server Error",
  2880. "schema": {
  2881. "$ref": "#/definitions/app.Response"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/Ermcp/QueryMiddleGoods": {
  2888. "get": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "produces": [
  2895. "application/json"
  2896. ],
  2897. "tags": [
  2898. "企业风险管理(app)"
  2899. ],
  2900. "summary": "查询套保品种(菜单:套保品种)",
  2901. "parameters": [
  2902. {
  2903. "type": "integer",
  2904. "description": "所属机构ID",
  2905. "name": "userid",
  2906. "in": "query",
  2907. "required": true
  2908. },
  2909. {
  2910. "type": "integer",
  2911. "description": "状态 0-停用 1-正常",
  2912. "name": "status",
  2913. "in": "query",
  2914. "required": true
  2915. }
  2916. ],
  2917. "responses": {
  2918. "200": {
  2919. "description": "OK",
  2920. "schema": {
  2921. "type": "array",
  2922. "items": {
  2923. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2924. }
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "企业风险管理(app)"
  2948. ],
  2949. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2950. "parameters": [
  2951. {
  2952. "type": "integer",
  2953. "description": "所属机构ID",
  2954. "name": "userid",
  2955. "in": "query",
  2956. "required": true
  2957. },
  2958. {
  2959. "type": "integer",
  2960. "description": "套保品种id",
  2961. "name": "middlegoodsid",
  2962. "in": "query",
  2963. "required": true
  2964. }
  2965. ],
  2966. "responses": {
  2967. "200": {
  2968. "description": "OK",
  2969. "schema": {
  2970. "type": "array",
  2971. "items": {
  2972. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2973. }
  2974. }
  2975. },
  2976. "500": {
  2977. "description": "Internal Server Error",
  2978. "schema": {
  2979. "$ref": "#/definitions/app.Response"
  2980. }
  2981. }
  2982. }
  2983. }
  2984. },
  2985. "/Ermcp/QueryMiddleGoodsDetail": {
  2986. "get": {
  2987. "security": [
  2988. {
  2989. "ApiKeyAuth": []
  2990. }
  2991. ],
  2992. "produces": [
  2993. "application/json"
  2994. ],
  2995. "tags": [
  2996. "企业风险管理(app)"
  2997. ],
  2998. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2999. "parameters": [
  3000. {
  3001. "type": "integer",
  3002. "description": "所属机构ID",
  3003. "name": "userid",
  3004. "in": "query",
  3005. "required": true
  3006. },
  3007. {
  3008. "type": "integer",
  3009. "description": "套保品种id",
  3010. "name": "middlegoodsid",
  3011. "in": "query"
  3012. }
  3013. ],
  3014. "responses": {
  3015. "200": {
  3016. "description": "OK",
  3017. "schema": {
  3018. "type": "array",
  3019. "items": {
  3020. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3021. }
  3022. }
  3023. },
  3024. "500": {
  3025. "description": "Internal Server Error",
  3026. "schema": {
  3027. "$ref": "#/definitions/app.Response"
  3028. }
  3029. }
  3030. }
  3031. }
  3032. },
  3033. "/Ermcp/QueryPendingAuditInfo": {
  3034. "get": {
  3035. "security": [
  3036. {
  3037. "ApiKeyAuth": []
  3038. }
  3039. ],
  3040. "produces": [
  3041. "application/json"
  3042. ],
  3043. "tags": [
  3044. "企业风险管理(app)"
  3045. ],
  3046. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3047. "parameters": [
  3048. {
  3049. "type": "integer",
  3050. "description": "用户ID",
  3051. "name": "UserId",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp/QueryRealtimeExposure": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理(app)"
  3087. ],
  3088. "summary": "查询实时敞口",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "所属机构ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. }
  3097. ],
  3098. "responses": {
  3099. "200": {
  3100. "description": "OK",
  3101. "schema": {
  3102. "type": "array",
  3103. "items": {
  3104. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3105. }
  3106. }
  3107. },
  3108. "500": {
  3109. "description": "Internal Server Error",
  3110. "schema": {
  3111. "$ref": "#/definitions/app.Response"
  3112. }
  3113. }
  3114. }
  3115. }
  3116. },
  3117. "/Ermcp/QueryRealtimeExposurePosition": {
  3118. "get": {
  3119. "security": [
  3120. {
  3121. "ApiKeyAuth": []
  3122. }
  3123. ],
  3124. "produces": [
  3125. "application/json"
  3126. ],
  3127. "tags": [
  3128. "企业风险管理(app)"
  3129. ],
  3130. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3131. "parameters": [
  3132. {
  3133. "type": "integer",
  3134. "description": "用户id",
  3135. "name": "userid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "套保商品ID",
  3142. "name": "middleGoodsId",
  3143. "in": "query",
  3144. "required": true
  3145. }
  3146. ],
  3147. "responses": {
  3148. "200": {
  3149. "description": "OK",
  3150. "schema": {
  3151. "type": "array",
  3152. "items": {
  3153. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3154. }
  3155. }
  3156. },
  3157. "500": {
  3158. "description": "Internal Server Error",
  3159. "schema": {
  3160. "$ref": "#/definitions/app.Response"
  3161. }
  3162. }
  3163. }
  3164. }
  3165. },
  3166. "/Ermcp/QueryRoleMenu": {
  3167. "get": {
  3168. "security": [
  3169. {
  3170. "ApiKeyAuth": []
  3171. }
  3172. ],
  3173. "produces": [
  3174. "application/json"
  3175. ],
  3176. "tags": [
  3177. "企业风险管理(app)"
  3178. ],
  3179. "summary": "查询角色菜单和权限",
  3180. "parameters": [
  3181. {
  3182. "type": "integer",
  3183. "description": "登录ID",
  3184. "name": "loginid",
  3185. "in": "query",
  3186. "required": true
  3187. },
  3188. {
  3189. "type": "integer",
  3190. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3191. "name": "menutype",
  3192. "in": "query"
  3193. }
  3194. ],
  3195. "responses": {
  3196. "200": {
  3197. "description": "OK",
  3198. "schema": {
  3199. "type": "array",
  3200. "items": {
  3201. "$ref": "#/definitions/models.RoleMenu"
  3202. }
  3203. }
  3204. },
  3205. "500": {
  3206. "description": "Internal Server Error",
  3207. "schema": {
  3208. "$ref": "#/definitions/app.Response"
  3209. }
  3210. }
  3211. }
  3212. }
  3213. },
  3214. "/Ermcp/QueryTradeConfigTMP": {
  3215. "get": {
  3216. "security": [
  3217. {
  3218. "ApiKeyAuth": []
  3219. }
  3220. ],
  3221. "produces": [
  3222. "application/json"
  3223. ],
  3224. "tags": [
  3225. "企业风险管理(app)"
  3226. ],
  3227. "summary": "查询交易模板配置",
  3228. "parameters": [
  3229. {
  3230. "type": "integer",
  3231. "description": "所属机构id",
  3232. "name": "areauserid",
  3233. "in": "query"
  3234. }
  3235. ],
  3236. "responses": {
  3237. "200": {
  3238. "description": "OK",
  3239. "schema": {
  3240. "type": "array",
  3241. "items": {
  3242. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3243. }
  3244. }
  3245. },
  3246. "500": {
  3247. "description": "Internal Server Error",
  3248. "schema": {
  3249. "$ref": "#/definitions/app.Response"
  3250. }
  3251. }
  3252. }
  3253. }
  3254. },
  3255. "/Ermcp/QueryUserInfo": {
  3256. "get": {
  3257. "security": [
  3258. {
  3259. "ApiKeyAuth": []
  3260. }
  3261. ],
  3262. "produces": [
  3263. "application/json"
  3264. ],
  3265. "tags": [
  3266. "企业风险管理(app)"
  3267. ],
  3268. "summary": "查询客户资料",
  3269. "parameters": [
  3270. {
  3271. "type": "integer",
  3272. "description": "所属机构用户ID",
  3273. "name": "MemberUserID",
  3274. "in": "query",
  3275. "required": true
  3276. },
  3277. {
  3278. "type": "integer",
  3279. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3280. "name": "queryType",
  3281. "in": "query",
  3282. "required": true
  3283. }
  3284. ],
  3285. "responses": {
  3286. "200": {
  3287. "description": "OK",
  3288. "schema": {
  3289. "type": "array",
  3290. "items": {
  3291. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3292. }
  3293. }
  3294. },
  3295. "500": {
  3296. "description": "Internal Server Error",
  3297. "schema": {
  3298. "$ref": "#/definitions/app.Response"
  3299. }
  3300. }
  3301. }
  3302. }
  3303. },
  3304. "/Ermcp/QueryWarehouseInfo": {
  3305. "get": {
  3306. "security": [
  3307. {
  3308. "ApiKeyAuth": []
  3309. }
  3310. ],
  3311. "produces": [
  3312. "application/json"
  3313. ],
  3314. "tags": [
  3315. "企业风险管理(app)"
  3316. ],
  3317. "summary": "查询仓库信息",
  3318. "parameters": [
  3319. {
  3320. "type": "integer",
  3321. "description": "用户ID",
  3322. "name": "userid",
  3323. "in": "query",
  3324. "required": true
  3325. },
  3326. {
  3327. "type": "string",
  3328. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3329. "name": "status",
  3330. "in": "query"
  3331. }
  3332. ],
  3333. "responses": {
  3334. "200": {
  3335. "description": "OK",
  3336. "schema": {
  3337. "type": "array",
  3338. "items": {
  3339. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3340. }
  3341. }
  3342. },
  3343. "500": {
  3344. "description": "Internal Server Error",
  3345. "schema": {
  3346. "$ref": "#/definitions/app.Response"
  3347. }
  3348. }
  3349. }
  3350. }
  3351. },
  3352. "/Ermcp3/QryAreaExpourseContractDetail": {
  3353. "get": {
  3354. "security": [
  3355. {
  3356. "ApiKeyAuth": []
  3357. }
  3358. ],
  3359. "produces": [
  3360. "application/json"
  3361. ],
  3362. "tags": [
  3363. "企业风险管理v3(app)"
  3364. ],
  3365. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3366. "parameters": [
  3367. {
  3368. "type": "integer",
  3369. "description": "用户ID",
  3370. "name": "userid",
  3371. "in": "query",
  3372. "required": true
  3373. },
  3374. {
  3375. "type": "integer",
  3376. "description": "套保商品id",
  3377. "name": "middlegoodsid",
  3378. "in": "query",
  3379. "required": true
  3380. },
  3381. {
  3382. "type": "integer",
  3383. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3384. "name": "cycletype",
  3385. "in": "query",
  3386. "required": true
  3387. },
  3388. {
  3389. "type": "string",
  3390. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3391. "name": "cycletime",
  3392. "in": "query",
  3393. "required": true
  3394. }
  3395. ],
  3396. "responses": {
  3397. "200": {
  3398. "description": "OK",
  3399. "schema": {
  3400. "type": "array",
  3401. "items": {
  3402. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3403. }
  3404. }
  3405. },
  3406. "500": {
  3407. "description": "Internal Server Error",
  3408. "schema": {
  3409. "$ref": "#/definitions/app.Response"
  3410. }
  3411. }
  3412. }
  3413. }
  3414. },
  3415. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3416. "get": {
  3417. "security": [
  3418. {
  3419. "ApiKeyAuth": []
  3420. }
  3421. ],
  3422. "produces": [
  3423. "application/json"
  3424. ],
  3425. "tags": [
  3426. "企业风险管理v3(app)"
  3427. ],
  3428. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3429. "parameters": [
  3430. {
  3431. "type": "integer",
  3432. "description": "用户ID",
  3433. "name": "userid",
  3434. "in": "query",
  3435. "required": true
  3436. },
  3437. {
  3438. "type": "integer",
  3439. "description": "套保商品id",
  3440. "name": "middlegoodsid",
  3441. "in": "query",
  3442. "required": true
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3447. "name": "cycletype",
  3448. "in": "query",
  3449. "required": true
  3450. },
  3451. {
  3452. "type": "string",
  3453. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3454. "name": "cycletime",
  3455. "in": "query",
  3456. "required": true
  3457. }
  3458. ],
  3459. "responses": {
  3460. "200": {
  3461. "description": "OK",
  3462. "schema": {
  3463. "type": "array",
  3464. "items": {
  3465. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3466. }
  3467. }
  3468. },
  3469. "500": {
  3470. "description": "Internal Server Error",
  3471. "schema": {
  3472. "$ref": "#/definitions/app.Response"
  3473. }
  3474. }
  3475. }
  3476. }
  3477. },
  3478. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3479. "get": {
  3480. "security": [
  3481. {
  3482. "ApiKeyAuth": []
  3483. }
  3484. ],
  3485. "produces": [
  3486. "application/json"
  3487. ],
  3488. "tags": [
  3489. "企业风险管理v3(app)"
  3490. ],
  3491. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3492. "parameters": [
  3493. {
  3494. "type": "integer",
  3495. "description": "用户ID",
  3496. "name": "userid",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "套保商品id",
  3503. "name": "middlegoodsid",
  3504. "in": "query",
  3505. "required": true
  3506. },
  3507. {
  3508. "type": "integer",
  3509. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3510. "name": "cycletype",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "string",
  3516. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3517. "name": "cycletime",
  3518. "in": "query",
  3519. "required": true
  3520. }
  3521. ],
  3522. "responses": {
  3523. "200": {
  3524. "description": "OK",
  3525. "schema": {
  3526. "type": "array",
  3527. "items": {
  3528. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3529. }
  3530. }
  3531. },
  3532. "500": {
  3533. "description": "Internal Server Error",
  3534. "schema": {
  3535. "$ref": "#/definitions/app.Response"
  3536. }
  3537. }
  3538. }
  3539. }
  3540. },
  3541. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3542. "get": {
  3543. "security": [
  3544. {
  3545. "ApiKeyAuth": []
  3546. }
  3547. ],
  3548. "produces": [
  3549. "application/json"
  3550. ],
  3551. "tags": [
  3552. "企业风险管理v3(app)"
  3553. ],
  3554. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3555. "parameters": [
  3556. {
  3557. "type": "integer",
  3558. "description": "用户ID",
  3559. "name": "userid",
  3560. "in": "query",
  3561. "required": true
  3562. },
  3563. {
  3564. "type": "integer",
  3565. "description": "套保商品id",
  3566. "name": "middlegoodsid",
  3567. "in": "query",
  3568. "required": true
  3569. },
  3570. {
  3571. "type": "integer",
  3572. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3573. "name": "cycletype",
  3574. "in": "query",
  3575. "required": true
  3576. },
  3577. {
  3578. "type": "string",
  3579. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3580. "name": "cycletime",
  3581. "in": "query",
  3582. "required": true
  3583. }
  3584. ],
  3585. "responses": {
  3586. "200": {
  3587. "description": "OK",
  3588. "schema": {
  3589. "type": "array",
  3590. "items": {
  3591. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3592. }
  3593. }
  3594. },
  3595. "500": {
  3596. "description": "Internal Server Error",
  3597. "schema": {
  3598. "$ref": "#/definitions/app.Response"
  3599. }
  3600. }
  3601. }
  3602. }
  3603. },
  3604. "/Ermcp3/QryAreaExpourseReport": {
  3605. "get": {
  3606. "security": [
  3607. {
  3608. "ApiKeyAuth": []
  3609. }
  3610. ],
  3611. "produces": [
  3612. "application/json"
  3613. ],
  3614. "tags": [
  3615. "企业风险管理v3(app)"
  3616. ],
  3617. "summary": "查询敞口报表",
  3618. "parameters": [
  3619. {
  3620. "type": "integer",
  3621. "description": "用户ID",
  3622. "name": "userid",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3629. "name": "querytype",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3636. "name": "cycletype",
  3637. "in": "query",
  3638. "required": true
  3639. },
  3640. {
  3641. "type": "string",
  3642. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3643. "name": "cycletime",
  3644. "in": "query",
  3645. "required": true
  3646. }
  3647. ],
  3648. "responses": {
  3649. "200": {
  3650. "description": "OK",
  3651. "schema": {
  3652. "type": "array",
  3653. "items": {
  3654. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3655. }
  3656. }
  3657. },
  3658. "500": {
  3659. "description": "Internal Server Error",
  3660. "schema": {
  3661. "$ref": "#/definitions/app.Response"
  3662. }
  3663. }
  3664. }
  3665. }
  3666. },
  3667. "/Ermcp3/QryAreaSpotplReport": {
  3668. "get": {
  3669. "security": [
  3670. {
  3671. "ApiKeyAuth": []
  3672. }
  3673. ],
  3674. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询现货报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "查询类型 1-报表 2-报表明细",
  3693. "name": "querytype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "integer",
  3699. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3700. "name": "cycletype",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "string",
  3706. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3707. "name": "cycletime",
  3708. "in": "query",
  3709. "required": true
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "现货品种id(明细必填)",
  3714. "name": "deliverygoodsid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "币种id(明细必填)",
  3720. "name": "currencyid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "日/周/月报表汇总维度 1:品种+品类",
  3726. "name": "sumflag",
  3727. "in": "query"
  3728. }
  3729. ],
  3730. "responses": {
  3731. "200": {
  3732. "description": "OK",
  3733. "schema": {
  3734. "type": "array",
  3735. "items": {
  3736. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3737. }
  3738. }
  3739. },
  3740. "500": {
  3741. "description": "Internal Server Error",
  3742. "schema": {
  3743. "$ref": "#/definitions/app.Response"
  3744. }
  3745. }
  3746. }
  3747. }
  3748. },
  3749. "/Ermcp3/QryAreaStockReport": {
  3750. "get": {
  3751. "security": [
  3752. {
  3753. "ApiKeyAuth": []
  3754. }
  3755. ],
  3756. "produces": [
  3757. "application/json"
  3758. ],
  3759. "tags": [
  3760. "企业风险管理v3(app)"
  3761. ],
  3762. "summary": "查询库存报表",
  3763. "parameters": [
  3764. {
  3765. "type": "integer",
  3766. "description": "用户ID",
  3767. "name": "userid",
  3768. "in": "query",
  3769. "required": true
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "查询类型 1-报表 2-报表明细",
  3774. "name": "querytype",
  3775. "in": "query",
  3776. "required": true
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3781. "name": "cycletype",
  3782. "in": "query",
  3783. "required": true
  3784. },
  3785. {
  3786. "type": "string",
  3787. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3788. "name": "cycletime",
  3789. "in": "query",
  3790. "required": true
  3791. },
  3792. {
  3793. "type": "string",
  3794. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3795. "name": "sumfields",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品种ID",
  3801. "name": "deliverygoodsid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品类ID",
  3807. "name": "wrstandardid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "品牌ID",
  3813. "name": "spotgoodsbrandid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "仓库ID",
  3819. "name": "warehouseinfoid",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QryAreaSumPL": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询汇总损益表",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户ID",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "查询类型 1-报表 2-报表明细",
  3867. "name": "querytype",
  3868. "in": "query",
  3869. "required": true
  3870. },
  3871. {
  3872. "type": "integer",
  3873. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3874. "name": "cycletype",
  3875. "in": "query",
  3876. "required": true
  3877. },
  3878. {
  3879. "type": "string",
  3880. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3881. "name": "cycletime",
  3882. "in": "query",
  3883. "required": true
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "币种id(明细必填)",
  3888. "name": "currencyid",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "integer",
  3893. "description": "套保品种ID, 查询类型为2时起效",
  3894. "name": "middlegoodsid",
  3895. "in": "query"
  3896. }
  3897. ],
  3898. "responses": {
  3899. "200": {
  3900. "description": "OK",
  3901. "schema": {
  3902. "type": "array",
  3903. "items": {
  3904. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3905. }
  3906. }
  3907. },
  3908. "500": {
  3909. "description": "Internal Server Error",
  3910. "schema": {
  3911. "$ref": "#/definitions/app.Response"
  3912. }
  3913. }
  3914. }
  3915. }
  3916. },
  3917. "/Ermcp3/QryFinanceReport": {
  3918. "get": {
  3919. "security": [
  3920. {
  3921. "ApiKeyAuth": []
  3922. }
  3923. ],
  3924. "produces": [
  3925. "application/json"
  3926. ],
  3927. "tags": [
  3928. "企业风险管理v3(app)"
  3929. ],
  3930. "summary": "查询财务报表",
  3931. "parameters": [
  3932. {
  3933. "type": "integer",
  3934. "description": "用户ID",
  3935. "name": "userid",
  3936. "in": "query",
  3937. "required": true
  3938. },
  3939. {
  3940. "type": "integer",
  3941. "description": "查询类型 1-报表 2-报表明细",
  3942. "name": "querytype",
  3943. "in": "query",
  3944. "required": true
  3945. },
  3946. {
  3947. "type": "integer",
  3948. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3949. "name": "cycletype",
  3950. "in": "query",
  3951. "required": true
  3952. },
  3953. {
  3954. "type": "string",
  3955. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3956. "name": "cycletime",
  3957. "in": "query",
  3958. "required": true
  3959. },
  3960. {
  3961. "type": "integer",
  3962. "description": "币种id(报表明细必填)",
  3963. "name": "currencyid",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "string",
  3968. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3969. "name": "sumfields",
  3970. "in": "query"
  3971. }
  3972. ],
  3973. "responses": {
  3974. "200": {
  3975. "description": "OK",
  3976. "schema": {
  3977. "type": "array",
  3978. "items": {
  3979. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3980. }
  3981. }
  3982. },
  3983. "500": {
  3984. "description": "Internal Server Error",
  3985. "schema": {
  3986. "$ref": "#/definitions/app.Response"
  3987. }
  3988. }
  3989. }
  3990. }
  3991. },
  3992. "/Ermcp3/QrySCMiddleGoodsReport": {
  3993. "get": {
  3994. "security": [
  3995. {
  3996. "ApiKeyAuth": []
  3997. }
  3998. ],
  3999. "produces": [
  4000. "application/json"
  4001. ],
  4002. "tags": [
  4003. "企业风险管理v3(app)"
  4004. ],
  4005. "summary": "查询定价报表",
  4006. "parameters": [
  4007. {
  4008. "type": "integer",
  4009. "description": "用户ID",
  4010. "name": "userid",
  4011. "in": "query",
  4012. "required": true
  4013. },
  4014. {
  4015. "type": "integer",
  4016. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4017. "name": "cycletype",
  4018. "in": "query",
  4019. "required": true
  4020. },
  4021. {
  4022. "type": "string",
  4023. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4024. "name": "cycletime",
  4025. "in": "query",
  4026. "required": true
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "合同id",
  4031. "name": "spotcontractid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "套保品种id",
  4037. "name": "middlegoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货品种id",
  4043. "name": "deliverygoodsid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "integer",
  4048. "description": "现货商品id",
  4049. "name": "wrstandardid",
  4050. "in": "query"
  4051. },
  4052. {
  4053. "type": "string",
  4054. "description": "合同编号(模糊匹配)",
  4055. "name": "contractno",
  4056. "in": "query"
  4057. }
  4058. ],
  4059. "responses": {
  4060. "200": {
  4061. "description": "OK",
  4062. "schema": {
  4063. "type": "array",
  4064. "items": {
  4065. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4066. }
  4067. }
  4068. },
  4069. "500": {
  4070. "description": "Internal Server Error",
  4071. "schema": {
  4072. "$ref": "#/definitions/app.Response"
  4073. }
  4074. }
  4075. }
  4076. }
  4077. },
  4078. "/Ermcp3/QryTaFutureDataReport": {
  4079. "get": {
  4080. "security": [
  4081. {
  4082. "ApiKeyAuth": []
  4083. }
  4084. ],
  4085. "produces": [
  4086. "application/json"
  4087. ],
  4088. "tags": [
  4089. "企业风险管理v3(app)"
  4090. ],
  4091. "summary": "查询期货报表",
  4092. "parameters": [
  4093. {
  4094. "type": "integer",
  4095. "description": "用户ID",
  4096. "name": "userid",
  4097. "in": "query",
  4098. "required": true
  4099. },
  4100. {
  4101. "type": "integer",
  4102. "description": "查询类型 1-报表 2-报表明细",
  4103. "name": "querytype",
  4104. "in": "query",
  4105. "required": true
  4106. },
  4107. {
  4108. "type": "integer",
  4109. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4110. "name": "cycletype",
  4111. "in": "query",
  4112. "required": true
  4113. },
  4114. {
  4115. "type": "string",
  4116. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4117. "name": "cycletime",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "币种id(查明细必填)",
  4124. "name": "currencyid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "品种id(查明细必填)",
  4130. "name": "goodsgroupid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "商品id(查明细必填)",
  4136. "name": "goodsid",
  4137. "in": "query"
  4138. },
  4139. {
  4140. "type": "integer",
  4141. "description": "买卖方向(查明细必填)",
  4142. "name": "buyorsell",
  4143. "in": "query"
  4144. }
  4145. ],
  4146. "responses": {
  4147. "200": {
  4148. "description": "OK",
  4149. "schema": {
  4150. "type": "array",
  4151. "items": {
  4152. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4153. }
  4154. }
  4155. },
  4156. "500": {
  4157. "description": "Internal Server Error",
  4158. "schema": {
  4159. "$ref": "#/definitions/app.Response"
  4160. }
  4161. }
  4162. }
  4163. }
  4164. },
  4165. "/Ermcp3/QueryAreaStock": {
  4166. "get": {
  4167. "security": [
  4168. {
  4169. "ApiKeyAuth": []
  4170. }
  4171. ],
  4172. "produces": [
  4173. "application/json"
  4174. ],
  4175. "tags": [
  4176. "企业风险管理v3(app)"
  4177. ],
  4178. "summary": "查询机构库存(库存管理/当前库存)",
  4179. "parameters": [
  4180. {
  4181. "type": "integer",
  4182. "description": "用户ID",
  4183. "name": "userid",
  4184. "in": "query",
  4185. "required": true
  4186. }
  4187. ],
  4188. "responses": {
  4189. "200": {
  4190. "description": "OK",
  4191. "schema": {
  4192. "type": "array",
  4193. "items": {
  4194. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4195. }
  4196. }
  4197. },
  4198. "500": {
  4199. "description": "Internal Server Error",
  4200. "schema": {
  4201. "$ref": "#/definitions/app.Response"
  4202. }
  4203. }
  4204. }
  4205. }
  4206. },
  4207. "/Ermcp3/QueryAreaStockApply": {
  4208. "get": {
  4209. "security": [
  4210. {
  4211. "ApiKeyAuth": []
  4212. }
  4213. ],
  4214. "produces": [
  4215. "application/json"
  4216. ],
  4217. "tags": [
  4218. "企业风险管理v3(app)"
  4219. ],
  4220. "summary": "查询库存申请(出入库记录|库存审核)",
  4221. "parameters": [
  4222. {
  4223. "type": "integer",
  4224. "description": "用户ID",
  4225. "name": "userid",
  4226. "in": "query",
  4227. "required": true
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "用户类型 2-机构 7-企业成员",
  4232. "name": "usertype",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "现货商品ID",
  4238. "name": "deliverygoodsid",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "string",
  4243. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4244. "name": "inouttype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "合同ID",
  4250. "name": "spotcontractid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品类ID",
  4256. "name": "wrstandardid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "品牌ID",
  4262. "name": "spotgoodsbrandid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "仓库ID",
  4268. "name": "warehouseinfoid",
  4269. "in": "query"
  4270. },
  4271. {
  4272. "type": "string",
  4273. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4274. "name": "applystatus",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryAreaStockApplySum": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "合同ID",
  4315. "name": "spotcontractid",
  4316. "in": "query",
  4317. "required": true
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QueryDGFactoryItem": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询品种要素定义项",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户id",
  4357. "name": "userid",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "用户类型 2-机构 7-企业成员",
  4363. "name": "usertype",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4369. "name": "dgfactoryitemid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "现货品种ID",
  4375. "name": "deliverygoodsid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "要素项类型",
  4381. "name": "dgfactoryitemtypeid",
  4382. "in": "query"
  4383. },
  4384. {
  4385. "type": "integer",
  4386. "description": "顺序",
  4387. "name": "orderindex",
  4388. "in": "query"
  4389. }
  4390. ],
  4391. "responses": {
  4392. "200": {
  4393. "description": "OK",
  4394. "schema": {
  4395. "type": "array",
  4396. "items": {
  4397. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4398. }
  4399. }
  4400. },
  4401. "500": {
  4402. "description": "Internal Server Error",
  4403. "schema": {
  4404. "$ref": "#/definitions/app.Response"
  4405. }
  4406. }
  4407. }
  4408. }
  4409. },
  4410. "/Ermcp3/QueryDeliveryGoods": {
  4411. "get": {
  4412. "security": [
  4413. {
  4414. "ApiKeyAuth": []
  4415. }
  4416. ],
  4417. "produces": [
  4418. "application/json"
  4419. ],
  4420. "tags": [
  4421. "企业风险管理v3(app)"
  4422. ],
  4423. "summary": "查询现货商品",
  4424. "parameters": [
  4425. {
  4426. "type": "integer",
  4427. "description": "用户id",
  4428. "name": "userid",
  4429. "in": "query",
  4430. "required": true
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "用户类型 2-机构 7-企业成员",
  4435. "name": "usertype",
  4436. "in": "query"
  4437. },
  4438. {
  4439. "type": "integer",
  4440. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4441. "name": "excludecfg",
  4442. "in": "query"
  4443. }
  4444. ],
  4445. "responses": {
  4446. "200": {
  4447. "description": "OK",
  4448. "schema": {
  4449. "type": "array",
  4450. "items": {
  4451. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4452. }
  4453. }
  4454. },
  4455. "500": {
  4456. "description": "Internal Server Error",
  4457. "schema": {
  4458. "$ref": "#/definitions/app.Response"
  4459. }
  4460. }
  4461. }
  4462. }
  4463. },
  4464. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4465. "get": {
  4466. "security": [
  4467. {
  4468. "ApiKeyAuth": []
  4469. }
  4470. ],
  4471. "produces": [
  4472. "application/json"
  4473. ],
  4474. "tags": [
  4475. "企业风险管理v3(app)"
  4476. ],
  4477. "summary": "查询现货商品详情",
  4478. "parameters": [
  4479. {
  4480. "type": "integer",
  4481. "description": "用户id",
  4482. "name": "userid",
  4483. "in": "query",
  4484. "required": true
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "用户类型 2-机构 7-企业成员",
  4489. "name": "usertype",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "现货商品id",
  4495. "name": "deliverygoodsid",
  4496. "in": "query"
  4497. },
  4498. {
  4499. "type": "integer",
  4500. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4501. "name": "filtersubempty",
  4502. "in": "query"
  4503. }
  4504. ],
  4505. "responses": {
  4506. "200": {
  4507. "description": "OK",
  4508. "schema": {
  4509. "type": "array",
  4510. "items": {
  4511. "$ref": "#/definitions/models.XHDeliveryGoods"
  4512. }
  4513. }
  4514. },
  4515. "500": {
  4516. "description": "Internal Server Error",
  4517. "schema": {
  4518. "$ref": "#/definitions/app.Response"
  4519. }
  4520. }
  4521. }
  4522. }
  4523. },
  4524. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4525. "get": {
  4526. "security": [
  4527. {
  4528. "ApiKeyAuth": []
  4529. }
  4530. ],
  4531. "produces": [
  4532. "application/json"
  4533. ],
  4534. "tags": [
  4535. "企业风险管理v3(app)"
  4536. ],
  4537. "summary": "查询现货合同期现配置信息",
  4538. "parameters": [
  4539. {
  4540. "type": "string",
  4541. "description": "合同id",
  4542. "name": "spotcontractid",
  4543. "in": "query",
  4544. "required": true
  4545. }
  4546. ],
  4547. "responses": {
  4548. "200": {
  4549. "description": "OK",
  4550. "schema": {
  4551. "type": "array",
  4552. "items": {
  4553. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4554. }
  4555. }
  4556. },
  4557. "500": {
  4558. "description": "Internal Server Error",
  4559. "schema": {
  4560. "$ref": "#/definitions/app.Response"
  4561. }
  4562. }
  4563. }
  4564. }
  4565. },
  4566. "/Ermcp3/QueryExposureDetail": {
  4567. "get": {
  4568. "security": [
  4569. {
  4570. "ApiKeyAuth": []
  4571. }
  4572. ],
  4573. "produces": [
  4574. "application/json"
  4575. ],
  4576. "tags": [
  4577. "企业风险管理v3(app)"
  4578. ],
  4579. "summary": "查询敞口现货明细",
  4580. "parameters": [
  4581. {
  4582. "type": "integer",
  4583. "description": "用户id",
  4584. "name": "userid",
  4585. "in": "query",
  4586. "required": true
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "用户类型 2-机构 7-企业成员",
  4591. "name": "usertype",
  4592. "in": "query"
  4593. },
  4594. {
  4595. "type": "integer",
  4596. "description": "套保商品",
  4597. "name": "middlegoodsid",
  4598. "in": "query",
  4599. "required": true
  4600. }
  4601. ],
  4602. "responses": {
  4603. "200": {
  4604. "description": "OK",
  4605. "schema": {
  4606. "type": "array",
  4607. "items": {
  4608. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4609. }
  4610. }
  4611. },
  4612. "500": {
  4613. "description": "Internal Server Error",
  4614. "schema": {
  4615. "$ref": "#/definitions/app.Response"
  4616. }
  4617. }
  4618. }
  4619. }
  4620. },
  4621. "/Ermcp3/QueryExposureSpot": {
  4622. "get": {
  4623. "security": [
  4624. {
  4625. "ApiKeyAuth": []
  4626. }
  4627. ],
  4628. "produces": [
  4629. "application/json"
  4630. ],
  4631. "tags": [
  4632. "企业风险管理v3(app)"
  4633. ],
  4634. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4635. "parameters": [
  4636. {
  4637. "type": "integer",
  4638. "description": "用户id",
  4639. "name": "userid",
  4640. "in": "query",
  4641. "required": true
  4642. },
  4643. {
  4644. "type": "integer",
  4645. "description": "用户类型 2-机构 7-企业成员",
  4646. "name": "usertype",
  4647. "in": "query"
  4648. }
  4649. ],
  4650. "responses": {
  4651. "200": {
  4652. "description": "OK",
  4653. "schema": {
  4654. "type": "array",
  4655. "items": {
  4656. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4657. }
  4658. }
  4659. },
  4660. "500": {
  4661. "description": "Internal Server Error",
  4662. "schema": {
  4663. "$ref": "#/definitions/app.Response"
  4664. }
  4665. }
  4666. }
  4667. }
  4668. },
  4669. "/Ermcp3/QueryExposureSpotDetail": {
  4670. "get": {
  4671. "security": [
  4672. {
  4673. "ApiKeyAuth": []
  4674. }
  4675. ],
  4676. "produces": [
  4677. "application/json"
  4678. ],
  4679. "tags": [
  4680. "企业风险管理v3(app)"
  4681. ],
  4682. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4683. "parameters": [
  4684. {
  4685. "type": "integer",
  4686. "description": "用户id",
  4687. "name": "userid",
  4688. "in": "query",
  4689. "required": true
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "用户类型 2-机构 7-企业成员",
  4694. "name": "usertype",
  4695. "in": "query"
  4696. },
  4697. {
  4698. "type": "integer",
  4699. "description": "现货商品ID",
  4700. "name": "wrstandardid",
  4701. "in": "query",
  4702. "required": true
  4703. }
  4704. ],
  4705. "responses": {
  4706. "200": {
  4707. "description": "OK",
  4708. "schema": {
  4709. "type": "array",
  4710. "items": {
  4711. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4712. }
  4713. }
  4714. },
  4715. "500": {
  4716. "description": "Internal Server Error",
  4717. "schema": {
  4718. "$ref": "#/definitions/app.Response"
  4719. }
  4720. }
  4721. }
  4722. }
  4723. },
  4724. "/Ermcp3/QueryGoodsGroup": {
  4725. "get": {
  4726. "security": [
  4727. {
  4728. "ApiKeyAuth": []
  4729. }
  4730. ],
  4731. "produces": [
  4732. "application/json"
  4733. ],
  4734. "tags": [
  4735. "企业风险管理v3(app)"
  4736. ],
  4737. "summary": "查询期货商品组",
  4738. "parameters": [
  4739. {
  4740. "type": "integer",
  4741. "description": "用户id",
  4742. "name": "userid",
  4743. "in": "query",
  4744. "required": true
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "用户类型 2-机构 7-企业成员",
  4749. "name": "usertype",
  4750. "in": "query"
  4751. },
  4752. {
  4753. "type": "integer",
  4754. "description": "排除套保品中已关联的商品组 1-排除",
  4755. "name": "excludecfg",
  4756. "in": "query"
  4757. }
  4758. ],
  4759. "responses": {
  4760. "200": {
  4761. "description": "OK",
  4762. "schema": {
  4763. "type": "array",
  4764. "items": {
  4765. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4766. }
  4767. }
  4768. },
  4769. "500": {
  4770. "description": "Internal Server Error",
  4771. "schema": {
  4772. "$ref": "#/definitions/app.Response"
  4773. }
  4774. }
  4775. }
  4776. }
  4777. },
  4778. "/Ermcp3/QueryGoodsWrstandard": {
  4779. "get": {
  4780. "security": [
  4781. {
  4782. "ApiKeyAuth": []
  4783. }
  4784. ],
  4785. "produces": [
  4786. "application/json"
  4787. ],
  4788. "tags": [
  4789. "企业风险管理v3(app)"
  4790. ],
  4791. "summary": "查询商品品类",
  4792. "parameters": [
  4793. {
  4794. "type": "integer",
  4795. "description": "用户id",
  4796. "name": "userid",
  4797. "in": "query",
  4798. "required": true
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "用户类型 2-机构 7-企业成员",
  4803. "name": "usertype",
  4804. "in": "query"
  4805. },
  4806. {
  4807. "type": "integer",
  4808. "description": "现货商品id",
  4809. "name": "deliverygoodsid",
  4810. "in": "query"
  4811. }
  4812. ],
  4813. "responses": {
  4814. "200": {
  4815. "description": "OK",
  4816. "schema": {
  4817. "type": "array",
  4818. "items": {
  4819. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4820. }
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. }
  4829. }
  4830. }
  4831. },
  4832. "/Ermcp3/QueryGoodsbrand": {
  4833. "get": {
  4834. "security": [
  4835. {
  4836. "ApiKeyAuth": []
  4837. }
  4838. ],
  4839. "produces": [
  4840. "application/json"
  4841. ],
  4842. "tags": [
  4843. "企业风险管理v3(app)"
  4844. ],
  4845. "summary": "查询商品品牌",
  4846. "parameters": [
  4847. {
  4848. "type": "integer",
  4849. "description": "用户id",
  4850. "name": "userid",
  4851. "in": "query",
  4852. "required": true
  4853. },
  4854. {
  4855. "type": "integer",
  4856. "description": "用户类型 2-机构 7-企业成员",
  4857. "name": "usertype",
  4858. "in": "query"
  4859. }
  4860. ],
  4861. "responses": {
  4862. "200": {
  4863. "description": "OK",
  4864. "schema": {
  4865. "type": "array",
  4866. "items": {
  4867. "$ref": "#/definitions/models.Ermcp3Brand"
  4868. }
  4869. }
  4870. },
  4871. "500": {
  4872. "description": "Internal Server Error",
  4873. "schema": {
  4874. "$ref": "#/definitions/app.Response"
  4875. }
  4876. }
  4877. }
  4878. }
  4879. },
  4880. "/Ermcp3/QueryHPMiddleGoods": {
  4881. "get": {
  4882. "security": [
  4883. {
  4884. "ApiKeyAuth": []
  4885. }
  4886. ],
  4887. "produces": [
  4888. "application/json"
  4889. ],
  4890. "tags": [
  4891. "企业风险管理v3(app)"
  4892. ],
  4893. "summary": "查询可关联套保计划",
  4894. "parameters": [
  4895. {
  4896. "type": "integer",
  4897. "description": "用户ID(填登录用户的userid)",
  4898. "name": "userid",
  4899. "in": "query",
  4900. "required": true
  4901. },
  4902. {
  4903. "type": "integer",
  4904. "description": "买卖方向 0-买 1-卖",
  4905. "name": "buyorsell",
  4906. "in": "query",
  4907. "required": true
  4908. },
  4909. {
  4910. "type": "integer",
  4911. "description": "商品组id",
  4912. "name": "goodsgroupid",
  4913. "in": "query",
  4914. "required": true
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "套保计划编号(模糊匹配)",
  4919. "name": "hedgeplanno",
  4920. "in": "query"
  4921. },
  4922. {
  4923. "type": "string",
  4924. "description": "现货商品名称(模糊匹配)",
  4925. "name": "wrstandardname",
  4926. "in": "query"
  4927. }
  4928. ],
  4929. "responses": {
  4930. "200": {
  4931. "description": "OK",
  4932. "schema": {
  4933. "type": "array",
  4934. "items": {
  4935. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4936. }
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/Ermcp3/QueryHedgePlan": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "企业风险管理v3(app)"
  4960. ],
  4961. "summary": "查询套保计划",
  4962. "parameters": [
  4963. {
  4964. "type": "integer",
  4965. "description": "用户ID",
  4966. "name": "userid",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "integer",
  4972. "description": "用户类型 2-机构 7-企业成员",
  4973. "name": "usertype",
  4974. "in": "query"
  4975. },
  4976. {
  4977. "type": "string",
  4978. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4979. "name": "hedgeplanstatus",
  4980. "in": "query",
  4981. "required": true
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "type": "array",
  4989. "items": {
  4990. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4991. }
  4992. }
  4993. },
  4994. "500": {
  4995. "description": "Internal Server Error",
  4996. "schema": {
  4997. "$ref": "#/definitions/app.Response"
  4998. }
  4999. }
  5000. }
  5001. }
  5002. },
  5003. "/Ermcp3/QueryInnerTradeLink": {
  5004. "get": {
  5005. "security": [
  5006. {
  5007. "ApiKeyAuth": []
  5008. }
  5009. ],
  5010. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5011. "produces": [
  5012. "application/json"
  5013. ],
  5014. "tags": [
  5015. "企业风险管理v3(app)"
  5016. ],
  5017. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5018. "parameters": [
  5019. {
  5020. "type": "integer",
  5021. "description": "外部成交单号",
  5022. "name": "outtradeid",
  5023. "in": "query",
  5024. "required": true
  5025. }
  5026. ],
  5027. "responses": {
  5028. "200": {
  5029. "description": "OK",
  5030. "schema": {
  5031. "type": "array",
  5032. "items": {
  5033. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5034. }
  5035. }
  5036. },
  5037. "500": {
  5038. "description": "Internal Server Error",
  5039. "schema": {
  5040. "$ref": "#/definitions/app.Response"
  5041. }
  5042. }
  5043. }
  5044. }
  5045. },
  5046. "/Ermcp3/QueryMiddleGoodsDetail": {
  5047. "get": {
  5048. "security": [
  5049. {
  5050. "ApiKeyAuth": []
  5051. }
  5052. ],
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "企业风险管理v3(app)"
  5058. ],
  5059. "summary": "查询套保品种详情(套保品种/商品详情)",
  5060. "parameters": [
  5061. {
  5062. "type": "integer",
  5063. "description": "用户id",
  5064. "name": "userid",
  5065. "in": "query",
  5066. "required": true
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "用户类型 2-机构 7-企业成员",
  5071. "name": "usertype",
  5072. "in": "query"
  5073. },
  5074. {
  5075. "type": "integer",
  5076. "description": "套保品种id",
  5077. "name": "middlegoodsid",
  5078. "in": "query"
  5079. }
  5080. ],
  5081. "responses": {
  5082. "200": {
  5083. "description": "OK",
  5084. "schema": {
  5085. "type": "array",
  5086. "items": {
  5087. "$ref": "#/definitions/models.TBMiddleGoods"
  5088. }
  5089. }
  5090. },
  5091. "500": {
  5092. "description": "Internal Server Error",
  5093. "schema": {
  5094. "$ref": "#/definitions/app.Response"
  5095. }
  5096. }
  5097. }
  5098. }
  5099. },
  5100. "/Ermcp3/QueryOutTradeLink": {
  5101. "get": {
  5102. "security": [
  5103. {
  5104. "ApiKeyAuth": []
  5105. }
  5106. ],
  5107. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5108. "produces": [
  5109. "application/json"
  5110. ],
  5111. "tags": [
  5112. "企业风险管理v3(app)"
  5113. ],
  5114. "summary": "查询外部成交单关联",
  5115. "parameters": [
  5116. {
  5117. "type": "integer",
  5118. "description": "用户ID(填登录用户的userid)",
  5119. "name": "userid",
  5120. "in": "query",
  5121. "required": true
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "外部订单号(模糊匹配)",
  5126. "name": "outtradeid",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "string",
  5131. "description": "合约名称/代码(模糊匹配)",
  5132. "name": "goodsname",
  5133. "in": "query"
  5134. },
  5135. {
  5136. "type": "integer",
  5137. "description": "关联状态 0-未关联 1-已关联",
  5138. "name": "hasinnerorder",
  5139. "in": "query"
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "type": "array",
  5147. "items": {
  5148. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5149. }
  5150. }
  5151. },
  5152. "500": {
  5153. "description": "Internal Server Error",
  5154. "schema": {
  5155. "$ref": "#/definitions/app.Response"
  5156. }
  5157. }
  5158. }
  5159. }
  5160. },
  5161. "/Ermcp3/QueryPaAreaAuditCfg": {
  5162. "get": {
  5163. "security": [
  5164. {
  5165. "ApiKeyAuth": []
  5166. }
  5167. ],
  5168. "produces": [
  5169. "application/json"
  5170. ],
  5171. "tags": [
  5172. "企业风险管理v3(app)"
  5173. ],
  5174. "summary": "查询审核设置",
  5175. "parameters": [
  5176. {
  5177. "type": "integer",
  5178. "description": "用户id",
  5179. "name": "userid",
  5180. "in": "query",
  5181. "required": true
  5182. }
  5183. ],
  5184. "responses": {
  5185. "200": {
  5186. "description": "OK",
  5187. "schema": {
  5188. "type": "array",
  5189. "items": {
  5190. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5191. }
  5192. }
  5193. },
  5194. "500": {
  5195. "description": "Internal Server Error",
  5196. "schema": {
  5197. "$ref": "#/definitions/app.Response"
  5198. }
  5199. }
  5200. }
  5201. }
  5202. },
  5203. "/Ermcp3/QueryPaAreaSubject": {
  5204. "get": {
  5205. "security": [
  5206. {
  5207. "ApiKeyAuth": []
  5208. }
  5209. ],
  5210. "produces": [
  5211. "application/json"
  5212. ],
  5213. "tags": [
  5214. "企业风险管理v3(app)"
  5215. ],
  5216. "summary": "查询交易主体",
  5217. "parameters": [
  5218. {
  5219. "type": "integer",
  5220. "description": "用户id",
  5221. "name": "userid",
  5222. "in": "query",
  5223. "required": true
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5228. "name": "subjectid",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体类型 - 1:交易主体 2:业务部门",
  5234. "name": "subjecttype",
  5235. "in": "query"
  5236. },
  5237. {
  5238. "type": "integer",
  5239. "description": "主体状态 - 1:正常 2: 停用",
  5240. "name": "subjectstatus",
  5241. "in": "query"
  5242. }
  5243. ],
  5244. "responses": {
  5245. "200": {
  5246. "description": "OK",
  5247. "schema": {
  5248. "type": "array",
  5249. "items": {
  5250. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5251. }
  5252. }
  5253. },
  5254. "500": {
  5255. "description": "Internal Server Error",
  5256. "schema": {
  5257. "$ref": "#/definitions/app.Response"
  5258. }
  5259. }
  5260. }
  5261. }
  5262. },
  5263. "/Ermcp3/QueryPaTradeLink": {
  5264. "get": {
  5265. "security": [
  5266. {
  5267. "ApiKeyAuth": []
  5268. }
  5269. ],
  5270. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询期现单据关联",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户ID",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "type": "array",
  5292. "items": {
  5293. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5294. }
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/Ermcp3/QueryPaTradeLinkDetail": {
  5307. "get": {
  5308. "security": [
  5309. {
  5310. "ApiKeyAuth": []
  5311. }
  5312. ],
  5313. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5314. "produces": [
  5315. "application/json"
  5316. ],
  5317. "tags": [
  5318. "企业风险管理v3(app)"
  5319. ],
  5320. "summary": "查询期现关联记录",
  5321. "parameters": [
  5322. {
  5323. "type": "integer",
  5324. "description": "用户ID(填登录用户的userid)",
  5325. "name": "userid",
  5326. "in": "query",
  5327. "required": true
  5328. },
  5329. {
  5330. "type": "integer",
  5331. "description": "关联状态 1:成功 2:失败 3:解绑",
  5332. "name": "linkstatus",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "期货订单号(模糊匹配)",
  5338. "name": "tradeid",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "现货编号(模糊匹配)",
  5344. "name": "contractno",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "期货账户(模糊匹配)",
  5350. "name": "taname",
  5351. "in": "query"
  5352. }
  5353. ],
  5354. "responses": {
  5355. "200": {
  5356. "description": "OK",
  5357. "schema": {
  5358. "type": "array",
  5359. "items": {
  5360. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5361. }
  5362. }
  5363. },
  5364. "500": {
  5365. "description": "Internal Server Error",
  5366. "schema": {
  5367. "$ref": "#/definitions/app.Response"
  5368. }
  5369. }
  5370. }
  5371. }
  5372. },
  5373. "/Ermcp3/QueryParamChangeApp": {
  5374. "get": {
  5375. "security": [
  5376. {
  5377. "ApiKeyAuth": []
  5378. }
  5379. ],
  5380. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5381. "produces": [
  5382. "application/json"
  5383. ],
  5384. "tags": [
  5385. "企业风险管理v3(app)"
  5386. ],
  5387. "summary": "查询现货商品参数变更申请(流水)",
  5388. "parameters": [
  5389. {
  5390. "type": "integer",
  5391. "description": "用户ID",
  5392. "name": "userid",
  5393. "in": "query",
  5394. "required": true
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货品种id",
  5399. "name": "deliverygoodsid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "现货商品id",
  5405. "name": "wrstandardid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "套保商品id",
  5411. "name": "middlegoodsid",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "操作类型 1:新增 2:修改",
  5417. "name": "operatetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "integer",
  5422. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5423. "name": "paramchangetype",
  5424. "in": "query"
  5425. },
  5426. {
  5427. "type": "string",
  5428. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5429. "name": "ftstatus",
  5430. "in": "query"
  5431. }
  5432. ],
  5433. "responses": {
  5434. "200": {
  5435. "description": "OK",
  5436. "schema": {
  5437. "type": "array",
  5438. "items": {
  5439. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5440. }
  5441. }
  5442. },
  5443. "500": {
  5444. "description": "Internal Server Error",
  5445. "schema": {
  5446. "$ref": "#/definitions/app.Response"
  5447. }
  5448. }
  5449. }
  5450. }
  5451. },
  5452. "/Ermcp3/QueryRootUserAccount": {
  5453. "get": {
  5454. "security": [
  5455. {
  5456. "ApiKeyAuth": []
  5457. }
  5458. ],
  5459. "produces": [
  5460. "application/json"
  5461. ],
  5462. "tags": [
  5463. "企业风险管理v3(app)"
  5464. ],
  5465. "summary": "查询顶级用户信息",
  5466. "parameters": [
  5467. {
  5468. "type": "integer",
  5469. "description": "用户ID",
  5470. "name": "userid",
  5471. "in": "query",
  5472. "required": true
  5473. }
  5474. ],
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "type": "array",
  5480. "items": {
  5481. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5482. }
  5483. }
  5484. },
  5485. "500": {
  5486. "description": "Internal Server Error",
  5487. "schema": {
  5488. "$ref": "#/definitions/app.Response"
  5489. }
  5490. }
  5491. }
  5492. }
  5493. },
  5494. "/Ermcp3/QuerySCMiddleGoods": {
  5495. "get": {
  5496. "security": [
  5497. {
  5498. "ApiKeyAuth": []
  5499. }
  5500. ],
  5501. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5502. "produces": [
  5503. "application/json"
  5504. ],
  5505. "tags": [
  5506. "企业风险管理v3(app)"
  5507. ],
  5508. "summary": "查询现货订单",
  5509. "parameters": [
  5510. {
  5511. "type": "integer",
  5512. "description": "用户ID(填登录用户的userid)",
  5513. "name": "userid",
  5514. "in": "query",
  5515. "required": true
  5516. },
  5517. {
  5518. "type": "integer",
  5519. "description": "买卖方向 0-买 1-卖",
  5520. "name": "buyorsell",
  5521. "in": "query",
  5522. "required": true
  5523. },
  5524. {
  5525. "type": "integer",
  5526. "description": "商品组id",
  5527. "name": "goodsgroupid",
  5528. "in": "query",
  5529. "required": true
  5530. },
  5531. {
  5532. "type": "integer",
  5533. "description": "业务类型 1:套保 2:套利",
  5534. "name": "biztype",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "现货编号(模糊匹配)",
  5540. "name": "contractno",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "对手方(模糊匹配)",
  5546. "name": "customername",
  5547. "in": "query"
  5548. },
  5549. {
  5550. "type": "string",
  5551. "description": "现货商品名称(模糊匹配)",
  5552. "name": "wrstandardname",
  5553. "in": "query"
  5554. }
  5555. ],
  5556. "responses": {
  5557. "200": {
  5558. "description": "OK",
  5559. "schema": {
  5560. "type": "array",
  5561. "items": {
  5562. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5563. }
  5564. }
  5565. },
  5566. "500": {
  5567. "description": "Internal Server Error",
  5568. "schema": {
  5569. "$ref": "#/definitions/app.Response"
  5570. }
  5571. }
  5572. }
  5573. }
  5574. },
  5575. "/Ermcp3/QuerySpotContract": {
  5576. "get": {
  5577. "security": [
  5578. {
  5579. "ApiKeyAuth": []
  5580. }
  5581. ],
  5582. "produces": [
  5583. "application/json"
  5584. ],
  5585. "tags": [
  5586. "企业风险管理v3(app)"
  5587. ],
  5588. "summary": "查询现货合同",
  5589. "parameters": [
  5590. {
  5591. "type": "integer",
  5592. "description": "用户id(当指定contractid, userid可不填)",
  5593. "name": "userid",
  5594. "in": "query",
  5595. "required": true
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "用户类型 2-机构 7-企业成员",
  5600. "name": "usertype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "integer",
  5605. "description": "合同类型 1-采购, -1-销售",
  5606. "name": "contracttype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5612. "name": "querytype",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同ID(SpotContractId)",
  5618. "name": "contractid",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "合同编号(模糊匹配)",
  5624. "name": "contractno",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "商品名称(模糊匹配)",
  5630. "name": "wrstandardname",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "string",
  5635. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5636. "name": "status",
  5637. "in": "query"
  5638. },
  5639. {
  5640. "type": "integer",
  5641. "description": "是否只查今日的合同 1-查今日合同",
  5642. "name": "istoday",
  5643. "in": "query"
  5644. }
  5645. ],
  5646. "responses": {
  5647. "200": {
  5648. "description": "OK",
  5649. "schema": {
  5650. "type": "array",
  5651. "items": {
  5652. "$ref": "#/definitions/models.Ermcp3Contract"
  5653. }
  5654. }
  5655. },
  5656. "500": {
  5657. "description": "Internal Server Error",
  5658. "schema": {
  5659. "$ref": "#/definitions/app.Response"
  5660. }
  5661. }
  5662. }
  5663. }
  5664. },
  5665. "/Ermcp3/QuerySpotContractBS": {
  5666. "get": {
  5667. "security": [
  5668. {
  5669. "ApiKeyAuth": []
  5670. }
  5671. ],
  5672. "produces": [
  5673. "application/json"
  5674. ],
  5675. "tags": [
  5676. "企业风险管理v3(app)"
  5677. ],
  5678. "summary": "查询合同(采购/销售)",
  5679. "parameters": [
  5680. {
  5681. "type": "integer",
  5682. "description": "用户id",
  5683. "name": "userid",
  5684. "in": "query",
  5685. "required": true
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "用户类型 2-机构 7-企业成员",
  5690. "name": "usertype",
  5691. "in": "query"
  5692. },
  5693. {
  5694. "type": "integer",
  5695. "description": "合同类型 1-采购, -1-销售",
  5696. "name": "contracttype",
  5697. "in": "query",
  5698. "required": true
  5699. },
  5700. {
  5701. "type": "integer",
  5702. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5703. "name": "querytype",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同ID(SpotContractId)",
  5709. "name": "contractid",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "string",
  5714. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5715. "name": "status",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "integer",
  5720. "description": "是否只查今日的合同 1-查今日合同",
  5721. "name": "istoday",
  5722. "in": "query"
  5723. }
  5724. ],
  5725. "responses": {
  5726. "200": {
  5727. "description": "OK",
  5728. "schema": {
  5729. "type": "array",
  5730. "items": {
  5731. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5732. }
  5733. }
  5734. },
  5735. "500": {
  5736. "description": "Internal Server Error",
  5737. "schema": {
  5738. "$ref": "#/definitions/app.Response"
  5739. }
  5740. }
  5741. }
  5742. }
  5743. },
  5744. "/Ermcp3/QuerySpotGoodsPrice": {
  5745. "get": {
  5746. "security": [
  5747. {
  5748. "ApiKeyAuth": []
  5749. }
  5750. ],
  5751. "produces": [
  5752. "application/json"
  5753. ],
  5754. "tags": [
  5755. "企业风险管理v3(app)"
  5756. ],
  5757. "summary": "查询现货市价(现货市价)",
  5758. "parameters": [
  5759. {
  5760. "type": "integer",
  5761. "description": "用户ID",
  5762. "name": "userid",
  5763. "in": "query",
  5764. "required": true
  5765. }
  5766. ],
  5767. "responses": {
  5768. "200": {
  5769. "description": "OK",
  5770. "schema": {
  5771. "type": "array",
  5772. "items": {
  5773. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5774. }
  5775. }
  5776. },
  5777. "500": {
  5778. "description": "Internal Server Error",
  5779. "schema": {
  5780. "$ref": "#/definitions/app.Response"
  5781. }
  5782. }
  5783. }
  5784. }
  5785. },
  5786. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5787. "get": {
  5788. "security": [
  5789. {
  5790. "ApiKeyAuth": []
  5791. }
  5792. ],
  5793. "produces": [
  5794. "application/json"
  5795. ],
  5796. "tags": [
  5797. "企业风险管理v3(app)"
  5798. ],
  5799. "summary": "查询现货市价详情(现货市价/详情)",
  5800. "parameters": [
  5801. {
  5802. "type": "integer",
  5803. "description": "用户ID",
  5804. "name": "userid",
  5805. "in": "query",
  5806. "required": true
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "现货商品ID",
  5811. "name": "deliverygoodsid",
  5812. "in": "query",
  5813. "required": true
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品牌ID",
  5818. "name": "brandid",
  5819. "in": "query"
  5820. },
  5821. {
  5822. "type": "integer",
  5823. "description": "品类ID",
  5824. "name": "wrstandardid",
  5825. "in": "query"
  5826. }
  5827. ],
  5828. "responses": {
  5829. "200": {
  5830. "description": "OK",
  5831. "schema": {
  5832. "type": "array",
  5833. "items": {
  5834. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5835. }
  5836. }
  5837. },
  5838. "500": {
  5839. "description": "Internal Server Error",
  5840. "schema": {
  5841. "$ref": "#/definitions/app.Response"
  5842. }
  5843. }
  5844. }
  5845. }
  5846. },
  5847. "/Ermcp3/QuerySubTaaccount": {
  5848. "get": {
  5849. "security": [
  5850. {
  5851. "ApiKeyAuth": []
  5852. }
  5853. ],
  5854. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5855. "produces": [
  5856. "application/json"
  5857. ],
  5858. "tags": [
  5859. "企业风险管理v3(app)"
  5860. ],
  5861. "summary": "查询期货子账户",
  5862. "parameters": [
  5863. {
  5864. "type": "integer",
  5865. "description": "母账号id",
  5866. "name": "parentaccountid",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "string",
  5871. "description": "母账号代码",
  5872. "name": "parentaccountcode",
  5873. "in": "query"
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "type": "array",
  5881. "items": {
  5882. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5883. }
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "企业风险管理v8"
  5907. ],
  5908. "summary": "现货成交明细查询",
  5909. "parameters": [
  5910. {
  5911. "type": "integer",
  5912. "description": "套期项目ID",
  5913. "name": "hedgeditemid",
  5914. "in": "query",
  5915. "required": true
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "type": "array",
  5923. "items": {
  5924. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5925. }
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "企业风险管理v8"
  5949. ],
  5950. "summary": "套期计划明细查询",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "套期项目ID",
  5955. "name": "hedgeditemid",
  5956. "in": "query",
  5957. "required": true
  5958. }
  5959. ],
  5960. "responses": {
  5961. "200": {
  5962. "description": "OK",
  5963. "schema": {
  5964. "type": "array",
  5965. "items": {
  5966. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5967. }
  5968. }
  5969. },
  5970. "500": {
  5971. "description": "Internal Server Error",
  5972. "schema": {
  5973. "$ref": "#/definitions/app.Response"
  5974. }
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "/Ermcp8/QueryERMCPJRLinkPos": {
  5980. "get": {
  5981. "security": [
  5982. {
  5983. "ApiKeyAuth": []
  5984. }
  5985. ],
  5986. "produces": [
  5987. "application/json"
  5988. ],
  5989. "tags": [
  5990. "企业风险管理v8"
  5991. ],
  5992. "summary": "期货持仓明细查询",
  5993. "parameters": [
  5994. {
  5995. "type": "integer",
  5996. "description": "套期项目ID",
  5997. "name": "hedgeditemid",
  5998. "in": "query",
  5999. "required": true
  6000. }
  6001. ],
  6002. "responses": {
  6003. "200": {
  6004. "description": "OK",
  6005. "schema": {
  6006. "type": "array",
  6007. "items": {
  6008. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6009. }
  6010. }
  6011. },
  6012. "500": {
  6013. "description": "Internal Server Error",
  6014. "schema": {
  6015. "$ref": "#/definitions/app.Response"
  6016. }
  6017. }
  6018. }
  6019. }
  6020. },
  6021. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6022. "get": {
  6023. "security": [
  6024. {
  6025. "ApiKeyAuth": []
  6026. }
  6027. ],
  6028. "produces": [
  6029. "application/json"
  6030. ],
  6031. "tags": [
  6032. "企业风险管理v8"
  6033. ],
  6034. "summary": "期货成交单明细查询",
  6035. "parameters": [
  6036. {
  6037. "type": "integer",
  6038. "description": "套期项目ID",
  6039. "name": "hedgeditemid",
  6040. "in": "query",
  6041. "required": true
  6042. }
  6043. ],
  6044. "responses": {
  6045. "200": {
  6046. "description": "OK",
  6047. "schema": {
  6048. "type": "array",
  6049. "items": {
  6050. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6051. }
  6052. }
  6053. },
  6054. "500": {
  6055. "description": "Internal Server Error",
  6056. "schema": {
  6057. "$ref": "#/definitions/app.Response"
  6058. }
  6059. }
  6060. }
  6061. }
  6062. },
  6063. "/Ermcp8/QueryErmcp2AreaExposure": {
  6064. "get": {
  6065. "security": [
  6066. {
  6067. "ApiKeyAuth": []
  6068. }
  6069. ],
  6070. "produces": [
  6071. "application/json"
  6072. ],
  6073. "tags": [
  6074. "企业风险管理v8"
  6075. ],
  6076. "summary": "企业敞口查询",
  6077. "parameters": [
  6078. {
  6079. "type": "string",
  6080. "description": "用户ID",
  6081. "name": "userid",
  6082. "in": "query",
  6083. "required": true
  6084. }
  6085. ],
  6086. "responses": {
  6087. "200": {
  6088. "description": "OK",
  6089. "schema": {
  6090. "type": "array",
  6091. "items": {
  6092. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6093. }
  6094. }
  6095. },
  6096. "500": {
  6097. "description": "Internal Server Error",
  6098. "schema": {
  6099. "$ref": "#/definitions/app.Response"
  6100. }
  6101. }
  6102. }
  6103. }
  6104. },
  6105. "/Ermcp8/QueryErmcp2HedgedItem": {
  6106. "get": {
  6107. "security": [
  6108. {
  6109. "ApiKeyAuth": []
  6110. }
  6111. ],
  6112. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "企业风险管理v8"
  6118. ],
  6119. "summary": "查询被套期项目信息",
  6120. "parameters": [
  6121. {
  6122. "type": "string",
  6123. "description": "用户ID",
  6124. "name": "userid",
  6125. "in": "query",
  6126. "required": true
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6131. "name": "hedgedtype",
  6132. "in": "query"
  6133. },
  6134. {
  6135. "type": "integer",
  6136. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6137. "name": "hedgeditemstatus",
  6138. "in": "query"
  6139. }
  6140. ],
  6141. "responses": {
  6142. "200": {
  6143. "description": "OK",
  6144. "schema": {
  6145. "type": "array",
  6146. "items": {
  6147. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6148. }
  6149. }
  6150. },
  6151. "500": {
  6152. "description": "Internal Server Error",
  6153. "schema": {
  6154. "$ref": "#/definitions/app.Response"
  6155. }
  6156. }
  6157. }
  6158. }
  6159. },
  6160. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6161. "get": {
  6162. "security": [
  6163. {
  6164. "ApiKeyAuth": []
  6165. }
  6166. ],
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "企业风险管理v8"
  6172. ],
  6173. "summary": "现货合同关联被套期项目查询",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "现货合同ID",
  6178. "name": "spotcontractid",
  6179. "in": "query",
  6180. "required": true
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "type": "array",
  6188. "items": {
  6189. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6190. }
  6191. }
  6192. },
  6193. "500": {
  6194. "description": "Internal Server Error",
  6195. "schema": {
  6196. "$ref": "#/definitions/app.Response"
  6197. }
  6198. }
  6199. }
  6200. }
  6201. },
  6202. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6203. "get": {
  6204. "security": [
  6205. {
  6206. "ApiKeyAuth": []
  6207. }
  6208. ],
  6209. "produces": [
  6210. "application/json"
  6211. ],
  6212. "tags": [
  6213. "企业风险管理v8"
  6214. ],
  6215. "summary": "敞口明细 - 计划变动明细",
  6216. "parameters": [
  6217. {
  6218. "type": "integer",
  6219. "description": "用户ID",
  6220. "name": "userid",
  6221. "in": "query",
  6222. "required": true
  6223. },
  6224. {
  6225. "type": "integer",
  6226. "description": "套保品种ID",
  6227. "name": "middlegoodsid",
  6228. "in": "query",
  6229. "required": true
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "type": "array",
  6237. "items": {
  6238. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6239. }
  6240. }
  6241. },
  6242. "500": {
  6243. "description": "Internal Server Error",
  6244. "schema": {
  6245. "$ref": "#/definitions/app.Response"
  6246. }
  6247. }
  6248. }
  6249. }
  6250. },
  6251. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6252. "get": {
  6253. "security": [
  6254. {
  6255. "ApiKeyAuth": []
  6256. }
  6257. ],
  6258. "produces": [
  6259. "application/json"
  6260. ],
  6261. "tags": [
  6262. "企业风险管理v8"
  6263. ],
  6264. "summary": "敞口明细 - 现货变动明细查询",
  6265. "parameters": [
  6266. {
  6267. "type": "integer",
  6268. "description": "用户ID",
  6269. "name": "userid",
  6270. "in": "query",
  6271. "required": true
  6272. },
  6273. {
  6274. "type": "integer",
  6275. "description": "套保品种ID",
  6276. "name": "middlegoodsid",
  6277. "in": "query",
  6278. "required": true
  6279. }
  6280. ],
  6281. "responses": {
  6282. "200": {
  6283. "description": "OK",
  6284. "schema": {
  6285. "type": "array",
  6286. "items": {
  6287. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6288. }
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "produces": [
  6308. "application/json"
  6309. ],
  6310. "tags": [
  6311. "企业风险管理v8"
  6312. ],
  6313. "summary": "可关联项目查询",
  6314. "parameters": [
  6315. {
  6316. "type": "integer",
  6317. "description": "用户ID",
  6318. "name": "userid",
  6319. "in": "query",
  6320. "required": true
  6321. },
  6322. {
  6323. "type": "integer",
  6324. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6325. "name": "spottype",
  6326. "in": "query",
  6327. "required": true
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "现货商品ID",
  6332. "name": "wrstandardid",
  6333. "in": "query"
  6334. }
  6335. ],
  6336. "responses": {
  6337. "200": {
  6338. "description": "OK",
  6339. "schema": {
  6340. "type": "array",
  6341. "items": {
  6342. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6343. }
  6344. }
  6345. },
  6346. "500": {
  6347. "description": "Internal Server Error",
  6348. "schema": {
  6349. "$ref": "#/definitions/app.Response"
  6350. }
  6351. }
  6352. }
  6353. }
  6354. },
  6355. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6356. "get": {
  6357. "security": [
  6358. {
  6359. "ApiKeyAuth": []
  6360. }
  6361. ],
  6362. "produces": [
  6363. "application/json"
  6364. ],
  6365. "tags": [
  6366. "企业风险管理v8"
  6367. ],
  6368. "summary": "套期项目报表查询",
  6369. "parameters": [
  6370. {
  6371. "type": "integer",
  6372. "description": "用户ID",
  6373. "name": "userid",
  6374. "in": "query",
  6375. "required": true
  6376. },
  6377. {
  6378. "type": "integer",
  6379. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6380. "name": "cycletype",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "string",
  6385. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6386. "name": "cycletime",
  6387. "in": "query",
  6388. "required": true
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6393. "name": "hedgedtype",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "integer",
  6398. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6399. "name": "hedgeditemstatus",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "string",
  6404. "description": "项目编号,模糊查询",
  6405. "name": "hedgeditemnum",
  6406. "in": "query"
  6407. },
  6408. {
  6409. "type": "integer",
  6410. "description": "现货商品ID",
  6411. "name": "wrstandardid",
  6412. "in": "query"
  6413. }
  6414. ],
  6415. "responses": {
  6416. "200": {
  6417. "description": "OK",
  6418. "schema": {
  6419. "type": "array",
  6420. "items": {
  6421. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6422. }
  6423. }
  6424. },
  6425. "500": {
  6426. "description": "Internal Server Error",
  6427. "schema": {
  6428. "$ref": "#/definitions/app.Response"
  6429. }
  6430. }
  6431. }
  6432. }
  6433. },
  6434. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6435. "get": {
  6436. "security": [
  6437. {
  6438. "ApiKeyAuth": []
  6439. }
  6440. ],
  6441. "produces": [
  6442. "application/json"
  6443. ],
  6444. "tags": [
  6445. "企业风险管理v8"
  6446. ],
  6447. "summary": "查询执行中项目查询信息",
  6448. "parameters": [
  6449. {
  6450. "type": "string",
  6451. "description": "用户ID",
  6452. "name": "userid",
  6453. "in": "query",
  6454. "required": true
  6455. }
  6456. ],
  6457. "responses": {
  6458. "200": {
  6459. "description": "OK",
  6460. "schema": {
  6461. "type": "array",
  6462. "items": {
  6463. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6464. }
  6465. }
  6466. },
  6467. "500": {
  6468. "description": "Internal Server Error",
  6469. "schema": {
  6470. "$ref": "#/definitions/app.Response"
  6471. }
  6472. }
  6473. }
  6474. }
  6475. },
  6476. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6477. "get": {
  6478. "security": [
  6479. {
  6480. "ApiKeyAuth": []
  6481. }
  6482. ],
  6483. "produces": [
  6484. "application/json"
  6485. ],
  6486. "tags": [
  6487. "企业风险管理v8"
  6488. ],
  6489. "summary": "内部成交单可关联项目查询",
  6490. "parameters": [
  6491. {
  6492. "type": "integer",
  6493. "description": "企业ID",
  6494. "name": "areauserid",
  6495. "in": "query",
  6496. "required": true
  6497. },
  6498. {
  6499. "type": "integer",
  6500. "description": "期货合约ID",
  6501. "name": "goodsid",
  6502. "in": "query",
  6503. "required": true
  6504. },
  6505. {
  6506. "type": "integer",
  6507. "description": "交易用户ID",
  6508. "name": "tradeuserid",
  6509. "in": "query",
  6510. "required": true
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "type": "array",
  6518. "items": {
  6519. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6520. }
  6521. }
  6522. },
  6523. "500": {
  6524. "description": "Internal Server Error",
  6525. "schema": {
  6526. "$ref": "#/definitions/app.Response"
  6527. }
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6533. "get": {
  6534. "security": [
  6535. {
  6536. "ApiKeyAuth": []
  6537. }
  6538. ],
  6539. "produces": [
  6540. "application/json"
  6541. ],
  6542. "tags": [
  6543. "企业风险管理v8"
  6544. ],
  6545. "summary": "内部未关联成交单查询",
  6546. "parameters": [
  6547. {
  6548. "type": "integer",
  6549. "description": "用户编号",
  6550. "name": "userid",
  6551. "in": "query",
  6552. "required": true
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "起始日期(格式yyyymmdd)",
  6557. "name": "begindate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "终止日期(格式yyyymmdd)",
  6563. "name": "enddate",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约代码",
  6569. "name": "goodscode",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "string",
  6574. "description": "合约名称",
  6575. "name": "goodsname",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "成交单号",
  6581. "name": "tradeid",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "integer",
  6586. "description": "方向 - 0:买 1:卖",
  6587. "name": "buyorsell",
  6588. "in": "query"
  6589. },
  6590. {
  6591. "type": "string",
  6592. "description": "套期主体",
  6593. "name": "accountname",
  6594. "in": "query"
  6595. }
  6596. ],
  6597. "responses": {
  6598. "200": {
  6599. "description": "OK",
  6600. "schema": {
  6601. "type": "array",
  6602. "items": {
  6603. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6604. }
  6605. }
  6606. },
  6607. "500": {
  6608. "description": "Internal Server Error",
  6609. "schema": {
  6610. "$ref": "#/definitions/app.Response"
  6611. }
  6612. }
  6613. }
  6614. }
  6615. },
  6616. "/Ermcp8/QueryMarketCalendar": {
  6617. "get": {
  6618. "security": [
  6619. {
  6620. "ApiKeyAuth": []
  6621. }
  6622. ],
  6623. "produces": [
  6624. "application/json"
  6625. ],
  6626. "tags": [
  6627. "企业风险管理v8"
  6628. ],
  6629. "summary": "市场节假日查询",
  6630. "parameters": [
  6631. {
  6632. "type": "integer",
  6633. "description": "市场ID",
  6634. "name": "marketid",
  6635. "in": "query"
  6636. }
  6637. ],
  6638. "responses": {
  6639. "200": {
  6640. "description": "OK",
  6641. "schema": {
  6642. "type": "array",
  6643. "items": {
  6644. "$ref": "#/definitions/models.Marketcalendar"
  6645. }
  6646. }
  6647. },
  6648. "500": {
  6649. "description": "Internal Server Error",
  6650. "schema": {
  6651. "$ref": "#/definitions/app.Response"
  6652. }
  6653. }
  6654. }
  6655. }
  6656. },
  6657. "/Ermcp8/QueryPatradeLinkDetail": {
  6658. "get": {
  6659. "security": [
  6660. {
  6661. "ApiKeyAuth": []
  6662. }
  6663. ],
  6664. "produces": [
  6665. "application/json"
  6666. ],
  6667. "tags": [
  6668. "企业风险管理v8"
  6669. ],
  6670. "summary": "敞口明细 - 期货变动明细",
  6671. "parameters": [
  6672. {
  6673. "type": "integer",
  6674. "description": "用户ID",
  6675. "name": "userid",
  6676. "in": "query",
  6677. "required": true
  6678. },
  6679. {
  6680. "type": "integer",
  6681. "description": "套保品种ID",
  6682. "name": "middlegoodsid",
  6683. "in": "query",
  6684. "required": true
  6685. }
  6686. ],
  6687. "responses": {
  6688. "200": {
  6689. "description": "OK",
  6690. "schema": {
  6691. "type": "array",
  6692. "items": {
  6693. "$ref": "#/definitions/models.Patradelinkdetail"
  6694. }
  6695. }
  6696. },
  6697. "500": {
  6698. "description": "Internal Server Error",
  6699. "schema": {
  6700. "$ref": "#/definitions/app.Response"
  6701. }
  6702. }
  6703. }
  6704. }
  6705. },
  6706. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6707. "get": {
  6708. "security": [
  6709. {
  6710. "ApiKeyAuth": []
  6711. }
  6712. ],
  6713. "produces": [
  6714. "application/json"
  6715. ],
  6716. "tags": [
  6717. "企业风险管理v8"
  6718. ],
  6719. "summary": "未关联购销计划",
  6720. "parameters": [
  6721. {
  6722. "type": "integer",
  6723. "description": "企业ID",
  6724. "name": "areauserid",
  6725. "in": "query",
  6726. "required": true
  6727. },
  6728. {
  6729. "type": "integer",
  6730. "description": "计划类型 - 1:采购 -1:销售",
  6731. "name": "contracttype",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "计划编号,模糊查询",
  6737. "name": "hedgeplanno",
  6738. "in": "query"
  6739. },
  6740. {
  6741. "type": "string",
  6742. "description": "现货商品,模糊查询",
  6743. "name": "wrstandardname",
  6744. "in": "query"
  6745. }
  6746. ],
  6747. "responses": {
  6748. "200": {
  6749. "description": "OK",
  6750. "schema": {
  6751. "type": "array",
  6752. "items": {
  6753. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6754. }
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Ermcp8/QueryUnLinkSpotContract": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "企业风险管理v8"
  6778. ],
  6779. "summary": "未关联合同查询",
  6780. "parameters": [
  6781. {
  6782. "type": "integer",
  6783. "description": "用户ID",
  6784. "name": "userid",
  6785. "in": "query",
  6786. "required": true
  6787. },
  6788. {
  6789. "type": "integer",
  6790. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6791. "name": "pricetype",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "合同编号, 模拟查询",
  6797. "name": "contractno",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "string",
  6802. "description": "对手方, 模拟查询",
  6803. "name": "customername",
  6804. "in": "query"
  6805. },
  6806. {
  6807. "type": "integer",
  6808. "description": "项合同类型 - 1:采购 -1:销售",
  6809. "name": "contracttype",
  6810. "in": "query"
  6811. }
  6812. ],
  6813. "responses": {
  6814. "200": {
  6815. "description": "OK",
  6816. "schema": {
  6817. "type": "array",
  6818. "items": {
  6819. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6820. }
  6821. }
  6822. },
  6823. "500": {
  6824. "description": "Internal Server Error",
  6825. "schema": {
  6826. "$ref": "#/definitions/app.Response"
  6827. }
  6828. }
  6829. }
  6830. }
  6831. },
  6832. "/Erms2/QueryArbitrageStrategy": {
  6833. "get": {
  6834. "security": [
  6835. {
  6836. "ApiKeyAuth": []
  6837. }
  6838. ],
  6839. "produces": [
  6840. "application/json"
  6841. ],
  6842. "tags": [
  6843. "风险管理"
  6844. ],
  6845. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6846. "parameters": [
  6847. {
  6848. "type": "integer",
  6849. "description": "账户ID",
  6850. "name": "userid",
  6851. "in": "query",
  6852. "required": true
  6853. },
  6854. {
  6855. "type": "string",
  6856. "description": "商品组ID(品种ID)",
  6857. "name": "goodsgroupid",
  6858. "in": "query"
  6859. }
  6860. ],
  6861. "responses": {
  6862. "200": {
  6863. "description": "OK",
  6864. "schema": {
  6865. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6866. }
  6867. },
  6868. "500": {
  6869. "description": "Internal Server Error",
  6870. "schema": {
  6871. "$ref": "#/definitions/app.Response"
  6872. }
  6873. }
  6874. }
  6875. }
  6876. },
  6877. "/Erms2/QueryInnerTradeDetail": {
  6878. "get": {
  6879. "security": [
  6880. {
  6881. "ApiKeyAuth": []
  6882. }
  6883. ],
  6884. "produces": [
  6885. "application/json"
  6886. ],
  6887. "tags": [
  6888. "风险管理"
  6889. ],
  6890. "summary": "查询内部成交单信息",
  6891. "parameters": [
  6892. {
  6893. "type": "integer",
  6894. "description": "资金账户",
  6895. "name": "accountid",
  6896. "in": "query",
  6897. "required": true
  6898. }
  6899. ],
  6900. "responses": {
  6901. "200": {
  6902. "description": "OK",
  6903. "schema": {
  6904. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6905. }
  6906. },
  6907. "500": {
  6908. "description": "Internal Server Error",
  6909. "schema": {
  6910. "$ref": "#/definitions/app.Response"
  6911. }
  6912. }
  6913. }
  6914. }
  6915. },
  6916. "/Erms2/QuerySpotContract": {
  6917. "get": {
  6918. "security": [
  6919. {
  6920. "ApiKeyAuth": []
  6921. }
  6922. ],
  6923. "produces": [
  6924. "application/json"
  6925. ],
  6926. "tags": [
  6927. "风险管理"
  6928. ],
  6929. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6930. "parameters": [
  6931. {
  6932. "type": "integer",
  6933. "description": "策略申请ID",
  6934. "name": "asapplyid",
  6935. "in": "query",
  6936. "required": true
  6937. },
  6938. {
  6939. "type": "integer",
  6940. "description": "现货合同ID",
  6941. "name": "spotcontractid",
  6942. "in": "query"
  6943. }
  6944. ],
  6945. "responses": {
  6946. "200": {
  6947. "description": "OK",
  6948. "schema": {
  6949. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6950. }
  6951. },
  6952. "500": {
  6953. "description": "Internal Server Error",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "/Erms3/AddErms2ASApply": {
  6962. "post": {
  6963. "security": [
  6964. {
  6965. "ApiKeyAuth": []
  6966. }
  6967. ],
  6968. "produces": [
  6969. "application/json"
  6970. ],
  6971. "tags": [
  6972. "风险管理v3"
  6973. ],
  6974. "summary": "新增期现套利业务申请",
  6975. "parameters": [
  6976. {
  6977. "description": "申请参数",
  6978. "name": "jsonBody",
  6979. "in": "body",
  6980. "required": true,
  6981. "schema": {
  6982. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6983. }
  6984. }
  6985. ],
  6986. "responses": {
  6987. "200": {
  6988. "description": "OK",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. },
  6993. "500": {
  6994. "description": "Internal Server Error",
  6995. "schema": {
  6996. "$ref": "#/definitions/app.Response"
  6997. }
  6998. }
  6999. }
  7000. }
  7001. },
  7002. "/Erms3/AddErms2SpotTradeApply": {
  7003. "post": {
  7004. "security": [
  7005. {
  7006. "ApiKeyAuth": []
  7007. }
  7008. ],
  7009. "produces": [
  7010. "application/json"
  7011. ],
  7012. "tags": [
  7013. "风险管理v3"
  7014. ],
  7015. "summary": "新增现货贸易业务申请",
  7016. "parameters": [
  7017. {
  7018. "description": "申请参数",
  7019. "name": "jsonBody",
  7020. "in": "body",
  7021. "required": true,
  7022. "schema": {
  7023. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7024. }
  7025. }
  7026. ],
  7027. "responses": {
  7028. "200": {
  7029. "description": "OK",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. },
  7034. "500": {
  7035. "description": "Internal Server Error",
  7036. "schema": {
  7037. "$ref": "#/definitions/app.Response"
  7038. }
  7039. }
  7040. }
  7041. }
  7042. },
  7043. "/Erms3/AddSpotContractApply": {
  7044. "post": {
  7045. "security": [
  7046. {
  7047. "ApiKeyAuth": []
  7048. }
  7049. ],
  7050. "produces": [
  7051. "application/json"
  7052. ],
  7053. "tags": [
  7054. "风险管理v3"
  7055. ],
  7056. "summary": "新增现货合同申请",
  7057. "parameters": [
  7058. {
  7059. "description": "申请参数",
  7060. "name": "jsonBody",
  7061. "in": "body",
  7062. "required": true,
  7063. "schema": {
  7064. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7065. }
  7066. }
  7067. ],
  7068. "responses": {
  7069. "200": {
  7070. "description": "OK",
  7071. "schema": {
  7072. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7073. }
  7074. },
  7075. "500": {
  7076. "description": "Internal Server Error",
  7077. "schema": {
  7078. "$ref": "#/definitions/app.Response"
  7079. }
  7080. }
  7081. }
  7082. }
  7083. },
  7084. "/Erms3/AddUserInfoApply": {
  7085. "post": {
  7086. "security": [
  7087. {
  7088. "ApiKeyAuth": []
  7089. }
  7090. ],
  7091. "produces": [
  7092. "application/json"
  7093. ],
  7094. "tags": [
  7095. "风险管理v3"
  7096. ],
  7097. "summary": "新增客户申请",
  7098. "parameters": [
  7099. {
  7100. "description": "用户信息",
  7101. "name": "jsonBody",
  7102. "in": "body",
  7103. "required": true,
  7104. "schema": {
  7105. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7106. }
  7107. }
  7108. ],
  7109. "responses": {
  7110. "200": {
  7111. "description": "OK",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. },
  7116. "500": {
  7117. "description": "Internal Server Error",
  7118. "schema": {
  7119. "$ref": "#/definitions/app.Response"
  7120. }
  7121. }
  7122. }
  7123. }
  7124. },
  7125. "/Erms3/DeleteUserInfoApply": {
  7126. "get": {
  7127. "security": [
  7128. {
  7129. "ApiKeyAuth": []
  7130. }
  7131. ],
  7132. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7133. "produces": [
  7134. "application/json"
  7135. ],
  7136. "tags": [
  7137. "风险管理v3"
  7138. ],
  7139. "summary": "删除客户申请",
  7140. "parameters": [
  7141. {
  7142. "type": "integer",
  7143. "description": "用户ID",
  7144. "name": "userID",
  7145. "in": "query",
  7146. "required": true
  7147. }
  7148. ],
  7149. "responses": {
  7150. "200": {
  7151. "description": "OK",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. },
  7156. "500": {
  7157. "description": "Internal Server Error",
  7158. "schema": {
  7159. "$ref": "#/definitions/app.Response"
  7160. }
  7161. }
  7162. }
  7163. }
  7164. },
  7165. "/Erms3/ModifyUserInfoApply": {
  7166. "post": {
  7167. "security": [
  7168. {
  7169. "ApiKeyAuth": []
  7170. }
  7171. ],
  7172. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7173. "produces": [
  7174. "application/json"
  7175. ],
  7176. "tags": [
  7177. "风险管理v3"
  7178. ],
  7179. "summary": "修改客户申请",
  7180. "parameters": [
  7181. {
  7182. "description": "用户信息",
  7183. "name": "jsonBody",
  7184. "in": "body",
  7185. "required": true,
  7186. "schema": {
  7187. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7188. }
  7189. }
  7190. ],
  7191. "responses": {
  7192. "200": {
  7193. "description": "OK",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. },
  7198. "500": {
  7199. "description": "Internal Server Error",
  7200. "schema": {
  7201. "$ref": "#/definitions/app.Response"
  7202. }
  7203. }
  7204. }
  7205. }
  7206. },
  7207. "/Erms3/QueryBusinessInfo": {
  7208. "get": {
  7209. "security": [
  7210. {
  7211. "ApiKeyAuth": []
  7212. }
  7213. ],
  7214. "produces": [
  7215. "application/json"
  7216. ],
  7217. "tags": [
  7218. "风险管理v3"
  7219. ],
  7220. "summary": "查询业务表单数据",
  7221. "parameters": [
  7222. {
  7223. "type": "string",
  7224. "description": "资金账号ID列表,用逗号分隔",
  7225. "name": "accountids",
  7226. "in": "query",
  7227. "required": true
  7228. },
  7229. {
  7230. "type": "integer",
  7231. "description": "状态,0为未结束 1为已结束",
  7232. "name": "status",
  7233. "in": "query",
  7234. "required": true
  7235. }
  7236. ],
  7237. "responses": {
  7238. "200": {
  7239. "description": "OK",
  7240. "schema": {
  7241. "type": "array",
  7242. "items": {
  7243. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7244. }
  7245. }
  7246. },
  7247. "500": {
  7248. "description": "Internal Server Error",
  7249. "schema": {
  7250. "$ref": "#/definitions/app.Response"
  7251. }
  7252. }
  7253. }
  7254. }
  7255. },
  7256. "/Erms3/QueryPendingAuditContract": {
  7257. "get": {
  7258. "security": [
  7259. {
  7260. "ApiKeyAuth": []
  7261. }
  7262. ],
  7263. "produces": [
  7264. "application/json"
  7265. ],
  7266. "tags": [
  7267. "风险管理v3"
  7268. ],
  7269. "summary": "查询待审核合同",
  7270. "parameters": [
  7271. {
  7272. "type": "string",
  7273. "description": "资金账号ID列表,逗号隔开",
  7274. "name": "accountids",
  7275. "in": "query",
  7276. "required": true
  7277. },
  7278. {
  7279. "type": "integer",
  7280. "description": "合同类型 1-采购 -1-销售",
  7281. "name": "contracttype",
  7282. "in": "query",
  7283. "required": true
  7284. },
  7285. {
  7286. "type": "integer",
  7287. "description": "合同模式 1-普通 2-回购",
  7288. "name": "contractmode",
  7289. "in": "query",
  7290. "required": true
  7291. }
  7292. ],
  7293. "responses": {
  7294. "200": {
  7295. "description": "OK",
  7296. "schema": {
  7297. "type": "array",
  7298. "items": {
  7299. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7300. }
  7301. }
  7302. },
  7303. "500": {
  7304. "description": "Internal Server Error",
  7305. "schema": {
  7306. "$ref": "#/definitions/app.Response"
  7307. }
  7308. }
  7309. }
  7310. }
  7311. },
  7312. "/Erms3/QueryPendingBusiness": {
  7313. "get": {
  7314. "security": [
  7315. {
  7316. "ApiKeyAuth": []
  7317. }
  7318. ],
  7319. "produces": [
  7320. "application/json"
  7321. ],
  7322. "tags": [
  7323. "风险管理v3"
  7324. ],
  7325. "summary": "查询待审核基差贸易业务",
  7326. "parameters": [
  7327. {
  7328. "type": "string",
  7329. "description": "资金账号ID列表,逗号隔开",
  7330. "name": "accountids",
  7331. "in": "query",
  7332. "required": true
  7333. }
  7334. ],
  7335. "responses": {
  7336. "200": {
  7337. "description": "OK",
  7338. "schema": {
  7339. "type": "array",
  7340. "items": {
  7341. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7342. }
  7343. }
  7344. },
  7345. "500": {
  7346. "description": "Internal Server Error",
  7347. "schema": {
  7348. "$ref": "#/definitions/app.Response"
  7349. }
  7350. }
  7351. }
  7352. }
  7353. },
  7354. "/Erms3/QuerySpotContractAppleForm": {
  7355. "get": {
  7356. "security": [
  7357. {
  7358. "ApiKeyAuth": []
  7359. }
  7360. ],
  7361. "produces": [
  7362. "application/json"
  7363. ],
  7364. "tags": [
  7365. "风险管理v3"
  7366. ],
  7367. "summary": "查询合同申请表单数据",
  7368. "parameters": [
  7369. {
  7370. "type": "integer",
  7371. "description": "登录账号",
  7372. "name": "loginID",
  7373. "in": "query",
  7374. "required": true
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/Erms3/QuerySpotContractDetail": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "风险管理v3"
  7405. ],
  7406. "summary": "查询合同详细信息",
  7407. "parameters": [
  7408. {
  7409. "type": "string",
  7410. "description": "资金账号ID列表,用逗号分隔",
  7411. "name": "accountids",
  7412. "in": "query",
  7413. "required": true
  7414. },
  7415. {
  7416. "type": "integer",
  7417. "description": "合同类型,1为采购合同 -1为销售合同",
  7418. "name": "contracttype",
  7419. "in": "query",
  7420. "required": true
  7421. },
  7422. {
  7423. "type": "integer",
  7424. "description": "合同模式,1为普通合同 2为回购销售合同",
  7425. "name": "contractmode",
  7426. "in": "query",
  7427. "required": true
  7428. },
  7429. {
  7430. "type": "integer",
  7431. "description": "状态,0为履约中 1为已完成",
  7432. "name": "status",
  7433. "in": "query",
  7434. "required": true
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7444. }
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Erms3/QueryUserInfoApplies": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "风险管理v3"
  7468. ],
  7469. "summary": "客户申请信息查询",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "页码",
  7474. "name": "page",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "每页条数",
  7480. "name": "pagesize",
  7481. "in": "query"
  7482. },
  7483. {
  7484. "type": "string",
  7485. "description": "客户名称,支持模糊查询",
  7486. "name": "userName",
  7487. "in": "query"
  7488. }
  7489. ],
  7490. "responses": {
  7491. "200": {
  7492. "description": "OK",
  7493. "schema": {
  7494. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7495. }
  7496. },
  7497. "500": {
  7498. "description": "Internal Server Error",
  7499. "schema": {
  7500. "$ref": "#/definitions/app.Response"
  7501. }
  7502. }
  7503. }
  7504. }
  7505. },
  7506. "/Erms3/QueryUserInfos": {
  7507. "get": {
  7508. "security": [
  7509. {
  7510. "ApiKeyAuth": []
  7511. }
  7512. ],
  7513. "produces": [
  7514. "application/json"
  7515. ],
  7516. "tags": [
  7517. "风险管理v3"
  7518. ],
  7519. "summary": "客户信息查询",
  7520. "parameters": [
  7521. {
  7522. "type": "integer",
  7523. "description": "页码",
  7524. "name": "page",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "integer",
  7529. "description": "每页条数",
  7530. "name": "pagesize",
  7531. "in": "query"
  7532. },
  7533. {
  7534. "type": "string",
  7535. "description": "客户名称,支持模糊查询",
  7536. "name": "userName",
  7537. "in": "query"
  7538. }
  7539. ],
  7540. "responses": {
  7541. "200": {
  7542. "description": "OK",
  7543. "schema": {
  7544. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7545. }
  7546. },
  7547. "500": {
  7548. "description": "Internal Server Error",
  7549. "schema": {
  7550. "$ref": "#/definitions/app.Response"
  7551. }
  7552. }
  7553. }
  7554. }
  7555. },
  7556. "/Ferroalloy/GetSpotGoodsPrice": {
  7557. "get": {
  7558. "security": [
  7559. {
  7560. "ApiKeyAuth": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "铁合金"
  7568. ],
  7569. "summary": "获取现货行情",
  7570. "parameters": [
  7571. {
  7572. "type": "integer",
  7573. "description": "页码",
  7574. "name": "page",
  7575. "in": "query"
  7576. },
  7577. {
  7578. "type": "integer",
  7579. "description": "每页条数",
  7580. "name": "pagesize",
  7581. "in": "query"
  7582. }
  7583. ],
  7584. "responses": {
  7585. "200": {
  7586. "description": "OK",
  7587. "schema": {
  7588. "type": "array",
  7589. "items": {
  7590. "$ref": "#/definitions/models.GErmcpspotgoodsprice"
  7591. }
  7592. }
  7593. },
  7594. "500": {
  7595. "description": "Internal Server Error",
  7596. "schema": {
  7597. "$ref": "#/definitions/app.Response"
  7598. }
  7599. }
  7600. }
  7601. }
  7602. },
  7603. "/Ferroalloy/QueryMyRefer": {
  7604. "get": {
  7605. "security": [
  7606. {
  7607. "ApiKeyAuth": []
  7608. }
  7609. ],
  7610. "produces": [
  7611. "application/json"
  7612. ],
  7613. "tags": [
  7614. "铁合金"
  7615. ],
  7616. "summary": "查询我的推荐列表",
  7617. "parameters": [
  7618. {
  7619. "type": "integer",
  7620. "description": "用户ID",
  7621. "name": "userid",
  7622. "in": "query",
  7623. "required": true
  7624. },
  7625. {
  7626. "type": "integer",
  7627. "description": "页码",
  7628. "name": "page",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "每页条数",
  7634. "name": "pagesize",
  7635. "in": "query"
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.MyRefer"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Ferroalloy/QueryMyRegisterMoney": {
  7658. "get": {
  7659. "produces": [
  7660. "application/json"
  7661. ],
  7662. "tags": [
  7663. "铁合金"
  7664. ],
  7665. "summary": "查询我的注册红包",
  7666. "parameters": [
  7667. {
  7668. "type": "integer",
  7669. "description": "资金账户",
  7670. "name": "accountid",
  7671. "in": "query",
  7672. "required": true
  7673. }
  7674. ],
  7675. "responses": {
  7676. "200": {
  7677. "description": "OK",
  7678. "schema": {
  7679. "type": "array",
  7680. "items": {
  7681. "$ref": "#/definitions/models.RegisterMoney"
  7682. }
  7683. }
  7684. },
  7685. "500": {
  7686. "description": "Internal Server Error",
  7687. "schema": {
  7688. "$ref": "#/definitions/app.Response"
  7689. }
  7690. }
  7691. }
  7692. }
  7693. },
  7694. "/Ferroalloy/QueryTHJGoodsDetail": {
  7695. "get": {
  7696. "security": [
  7697. {
  7698. "ApiKeyAuth": []
  7699. }
  7700. ],
  7701. "produces": [
  7702. "application/json"
  7703. ],
  7704. "tags": [
  7705. "铁合金"
  7706. ],
  7707. "summary": "查询商品详情",
  7708. "parameters": [
  7709. {
  7710. "type": "integer",
  7711. "description": "现货商品ID",
  7712. "name": "wrstandardid",
  7713. "in": "query",
  7714. "required": true
  7715. }
  7716. ],
  7717. "responses": {
  7718. "200": {
  7719. "description": "OK",
  7720. "schema": {
  7721. "type": "array",
  7722. "items": {
  7723. "$ref": "#/definitions/models.THJGoodsDetailRsp"
  7724. }
  7725. }
  7726. },
  7727. "500": {
  7728. "description": "Internal Server Error",
  7729. "schema": {
  7730. "$ref": "#/definitions/app.Response"
  7731. }
  7732. }
  7733. }
  7734. }
  7735. },
  7736. "/Ferroalloy/QueryTHJProduct": {
  7737. "get": {
  7738. "security": [
  7739. {
  7740. "ApiKeyAuth": []
  7741. }
  7742. ],
  7743. "produces": [
  7744. "application/json"
  7745. ],
  7746. "tags": [
  7747. "铁合金"
  7748. ],
  7749. "summary": "获取产品介绍列表",
  7750. "parameters": [
  7751. {
  7752. "type": "integer",
  7753. "description": "用户ID",
  7754. "name": "userid",
  7755. "in": "query",
  7756. "required": true
  7757. },
  7758. {
  7759. "type": "boolean",
  7760. "description": "关注标志 true-已关注 false-未关注",
  7761. "name": "favoriteflag",
  7762. "in": "query"
  7763. },
  7764. {
  7765. "type": "integer",
  7766. "description": "页码",
  7767. "name": "page",
  7768. "in": "query"
  7769. },
  7770. {
  7771. "type": "integer",
  7772. "description": "每页条数",
  7773. "name": "pagesize",
  7774. "in": "query"
  7775. }
  7776. ],
  7777. "responses": {
  7778. "200": {
  7779. "description": "OK",
  7780. "schema": {
  7781. "type": "array",
  7782. "items": {
  7783. "$ref": "#/definitions/models.THJProduct"
  7784. }
  7785. }
  7786. },
  7787. "500": {
  7788. "description": "Internal Server Error",
  7789. "schema": {
  7790. "$ref": "#/definitions/app.Response"
  7791. }
  7792. }
  7793. }
  7794. }
  7795. },
  7796. "/Ferroalloy/QueryTHJPurchaseTradeDetail": {
  7797. "get": {
  7798. "security": [
  7799. {
  7800. "ApiKeyAuth": []
  7801. }
  7802. ],
  7803. "produces": [
  7804. "application/json"
  7805. ],
  7806. "tags": [
  7807. "铁合金"
  7808. ],
  7809. "summary": "查询我的订单-采购订单",
  7810. "parameters": [
  7811. {
  7812. "type": "integer",
  7813. "description": "用户ID",
  7814. "name": "userid",
  7815. "in": "query",
  7816. "required": true
  7817. },
  7818. {
  7819. "type": "integer",
  7820. "description": "类型 - 0:未完成 1:已完成",
  7821. "name": "type",
  7822. "in": "query"
  7823. },
  7824. {
  7825. "type": "integer",
  7826. "description": "页码",
  7827. "name": "page",
  7828. "in": "query"
  7829. },
  7830. {
  7831. "type": "integer",
  7832. "description": "每页条数",
  7833. "name": "pagesize",
  7834. "in": "query"
  7835. }
  7836. ],
  7837. "responses": {
  7838. "200": {
  7839. "description": "OK",
  7840. "schema": {
  7841. "type": "array",
  7842. "items": {
  7843. "$ref": "#/definitions/models.Thjpurchasetradedetail"
  7844. }
  7845. }
  7846. },
  7847. "500": {
  7848. "description": "Internal Server Error",
  7849. "schema": {
  7850. "$ref": "#/definitions/app.Response"
  7851. }
  7852. }
  7853. }
  7854. }
  7855. },
  7856. "/Ferroalloy/QueryTHJScoreConfig": {
  7857. "get": {
  7858. "security": [
  7859. {
  7860. "ApiKeyAuth": []
  7861. }
  7862. ],
  7863. "produces": [
  7864. "application/json"
  7865. ],
  7866. "tags": [
  7867. "铁合金"
  7868. ],
  7869. "summary": "查询积分配置",
  7870. "parameters": [
  7871. {
  7872. "type": "string",
  7873. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  7874. "name": "stype",
  7875. "in": "query"
  7876. }
  7877. ],
  7878. "responses": {
  7879. "200": {
  7880. "description": "OK",
  7881. "schema": {
  7882. "type": "array",
  7883. "items": {
  7884. "$ref": "#/definitions/models.Thjscoreconfig"
  7885. }
  7886. }
  7887. },
  7888. "500": {
  7889. "description": "Internal Server Error",
  7890. "schema": {
  7891. "$ref": "#/definitions/app.Response"
  7892. }
  7893. }
  7894. }
  7895. }
  7896. },
  7897. "/Ferroalloy/QueryTHJTradeData": {
  7898. "get": {
  7899. "security": [
  7900. {
  7901. "ApiKeyAuth": []
  7902. }
  7903. ],
  7904. "produces": [
  7905. "application/json"
  7906. ],
  7907. "tags": [
  7908. "铁合金"
  7909. ],
  7910. "summary": "获取我的推广-交易数据",
  7911. "parameters": [
  7912. {
  7913. "type": "integer",
  7914. "description": "用户ID",
  7915. "name": "userid",
  7916. "in": "query",
  7917. "required": true
  7918. },
  7919. {
  7920. "type": "integer",
  7921. "description": "市场ID 采购-64201 供求-65201",
  7922. "name": "marketid",
  7923. "in": "query",
  7924. "required": true
  7925. },
  7926. {
  7927. "type": "integer",
  7928. "description": "页码",
  7929. "name": "page",
  7930. "in": "query"
  7931. },
  7932. {
  7933. "type": "integer",
  7934. "description": "每页条数",
  7935. "name": "pagesize",
  7936. "in": "query"
  7937. }
  7938. ],
  7939. "responses": {
  7940. "200": {
  7941. "description": "OK",
  7942. "schema": {
  7943. "type": "array",
  7944. "items": {
  7945. "$ref": "#/definitions/models.THJTradeData"
  7946. }
  7947. }
  7948. },
  7949. "500": {
  7950. "description": "Internal Server Error",
  7951. "schema": {
  7952. "$ref": "#/definitions/app.Response"
  7953. }
  7954. }
  7955. }
  7956. }
  7957. },
  7958. "/Ferroalloy/QueryTHJWrstandard": {
  7959. "get": {
  7960. "security": [
  7961. {
  7962. "ApiKeyAuth": []
  7963. }
  7964. ],
  7965. "produces": [
  7966. "application/json"
  7967. ],
  7968. "tags": [
  7969. "铁合金"
  7970. ],
  7971. "summary": "查询采购列表",
  7972. "parameters": [
  7973. {
  7974. "type": "string",
  7975. "description": "现货商品名称(模糊查询)",
  7976. "name": "wrstandardname",
  7977. "in": "query"
  7978. },
  7979. {
  7980. "type": "integer",
  7981. "description": "页码",
  7982. "name": "page",
  7983. "in": "query"
  7984. },
  7985. {
  7986. "type": "integer",
  7987. "description": "每页条数",
  7988. "name": "pagesize",
  7989. "in": "query"
  7990. }
  7991. ],
  7992. "responses": {
  7993. "200": {
  7994. "description": "OK",
  7995. "schema": {
  7996. "type": "array",
  7997. "items": {
  7998. "$ref": "#/definitions/models.THJWrstandard"
  7999. }
  8000. }
  8001. },
  8002. "500": {
  8003. "description": "Internal Server Error",
  8004. "schema": {
  8005. "$ref": "#/definitions/app.Response"
  8006. }
  8007. }
  8008. }
  8009. }
  8010. },
  8011. "/Ferroalloy/QueryTHJWrstandardDetail": {
  8012. "get": {
  8013. "security": [
  8014. {
  8015. "ApiKeyAuth": []
  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": "wrstandardid",
  8030. "in": "query",
  8031. "required": true
  8032. }
  8033. ],
  8034. "responses": {
  8035. "200": {
  8036. "description": "OK",
  8037. "schema": {
  8038. "type": "array",
  8039. "items": {
  8040. "$ref": "#/definitions/models.THJWrstandardDetailRsp"
  8041. }
  8042. }
  8043. },
  8044. "500": {
  8045. "description": "Internal Server Error",
  8046. "schema": {
  8047. "$ref": "#/definitions/app.Response"
  8048. }
  8049. }
  8050. }
  8051. }
  8052. },
  8053. "/Ferroalloy/QueryUserScoreLog": {
  8054. "get": {
  8055. "security": [
  8056. {
  8057. "ApiKeyAuth": []
  8058. }
  8059. ],
  8060. "produces": [
  8061. "application/json"
  8062. ],
  8063. "tags": [
  8064. "铁合金"
  8065. ],
  8066. "summary": "查询我的积分流水",
  8067. "parameters": [
  8068. {
  8069. "type": "integer",
  8070. "description": "用户ID",
  8071. "name": "userid",
  8072. "in": "query",
  8073. "required": true
  8074. },
  8075. {
  8076. "type": "string",
  8077. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  8078. "name": "stype",
  8079. "in": "query"
  8080. },
  8081. {
  8082. "type": "integer",
  8083. "description": "页码",
  8084. "name": "page",
  8085. "in": "query"
  8086. },
  8087. {
  8088. "type": "integer",
  8089. "description": "每页条数",
  8090. "name": "pagesize",
  8091. "in": "query"
  8092. }
  8093. ],
  8094. "responses": {
  8095. "200": {
  8096. "description": "OK",
  8097. "schema": {
  8098. "type": "array",
  8099. "items": {
  8100. "$ref": "#/definitions/models.GThjuserscorelog"
  8101. }
  8102. }
  8103. },
  8104. "500": {
  8105. "description": "Internal Server Error",
  8106. "schema": {
  8107. "$ref": "#/definitions/app.Response"
  8108. }
  8109. }
  8110. }
  8111. }
  8112. },
  8113. "/Ferroalloy/Signin": {
  8114. "post": {
  8115. "security": [
  8116. {
  8117. "ApiKeyAuth": []
  8118. }
  8119. ],
  8120. "produces": [
  8121. "application/json"
  8122. ],
  8123. "tags": [
  8124. "铁合金"
  8125. ],
  8126. "summary": "用户签到",
  8127. "parameters": [
  8128. {
  8129. "description": "用户签到请求",
  8130. "name": "jsonBody",
  8131. "in": "body",
  8132. "required": true,
  8133. "schema": {
  8134. "$ref": "#/definitions/models.THJSigninReq"
  8135. }
  8136. }
  8137. ],
  8138. "responses": {
  8139. "200": {
  8140. "description": "OK",
  8141. "schema": {
  8142. "$ref": "#/definitions/models.THJSigninRsp"
  8143. }
  8144. },
  8145. "500": {
  8146. "description": "Internal Server Error",
  8147. "schema": {
  8148. "$ref": "#/definitions/app.Response"
  8149. }
  8150. }
  8151. }
  8152. }
  8153. },
  8154. "/Guangzuan/GZBSFWOrderOperate": {
  8155. "get": {
  8156. "security": [
  8157. {
  8158. "ApiKeyAuth": []
  8159. },
  8160. {
  8161. "LoginID": []
  8162. },
  8163. {
  8164. "Group": []
  8165. }
  8166. ],
  8167. "produces": [
  8168. "application/json"
  8169. ],
  8170. "tags": [
  8171. "广钻"
  8172. ],
  8173. "summary": "保税服务单据操作信息",
  8174. "parameters": [
  8175. {
  8176. "type": "integer",
  8177. "description": "单据ID",
  8178. "name": "orderid",
  8179. "in": "query",
  8180. "required": true
  8181. }
  8182. ],
  8183. "responses": {
  8184. "200": {
  8185. "description": "OK",
  8186. "schema": {
  8187. "type": "array",
  8188. "items": {
  8189. "$ref": "#/definitions/models.Gzbsfworderoperate"
  8190. }
  8191. }
  8192. },
  8193. "500": {
  8194. "description": "Internal Server Error",
  8195. "schema": {
  8196. "$ref": "#/definitions/app.Response"
  8197. }
  8198. }
  8199. }
  8200. }
  8201. },
  8202. "/Guangzuan/GetGoods": {
  8203. "get": {
  8204. "security": [
  8205. {
  8206. "ApiKeyAuth": []
  8207. },
  8208. {
  8209. "LoginID": []
  8210. },
  8211. {
  8212. "Group": []
  8213. }
  8214. ],
  8215. "produces": [
  8216. "application/json"
  8217. ],
  8218. "tags": [
  8219. "广钻"
  8220. ],
  8221. "summary": "获取钻石详情",
  8222. "parameters": [
  8223. {
  8224. "type": "string",
  8225. "description": "商品编号",
  8226. "name": "goodsno",
  8227. "in": "query",
  8228. "required": true
  8229. }
  8230. ],
  8231. "responses": {
  8232. "200": {
  8233. "description": "OK",
  8234. "schema": {
  8235. "$ref": "#/definitions/models.GZGoods"
  8236. }
  8237. },
  8238. "500": {
  8239. "description": "Internal Server Error",
  8240. "schema": {
  8241. "$ref": "#/definitions/app.Response"
  8242. }
  8243. }
  8244. }
  8245. }
  8246. },
  8247. "/Guangzuan/GzCertAddressConfig": {
  8248. "get": {
  8249. "security": [
  8250. {
  8251. "ApiKeyAuth": []
  8252. },
  8253. {
  8254. "LoginID": []
  8255. },
  8256. {
  8257. "Group": []
  8258. }
  8259. ],
  8260. "produces": [
  8261. "application/json"
  8262. ],
  8263. "tags": [
  8264. "广钻"
  8265. ],
  8266. "summary": "Rapaport最新报价表(广钻)",
  8267. "responses": {
  8268. "200": {
  8269. "description": "OK",
  8270. "schema": {
  8271. "type": "array",
  8272. "items": {
  8273. "$ref": "#/definitions/models.Gzcertaddressconfig"
  8274. }
  8275. }
  8276. },
  8277. "500": {
  8278. "description": "Internal Server Error",
  8279. "schema": {
  8280. "$ref": "#/definitions/app.Response"
  8281. }
  8282. }
  8283. }
  8284. }
  8285. },
  8286. "/Guangzuan/GzCertAddressParam": {
  8287. "get": {
  8288. "security": [
  8289. {
  8290. "ApiKeyAuth": []
  8291. },
  8292. {
  8293. "LoginID": []
  8294. },
  8295. {
  8296. "Group": []
  8297. }
  8298. ],
  8299. "produces": [
  8300. "application/json"
  8301. ],
  8302. "tags": [
  8303. "广钻"
  8304. ],
  8305. "summary": "钻石证书地址参数",
  8306. "responses": {
  8307. "200": {
  8308. "description": "OK",
  8309. "schema": {
  8310. "type": "array",
  8311. "items": {
  8312. "$ref": "#/definitions/models.Gzcertaddressparam"
  8313. }
  8314. }
  8315. },
  8316. "500": {
  8317. "description": "Internal Server Error",
  8318. "schema": {
  8319. "$ref": "#/definitions/app.Response"
  8320. }
  8321. }
  8322. }
  8323. }
  8324. },
  8325. "/Guangzuan/HomeData": {
  8326. "get": {
  8327. "security": [
  8328. {
  8329. "ApiKeyAuth": []
  8330. },
  8331. {
  8332. "LoginID": []
  8333. },
  8334. {
  8335. "Group": []
  8336. }
  8337. ],
  8338. "produces": [
  8339. "application/json"
  8340. ],
  8341. "tags": [
  8342. "广钻"
  8343. ],
  8344. "summary": "首页统计数据",
  8345. "parameters": [
  8346. {
  8347. "type": "integer",
  8348. "description": "用户ID",
  8349. "name": "userid",
  8350. "in": "query",
  8351. "required": true
  8352. }
  8353. ],
  8354. "responses": {
  8355. "200": {
  8356. "description": "OK",
  8357. "schema": {
  8358. "$ref": "#/definitions/models.GZHomeData"
  8359. }
  8360. },
  8361. "500": {
  8362. "description": "Internal Server Error",
  8363. "schema": {
  8364. "$ref": "#/definitions/app.Response"
  8365. }
  8366. }
  8367. }
  8368. }
  8369. },
  8370. "/Guangzuan/PriceCalc": {
  8371. "get": {
  8372. "security": [
  8373. {
  8374. "ApiKeyAuth": []
  8375. },
  8376. {
  8377. "LoginID": []
  8378. },
  8379. {
  8380. "Group": []
  8381. }
  8382. ],
  8383. "produces": [
  8384. "application/json"
  8385. ],
  8386. "tags": [
  8387. "广钻"
  8388. ],
  8389. "summary": "钻石价格计算器",
  8390. "parameters": [
  8391. {
  8392. "type": "integer",
  8393. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  8394. "name": "zsshape",
  8395. "in": "query",
  8396. "required": true
  8397. },
  8398. {
  8399. "type": "string",
  8400. "description": "颜色(D-M)",
  8401. "name": "zscolor",
  8402. "in": "query",
  8403. "required": true
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "净度",
  8408. "name": "zsclarity",
  8409. "in": "query",
  8410. "required": true
  8411. },
  8412. {
  8413. "type": "number",
  8414. "description": "重量",
  8415. "name": "weight",
  8416. "in": "query",
  8417. "required": true
  8418. },
  8419. {
  8420. "type": "number",
  8421. "description": "汇率",
  8422. "name": "rate",
  8423. "in": "query",
  8424. "required": true
  8425. },
  8426. {
  8427. "type": "number",
  8428. "description": "折扣(%), 方向(加:10, 减:-10 )",
  8429. "name": "discount",
  8430. "in": "query"
  8431. }
  8432. ],
  8433. "responses": {
  8434. "200": {
  8435. "description": "OK",
  8436. "schema": {
  8437. "type": "array",
  8438. "items": {
  8439. "$ref": "#/definitions/models.Gzrapaportprice"
  8440. }
  8441. }
  8442. },
  8443. "500": {
  8444. "description": "Internal Server Error",
  8445. "schema": {
  8446. "$ref": "#/definitions/app.Response"
  8447. }
  8448. }
  8449. }
  8450. }
  8451. },
  8452. "/Guangzuan/QueryBuyOrder": {
  8453. "get": {
  8454. "security": [
  8455. {
  8456. "ApiKeyAuth": []
  8457. },
  8458. {
  8459. "LoginID": []
  8460. },
  8461. {
  8462. "Group": []
  8463. }
  8464. ],
  8465. "produces": [
  8466. "application/json"
  8467. ],
  8468. "tags": [
  8469. "广钻"
  8470. ],
  8471. "summary": "查询求购大厅委托单",
  8472. "parameters": [
  8473. {
  8474. "type": "integer",
  8475. "description": "页码",
  8476. "name": "page",
  8477. "in": "query"
  8478. },
  8479. {
  8480. "type": "integer",
  8481. "description": "每页条数",
  8482. "name": "pagesize",
  8483. "in": "query"
  8484. },
  8485. {
  8486. "type": "string",
  8487. "description": "商品(查询字段-模糊查询)",
  8488. "name": "zsallproperties",
  8489. "in": "query"
  8490. },
  8491. {
  8492. "type": "string",
  8493. "description": "钻石分类, 格式:1,2,3",
  8494. "name": "zscategorys",
  8495. "in": "query"
  8496. },
  8497. {
  8498. "type": "integer",
  8499. "description": "委托单号",
  8500. "name": "wrtradeorderid",
  8501. "in": "query"
  8502. },
  8503. {
  8504. "type": "string",
  8505. "description": "买方(查询字段-模糊查询)",
  8506. "name": "buyusername",
  8507. "in": "query"
  8508. }
  8509. ],
  8510. "responses": {
  8511. "200": {
  8512. "description": "OK",
  8513. "schema": {
  8514. "type": "array",
  8515. "items": {
  8516. "$ref": "#/definitions/models.BuyOrder"
  8517. }
  8518. }
  8519. },
  8520. "500": {
  8521. "description": "Internal Server Error",
  8522. "schema": {
  8523. "$ref": "#/definitions/app.Response"
  8524. }
  8525. }
  8526. }
  8527. }
  8528. },
  8529. "/Guangzuan/QueryDiamond": {
  8530. "post": {
  8531. "security": [
  8532. {
  8533. "ApiKeyAuth": []
  8534. },
  8535. {
  8536. "LoginID": []
  8537. },
  8538. {
  8539. "Group": []
  8540. }
  8541. ],
  8542. "produces": [
  8543. "application/json"
  8544. ],
  8545. "tags": [
  8546. "广钻"
  8547. ],
  8548. "summary": "钻石搜索",
  8549. "parameters": [
  8550. {
  8551. "description": "钻石搜索入参",
  8552. "name": "data",
  8553. "in": "body",
  8554. "required": true,
  8555. "schema": {
  8556. "$ref": "#/definitions/models.SellOrderQueryReq"
  8557. }
  8558. }
  8559. ],
  8560. "responses": {
  8561. "200": {
  8562. "description": "OK",
  8563. "schema": {
  8564. "type": "array",
  8565. "items": {
  8566. "$ref": "#/definitions/models.SellOrder"
  8567. }
  8568. }
  8569. },
  8570. "500": {
  8571. "description": "Internal Server Error",
  8572. "schema": {
  8573. "$ref": "#/definitions/app.Response"
  8574. }
  8575. }
  8576. }
  8577. }
  8578. },
  8579. "/Guangzuan/QueryGZBSFWOrder": {
  8580. "get": {
  8581. "security": [
  8582. {
  8583. "ApiKeyAuth": []
  8584. },
  8585. {
  8586. "LoginID": []
  8587. },
  8588. {
  8589. "Group": []
  8590. }
  8591. ],
  8592. "produces": [
  8593. "application/json"
  8594. ],
  8595. "tags": [
  8596. "广钻"
  8597. ],
  8598. "summary": "查询保税服务单据",
  8599. "parameters": [
  8600. {
  8601. "type": "integer",
  8602. "description": "用户ID",
  8603. "name": "userid",
  8604. "in": "query",
  8605. "required": true
  8606. },
  8607. {
  8608. "type": "integer",
  8609. "description": "页码",
  8610. "name": "page",
  8611. "in": "query"
  8612. },
  8613. {
  8614. "type": "integer",
  8615. "description": "每页条数",
  8616. "name": "pagesize",
  8617. "in": "query"
  8618. }
  8619. ],
  8620. "responses": {
  8621. "200": {
  8622. "description": "OK",
  8623. "schema": {
  8624. "type": "array",
  8625. "items": {
  8626. "$ref": "#/definitions/models.GzbsfworderM"
  8627. }
  8628. }
  8629. },
  8630. "500": {
  8631. "description": "Internal Server Error",
  8632. "schema": {
  8633. "$ref": "#/definitions/app.Response"
  8634. }
  8635. }
  8636. }
  8637. }
  8638. },
  8639. "/Guangzuan/QueryGZBSFWOrderDetail": {
  8640. "get": {
  8641. "security": [
  8642. {
  8643. "ApiKeyAuth": []
  8644. },
  8645. {
  8646. "LoginID": []
  8647. },
  8648. {
  8649. "Group": []
  8650. }
  8651. ],
  8652. "produces": [
  8653. "application/json"
  8654. ],
  8655. "tags": [
  8656. "广钻"
  8657. ],
  8658. "summary": "查询保税服务单据明细",
  8659. "parameters": [
  8660. {
  8661. "type": "integer",
  8662. "description": "用户ID",
  8663. "name": "userid",
  8664. "in": "query",
  8665. "required": true
  8666. },
  8667. {
  8668. "type": "integer",
  8669. "description": "单据ID",
  8670. "name": "orderid",
  8671. "in": "query"
  8672. },
  8673. {
  8674. "type": "integer",
  8675. "description": "页码",
  8676. "name": "page",
  8677. "in": "query"
  8678. },
  8679. {
  8680. "type": "integer",
  8681. "description": "每页条数",
  8682. "name": "pagesize",
  8683. "in": "query"
  8684. }
  8685. ],
  8686. "responses": {
  8687. "200": {
  8688. "description": "OK",
  8689. "schema": {
  8690. "type": "array",
  8691. "items": {
  8692. "$ref": "#/definitions/models.GzbsfworderdetailM"
  8693. }
  8694. }
  8695. },
  8696. "500": {
  8697. "description": "Internal Server Error",
  8698. "schema": {
  8699. "$ref": "#/definitions/app.Response"
  8700. }
  8701. }
  8702. }
  8703. }
  8704. },
  8705. "/Guangzuan/QueryGZCJBSOrderFile": {
  8706. "get": {
  8707. "security": [
  8708. {
  8709. "ApiKeyAuth": []
  8710. },
  8711. {
  8712. "LoginID": []
  8713. },
  8714. {
  8715. "Group": []
  8716. }
  8717. ],
  8718. "produces": [
  8719. "application/json"
  8720. ],
  8721. "tags": [
  8722. "广钻"
  8723. ],
  8724. "summary": "出境保税单据文件",
  8725. "parameters": [
  8726. {
  8727. "type": "integer",
  8728. "description": "单据ID",
  8729. "name": "orderid",
  8730. "in": "query",
  8731. "required": true
  8732. },
  8733. {
  8734. "type": "integer",
  8735. "description": "页码",
  8736. "name": "page",
  8737. "in": "query"
  8738. },
  8739. {
  8740. "type": "integer",
  8741. "description": "每页条数",
  8742. "name": "pagesize",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "type": "array",
  8751. "items": {
  8752. "$ref": "#/definitions/models.GzcjbsorderfileM"
  8753. }
  8754. }
  8755. },
  8756. "500": {
  8757. "description": "Internal Server Error",
  8758. "schema": {
  8759. "$ref": "#/definitions/app.Response"
  8760. }
  8761. }
  8762. }
  8763. }
  8764. },
  8765. "/Guangzuan/QueryGZCJJCOrder": {
  8766. "get": {
  8767. "security": [
  8768. {
  8769. "ApiKeyAuth": []
  8770. },
  8771. {
  8772. "LoginID": []
  8773. },
  8774. {
  8775. "Group": []
  8776. }
  8777. ],
  8778. "produces": [
  8779. "application/json"
  8780. ],
  8781. "tags": [
  8782. "广钻"
  8783. ],
  8784. "summary": "查询出境检测单据",
  8785. "parameters": [
  8786. {
  8787. "type": "integer",
  8788. "description": "用户ID",
  8789. "name": "userid",
  8790. "in": "query",
  8791. "required": true
  8792. },
  8793. {
  8794. "type": "integer",
  8795. "description": "页码",
  8796. "name": "page",
  8797. "in": "query"
  8798. },
  8799. {
  8800. "type": "integer",
  8801. "description": "每页条数",
  8802. "name": "pagesize",
  8803. "in": "query"
  8804. }
  8805. ],
  8806. "responses": {
  8807. "200": {
  8808. "description": "OK",
  8809. "schema": {
  8810. "type": "array",
  8811. "items": {
  8812. "$ref": "#/definitions/models.GzcjjcorderM"
  8813. }
  8814. }
  8815. },
  8816. "500": {
  8817. "description": "Internal Server Error",
  8818. "schema": {
  8819. "$ref": "#/definitions/app.Response"
  8820. }
  8821. }
  8822. }
  8823. }
  8824. },
  8825. "/Guangzuan/QueryGZCJJCOrderDetail": {
  8826. "get": {
  8827. "security": [
  8828. {
  8829. "ApiKeyAuth": []
  8830. },
  8831. {
  8832. "LoginID": []
  8833. },
  8834. {
  8835. "Group": []
  8836. }
  8837. ],
  8838. "produces": [
  8839. "application/json"
  8840. ],
  8841. "tags": [
  8842. "广钻"
  8843. ],
  8844. "summary": "查询出境检测单据明细(批次信息)",
  8845. "parameters": [
  8846. {
  8847. "type": "integer",
  8848. "description": "用户ID",
  8849. "name": "userid",
  8850. "in": "query",
  8851. "required": true
  8852. },
  8853. {
  8854. "type": "integer",
  8855. "description": "单据ID",
  8856. "name": "orderid",
  8857. "in": "query"
  8858. },
  8859. {
  8860. "type": "integer",
  8861. "description": "页码",
  8862. "name": "page",
  8863. "in": "query"
  8864. },
  8865. {
  8866. "type": "integer",
  8867. "description": "每页条数",
  8868. "name": "pagesize",
  8869. "in": "query"
  8870. }
  8871. ],
  8872. "responses": {
  8873. "200": {
  8874. "description": "OK",
  8875. "schema": {
  8876. "type": "array",
  8877. "items": {
  8878. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  8879. }
  8880. }
  8881. },
  8882. "500": {
  8883. "description": "Internal Server Error",
  8884. "schema": {
  8885. "$ref": "#/definitions/app.Response"
  8886. }
  8887. }
  8888. }
  8889. }
  8890. },
  8891. "/Guangzuan/QueryMemberReport": {
  8892. "get": {
  8893. "security": [
  8894. {
  8895. "ApiKeyAuth": []
  8896. },
  8897. {
  8898. "LoginID": []
  8899. },
  8900. {
  8901. "Group": []
  8902. }
  8903. ],
  8904. "produces": [
  8905. "application/json"
  8906. ],
  8907. "tags": [
  8908. "广钻"
  8909. ],
  8910. "summary": "查询会员报表",
  8911. "parameters": [
  8912. {
  8913. "type": "integer",
  8914. "description": "用户ID",
  8915. "name": "userid",
  8916. "in": "query",
  8917. "required": true
  8918. },
  8919. {
  8920. "type": "integer",
  8921. "description": "页码",
  8922. "name": "page",
  8923. "in": "query"
  8924. },
  8925. {
  8926. "type": "integer",
  8927. "description": "每页条数",
  8928. "name": "pagesize",
  8929. "in": "query"
  8930. },
  8931. {
  8932. "type": "string",
  8933. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  8934. "name": "cycletype",
  8935. "in": "query"
  8936. },
  8937. {
  8938. "type": "string",
  8939. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8940. "name": "begindate",
  8941. "in": "query",
  8942. "required": true
  8943. },
  8944. {
  8945. "type": "string",
  8946. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8947. "name": "enddate",
  8948. "in": "query",
  8949. "required": true
  8950. }
  8951. ],
  8952. "responses": {
  8953. "200": {
  8954. "description": "OK",
  8955. "schema": {
  8956. "type": "array",
  8957. "items": {
  8958. "$ref": "#/definitions/models.Reckondaytaaccount"
  8959. }
  8960. }
  8961. },
  8962. "500": {
  8963. "description": "Internal Server Error",
  8964. "schema": {
  8965. "$ref": "#/definitions/app.Response"
  8966. }
  8967. }
  8968. }
  8969. }
  8970. },
  8971. "/Guangzuan/QueryMyBargainApply": {
  8972. "get": {
  8973. "security": [
  8974. {
  8975. "ApiKeyAuth": []
  8976. },
  8977. {
  8978. "LoginID": []
  8979. },
  8980. {
  8981. "Group": []
  8982. }
  8983. ],
  8984. "produces": [
  8985. "application/json"
  8986. ],
  8987. "tags": [
  8988. "广钻"
  8989. ],
  8990. "summary": "查询询价-求购",
  8991. "parameters": [
  8992. {
  8993. "type": "integer",
  8994. "description": "用户ID",
  8995. "name": "userid",
  8996. "in": "query",
  8997. "required": true
  8998. },
  8999. {
  9000. "type": "integer",
  9001. "description": "页码",
  9002. "name": "page",
  9003. "in": "query"
  9004. },
  9005. {
  9006. "type": "integer",
  9007. "description": "每页条数",
  9008. "name": "pagesize",
  9009. "in": "query"
  9010. },
  9011. {
  9012. "type": "integer",
  9013. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  9014. "name": "applystatus",
  9015. "in": "query"
  9016. },
  9017. {
  9018. "type": "integer",
  9019. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  9020. "name": "type",
  9021. "in": "query"
  9022. },
  9023. {
  9024. "type": "string",
  9025. "description": "关联委托单ID",
  9026. "name": "wrtradeorderid",
  9027. "in": "query"
  9028. }
  9029. ],
  9030. "responses": {
  9031. "200": {
  9032. "description": "OK",
  9033. "schema": {
  9034. "type": "array",
  9035. "items": {
  9036. "$ref": "#/definitions/models.MyBargainApply"
  9037. }
  9038. }
  9039. },
  9040. "500": {
  9041. "description": "Internal Server Error",
  9042. "schema": {
  9043. "$ref": "#/definitions/app.Response"
  9044. }
  9045. }
  9046. }
  9047. }
  9048. },
  9049. "/Guangzuan/QueryMyBuyOrder": {
  9050. "get": {
  9051. "security": [
  9052. {
  9053. "ApiKeyAuth": []
  9054. },
  9055. {
  9056. "LoginID": []
  9057. },
  9058. {
  9059. "Group": []
  9060. }
  9061. ],
  9062. "produces": [
  9063. "application/json"
  9064. ],
  9065. "tags": [
  9066. "广钻"
  9067. ],
  9068. "summary": "查询我的求购",
  9069. "parameters": [
  9070. {
  9071. "type": "integer",
  9072. "description": "用户ID",
  9073. "name": "userid",
  9074. "in": "query",
  9075. "required": true
  9076. },
  9077. {
  9078. "type": "integer",
  9079. "description": "页码",
  9080. "name": "page",
  9081. "in": "query"
  9082. },
  9083. {
  9084. "type": "integer",
  9085. "description": "每页条数",
  9086. "name": "pagesize",
  9087. "in": "query"
  9088. },
  9089. {
  9090. "type": "string",
  9091. "description": "商品(查询字段-模糊查询)",
  9092. "name": "zsallproperties",
  9093. "in": "query"
  9094. },
  9095. {
  9096. "type": "string",
  9097. "description": "钻石分类, 格式:1,2,3",
  9098. "name": "zscategorys",
  9099. "in": "query"
  9100. },
  9101. {
  9102. "type": "integer",
  9103. "description": "委托单号",
  9104. "name": "wrtradeorderid",
  9105. "in": "query"
  9106. },
  9107. {
  9108. "type": "boolean",
  9109. "description": "是否历史查询",
  9110. "name": "ishis",
  9111. "in": "query"
  9112. },
  9113. {
  9114. "type": "string",
  9115. "description": "开始交易日(yyyymmdd)",
  9116. "name": "begindate",
  9117. "in": "query"
  9118. },
  9119. {
  9120. "type": "string",
  9121. "description": "结束交易日(yyyymmdd)",
  9122. "name": "enddate",
  9123. "in": "query"
  9124. }
  9125. ],
  9126. "responses": {
  9127. "200": {
  9128. "description": "OK",
  9129. "schema": {
  9130. "type": "array",
  9131. "items": {
  9132. "$ref": "#/definitions/models.MyBuyOrder"
  9133. }
  9134. }
  9135. },
  9136. "500": {
  9137. "description": "Internal Server Error",
  9138. "schema": {
  9139. "$ref": "#/definitions/app.Response"
  9140. }
  9141. }
  9142. }
  9143. }
  9144. },
  9145. "/Guangzuan/QueryMyDeListing": {
  9146. "get": {
  9147. "security": [
  9148. {
  9149. "ApiKeyAuth": []
  9150. },
  9151. {
  9152. "LoginID": []
  9153. },
  9154. {
  9155. "Group": []
  9156. }
  9157. ],
  9158. "produces": [
  9159. "application/json"
  9160. ],
  9161. "tags": [
  9162. "广钻"
  9163. ],
  9164. "summary": "查询我的摘牌",
  9165. "parameters": [
  9166. {
  9167. "type": "integer",
  9168. "description": "用户ID",
  9169. "name": "userid",
  9170. "in": "query",
  9171. "required": true
  9172. },
  9173. {
  9174. "type": "integer",
  9175. "description": "页码",
  9176. "name": "page",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "每页条数",
  9182. "name": "pagesize",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "商品(查询字段-模糊查询)",
  9188. "name": "zsallproperties",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "钻石分类, 格式:1,2,3",
  9194. "name": "zscategorys",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "integer",
  9199. "description": "成交单号",
  9200. "name": "wrtradedetailid",
  9201. "in": "query"
  9202. },
  9203. {
  9204. "type": "integer",
  9205. "description": "方向,0-购买 1-出售",
  9206. "name": "buyorsell",
  9207. "in": "query"
  9208. },
  9209. {
  9210. "type": "string",
  9211. "description": "对手方(模糊匹配)",
  9212. "name": "matchusername",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "string",
  9217. "description": "开始交易日(yyyymmdd)",
  9218. "name": "begindate",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "string",
  9223. "description": "结束交易日(yyyymmdd)",
  9224. "name": "enddate",
  9225. "in": "query"
  9226. }
  9227. ],
  9228. "responses": {
  9229. "200": {
  9230. "description": "OK",
  9231. "schema": {
  9232. "type": "array",
  9233. "items": {
  9234. "$ref": "#/definitions/models.MyDeListing"
  9235. }
  9236. }
  9237. },
  9238. "500": {
  9239. "description": "Internal Server Error",
  9240. "schema": {
  9241. "$ref": "#/definitions/app.Response"
  9242. }
  9243. }
  9244. }
  9245. }
  9246. },
  9247. "/Guangzuan/QueryMyDelistingApply": {
  9248. "get": {
  9249. "security": [
  9250. {
  9251. "ApiKeyAuth": []
  9252. },
  9253. {
  9254. "LoginID": []
  9255. },
  9256. {
  9257. "Group": []
  9258. }
  9259. ],
  9260. "produces": [
  9261. "application/json"
  9262. ],
  9263. "tags": [
  9264. "广钻"
  9265. ],
  9266. "summary": "查询询价-出售",
  9267. "parameters": [
  9268. {
  9269. "type": "integer",
  9270. "description": "用户ID",
  9271. "name": "userid",
  9272. "in": "query",
  9273. "required": true
  9274. },
  9275. {
  9276. "type": "integer",
  9277. "description": "页码",
  9278. "name": "page",
  9279. "in": "query"
  9280. },
  9281. {
  9282. "type": "integer",
  9283. "description": "每页条数",
  9284. "name": "pagesize",
  9285. "in": "query"
  9286. },
  9287. {
  9288. "type": "integer",
  9289. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  9290. "name": "applystatus",
  9291. "in": "query"
  9292. },
  9293. {
  9294. "type": "integer",
  9295. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  9296. "name": "type",
  9297. "in": "query"
  9298. },
  9299. {
  9300. "type": "string",
  9301. "description": "买委托单ID",
  9302. "name": "buywrtradeorderid",
  9303. "in": "query"
  9304. }
  9305. ],
  9306. "responses": {
  9307. "200": {
  9308. "description": "OK",
  9309. "schema": {
  9310. "type": "array",
  9311. "items": {
  9312. "$ref": "#/definitions/models.MyDelistingApply"
  9313. }
  9314. }
  9315. },
  9316. "500": {
  9317. "description": "Internal Server Error",
  9318. "schema": {
  9319. "$ref": "#/definitions/app.Response"
  9320. }
  9321. }
  9322. }
  9323. }
  9324. },
  9325. "/Guangzuan/QueryMyFavorite": {
  9326. "get": {
  9327. "security": [
  9328. {
  9329. "ApiKeyAuth": []
  9330. },
  9331. {
  9332. "LoginID": []
  9333. },
  9334. {
  9335. "Group": []
  9336. }
  9337. ],
  9338. "produces": [
  9339. "application/json"
  9340. ],
  9341. "tags": [
  9342. "广钻"
  9343. ],
  9344. "summary": "查询我的收藏",
  9345. "parameters": [
  9346. {
  9347. "type": "integer",
  9348. "description": "用户ID",
  9349. "name": "userid",
  9350. "in": "query",
  9351. "required": true
  9352. },
  9353. {
  9354. "type": "integer",
  9355. "description": "页码",
  9356. "name": "page",
  9357. "in": "query"
  9358. },
  9359. {
  9360. "type": "integer",
  9361. "description": "每页条数",
  9362. "name": "pagesize",
  9363. "in": "query"
  9364. },
  9365. {
  9366. "type": "string",
  9367. "description": "钻石分类, 格式:1,2,3",
  9368. "name": "zscategorys",
  9369. "in": "query"
  9370. }
  9371. ],
  9372. "responses": {
  9373. "200": {
  9374. "description": "OK",
  9375. "schema": {
  9376. "type": "array",
  9377. "items": {
  9378. "$ref": "#/definitions/models.MyFavorite"
  9379. }
  9380. }
  9381. },
  9382. "500": {
  9383. "description": "Internal Server Error",
  9384. "schema": {
  9385. "$ref": "#/definitions/app.Response"
  9386. }
  9387. }
  9388. }
  9389. }
  9390. },
  9391. "/Guangzuan/QueryMyPerformanc": {
  9392. "get": {
  9393. "security": [
  9394. {
  9395. "ApiKeyAuth": []
  9396. },
  9397. {
  9398. "LoginID": []
  9399. },
  9400. {
  9401. "Group": []
  9402. }
  9403. ],
  9404. "produces": [
  9405. "application/json"
  9406. ],
  9407. "tags": [
  9408. "广钻"
  9409. ],
  9410. "summary": "查询我的履约",
  9411. "parameters": [
  9412. {
  9413. "type": "integer",
  9414. "description": "用户ID",
  9415. "name": "userid",
  9416. "in": "query",
  9417. "required": true
  9418. },
  9419. {
  9420. "type": "integer",
  9421. "description": "页码",
  9422. "name": "page",
  9423. "in": "query"
  9424. },
  9425. {
  9426. "type": "integer",
  9427. "description": "每页条数",
  9428. "name": "pagesize",
  9429. "in": "query"
  9430. },
  9431. {
  9432. "type": "string",
  9433. "description": "商品(查询字段-模糊查询)",
  9434. "name": "zsallproperties",
  9435. "in": "query"
  9436. },
  9437. {
  9438. "type": "integer",
  9439. "description": "方向,0-买 1-卖",
  9440. "name": "buyorsell",
  9441. "in": "query"
  9442. },
  9443. {
  9444. "type": "boolean",
  9445. "description": "是否历史查询",
  9446. "name": "ishis",
  9447. "in": "query"
  9448. },
  9449. {
  9450. "type": "string",
  9451. "description": "开始交易日(yyyymmdd)",
  9452. "name": "begindate",
  9453. "in": "query"
  9454. },
  9455. {
  9456. "type": "string",
  9457. "description": "结束交易日(yyyymmdd)",
  9458. "name": "enddate",
  9459. "in": "query"
  9460. }
  9461. ],
  9462. "responses": {
  9463. "200": {
  9464. "description": "OK",
  9465. "schema": {
  9466. "type": "array",
  9467. "items": {
  9468. "$ref": "#/definitions/models.MyPerformanc"
  9469. }
  9470. }
  9471. },
  9472. "500": {
  9473. "description": "Internal Server Error",
  9474. "schema": {
  9475. "$ref": "#/definitions/app.Response"
  9476. }
  9477. }
  9478. }
  9479. }
  9480. },
  9481. "/Guangzuan/QueryMySellOrder": {
  9482. "get": {
  9483. "security": [
  9484. {
  9485. "ApiKeyAuth": []
  9486. },
  9487. {
  9488. "LoginID": []
  9489. },
  9490. {
  9491. "Group": []
  9492. }
  9493. ],
  9494. "produces": [
  9495. "application/json"
  9496. ],
  9497. "tags": [
  9498. "广钻"
  9499. ],
  9500. "summary": "查询我的出售",
  9501. "parameters": [
  9502. {
  9503. "type": "integer",
  9504. "description": "用户ID",
  9505. "name": "userid",
  9506. "in": "query",
  9507. "required": true
  9508. },
  9509. {
  9510. "type": "integer",
  9511. "description": "页码",
  9512. "name": "page",
  9513. "in": "query"
  9514. },
  9515. {
  9516. "type": "integer",
  9517. "description": "每页条数",
  9518. "name": "pagesize",
  9519. "in": "query"
  9520. },
  9521. {
  9522. "type": "string",
  9523. "description": "商品(查询字段-模糊查询)",
  9524. "name": "zsallproperties",
  9525. "in": "query"
  9526. },
  9527. {
  9528. "type": "string",
  9529. "description": "钻石分类, 格式:1,2,3",
  9530. "name": "zscategorys",
  9531. "in": "query"
  9532. },
  9533. {
  9534. "type": "integer",
  9535. "description": "委托单号",
  9536. "name": "wrtradeorderid",
  9537. "in": "query"
  9538. },
  9539. {
  9540. "type": "boolean",
  9541. "description": "是否历史查询",
  9542. "name": "ishis",
  9543. "in": "query"
  9544. },
  9545. {
  9546. "type": "string",
  9547. "description": "开始交易日(yyyymmdd)",
  9548. "name": "begindate",
  9549. "in": "query"
  9550. },
  9551. {
  9552. "type": "string",
  9553. "description": "结束交易日(yyyymmdd)",
  9554. "name": "enddate",
  9555. "in": "query"
  9556. }
  9557. ],
  9558. "responses": {
  9559. "200": {
  9560. "description": "OK",
  9561. "schema": {
  9562. "type": "array",
  9563. "items": {
  9564. "$ref": "#/definitions/models.MySellOrder"
  9565. }
  9566. }
  9567. },
  9568. "500": {
  9569. "description": "Internal Server Error",
  9570. "schema": {
  9571. "$ref": "#/definitions/app.Response"
  9572. }
  9573. }
  9574. }
  9575. }
  9576. },
  9577. "/Guangzuan/QueryMyWRPosition": {
  9578. "get": {
  9579. "security": [
  9580. {
  9581. "ApiKeyAuth": []
  9582. },
  9583. {
  9584. "LoginID": []
  9585. },
  9586. {
  9587. "Group": []
  9588. }
  9589. ],
  9590. "produces": [
  9591. "application/json"
  9592. ],
  9593. "tags": [
  9594. "广钻"
  9595. ],
  9596. "summary": "查询我的库存",
  9597. "parameters": [
  9598. {
  9599. "type": "integer",
  9600. "description": "页码",
  9601. "name": "page",
  9602. "in": "query"
  9603. },
  9604. {
  9605. "type": "integer",
  9606. "description": "每页条数",
  9607. "name": "pagesize",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "integer",
  9612. "description": "登录用户ID",
  9613. "name": "wruserid",
  9614. "in": "query",
  9615. "required": true
  9616. },
  9617. {
  9618. "type": "string",
  9619. "description": "商品(查询字段-模糊查询)",
  9620. "name": "zsallproperties",
  9621. "in": "query"
  9622. },
  9623. {
  9624. "type": "string",
  9625. "description": "钻石分类, 格式:1,2,3",
  9626. "name": "zscategorys",
  9627. "in": "query"
  9628. },
  9629. {
  9630. "type": "integer",
  9631. "description": "仓库ID",
  9632. "name": "warehouseid",
  9633. "in": "query"
  9634. },
  9635. {
  9636. "type": "integer",
  9637. "description": "是否上架,0-全部 1-是 2-否",
  9638. "name": "marketflag",
  9639. "in": "query"
  9640. }
  9641. ],
  9642. "responses": {
  9643. "200": {
  9644. "description": "OK",
  9645. "schema": {
  9646. "type": "array",
  9647. "items": {
  9648. "$ref": "#/definitions/models.MyWRPosition"
  9649. }
  9650. }
  9651. },
  9652. "500": {
  9653. "description": "Internal Server Error",
  9654. "schema": {
  9655. "$ref": "#/definitions/app.Response"
  9656. }
  9657. }
  9658. }
  9659. }
  9660. },
  9661. "/Guangzuan/QuerySellOrder": {
  9662. "get": {
  9663. "security": [
  9664. {
  9665. "ApiKeyAuth": []
  9666. },
  9667. {
  9668. "LoginID": []
  9669. },
  9670. {
  9671. "Group": []
  9672. }
  9673. ],
  9674. "produces": [
  9675. "application/json"
  9676. ],
  9677. "tags": [
  9678. "广钻"
  9679. ],
  9680. "summary": "查询出售大厅委托单",
  9681. "parameters": [
  9682. {
  9683. "type": "integer",
  9684. "description": "页码",
  9685. "name": "page",
  9686. "in": "query"
  9687. },
  9688. {
  9689. "type": "integer",
  9690. "description": "每页条数",
  9691. "name": "pagesize",
  9692. "in": "query"
  9693. },
  9694. {
  9695. "type": "string",
  9696. "description": "商品(查询字段-模糊查询)",
  9697. "name": "zsallproperties",
  9698. "in": "query"
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "钻石分类, 格式:1,2,3",
  9703. "name": "zscategorys",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "integer",
  9708. "description": "委托单号",
  9709. "name": "wrtradeorderid",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "string",
  9714. "description": "卖方(查询字段-模糊查询)",
  9715. "name": "buyusername",
  9716. "in": "query"
  9717. }
  9718. ],
  9719. "responses": {
  9720. "200": {
  9721. "description": "OK",
  9722. "schema": {
  9723. "type": "array",
  9724. "items": {
  9725. "$ref": "#/definitions/models.SellOrder"
  9726. }
  9727. }
  9728. },
  9729. "500": {
  9730. "description": "Internal Server Error",
  9731. "schema": {
  9732. "$ref": "#/definitions/app.Response"
  9733. }
  9734. }
  9735. }
  9736. }
  9737. },
  9738. "/Guangzuan/QueryTradeReport": {
  9739. "get": {
  9740. "security": [
  9741. {
  9742. "ApiKeyAuth": []
  9743. },
  9744. {
  9745. "LoginID": []
  9746. },
  9747. {
  9748. "Group": []
  9749. }
  9750. ],
  9751. "produces": [
  9752. "application/json"
  9753. ],
  9754. "tags": [
  9755. "广钻"
  9756. ],
  9757. "summary": "查询交易报表",
  9758. "parameters": [
  9759. {
  9760. "type": "integer",
  9761. "description": "用户ID",
  9762. "name": "userid",
  9763. "in": "query",
  9764. "required": true
  9765. },
  9766. {
  9767. "type": "integer",
  9768. "description": "页码",
  9769. "name": "page",
  9770. "in": "query"
  9771. },
  9772. {
  9773. "type": "integer",
  9774. "description": "每页条数",
  9775. "name": "pagesize",
  9776. "in": "query"
  9777. },
  9778. {
  9779. "type": "string",
  9780. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9781. "name": "cycletype",
  9782. "in": "query"
  9783. },
  9784. {
  9785. "type": "string",
  9786. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9787. "name": "begindate",
  9788. "in": "query",
  9789. "required": true
  9790. },
  9791. {
  9792. "type": "string",
  9793. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9794. "name": "enddate",
  9795. "in": "query",
  9796. "required": true
  9797. },
  9798. {
  9799. "type": "integer",
  9800. "description": "商品分类",
  9801. "name": "zscategory",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "商品币种",
  9807. "name": "zscurrencytype",
  9808. "in": "query"
  9809. }
  9810. ],
  9811. "responses": {
  9812. "200": {
  9813. "description": "OK",
  9814. "schema": {
  9815. "type": "array",
  9816. "items": {
  9817. "$ref": "#/definitions/models.Reckongzmemtradesum"
  9818. }
  9819. }
  9820. },
  9821. "500": {
  9822. "description": "Internal Server Error",
  9823. "schema": {
  9824. "$ref": "#/definitions/app.Response"
  9825. }
  9826. }
  9827. }
  9828. }
  9829. },
  9830. "/Guangzuan/QueryWRPositionReport": {
  9831. "get": {
  9832. "security": [
  9833. {
  9834. "ApiKeyAuth": []
  9835. },
  9836. {
  9837. "LoginID": []
  9838. },
  9839. {
  9840. "Group": []
  9841. }
  9842. ],
  9843. "produces": [
  9844. "application/json"
  9845. ],
  9846. "tags": [
  9847. "广钻"
  9848. ],
  9849. "summary": "查询仓储报表",
  9850. "parameters": [
  9851. {
  9852. "type": "integer",
  9853. "description": "用户ID",
  9854. "name": "userid",
  9855. "in": "query",
  9856. "required": true
  9857. },
  9858. {
  9859. "type": "integer",
  9860. "description": "页码",
  9861. "name": "page",
  9862. "in": "query"
  9863. },
  9864. {
  9865. "type": "integer",
  9866. "description": "每页条数",
  9867. "name": "pagesize",
  9868. "in": "query"
  9869. },
  9870. {
  9871. "type": "string",
  9872. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9873. "name": "cycletype",
  9874. "in": "query"
  9875. },
  9876. {
  9877. "type": "string",
  9878. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9879. "name": "begindate",
  9880. "in": "query",
  9881. "required": true
  9882. },
  9883. {
  9884. "type": "string",
  9885. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9886. "name": "enddate",
  9887. "in": "query",
  9888. "required": true
  9889. },
  9890. {
  9891. "type": "integer",
  9892. "description": "商品分类",
  9893. "name": "zscategory",
  9894. "in": "query"
  9895. },
  9896. {
  9897. "type": "integer",
  9898. "description": "商品币种",
  9899. "name": "zscurrencytype",
  9900. "in": "query"
  9901. }
  9902. ],
  9903. "responses": {
  9904. "200": {
  9905. "description": "OK",
  9906. "schema": {
  9907. "type": "array",
  9908. "items": {
  9909. "$ref": "#/definitions/models.WRPositionReport"
  9910. }
  9911. }
  9912. },
  9913. "500": {
  9914. "description": "Internal Server Error",
  9915. "schema": {
  9916. "$ref": "#/definitions/app.Response"
  9917. }
  9918. }
  9919. }
  9920. }
  9921. },
  9922. "/Guangzuan/QueryWarehouseInfo": {
  9923. "get": {
  9924. "security": [
  9925. {
  9926. "ApiKeyAuth": []
  9927. },
  9928. {
  9929. "LoginID": []
  9930. },
  9931. {
  9932. "Group": []
  9933. }
  9934. ],
  9935. "produces": [
  9936. "application/json"
  9937. ],
  9938. "tags": [
  9939. "广钻"
  9940. ],
  9941. "summary": "查询仓库信息",
  9942. "parameters": [
  9943. {
  9944. "type": "integer",
  9945. "description": "页码",
  9946. "name": "page",
  9947. "in": "query"
  9948. },
  9949. {
  9950. "type": "integer",
  9951. "description": "每页条数",
  9952. "name": "pagesize",
  9953. "in": "query"
  9954. },
  9955. {
  9956. "type": "integer",
  9957. "description": "用户ID",
  9958. "name": "userid",
  9959. "in": "query",
  9960. "required": true
  9961. },
  9962. {
  9963. "type": "string",
  9964. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  9965. "name": "status",
  9966. "in": "query"
  9967. },
  9968. {
  9969. "type": "boolean",
  9970. "description": "是返回交易所仓库",
  9971. "name": "isincludeexchange",
  9972. "in": "query"
  9973. }
  9974. ],
  9975. "responses": {
  9976. "200": {
  9977. "description": "OK",
  9978. "schema": {
  9979. "type": "array",
  9980. "items": {
  9981. "$ref": "#/definitions/models.GZWarehouseinfo"
  9982. }
  9983. }
  9984. },
  9985. "500": {
  9986. "description": "Internal Server Error",
  9987. "schema": {
  9988. "$ref": "#/definitions/app.Response"
  9989. }
  9990. }
  9991. }
  9992. }
  9993. },
  9994. "/Market/GetAllExExchanges": {
  9995. "get": {
  9996. "security": [
  9997. {
  9998. "ApiKeyAuth": []
  9999. }
  10000. ],
  10001. "produces": [
  10002. "application/json"
  10003. ],
  10004. "tags": [
  10005. "通用市场"
  10006. ],
  10007. "summary": "获取所有外部交易所信息",
  10008. "responses": {
  10009. "200": {
  10010. "description": "OK",
  10011. "schema": {
  10012. "$ref": "#/definitions/models.Goods"
  10013. }
  10014. },
  10015. "500": {
  10016. "description": "Internal Server Error",
  10017. "schema": {
  10018. "$ref": "#/definitions/app.Response"
  10019. }
  10020. }
  10021. }
  10022. }
  10023. },
  10024. "/Market/QueryGoodsesByLoginID": {
  10025. "get": {
  10026. "security": [
  10027. {
  10028. "ApiKeyAuth": []
  10029. }
  10030. ],
  10031. "produces": [
  10032. "application/json"
  10033. ],
  10034. "tags": [
  10035. "通用市场"
  10036. ],
  10037. "summary": "获取登录账号有权限的商品信息",
  10038. "parameters": [
  10039. {
  10040. "type": "integer",
  10041. "description": "登录账号",
  10042. "name": "loginID",
  10043. "in": "query",
  10044. "required": true
  10045. },
  10046. {
  10047. "type": "string",
  10048. "description": "市场ID列表,格式:1,2,3",
  10049. "name": "marketIDs",
  10050. "in": "query"
  10051. }
  10052. ],
  10053. "responses": {
  10054. "200": {
  10055. "description": "OK",
  10056. "schema": {
  10057. "$ref": "#/definitions/models.Goods"
  10058. }
  10059. },
  10060. "500": {
  10061. "description": "Internal Server Error",
  10062. "schema": {
  10063. "$ref": "#/definitions/app.Response"
  10064. }
  10065. }
  10066. }
  10067. }
  10068. },
  10069. "/Market/QueryMarketRun": {
  10070. "get": {
  10071. "security": [
  10072. {
  10073. "ApiKeyAuth": []
  10074. }
  10075. ],
  10076. "produces": [
  10077. "application/json"
  10078. ],
  10079. "tags": [
  10080. "通用市场"
  10081. ],
  10082. "summary": "查询市场运行信息",
  10083. "parameters": [
  10084. {
  10085. "type": "integer",
  10086. "description": "市场ID,不传返回所有",
  10087. "name": "marketID",
  10088. "in": "query"
  10089. }
  10090. ],
  10091. "responses": {
  10092. "200": {
  10093. "description": "OK",
  10094. "schema": {
  10095. "$ref": "#/definitions/models.Marketrun"
  10096. }
  10097. },
  10098. "500": {
  10099. "description": "Internal Server Error",
  10100. "schema": {
  10101. "$ref": "#/definitions/app.Response"
  10102. }
  10103. }
  10104. }
  10105. }
  10106. },
  10107. "/Market/QueryMarketsByLoginID": {
  10108. "get": {
  10109. "security": [
  10110. {
  10111. "ApiKeyAuth": []
  10112. }
  10113. ],
  10114. "produces": [
  10115. "application/json"
  10116. ],
  10117. "tags": [
  10118. "通用市场"
  10119. ],
  10120. "summary": "获取登录账号有权限的市场信息",
  10121. "parameters": [
  10122. {
  10123. "type": "integer",
  10124. "description": "登录账号",
  10125. "name": "loginID",
  10126. "in": "query",
  10127. "required": true
  10128. }
  10129. ],
  10130. "responses": {
  10131. "200": {
  10132. "description": "OK",
  10133. "schema": {
  10134. "$ref": "#/definitions/models.Market"
  10135. }
  10136. },
  10137. "500": {
  10138. "description": "Internal Server Error",
  10139. "schema": {
  10140. "$ref": "#/definitions/app.Response"
  10141. }
  10142. }
  10143. }
  10144. }
  10145. },
  10146. "/Order/QueryHisTradeDetail": {
  10147. "get": {
  10148. "security": [
  10149. {
  10150. "ApiKeyAuth": []
  10151. }
  10152. ],
  10153. "produces": [
  10154. "application/json"
  10155. ],
  10156. "tags": [
  10157. "通用单据"
  10158. ],
  10159. "summary": "历史成交单查询(合约市场)",
  10160. "parameters": [
  10161. {
  10162. "type": "string",
  10163. "description": "资金账户 - 格式:1,2,3",
  10164. "name": "accountID",
  10165. "in": "query",
  10166. "required": true
  10167. },
  10168. {
  10169. "type": "integer",
  10170. "description": "成交单号",
  10171. "name": "tradeID",
  10172. "in": "query"
  10173. },
  10174. {
  10175. "type": "integer",
  10176. "description": "委托单号",
  10177. "name": "orderID",
  10178. "in": "query"
  10179. },
  10180. {
  10181. "type": "integer",
  10182. "description": "商品ID",
  10183. "name": "goodsID",
  10184. "in": "query"
  10185. },
  10186. {
  10187. "type": "string",
  10188. "description": "交易模式 - 格式:1,2,3",
  10189. "name": "tradeMode",
  10190. "in": "query"
  10191. },
  10192. {
  10193. "type": "integer",
  10194. "description": "委托单据类型",
  10195. "name": "buildType",
  10196. "in": "query"
  10197. },
  10198. {
  10199. "type": "string",
  10200. "description": "成交类别 - 格式:1,2,3",
  10201. "name": "tradeType",
  10202. "in": "query"
  10203. },
  10204. {
  10205. "type": "string",
  10206. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10207. "name": "startDate",
  10208. "in": "query"
  10209. },
  10210. {
  10211. "type": "string",
  10212. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10213. "name": "endDate",
  10214. "in": "query"
  10215. }
  10216. ],
  10217. "responses": {
  10218. "200": {
  10219. "description": "OK",
  10220. "schema": {
  10221. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  10222. }
  10223. },
  10224. "500": {
  10225. "description": "Internal Server Error",
  10226. "schema": {
  10227. "$ref": "#/definitions/app.Response"
  10228. }
  10229. }
  10230. }
  10231. }
  10232. },
  10233. "/Order/QueryHisTradeOrderDetail": {
  10234. "get": {
  10235. "security": [
  10236. {
  10237. "ApiKeyAuth": []
  10238. }
  10239. ],
  10240. "produces": [
  10241. "application/json"
  10242. ],
  10243. "tags": [
  10244. "通用单据"
  10245. ],
  10246. "summary": "历史委托单查询请求(合约市场)",
  10247. "parameters": [
  10248. {
  10249. "type": "string",
  10250. "description": "资金账户 - 格式:1,2,3",
  10251. "name": "accountID",
  10252. "in": "query",
  10253. "required": true
  10254. },
  10255. {
  10256. "type": "string",
  10257. "description": "交易模式 - 格式:1,2,3",
  10258. "name": "tradeMode",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "string",
  10263. "description": "委托状态 - 格式:1,2,3",
  10264. "name": "orderStatus",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "integer",
  10269. "description": "委托单号",
  10270. "name": "orderID",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10276. "name": "startDate",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10282. "name": "endDate",
  10283. "in": "query"
  10284. }
  10285. ],
  10286. "responses": {
  10287. "200": {
  10288. "description": "OK",
  10289. "schema": {
  10290. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  10291. }
  10292. },
  10293. "500": {
  10294. "description": "Internal Server Error",
  10295. "schema": {
  10296. "$ref": "#/definitions/app.Response"
  10297. }
  10298. }
  10299. }
  10300. }
  10301. },
  10302. "/Order/QueryTradeDetail": {
  10303. "get": {
  10304. "security": [
  10305. {
  10306. "ApiKeyAuth": []
  10307. }
  10308. ],
  10309. "produces": [
  10310. "application/json"
  10311. ],
  10312. "tags": [
  10313. "通用单据"
  10314. ],
  10315. "summary": "成交单查询(合约市场)",
  10316. "parameters": [
  10317. {
  10318. "type": "string",
  10319. "description": "资金账户 - 格式:1,2,3",
  10320. "name": "accountID",
  10321. "in": "query",
  10322. "required": true
  10323. },
  10324. {
  10325. "type": "integer",
  10326. "description": "成交单号",
  10327. "name": "tradeID",
  10328. "in": "query"
  10329. },
  10330. {
  10331. "type": "integer",
  10332. "description": "委托单号",
  10333. "name": "orderID",
  10334. "in": "query"
  10335. },
  10336. {
  10337. "type": "string",
  10338. "description": "交易模式 - 格式:1,2,3",
  10339. "name": "tradeMode",
  10340. "in": "query"
  10341. },
  10342. {
  10343. "type": "integer",
  10344. "description": "委托单据类型",
  10345. "name": "buildType",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "string",
  10350. "description": "成交类别 - 格式:1,2,3",
  10351. "name": "tradeType",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "商品ID",
  10357. "name": "goodsID",
  10358. "in": "query"
  10359. }
  10360. ],
  10361. "responses": {
  10362. "200": {
  10363. "description": "OK",
  10364. "schema": {
  10365. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  10366. }
  10367. },
  10368. "500": {
  10369. "description": "Internal Server Error",
  10370. "schema": {
  10371. "$ref": "#/definitions/app.Response"
  10372. }
  10373. }
  10374. }
  10375. }
  10376. },
  10377. "/Order/QueryTradeHolderDetail": {
  10378. "get": {
  10379. "security": [
  10380. {
  10381. "ApiKeyAuth": []
  10382. }
  10383. ],
  10384. "produces": [
  10385. "application/json"
  10386. ],
  10387. "tags": [
  10388. "通用单据"
  10389. ],
  10390. "summary": "查询持仓明细",
  10391. "parameters": [
  10392. {
  10393. "type": "integer",
  10394. "description": "用户id",
  10395. "name": "userid",
  10396. "in": "query"
  10397. },
  10398. {
  10399. "type": "string",
  10400. "description": "资金账号, 格式 1,2,3",
  10401. "name": "accids",
  10402. "in": "query"
  10403. },
  10404. {
  10405. "type": "string",
  10406. "description": "交易模式, 格式 1,2,3",
  10407. "name": "trademodes",
  10408. "in": "query"
  10409. },
  10410. {
  10411. "type": "string",
  10412. "description": "市场id, 格式 1,2,3",
  10413. "name": "marketids",
  10414. "in": "query"
  10415. },
  10416. {
  10417. "type": "integer",
  10418. "description": "商品id",
  10419. "name": "goodsid",
  10420. "in": "query"
  10421. },
  10422. {
  10423. "type": "integer",
  10424. "description": "买卖方向 0-买 1-卖",
  10425. "name": "buyorsell",
  10426. "in": "query"
  10427. }
  10428. ],
  10429. "responses": {
  10430. "200": {
  10431. "description": "OK",
  10432. "schema": {
  10433. "type": "array",
  10434. "items": {
  10435. "$ref": "#/definitions/models.TradeHolderDetail"
  10436. }
  10437. }
  10438. },
  10439. "500": {
  10440. "description": "Internal Server Error",
  10441. "schema": {
  10442. "$ref": "#/definitions/app.Response"
  10443. }
  10444. }
  10445. }
  10446. }
  10447. },
  10448. "/Order/QueryTradeOrderDetail": {
  10449. "get": {
  10450. "security": [
  10451. {
  10452. "ApiKeyAuth": []
  10453. }
  10454. ],
  10455. "produces": [
  10456. "application/json"
  10457. ],
  10458. "tags": [
  10459. "通用单据"
  10460. ],
  10461. "summary": "委托单查询请求(合约市场)",
  10462. "parameters": [
  10463. {
  10464. "type": "string",
  10465. "description": "资金账户 - 格式:1,2,3",
  10466. "name": "accountID",
  10467. "in": "query",
  10468. "required": true
  10469. },
  10470. {
  10471. "type": "string",
  10472. "description": "交易模式 - 格式:1,2,3",
  10473. "name": "tradeMode",
  10474. "in": "query"
  10475. },
  10476. {
  10477. "type": "string",
  10478. "description": "委托状态 - 格式:1,2,3",
  10479. "name": "orderStatus",
  10480. "in": "query"
  10481. },
  10482. {
  10483. "type": "integer",
  10484. "description": "委托单号",
  10485. "name": "orderID",
  10486. "in": "query"
  10487. }
  10488. ],
  10489. "responses": {
  10490. "200": {
  10491. "description": "OK",
  10492. "schema": {
  10493. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  10494. }
  10495. },
  10496. "500": {
  10497. "description": "Internal Server Error",
  10498. "schema": {
  10499. "$ref": "#/definitions/app.Response"
  10500. }
  10501. }
  10502. }
  10503. }
  10504. },
  10505. "/Order/QueryTradePosition": {
  10506. "get": {
  10507. "security": [
  10508. {
  10509. "ApiKeyAuth": []
  10510. }
  10511. ],
  10512. "produces": [
  10513. "application/json"
  10514. ],
  10515. "tags": [
  10516. "通用单据"
  10517. ],
  10518. "summary": "持仓汇总查询(合约市场)",
  10519. "parameters": [
  10520. {
  10521. "type": "string",
  10522. "description": "资金账户 - 格式:1,2,3",
  10523. "name": "accountID",
  10524. "in": "query",
  10525. "required": true
  10526. },
  10527. {
  10528. "type": "string",
  10529. "description": "交易模式 - 格式:1,2,3",
  10530. "name": "tradeMode",
  10531. "in": "query"
  10532. }
  10533. ],
  10534. "responses": {
  10535. "200": {
  10536. "description": "OK",
  10537. "schema": {
  10538. "$ref": "#/definitions/order.QueryTradePositionRsp"
  10539. }
  10540. },
  10541. "500": {
  10542. "description": "Internal Server Error",
  10543. "schema": {
  10544. "$ref": "#/definitions/app.Response"
  10545. }
  10546. }
  10547. }
  10548. }
  10549. },
  10550. "/Qhj/QueryAccountInOutApply": {
  10551. "get": {
  10552. "security": [
  10553. {
  10554. "ApiKeyAuth": []
  10555. }
  10556. ],
  10557. "produces": [
  10558. "application/json"
  10559. ],
  10560. "tags": [
  10561. "大连千海金"
  10562. ],
  10563. "summary": "查询充值提现",
  10564. "parameters": [
  10565. {
  10566. "type": "integer",
  10567. "description": "用户ID",
  10568. "name": "userid",
  10569. "in": "query",
  10570. "required": true
  10571. },
  10572. {
  10573. "type": "string",
  10574. "description": "申请起始日期(格式yyyymmdd)",
  10575. "name": "begindate",
  10576. "in": "query"
  10577. },
  10578. {
  10579. "type": "string",
  10580. "description": "申请截止日期(格式yyyymmdd)",
  10581. "name": "enddate",
  10582. "in": "query"
  10583. },
  10584. {
  10585. "type": "string",
  10586. "description": "模糊搜索名称",
  10587. "name": "likename",
  10588. "in": "query"
  10589. },
  10590. {
  10591. "type": "integer",
  10592. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10593. "name": "applystatus",
  10594. "in": "query"
  10595. },
  10596. {
  10597. "type": "integer",
  10598. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  10599. "name": "querytype",
  10600. "in": "query"
  10601. }
  10602. ],
  10603. "responses": {
  10604. "200": {
  10605. "description": "OK",
  10606. "schema": {
  10607. "type": "array",
  10608. "items": {
  10609. "$ref": "#/definitions/models.QhjAccountOutInApply"
  10610. }
  10611. }
  10612. },
  10613. "500": {
  10614. "description": "Internal Server Error",
  10615. "schema": {
  10616. "$ref": "#/definitions/app.Response"
  10617. }
  10618. }
  10619. }
  10620. }
  10621. },
  10622. "/Qhj/QueryAreaFinanceConfig": {
  10623. "get": {
  10624. "security": [
  10625. {
  10626. "ApiKeyAuth": []
  10627. }
  10628. ],
  10629. "produces": [
  10630. "application/json"
  10631. ],
  10632. "tags": [
  10633. "大连千海金"
  10634. ],
  10635. "summary": "查询企业配置表",
  10636. "parameters": [
  10637. {
  10638. "type": "integer",
  10639. "description": "机构用户ID 其他做市关系,都设置为 1",
  10640. "name": "userid",
  10641. "in": "query"
  10642. }
  10643. ],
  10644. "responses": {
  10645. "200": {
  10646. "description": "OK",
  10647. "schema": {
  10648. "type": "array",
  10649. "items": {
  10650. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  10651. }
  10652. }
  10653. },
  10654. "500": {
  10655. "description": "Internal Server Error",
  10656. "schema": {
  10657. "$ref": "#/definitions/app.Response"
  10658. }
  10659. }
  10660. }
  10661. }
  10662. },
  10663. "/Qhj/QueryBankAccountSign": {
  10664. "get": {
  10665. "security": [
  10666. {
  10667. "ApiKeyAuth": []
  10668. }
  10669. ],
  10670. "produces": [
  10671. "application/json"
  10672. ],
  10673. "tags": [
  10674. "大连千海金"
  10675. ],
  10676. "summary": "查询签约银行信息(提现账户管理)",
  10677. "parameters": [
  10678. {
  10679. "type": "integer",
  10680. "description": "用户ID",
  10681. "name": "userid",
  10682. "in": "query",
  10683. "required": true
  10684. }
  10685. ],
  10686. "responses": {
  10687. "200": {
  10688. "description": "OK",
  10689. "schema": {
  10690. "type": "array",
  10691. "items": {
  10692. "$ref": "#/definitions/models.QhjBankAccountSign"
  10693. }
  10694. }
  10695. },
  10696. "500": {
  10697. "description": "Internal Server Error",
  10698. "schema": {
  10699. "$ref": "#/definitions/app.Response"
  10700. }
  10701. }
  10702. }
  10703. }
  10704. },
  10705. "/Qhj/QueryBankInfo": {
  10706. "get": {
  10707. "security": [
  10708. {
  10709. "ApiKeyAuth": []
  10710. }
  10711. ],
  10712. "produces": [
  10713. "application/json"
  10714. ],
  10715. "tags": [
  10716. "大连千海金"
  10717. ],
  10718. "summary": "查询开户行",
  10719. "responses": {
  10720. "200": {
  10721. "description": "OK",
  10722. "schema": {
  10723. "type": "array",
  10724. "items": {
  10725. "$ref": "#/definitions/models.QhjBankInfo"
  10726. }
  10727. }
  10728. },
  10729. "500": {
  10730. "description": "Internal Server Error",
  10731. "schema": {
  10732. "$ref": "#/definitions/app.Response"
  10733. }
  10734. }
  10735. }
  10736. }
  10737. },
  10738. "/Qhj/QueryBrokerApply": {
  10739. "get": {
  10740. "security": [
  10741. {
  10742. "ApiKeyAuth": []
  10743. }
  10744. ],
  10745. "produces": [
  10746. "application/json"
  10747. ],
  10748. "tags": [
  10749. "大连千海金"
  10750. ],
  10751. "summary": "查询经纪人申请",
  10752. "parameters": [
  10753. {
  10754. "type": "integer",
  10755. "description": "所属机构ID",
  10756. "name": "userid",
  10757. "in": "query"
  10758. },
  10759. {
  10760. "type": "string",
  10761. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10762. "name": "filterstatus",
  10763. "in": "query"
  10764. }
  10765. ],
  10766. "responses": {
  10767. "200": {
  10768. "description": "OK",
  10769. "schema": {
  10770. "type": "array",
  10771. "items": {
  10772. "$ref": "#/definitions/models.QhjBrokerApply"
  10773. }
  10774. }
  10775. },
  10776. "500": {
  10777. "description": "Internal Server Error",
  10778. "schema": {
  10779. "$ref": "#/definitions/app.Response"
  10780. }
  10781. }
  10782. }
  10783. }
  10784. },
  10785. "/Qhj/QueryBrokerApplyEx": {
  10786. "get": {
  10787. "security": [
  10788. {
  10789. "ApiKeyAuth": []
  10790. }
  10791. ],
  10792. "produces": [
  10793. "application/json"
  10794. ],
  10795. "tags": [
  10796. "大连千海金"
  10797. ],
  10798. "summary": "查询经纪人信息和申请记录",
  10799. "parameters": [
  10800. {
  10801. "type": "integer",
  10802. "description": "所属机构ID",
  10803. "name": "userid",
  10804. "in": "query"
  10805. }
  10806. ],
  10807. "responses": {
  10808. "200": {
  10809. "description": "OK",
  10810. "schema": {
  10811. "type": "array",
  10812. "items": {
  10813. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  10814. }
  10815. }
  10816. },
  10817. "500": {
  10818. "description": "Internal Server Error",
  10819. "schema": {
  10820. "$ref": "#/definitions/app.Response"
  10821. }
  10822. }
  10823. }
  10824. }
  10825. },
  10826. "/Qhj/QueryBrokerRewardLog": {
  10827. "get": {
  10828. "security": [
  10829. {
  10830. "ApiKeyAuth": []
  10831. }
  10832. ],
  10833. "produces": [
  10834. "application/json"
  10835. ],
  10836. "tags": [
  10837. "大连千海金"
  10838. ],
  10839. "summary": "查询奖励流水(我的奖励)",
  10840. "parameters": [
  10841. {
  10842. "type": "integer",
  10843. "description": "用户ID",
  10844. "name": "userid",
  10845. "in": "query",
  10846. "required": true
  10847. },
  10848. {
  10849. "type": "string",
  10850. "description": "开始交易日(yyyymmdd)",
  10851. "name": "begindate",
  10852. "in": "query"
  10853. },
  10854. {
  10855. "type": "string",
  10856. "description": "结束交易日(yyyymmdd)",
  10857. "name": "enddate",
  10858. "in": "query"
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "type": "array",
  10866. "items": {
  10867. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10868. }
  10869. }
  10870. },
  10871. "500": {
  10872. "description": "Internal Server Error",
  10873. "schema": {
  10874. "$ref": "#/definitions/app.Response"
  10875. }
  10876. }
  10877. }
  10878. }
  10879. },
  10880. "/Qhj/QueryContract": {
  10881. "get": {
  10882. "security": [
  10883. {
  10884. "ApiKeyAuth": []
  10885. }
  10886. ],
  10887. "produces": [
  10888. "application/json"
  10889. ],
  10890. "tags": [
  10891. "大连千海金"
  10892. ],
  10893. "summary": "查询融资明细(合同)",
  10894. "parameters": [
  10895. {
  10896. "type": "integer",
  10897. "description": "用户ID",
  10898. "name": "userid",
  10899. "in": "query"
  10900. },
  10901. {
  10902. "type": "integer",
  10903. "description": "scf合同id",
  10904. "name": "scfcontractid",
  10905. "in": "query"
  10906. }
  10907. ],
  10908. "responses": {
  10909. "200": {
  10910. "description": "OK",
  10911. "schema": {
  10912. "type": "array",
  10913. "items": {
  10914. "$ref": "#/definitions/models.QhjContract"
  10915. }
  10916. }
  10917. },
  10918. "500": {
  10919. "description": "Internal Server Error",
  10920. "schema": {
  10921. "$ref": "#/definitions/app.Response"
  10922. }
  10923. }
  10924. }
  10925. }
  10926. },
  10927. "/Qhj/QueryContractLog": {
  10928. "get": {
  10929. "security": [
  10930. {
  10931. "ApiKeyAuth": []
  10932. }
  10933. ],
  10934. "produces": [
  10935. "application/json"
  10936. ],
  10937. "tags": [
  10938. "大连千海金"
  10939. ],
  10940. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10941. "parameters": [
  10942. {
  10943. "type": "integer",
  10944. "description": "scf合同id",
  10945. "name": "scfcontractid",
  10946. "in": "query",
  10947. "required": true
  10948. },
  10949. {
  10950. "type": "string",
  10951. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10952. "name": "amounttype",
  10953. "in": "query"
  10954. }
  10955. ],
  10956. "responses": {
  10957. "200": {
  10958. "description": "OK",
  10959. "schema": {
  10960. "type": "array",
  10961. "items": {
  10962. "$ref": "#/definitions/models.QhjContractLog"
  10963. }
  10964. }
  10965. },
  10966. "500": {
  10967. "description": "Internal Server Error",
  10968. "schema": {
  10969. "$ref": "#/definitions/app.Response"
  10970. }
  10971. }
  10972. }
  10973. }
  10974. },
  10975. "/Qhj/QueryCusBankSignBank": {
  10976. "get": {
  10977. "security": [
  10978. {
  10979. "ApiKeyAuth": []
  10980. }
  10981. ],
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "大连千海金"
  10987. ],
  10988. "summary": "查询托管银行",
  10989. "responses": {
  10990. "200": {
  10991. "description": "OK",
  10992. "schema": {
  10993. "type": "array",
  10994. "items": {
  10995. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10996. }
  10997. }
  10998. },
  10999. "500": {
  11000. "description": "Internal Server Error",
  11001. "schema": {
  11002. "$ref": "#/definitions/app.Response"
  11003. }
  11004. }
  11005. }
  11006. }
  11007. },
  11008. "/Qhj/QueryCustomerInfo": {
  11009. "get": {
  11010. "security": [
  11011. {
  11012. "ApiKeyAuth": []
  11013. }
  11014. ],
  11015. "produces": [
  11016. "application/json"
  11017. ],
  11018. "tags": [
  11019. "大连千海金"
  11020. ],
  11021. "summary": "查询客户资料",
  11022. "parameters": [
  11023. {
  11024. "type": "integer",
  11025. "description": "用户ID",
  11026. "name": "userid",
  11027. "in": "query",
  11028. "required": true
  11029. },
  11030. {
  11031. "type": "integer",
  11032. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11033. "name": "querytype",
  11034. "in": "query",
  11035. "required": true
  11036. },
  11037. {
  11038. "type": "integer",
  11039. "description": "客户类型 1-个人 2-企业",
  11040. "name": "userinfotype",
  11041. "in": "query"
  11042. },
  11043. {
  11044. "type": "string",
  11045. "description": "客户名称(模糊匹配)",
  11046. "name": "customername",
  11047. "in": "query"
  11048. },
  11049. {
  11050. "type": "string",
  11051. "description": "昵称(模糊匹配)",
  11052. "name": "nickname",
  11053. "in": "query"
  11054. },
  11055. {
  11056. "type": "integer",
  11057. "description": "是否包含子级 1-包含",
  11058. "name": "includesub",
  11059. "in": "query"
  11060. }
  11061. ],
  11062. "responses": {
  11063. "200": {
  11064. "description": "OK",
  11065. "schema": {
  11066. "type": "array",
  11067. "items": {
  11068. "$ref": "#/definitions/models.QhjCustomer"
  11069. }
  11070. }
  11071. },
  11072. "500": {
  11073. "description": "Internal Server Error",
  11074. "schema": {
  11075. "$ref": "#/definitions/app.Response"
  11076. }
  11077. }
  11078. }
  11079. }
  11080. },
  11081. "/Qhj/QueryGoodsEx": {
  11082. "get": {
  11083. "security": [
  11084. {
  11085. "ApiKeyAuth": []
  11086. }
  11087. ],
  11088. "produces": [
  11089. "application/json"
  11090. ],
  11091. "tags": [
  11092. "大连千海金"
  11093. ],
  11094. "summary": "交易商品扩展表",
  11095. "parameters": [
  11096. {
  11097. "type": "integer",
  11098. "description": "商品id",
  11099. "name": "goodsid",
  11100. "in": "query"
  11101. }
  11102. ],
  11103. "responses": {
  11104. "200": {
  11105. "description": "OK",
  11106. "schema": {
  11107. "type": "array",
  11108. "items": {
  11109. "$ref": "#/definitions/models.Qhjgoodsex"
  11110. }
  11111. }
  11112. },
  11113. "500": {
  11114. "description": "Internal Server Error",
  11115. "schema": {
  11116. "$ref": "#/definitions/app.Response"
  11117. }
  11118. }
  11119. }
  11120. }
  11121. },
  11122. "/Qhj/QueryMyTeam": {
  11123. "get": {
  11124. "security": [
  11125. {
  11126. "ApiKeyAuth": []
  11127. }
  11128. ],
  11129. "produces": [
  11130. "application/json"
  11131. ],
  11132. "tags": [
  11133. "大连千海金"
  11134. ],
  11135. "summary": "查询我的团队",
  11136. "parameters": [
  11137. {
  11138. "type": "integer",
  11139. "description": "用户ID",
  11140. "name": "userid",
  11141. "in": "query",
  11142. "required": true
  11143. }
  11144. ],
  11145. "responses": {
  11146. "200": {
  11147. "description": "OK",
  11148. "schema": {
  11149. "type": "array",
  11150. "items": {
  11151. "$ref": "#/definitions/models.QhjMyTeamEx"
  11152. }
  11153. }
  11154. },
  11155. "500": {
  11156. "description": "Internal Server Error",
  11157. "schema": {
  11158. "$ref": "#/definitions/app.Response"
  11159. }
  11160. }
  11161. }
  11162. }
  11163. },
  11164. "/Qhj/QueryMyTeamOrder": {
  11165. "get": {
  11166. "security": [
  11167. {
  11168. "ApiKeyAuth": []
  11169. }
  11170. ],
  11171. "produces": [
  11172. "application/json"
  11173. ],
  11174. "tags": [
  11175. "大连千海金"
  11176. ],
  11177. "summary": "查询团队订单(我的团队/团队订单)",
  11178. "parameters": [
  11179. {
  11180. "type": "integer",
  11181. "description": "页码",
  11182. "name": "page",
  11183. "in": "query"
  11184. },
  11185. {
  11186. "type": "integer",
  11187. "description": "每页条数",
  11188. "name": "pagesize",
  11189. "in": "query"
  11190. },
  11191. {
  11192. "type": "integer",
  11193. "description": "用户ID",
  11194. "name": "userid",
  11195. "in": "query",
  11196. "required": true
  11197. },
  11198. {
  11199. "type": "integer",
  11200. "description": "交易模式",
  11201. "name": "trademode",
  11202. "in": "query"
  11203. },
  11204. {
  11205. "type": "string",
  11206. "description": "名称(模糊搜索账户)",
  11207. "name": "filtername",
  11208. "in": "query"
  11209. }
  11210. ],
  11211. "responses": {
  11212. "200": {
  11213. "description": "OK",
  11214. "schema": {
  11215. "type": "array",
  11216. "items": {
  11217. "$ref": "#/definitions/models.QhjTeamOrder"
  11218. }
  11219. }
  11220. },
  11221. "500": {
  11222. "description": "Internal Server Error",
  11223. "schema": {
  11224. "$ref": "#/definitions/app.Response"
  11225. }
  11226. }
  11227. }
  11228. }
  11229. },
  11230. "/Qhj/QueryParentAreaList": {
  11231. "get": {
  11232. "security": [
  11233. {
  11234. "ApiKeyAuth": []
  11235. }
  11236. ],
  11237. "produces": [
  11238. "application/json"
  11239. ],
  11240. "tags": [
  11241. "大连千海金"
  11242. ],
  11243. "summary": "查询所属机构列表",
  11244. "parameters": [
  11245. {
  11246. "type": "integer",
  11247. "description": "用户ID",
  11248. "name": "userid",
  11249. "in": "query",
  11250. "required": true
  11251. }
  11252. ],
  11253. "responses": {
  11254. "200": {
  11255. "description": "OK",
  11256. "schema": {
  11257. "type": "array",
  11258. "items": {
  11259. "$ref": "#/definitions/models.QhjParentAreaList"
  11260. }
  11261. }
  11262. },
  11263. "500": {
  11264. "description": "Internal Server Error",
  11265. "schema": {
  11266. "$ref": "#/definitions/app.Response"
  11267. }
  11268. }
  11269. }
  11270. }
  11271. },
  11272. "/Qhj/QueryPayOrder": {
  11273. "get": {
  11274. "security": [
  11275. {
  11276. "ApiKeyAuth": []
  11277. }
  11278. ],
  11279. "produces": [
  11280. "application/json"
  11281. ],
  11282. "tags": [
  11283. "大连千海金"
  11284. ],
  11285. "summary": "查询待付款单据",
  11286. "parameters": [
  11287. {
  11288. "type": "integer",
  11289. "description": "资金账号id",
  11290. "name": "accountid",
  11291. "in": "query",
  11292. "required": true
  11293. },
  11294. {
  11295. "type": "integer",
  11296. "description": "成交单号",
  11297. "name": "tradeid",
  11298. "in": "query"
  11299. },
  11300. {
  11301. "type": "string",
  11302. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11303. "name": "payflag",
  11304. "in": "query"
  11305. }
  11306. ],
  11307. "responses": {
  11308. "200": {
  11309. "description": "OK",
  11310. "schema": {
  11311. "type": "array",
  11312. "items": {
  11313. "$ref": "#/definitions/models.QhjPayOrder"
  11314. }
  11315. }
  11316. },
  11317. "500": {
  11318. "description": "Internal Server Error",
  11319. "schema": {
  11320. "$ref": "#/definitions/app.Response"
  11321. }
  11322. }
  11323. }
  11324. }
  11325. },
  11326. "/Qhj/QueryPickArea": {
  11327. "get": {
  11328. "security": [
  11329. {
  11330. "ApiKeyAuth": []
  11331. }
  11332. ],
  11333. "produces": [
  11334. "application/json"
  11335. ],
  11336. "tags": [
  11337. "大连千海金"
  11338. ],
  11339. "summary": "查询提货门店",
  11340. "parameters": [
  11341. {
  11342. "type": "integer",
  11343. "description": "用户ID",
  11344. "name": "userid",
  11345. "in": "query"
  11346. }
  11347. ],
  11348. "responses": {
  11349. "200": {
  11350. "description": "OK",
  11351. "schema": {
  11352. "type": "array",
  11353. "items": {
  11354. "$ref": "#/definitions/models.QhjPickArea"
  11355. }
  11356. }
  11357. },
  11358. "500": {
  11359. "description": "Internal Server Error",
  11360. "schema": {
  11361. "$ref": "#/definitions/app.Response"
  11362. }
  11363. }
  11364. }
  11365. }
  11366. },
  11367. "/Qhj/QueryPickGoods": {
  11368. "get": {
  11369. "security": [
  11370. {
  11371. "ApiKeyAuth": []
  11372. }
  11373. ],
  11374. "produces": [
  11375. "application/json"
  11376. ],
  11377. "tags": [
  11378. "大连千海金"
  11379. ],
  11380. "summary": "查询提货商品",
  11381. "parameters": [
  11382. {
  11383. "type": "integer",
  11384. "description": "交易商品id",
  11385. "name": "goodsid",
  11386. "in": "query",
  11387. "required": true
  11388. },
  11389. {
  11390. "type": "string",
  11391. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11392. "name": "status",
  11393. "in": "query"
  11394. }
  11395. ],
  11396. "responses": {
  11397. "200": {
  11398. "description": "OK",
  11399. "schema": {
  11400. "type": "array",
  11401. "items": {
  11402. "$ref": "#/definitions/models.QhjPickGoods"
  11403. }
  11404. }
  11405. },
  11406. "500": {
  11407. "description": "Internal Server Error",
  11408. "schema": {
  11409. "$ref": "#/definitions/app.Response"
  11410. }
  11411. }
  11412. }
  11413. }
  11414. },
  11415. "/Qhj/QueryRSTriggerLog": {
  11416. "get": {
  11417. "security": [
  11418. {
  11419. "ApiKeyAuth": []
  11420. }
  11421. ],
  11422. "produces": [
  11423. "application/json"
  11424. ],
  11425. "tags": [
  11426. "大连千海金"
  11427. ],
  11428. "summary": "查询定投记录(定投管理/详情/定投记录)",
  11429. "parameters": [
  11430. {
  11431. "type": "integer",
  11432. "description": "用户ID",
  11433. "name": "userid",
  11434. "in": "query"
  11435. },
  11436. {
  11437. "type": "integer",
  11438. "description": "定投策略id",
  11439. "name": "regularlystrategyid",
  11440. "in": "query"
  11441. },
  11442. {
  11443. "type": "integer",
  11444. "description": "商品id",
  11445. "name": "goodsid",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "string",
  11450. "description": "开始交易日(yyyymmdd)",
  11451. "name": "begindate",
  11452. "in": "query"
  11453. },
  11454. {
  11455. "type": "string",
  11456. "description": "结束交易日(yyyymmdd)",
  11457. "name": "enddate",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "string",
  11462. "description": "名称(模糊搜索账户)",
  11463. "name": "filtername",
  11464. "in": "query"
  11465. }
  11466. ],
  11467. "responses": {
  11468. "200": {
  11469. "description": "OK",
  11470. "schema": {
  11471. "type": "array",
  11472. "items": {
  11473. "$ref": "#/definitions/models.QhjRSTriggerLog"
  11474. }
  11475. }
  11476. },
  11477. "500": {
  11478. "description": "Internal Server Error",
  11479. "schema": {
  11480. "$ref": "#/definitions/app.Response"
  11481. }
  11482. }
  11483. }
  11484. }
  11485. },
  11486. "/Qhj/QueryRStrategy": {
  11487. "get": {
  11488. "security": [
  11489. {
  11490. "ApiKeyAuth": []
  11491. }
  11492. ],
  11493. "produces": [
  11494. "application/json"
  11495. ],
  11496. "tags": [
  11497. "大连千海金"
  11498. ],
  11499. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  11500. "parameters": [
  11501. {
  11502. "type": "integer",
  11503. "description": "用户ID",
  11504. "name": "userid",
  11505. "in": "query"
  11506. },
  11507. {
  11508. "type": "integer",
  11509. "description": "商品id",
  11510. "name": "goodsid",
  11511. "in": "query"
  11512. },
  11513. {
  11514. "type": "string",
  11515. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  11516. "name": "status",
  11517. "in": "query"
  11518. },
  11519. {
  11520. "type": "string",
  11521. "description": "名称(模糊搜索账户)",
  11522. "name": "filtername",
  11523. "in": "query"
  11524. }
  11525. ],
  11526. "responses": {
  11527. "200": {
  11528. "description": "OK",
  11529. "schema": {
  11530. "type": "array",
  11531. "items": {
  11532. "$ref": "#/definitions/models.QhjRStrategy"
  11533. }
  11534. }
  11535. },
  11536. "500": {
  11537. "description": "Internal Server Error",
  11538. "schema": {
  11539. "$ref": "#/definitions/app.Response"
  11540. }
  11541. }
  11542. }
  11543. }
  11544. },
  11545. "/Qhj/QueryReckonPriceLog": {
  11546. "get": {
  11547. "security": [
  11548. {
  11549. "ApiKeyAuth": []
  11550. }
  11551. ],
  11552. "produces": [
  11553. "application/json"
  11554. ],
  11555. "tags": [
  11556. "大连千海金"
  11557. ],
  11558. "summary": "查询定投价(结算价)",
  11559. "parameters": [
  11560. {
  11561. "type": "integer",
  11562. "description": "商品ID",
  11563. "name": "goodsid",
  11564. "in": "query"
  11565. },
  11566. {
  11567. "type": "string",
  11568. "description": "交易日 格式(yyyymmdd)",
  11569. "name": "tradedate",
  11570. "in": "query"
  11571. }
  11572. ],
  11573. "responses": {
  11574. "200": {
  11575. "description": "OK",
  11576. "schema": {
  11577. "type": "array",
  11578. "items": {
  11579. "$ref": "#/definitions/models.QhjReckonPriceLog"
  11580. }
  11581. }
  11582. },
  11583. "500": {
  11584. "description": "Internal Server Error",
  11585. "schema": {
  11586. "$ref": "#/definitions/app.Response"
  11587. }
  11588. }
  11589. }
  11590. }
  11591. },
  11592. "/Qhj/QueryScoreLog": {
  11593. "get": {
  11594. "security": [
  11595. {
  11596. "ApiKeyAuth": []
  11597. }
  11598. ],
  11599. "produces": [
  11600. "application/json"
  11601. ],
  11602. "tags": [
  11603. "大连千海金"
  11604. ],
  11605. "summary": "查询积分流水(我的积分)",
  11606. "parameters": [
  11607. {
  11608. "type": "integer",
  11609. "description": "用户ID",
  11610. "name": "userid",
  11611. "in": "query",
  11612. "required": true
  11613. },
  11614. {
  11615. "type": "string",
  11616. "description": "开始交易日(yyyymmdd)",
  11617. "name": "begindate",
  11618. "in": "query"
  11619. },
  11620. {
  11621. "type": "string",
  11622. "description": "结束交易日(yyyymmdd)",
  11623. "name": "enddate",
  11624. "in": "query"
  11625. },
  11626. {
  11627. "type": "integer",
  11628. "description": "最近多少条",
  11629. "name": "lastnum",
  11630. "in": "query"
  11631. }
  11632. ],
  11633. "responses": {
  11634. "200": {
  11635. "description": "OK",
  11636. "schema": {
  11637. "type": "array",
  11638. "items": {
  11639. "$ref": "#/definitions/models.QhjScoreLog"
  11640. }
  11641. }
  11642. },
  11643. "500": {
  11644. "description": "Internal Server Error",
  11645. "schema": {
  11646. "$ref": "#/definitions/app.Response"
  11647. }
  11648. }
  11649. }
  11650. }
  11651. },
  11652. "/Qhj/QuerySiteColumnDetail": {
  11653. "get": {
  11654. "security": [
  11655. {
  11656. "ApiKeyAuth": []
  11657. }
  11658. ],
  11659. "produces": [
  11660. "application/json"
  11661. ],
  11662. "tags": [
  11663. "大连千海金"
  11664. ],
  11665. "summary": "查询资讯",
  11666. "parameters": [
  11667. {
  11668. "type": "integer",
  11669. "description": "用户ID",
  11670. "name": "userid",
  11671. "in": "query",
  11672. "required": true
  11673. }
  11674. ],
  11675. "responses": {
  11676. "200": {
  11677. "description": "OK",
  11678. "schema": {
  11679. "type": "array",
  11680. "items": {
  11681. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  11682. }
  11683. }
  11684. },
  11685. "500": {
  11686. "description": "Internal Server Error",
  11687. "schema": {
  11688. "$ref": "#/definitions/app.Response"
  11689. }
  11690. }
  11691. }
  11692. }
  11693. },
  11694. "/Qhj/QueryTradeGoodsPickup": {
  11695. "get": {
  11696. "security": [
  11697. {
  11698. "ApiKeyAuth": []
  11699. }
  11700. ],
  11701. "produces": [
  11702. "application/json"
  11703. ],
  11704. "tags": [
  11705. "大连千海金"
  11706. ],
  11707. "summary": "查询提货",
  11708. "parameters": [
  11709. {
  11710. "type": "integer",
  11711. "description": "用户ID",
  11712. "name": "userid",
  11713. "in": "query",
  11714. "required": true
  11715. },
  11716. {
  11717. "type": "integer",
  11718. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  11719. "name": "takeorderstatus",
  11720. "in": "query"
  11721. }
  11722. ],
  11723. "responses": {
  11724. "200": {
  11725. "description": "OK",
  11726. "schema": {
  11727. "type": "array",
  11728. "items": {
  11729. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  11730. }
  11731. }
  11732. },
  11733. "500": {
  11734. "description": "Internal Server Error",
  11735. "schema": {
  11736. "$ref": "#/definitions/app.Response"
  11737. }
  11738. }
  11739. }
  11740. }
  11741. },
  11742. "/Qhj/QueryUserCollectConfig": {
  11743. "get": {
  11744. "security": [
  11745. {
  11746. "ApiKeyAuth": []
  11747. }
  11748. ],
  11749. "produces": [
  11750. "application/json"
  11751. ],
  11752. "tags": [
  11753. "大连千海金"
  11754. ],
  11755. "summary": "查询提现账户设置",
  11756. "parameters": [
  11757. {
  11758. "type": "integer",
  11759. "description": "用户ID",
  11760. "name": "userid",
  11761. "in": "query",
  11762. "required": true
  11763. }
  11764. ],
  11765. "responses": {
  11766. "200": {
  11767. "description": "OK",
  11768. "schema": {
  11769. "type": "array",
  11770. "items": {
  11771. "$ref": "#/definitions/models.UserCollectConfig"
  11772. }
  11773. }
  11774. },
  11775. "500": {
  11776. "description": "Internal Server Error",
  11777. "schema": {
  11778. "$ref": "#/definitions/app.Response"
  11779. }
  11780. }
  11781. }
  11782. }
  11783. },
  11784. "/Qhj/QueryUserReceiveInfo": {
  11785. "get": {
  11786. "security": [
  11787. {
  11788. "ApiKeyAuth": []
  11789. }
  11790. ],
  11791. "produces": [
  11792. "application/json"
  11793. ],
  11794. "tags": [
  11795. "大连千海金"
  11796. ],
  11797. "summary": "查询收货地址信息",
  11798. "parameters": [
  11799. {
  11800. "type": "integer",
  11801. "description": "用户ID",
  11802. "name": "userid",
  11803. "in": "query",
  11804. "required": true
  11805. }
  11806. ],
  11807. "responses": {
  11808. "200": {
  11809. "description": "OK",
  11810. "schema": {
  11811. "type": "array",
  11812. "items": {
  11813. "$ref": "#/definitions/models.UserReceiveInfo"
  11814. }
  11815. }
  11816. },
  11817. "500": {
  11818. "description": "Internal Server Error",
  11819. "schema": {
  11820. "$ref": "#/definitions/app.Response"
  11821. }
  11822. }
  11823. }
  11824. }
  11825. },
  11826. "/QhjMgr/QueryAccountInOutApply": {
  11827. "get": {
  11828. "security": [
  11829. {
  11830. "ApiKeyAuth": []
  11831. }
  11832. ],
  11833. "produces": [
  11834. "application/json"
  11835. ],
  11836. "tags": [
  11837. "大连千海金(PCWeb)"
  11838. ],
  11839. "summary": "查询充值提现",
  11840. "parameters": [
  11841. {
  11842. "type": "integer",
  11843. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  11844. "name": "querytype",
  11845. "in": "query",
  11846. "required": true
  11847. },
  11848. {
  11849. "type": "integer",
  11850. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  11851. "name": "applystatus",
  11852. "in": "query"
  11853. },
  11854. {
  11855. "type": "string",
  11856. "description": "申请起始日期(格式yyyymmdd)",
  11857. "name": "begindate",
  11858. "in": "query"
  11859. },
  11860. {
  11861. "type": "string",
  11862. "description": "申请截止日期(格式yyyymmdd)",
  11863. "name": "enddate",
  11864. "in": "query"
  11865. },
  11866. {
  11867. "type": "string",
  11868. "description": "模糊搜索名称",
  11869. "name": "likename",
  11870. "in": "query"
  11871. }
  11872. ],
  11873. "responses": {
  11874. "200": {
  11875. "description": "OK",
  11876. "schema": {
  11877. "type": "array",
  11878. "items": {
  11879. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11880. }
  11881. }
  11882. },
  11883. "500": {
  11884. "description": "Internal Server Error",
  11885. "schema": {
  11886. "$ref": "#/definitions/app.Response"
  11887. }
  11888. }
  11889. }
  11890. }
  11891. },
  11892. "/QhjMgr/QueryBrokerApply": {
  11893. "get": {
  11894. "security": [
  11895. {
  11896. "ApiKeyAuth": []
  11897. }
  11898. ],
  11899. "produces": [
  11900. "application/json"
  11901. ],
  11902. "tags": [
  11903. "大连千海金(PCWeb)"
  11904. ],
  11905. "summary": "查询经纪人申请",
  11906. "parameters": [
  11907. {
  11908. "type": "integer",
  11909. "description": "所属机构ID",
  11910. "name": "userid",
  11911. "in": "query"
  11912. },
  11913. {
  11914. "type": "string",
  11915. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11916. "name": "filterstatus",
  11917. "in": "query"
  11918. },
  11919. {
  11920. "type": "string",
  11921. "description": "名称(模糊匹配)",
  11922. "name": "filtername",
  11923. "in": "query"
  11924. },
  11925. {
  11926. "type": "integer",
  11927. "description": "是否包含子级 1-包含",
  11928. "name": "includesub",
  11929. "in": "query"
  11930. }
  11931. ],
  11932. "responses": {
  11933. "200": {
  11934. "description": "OK",
  11935. "schema": {
  11936. "type": "array",
  11937. "items": {
  11938. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11939. }
  11940. }
  11941. },
  11942. "500": {
  11943. "description": "Internal Server Error",
  11944. "schema": {
  11945. "$ref": "#/definitions/app.Response"
  11946. }
  11947. }
  11948. }
  11949. }
  11950. },
  11951. "/QhjMgr/QueryBrokerRewardReport": {
  11952. "get": {
  11953. "security": [
  11954. {
  11955. "ApiKeyAuth": []
  11956. }
  11957. ],
  11958. "produces": [
  11959. "application/json"
  11960. ],
  11961. "tags": [
  11962. "大连千海金(PCWeb)"
  11963. ],
  11964. "summary": "查询经纪人奖励报表(废弃)",
  11965. "parameters": [
  11966. {
  11967. "type": "integer",
  11968. "description": "所属机构ID",
  11969. "name": "userid",
  11970. "in": "query",
  11971. "required": true
  11972. },
  11973. {
  11974. "type": "integer",
  11975. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11976. "name": "cycletype",
  11977. "in": "query",
  11978. "required": true
  11979. },
  11980. {
  11981. "type": "string",
  11982. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11983. "name": "cycletime",
  11984. "in": "query",
  11985. "required": true
  11986. },
  11987. {
  11988. "type": "string",
  11989. "description": "名称(模糊匹配)",
  11990. "name": "filtername",
  11991. "in": "query"
  11992. },
  11993. {
  11994. "type": "integer",
  11995. "description": "是否包含子级 1-包含",
  11996. "name": "includesub",
  11997. "in": "query"
  11998. }
  11999. ],
  12000. "responses": {
  12001. "200": {
  12002. "description": "OK",
  12003. "schema": {
  12004. "type": "array",
  12005. "items": {
  12006. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  12007. }
  12008. }
  12009. },
  12010. "500": {
  12011. "description": "Internal Server Error",
  12012. "schema": {
  12013. "$ref": "#/definitions/app.Response"
  12014. }
  12015. }
  12016. }
  12017. }
  12018. },
  12019. "/QhjMgr/QueryContract": {
  12020. "get": {
  12021. "security": [
  12022. {
  12023. "ApiKeyAuth": []
  12024. }
  12025. ],
  12026. "produces": [
  12027. "application/json"
  12028. ],
  12029. "tags": [
  12030. "大连千海金(PCWeb)"
  12031. ],
  12032. "summary": "查询融资信息(合同)",
  12033. "parameters": [
  12034. {
  12035. "type": "integer",
  12036. "description": "用户ID",
  12037. "name": "userid",
  12038. "in": "query"
  12039. },
  12040. {
  12041. "type": "integer",
  12042. "description": "商品id",
  12043. "name": "goodsid",
  12044. "in": "query"
  12045. },
  12046. {
  12047. "type": "string",
  12048. "description": "名称(模糊搜索账户)",
  12049. "name": "filtername",
  12050. "in": "query"
  12051. },
  12052. {
  12053. "type": "string",
  12054. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  12055. "name": "risklevel",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "string",
  12060. "description": "开始交易日(yyyymmdd)",
  12061. "name": "begindate",
  12062. "in": "query"
  12063. },
  12064. {
  12065. "type": "string",
  12066. "description": "结束交易日(yyyymmdd)",
  12067. "name": "enddate",
  12068. "in": "query"
  12069. }
  12070. ],
  12071. "responses": {
  12072. "200": {
  12073. "description": "OK",
  12074. "schema": {
  12075. "type": "array",
  12076. "items": {
  12077. "$ref": "#/definitions/models.QhjMgrContract"
  12078. }
  12079. }
  12080. },
  12081. "500": {
  12082. "description": "Internal Server Error",
  12083. "schema": {
  12084. "$ref": "#/definitions/app.Response"
  12085. }
  12086. }
  12087. }
  12088. }
  12089. },
  12090. "/QhjMgr/QueryCustomerInfo": {
  12091. "get": {
  12092. "security": [
  12093. {
  12094. "ApiKeyAuth": []
  12095. }
  12096. ],
  12097. "produces": [
  12098. "application/json"
  12099. ],
  12100. "tags": [
  12101. "大连千海金(PCWeb)"
  12102. ],
  12103. "summary": "查询客户资料",
  12104. "parameters": [
  12105. {
  12106. "type": "integer",
  12107. "description": "用户ID",
  12108. "name": "userid",
  12109. "in": "query",
  12110. "required": true
  12111. },
  12112. {
  12113. "type": "integer",
  12114. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  12115. "name": "querytype",
  12116. "in": "query",
  12117. "required": true
  12118. },
  12119. {
  12120. "type": "integer",
  12121. "description": "客户类型 1-个人 2-企业",
  12122. "name": "userinfotype",
  12123. "in": "query"
  12124. },
  12125. {
  12126. "type": "string",
  12127. "description": "客户名称(模糊匹配)",
  12128. "name": "customername",
  12129. "in": "query"
  12130. },
  12131. {
  12132. "type": "string",
  12133. "description": "昵称(模糊匹配)",
  12134. "name": "nickname",
  12135. "in": "query"
  12136. },
  12137. {
  12138. "type": "string",
  12139. "description": "所属客户经理(模糊匹配)",
  12140. "name": "brokername",
  12141. "in": "query"
  12142. },
  12143. {
  12144. "type": "string",
  12145. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  12146. "name": "birthday",
  12147. "in": "query"
  12148. },
  12149. {
  12150. "type": "integer",
  12151. "description": "是否包含子级 1-包含",
  12152. "name": "includesub",
  12153. "in": "query"
  12154. }
  12155. ],
  12156. "responses": {
  12157. "200": {
  12158. "description": "OK",
  12159. "schema": {
  12160. "type": "array",
  12161. "items": {
  12162. "$ref": "#/definitions/models.QhjMgrCustomer"
  12163. }
  12164. }
  12165. },
  12166. "500": {
  12167. "description": "Internal Server Error",
  12168. "schema": {
  12169. "$ref": "#/definitions/app.Response"
  12170. }
  12171. }
  12172. }
  12173. }
  12174. },
  12175. "/QhjMgr/QueryPickGoods": {
  12176. "get": {
  12177. "security": [
  12178. {
  12179. "ApiKeyAuth": []
  12180. }
  12181. ],
  12182. "produces": [
  12183. "application/json"
  12184. ],
  12185. "tags": [
  12186. "大连千海金(PCWeb)"
  12187. ],
  12188. "summary": "查询提货商品",
  12189. "parameters": [
  12190. {
  12191. "type": "string",
  12192. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  12193. "name": "status",
  12194. "in": "query"
  12195. }
  12196. ],
  12197. "responses": {
  12198. "200": {
  12199. "description": "OK",
  12200. "schema": {
  12201. "type": "array",
  12202. "items": {
  12203. "$ref": "#/definitions/models.QhjMgrPickGoods"
  12204. }
  12205. }
  12206. },
  12207. "500": {
  12208. "description": "Internal Server Error",
  12209. "schema": {
  12210. "$ref": "#/definitions/app.Response"
  12211. }
  12212. }
  12213. }
  12214. }
  12215. },
  12216. "/QhjMgr/QuerySubArea": {
  12217. "get": {
  12218. "security": [
  12219. {
  12220. "ApiKeyAuth": []
  12221. }
  12222. ],
  12223. "produces": [
  12224. "application/json"
  12225. ],
  12226. "tags": [
  12227. "大连千海金(PCWeb)"
  12228. ],
  12229. "summary": "查询子机构列表",
  12230. "parameters": [
  12231. {
  12232. "type": "integer",
  12233. "description": "用户ID",
  12234. "name": "userid",
  12235. "in": "query",
  12236. "required": true
  12237. }
  12238. ],
  12239. "responses": {
  12240. "200": {
  12241. "description": "OK",
  12242. "schema": {
  12243. "type": "array",
  12244. "items": {
  12245. "$ref": "#/definitions/models.QhjMgrSubArea"
  12246. }
  12247. }
  12248. },
  12249. "500": {
  12250. "description": "Internal Server Error",
  12251. "schema": {
  12252. "$ref": "#/definitions/app.Response"
  12253. }
  12254. }
  12255. }
  12256. }
  12257. },
  12258. "/QhjMgr/QueryTradeDetail": {
  12259. "get": {
  12260. "security": [
  12261. {
  12262. "ApiKeyAuth": []
  12263. }
  12264. ],
  12265. "produces": [
  12266. "application/json"
  12267. ],
  12268. "tags": [
  12269. "大连千海金(PCWeb)"
  12270. ],
  12271. "summary": "查询成交明细",
  12272. "parameters": [
  12273. {
  12274. "type": "integer",
  12275. "description": "用户ID",
  12276. "name": "userid",
  12277. "in": "query",
  12278. "required": true
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "用户类型 1-个人 2-企业",
  12283. "name": "userinfotype",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "integer",
  12288. "description": "交易模式",
  12289. "name": "trademode",
  12290. "in": "query"
  12291. },
  12292. {
  12293. "type": "integer",
  12294. "description": "商品id",
  12295. "name": "goodsid",
  12296. "in": "query"
  12297. },
  12298. {
  12299. "type": "string",
  12300. "description": "名称(模糊搜索账户)",
  12301. "name": "filtername",
  12302. "in": "query"
  12303. },
  12304. {
  12305. "type": "string",
  12306. "description": "开始交易日(yyyymmdd)",
  12307. "name": "begindate",
  12308. "in": "query"
  12309. },
  12310. {
  12311. "type": "string",
  12312. "description": "结束交易日(yyyymmdd)",
  12313. "name": "enddate",
  12314. "in": "query"
  12315. },
  12316. {
  12317. "type": "integer",
  12318. "description": "是否包含子级 1-包含",
  12319. "name": "includesub",
  12320. "in": "query"
  12321. }
  12322. ],
  12323. "responses": {
  12324. "200": {
  12325. "description": "OK",
  12326. "schema": {
  12327. "type": "array",
  12328. "items": {
  12329. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  12330. }
  12331. }
  12332. },
  12333. "500": {
  12334. "description": "Internal Server Error",
  12335. "schema": {
  12336. "$ref": "#/definitions/app.Response"
  12337. }
  12338. }
  12339. }
  12340. }
  12341. },
  12342. "/QhjMgr/QueryTradeOrderDetail": {
  12343. "get": {
  12344. "security": [
  12345. {
  12346. "ApiKeyAuth": []
  12347. }
  12348. ],
  12349. "produces": [
  12350. "application/json"
  12351. ],
  12352. "tags": [
  12353. "大连千海金(PCWeb)"
  12354. ],
  12355. "summary": "查询委托明细",
  12356. "parameters": [
  12357. {
  12358. "type": "integer",
  12359. "description": "用户ID",
  12360. "name": "userid",
  12361. "in": "query",
  12362. "required": true
  12363. },
  12364. {
  12365. "type": "integer",
  12366. "description": "用户类型 1-个人 2-企业",
  12367. "name": "userinfotype",
  12368. "in": "query"
  12369. },
  12370. {
  12371. "type": "integer",
  12372. "description": "交易模式",
  12373. "name": "trademode",
  12374. "in": "query"
  12375. },
  12376. {
  12377. "type": "integer",
  12378. "description": "商品id",
  12379. "name": "goodsid",
  12380. "in": "query"
  12381. },
  12382. {
  12383. "type": "string",
  12384. "description": "名称(模糊搜索账户)",
  12385. "name": "filtername",
  12386. "in": "query"
  12387. },
  12388. {
  12389. "type": "string",
  12390. "description": "开始交易日(yyyymmdd)",
  12391. "name": "begindate",
  12392. "in": "query"
  12393. },
  12394. {
  12395. "type": "string",
  12396. "description": "结束交易日(yyyymmdd)",
  12397. "name": "enddate",
  12398. "in": "query"
  12399. },
  12400. {
  12401. "type": "integer",
  12402. "description": "是否包含子级 1-包含",
  12403. "name": "includesub",
  12404. "in": "query"
  12405. }
  12406. ],
  12407. "responses": {
  12408. "200": {
  12409. "description": "OK",
  12410. "schema": {
  12411. "type": "array",
  12412. "items": {
  12413. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  12414. }
  12415. }
  12416. },
  12417. "500": {
  12418. "description": "Internal Server Error",
  12419. "schema": {
  12420. "$ref": "#/definitions/app.Response"
  12421. }
  12422. }
  12423. }
  12424. }
  12425. },
  12426. "/QhjMgr/QueryTradePayOrder": {
  12427. "get": {
  12428. "security": [
  12429. {
  12430. "ApiKeyAuth": []
  12431. }
  12432. ],
  12433. "produces": [
  12434. "application/json"
  12435. ],
  12436. "tags": [
  12437. "大连千海金(PCWeb)"
  12438. ],
  12439. "summary": "查询待付款单",
  12440. "parameters": [
  12441. {
  12442. "type": "integer",
  12443. "description": "用户ID",
  12444. "name": "userid",
  12445. "in": "query",
  12446. "required": true
  12447. },
  12448. {
  12449. "type": "string",
  12450. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12451. "name": "payflag",
  12452. "in": "query"
  12453. },
  12454. {
  12455. "type": "integer",
  12456. "description": "用户类型 1-个人 2-企业",
  12457. "name": "userinfotype",
  12458. "in": "query"
  12459. },
  12460. {
  12461. "type": "integer",
  12462. "description": "交易模式",
  12463. "name": "trademode",
  12464. "in": "query"
  12465. },
  12466. {
  12467. "type": "integer",
  12468. "description": "商品id",
  12469. "name": "goodsid",
  12470. "in": "query"
  12471. },
  12472. {
  12473. "type": "string",
  12474. "description": "名称(模糊搜索账户)",
  12475. "name": "filtername",
  12476. "in": "query"
  12477. },
  12478. {
  12479. "type": "string",
  12480. "description": "开始交易日(yyyymmdd)",
  12481. "name": "begindate",
  12482. "in": "query"
  12483. },
  12484. {
  12485. "type": "string",
  12486. "description": "结束交易日(yyyymmdd)",
  12487. "name": "enddate",
  12488. "in": "query"
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "是否包含子级 1-包含",
  12493. "name": "includesub",
  12494. "in": "query"
  12495. }
  12496. ],
  12497. "responses": {
  12498. "200": {
  12499. "description": "OK",
  12500. "schema": {
  12501. "type": "array",
  12502. "items": {
  12503. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  12504. }
  12505. }
  12506. },
  12507. "500": {
  12508. "description": "Internal Server Error",
  12509. "schema": {
  12510. "$ref": "#/definitions/app.Response"
  12511. }
  12512. }
  12513. }
  12514. }
  12515. },
  12516. "/QhjMgr/QueryTradePosition": {
  12517. "get": {
  12518. "security": [
  12519. {
  12520. "ApiKeyAuth": []
  12521. }
  12522. ],
  12523. "produces": [
  12524. "application/json"
  12525. ],
  12526. "tags": [
  12527. "大连千海金(PCWeb)"
  12528. ],
  12529. "summary": "查询持仓汇总",
  12530. "parameters": [
  12531. {
  12532. "type": "integer",
  12533. "description": "用户ID",
  12534. "name": "userid",
  12535. "in": "query",
  12536. "required": true
  12537. },
  12538. {
  12539. "type": "integer",
  12540. "description": "用户类型 1-个人 2-企业",
  12541. "name": "userinfotype",
  12542. "in": "query"
  12543. },
  12544. {
  12545. "type": "integer",
  12546. "description": "交易模式",
  12547. "name": "trademode",
  12548. "in": "query"
  12549. },
  12550. {
  12551. "type": "integer",
  12552. "description": "商品id",
  12553. "name": "goodsid",
  12554. "in": "query"
  12555. },
  12556. {
  12557. "type": "string",
  12558. "description": "名称(模糊搜索账户)",
  12559. "name": "filtername",
  12560. "in": "query"
  12561. },
  12562. {
  12563. "type": "integer",
  12564. "description": "是否包含子级 1-包含",
  12565. "name": "includesub",
  12566. "in": "query"
  12567. }
  12568. ],
  12569. "responses": {
  12570. "200": {
  12571. "description": "OK",
  12572. "schema": {
  12573. "type": "array",
  12574. "items": {
  12575. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  12576. }
  12577. }
  12578. },
  12579. "500": {
  12580. "description": "Internal Server Error",
  12581. "schema": {
  12582. "$ref": "#/definitions/app.Response"
  12583. }
  12584. }
  12585. }
  12586. }
  12587. },
  12588. "/QhjSys/QueryAgreementChangeLog": {
  12589. "get": {
  12590. "security": [
  12591. {
  12592. "ApiKeyAuth": []
  12593. }
  12594. ],
  12595. "produces": [
  12596. "application/json"
  12597. ],
  12598. "tags": [
  12599. "大连千海金(协议和签约信息)"
  12600. ],
  12601. "summary": "查询协议配置变更流水",
  12602. "parameters": [
  12603. {
  12604. "type": "integer",
  12605. "description": "协议ID",
  12606. "name": "agreementid",
  12607. "in": "query"
  12608. },
  12609. {
  12610. "type": "integer",
  12611. "description": "协议版本号",
  12612. "name": "agreementversion",
  12613. "in": "query"
  12614. },
  12615. {
  12616. "type": "integer",
  12617. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12618. "name": "agreementtype",
  12619. "in": "query"
  12620. },
  12621. {
  12622. "type": "string",
  12623. "description": "协议编号(模糊匹配)",
  12624. "name": "agreementno",
  12625. "in": "query"
  12626. },
  12627. {
  12628. "type": "string",
  12629. "description": "协议名称(模糊匹配)",
  12630. "name": "agreementname",
  12631. "in": "query"
  12632. }
  12633. ],
  12634. "responses": {
  12635. "200": {
  12636. "description": "OK",
  12637. "schema": {
  12638. "type": "array",
  12639. "items": {
  12640. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  12641. }
  12642. }
  12643. },
  12644. "500": {
  12645. "description": "Internal Server Error",
  12646. "schema": {
  12647. "$ref": "#/definitions/app.Response"
  12648. }
  12649. }
  12650. }
  12651. }
  12652. },
  12653. "/QhjSys/QueryAgreementConfig": {
  12654. "get": {
  12655. "security": [
  12656. {
  12657. "ApiKeyAuth": []
  12658. }
  12659. ],
  12660. "produces": [
  12661. "application/json"
  12662. ],
  12663. "tags": [
  12664. "大连千海金(协议和签约信息)"
  12665. ],
  12666. "summary": "查询协议配置",
  12667. "parameters": [
  12668. {
  12669. "type": "integer",
  12670. "description": "协议ID",
  12671. "name": "agreementid",
  12672. "in": "query"
  12673. },
  12674. {
  12675. "type": "integer",
  12676. "description": "协议版本号",
  12677. "name": "agreementversion",
  12678. "in": "query"
  12679. },
  12680. {
  12681. "type": "integer",
  12682. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12683. "name": "agreementtype",
  12684. "in": "query"
  12685. },
  12686. {
  12687. "type": "integer",
  12688. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  12689. "name": "isvalid",
  12690. "in": "query"
  12691. },
  12692. {
  12693. "type": "string",
  12694. "description": "协议编号(模糊匹配)",
  12695. "name": "agreementno",
  12696. "in": "query"
  12697. },
  12698. {
  12699. "type": "string",
  12700. "description": "协议名称(模糊匹配)",
  12701. "name": "agreementname",
  12702. "in": "query"
  12703. }
  12704. ],
  12705. "responses": {
  12706. "200": {
  12707. "description": "OK",
  12708. "schema": {
  12709. "type": "array",
  12710. "items": {
  12711. "$ref": "#/definitions/models.QhjAgreementConfig"
  12712. }
  12713. }
  12714. },
  12715. "500": {
  12716. "description": "Internal Server Error",
  12717. "schema": {
  12718. "$ref": "#/definitions/app.Response"
  12719. }
  12720. }
  12721. }
  12722. }
  12723. },
  12724. "/QhjSys/QueryCustomerSignStatus": {
  12725. "get": {
  12726. "security": [
  12727. {
  12728. "ApiKeyAuth": []
  12729. }
  12730. ],
  12731. "produces": [
  12732. "application/json"
  12733. ],
  12734. "tags": [
  12735. "大连千海金(协议和签约信息)"
  12736. ],
  12737. "summary": "查询客户协议签约状态",
  12738. "parameters": [
  12739. {
  12740. "type": "integer",
  12741. "description": "客户ID",
  12742. "name": "userid",
  12743. "in": "query"
  12744. },
  12745. {
  12746. "type": "integer",
  12747. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  12748. "name": "nodetype",
  12749. "in": "query"
  12750. },
  12751. {
  12752. "type": "integer",
  12753. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12754. "name": "goodsid",
  12755. "in": "query"
  12756. },
  12757. {
  12758. "type": "string",
  12759. "description": "创建交易日(yyyyMMdd)",
  12760. "name": "tradedate",
  12761. "in": "query"
  12762. },
  12763. {
  12764. "type": "string",
  12765. "description": "用户名称(模糊匹配)",
  12766. "name": "username",
  12767. "in": "query"
  12768. }
  12769. ],
  12770. "responses": {
  12771. "200": {
  12772. "description": "OK",
  12773. "schema": {
  12774. "type": "array",
  12775. "items": {
  12776. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  12777. }
  12778. }
  12779. },
  12780. "500": {
  12781. "description": "Internal Server Error",
  12782. "schema": {
  12783. "$ref": "#/definitions/app.Response"
  12784. }
  12785. }
  12786. }
  12787. }
  12788. },
  12789. "/QhjSys/QueryNodeAgreementConfig": {
  12790. "get": {
  12791. "security": [
  12792. {
  12793. "ApiKeyAuth": []
  12794. }
  12795. ],
  12796. "produces": [
  12797. "application/json"
  12798. ],
  12799. "tags": [
  12800. "大连千海金(协议和签约信息)"
  12801. ],
  12802. "summary": "查询协议节点配置",
  12803. "parameters": [
  12804. {
  12805. "type": "integer",
  12806. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12807. "name": "configid",
  12808. "in": "query"
  12809. },
  12810. {
  12811. "type": "integer",
  12812. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12813. "name": "nodetype",
  12814. "in": "query"
  12815. },
  12816. {
  12817. "type": "integer",
  12818. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12819. "name": "goodsid",
  12820. "in": "query"
  12821. },
  12822. {
  12823. "type": "integer",
  12824. "description": "协议ID",
  12825. "name": "agreementid",
  12826. "in": "query"
  12827. },
  12828. {
  12829. "type": "integer",
  12830. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12831. "name": "agreementtype",
  12832. "in": "query"
  12833. },
  12834. {
  12835. "type": "integer",
  12836. "description": "协议版本号",
  12837. "name": "agreementversion",
  12838. "in": "query"
  12839. },
  12840. {
  12841. "type": "string",
  12842. "description": "协议编号(模糊匹配)",
  12843. "name": "agreementno",
  12844. "in": "query"
  12845. },
  12846. {
  12847. "type": "string",
  12848. "description": "协议名称(模糊匹配)",
  12849. "name": "agreementname",
  12850. "in": "query"
  12851. }
  12852. ],
  12853. "responses": {
  12854. "200": {
  12855. "description": "OK",
  12856. "schema": {
  12857. "type": "array",
  12858. "items": {
  12859. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  12860. }
  12861. }
  12862. },
  12863. "500": {
  12864. "description": "Internal Server Error",
  12865. "schema": {
  12866. "$ref": "#/definitions/app.Response"
  12867. }
  12868. }
  12869. }
  12870. }
  12871. },
  12872. "/QhjSys/QueryQhjCustomerSignLog": {
  12873. "get": {
  12874. "security": [
  12875. {
  12876. "ApiKeyAuth": []
  12877. }
  12878. ],
  12879. "produces": [
  12880. "application/json"
  12881. ],
  12882. "tags": [
  12883. "大连千海金(协议和签约信息)"
  12884. ],
  12885. "summary": "查询客户协议签约流水",
  12886. "parameters": [
  12887. {
  12888. "type": "integer",
  12889. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12890. "name": "logid",
  12891. "in": "query"
  12892. },
  12893. {
  12894. "type": "integer",
  12895. "description": "客户ID",
  12896. "name": "userid",
  12897. "in": "query"
  12898. },
  12899. {
  12900. "type": "integer",
  12901. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12902. "name": "nodetype",
  12903. "in": "query"
  12904. },
  12905. {
  12906. "type": "integer",
  12907. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12908. "name": "goodsid",
  12909. "in": "query"
  12910. },
  12911. {
  12912. "type": "integer",
  12913. "description": "协议ID",
  12914. "name": "agreementid",
  12915. "in": "query"
  12916. },
  12917. {
  12918. "type": "string",
  12919. "description": "用户名称(模糊匹配)",
  12920. "name": "username",
  12921. "in": "query"
  12922. },
  12923. {
  12924. "type": "string",
  12925. "description": "协议编号(模糊匹配)",
  12926. "name": "agreementno",
  12927. "in": "query"
  12928. },
  12929. {
  12930. "type": "string",
  12931. "description": "协议名称(模糊匹配)",
  12932. "name": "agreementname",
  12933. "in": "query"
  12934. }
  12935. ],
  12936. "responses": {
  12937. "200": {
  12938. "description": "OK",
  12939. "schema": {
  12940. "type": "array",
  12941. "items": {
  12942. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12943. }
  12944. }
  12945. },
  12946. "500": {
  12947. "description": "Internal Server Error",
  12948. "schema": {
  12949. "$ref": "#/definitions/app.Response"
  12950. }
  12951. }
  12952. }
  12953. }
  12954. },
  12955. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12956. "get": {
  12957. "security": [
  12958. {
  12959. "ApiKeyAuth": []
  12960. }
  12961. ],
  12962. "produces": [
  12963. "application/json"
  12964. ],
  12965. "tags": [
  12966. "大连千海金(协议和签约信息)"
  12967. ],
  12968. "summary": "查询用户协议节点配置和状态",
  12969. "parameters": [
  12970. {
  12971. "type": "integer",
  12972. "description": "客户ID",
  12973. "name": "userid",
  12974. "in": "query"
  12975. },
  12976. {
  12977. "type": "integer",
  12978. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12979. "name": "configid",
  12980. "in": "query"
  12981. },
  12982. {
  12983. "type": "string",
  12984. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12985. "name": "nodetype",
  12986. "in": "query"
  12987. },
  12988. {
  12989. "type": "integer",
  12990. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12991. "name": "goodsid",
  12992. "in": "query"
  12993. },
  12994. {
  12995. "type": "integer",
  12996. "description": "协议ID",
  12997. "name": "agreementid",
  12998. "in": "query"
  12999. },
  13000. {
  13001. "type": "integer",
  13002. "description": "协议类型 - 1:注册 2:登录 3:交易",
  13003. "name": "agreementtype",
  13004. "in": "query"
  13005. },
  13006. {
  13007. "type": "integer",
  13008. "description": "协议版本号",
  13009. "name": "agreementversion",
  13010. "in": "query"
  13011. },
  13012. {
  13013. "type": "string",
  13014. "description": "协议编号(模糊匹配)",
  13015. "name": "agreementno",
  13016. "in": "query"
  13017. },
  13018. {
  13019. "type": "string",
  13020. "description": "协议名称(模糊匹配)",
  13021. "name": "agreementname",
  13022. "in": "query"
  13023. }
  13024. ],
  13025. "responses": {
  13026. "200": {
  13027. "description": "OK",
  13028. "schema": {
  13029. "type": "array",
  13030. "items": {
  13031. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  13032. }
  13033. }
  13034. },
  13035. "500": {
  13036. "description": "Internal Server Error",
  13037. "schema": {
  13038. "$ref": "#/definitions/app.Response"
  13039. }
  13040. }
  13041. }
  13042. }
  13043. },
  13044. "/Quote/QueryHistoryDatas": {
  13045. "get": {
  13046. "security": [
  13047. {
  13048. "ApiKeyAuth": []
  13049. }
  13050. ],
  13051. "produces": [
  13052. "application/json"
  13053. ],
  13054. "tags": [
  13055. "行情服务"
  13056. ],
  13057. "summary": "查询行情历史数据",
  13058. "parameters": [
  13059. {
  13060. "type": "integer",
  13061. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  13062. "name": "cycleType",
  13063. "in": "query",
  13064. "required": true
  13065. },
  13066. {
  13067. "type": "string",
  13068. "description": "商品代码",
  13069. "name": "goodsCode",
  13070. "in": "query",
  13071. "required": true
  13072. },
  13073. {
  13074. "type": "string",
  13075. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  13076. "name": "startTime",
  13077. "in": "query"
  13078. },
  13079. {
  13080. "type": "string",
  13081. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  13082. "name": "endTime",
  13083. "in": "query"
  13084. },
  13085. {
  13086. "type": "integer",
  13087. "description": "条数",
  13088. "name": "count",
  13089. "in": "query"
  13090. },
  13091. {
  13092. "type": "boolean",
  13093. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  13094. "name": "isAsc",
  13095. "in": "query"
  13096. }
  13097. ],
  13098. "responses": {
  13099. "200": {
  13100. "description": "OK",
  13101. "schema": {
  13102. "$ref": "#/definitions/quote.HistoryData"
  13103. }
  13104. },
  13105. "500": {
  13106. "description": "Internal Server Error",
  13107. "schema": {
  13108. "$ref": "#/definitions/app.Response"
  13109. }
  13110. }
  13111. }
  13112. }
  13113. },
  13114. "/Quote/QueryHistoryTikDatas": {
  13115. "get": {
  13116. "security": [
  13117. {
  13118. "ApiKeyAuth": []
  13119. }
  13120. ],
  13121. "produces": [
  13122. "application/json"
  13123. ],
  13124. "tags": [
  13125. "行情服务"
  13126. ],
  13127. "summary": "查询行情Tik数据",
  13128. "parameters": [
  13129. {
  13130. "type": "string",
  13131. "description": "商品代码",
  13132. "name": "goodsCode",
  13133. "in": "query",
  13134. "required": true
  13135. },
  13136. {
  13137. "type": "string",
  13138. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  13139. "name": "startTime",
  13140. "in": "query"
  13141. },
  13142. {
  13143. "type": "string",
  13144. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  13145. "name": "endTime",
  13146. "in": "query"
  13147. },
  13148. {
  13149. "type": "integer",
  13150. "description": "条数",
  13151. "name": "count",
  13152. "in": "query"
  13153. },
  13154. {
  13155. "type": "boolean",
  13156. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  13157. "name": "isAsc",
  13158. "in": "query"
  13159. }
  13160. ],
  13161. "responses": {
  13162. "200": {
  13163. "description": "OK",
  13164. "schema": {
  13165. "$ref": "#/definitions/quote.HistoryTikData"
  13166. }
  13167. },
  13168. "500": {
  13169. "description": "Internal Server Error",
  13170. "schema": {
  13171. "$ref": "#/definitions/app.Response"
  13172. }
  13173. }
  13174. }
  13175. }
  13176. },
  13177. "/Quote/QueryQuoteDay": {
  13178. "get": {
  13179. "security": [
  13180. {
  13181. "ApiKeyAuth": []
  13182. }
  13183. ],
  13184. "produces": [
  13185. "application/json"
  13186. ],
  13187. "tags": [
  13188. "行情服务"
  13189. ],
  13190. "summary": "获取商品盘面信息",
  13191. "parameters": [
  13192. {
  13193. "type": "string",
  13194. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  13195. "name": "goodsCodes",
  13196. "in": "query"
  13197. }
  13198. ],
  13199. "responses": {
  13200. "200": {
  13201. "description": "OK",
  13202. "schema": {
  13203. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  13204. }
  13205. },
  13206. "500": {
  13207. "description": "Internal Server Error",
  13208. "schema": {
  13209. "$ref": "#/definitions/app.Response"
  13210. }
  13211. }
  13212. }
  13213. }
  13214. },
  13215. "/Quote/QueryTSData": {
  13216. "get": {
  13217. "security": [
  13218. {
  13219. "ApiKeyAuth": []
  13220. }
  13221. ],
  13222. "produces": [
  13223. "application/json"
  13224. ],
  13225. "tags": [
  13226. "行情服务"
  13227. ],
  13228. "summary": "分时图数据查询",
  13229. "parameters": [
  13230. {
  13231. "type": "string",
  13232. "description": "商品代码",
  13233. "name": "goodsCode",
  13234. "in": "query",
  13235. "required": true
  13236. }
  13237. ],
  13238. "responses": {
  13239. "200": {
  13240. "description": "OK",
  13241. "schema": {
  13242. "$ref": "#/definitions/quote.QueryTSDataRsp"
  13243. }
  13244. },
  13245. "500": {
  13246. "description": "Internal Server Error",
  13247. "schema": {
  13248. "$ref": "#/definitions/app.Response"
  13249. }
  13250. }
  13251. }
  13252. }
  13253. },
  13254. "/SZDZ/QueryConvertConfig": {
  13255. "get": {
  13256. "security": [
  13257. {
  13258. "ApiKeyAuth": []
  13259. }
  13260. ],
  13261. "produces": [
  13262. "application/json"
  13263. ],
  13264. "tags": [
  13265. "定制【尚志大宗】"
  13266. ],
  13267. "summary": "查询交易系统转换设置",
  13268. "parameters": [
  13269. {
  13270. "type": "integer",
  13271. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  13272. "name": "convertType",
  13273. "in": "query"
  13274. },
  13275. {
  13276. "type": "string",
  13277. "description": "外部商品代码[JD\\PD]",
  13278. "name": "outerGoodsCode",
  13279. "in": "query"
  13280. },
  13281. {
  13282. "type": "string",
  13283. "description": "内部商品ID列表[交易],格式:1,2,3",
  13284. "name": "innerGoodsIDs",
  13285. "in": "query"
  13286. }
  13287. ],
  13288. "responses": {
  13289. "200": {
  13290. "description": "OK",
  13291. "schema": {
  13292. "$ref": "#/definitions/models.Szdz3convertconfig"
  13293. }
  13294. },
  13295. "500": {
  13296. "description": "Internal Server Error",
  13297. "schema": {
  13298. "$ref": "#/definitions/app.Response"
  13299. }
  13300. }
  13301. }
  13302. }
  13303. },
  13304. "/SZDZ/QueryConvertLog": {
  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": "string",
  13328. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13329. "name": "startDate",
  13330. "in": "query"
  13331. },
  13332. {
  13333. "type": "string",
  13334. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13335. "name": "endDate",
  13336. "in": "query"
  13337. }
  13338. ],
  13339. "responses": {
  13340. "200": {
  13341. "description": "OK",
  13342. "schema": {
  13343. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  13344. }
  13345. },
  13346. "500": {
  13347. "description": "Internal Server Error",
  13348. "schema": {
  13349. "$ref": "#/definitions/app.Response"
  13350. }
  13351. }
  13352. }
  13353. }
  13354. },
  13355. "/SZDZ/QueryGoodsPickup": {
  13356. "get": {
  13357. "security": [
  13358. {
  13359. "ApiKeyAuth": []
  13360. }
  13361. ],
  13362. "produces": [
  13363. "application/json"
  13364. ],
  13365. "tags": [
  13366. "定制【尚志大宗】"
  13367. ],
  13368. "summary": "商品提货单查询",
  13369. "parameters": [
  13370. {
  13371. "type": "string",
  13372. "description": "资金账户 - 格式:1,2,3",
  13373. "name": "accountID",
  13374. "in": "query",
  13375. "required": true
  13376. },
  13377. {
  13378. "type": "integer",
  13379. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13380. "name": "takeOrderStatus",
  13381. "in": "query"
  13382. }
  13383. ],
  13384. "responses": {
  13385. "200": {
  13386. "description": "OK",
  13387. "schema": {
  13388. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  13389. }
  13390. },
  13391. "500": {
  13392. "description": "Internal Server Error",
  13393. "schema": {
  13394. "$ref": "#/definitions/app.Response"
  13395. }
  13396. }
  13397. }
  13398. }
  13399. },
  13400. "/SZDZ/QueryRecieptOrder": {
  13401. "get": {
  13402. "security": [
  13403. {
  13404. "ApiKeyAuth": []
  13405. }
  13406. ],
  13407. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13408. "produces": [
  13409. "application/json"
  13410. ],
  13411. "tags": [
  13412. "定制【尚志大宗】"
  13413. ],
  13414. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  13415. "parameters": [
  13416. {
  13417. "type": "integer",
  13418. "description": "页码",
  13419. "name": "page",
  13420. "in": "query"
  13421. },
  13422. {
  13423. "type": "integer",
  13424. "description": "每页条数",
  13425. "name": "pagesize",
  13426. "in": "query"
  13427. },
  13428. {
  13429. "type": "integer",
  13430. "description": "商品ID",
  13431. "name": "goodsID",
  13432. "in": "query",
  13433. "required": true
  13434. },
  13435. {
  13436. "type": "string",
  13437. "description": "所属账户名称",
  13438. "name": "accountName",
  13439. "in": "query"
  13440. },
  13441. {
  13442. "type": "integer",
  13443. "description": "市场ID",
  13444. "name": "marketID",
  13445. "in": "query"
  13446. },
  13447. {
  13448. "type": "integer",
  13449. "description": "方向 - 0:买 1:卖",
  13450. "name": "buyorsell",
  13451. "in": "query",
  13452. "required": true
  13453. }
  13454. ],
  13455. "responses": {
  13456. "200": {
  13457. "description": "OK",
  13458. "schema": {
  13459. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  13460. }
  13461. },
  13462. "500": {
  13463. "description": "Internal Server Error",
  13464. "schema": {
  13465. "$ref": "#/definitions/app.Response"
  13466. }
  13467. }
  13468. }
  13469. }
  13470. },
  13471. "/SZDZ/QuerySZDZTradePosition": {
  13472. "get": {
  13473. "security": [
  13474. {
  13475. "ApiKeyAuth": []
  13476. }
  13477. ],
  13478. "produces": [
  13479. "application/json"
  13480. ],
  13481. "tags": [
  13482. "定制【尚志大宗】"
  13483. ],
  13484. "summary": "持仓汇总查询(尚志大宗)",
  13485. "parameters": [
  13486. {
  13487. "type": "integer",
  13488. "description": "资金账户",
  13489. "name": "accountID",
  13490. "in": "query",
  13491. "required": true
  13492. }
  13493. ],
  13494. "responses": {
  13495. "200": {
  13496. "description": "OK",
  13497. "schema": {
  13498. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  13499. }
  13500. },
  13501. "500": {
  13502. "description": "Internal Server Error",
  13503. "schema": {
  13504. "$ref": "#/definitions/app.Response"
  13505. }
  13506. }
  13507. }
  13508. }
  13509. },
  13510. "/SZDZ/SearchWhite": {
  13511. "get": {
  13512. "security": [
  13513. {
  13514. "ApiKeyAuth": []
  13515. }
  13516. ],
  13517. "produces": [
  13518. "application/json"
  13519. ],
  13520. "tags": [
  13521. "定制【尚志大宗】"
  13522. ],
  13523. "summary": "搜索白名单",
  13524. "parameters": [
  13525. {
  13526. "type": "integer",
  13527. "description": "用户ID",
  13528. "name": "userID",
  13529. "in": "query",
  13530. "required": true
  13531. }
  13532. ],
  13533. "responses": {
  13534. "200": {
  13535. "description": "OK",
  13536. "schema": {
  13537. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  13538. }
  13539. },
  13540. "500": {
  13541. "description": "Internal Server Error",
  13542. "schema": {
  13543. "$ref": "#/definitions/app.Response"
  13544. }
  13545. }
  13546. }
  13547. }
  13548. },
  13549. "/Search/SearchGoodses": {
  13550. "get": {
  13551. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  13552. "produces": [
  13553. "application/json"
  13554. ],
  13555. "tags": [
  13556. "检索服务"
  13557. ],
  13558. "summary": "检索商品信息",
  13559. "parameters": [
  13560. {
  13561. "type": "string",
  13562. "description": "检索内容",
  13563. "name": "content",
  13564. "in": "query",
  13565. "required": true
  13566. },
  13567. {
  13568. "type": "string",
  13569. "description": "交易模式,格式:1,2,3",
  13570. "name": "tradeModes",
  13571. "in": "query"
  13572. }
  13573. ],
  13574. "responses": {
  13575. "200": {
  13576. "description": "OK",
  13577. "schema": {
  13578. "$ref": "#/definitions/models.SearchGoods"
  13579. }
  13580. },
  13581. "500": {
  13582. "description": "Internal Server Error",
  13583. "schema": {
  13584. "$ref": "#/definitions/app.Response"
  13585. }
  13586. }
  13587. }
  13588. }
  13589. },
  13590. "/TaAccount/GetTaAccounts": {
  13591. "get": {
  13592. "security": [
  13593. {
  13594. "ApiKeyAuth": []
  13595. }
  13596. ],
  13597. "produces": [
  13598. "application/json"
  13599. ],
  13600. "tags": [
  13601. "资金账户"
  13602. ],
  13603. "summary": "获取资金账户信息",
  13604. "parameters": [
  13605. {
  13606. "type": "integer",
  13607. "description": "登录账户",
  13608. "name": "loginID",
  13609. "in": "query",
  13610. "required": true
  13611. },
  13612. {
  13613. "type": "integer",
  13614. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  13615. "name": "taAccountType",
  13616. "in": "query"
  13617. }
  13618. ],
  13619. "responses": {
  13620. "200": {
  13621. "description": "OK",
  13622. "schema": {
  13623. "$ref": "#/definitions/models.Taaccount"
  13624. }
  13625. },
  13626. "500": {
  13627. "description": "Internal Server Error",
  13628. "schema": {
  13629. "$ref": "#/definitions/app.Response"
  13630. }
  13631. }
  13632. }
  13633. }
  13634. },
  13635. "/TaAccount/QueryAmountLog": {
  13636. "get": {
  13637. "security": [
  13638. {
  13639. "ApiKeyAuth": []
  13640. }
  13641. ],
  13642. "produces": [
  13643. "application/json"
  13644. ],
  13645. "tags": [
  13646. "资金账户"
  13647. ],
  13648. "summary": "资金流水查询(当前)",
  13649. "parameters": [
  13650. {
  13651. "type": "integer",
  13652. "description": "页码",
  13653. "name": "page",
  13654. "in": "query"
  13655. },
  13656. {
  13657. "type": "integer",
  13658. "description": "每页条数",
  13659. "name": "pagesize",
  13660. "in": "query"
  13661. },
  13662. {
  13663. "type": "integer",
  13664. "description": "分页标志 0-page从0开始 1-page从1开始",
  13665. "name": "pageflag",
  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. "responses": {
  13683. "200": {
  13684. "description": "OK",
  13685. "schema": {
  13686. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  13687. }
  13688. },
  13689. "500": {
  13690. "description": "Internal Server Error",
  13691. "schema": {
  13692. "$ref": "#/definitions/app.Response"
  13693. }
  13694. }
  13695. }
  13696. }
  13697. },
  13698. "/TaAccount/QueryHisAmountLog": {
  13699. "get": {
  13700. "security": [
  13701. {
  13702. "ApiKeyAuth": []
  13703. }
  13704. ],
  13705. "produces": [
  13706. "application/json"
  13707. ],
  13708. "tags": [
  13709. "资金账户"
  13710. ],
  13711. "summary": "资金流水查询(历史)",
  13712. "parameters": [
  13713. {
  13714. "type": "integer",
  13715. "description": "页码",
  13716. "name": "page",
  13717. "in": "query"
  13718. },
  13719. {
  13720. "type": "integer",
  13721. "description": "每页条数",
  13722. "name": "pagesize",
  13723. "in": "query"
  13724. },
  13725. {
  13726. "type": "integer",
  13727. "description": "分页标志 0-page从0开始 1-page从1开始",
  13728. "name": "pageflag",
  13729. "in": "query"
  13730. },
  13731. {
  13732. "type": "string",
  13733. "description": "资金账户 - 格式:1,2,3",
  13734. "name": "accountID",
  13735. "in": "query",
  13736. "required": true
  13737. },
  13738. {
  13739. "type": "string",
  13740. "description": "资金操作类型 - 格式:1,2,3",
  13741. "name": "OperateType",
  13742. "in": "query"
  13743. },
  13744. {
  13745. "type": "string",
  13746. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  13747. "name": "startDate",
  13748. "in": "query"
  13749. },
  13750. {
  13751. "type": "string",
  13752. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  13753. "name": "endDate",
  13754. "in": "query"
  13755. }
  13756. ],
  13757. "responses": {
  13758. "200": {
  13759. "description": "OK",
  13760. "schema": {
  13761. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  13762. }
  13763. },
  13764. "500": {
  13765. "description": "Internal Server Error",
  13766. "schema": {
  13767. "$ref": "#/definitions/app.Response"
  13768. }
  13769. }
  13770. }
  13771. }
  13772. },
  13773. "/TaAccount/QueryRelatedTaAccount": {
  13774. "get": {
  13775. "security": [
  13776. {
  13777. "ApiKeyAuth": []
  13778. }
  13779. ],
  13780. "produces": [
  13781. "application/json"
  13782. ],
  13783. "tags": [
  13784. "资金账户"
  13785. ],
  13786. "summary": "查询关联资金账户信息",
  13787. "parameters": [
  13788. {
  13789. "type": "integer",
  13790. "description": "关联UserID",
  13791. "name": "relateduserid",
  13792. "in": "query",
  13793. "required": true
  13794. }
  13795. ],
  13796. "responses": {
  13797. "200": {
  13798. "description": "OK",
  13799. "schema": {
  13800. "type": "array",
  13801. "items": {
  13802. "$ref": "#/definitions/models.RelatedTaAccount"
  13803. }
  13804. }
  13805. },
  13806. "500": {
  13807. "description": "Internal Server Error",
  13808. "schema": {
  13809. "$ref": "#/definitions/app.Response"
  13810. }
  13811. }
  13812. }
  13813. }
  13814. },
  13815. "/Tjmd/QueryQuoteGoodsList": {
  13816. "get": {
  13817. "security": [
  13818. {
  13819. "ApiKeyAuth": []
  13820. }
  13821. ],
  13822. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  13823. "produces": [
  13824. "application/json"
  13825. ],
  13826. "tags": [
  13827. "天津麦顿"
  13828. ],
  13829. "summary": "查询掉期报价列表",
  13830. "parameters": [
  13831. {
  13832. "type": "integer",
  13833. "description": "用户类型",
  13834. "name": "usertype",
  13835. "in": "query",
  13836. "required": true
  13837. },
  13838. {
  13839. "type": "string",
  13840. "description": "市场id, 格式 1,2,3",
  13841. "name": "marketids",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "商品组id",
  13847. "name": "goodsgroupid",
  13848. "in": "query"
  13849. },
  13850. {
  13851. "type": "integer",
  13852. "description": "商品id",
  13853. "name": "goodsid",
  13854. "in": "query"
  13855. }
  13856. ],
  13857. "responses": {
  13858. "200": {
  13859. "description": "OK",
  13860. "schema": {
  13861. "type": "array",
  13862. "items": {
  13863. "$ref": "#/definitions/models.TjmdQuoteGoods"
  13864. }
  13865. }
  13866. },
  13867. "500": {
  13868. "description": "Internal Server Error",
  13869. "schema": {
  13870. "$ref": "#/definitions/app.Response"
  13871. }
  13872. }
  13873. }
  13874. }
  13875. },
  13876. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  13877. "get": {
  13878. "security": [
  13879. {
  13880. "ApiKeyAuth": []
  13881. }
  13882. ],
  13883. "produces": [
  13884. "application/json"
  13885. ],
  13886. "tags": [
  13887. "天津麦顿"
  13888. ],
  13889. "summary": "掉期商品订单详情(交易确认书)",
  13890. "parameters": [
  13891. {
  13892. "type": "string",
  13893. "description": "成交单号",
  13894. "name": "tradeid",
  13895. "in": "query",
  13896. "required": true
  13897. }
  13898. ],
  13899. "responses": {
  13900. "200": {
  13901. "description": "OK",
  13902. "schema": {
  13903. "type": "array",
  13904. "items": {
  13905. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13906. }
  13907. }
  13908. },
  13909. "500": {
  13910. "description": "Internal Server Error",
  13911. "schema": {
  13912. "$ref": "#/definitions/app.Response"
  13913. }
  13914. }
  13915. }
  13916. }
  13917. },
  13918. "/Tjmd/QueryTjmdMarketSection": {
  13919. "get": {
  13920. "security": [
  13921. {
  13922. "ApiKeyAuth": []
  13923. }
  13924. ],
  13925. "produces": [
  13926. "application/json"
  13927. ],
  13928. "tags": [
  13929. "天津麦顿"
  13930. ],
  13931. "summary": "查询市场板块",
  13932. "responses": {
  13933. "200": {
  13934. "description": "OK",
  13935. "schema": {
  13936. "type": "array",
  13937. "items": {
  13938. "$ref": "#/definitions/models.TjmdMarketSection"
  13939. }
  13940. }
  13941. },
  13942. "500": {
  13943. "description": "Internal Server Error",
  13944. "schema": {
  13945. "$ref": "#/definitions/app.Response"
  13946. }
  13947. }
  13948. }
  13949. }
  13950. },
  13951. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13952. "get": {
  13953. "security": [
  13954. {
  13955. "ApiKeyAuth": []
  13956. }
  13957. ],
  13958. "produces": [
  13959. "application/json"
  13960. ],
  13961. "tags": [
  13962. "天津麦顿"
  13963. ],
  13964. "summary": "查询今日账户保证金配置",
  13965. "parameters": [
  13966. {
  13967. "type": "string",
  13968. "description": "市场id",
  13969. "name": "marketid",
  13970. "in": "query"
  13971. },
  13972. {
  13973. "type": "string",
  13974. "description": "商品id",
  13975. "name": "goodsid",
  13976. "in": "query"
  13977. },
  13978. {
  13979. "type": "string",
  13980. "description": "资金账号",
  13981. "name": "accountid",
  13982. "in": "query"
  13983. }
  13984. ],
  13985. "responses": {
  13986. "200": {
  13987. "description": "OK",
  13988. "schema": {
  13989. "type": "array",
  13990. "items": {
  13991. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13992. }
  13993. }
  13994. },
  13995. "500": {
  13996. "description": "Internal Server Error",
  13997. "schema": {
  13998. "$ref": "#/definitions/app.Response"
  13999. }
  14000. }
  14001. }
  14002. }
  14003. },
  14004. "/Tjmd/QueryTjmdTradeOrderDetail": {
  14005. "get": {
  14006. "security": [
  14007. {
  14008. "ApiKeyAuth": []
  14009. }
  14010. ],
  14011. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  14012. "produces": [
  14013. "application/json"
  14014. ],
  14015. "tags": [
  14016. "天津麦顿"
  14017. ],
  14018. "summary": "查询掉期买卖大厅",
  14019. "parameters": [
  14020. {
  14021. "type": "integer",
  14022. "description": "页码",
  14023. "name": "page",
  14024. "in": "query"
  14025. },
  14026. {
  14027. "type": "integer",
  14028. "description": "每页条数",
  14029. "name": "pagesize",
  14030. "in": "query"
  14031. },
  14032. {
  14033. "type": "integer",
  14034. "description": "用户id",
  14035. "name": "userid",
  14036. "in": "query",
  14037. "required": true
  14038. },
  14039. {
  14040. "type": "integer",
  14041. "description": "用户类型",
  14042. "name": "usertype",
  14043. "in": "query",
  14044. "required": true
  14045. },
  14046. {
  14047. "type": "string",
  14048. "description": "市场id, 格式 1,2,3",
  14049. "name": "marketids",
  14050. "in": "query"
  14051. },
  14052. {
  14053. "type": "integer",
  14054. "description": "商品id",
  14055. "name": "goodsid",
  14056. "in": "query",
  14057. "required": true
  14058. },
  14059. {
  14060. "type": "integer",
  14061. "description": "买卖方向 0-买 1-卖",
  14062. "name": "buyorsell",
  14063. "in": "query",
  14064. "required": true
  14065. }
  14066. ],
  14067. "responses": {
  14068. "200": {
  14069. "description": "OK",
  14070. "schema": {
  14071. "type": "array",
  14072. "items": {
  14073. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  14074. }
  14075. }
  14076. },
  14077. "500": {
  14078. "description": "Internal Server Error",
  14079. "schema": {
  14080. "$ref": "#/definitions/app.Response"
  14081. }
  14082. }
  14083. }
  14084. }
  14085. },
  14086. "/Tjmd/QueryTjmdTransferApply": {
  14087. "get": {
  14088. "security": [
  14089. {
  14090. "ApiKeyAuth": []
  14091. }
  14092. ],
  14093. "produces": [
  14094. "application/json"
  14095. ],
  14096. "tags": [
  14097. "天津麦顿"
  14098. ],
  14099. "summary": "查询掉期协议单",
  14100. "parameters": [
  14101. {
  14102. "type": "integer",
  14103. "description": "类型 1-我的申请 2-对方申请",
  14104. "name": "applytype",
  14105. "in": "query",
  14106. "required": true
  14107. },
  14108. {
  14109. "type": "string",
  14110. "description": "市场id, 格式 1,2,3",
  14111. "name": "marketids",
  14112. "in": "query"
  14113. },
  14114. {
  14115. "type": "string",
  14116. "description": "资金账号, 格式 25000000001,25000000003",
  14117. "name": "accountids",
  14118. "in": "query"
  14119. },
  14120. {
  14121. "type": "string",
  14122. "description": "开始交易日(yyyymmdd)",
  14123. "name": "begindate",
  14124. "in": "query"
  14125. },
  14126. {
  14127. "type": "string",
  14128. "description": "结束交易日(yyyymmdd)",
  14129. "name": "enddate",
  14130. "in": "query"
  14131. }
  14132. ],
  14133. "responses": {
  14134. "200": {
  14135. "description": "OK",
  14136. "schema": {
  14137. "type": "array",
  14138. "items": {
  14139. "$ref": "#/definitions/models.TjmdTransferApply"
  14140. }
  14141. }
  14142. },
  14143. "500": {
  14144. "description": "Internal Server Error",
  14145. "schema": {
  14146. "$ref": "#/definitions/app.Response"
  14147. }
  14148. }
  14149. }
  14150. }
  14151. },
  14152. "/Trade/QueryRecieptOrder": {
  14153. "get": {
  14154. "security": [
  14155. {
  14156. "ApiKeyAuth": []
  14157. }
  14158. ],
  14159. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  14160. "produces": [
  14161. "application/json"
  14162. ],
  14163. "tags": [
  14164. "通用交易"
  14165. ],
  14166. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  14167. "parameters": [
  14168. {
  14169. "type": "integer",
  14170. "description": "页码",
  14171. "name": "page",
  14172. "in": "query"
  14173. },
  14174. {
  14175. "type": "integer",
  14176. "description": "每页条数",
  14177. "name": "pagesize",
  14178. "in": "query"
  14179. },
  14180. {
  14181. "type": "integer",
  14182. "description": "商品ID",
  14183. "name": "goodsID",
  14184. "in": "query",
  14185. "required": true
  14186. },
  14187. {
  14188. "type": "string",
  14189. "description": "所属账户名称",
  14190. "name": "accountName",
  14191. "in": "query"
  14192. },
  14193. {
  14194. "type": "integer",
  14195. "description": "市场ID",
  14196. "name": "marketID",
  14197. "in": "query"
  14198. },
  14199. {
  14200. "type": "integer",
  14201. "description": "方向 - 0:买 1:卖",
  14202. "name": "buyorsell",
  14203. "in": "query",
  14204. "required": true
  14205. }
  14206. ],
  14207. "responses": {
  14208. "200": {
  14209. "description": "OK",
  14210. "schema": {
  14211. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  14212. }
  14213. },
  14214. "500": {
  14215. "description": "Internal Server Error",
  14216. "schema": {
  14217. "$ref": "#/definitions/app.Response"
  14218. }
  14219. }
  14220. }
  14221. }
  14222. },
  14223. "/User/AddMessageBoard": {
  14224. "post": {
  14225. "security": [
  14226. {
  14227. "ApiKeyAuth": []
  14228. }
  14229. ],
  14230. "produces": [
  14231. "application/json"
  14232. ],
  14233. "tags": [
  14234. "用户信息"
  14235. ],
  14236. "summary": "添加用户留言板信息",
  14237. "parameters": [
  14238. {
  14239. "type": "integer",
  14240. "description": "用户ID",
  14241. "name": "userID",
  14242. "in": "query",
  14243. "required": true
  14244. },
  14245. {
  14246. "type": "string",
  14247. "description": "留言信息",
  14248. "name": "message",
  14249. "in": "query",
  14250. "required": true
  14251. },
  14252. {
  14253. "type": "string",
  14254. "description": "联系电话",
  14255. "name": "contactNum",
  14256. "in": "query",
  14257. "required": true
  14258. }
  14259. ],
  14260. "responses": {
  14261. "200": {
  14262. "description": "OK",
  14263. "schema": {
  14264. "$ref": "#/definitions/app.Response"
  14265. }
  14266. },
  14267. "500": {
  14268. "description": "Internal Server Error",
  14269. "schema": {
  14270. "$ref": "#/definitions/app.Response"
  14271. }
  14272. }
  14273. }
  14274. }
  14275. },
  14276. "/User/AddUserFavoriteGoods": {
  14277. "post": {
  14278. "security": [
  14279. {
  14280. "ApiKeyAuth": []
  14281. }
  14282. ],
  14283. "produces": [
  14284. "application/json"
  14285. ],
  14286. "tags": [
  14287. "用户信息"
  14288. ],
  14289. "summary": "添加用户商品收藏信息",
  14290. "parameters": [
  14291. {
  14292. "type": "integer",
  14293. "description": "用户ID",
  14294. "name": "userID",
  14295. "in": "query",
  14296. "required": true
  14297. },
  14298. {
  14299. "type": "integer",
  14300. "description": "商品ID",
  14301. "name": "goodsID",
  14302. "in": "query",
  14303. "required": true
  14304. }
  14305. ],
  14306. "responses": {
  14307. "200": {
  14308. "description": "OK",
  14309. "schema": {
  14310. "$ref": "#/definitions/app.Response"
  14311. }
  14312. },
  14313. "500": {
  14314. "description": "Internal Server Error",
  14315. "schema": {
  14316. "$ref": "#/definitions/app.Response"
  14317. }
  14318. }
  14319. }
  14320. }
  14321. },
  14322. "/User/GetLoginID": {
  14323. "get": {
  14324. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  14325. "produces": [
  14326. "application/json"
  14327. ],
  14328. "tags": [
  14329. "用户信息"
  14330. ],
  14331. "summary": "获取登录ID",
  14332. "parameters": [
  14333. {
  14334. "type": "string",
  14335. "description": "登录代码",
  14336. "name": "username",
  14337. "in": "query",
  14338. "required": true
  14339. }
  14340. ],
  14341. "responses": {
  14342. "200": {
  14343. "description": "OK",
  14344. "schema": {
  14345. "$ref": "#/definitions/app.Response"
  14346. }
  14347. },
  14348. "500": {
  14349. "description": "Internal Server Error",
  14350. "schema": {
  14351. "$ref": "#/definitions/app.Response"
  14352. }
  14353. }
  14354. }
  14355. }
  14356. },
  14357. "/User/GetUserAccount": {
  14358. "get": {
  14359. "security": [
  14360. {
  14361. "ApiKeyAuth": []
  14362. }
  14363. ],
  14364. "produces": [
  14365. "application/json"
  14366. ],
  14367. "tags": [
  14368. "用户信息"
  14369. ],
  14370. "summary": "获取用户账号信息",
  14371. "parameters": [
  14372. {
  14373. "type": "integer",
  14374. "description": "用户ID",
  14375. "name": "userID",
  14376. "in": "query",
  14377. "required": true
  14378. }
  14379. ],
  14380. "responses": {
  14381. "200": {
  14382. "description": "OK",
  14383. "schema": {
  14384. "$ref": "#/definitions/models.Useraccount"
  14385. }
  14386. },
  14387. "500": {
  14388. "description": "Internal Server Error",
  14389. "schema": {
  14390. "$ref": "#/definitions/app.Response"
  14391. }
  14392. }
  14393. }
  14394. }
  14395. },
  14396. "/User/GetUserAuthStatus": {
  14397. "get": {
  14398. "security": [
  14399. {
  14400. "ApiKeyAuth": []
  14401. }
  14402. ],
  14403. "produces": [
  14404. "application/json"
  14405. ],
  14406. "tags": [
  14407. "用户信息"
  14408. ],
  14409. "summary": "获取用户实名认证状态",
  14410. "parameters": [
  14411. {
  14412. "type": "integer",
  14413. "description": "用户ID",
  14414. "name": "userID",
  14415. "in": "query",
  14416. "required": true
  14417. }
  14418. ],
  14419. "responses": {
  14420. "200": {
  14421. "description": "OK",
  14422. "schema": {
  14423. "$ref": "#/definitions/app.Response"
  14424. }
  14425. },
  14426. "500": {
  14427. "description": "Internal Server Error",
  14428. "schema": {
  14429. "$ref": "#/definitions/app.Response"
  14430. }
  14431. }
  14432. }
  14433. }
  14434. },
  14435. "/User/LoginQuery": {
  14436. "get": {
  14437. "security": [
  14438. {
  14439. "ApiKeyAuth": []
  14440. }
  14441. ],
  14442. "produces": [
  14443. "application/json"
  14444. ],
  14445. "tags": [
  14446. "用户信息"
  14447. ],
  14448. "summary": "账户登录后信息查询",
  14449. "parameters": [
  14450. {
  14451. "type": "integer",
  14452. "description": "登录账号",
  14453. "name": "loginID",
  14454. "in": "query",
  14455. "required": true
  14456. }
  14457. ],
  14458. "responses": {
  14459. "200": {
  14460. "description": "OK",
  14461. "schema": {
  14462. "$ref": "#/definitions/user.LoginQueryRsp"
  14463. }
  14464. },
  14465. "500": {
  14466. "description": "Internal Server Error",
  14467. "schema": {
  14468. "$ref": "#/definitions/app.Response"
  14469. }
  14470. }
  14471. }
  14472. }
  14473. },
  14474. "/User/QueryMessageBoard": {
  14475. "get": {
  14476. "security": [
  14477. {
  14478. "ApiKeyAuth": []
  14479. }
  14480. ],
  14481. "produces": [
  14482. "application/json"
  14483. ],
  14484. "tags": [
  14485. "用户信息"
  14486. ],
  14487. "summary": "获取用户留言板信息",
  14488. "parameters": [
  14489. {
  14490. "type": "integer",
  14491. "description": "用户ID",
  14492. "name": "userID",
  14493. "in": "query",
  14494. "required": true
  14495. }
  14496. ],
  14497. "responses": {
  14498. "200": {
  14499. "description": "OK",
  14500. "schema": {
  14501. "$ref": "#/definitions/models.Messageboard"
  14502. }
  14503. },
  14504. "500": {
  14505. "description": "Internal Server Error",
  14506. "schema": {
  14507. "$ref": "#/definitions/app.Response"
  14508. }
  14509. }
  14510. }
  14511. }
  14512. },
  14513. "/User/QueryUserFavoriteGoodses": {
  14514. "get": {
  14515. "security": [
  14516. {
  14517. "ApiKeyAuth": []
  14518. }
  14519. ],
  14520. "produces": [
  14521. "application/json"
  14522. ],
  14523. "tags": [
  14524. "用户信息"
  14525. ],
  14526. "summary": "获取用户商品收藏信息",
  14527. "parameters": [
  14528. {
  14529. "type": "integer",
  14530. "description": "用户ID",
  14531. "name": "userID",
  14532. "in": "query",
  14533. "required": true
  14534. }
  14535. ],
  14536. "responses": {
  14537. "200": {
  14538. "description": "OK",
  14539. "schema": {
  14540. "$ref": "#/definitions/models.Userfavoritegoods"
  14541. }
  14542. },
  14543. "500": {
  14544. "description": "Internal Server Error",
  14545. "schema": {
  14546. "$ref": "#/definitions/app.Response"
  14547. }
  14548. }
  14549. }
  14550. }
  14551. },
  14552. "/User/QueryUserInfo": {
  14553. "get": {
  14554. "security": [
  14555. {
  14556. "ApiKeyAuth": []
  14557. }
  14558. ],
  14559. "produces": [
  14560. "application/json"
  14561. ],
  14562. "tags": [
  14563. "用户信息"
  14564. ],
  14565. "summary": "获取用户信息",
  14566. "parameters": [
  14567. {
  14568. "type": "integer",
  14569. "description": "用户ID",
  14570. "name": "userID",
  14571. "in": "query",
  14572. "required": true
  14573. },
  14574. {
  14575. "type": "boolean",
  14576. "description": "是否解密",
  14577. "name": "isDecrypt",
  14578. "in": "query"
  14579. }
  14580. ],
  14581. "responses": {
  14582. "200": {
  14583. "description": "OK",
  14584. "schema": {
  14585. "$ref": "#/definitions/models.Userinfo"
  14586. }
  14587. },
  14588. "500": {
  14589. "description": "Internal Server Error",
  14590. "schema": {
  14591. "$ref": "#/definitions/app.Response"
  14592. }
  14593. }
  14594. }
  14595. }
  14596. },
  14597. "/User/QueryUserReferNum": {
  14598. "get": {
  14599. "produces": [
  14600. "application/json"
  14601. ],
  14602. "tags": [
  14603. "用户信息"
  14604. ],
  14605. "summary": "获取用户邀请码",
  14606. "parameters": [
  14607. {
  14608. "type": "integer",
  14609. "description": "用户ID",
  14610. "name": "userID",
  14611. "in": "query",
  14612. "required": true
  14613. }
  14614. ],
  14615. "responses": {
  14616. "200": {
  14617. "description": "OK",
  14618. "schema": {
  14619. "$ref": "#/definitions/app.Response"
  14620. }
  14621. },
  14622. "500": {
  14623. "description": "Internal Server Error",
  14624. "schema": {
  14625. "$ref": "#/definitions/app.Response"
  14626. }
  14627. }
  14628. }
  14629. }
  14630. },
  14631. "/User/RemoveUserFavoriteGoods": {
  14632. "post": {
  14633. "security": [
  14634. {
  14635. "ApiKeyAuth": []
  14636. }
  14637. ],
  14638. "produces": [
  14639. "application/json"
  14640. ],
  14641. "tags": [
  14642. "用户信息"
  14643. ],
  14644. "summary": "移除用户商品收藏信息",
  14645. "parameters": [
  14646. {
  14647. "type": "integer",
  14648. "description": "用户ID",
  14649. "name": "userID",
  14650. "in": "query",
  14651. "required": true
  14652. },
  14653. {
  14654. "type": "integer",
  14655. "description": "商品ID",
  14656. "name": "goodsID",
  14657. "in": "query",
  14658. "required": true
  14659. }
  14660. ],
  14661. "responses": {
  14662. "200": {
  14663. "description": "OK",
  14664. "schema": {
  14665. "$ref": "#/definitions/app.Response"
  14666. }
  14667. },
  14668. "500": {
  14669. "description": "Internal Server Error",
  14670. "schema": {
  14671. "$ref": "#/definitions/app.Response"
  14672. }
  14673. }
  14674. }
  14675. }
  14676. },
  14677. "/User/UpdateUserAccountStatus": {
  14678. "post": {
  14679. "security": [
  14680. {
  14681. "ApiKeyAuth": []
  14682. }
  14683. ],
  14684. "produces": [
  14685. "application/json"
  14686. ],
  14687. "tags": [
  14688. "用户信息"
  14689. ],
  14690. "summary": "更新用户状态",
  14691. "parameters": [
  14692. {
  14693. "type": "integer",
  14694. "description": "用户ID",
  14695. "name": "userID",
  14696. "in": "query",
  14697. "required": true
  14698. },
  14699. {
  14700. "type": "integer",
  14701. "description": "账户状态 - 4:正常 6:注销(停用)",
  14702. "name": "accountStatus",
  14703. "in": "query",
  14704. "required": true
  14705. }
  14706. ],
  14707. "responses": {
  14708. "200": {
  14709. "description": "OK",
  14710. "schema": {
  14711. "$ref": "#/definitions/app.Response"
  14712. }
  14713. },
  14714. "500": {
  14715. "description": "Internal Server Error",
  14716. "schema": {
  14717. "$ref": "#/definitions/app.Response"
  14718. }
  14719. }
  14720. }
  14721. }
  14722. },
  14723. "/WRTrade/GetAllDeliveryGoods": {
  14724. "get": {
  14725. "security": [
  14726. {
  14727. "ApiKeyAuth": []
  14728. }
  14729. ],
  14730. "produces": [
  14731. "application/json"
  14732. ],
  14733. "tags": [
  14734. "仓单贸易",
  14735. "仓单贸易"
  14736. ],
  14737. "summary": "获取带仓单分类的种类信息",
  14738. "responses": {
  14739. "200": {
  14740. "description": "OK",
  14741. "schema": {
  14742. "$ref": "#/definitions/app.Response"
  14743. }
  14744. },
  14745. "500": {
  14746. "description": "Internal Server Error",
  14747. "schema": {
  14748. "$ref": "#/definitions/app.Response"
  14749. }
  14750. }
  14751. }
  14752. }
  14753. },
  14754. "/WrTrade2/InsertXhcpSellBackApply": {
  14755. "post": {
  14756. "security": [
  14757. {
  14758. "ApiKeyAuth": []
  14759. }
  14760. ],
  14761. "produces": [
  14762. "application/json"
  14763. ],
  14764. "tags": [
  14765. "仓单贸易v2"
  14766. ],
  14767. "summary": "新增回收申请(新会陈皮)",
  14768. "parameters": [
  14769. {
  14770. "description": "回收申请",
  14771. "name": "jsonBody",
  14772. "in": "body",
  14773. "required": true,
  14774. "schema": {
  14775. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  14776. }
  14777. }
  14778. ],
  14779. "responses": {
  14780. "200": {
  14781. "description": "OK",
  14782. "schema": {
  14783. "$ref": "#/definitions/app.Response"
  14784. }
  14785. },
  14786. "500": {
  14787. "description": "Internal Server Error",
  14788. "schema": {
  14789. "$ref": "#/definitions/app.Response"
  14790. }
  14791. }
  14792. }
  14793. }
  14794. },
  14795. "/WrTrade2/QueryDeliveryGoodsSection": {
  14796. "get": {
  14797. "security": [
  14798. {
  14799. "ApiKeyAuth": []
  14800. }
  14801. ],
  14802. "produces": [
  14803. "application/json"
  14804. ],
  14805. "tags": [
  14806. "仓单贸易v2"
  14807. ],
  14808. "summary": "查询板块(分类)",
  14809. "responses": {
  14810. "200": {
  14811. "description": "OK",
  14812. "schema": {
  14813. "type": "array",
  14814. "items": {
  14815. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  14816. }
  14817. }
  14818. },
  14819. "500": {
  14820. "description": "Internal Server Error",
  14821. "schema": {
  14822. "$ref": "#/definitions/app.Response"
  14823. }
  14824. }
  14825. }
  14826. }
  14827. },
  14828. "/WrTrade2/QueryFaProductDetail": {
  14829. "get": {
  14830. "security": [
  14831. {
  14832. "ApiKeyAuth": []
  14833. }
  14834. ],
  14835. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  14836. "produces": [
  14837. "application/json"
  14838. ],
  14839. "tags": [
  14840. "仓单贸易v2"
  14841. ],
  14842. "summary": "查询融资产品列表",
  14843. "parameters": [
  14844. {
  14845. "type": "integer",
  14846. "description": "仓单要素id",
  14847. "name": "wrfactortypeid",
  14848. "in": "query",
  14849. "required": true
  14850. }
  14851. ],
  14852. "responses": {
  14853. "200": {
  14854. "description": "OK",
  14855. "schema": {
  14856. "type": "array",
  14857. "items": {
  14858. "$ref": "#/definitions/models.WrFAProductDetail"
  14859. }
  14860. }
  14861. },
  14862. "500": {
  14863. "description": "Internal Server Error",
  14864. "schema": {
  14865. "$ref": "#/definitions/app.Response"
  14866. }
  14867. }
  14868. }
  14869. }
  14870. },
  14871. "/WrTrade2/QueryFilterItem": {
  14872. "get": {
  14873. "security": [
  14874. {
  14875. "ApiKeyAuth": []
  14876. }
  14877. ],
  14878. "produces": [
  14879. "application/json"
  14880. ],
  14881. "tags": [
  14882. "仓单贸易v2"
  14883. ],
  14884. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14885. "parameters": [
  14886. {
  14887. "type": "string",
  14888. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14889. "name": "itype",
  14890. "in": "query",
  14891. "required": true
  14892. }
  14893. ],
  14894. "responses": {
  14895. "200": {
  14896. "description": "OK",
  14897. "schema": {
  14898. "type": "array",
  14899. "items": {
  14900. "$ref": "#/definitions/models.WrFilterItem"
  14901. }
  14902. }
  14903. },
  14904. "500": {
  14905. "description": "Internal Server Error",
  14906. "schema": {
  14907. "$ref": "#/definitions/app.Response"
  14908. }
  14909. }
  14910. }
  14911. }
  14912. },
  14913. "/WrTrade2/QueryFtDeliveryGoods": {
  14914. "get": {
  14915. "security": [
  14916. {
  14917. "ApiKeyAuth": []
  14918. }
  14919. ],
  14920. "produces": [
  14921. "application/json"
  14922. ],
  14923. "tags": [
  14924. "仓单贸易v2"
  14925. ],
  14926. "summary": "查询品种品类筛选框列表",
  14927. "responses": {
  14928. "200": {
  14929. "description": "OK",
  14930. "schema": {
  14931. "type": "array",
  14932. "items": {
  14933. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14934. }
  14935. }
  14936. },
  14937. "500": {
  14938. "description": "Internal Server Error",
  14939. "schema": {
  14940. "$ref": "#/definitions/app.Response"
  14941. }
  14942. }
  14943. }
  14944. }
  14945. },
  14946. "/WrTrade2/QueryHoldLB": {
  14947. "get": {
  14948. "security": [
  14949. {
  14950. "ApiKeyAuth": []
  14951. }
  14952. ],
  14953. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14954. "produces": [
  14955. "application/json"
  14956. ],
  14957. "tags": [
  14958. "仓单贸易v2"
  14959. ],
  14960. "summary": "查询仓单持有记录",
  14961. "parameters": [
  14962. {
  14963. "type": "integer",
  14964. "description": "资金账号",
  14965. "name": "accountid",
  14966. "in": "query",
  14967. "required": true
  14968. },
  14969. {
  14970. "type": "integer",
  14971. "description": "仓库id",
  14972. "name": "warehouseid",
  14973. "in": "query"
  14974. },
  14975. {
  14976. "type": "integer",
  14977. "description": "品种id",
  14978. "name": "deliverygoodsid",
  14979. "in": "query"
  14980. },
  14981. {
  14982. "type": "integer",
  14983. "description": "品类id",
  14984. "name": "wrstandardid",
  14985. "in": "query"
  14986. },
  14987. {
  14988. "type": "integer",
  14989. "description": "仓单要素id",
  14990. "name": "wrfactortypeid",
  14991. "in": "query"
  14992. },
  14993. {
  14994. "type": "string",
  14995. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14996. "name": "dgitemname",
  14997. "in": "query"
  14998. }
  14999. ],
  15000. "responses": {
  15001. "200": {
  15002. "description": "OK",
  15003. "schema": {
  15004. "type": "array",
  15005. "items": {
  15006. "$ref": "#/definitions/models.WrHoldLB"
  15007. }
  15008. }
  15009. },
  15010. "500": {
  15011. "description": "Internal Server Error",
  15012. "schema": {
  15013. "$ref": "#/definitions/app.Response"
  15014. }
  15015. }
  15016. }
  15017. }
  15018. },
  15019. "/WrTrade2/QueryOrderQuote": {
  15020. "get": {
  15021. "security": [
  15022. {
  15023. "ApiKeyAuth": []
  15024. }
  15025. ],
  15026. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  15027. "produces": [
  15028. "application/json"
  15029. ],
  15030. "tags": [
  15031. "仓单贸易v2"
  15032. ],
  15033. "summary": "查询大厅行情列表",
  15034. "parameters": [
  15035. {
  15036. "type": "integer",
  15037. "description": "页码",
  15038. "name": "page",
  15039. "in": "query"
  15040. },
  15041. {
  15042. "type": "integer",
  15043. "description": "每页条数",
  15044. "name": "pagesize",
  15045. "in": "query"
  15046. },
  15047. {
  15048. "type": "integer",
  15049. "description": "仓单贸易市场id",
  15050. "name": "marketid",
  15051. "in": "query"
  15052. },
  15053. {
  15054. "type": "integer",
  15055. "description": "价格方式 - 1:固定价 2-浮动价",
  15056. "name": "wrpricetype",
  15057. "in": "query",
  15058. "required": true
  15059. },
  15060. {
  15061. "type": "integer",
  15062. "description": "0:仓单预售 1:仓单贸易",
  15063. "name": "haswr",
  15064. "in": "query"
  15065. },
  15066. {
  15067. "type": "string",
  15068. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15069. "name": "dgitemname",
  15070. "in": "query"
  15071. },
  15072. {
  15073. "type": "integer",
  15074. "description": "仓库id(筛选条件)",
  15075. "name": "warehouseid",
  15076. "in": "query"
  15077. },
  15078. {
  15079. "type": "integer",
  15080. "description": "品种id",
  15081. "name": "deliverygoodsid",
  15082. "in": "query"
  15083. },
  15084. {
  15085. "type": "integer",
  15086. "description": "品类id",
  15087. "name": "wrstandardid",
  15088. "in": "query"
  15089. },
  15090. {
  15091. "type": "integer",
  15092. "description": "品牌id(dgfactoryitemid)",
  15093. "name": "brandid",
  15094. "in": "query"
  15095. },
  15096. {
  15097. "type": "integer",
  15098. "description": "年份id(dgfactoryitemid)",
  15099. "name": "yearsid",
  15100. "in": "query"
  15101. },
  15102. {
  15103. "type": "integer",
  15104. "description": "仓单要素id",
  15105. "name": "wrfactortypeid",
  15106. "in": "query"
  15107. },
  15108. {
  15109. "type": "string",
  15110. "description": "交收月(yyyy-mm) 仓单预售填写",
  15111. "name": "deliverymonth",
  15112. "in": "query"
  15113. }
  15114. ],
  15115. "responses": {
  15116. "200": {
  15117. "description": "OK",
  15118. "schema": {
  15119. "type": "array",
  15120. "items": {
  15121. "$ref": "#/definitions/models.WrOrderQuote"
  15122. }
  15123. }
  15124. },
  15125. "500": {
  15126. "description": "Internal Server Error",
  15127. "schema": {
  15128. "$ref": "#/definitions/app.Response"
  15129. }
  15130. }
  15131. }
  15132. }
  15133. },
  15134. "/WrTrade2/QueryOrderQuoteDetail": {
  15135. "get": {
  15136. "security": [
  15137. {
  15138. "ApiKeyAuth": []
  15139. }
  15140. ],
  15141. "produces": [
  15142. "application/json"
  15143. ],
  15144. "tags": [
  15145. "仓单贸易v2"
  15146. ],
  15147. "summary": "查询买卖大厅",
  15148. "parameters": [
  15149. {
  15150. "type": "integer",
  15151. "description": "页码",
  15152. "name": "page",
  15153. "in": "query"
  15154. },
  15155. {
  15156. "type": "integer",
  15157. "description": "每页条数",
  15158. "name": "pagesize",
  15159. "in": "query"
  15160. },
  15161. {
  15162. "type": "integer",
  15163. "description": "仓单贸易市场id",
  15164. "name": "marketid",
  15165. "in": "query"
  15166. },
  15167. {
  15168. "type": "integer",
  15169. "description": "价格方式 - 1:固定价 2-浮动价",
  15170. "name": "wrpricetype",
  15171. "in": "query",
  15172. "required": true
  15173. },
  15174. {
  15175. "type": "integer",
  15176. "description": "0:仓单预售 1:仓单贸易",
  15177. "name": "haswr",
  15178. "in": "query"
  15179. },
  15180. {
  15181. "type": "integer",
  15182. "description": "仓单要素id",
  15183. "name": "wrfactortypeid",
  15184. "in": "query",
  15185. "required": true
  15186. },
  15187. {
  15188. "type": "integer",
  15189. "description": "期货商品id(浮动价方式时填)",
  15190. "name": "goodsid",
  15191. "in": "query"
  15192. },
  15193. {
  15194. "type": "integer",
  15195. "description": "买卖方向 0-买 1-卖",
  15196. "name": "buyorsell",
  15197. "in": "query",
  15198. "required": true
  15199. },
  15200. {
  15201. "type": "string",
  15202. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  15203. "name": "deliverymonth",
  15204. "in": "query"
  15205. }
  15206. ],
  15207. "responses": {
  15208. "200": {
  15209. "description": "OK",
  15210. "schema": {
  15211. "type": "array",
  15212. "items": {
  15213. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  15214. }
  15215. }
  15216. },
  15217. "500": {
  15218. "description": "Internal Server Error",
  15219. "schema": {
  15220. "$ref": "#/definitions/app.Response"
  15221. }
  15222. }
  15223. }
  15224. }
  15225. },
  15226. "/WrTrade2/QueryOrderQuoteMyq": {
  15227. "get": {
  15228. "security": [
  15229. {
  15230. "ApiKeyAuth": []
  15231. }
  15232. ],
  15233. "produces": [
  15234. "application/json"
  15235. ],
  15236. "tags": [
  15237. "仓单贸易v2"
  15238. ],
  15239. "summary": "查询贸易圈挂牌大厅",
  15240. "parameters": [
  15241. {
  15242. "type": "integer",
  15243. "description": "页码",
  15244. "name": "page",
  15245. "in": "query"
  15246. },
  15247. {
  15248. "type": "integer",
  15249. "description": "每页条数",
  15250. "name": "pagesize",
  15251. "in": "query"
  15252. },
  15253. {
  15254. "type": "integer",
  15255. "description": "用户id",
  15256. "name": "userid",
  15257. "in": "query",
  15258. "required": true
  15259. },
  15260. {
  15261. "type": "integer",
  15262. "description": "仓单贸易市场id",
  15263. "name": "marketid",
  15264. "in": "query"
  15265. },
  15266. {
  15267. "type": "integer",
  15268. "description": "0:仓单预售 1:仓单贸易",
  15269. "name": "haswr",
  15270. "in": "query"
  15271. },
  15272. {
  15273. "type": "integer",
  15274. "description": "买卖方向 0-买 1-卖",
  15275. "name": "buyorsell",
  15276. "in": "query",
  15277. "required": true
  15278. },
  15279. {
  15280. "type": "integer",
  15281. "description": "品种id",
  15282. "name": "deliverygoodsid",
  15283. "in": "query"
  15284. },
  15285. {
  15286. "type": "integer",
  15287. "description": "品类id",
  15288. "name": "wrstandardid",
  15289. "in": "query"
  15290. },
  15291. {
  15292. "type": "string",
  15293. "description": "交收月(yyyy-mm) 仓单预售填写",
  15294. "name": "deliverymonth",
  15295. "in": "query"
  15296. },
  15297. {
  15298. "type": "string",
  15299. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15300. "name": "dgitemname",
  15301. "in": "query"
  15302. }
  15303. ],
  15304. "responses": {
  15305. "200": {
  15306. "description": "OK",
  15307. "schema": {
  15308. "type": "array",
  15309. "items": {
  15310. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  15311. }
  15312. }
  15313. },
  15314. "500": {
  15315. "description": "Internal Server Error",
  15316. "schema": {
  15317. "$ref": "#/definitions/app.Response"
  15318. }
  15319. }
  15320. }
  15321. }
  15322. },
  15323. "/WrTrade2/QueryPerformancePlan": {
  15324. "get": {
  15325. "security": [
  15326. {
  15327. "ApiKeyAuth": []
  15328. }
  15329. ],
  15330. "produces": [
  15331. "application/json"
  15332. ],
  15333. "tags": [
  15334. "仓单贸易v2"
  15335. ],
  15336. "summary": "查询履约信息",
  15337. "parameters": [
  15338. {
  15339. "type": "integer",
  15340. "description": "用户id",
  15341. "name": "userid",
  15342. "in": "query",
  15343. "required": true
  15344. },
  15345. {
  15346. "type": "integer",
  15347. "description": "买卖方向 0-买 1-卖",
  15348. "name": "buyorsell",
  15349. "in": "query",
  15350. "required": true
  15351. },
  15352. {
  15353. "type": "string",
  15354. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  15355. "name": "status",
  15356. "in": "query"
  15357. },
  15358. {
  15359. "type": "string",
  15360. "description": "开始交易日(yyyymmdd)",
  15361. "name": "begindate",
  15362. "in": "query"
  15363. },
  15364. {
  15365. "type": "string",
  15366. "description": "结束交易日(yyyymmdd)",
  15367. "name": "enddate",
  15368. "in": "query"
  15369. }
  15370. ],
  15371. "responses": {
  15372. "200": {
  15373. "description": "OK",
  15374. "schema": {
  15375. "type": "array",
  15376. "items": {
  15377. "$ref": "#/definitions/models.WrPerformancePlan"
  15378. }
  15379. }
  15380. },
  15381. "500": {
  15382. "description": "Internal Server Error",
  15383. "schema": {
  15384. "$ref": "#/definitions/app.Response"
  15385. }
  15386. }
  15387. }
  15388. }
  15389. },
  15390. "/WrTrade2/QueryPermancePlanTmp": {
  15391. "get": {
  15392. "security": [
  15393. {
  15394. "ApiKeyAuth": []
  15395. }
  15396. ],
  15397. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  15398. "produces": [
  15399. "application/json"
  15400. ],
  15401. "tags": [
  15402. "仓单贸易v2"
  15403. ],
  15404. "summary": "查询履约模板",
  15405. "parameters": [
  15406. {
  15407. "type": "integer",
  15408. "description": "用户id",
  15409. "name": "userid",
  15410. "in": "query"
  15411. },
  15412. {
  15413. "type": "string",
  15414. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  15415. "name": "tmptype",
  15416. "in": "query"
  15417. },
  15418. {
  15419. "type": "integer",
  15420. "description": "是否包含公共模板(用户id为空的) 1-包含",
  15421. "name": "includepub",
  15422. "in": "query"
  15423. },
  15424. {
  15425. "type": "integer",
  15426. "description": "市场id(天津麦顿指定此参数,其它不用)",
  15427. "name": "marketid",
  15428. "in": "query"
  15429. }
  15430. ],
  15431. "responses": {
  15432. "200": {
  15433. "description": "OK",
  15434. "schema": {
  15435. "type": "array",
  15436. "items": {
  15437. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  15438. }
  15439. }
  15440. },
  15441. "500": {
  15442. "description": "Internal Server Error",
  15443. "schema": {
  15444. "$ref": "#/definitions/app.Response"
  15445. }
  15446. }
  15447. }
  15448. }
  15449. },
  15450. "/WrTrade2/QuerySiteColumnDetail": {
  15451. "get": {
  15452. "security": [
  15453. {
  15454. "ApiKeyAuth": []
  15455. }
  15456. ],
  15457. "produces": [
  15458. "application/json"
  15459. ],
  15460. "tags": [
  15461. "仓单贸易v2"
  15462. ],
  15463. "summary": "查询资讯",
  15464. "parameters": [
  15465. {
  15466. "type": "integer",
  15467. "description": "页码",
  15468. "name": "page",
  15469. "in": "query"
  15470. },
  15471. {
  15472. "type": "integer",
  15473. "description": "每页条数",
  15474. "name": "pagesize",
  15475. "in": "query"
  15476. },
  15477. {
  15478. "type": "integer",
  15479. "description": "所属栏目id",
  15480. "name": "columnid",
  15481. "in": "query"
  15482. }
  15483. ],
  15484. "responses": {
  15485. "200": {
  15486. "description": "OK",
  15487. "schema": {
  15488. "type": "array",
  15489. "items": {
  15490. "$ref": "#/definitions/models.WrSiteColumnDetail"
  15491. }
  15492. }
  15493. },
  15494. "500": {
  15495. "description": "Internal Server Error",
  15496. "schema": {
  15497. "$ref": "#/definitions/app.Response"
  15498. }
  15499. }
  15500. }
  15501. }
  15502. },
  15503. "/WrTrade2/QuerySpotGroupTradeSum": {
  15504. "get": {
  15505. "security": [
  15506. {
  15507. "ApiKeyAuth": []
  15508. }
  15509. ],
  15510. "produces": [
  15511. "application/json"
  15512. ],
  15513. "tags": [
  15514. "仓单贸易v2"
  15515. ],
  15516. "summary": "查询指数",
  15517. "responses": {
  15518. "200": {
  15519. "description": "OK",
  15520. "schema": {
  15521. "type": "array",
  15522. "items": {
  15523. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  15524. }
  15525. }
  15526. },
  15527. "500": {
  15528. "description": "Internal Server Error",
  15529. "schema": {
  15530. "$ref": "#/definitions/app.Response"
  15531. }
  15532. }
  15533. }
  15534. }
  15535. },
  15536. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  15537. "get": {
  15538. "security": [
  15539. {
  15540. "ApiKeyAuth": []
  15541. }
  15542. ],
  15543. "description": "查询的结果将会按日期 从小到大 排序",
  15544. "produces": [
  15545. "application/json"
  15546. ],
  15547. "tags": [
  15548. "仓单贸易v2"
  15549. ],
  15550. "summary": "查询指数详细(价格走势图)",
  15551. "parameters": [
  15552. {
  15553. "type": "integer",
  15554. "description": "现货商品id",
  15555. "name": "deliverygoodsid",
  15556. "in": "query",
  15557. "required": true
  15558. },
  15559. {
  15560. "type": "integer",
  15561. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  15562. "name": "lastnum",
  15563. "in": "query"
  15564. }
  15565. ],
  15566. "responses": {
  15567. "200": {
  15568. "description": "OK",
  15569. "schema": {
  15570. "type": "array",
  15571. "items": {
  15572. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  15573. }
  15574. }
  15575. },
  15576. "500": {
  15577. "description": "Internal Server Error",
  15578. "schema": {
  15579. "$ref": "#/definitions/app.Response"
  15580. }
  15581. }
  15582. }
  15583. }
  15584. },
  15585. "/WrTrade2/QueryWrAverageTradePrice": {
  15586. "get": {
  15587. "security": [
  15588. {
  15589. "ApiKeyAuth": []
  15590. }
  15591. ],
  15592. "produces": [
  15593. "application/json"
  15594. ],
  15595. "tags": [
  15596. "仓单贸易v2"
  15597. ],
  15598. "summary": "查询成交价(历史走势)",
  15599. "parameters": [
  15600. {
  15601. "type": "integer",
  15602. "description": "页码",
  15603. "name": "page",
  15604. "in": "query"
  15605. },
  15606. {
  15607. "type": "integer",
  15608. "description": "每页条数",
  15609. "name": "pagesize",
  15610. "in": "query"
  15611. },
  15612. {
  15613. "type": "integer",
  15614. "description": "0:仓单预售 1:仓单贸易",
  15615. "name": "haswr",
  15616. "in": "query",
  15617. "required": true
  15618. },
  15619. {
  15620. "type": "integer",
  15621. "description": "仓单要素id",
  15622. "name": "wrfactortypeid",
  15623. "in": "query",
  15624. "required": true
  15625. }
  15626. ],
  15627. "responses": {
  15628. "200": {
  15629. "description": "OK",
  15630. "schema": {
  15631. "type": "array",
  15632. "items": {
  15633. "$ref": "#/definitions/models.WrAverageTradePrice"
  15634. }
  15635. }
  15636. },
  15637. "500": {
  15638. "description": "Internal Server Error",
  15639. "schema": {
  15640. "$ref": "#/definitions/app.Response"
  15641. }
  15642. }
  15643. }
  15644. }
  15645. },
  15646. "/WrTrade2/QueryWrBrandAndYears": {
  15647. "get": {
  15648. "security": [
  15649. {
  15650. "ApiKeyAuth": []
  15651. }
  15652. ],
  15653. "produces": [
  15654. "application/json"
  15655. ],
  15656. "tags": [
  15657. "仓单贸易v2"
  15658. ],
  15659. "summary": "查询品牌和年份",
  15660. "responses": {
  15661. "200": {
  15662. "description": "OK",
  15663. "schema": {
  15664. "type": "array",
  15665. "items": {
  15666. "$ref": "#/definitions/models.WrBrandAndYears"
  15667. }
  15668. }
  15669. },
  15670. "500": {
  15671. "description": "Internal Server Error",
  15672. "schema": {
  15673. "$ref": "#/definitions/app.Response"
  15674. }
  15675. }
  15676. }
  15677. }
  15678. },
  15679. "/WrTrade2/QueryWrBsGoodsInfo": {
  15680. "get": {
  15681. "security": [
  15682. {
  15683. "ApiKeyAuth": []
  15684. }
  15685. ],
  15686. "description": "合约交易/买卖大厅/详情",
  15687. "produces": [
  15688. "application/json"
  15689. ],
  15690. "tags": [
  15691. "仓单贸易v2"
  15692. ],
  15693. "summary": "查询合约交易买卖大厅详情",
  15694. "parameters": [
  15695. {
  15696. "type": "integer",
  15697. "description": "商品id",
  15698. "name": "goodsid",
  15699. "in": "query",
  15700. "required": true
  15701. }
  15702. ],
  15703. "responses": {
  15704. "200": {
  15705. "description": "OK",
  15706. "schema": {
  15707. "type": "array",
  15708. "items": {
  15709. "$ref": "#/definitions/models.WrBsGoodsInfo"
  15710. }
  15711. }
  15712. },
  15713. "500": {
  15714. "description": "Internal Server Error",
  15715. "schema": {
  15716. "$ref": "#/definitions/app.Response"
  15717. }
  15718. }
  15719. }
  15720. }
  15721. },
  15722. "/WrTrade2/QueryWrBuybackDetail": {
  15723. "get": {
  15724. "security": [
  15725. {
  15726. "ApiKeyAuth": []
  15727. }
  15728. ],
  15729. "produces": [
  15730. "application/json"
  15731. ],
  15732. "tags": [
  15733. "仓单贸易v2"
  15734. ],
  15735. "summary": "查询仓单回购明细",
  15736. "parameters": [
  15737. {
  15738. "type": "integer",
  15739. "description": "融资合同id",
  15740. "name": "scfcontractid",
  15741. "in": "query"
  15742. }
  15743. ],
  15744. "responses": {
  15745. "200": {
  15746. "description": "OK",
  15747. "schema": {
  15748. "type": "array",
  15749. "items": {
  15750. "$ref": "#/definitions/models.WrBuybackDetail"
  15751. }
  15752. }
  15753. },
  15754. "500": {
  15755. "description": "Internal Server Error",
  15756. "schema": {
  15757. "$ref": "#/definitions/app.Response"
  15758. }
  15759. }
  15760. }
  15761. }
  15762. },
  15763. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  15764. "get": {
  15765. "security": [
  15766. {
  15767. "ApiKeyAuth": []
  15768. }
  15769. ],
  15770. "produces": [
  15771. "application/json"
  15772. ],
  15773. "tags": [
  15774. "仓单贸易v2"
  15775. ],
  15776. "summary": "查询固定广告配置",
  15777. "responses": {
  15778. "200": {
  15779. "description": "OK",
  15780. "schema": {
  15781. "type": "array",
  15782. "items": {
  15783. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  15784. }
  15785. }
  15786. },
  15787. "500": {
  15788. "description": "Internal Server Error",
  15789. "schema": {
  15790. "$ref": "#/definitions/app.Response"
  15791. }
  15792. }
  15793. }
  15794. }
  15795. },
  15796. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  15797. "get": {
  15798. "security": [
  15799. {
  15800. "ApiKeyAuth": []
  15801. }
  15802. ],
  15803. "produces": [
  15804. "application/json"
  15805. ],
  15806. "tags": [
  15807. "仓单贸易v2"
  15808. ],
  15809. "summary": "查询合约交收可点选仓单",
  15810. "parameters": [
  15811. {
  15812. "type": "integer",
  15813. "description": "资金账号",
  15814. "name": "accountid",
  15815. "in": "query",
  15816. "required": true
  15817. },
  15818. {
  15819. "type": "integer",
  15820. "description": "商品id",
  15821. "name": "goodsid",
  15822. "in": "query",
  15823. "required": true
  15824. }
  15825. ],
  15826. "responses": {
  15827. "200": {
  15828. "description": "OK",
  15829. "schema": {
  15830. "type": "array",
  15831. "items": {
  15832. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  15833. }
  15834. }
  15835. },
  15836. "500": {
  15837. "description": "Internal Server Error",
  15838. "schema": {
  15839. "$ref": "#/definitions/app.Response"
  15840. }
  15841. }
  15842. }
  15843. }
  15844. },
  15845. "/WrTrade2/QueryWrDeliveryDetail": {
  15846. "get": {
  15847. "security": [
  15848. {
  15849. "ApiKeyAuth": []
  15850. }
  15851. ],
  15852. "produces": [
  15853. "application/json"
  15854. ],
  15855. "tags": [
  15856. "仓单贸易v2"
  15857. ],
  15858. "summary": "查询交收",
  15859. "parameters": [
  15860. {
  15861. "type": "integer",
  15862. "description": "用户id",
  15863. "name": "userid",
  15864. "in": "query",
  15865. "required": true
  15866. },
  15867. {
  15868. "type": "integer",
  15869. "description": "资金账号id",
  15870. "name": "accountid",
  15871. "in": "query"
  15872. },
  15873. {
  15874. "type": "string",
  15875. "description": "开始交易日(yyyymmdd)",
  15876. "name": "begindate",
  15877. "in": "query"
  15878. },
  15879. {
  15880. "type": "string",
  15881. "description": "结束交易日(yyyymmdd)",
  15882. "name": "enddate",
  15883. "in": "query"
  15884. }
  15885. ],
  15886. "responses": {
  15887. "200": {
  15888. "description": "OK",
  15889. "schema": {
  15890. "type": "array",
  15891. "items": {
  15892. "$ref": "#/definitions/models.WrDeliveryDetail"
  15893. }
  15894. }
  15895. },
  15896. "500": {
  15897. "description": "Internal Server Error",
  15898. "schema": {
  15899. "$ref": "#/definitions/app.Response"
  15900. }
  15901. }
  15902. }
  15903. }
  15904. },
  15905. "/WrTrade2/QueryWrDraftUserInfo": {
  15906. "get": {
  15907. "security": [
  15908. {
  15909. "ApiKeyAuth": []
  15910. }
  15911. ],
  15912. "produces": [
  15913. "application/json"
  15914. ],
  15915. "tags": [
  15916. "仓单贸易v2"
  15917. ],
  15918. "summary": "查询实名认证信息",
  15919. "parameters": [
  15920. {
  15921. "type": "integer",
  15922. "description": "用户ID",
  15923. "name": "userid",
  15924. "in": "query",
  15925. "required": true
  15926. },
  15927. {
  15928. "type": "integer",
  15929. "description": "用户状态 1:正常 2:注销",
  15930. "name": "userstatus",
  15931. "in": "query"
  15932. }
  15933. ],
  15934. "responses": {
  15935. "200": {
  15936. "description": "OK",
  15937. "schema": {
  15938. "type": "array",
  15939. "items": {
  15940. "$ref": "#/definitions/models.WrDraftUserInfo"
  15941. }
  15942. }
  15943. },
  15944. "500": {
  15945. "description": "Internal Server Error",
  15946. "schema": {
  15947. "$ref": "#/definitions/app.Response"
  15948. }
  15949. }
  15950. }
  15951. }
  15952. },
  15953. "/WrTrade2/QueryWrFactorTypeInfo": {
  15954. "get": {
  15955. "security": [
  15956. {
  15957. "ApiKeyAuth": []
  15958. }
  15959. ],
  15960. "produces": [
  15961. "application/json"
  15962. ],
  15963. "tags": [
  15964. "仓单贸易v2"
  15965. ],
  15966. "summary": "查询仓单要素详细信息",
  15967. "parameters": [
  15968. {
  15969. "type": "integer",
  15970. "description": "仓单要素id",
  15971. "name": "wrfactortypeid",
  15972. "in": "query",
  15973. "required": true
  15974. }
  15975. ],
  15976. "responses": {
  15977. "200": {
  15978. "description": "OK",
  15979. "schema": {
  15980. "type": "array",
  15981. "items": {
  15982. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15983. }
  15984. }
  15985. },
  15986. "500": {
  15987. "description": "Internal Server Error",
  15988. "schema": {
  15989. "$ref": "#/definitions/app.Response"
  15990. }
  15991. }
  15992. }
  15993. }
  15994. },
  15995. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15996. "get": {
  15997. "security": [
  15998. {
  15999. "ApiKeyAuth": []
  16000. }
  16001. ],
  16002. "produces": [
  16003. "application/json"
  16004. ],
  16005. "tags": [
  16006. "仓单贸易v2"
  16007. ],
  16008. "summary": "查询仓单要素详细信息列表项",
  16009. "parameters": [
  16010. {
  16011. "type": "integer",
  16012. "description": "仓单要素id",
  16013. "name": "wrfactortypeid",
  16014. "in": "query",
  16015. "required": true
  16016. }
  16017. ],
  16018. "responses": {
  16019. "200": {
  16020. "description": "OK",
  16021. "schema": {
  16022. "type": "array",
  16023. "items": {
  16024. "$ref": "#/definitions/models.WrTypeItem"
  16025. }
  16026. }
  16027. },
  16028. "500": {
  16029. "description": "Internal Server Error",
  16030. "schema": {
  16031. "$ref": "#/definitions/app.Response"
  16032. }
  16033. }
  16034. }
  16035. }
  16036. },
  16037. "/WrTrade2/QueryWrFinanceBuyApply": {
  16038. "get": {
  16039. "security": [
  16040. {
  16041. "ApiKeyAuth": []
  16042. }
  16043. ],
  16044. "description": "页面 融资信息+ / 申请单",
  16045. "produces": [
  16046. "application/json"
  16047. ],
  16048. "tags": [
  16049. "仓单贸易v2"
  16050. ],
  16051. "summary": "查询融资购买申请",
  16052. "parameters": [
  16053. {
  16054. "type": "integer",
  16055. "description": "用户id",
  16056. "name": "userid",
  16057. "in": "query",
  16058. "required": true
  16059. }
  16060. ],
  16061. "responses": {
  16062. "200": {
  16063. "description": "OK",
  16064. "schema": {
  16065. "type": "array",
  16066. "items": {
  16067. "$ref": "#/definitions/models.WrFinanceBuyApply"
  16068. }
  16069. }
  16070. },
  16071. "500": {
  16072. "description": "Internal Server Error",
  16073. "schema": {
  16074. "$ref": "#/definitions/app.Response"
  16075. }
  16076. }
  16077. }
  16078. }
  16079. },
  16080. "/WrTrade2/QueryWrFriendApply": {
  16081. "get": {
  16082. "security": [
  16083. {
  16084. "ApiKeyAuth": []
  16085. }
  16086. ],
  16087. "produces": [
  16088. "application/json"
  16089. ],
  16090. "tags": [
  16091. "仓单贸易v2"
  16092. ],
  16093. "summary": "查询好友申请记录",
  16094. "parameters": [
  16095. {
  16096. "type": "integer",
  16097. "description": "用户id",
  16098. "name": "userid",
  16099. "in": "query",
  16100. "required": true
  16101. }
  16102. ],
  16103. "responses": {
  16104. "200": {
  16105. "description": "OK",
  16106. "schema": {
  16107. "type": "array",
  16108. "items": {
  16109. "$ref": "#/definitions/models.WrFriendApply"
  16110. }
  16111. }
  16112. },
  16113. "500": {
  16114. "description": "Internal Server Error",
  16115. "schema": {
  16116. "$ref": "#/definitions/app.Response"
  16117. }
  16118. }
  16119. }
  16120. }
  16121. },
  16122. "/WrTrade2/QueryWrGoodsInfo": {
  16123. "get": {
  16124. "security": [
  16125. {
  16126. "ApiKeyAuth": []
  16127. }
  16128. ],
  16129. "produces": [
  16130. "application/json"
  16131. ],
  16132. "tags": [
  16133. "仓单贸易v2"
  16134. ],
  16135. "summary": "查询仓单商品信息",
  16136. "parameters": [
  16137. {
  16138. "type": "integer",
  16139. "description": "仓单贸易市场id",
  16140. "name": "marketid",
  16141. "in": "query"
  16142. },
  16143. {
  16144. "type": "integer",
  16145. "description": "0:仓单预售 1:仓单贸易",
  16146. "name": "haswr",
  16147. "in": "query",
  16148. "required": true
  16149. },
  16150. {
  16151. "type": "integer",
  16152. "description": "仓单要素id",
  16153. "name": "wrfactortypeid",
  16154. "in": "query",
  16155. "required": true
  16156. },
  16157. {
  16158. "type": "integer",
  16159. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  16160. "name": "tmplateid",
  16161. "in": "query"
  16162. }
  16163. ],
  16164. "responses": {
  16165. "200": {
  16166. "description": "OK",
  16167. "schema": {
  16168. "type": "array",
  16169. "items": {
  16170. "$ref": "#/definitions/models.WrGoodsInfo"
  16171. }
  16172. }
  16173. },
  16174. "500": {
  16175. "description": "Internal Server Error",
  16176. "schema": {
  16177. "$ref": "#/definitions/app.Response"
  16178. }
  16179. }
  16180. }
  16181. }
  16182. },
  16183. "/WrTrade2/QueryWrMarketTradeConfig": {
  16184. "get": {
  16185. "security": [
  16186. {
  16187. "ApiKeyAuth": []
  16188. }
  16189. ],
  16190. "produces": [
  16191. "application/json"
  16192. ],
  16193. "tags": [
  16194. "仓单贸易v2"
  16195. ],
  16196. "summary": "查询市场交易参数配置",
  16197. "parameters": [
  16198. {
  16199. "type": "integer",
  16200. "description": "市场id",
  16201. "name": "marketid",
  16202. "in": "query"
  16203. }
  16204. ],
  16205. "responses": {
  16206. "200": {
  16207. "description": "OK",
  16208. "schema": {
  16209. "type": "array",
  16210. "items": {
  16211. "$ref": "#/definitions/models.WrMarketTradeConfig"
  16212. }
  16213. }
  16214. },
  16215. "500": {
  16216. "description": "Internal Server Error",
  16217. "schema": {
  16218. "$ref": "#/definitions/app.Response"
  16219. }
  16220. }
  16221. }
  16222. }
  16223. },
  16224. "/WrTrade2/QueryWrOrderDetail": {
  16225. "get": {
  16226. "security": [
  16227. {
  16228. "ApiKeyAuth": []
  16229. }
  16230. ],
  16231. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  16232. "produces": [
  16233. "application/json"
  16234. ],
  16235. "tags": [
  16236. "仓单贸易v2"
  16237. ],
  16238. "summary": "查询仓单委托单",
  16239. "parameters": [
  16240. {
  16241. "type": "integer",
  16242. "description": "页码",
  16243. "name": "page",
  16244. "in": "query"
  16245. },
  16246. {
  16247. "type": "integer",
  16248. "description": "每页条数",
  16249. "name": "pagesize",
  16250. "in": "query"
  16251. },
  16252. {
  16253. "type": "integer",
  16254. "description": "用户id",
  16255. "name": "userid",
  16256. "in": "query",
  16257. "required": true
  16258. },
  16259. {
  16260. "type": "integer",
  16261. "description": "仓单贸易市场id",
  16262. "name": "marketid",
  16263. "in": "query"
  16264. },
  16265. {
  16266. "type": "integer",
  16267. "description": "0:仓单预售 1:仓单贸易",
  16268. "name": "haswr",
  16269. "in": "query",
  16270. "required": true
  16271. },
  16272. {
  16273. "type": "integer",
  16274. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  16275. "name": "bcancel",
  16276. "in": "query"
  16277. },
  16278. {
  16279. "type": "integer",
  16280. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  16281. "name": "wrtradetype",
  16282. "in": "query"
  16283. },
  16284. {
  16285. "type": "string",
  16286. "description": "开始交易日(yyyymmdd)",
  16287. "name": "begindate",
  16288. "in": "query"
  16289. },
  16290. {
  16291. "type": "string",
  16292. "description": "结束交易日(yyyymmdd)",
  16293. "name": "enddate",
  16294. "in": "query"
  16295. }
  16296. ],
  16297. "responses": {
  16298. "200": {
  16299. "description": "OK",
  16300. "schema": {
  16301. "type": "array",
  16302. "items": {
  16303. "$ref": "#/definitions/models.WrOrderDetail"
  16304. }
  16305. }
  16306. },
  16307. "500": {
  16308. "description": "Internal Server Error",
  16309. "schema": {
  16310. "$ref": "#/definitions/app.Response"
  16311. }
  16312. }
  16313. }
  16314. }
  16315. },
  16316. "/WrTrade2/QueryWrOutInApply": {
  16317. "get": {
  16318. "security": [
  16319. {
  16320. "ApiKeyAuth": []
  16321. }
  16322. ],
  16323. "produces": [
  16324. "application/json"
  16325. ],
  16326. "tags": [
  16327. "仓单贸易v2"
  16328. ],
  16329. "summary": "查询提货申请",
  16330. "parameters": [
  16331. {
  16332. "type": "integer",
  16333. "description": "页码",
  16334. "name": "page",
  16335. "in": "query"
  16336. },
  16337. {
  16338. "type": "integer",
  16339. "description": "每页条数",
  16340. "name": "pagesize",
  16341. "in": "query"
  16342. },
  16343. {
  16344. "type": "integer",
  16345. "description": "用户id",
  16346. "name": "userid",
  16347. "in": "query",
  16348. "required": true
  16349. },
  16350. {
  16351. "type": "string",
  16352. "description": "开始交易日(yyyymmdd)",
  16353. "name": "begindate",
  16354. "in": "query"
  16355. },
  16356. {
  16357. "type": "string",
  16358. "description": "结束交易日(yyyymmdd)",
  16359. "name": "enddate",
  16360. "in": "query"
  16361. }
  16362. ],
  16363. "responses": {
  16364. "200": {
  16365. "description": "OK",
  16366. "schema": {
  16367. "type": "array",
  16368. "items": {
  16369. "$ref": "#/definitions/models.WrOutInApply"
  16370. }
  16371. }
  16372. },
  16373. "500": {
  16374. "description": "Internal Server Error",
  16375. "schema": {
  16376. "$ref": "#/definitions/app.Response"
  16377. }
  16378. }
  16379. }
  16380. }
  16381. },
  16382. "/WrTrade2/QueryWrPerformancePlanStep": {
  16383. "get": {
  16384. "security": [
  16385. {
  16386. "ApiKeyAuth": []
  16387. }
  16388. ],
  16389. "produces": [
  16390. "application/json"
  16391. ],
  16392. "tags": [
  16393. "仓单贸易v2"
  16394. ],
  16395. "summary": "查询履约信息详情",
  16396. "parameters": [
  16397. {
  16398. "type": "integer",
  16399. "description": "履约计划id(performanceplanid)",
  16400. "name": "planid",
  16401. "in": "query",
  16402. "required": true
  16403. },
  16404. {
  16405. "type": "integer",
  16406. "description": "当前步骤id",
  16407. "name": "curstepid",
  16408. "in": "query"
  16409. }
  16410. ],
  16411. "responses": {
  16412. "200": {
  16413. "description": "OK",
  16414. "schema": {
  16415. "type": "array",
  16416. "items": {
  16417. "$ref": "#/definitions/models.WrPerformancePlanStep"
  16418. }
  16419. }
  16420. },
  16421. "500": {
  16422. "description": "Internal Server Error",
  16423. "schema": {
  16424. "$ref": "#/definitions/app.Response"
  16425. }
  16426. }
  16427. }
  16428. }
  16429. },
  16430. "/WrTrade2/QueryWrPerformanceStepType": {
  16431. "get": {
  16432. "security": [
  16433. {
  16434. "ApiKeyAuth": []
  16435. }
  16436. ],
  16437. "produces": [
  16438. "application/json"
  16439. ],
  16440. "tags": [
  16441. "仓单贸易v2"
  16442. ],
  16443. "summary": "查询履约步骤枚举",
  16444. "responses": {
  16445. "200": {
  16446. "description": "OK",
  16447. "schema": {
  16448. "type": "array",
  16449. "items": {
  16450. "$ref": "#/definitions/models.WrPerformanceStepType"
  16451. }
  16452. }
  16453. },
  16454. "500": {
  16455. "description": "Internal Server Error",
  16456. "schema": {
  16457. "$ref": "#/definitions/app.Response"
  16458. }
  16459. }
  16460. }
  16461. }
  16462. },
  16463. "/WrTrade2/QueryWrPosition": {
  16464. "get": {
  16465. "security": [
  16466. {
  16467. "ApiKeyAuth": []
  16468. }
  16469. ],
  16470. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  16471. "produces": [
  16472. "application/json"
  16473. ],
  16474. "tags": [
  16475. "仓单贸易v2"
  16476. ],
  16477. "summary": "查询现货(预售)仓单持仓",
  16478. "parameters": [
  16479. {
  16480. "type": "integer",
  16481. "description": "用户id",
  16482. "name": "userid",
  16483. "in": "query",
  16484. "required": true
  16485. },
  16486. {
  16487. "type": "integer",
  16488. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  16489. "name": "querytype",
  16490. "in": "query",
  16491. "required": true
  16492. },
  16493. {
  16494. "type": "integer",
  16495. "description": "0:仓单预售 1:仓单贸易",
  16496. "name": "haswr",
  16497. "in": "query",
  16498. "required": true
  16499. },
  16500. {
  16501. "type": "string",
  16502. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16503. "name": "dgitemname",
  16504. "in": "query"
  16505. },
  16506. {
  16507. "type": "integer",
  16508. "description": "仓库id(筛选条件)",
  16509. "name": "warehouseid",
  16510. "in": "query"
  16511. },
  16512. {
  16513. "type": "integer",
  16514. "description": "品种id",
  16515. "name": "deliverygoodsid",
  16516. "in": "query"
  16517. },
  16518. {
  16519. "type": "integer",
  16520. "description": "品类id",
  16521. "name": "wrstandardid",
  16522. "in": "query"
  16523. }
  16524. ],
  16525. "responses": {
  16526. "200": {
  16527. "description": "OK",
  16528. "schema": {
  16529. "type": "array",
  16530. "items": {
  16531. "$ref": "#/definitions/models.WrPosition"
  16532. }
  16533. }
  16534. },
  16535. "500": {
  16536. "description": "Internal Server Error",
  16537. "schema": {
  16538. "$ref": "#/definitions/app.Response"
  16539. }
  16540. }
  16541. }
  16542. }
  16543. },
  16544. "/WrTrade2/QueryWrPreSaleInfo": {
  16545. "get": {
  16546. "security": [
  16547. {
  16548. "ApiKeyAuth": []
  16549. }
  16550. ],
  16551. "produces": [
  16552. "application/json"
  16553. ],
  16554. "tags": [
  16555. "仓单贸易v2"
  16556. ],
  16557. "summary": "查询新品发布",
  16558. "parameters": [
  16559. {
  16560. "type": "integer",
  16561. "description": "市场id",
  16562. "name": "marketid",
  16563. "in": "query"
  16564. },
  16565. {
  16566. "type": "string",
  16567. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  16568. "name": "presalestatus",
  16569. "in": "query"
  16570. },
  16571. {
  16572. "type": "integer",
  16573. "description": "摇号标识 - 0:未摇号 1:已摇号",
  16574. "name": "lotteryflag",
  16575. "in": "query"
  16576. },
  16577. {
  16578. "type": "integer",
  16579. "description": "最近多少条记录(按创建时间倒序)",
  16580. "name": "lastnum",
  16581. "in": "query"
  16582. }
  16583. ],
  16584. "responses": {
  16585. "200": {
  16586. "description": "OK",
  16587. "schema": {
  16588. "type": "array",
  16589. "items": {
  16590. "$ref": "#/definitions/models.WrPreSaleInfo"
  16591. }
  16592. }
  16593. },
  16594. "500": {
  16595. "description": "Internal Server Error",
  16596. "schema": {
  16597. "$ref": "#/definitions/app.Response"
  16598. }
  16599. }
  16600. }
  16601. }
  16602. },
  16603. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  16604. "get": {
  16605. "security": [
  16606. {
  16607. "ApiKeyAuth": []
  16608. }
  16609. ],
  16610. "produces": [
  16611. "application/json"
  16612. ],
  16613. "tags": [
  16614. "仓单贸易v2"
  16615. ],
  16616. "summary": "查询价格走势",
  16617. "parameters": [
  16618. {
  16619. "type": "integer",
  16620. "description": "市场id",
  16621. "name": "marketid",
  16622. "in": "query",
  16623. "required": true
  16624. },
  16625. {
  16626. "type": "integer",
  16627. "description": "现货商品id",
  16628. "name": "wrstandardid",
  16629. "in": "query",
  16630. "required": true
  16631. },
  16632. {
  16633. "type": "string",
  16634. "description": "开始交易日(yyyymmdd)",
  16635. "name": "begindate",
  16636. "in": "query"
  16637. },
  16638. {
  16639. "type": "string",
  16640. "description": "结束交易日(yyyymmdd)",
  16641. "name": "enddate",
  16642. "in": "query"
  16643. },
  16644. {
  16645. "type": "integer",
  16646. "description": "最近多少条记录(按交易日倒序)",
  16647. "name": "lastnum",
  16648. "in": "query"
  16649. },
  16650. {
  16651. "type": "boolean",
  16652. "description": "是否今日",
  16653. "name": "istoday",
  16654. "in": "query"
  16655. }
  16656. ],
  16657. "responses": {
  16658. "200": {
  16659. "description": "OK",
  16660. "schema": {
  16661. "type": "array",
  16662. "items": {
  16663. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  16664. }
  16665. }
  16666. },
  16667. "500": {
  16668. "description": "Internal Server Error",
  16669. "schema": {
  16670. "$ref": "#/definitions/app.Response"
  16671. }
  16672. }
  16673. }
  16674. }
  16675. },
  16676. "/WrTrade2/QueryWrScfContract": {
  16677. "get": {
  16678. "security": [
  16679. {
  16680. "ApiKeyAuth": []
  16681. }
  16682. ],
  16683. "produces": [
  16684. "application/json"
  16685. ],
  16686. "tags": [
  16687. "仓单贸易v2"
  16688. ],
  16689. "summary": "查询仓单贸易融资合同",
  16690. "parameters": [
  16691. {
  16692. "type": "integer",
  16693. "description": "用户id",
  16694. "name": "userid",
  16695. "in": "query",
  16696. "required": true
  16697. },
  16698. {
  16699. "type": "integer",
  16700. "description": "融资合同id",
  16701. "name": "scfcontractid",
  16702. "in": "query"
  16703. }
  16704. ],
  16705. "responses": {
  16706. "200": {
  16707. "description": "OK",
  16708. "schema": {
  16709. "type": "array",
  16710. "items": {
  16711. "$ref": "#/definitions/models.WrScfContract"
  16712. }
  16713. }
  16714. },
  16715. "500": {
  16716. "description": "Internal Server Error",
  16717. "schema": {
  16718. "$ref": "#/definitions/app.Response"
  16719. }
  16720. }
  16721. }
  16722. }
  16723. },
  16724. "/WrTrade2/QueryWrScfContractInterest": {
  16725. "get": {
  16726. "security": [
  16727. {
  16728. "ApiKeyAuth": []
  16729. }
  16730. ],
  16731. "produces": [
  16732. "application/json"
  16733. ],
  16734. "tags": [
  16735. "仓单贸易v2"
  16736. ],
  16737. "summary": "查询融资合同费用明细",
  16738. "parameters": [
  16739. {
  16740. "type": "integer",
  16741. "description": "融资合同id",
  16742. "name": "scfcontractid",
  16743. "in": "query"
  16744. }
  16745. ],
  16746. "responses": {
  16747. "200": {
  16748. "description": "OK",
  16749. "schema": {
  16750. "type": "array",
  16751. "items": {
  16752. "$ref": "#/definitions/models.WrScfContractInterest"
  16753. }
  16754. }
  16755. },
  16756. "500": {
  16757. "description": "Internal Server Error",
  16758. "schema": {
  16759. "$ref": "#/definitions/app.Response"
  16760. }
  16761. }
  16762. }
  16763. }
  16764. },
  16765. "/WrTrade2/QueryWrSearchUser": {
  16766. "get": {
  16767. "security": [
  16768. {
  16769. "ApiKeyAuth": []
  16770. }
  16771. ],
  16772. "produces": [
  16773. "application/json"
  16774. ],
  16775. "tags": [
  16776. "仓单贸易v2"
  16777. ],
  16778. "summary": "查询用户",
  16779. "parameters": [
  16780. {
  16781. "type": "string",
  16782. "description": "用户名称(模糊匹配)",
  16783. "name": "username",
  16784. "in": "query",
  16785. "required": true
  16786. }
  16787. ],
  16788. "responses": {
  16789. "200": {
  16790. "description": "OK",
  16791. "schema": {
  16792. "type": "array",
  16793. "items": {
  16794. "$ref": "#/definitions/models.WrSearchUser"
  16795. }
  16796. }
  16797. },
  16798. "500": {
  16799. "description": "Internal Server Error",
  16800. "schema": {
  16801. "$ref": "#/definitions/app.Response"
  16802. }
  16803. }
  16804. }
  16805. }
  16806. },
  16807. "/WrTrade2/QueryWrSpecialMatchOrder": {
  16808. "get": {
  16809. "security": [
  16810. {
  16811. "ApiKeyAuth": []
  16812. }
  16813. ],
  16814. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  16815. "produces": [
  16816. "application/json"
  16817. ],
  16818. "tags": [
  16819. "仓单贸易v2"
  16820. ],
  16821. "summary": "查询指定成交",
  16822. "parameters": [
  16823. {
  16824. "type": "integer",
  16825. "description": "页码",
  16826. "name": "page",
  16827. "in": "query"
  16828. },
  16829. {
  16830. "type": "integer",
  16831. "description": "每页条数",
  16832. "name": "pagesize",
  16833. "in": "query"
  16834. },
  16835. {
  16836. "type": "integer",
  16837. "description": "用户id",
  16838. "name": "userid",
  16839. "in": "query",
  16840. "required": true
  16841. },
  16842. {
  16843. "type": "integer",
  16844. "description": "仓单贸易市场id",
  16845. "name": "marketid",
  16846. "in": "query"
  16847. },
  16848. {
  16849. "type": "integer",
  16850. "description": "0:仓单预售 1:仓单贸易",
  16851. "name": "haswr",
  16852. "in": "query",
  16853. "required": true
  16854. },
  16855. {
  16856. "type": "integer",
  16857. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  16858. "name": "isspecified",
  16859. "in": "query"
  16860. }
  16861. ],
  16862. "responses": {
  16863. "200": {
  16864. "description": "OK",
  16865. "schema": {
  16866. "type": "array",
  16867. "items": {
  16868. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  16869. }
  16870. }
  16871. },
  16872. "500": {
  16873. "description": "Internal Server Error",
  16874. "schema": {
  16875. "$ref": "#/definitions/app.Response"
  16876. }
  16877. }
  16878. }
  16879. }
  16880. },
  16881. "/WrTrade2/QueryWrStandardFactoryItem": {
  16882. "get": {
  16883. "security": [
  16884. {
  16885. "ApiKeyAuth": []
  16886. }
  16887. ],
  16888. "produces": [
  16889. "application/json"
  16890. ],
  16891. "tags": [
  16892. "仓单贸易v2"
  16893. ],
  16894. "summary": "查询品类要素定义项",
  16895. "parameters": [
  16896. {
  16897. "type": "integer",
  16898. "description": "品类id",
  16899. "name": "wrstandardid",
  16900. "in": "query",
  16901. "required": true
  16902. }
  16903. ],
  16904. "responses": {
  16905. "200": {
  16906. "description": "OK",
  16907. "schema": {
  16908. "type": "array",
  16909. "items": {
  16910. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16911. }
  16912. }
  16913. },
  16914. "500": {
  16915. "description": "Internal Server Error",
  16916. "schema": {
  16917. "$ref": "#/definitions/app.Response"
  16918. }
  16919. }
  16920. }
  16921. }
  16922. },
  16923. "/WrTrade2/QueryWrTradeBargainApply": {
  16924. "get": {
  16925. "security": [
  16926. {
  16927. "ApiKeyAuth": []
  16928. }
  16929. ],
  16930. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16931. "produces": [
  16932. "application/json"
  16933. ],
  16934. "tags": [
  16935. "仓单贸易v2"
  16936. ],
  16937. "summary": "查询议价单",
  16938. "parameters": [
  16939. {
  16940. "type": "integer",
  16941. "description": "议价人id(摘牌方)",
  16942. "name": "userid",
  16943. "in": "query"
  16944. },
  16945. {
  16946. "type": "integer",
  16947. "description": "挂牌方id(查对方议价时,填写此项)",
  16948. "name": "matchuserid",
  16949. "in": "query"
  16950. },
  16951. {
  16952. "type": "integer",
  16953. "description": "关联委托单id",
  16954. "name": "wrtradeorderid",
  16955. "in": "query"
  16956. },
  16957. {
  16958. "type": "integer",
  16959. "description": "0:仓单预售 1:仓单贸易",
  16960. "name": "haswr",
  16961. "in": "query",
  16962. "required": true
  16963. },
  16964. {
  16965. "type": "string",
  16966. "description": "开始交易日(yyyymmdd)",
  16967. "name": "begindate",
  16968. "in": "query"
  16969. },
  16970. {
  16971. "type": "string",
  16972. "description": "结束交易日(yyyymmdd)",
  16973. "name": "enddate",
  16974. "in": "query"
  16975. }
  16976. ],
  16977. "responses": {
  16978. "200": {
  16979. "description": "OK",
  16980. "schema": {
  16981. "type": "array",
  16982. "items": {
  16983. "$ref": "#/definitions/models.WRTradeBargainApply"
  16984. }
  16985. }
  16986. },
  16987. "500": {
  16988. "description": "Internal Server Error",
  16989. "schema": {
  16990. "$ref": "#/definitions/app.Response"
  16991. }
  16992. }
  16993. }
  16994. }
  16995. },
  16996. "/WrTrade2/QueryWrTradeDetail": {
  16997. "get": {
  16998. "security": [
  16999. {
  17000. "ApiKeyAuth": []
  17001. }
  17002. ],
  17003. "produces": [
  17004. "application/json"
  17005. ],
  17006. "tags": [
  17007. "仓单贸易v2"
  17008. ],
  17009. "summary": "查询仓单成交明细",
  17010. "parameters": [
  17011. {
  17012. "type": "integer",
  17013. "description": "页码",
  17014. "name": "page",
  17015. "in": "query"
  17016. },
  17017. {
  17018. "type": "integer",
  17019. "description": "每页条数",
  17020. "name": "pagesize",
  17021. "in": "query"
  17022. },
  17023. {
  17024. "type": "integer",
  17025. "description": "用户id",
  17026. "name": "userid",
  17027. "in": "query",
  17028. "required": true
  17029. },
  17030. {
  17031. "type": "integer",
  17032. "description": "仓单贸易市场id",
  17033. "name": "marketid",
  17034. "in": "query"
  17035. },
  17036. {
  17037. "type": "integer",
  17038. "description": "0:仓单预售 1:仓单贸易",
  17039. "name": "haswr",
  17040. "in": "query",
  17041. "required": true
  17042. },
  17043. {
  17044. "type": "string",
  17045. "description": "开始交易日(yyyymmdd)",
  17046. "name": "begindate",
  17047. "in": "query"
  17048. },
  17049. {
  17050. "type": "string",
  17051. "description": "结束交易日(yyyymmdd)",
  17052. "name": "enddate",
  17053. "in": "query"
  17054. }
  17055. ],
  17056. "responses": {
  17057. "200": {
  17058. "description": "OK",
  17059. "schema": {
  17060. "type": "array",
  17061. "items": {
  17062. "$ref": "#/definitions/models.WrTradeDetail"
  17063. }
  17064. }
  17065. },
  17066. "500": {
  17067. "description": "Internal Server Error",
  17068. "schema": {
  17069. "$ref": "#/definitions/app.Response"
  17070. }
  17071. }
  17072. }
  17073. }
  17074. },
  17075. "/WrTrade2/QueryWrTradeOrderDetail": {
  17076. "get": {
  17077. "security": [
  17078. {
  17079. "ApiKeyAuth": []
  17080. }
  17081. ],
  17082. "produces": [
  17083. "application/json"
  17084. ],
  17085. "tags": [
  17086. "仓单贸易v2"
  17087. ],
  17088. "summary": "查询合约交易买卖大厅",
  17089. "parameters": [
  17090. {
  17091. "type": "integer",
  17092. "description": "页码",
  17093. "name": "page",
  17094. "in": "query"
  17095. },
  17096. {
  17097. "type": "integer",
  17098. "description": "每页条数",
  17099. "name": "pagesize",
  17100. "in": "query"
  17101. },
  17102. {
  17103. "type": "integer",
  17104. "description": "商品id",
  17105. "name": "goodsid",
  17106. "in": "query",
  17107. "required": true
  17108. },
  17109. {
  17110. "type": "integer",
  17111. "description": "买卖方向 0-买 1-卖",
  17112. "name": "buyorsell",
  17113. "in": "query",
  17114. "required": true
  17115. }
  17116. ],
  17117. "responses": {
  17118. "200": {
  17119. "description": "OK",
  17120. "schema": {
  17121. "type": "array",
  17122. "items": {
  17123. "$ref": "#/definitions/models.WrTradeOrderDetail"
  17124. }
  17125. }
  17126. },
  17127. "500": {
  17128. "description": "Internal Server Error",
  17129. "schema": {
  17130. "$ref": "#/definitions/app.Response"
  17131. }
  17132. }
  17133. }
  17134. }
  17135. },
  17136. "/WrTrade2/QueryWrTradeQuote": {
  17137. "get": {
  17138. "security": [
  17139. {
  17140. "ApiKeyAuth": []
  17141. }
  17142. ],
  17143. "produces": [
  17144. "application/json"
  17145. ],
  17146. "tags": [
  17147. "仓单贸易v2"
  17148. ],
  17149. "summary": "查询仓单贸易成交行情",
  17150. "parameters": [
  17151. {
  17152. "type": "integer",
  17153. "description": "现货商品id",
  17154. "name": "wrstandardid",
  17155. "in": "query",
  17156. "required": true
  17157. },
  17158. {
  17159. "type": "string",
  17160. "description": "开始日期(yyyymmdd)",
  17161. "name": "begindate",
  17162. "in": "query",
  17163. "required": true
  17164. },
  17165. {
  17166. "type": "string",
  17167. "description": "结束日期(yyyymmdd)",
  17168. "name": "enddate",
  17169. "in": "query",
  17170. "required": true
  17171. },
  17172. {
  17173. "type": "integer",
  17174. "description": "市场id",
  17175. "name": "marketid",
  17176. "in": "query"
  17177. }
  17178. ],
  17179. "responses": {
  17180. "200": {
  17181. "description": "OK",
  17182. "schema": {
  17183. "type": "array",
  17184. "items": {
  17185. "$ref": "#/definitions/models.Wrtradetradequote"
  17186. }
  17187. }
  17188. },
  17189. "500": {
  17190. "description": "Internal Server Error",
  17191. "schema": {
  17192. "$ref": "#/definitions/app.Response"
  17193. }
  17194. }
  17195. }
  17196. }
  17197. },
  17198. "/WrTrade2/QueryWrUserFriend": {
  17199. "get": {
  17200. "security": [
  17201. {
  17202. "ApiKeyAuth": []
  17203. }
  17204. ],
  17205. "produces": [
  17206. "application/json"
  17207. ],
  17208. "tags": [
  17209. "仓单贸易v2"
  17210. ],
  17211. "summary": "查询我的朋友",
  17212. "parameters": [
  17213. {
  17214. "type": "integer",
  17215. "description": "用户id",
  17216. "name": "userid",
  17217. "in": "query",
  17218. "required": true
  17219. },
  17220. {
  17221. "type": "integer",
  17222. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  17223. "name": "newuserid",
  17224. "in": "query"
  17225. }
  17226. ],
  17227. "responses": {
  17228. "200": {
  17229. "description": "OK",
  17230. "schema": {
  17231. "type": "array",
  17232. "items": {
  17233. "$ref": "#/definitions/models.WrUserFriend"
  17234. }
  17235. }
  17236. },
  17237. "500": {
  17238. "description": "Internal Server Error",
  17239. "schema": {
  17240. "$ref": "#/definitions/app.Response"
  17241. }
  17242. }
  17243. }
  17244. }
  17245. },
  17246. "/WrTrade2/QueryWrUserReceiptInfo": {
  17247. "get": {
  17248. "security": [
  17249. {
  17250. "ApiKeyAuth": []
  17251. }
  17252. ],
  17253. "produces": [
  17254. "application/json"
  17255. ],
  17256. "tags": [
  17257. "仓单贸易v2"
  17258. ],
  17259. "summary": "查询发票信息",
  17260. "parameters": [
  17261. {
  17262. "type": "integer",
  17263. "description": "用户id",
  17264. "name": "userid",
  17265. "in": "query"
  17266. },
  17267. {
  17268. "type": "integer",
  17269. "description": "发票类型 - 1:个人 2:企业",
  17270. "name": "receipttype",
  17271. "in": "query"
  17272. }
  17273. ],
  17274. "responses": {
  17275. "200": {
  17276. "description": "OK",
  17277. "schema": {
  17278. "type": "array",
  17279. "items": {
  17280. "$ref": "#/definitions/models.WrUserReceiptInfo"
  17281. }
  17282. }
  17283. },
  17284. "500": {
  17285. "description": "Internal Server Error",
  17286. "schema": {
  17287. "$ref": "#/definitions/app.Response"
  17288. }
  17289. }
  17290. }
  17291. }
  17292. },
  17293. "/WrTrade2/QueryXhcpSellBackApply": {
  17294. "get": {
  17295. "security": [
  17296. {
  17297. "ApiKeyAuth": []
  17298. }
  17299. ],
  17300. "produces": [
  17301. "application/json"
  17302. ],
  17303. "tags": [
  17304. "仓单贸易v2"
  17305. ],
  17306. "summary": "查询我的回收申请(新会陈皮)",
  17307. "parameters": [
  17308. {
  17309. "type": "integer",
  17310. "description": "用户ID",
  17311. "name": "userid",
  17312. "in": "query",
  17313. "required": true
  17314. }
  17315. ],
  17316. "responses": {
  17317. "200": {
  17318. "description": "OK",
  17319. "schema": {
  17320. "type": "array",
  17321. "items": {
  17322. "$ref": "#/definitions/models.Xhcpsellbackapply"
  17323. }
  17324. }
  17325. },
  17326. "500": {
  17327. "description": "Internal Server Error",
  17328. "schema": {
  17329. "$ref": "#/definitions/app.Response"
  17330. }
  17331. }
  17332. }
  17333. }
  17334. },
  17335. "/ZJ/GetBankTip": {
  17336. "get": {
  17337. "produces": [
  17338. "application/json"
  17339. ],
  17340. "tags": [
  17341. "中江"
  17342. ],
  17343. "summary": "获取中江网银端出入金提示信息",
  17344. "responses": {
  17345. "200": {
  17346. "description": "OK",
  17347. "schema": {
  17348. "type": "string"
  17349. }
  17350. },
  17351. "500": {
  17352. "description": "Internal Server Error",
  17353. "schema": {
  17354. "$ref": "#/definitions/app.Response"
  17355. }
  17356. }
  17357. }
  17358. }
  17359. },
  17360. "/ZJ/GetCusBankChannels": {
  17361. "get": {
  17362. "produces": [
  17363. "application/json"
  17364. ],
  17365. "tags": [
  17366. "中江"
  17367. ],
  17368. "summary": "获取中江出入金渠道显示列表",
  17369. "responses": {
  17370. "200": {
  17371. "description": "OK",
  17372. "schema": {
  17373. "type": "array",
  17374. "items": {
  17375. "type": "string"
  17376. }
  17377. }
  17378. },
  17379. "500": {
  17380. "description": "Internal Server Error",
  17381. "schema": {
  17382. "$ref": "#/definitions/app.Response"
  17383. }
  17384. }
  17385. }
  17386. }
  17387. }
  17388. },
  17389. "definitions": {
  17390. "app.Response": {
  17391. "type": "object",
  17392. "properties": {
  17393. "code": {
  17394. "type": "integer"
  17395. },
  17396. "data": {},
  17397. "msg": {
  17398. "type": "string"
  17399. },
  17400. "page": {
  17401. "description": "页码",
  17402. "type": "integer"
  17403. },
  17404. "pagesize": {
  17405. "description": "每页条数",
  17406. "type": "integer"
  17407. },
  17408. "total": {
  17409. "description": "总条数",
  17410. "type": "integer"
  17411. }
  17412. }
  17413. },
  17414. "common.ClientMenu": {
  17415. "type": "object",
  17416. "properties": {
  17417. "children": {
  17418. "description": "子菜单列表",
  17419. "type": "array",
  17420. "items": {
  17421. "$ref": "#/definitions/common.ClientMenu"
  17422. }
  17423. },
  17424. "code": {
  17425. "description": "ID",
  17426. "type": "string"
  17427. },
  17428. "isshow": {
  17429. "description": "是否显示",
  17430. "type": "boolean"
  17431. },
  17432. "remark": {
  17433. "description": "备注",
  17434. "type": "string"
  17435. },
  17436. "rulekey": {
  17437. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  17438. "type": "string"
  17439. },
  17440. "sort": {
  17441. "description": "排序",
  17442. "type": "integer"
  17443. },
  17444. "title": {
  17445. "description": "标题",
  17446. "type": "string"
  17447. },
  17448. "type": {
  17449. "description": "类型,1:菜单 2:按钮",
  17450. "type": "integer"
  17451. },
  17452. "url": {
  17453. "description": "URL",
  17454. "type": "string"
  17455. }
  17456. }
  17457. },
  17458. "common.PCWebMenu": {
  17459. "type": "object",
  17460. "properties": {
  17461. "auth": {
  17462. "description": "页面权限列表",
  17463. "type": "array",
  17464. "items": {
  17465. "$ref": "#/definitions/common.PCWebMenuAuth"
  17466. }
  17467. },
  17468. "children": {
  17469. "description": "子菜单列表",
  17470. "type": "array",
  17471. "items": {
  17472. "$ref": "#/definitions/common.PCWebMenu"
  17473. }
  17474. },
  17475. "code": {
  17476. "description": "ID,新版本中权限KEY也是这个字段",
  17477. "type": "string"
  17478. },
  17479. "component": {
  17480. "description": "路由组件",
  17481. "type": "string"
  17482. },
  17483. "isshow": {
  17484. "description": "是否显示",
  17485. "type": "boolean"
  17486. },
  17487. "path": {
  17488. "description": "路由路径",
  17489. "type": "string"
  17490. },
  17491. "remark": {
  17492. "description": "备注",
  17493. "type": "string"
  17494. },
  17495. "rulekey": {
  17496. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17497. "type": "string"
  17498. },
  17499. "sort": {
  17500. "description": "排序",
  17501. "type": "integer"
  17502. },
  17503. "title": {
  17504. "description": "标题",
  17505. "type": "string"
  17506. },
  17507. "url": {
  17508. "description": "URL",
  17509. "type": "string"
  17510. }
  17511. }
  17512. },
  17513. "common.PCWebMenuAuth": {
  17514. "type": "object",
  17515. "properties": {
  17516. "code": {
  17517. "description": "ID,新版本中权限KEY也是这个字段",
  17518. "type": "string"
  17519. },
  17520. "isshow": {
  17521. "description": "是否显示",
  17522. "type": "boolean"
  17523. },
  17524. "label": {
  17525. "description": "标题",
  17526. "type": "string"
  17527. },
  17528. "remark": {
  17529. "description": "备注",
  17530. "type": "string"
  17531. },
  17532. "rulekey": {
  17533. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17534. "type": "string"
  17535. }
  17536. }
  17537. },
  17538. "common.QueryImageConfigsRsp": {
  17539. "type": "object",
  17540. "required": [
  17541. "configid"
  17542. ],
  17543. "properties": {
  17544. "areauserid": {
  17545. "description": "所属机构ID",
  17546. "type": "integer"
  17547. },
  17548. "configid": {
  17549. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  17550. "type": "integer"
  17551. },
  17552. "createdate": {
  17553. "description": "创建时间",
  17554. "type": "string"
  17555. },
  17556. "creatorid": {
  17557. "description": "创建人",
  17558. "type": "integer"
  17559. },
  17560. "imagedetailpath": {
  17561. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  17562. "type": "string"
  17563. },
  17564. "imagepath": {
  17565. "description": "图片",
  17566. "type": "string"
  17567. },
  17568. "imagetype": {
  17569. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  17570. "type": "integer"
  17571. },
  17572. "isshow": {
  17573. "description": "是否展示 - 0:不展示 1:展示",
  17574. "type": "integer"
  17575. },
  17576. "marketid": {
  17577. "description": "市场ID",
  17578. "type": "integer"
  17579. },
  17580. "modifierid": {
  17581. "description": "操作人",
  17582. "type": "integer"
  17583. },
  17584. "sort": {
  17585. "description": "排序",
  17586. "type": "integer"
  17587. },
  17588. "title": {
  17589. "description": "标题",
  17590. "type": "string"
  17591. },
  17592. "trademode": {
  17593. "description": "交易模式",
  17594. "type": "integer"
  17595. },
  17596. "updatedate": {
  17597. "description": "修改时间",
  17598. "type": "string"
  17599. },
  17600. "url": {
  17601. "description": "链接(地址或商品ID)",
  17602. "type": "string"
  17603. },
  17604. "urltype": {
  17605. "description": "链接类型 - 1:直接地址 2:商品ID",
  17606. "type": "integer"
  17607. }
  17608. }
  17609. },
  17610. "common.QueryNoticeRsp": {
  17611. "type": "object",
  17612. "required": [
  17613. "autoid"
  17614. ],
  17615. "properties": {
  17616. "auditoruserid": {
  17617. "description": "审核人",
  17618. "type": "integer"
  17619. },
  17620. "auditremark": {
  17621. "description": "审核备注",
  17622. "type": "string"
  17623. },
  17624. "audittime": {
  17625. "description": "审核日期",
  17626. "type": "string"
  17627. },
  17628. "autoid": {
  17629. "description": "自增ID",
  17630. "type": "integer"
  17631. },
  17632. "content": {
  17633. "description": "内容",
  17634. "type": "string"
  17635. },
  17636. "createtime": {
  17637. "description": "创建时间",
  17638. "type": "string"
  17639. },
  17640. "creatorid": {
  17641. "description": "建仓人",
  17642. "type": "integer"
  17643. },
  17644. "endtime": {
  17645. "description": "结束时间",
  17646. "type": "string"
  17647. },
  17648. "istop": {
  17649. "description": "是否置顶 - 0:不置顶 1:置顶",
  17650. "type": "integer"
  17651. },
  17652. "msgiconurl": {
  17653. "description": "消息图标Url",
  17654. "type": "string"
  17655. },
  17656. "msgtype": {
  17657. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  17658. "type": "integer"
  17659. },
  17660. "publisher": {
  17661. "description": "消息发布者",
  17662. "type": "string"
  17663. },
  17664. "readed": {
  17665. "description": "是否已读",
  17666. "type": "boolean"
  17667. },
  17668. "scheduletime": {
  17669. "description": "计划发送时间",
  17670. "type": "string"
  17671. },
  17672. "sendtype": {
  17673. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  17674. "type": "integer"
  17675. },
  17676. "sentstatus": {
  17677. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  17678. "type": "integer"
  17679. },
  17680. "title": {
  17681. "description": "标题",
  17682. "type": "string"
  17683. },
  17684. "userid": {
  17685. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  17686. "type": "integer"
  17687. }
  17688. }
  17689. },
  17690. "common.QueryProvincesAndCitiesRsp": {
  17691. "type": "object",
  17692. "properties": {
  17693. "cities": {
  17694. "description": "市",
  17695. "type": "array",
  17696. "items": {
  17697. "$ref": "#/definitions/models.Division"
  17698. }
  17699. },
  17700. "province": {
  17701. "description": "省",
  17702. "$ref": "#/definitions/models.Division"
  17703. }
  17704. }
  17705. },
  17706. "common.QueryTableDefineRsp": {
  17707. "type": "object",
  17708. "required": [
  17709. "tablekey"
  17710. ],
  17711. "properties": {
  17712. "columns": {
  17713. "description": "列头信息数组",
  17714. "type": "array",
  17715. "items": {
  17716. "$ref": "#/definitions/models.Tablecolumnconfig"
  17717. }
  17718. },
  17719. "remark": {
  17720. "description": "Remark",
  17721. "type": "string"
  17722. },
  17723. "tabelmenu": {
  17724. "description": "列表菜单",
  17725. "type": "string"
  17726. },
  17727. "tablekey": {
  17728. "description": "列表Key",
  17729. "type": "string"
  17730. },
  17731. "tablename": {
  17732. "description": "列表名称",
  17733. "type": "string"
  17734. },
  17735. "tabletype": {
  17736. "description": "列表类型 - 1:管理端 2:终端",
  17737. "type": "integer"
  17738. }
  17739. }
  17740. },
  17741. "common.QueryTraderMenuRsp": {
  17742. "type": "object",
  17743. "properties": {
  17744. "OperationMenu": {
  17745. "description": "功能菜单",
  17746. "type": "array",
  17747. "items": {
  17748. "$ref": "#/definitions/models.OperationPrimaryMenu"
  17749. }
  17750. },
  17751. "QuoteMenu": {
  17752. "description": "报价牌分类菜单",
  17753. "type": "array",
  17754. "items": {
  17755. "$ref": "#/definitions/models.QuotePrimaryMenu"
  17756. }
  17757. }
  17758. }
  17759. },
  17760. "cptrade.Cptradepositioncancel": {
  17761. "type": "object",
  17762. "required": [
  17763. "cancelid"
  17764. ],
  17765. "properties": {
  17766. "accountid": {
  17767. "description": "申请人账户ID",
  17768. "type": "integer"
  17769. },
  17770. "applystatus": {
  17771. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17772. "type": "integer"
  17773. },
  17774. "applytime": {
  17775. "description": "申请时间",
  17776. "type": "string"
  17777. },
  17778. "cancelid": {
  17779. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  17780. "type": "integer"
  17781. },
  17782. "cancelqty": {
  17783. "description": "注销数量",
  17784. "type": "integer"
  17785. },
  17786. "createtime": {
  17787. "description": "创建时间",
  17788. "type": "string"
  17789. },
  17790. "creatorid": {
  17791. "description": "创建人ID",
  17792. "type": "integer"
  17793. },
  17794. "creatorname": {
  17795. "description": "创建人",
  17796. "type": "string"
  17797. },
  17798. "goodscode": {
  17799. "description": "订单商品代码",
  17800. "type": "string"
  17801. },
  17802. "goodsid": {
  17803. "description": "商品ID",
  17804. "type": "integer"
  17805. },
  17806. "goodsname": {
  17807. "description": "订单商品名称",
  17808. "type": "string"
  17809. },
  17810. "goodunit": {
  17811. "description": "报价单位",
  17812. "type": "string"
  17813. },
  17814. "handlestatus": {
  17815. "description": "处理状态",
  17816. "type": "integer"
  17817. },
  17818. "marketid": {
  17819. "description": "市场ID",
  17820. "type": "integer"
  17821. },
  17822. "marketname": {
  17823. "description": "市场名称",
  17824. "type": "string"
  17825. },
  17826. "tradedate": {
  17827. "description": "交易日(yyyyMMdd)",
  17828. "type": "string"
  17829. },
  17830. "userid": {
  17831. "description": "申请人ID",
  17832. "type": "integer"
  17833. }
  17834. }
  17835. },
  17836. "cptrade.Cptradepresaleapply": {
  17837. "type": "object",
  17838. "required": [
  17839. "applyid"
  17840. ],
  17841. "properties": {
  17842. "accountid": {
  17843. "description": "申请人账户ID",
  17844. "type": "integer"
  17845. },
  17846. "applyid": {
  17847. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  17848. "type": "integer"
  17849. },
  17850. "applyremark": {
  17851. "description": "申请备注",
  17852. "type": "string"
  17853. },
  17854. "applystatus": {
  17855. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17856. "type": "integer"
  17857. },
  17858. "applytime": {
  17859. "description": "申请时间",
  17860. "type": "string"
  17861. },
  17862. "attachmenturl": {
  17863. "description": "附件地址",
  17864. "type": "string"
  17865. },
  17866. "endtime": {
  17867. "description": "预售结束时间",
  17868. "type": "string"
  17869. },
  17870. "goodscode": {
  17871. "description": "商品代码",
  17872. "type": "string"
  17873. },
  17874. "goodsid": {
  17875. "description": "商品ID",
  17876. "type": "integer"
  17877. },
  17878. "goodsname": {
  17879. "description": "商品名称",
  17880. "type": "string"
  17881. },
  17882. "goodunit": {
  17883. "description": "报价单位",
  17884. "type": "string"
  17885. },
  17886. "handlestatus": {
  17887. "description": "处理状态",
  17888. "type": "integer"
  17889. },
  17890. "marketid": {
  17891. "description": "预售市场ID",
  17892. "type": "integer"
  17893. },
  17894. "marketname": {
  17895. "description": "预售市场名称",
  17896. "type": "string"
  17897. },
  17898. "presaleqty": {
  17899. "description": "预售数量",
  17900. "type": "integer"
  17901. },
  17902. "relatedgoodscode": {
  17903. "description": "关联交易合约代码",
  17904. "type": "string"
  17905. },
  17906. "relatedgoodsid": {
  17907. "description": "关联交易合约ID",
  17908. "type": "integer"
  17909. },
  17910. "relatedgoodsname": {
  17911. "description": "关联交易合约名称",
  17912. "type": "string"
  17913. },
  17914. "starttime": {
  17915. "description": "预售开始时间",
  17916. "type": "string"
  17917. },
  17918. "tradedate": {
  17919. "description": "交易日(yyyyMMdd)",
  17920. "type": "string"
  17921. },
  17922. "trademode": {
  17923. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17924. "type": "integer"
  17925. },
  17926. "userid": {
  17927. "description": "申请人ID",
  17928. "type": "integer"
  17929. }
  17930. }
  17931. },
  17932. "cptrade.Cptradeusergoodsdata": {
  17933. "type": "object",
  17934. "required": [
  17935. "accountid",
  17936. "goodsid"
  17937. ],
  17938. "properties": {
  17939. "EnabledQty": {
  17940. "description": "可用量",
  17941. "type": "integer"
  17942. },
  17943. "GoodsCode": {
  17944. "description": "订单商品代码",
  17945. "type": "string"
  17946. },
  17947. "GoodsName": {
  17948. "description": "订单商品名称",
  17949. "type": "string"
  17950. },
  17951. "WRStandardCode": {
  17952. "description": "仓单标准代码",
  17953. "type": "string"
  17954. },
  17955. "WRStandardName": {
  17956. "description": "仓单标准名称",
  17957. "type": "string"
  17958. },
  17959. "accountid": {
  17960. "description": "账户ID",
  17961. "type": "integer"
  17962. },
  17963. "cancelqty": {
  17964. "description": "注销量",
  17965. "type": "integer"
  17966. },
  17967. "curpresaleqty": {
  17968. "description": "当前预售量",
  17969. "type": "integer"
  17970. },
  17971. "deliveryqty": {
  17972. "description": "交割量",
  17973. "type": "integer"
  17974. },
  17975. "freezeamount": {
  17976. "description": "冻结金额",
  17977. "type": "number"
  17978. },
  17979. "goodsid": {
  17980. "description": "商品ID",
  17981. "type": "integer"
  17982. },
  17983. "goodunit": {
  17984. "description": "报价单位",
  17985. "type": "string"
  17986. },
  17987. "hasspotfreeze": {
  17988. "description": "是否有现货冻结 - 0:否 1:有",
  17989. "type": "integer"
  17990. },
  17991. "inqty": {
  17992. "description": "转入量(总数量)",
  17993. "type": "integer"
  17994. },
  17995. "marketid": {
  17996. "description": "市场ID",
  17997. "type": "integer"
  17998. },
  17999. "presaledamount": {
  18000. "description": "已预售总金额",
  18001. "type": "integer"
  18002. },
  18003. "presaledqty": {
  18004. "description": "已预售量",
  18005. "type": "integer"
  18006. },
  18007. "userid": {
  18008. "description": "用户ID",
  18009. "type": "integer"
  18010. },
  18011. "wrstandardid": {
  18012. "description": "仓单标准ID",
  18013. "type": "integer"
  18014. }
  18015. }
  18016. },
  18017. "cptrade.QueryCPTradeMyBidRsp": {
  18018. "type": "object",
  18019. "required": [
  18020. "accountid",
  18021. "goodsid",
  18022. "marketid",
  18023. "orderid",
  18024. "orderqty",
  18025. "ordertime",
  18026. "tradeprice",
  18027. "tradeqty"
  18028. ],
  18029. "properties": {
  18030. "accountid": {
  18031. "description": "账户ID[报价币种]",
  18032. "type": "integer"
  18033. },
  18034. "goodsid": {
  18035. "description": "商品ID",
  18036. "type": "integer"
  18037. },
  18038. "goodunit": {
  18039. "description": "报价单位",
  18040. "type": "string"
  18041. },
  18042. "marketid": {
  18043. "description": "市场ID",
  18044. "type": "integer"
  18045. },
  18046. "orderid": {
  18047. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18048. "type": "integer"
  18049. },
  18050. "orderprice": {
  18051. "description": "委托价格",
  18052. "type": "number"
  18053. },
  18054. "orderqty": {
  18055. "description": "委托数量",
  18056. "type": "integer"
  18057. },
  18058. "ordertime": {
  18059. "description": "委托时间",
  18060. "type": "string"
  18061. },
  18062. "ordertotalprice": {
  18063. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  18064. "type": "number"
  18065. },
  18066. "ordertotalweight": {
  18067. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  18068. "type": "integer"
  18069. },
  18070. "totaltotalprice": {
  18071. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  18072. "type": "number"
  18073. },
  18074. "tradeprice": {
  18075. "description": "成交价格",
  18076. "type": "number"
  18077. },
  18078. "tradeqty": {
  18079. "description": "成交数量",
  18080. "type": "integer"
  18081. }
  18082. }
  18083. },
  18084. "cptrade.QueryCPTradeOrderDetailRsq": {
  18085. "type": "object",
  18086. "required": [
  18087. "accountid",
  18088. "buildtype",
  18089. "buyorsell",
  18090. "goodsid",
  18091. "marketid",
  18092. "memberuserid",
  18093. "operatetype",
  18094. "orderqty",
  18095. "ordertime",
  18096. "pricemode",
  18097. "strorderid",
  18098. "tradedate",
  18099. "validtype"
  18100. ],
  18101. "properties": {
  18102. "accountid": {
  18103. "description": "账户ID[报价币种]",
  18104. "type": "integer"
  18105. },
  18106. "buildtype": {
  18107. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18108. "type": "integer"
  18109. },
  18110. "buyorsell": {
  18111. "description": "买卖 - 0:买 1:卖",
  18112. "type": "integer"
  18113. },
  18114. "cancelorderid": {
  18115. "description": "撤单单号(撤单时填写)",
  18116. "type": "integer"
  18117. },
  18118. "cancelqty": {
  18119. "description": "撤单数量",
  18120. "type": "integer"
  18121. },
  18122. "clientordertime": {
  18123. "description": "客户端委托时间",
  18124. "type": "string"
  18125. },
  18126. "clientticket": {
  18127. "description": "客户端流水号",
  18128. "type": "string"
  18129. },
  18130. "clienttype": {
  18131. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18132. "type": "integer"
  18133. },
  18134. "closeexchagechargevalue": {
  18135. "description": "平仓交易所手续费设置值",
  18136. "type": "number"
  18137. },
  18138. "closefeealgorithm": {
  18139. "description": "平仓手续费收取方式 1:比率 2:固定",
  18140. "type": "integer"
  18141. },
  18142. "closefreezecharge": {
  18143. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18144. "type": "number"
  18145. },
  18146. "closememberchargevalue": {
  18147. "description": "平仓会员手续费设置值",
  18148. "type": "number"
  18149. },
  18150. "closeqty": {
  18151. "description": "平仓数量(先建后平操作 需要记录)",
  18152. "type": "integer"
  18153. },
  18154. "closetradeqty": {
  18155. "description": "平仓成交数量(先建后平操作,需要记录)",
  18156. "type": "integer"
  18157. },
  18158. "closeunfreezecharge": {
  18159. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18160. "type": "number"
  18161. },
  18162. "delistingtype": {
  18163. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18164. "type": "integer"
  18165. },
  18166. "freezecharge": {
  18167. "description": "冻结手续费",
  18168. "type": "number"
  18169. },
  18170. "freezemargin": {
  18171. "description": "冻结保证金(冻结交易金额)",
  18172. "type": "number"
  18173. },
  18174. "gcaccountid": {
  18175. "description": "账户ID[合约币种]",
  18176. "type": "integer"
  18177. },
  18178. "goodsid": {
  18179. "description": "商品ID",
  18180. "type": "integer"
  18181. },
  18182. "isconfirmexercise": {
  18183. "description": "是否确认行权- 0:否 1:是",
  18184. "type": "integer"
  18185. },
  18186. "ispreexercise": {
  18187. "description": "是否预申报- 0:否 1:是",
  18188. "type": "integer"
  18189. },
  18190. "listingselecttype": {
  18191. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18192. "type": "integer"
  18193. },
  18194. "marginalgorithm": {
  18195. "description": "保证金收取方式 1:比率 2:固定",
  18196. "type": "integer"
  18197. },
  18198. "marginvalue": {
  18199. "description": "即市保证金设置值",
  18200. "type": "number"
  18201. },
  18202. "marketid": {
  18203. "description": "市场ID",
  18204. "type": "integer"
  18205. },
  18206. "marketmaxsub": {
  18207. "description": "市价最大偏移范围",
  18208. "type": "number"
  18209. },
  18210. "memberuserid": {
  18211. "description": "所属会员UserID",
  18212. "type": "integer"
  18213. },
  18214. "openexchagechargevalue": {
  18215. "description": "建仓交易所手续费设置值",
  18216. "type": "number"
  18217. },
  18218. "openfeealgorithm": {
  18219. "description": "建仓手续费收取方式 1:比率 2:固定",
  18220. "type": "integer"
  18221. },
  18222. "openfreezecharge": {
  18223. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18224. "type": "number"
  18225. },
  18226. "openmemberchargevalue": {
  18227. "description": "建仓会员手续费设置值",
  18228. "type": "number"
  18229. },
  18230. "openqty": {
  18231. "description": "开仓数量(先建后平操作,需要记录)",
  18232. "type": "integer"
  18233. },
  18234. "opentradeqty": {
  18235. "description": "开仓成交数量(先建后平操作,需要记录)",
  18236. "type": "integer"
  18237. },
  18238. "openunfreezecharge": {
  18239. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18240. "type": "number"
  18241. },
  18242. "operatetype": {
  18243. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18244. "type": "integer"
  18245. },
  18246. "operatorid": {
  18247. "description": "登录账号(LoginID)",
  18248. "type": "integer"
  18249. },
  18250. "optiontype": {
  18251. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18252. "type": "integer"
  18253. },
  18254. "orderprice": {
  18255. "description": "委托价格",
  18256. "type": "number"
  18257. },
  18258. "orderqty": {
  18259. "description": "委托数量",
  18260. "type": "integer"
  18261. },
  18262. "ordersrc": {
  18263. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18264. "type": "integer"
  18265. },
  18266. "orderstatus": {
  18267. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18268. "type": "integer"
  18269. },
  18270. "ordertime": {
  18271. "description": "委托时间",
  18272. "type": "string"
  18273. },
  18274. "preexerciseprice": {
  18275. "description": "预申报价格",
  18276. "type": "number"
  18277. },
  18278. "premium": {
  18279. "description": "权利金",
  18280. "type": "number"
  18281. },
  18282. "preorderid": {
  18283. "description": "关联预埋单号(止盈止损单时填写)",
  18284. "type": "integer"
  18285. },
  18286. "pricemode": {
  18287. "description": "取价方式 - 1:市价 2: 限价",
  18288. "type": "integer"
  18289. },
  18290. "quoteid": {
  18291. "description": "报价单ID",
  18292. "type": "integer"
  18293. },
  18294. "relatedid": {
  18295. "description": "关联单号(交割单)",
  18296. "type": "integer"
  18297. },
  18298. "retcode": {
  18299. "description": "错误代码",
  18300. "type": "integer"
  18301. },
  18302. "sessionid": {
  18303. "description": "会话ID",
  18304. "type": "integer"
  18305. },
  18306. "strorderid": {
  18307. "description": "委托单号",
  18308. "type": "string"
  18309. },
  18310. "tradedate": {
  18311. "description": "交易日(yyyyMMdd)",
  18312. "type": "string"
  18313. },
  18314. "tradeproperty": {
  18315. "description": "交易属性",
  18316. "type": "integer"
  18317. },
  18318. "tradeqty": {
  18319. "description": "成交数量",
  18320. "type": "integer"
  18321. },
  18322. "unfreezecharge": {
  18323. "description": "解冻手续费",
  18324. "type": "number"
  18325. },
  18326. "unfreezemargin": {
  18327. "description": "解冻保证金",
  18328. "type": "number"
  18329. },
  18330. "updatetime": {
  18331. "description": "更新时间",
  18332. "type": "string"
  18333. },
  18334. "uuid": {
  18335. "description": "发起端唯一id",
  18336. "type": "string"
  18337. },
  18338. "validtime": {
  18339. "description": "有效期限",
  18340. "type": "string"
  18341. },
  18342. "validtype": {
  18343. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18344. "type": "integer"
  18345. },
  18346. "volumetype": {
  18347. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18348. "type": "integer"
  18349. }
  18350. }
  18351. },
  18352. "cptrade.QueryMyCPTradeGoodsRsp": {
  18353. "type": "object",
  18354. "required": [
  18355. "goodscode",
  18356. "goodsid",
  18357. "goodsname",
  18358. "marketid",
  18359. "relatedgoodscode",
  18360. "relatedgoodsname"
  18361. ],
  18362. "properties": {
  18363. "accountid": {
  18364. "description": "卖方账户ID",
  18365. "type": "integer"
  18366. },
  18367. "agreeunit": {
  18368. "description": "合约单位",
  18369. "type": "number"
  18370. },
  18371. "applyid": {
  18372. "description": "关联申请ID",
  18373. "type": "integer"
  18374. },
  18375. "attachmenturl": {
  18376. "description": "附件地址",
  18377. "type": "string"
  18378. },
  18379. "createtime": {
  18380. "description": "创建时间",
  18381. "type": "string"
  18382. },
  18383. "currencyid": {
  18384. "description": "报价货币ID",
  18385. "type": "integer"
  18386. },
  18387. "decimalplace": {
  18388. "description": "报价小数位",
  18389. "type": "integer"
  18390. },
  18391. "endtime": {
  18392. "description": "预售结束时间",
  18393. "type": "string"
  18394. },
  18395. "floorprice": {
  18396. "description": "底价[大宗式竞拍]",
  18397. "type": "number"
  18398. },
  18399. "goodscode": {
  18400. "description": "商品代码(预售)",
  18401. "type": "string"
  18402. },
  18403. "goodsdetail": {
  18404. "description": "详情[大宗]",
  18405. "type": "string"
  18406. },
  18407. "goodsid": {
  18408. "description": "商品ID(自增ID SEQ_GOODS)",
  18409. "type": "integer"
  18410. },
  18411. "goodsname": {
  18412. "description": "商品名称(预售)",
  18413. "type": "string"
  18414. },
  18415. "goodunit": {
  18416. "description": "报价单位",
  18417. "type": "string"
  18418. },
  18419. "goodunitid": {
  18420. "description": "报价单位ID",
  18421. "type": "integer"
  18422. },
  18423. "marketid": {
  18424. "description": "所属市场ID",
  18425. "type": "integer"
  18426. },
  18427. "marketname": {
  18428. "description": "预售市场名称",
  18429. "type": "string"
  18430. },
  18431. "presaledamount": {
  18432. "description": "已预售总金额(预售结束时更新)",
  18433. "type": "number"
  18434. },
  18435. "presaledqty": {
  18436. "description": "已预售量(预售结束时更新)",
  18437. "type": "integer"
  18438. },
  18439. "presalemode": {
  18440. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18441. "type": "integer"
  18442. },
  18443. "presaleqty": {
  18444. "description": "预售数量",
  18445. "type": "integer"
  18446. },
  18447. "refprice": {
  18448. "description": "参考价格[一口价]",
  18449. "type": "number"
  18450. },
  18451. "relatedgoodscode": {
  18452. "description": "商品代码(订单)",
  18453. "type": "string"
  18454. },
  18455. "relatedgoodsid": {
  18456. "description": "关联交易合约ID",
  18457. "type": "integer"
  18458. },
  18459. "relatedgoodsname": {
  18460. "description": "商品名称(订单)",
  18461. "type": "string"
  18462. },
  18463. "relatedmarketid": {
  18464. "description": "关联交易合约市场ID",
  18465. "type": "integer"
  18466. },
  18467. "sellstatus": {
  18468. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18469. "type": "integer"
  18470. },
  18471. "startprice": {
  18472. "description": "起拍价[大宗式竞拍]",
  18473. "type": "number"
  18474. },
  18475. "starttime": {
  18476. "description": "预售开始时间",
  18477. "type": "string"
  18478. },
  18479. "tradedate": {
  18480. "description": "交易日(yyyyMMdd)",
  18481. "type": "string"
  18482. },
  18483. "tradeprice": {
  18484. "description": "成交价[大宗]",
  18485. "type": "number"
  18486. },
  18487. "userid": {
  18488. "description": "卖方用户ID",
  18489. "type": "integer"
  18490. }
  18491. }
  18492. },
  18493. "cptrade.QueryPresaleGoodsExRsp": {
  18494. "type": "object",
  18495. "required": [
  18496. "goodsid"
  18497. ],
  18498. "properties": {
  18499. "attachmenturl": {
  18500. "description": "附件地址",
  18501. "type": "string"
  18502. },
  18503. "createtime": {
  18504. "description": "创建时间",
  18505. "type": "string"
  18506. },
  18507. "endtime": {
  18508. "description": "预售结束时间",
  18509. "type": "string"
  18510. },
  18511. "floorprice": {
  18512. "description": "底价[大宗式竞拍]",
  18513. "type": "number"
  18514. },
  18515. "goodsdetail": {
  18516. "description": "详情[大宗]",
  18517. "type": "string"
  18518. },
  18519. "goodsid": {
  18520. "description": "商品ID(预售)",
  18521. "type": "integer"
  18522. },
  18523. "goodunit": {
  18524. "description": "报价单位",
  18525. "type": "string"
  18526. },
  18527. "marketid": {
  18528. "description": "预售市场ID - 根据预售模式选择市场",
  18529. "type": "integer"
  18530. },
  18531. "presaledamount": {
  18532. "description": "已预售总金额(预售结束时更新)",
  18533. "type": "number"
  18534. },
  18535. "presaledqty": {
  18536. "description": "已预售量(预售结束时更新)",
  18537. "type": "integer"
  18538. },
  18539. "presalemode": {
  18540. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18541. "type": "integer"
  18542. },
  18543. "presaleqty": {
  18544. "description": "预售数量",
  18545. "type": "integer"
  18546. },
  18547. "refprice": {
  18548. "description": "参考价格[一口价]",
  18549. "type": "number"
  18550. },
  18551. "relatedgoodsid": {
  18552. "description": "关联交易合约ID",
  18553. "type": "integer"
  18554. },
  18555. "relatedmarketid": {
  18556. "description": "关联交易合约市场ID",
  18557. "type": "integer"
  18558. },
  18559. "sellstatus": {
  18560. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18561. "type": "integer"
  18562. },
  18563. "startprice": {
  18564. "description": "起拍价[大宗式竞拍]",
  18565. "type": "number"
  18566. },
  18567. "starttime": {
  18568. "description": "预售开始时间",
  18569. "type": "string"
  18570. },
  18571. "tradedate": {
  18572. "description": "交易日(yyyyMMdd)",
  18573. "type": "string"
  18574. },
  18575. "tradeprice": {
  18576. "description": "成交价[大宗]",
  18577. "type": "number"
  18578. }
  18579. }
  18580. },
  18581. "delivery.QueryDeliveryRelationRsp": {
  18582. "type": "object",
  18583. "required": [
  18584. "begindate",
  18585. "enddate",
  18586. "goodsid",
  18587. "mindeliveryqty",
  18588. "xdeliveryratio"
  18589. ],
  18590. "properties": {
  18591. "begindate": {
  18592. "description": "起始日期(yyyyMMdd)",
  18593. "type": "string"
  18594. },
  18595. "buytemplateid": {
  18596. "description": "买履约计划模板ID",
  18597. "type": "integer"
  18598. },
  18599. "deliverygoodscode": {
  18600. "description": "品种代码",
  18601. "type": "string"
  18602. },
  18603. "deliverygoodsid": {
  18604. "description": "交割商品",
  18605. "type": "integer"
  18606. },
  18607. "deliverygoodsname": {
  18608. "description": "品种名称",
  18609. "type": "string"
  18610. },
  18611. "deliverymode": {
  18612. "description": "交割方式 - 1:点选式 2:申报式",
  18613. "type": "integer"
  18614. },
  18615. "deliverypricerule": {
  18616. "description": "交割价规则- 1:行情价 2:建仓价",
  18617. "type": "integer"
  18618. },
  18619. "deliverytype": {
  18620. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  18621. "type": "integer"
  18622. },
  18623. "enddate": {
  18624. "description": "结束日期(yyyyMMdd)",
  18625. "type": "string"
  18626. },
  18627. "enumdicname": {
  18628. "description": "品类单位名称",
  18629. "type": "string"
  18630. },
  18631. "goodscode": {
  18632. "description": "商品代码",
  18633. "type": "string"
  18634. },
  18635. "goodsid": {
  18636. "description": "交易合约ID",
  18637. "type": "integer"
  18638. },
  18639. "goodsname": {
  18640. "description": "商品名称",
  18641. "type": "string"
  18642. },
  18643. "marketid": {
  18644. "description": "市场ID",
  18645. "type": "integer"
  18646. },
  18647. "mindeliveryqty": {
  18648. "description": "最小交割系数(K)",
  18649. "type": "integer"
  18650. },
  18651. "p2deliveryprice": {
  18652. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  18653. "type": "number"
  18654. },
  18655. "p2deliveryratio": {
  18656. "description": "P2合约系数(p)",
  18657. "type": "integer"
  18658. },
  18659. "p2goodsid": {
  18660. "description": "P2合约ID",
  18661. "type": "integer"
  18662. },
  18663. "p2pricemode": {
  18664. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  18665. "type": "integer"
  18666. },
  18667. "pdeliveryprice": {
  18668. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  18669. "type": "number"
  18670. },
  18671. "pdeliveryratio": {
  18672. "description": "P合约系数(n)",
  18673. "type": "integer"
  18674. },
  18675. "pgoodscode": {
  18676. "description": "p合约代码",
  18677. "type": "string"
  18678. },
  18679. "pgoodsid": {
  18680. "description": "P合约ID",
  18681. "type": "integer"
  18682. },
  18683. "ppricemode": {
  18684. "description": "P合约价格方式 - 1:商品价 2:固定值",
  18685. "type": "integer"
  18686. },
  18687. "rratio": {
  18688. "description": "兑换系数(R)",
  18689. "type": "integer"
  18690. },
  18691. "rratio1": {
  18692. "description": "兑换系数(交易合约)(R1)",
  18693. "type": "integer"
  18694. },
  18695. "rratio2": {
  18696. "description": "兑换系数(仓单标准)(R2)",
  18697. "type": "integer"
  18698. },
  18699. "selltemplateid": {
  18700. "description": "卖履约计划模板ID",
  18701. "type": "integer"
  18702. },
  18703. "wrstandardid": {
  18704. "description": "仓单标准ID",
  18705. "type": "integer"
  18706. },
  18707. "xdeliveryratio": {
  18708. "description": "交易合约系数(m)",
  18709. "type": "integer"
  18710. }
  18711. }
  18712. },
  18713. "ermcp.ExposureDetailRsp": {
  18714. "type": "object",
  18715. "properties": {
  18716. "areauserid": {
  18717. "description": "机构ID",
  18718. "type": "integer"
  18719. },
  18720. "changeQty": {
  18721. "description": "套保变动量",
  18722. "type": "number"
  18723. },
  18724. "contracttype": {
  18725. "description": "现货合同类型 - 1:采购 -1:销售",
  18726. "type": "integer"
  18727. },
  18728. "convertfactor": {
  18729. "description": "标仓系数",
  18730. "type": "number"
  18731. },
  18732. "convertratio": {
  18733. "description": "套保系数",
  18734. "type": "number"
  18735. },
  18736. "createtime": {
  18737. "description": "时间",
  18738. "type": "string"
  18739. },
  18740. "enumdicname": {
  18741. "description": "现货商品单位名称",
  18742. "type": "string"
  18743. },
  18744. "logtype": {
  18745. "description": "类型 - 1:套保计划 2:现货合同",
  18746. "type": "integer"
  18747. },
  18748. "middlegoodsId": {
  18749. "description": "套保商品id",
  18750. "type": "integer"
  18751. },
  18752. "middlegoodscode": {
  18753. "description": "套保商品代码",
  18754. "type": "string"
  18755. },
  18756. "middlegoodsname": {
  18757. "description": "套保商品名称",
  18758. "type": "string"
  18759. },
  18760. "qty": {
  18761. "description": "数量",
  18762. "type": "number"
  18763. },
  18764. "relateNo": {
  18765. "description": "现货合同/套保计划编号",
  18766. "type": "string"
  18767. },
  18768. "wrstandardcode": {
  18769. "description": "现货商品代码",
  18770. "type": "string"
  18771. },
  18772. "wrstandardid": {
  18773. "description": "现货商品ID",
  18774. "type": "integer"
  18775. },
  18776. "wrstandardname": {
  18777. "description": "现货商品名称",
  18778. "type": "string"
  18779. }
  18780. }
  18781. },
  18782. "ermcp.ExposureHedgePosDetailRsp": {
  18783. "type": "object",
  18784. "properties": {
  18785. "buyorsell": {
  18786. "description": "买卖方向 0-买 1-卖",
  18787. "type": "integer"
  18788. },
  18789. "channelbuildtype": {
  18790. "description": "开平方向 1-建仓 2-平仓",
  18791. "type": "integer"
  18792. },
  18793. "goodscode": {
  18794. "description": "商品代码",
  18795. "type": "string"
  18796. },
  18797. "goodsname": {
  18798. "description": "商品名称",
  18799. "type": "string"
  18800. },
  18801. "hedgegoodsid": {
  18802. "description": "商品id",
  18803. "type": "integer"
  18804. },
  18805. "tradeqty": {
  18806. "description": "数量(成交数量)",
  18807. "type": "integer"
  18808. },
  18809. "tradetime": {
  18810. "description": "时间(成交时间)",
  18811. "type": "string"
  18812. }
  18813. }
  18814. },
  18815. "ermcp.ExposureHedgePositionRsp": {
  18816. "type": "object",
  18817. "properties": {
  18818. "accountid": {
  18819. "description": "资金账号[外部母账户]",
  18820. "type": "integer"
  18821. },
  18822. "curbuyposition": {
  18823. "description": "期末买头寸",
  18824. "type": "integer"
  18825. },
  18826. "cursellposition": {
  18827. "description": "期末卖头寸",
  18828. "type": "integer"
  18829. },
  18830. "curtdbuyposition": {
  18831. "description": "期末今日买头寸",
  18832. "type": "integer"
  18833. },
  18834. "curtdsellposition": {
  18835. "description": "期末今日卖头寸",
  18836. "type": "integer"
  18837. },
  18838. "curydbuyposition": {
  18839. "description": "期末上日买头寸",
  18840. "type": "integer"
  18841. },
  18842. "curydsellposition": {
  18843. "description": "期末上日卖头寸",
  18844. "type": "integer"
  18845. },
  18846. "decreaseqty": {
  18847. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18848. "type": "integer"
  18849. },
  18850. "fretdbuyposition": {
  18851. "description": "冻结今日买头寸",
  18852. "type": "integer"
  18853. },
  18854. "fretdsellposition": {
  18855. "description": "冻结今日卖头寸",
  18856. "type": "integer"
  18857. },
  18858. "freydbuyposition": {
  18859. "description": "冻结上日买头寸",
  18860. "type": "integer"
  18861. },
  18862. "freydsellposition": {
  18863. "description": "冻结上日卖头寸",
  18864. "type": "integer"
  18865. },
  18866. "goodscode": {
  18867. "description": "商品代码",
  18868. "type": "string"
  18869. },
  18870. "goodsid": {
  18871. "description": "商品id",
  18872. "type": "integer"
  18873. },
  18874. "goodsname": {
  18875. "description": "商品名称",
  18876. "type": "string"
  18877. },
  18878. "hedgeaccountcode": {
  18879. "description": "对冲账号",
  18880. "type": "string"
  18881. },
  18882. "hedgegoodsid": {
  18883. "description": "对冲合约ID",
  18884. "type": "integer"
  18885. },
  18886. "increaseqty": {
  18887. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18888. "type": "integer"
  18889. },
  18890. "marketid": {
  18891. "description": "市场ID",
  18892. "type": "integer"
  18893. },
  18894. "relateduserid": {
  18895. "description": "关联用户id",
  18896. "type": "integer"
  18897. },
  18898. "totalcurqty": {
  18899. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18900. "type": "integer"
  18901. },
  18902. "totalydqty": {
  18903. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18904. "type": "integer"
  18905. },
  18906. "tradedate": {
  18907. "description": "交易日(yyyyMMdd)",
  18908. "type": "string"
  18909. },
  18910. "ydbuyposition": {
  18911. "description": "期初买头寸",
  18912. "type": "integer"
  18913. },
  18914. "ydsellposition": {
  18915. "description": "期初卖头寸",
  18916. "type": "integer"
  18917. }
  18918. }
  18919. },
  18920. "ermcp.ExposureSpotDetailRsp": {
  18921. "type": "object",
  18922. "properties": {
  18923. "contracttype": {
  18924. "description": "合同类型 1-采购 -1-销售",
  18925. "type": "integer"
  18926. },
  18927. "createtime": {
  18928. "description": "创建时间",
  18929. "type": "string"
  18930. },
  18931. "enumdicname": {
  18932. "description": "现货商品单位名称",
  18933. "type": "string"
  18934. },
  18935. "logtype": {
  18936. "description": "记录类型 1-套保 2-现货合同",
  18937. "type": "integer"
  18938. },
  18939. "qty": {
  18940. "description": "数量",
  18941. "type": "number"
  18942. },
  18943. "recordname": {
  18944. "description": "类型名称",
  18945. "type": "string"
  18946. },
  18947. "relatedid": {
  18948. "description": "套保计划ID/现货合同ID",
  18949. "type": "string"
  18950. },
  18951. "relatedno": {
  18952. "description": "编号",
  18953. "type": "string"
  18954. },
  18955. "strtime": {
  18956. "description": "时间",
  18957. "type": "string"
  18958. },
  18959. "wrstandardcode": {
  18960. "description": "现货商品代码",
  18961. "type": "string"
  18962. },
  18963. "wrstandardname": {
  18964. "description": "现货商品名称",
  18965. "type": "string"
  18966. }
  18967. }
  18968. },
  18969. "ermcp.ExposureSpotRsp": {
  18970. "type": "object",
  18971. "properties": {
  18972. "areauserid": {
  18973. "description": "所属机构",
  18974. "type": "integer"
  18975. },
  18976. "decreaseqty": {
  18977. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18978. "type": "number"
  18979. },
  18980. "increaseqty": {
  18981. "description": "增加数量=销售计划数量+采购已定价数量",
  18982. "type": "number"
  18983. },
  18984. "oritoalspotqty": {
  18985. "description": "昨日数量",
  18986. "type": "number"
  18987. },
  18988. "totalspotqty": {
  18989. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18990. "type": "number"
  18991. },
  18992. "updatetime": {
  18993. "description": "更新时间",
  18994. "type": "string"
  18995. },
  18996. "wrstandardcode": {
  18997. "description": "现货品种代码",
  18998. "type": "string"
  18999. },
  19000. "wrstandardid": {
  19001. "description": "现货商品ID",
  19002. "type": "integer"
  19003. },
  19004. "wrstandardname": {
  19005. "description": "现货品种",
  19006. "type": "string"
  19007. }
  19008. }
  19009. },
  19010. "ermcp.HisExposureRsp": {
  19011. "type": "object",
  19012. "properties": {
  19013. "data": {
  19014. "description": "历史敞口",
  19015. "type": "array",
  19016. "items": {
  19017. "$ref": "#/definitions/models.ErmcpHisExposure"
  19018. }
  19019. },
  19020. "enumdicname": {
  19021. "description": "单位名称",
  19022. "type": "string"
  19023. },
  19024. "middlegoodscode": {
  19025. "description": "套保品种代码",
  19026. "type": "string"
  19027. },
  19028. "middlegoodsid": {
  19029. "description": "套保品种ID",
  19030. "type": "integer"
  19031. },
  19032. "middlegoodsname": {
  19033. "description": "套保品种名称",
  19034. "type": "string"
  19035. }
  19036. }
  19037. },
  19038. "ermcp.PendingAuditCntRsp": {
  19039. "type": "object",
  19040. "properties": {
  19041. "areastockqty": {
  19042. "description": "待审核数量: 库存申请",
  19043. "type": "integer"
  19044. },
  19045. "businessdjqty": {
  19046. "description": "待审核数量: 点价",
  19047. "type": "integer"
  19048. },
  19049. "businessfpqty": {
  19050. "description": "待审核数量: 发票",
  19051. "type": "integer"
  19052. },
  19053. "businessjsqty": {
  19054. "description": "待审核数量: 结算",
  19055. "type": "integer"
  19056. },
  19057. "businesskxqty": {
  19058. "description": "待审核数量: 款项",
  19059. "type": "integer"
  19060. },
  19061. "hedgeplanqty": {
  19062. "description": "待审核数量: 套保计划",
  19063. "type": "integer"
  19064. },
  19065. "spotcontractqty": {
  19066. "description": "待审核数量: 现货合同",
  19067. "type": "integer"
  19068. },
  19069. "userqty": {
  19070. "description": "待审核数量: 用户",
  19071. "type": "integer"
  19072. }
  19073. }
  19074. },
  19075. "ermcp.QryAvalidGPRsp": {
  19076. "type": "object",
  19077. "properties": {
  19078. "goodsgroupid": {
  19079. "description": "期货品种id",
  19080. "type": "integer"
  19081. },
  19082. "goodsgroupname": {
  19083. "description": "期货品种名称",
  19084. "type": "string"
  19085. },
  19086. "goodunitid": {
  19087. "description": "品种单位id",
  19088. "type": "integer"
  19089. },
  19090. "goodunitname": {
  19091. "description": "品种单位名称",
  19092. "type": "string"
  19093. },
  19094. "outergroupcode": {
  19095. "description": "期货品种代码",
  19096. "type": "string"
  19097. }
  19098. }
  19099. },
  19100. "ermcp.QryBusinessDjRsp": {
  19101. "type": "object",
  19102. "properties": {
  19103. "amount": {
  19104. "description": "期初均价",
  19105. "type": "number"
  19106. },
  19107. "applyid": {
  19108. "description": "申请人",
  19109. "type": "string"
  19110. },
  19111. "applyname": {
  19112. "description": "申请人名称",
  19113. "type": "string"
  19114. },
  19115. "applystatus": {
  19116. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19117. "type": "integer"
  19118. },
  19119. "applytime": {
  19120. "description": "申请时间",
  19121. "type": "string"
  19122. },
  19123. "attachurl": {
  19124. "description": "附件",
  19125. "type": "string"
  19126. },
  19127. "auditid": {
  19128. "description": "审核人ID",
  19129. "type": "string"
  19130. },
  19131. "auditname": {
  19132. "description": "审核人名称",
  19133. "type": "string"
  19134. },
  19135. "auditremark": {
  19136. "description": "审核备注",
  19137. "type": "string"
  19138. },
  19139. "audittime": {
  19140. "description": "审核时间",
  19141. "type": "string"
  19142. },
  19143. "buyusername": {
  19144. "description": "采购方名称",
  19145. "type": "string"
  19146. },
  19147. "contractno": {
  19148. "description": "合同编号",
  19149. "type": "string"
  19150. },
  19151. "contractstatus": {
  19152. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19153. "type": "integer"
  19154. },
  19155. "contracttype": {
  19156. "description": "现货合同类型 - 1:采购 -1:销售",
  19157. "type": "integer"
  19158. },
  19159. "deliverygoodscode": {
  19160. "description": "现货品种代码",
  19161. "type": "string"
  19162. },
  19163. "deliverygoodsid": {
  19164. "description": "现货商品ID",
  19165. "type": "integer"
  19166. },
  19167. "deliverygoodsname": {
  19168. "description": "现货品种名称",
  19169. "type": "string"
  19170. },
  19171. "enumdicname": {
  19172. "description": "单位名称",
  19173. "type": "string"
  19174. },
  19175. "goodscode": {
  19176. "description": "点价合约",
  19177. "type": "string"
  19178. },
  19179. "goodsname": {
  19180. "description": "商品名称",
  19181. "type": "string"
  19182. },
  19183. "operateapplyid": {
  19184. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19185. "type": "string"
  19186. },
  19187. "operateapplytype": {
  19188. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19189. "type": "integer"
  19190. },
  19191. "pricedPrice": {
  19192. "description": "点价价格(非必填)",
  19193. "type": "number"
  19194. },
  19195. "pricedQty": {
  19196. "description": "点价数量(非必填)",
  19197. "type": "number"
  19198. },
  19199. "pricemove": {
  19200. "description": "升贴水",
  19201. "type": "number"
  19202. },
  19203. "pricetype": {
  19204. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19205. "type": "integer"
  19206. },
  19207. "relatedid": {
  19208. "description": "现货合同ID",
  19209. "type": "string"
  19210. },
  19211. "sellusername": {
  19212. "description": "销售方名字",
  19213. "type": "string"
  19214. },
  19215. "userid": {
  19216. "description": "用户ID",
  19217. "type": "integer"
  19218. },
  19219. "wrstandardcode": {
  19220. "description": "品类代码",
  19221. "type": "string"
  19222. },
  19223. "wrstandardid": {
  19224. "description": "品类id",
  19225. "type": "integer"
  19226. },
  19227. "wrstandardname": {
  19228. "description": "品类名称",
  19229. "type": "string"
  19230. }
  19231. }
  19232. },
  19233. "ermcp.QryBussinessFpRsp": {
  19234. "type": "object",
  19235. "properties": {
  19236. "applyid": {
  19237. "description": "申请人",
  19238. "type": "string"
  19239. },
  19240. "applyname": {
  19241. "description": "申请人名称",
  19242. "type": "string"
  19243. },
  19244. "applystatus": {
  19245. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19246. "type": "integer"
  19247. },
  19248. "applytime": {
  19249. "description": "申请时间",
  19250. "type": "string"
  19251. },
  19252. "attachurl": {
  19253. "description": "附件",
  19254. "type": "string"
  19255. },
  19256. "auditid": {
  19257. "description": "审核人ID",
  19258. "type": "string"
  19259. },
  19260. "auditname": {
  19261. "description": "审核人名称",
  19262. "type": "string"
  19263. },
  19264. "auditremark": {
  19265. "description": "审核备注",
  19266. "type": "string"
  19267. },
  19268. "audittime": {
  19269. "description": "审核时间",
  19270. "type": "string"
  19271. },
  19272. "buyusername": {
  19273. "description": "采购方名称",
  19274. "type": "string"
  19275. },
  19276. "contractno": {
  19277. "description": "合同编号",
  19278. "type": "string"
  19279. },
  19280. "contractstatus": {
  19281. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19282. "type": "integer"
  19283. },
  19284. "contracttype": {
  19285. "description": "现货合同类型 - 1:采购 -1:销售",
  19286. "type": "integer"
  19287. },
  19288. "deliverygoodscode": {
  19289. "description": "现货品种代码",
  19290. "type": "string"
  19291. },
  19292. "deliverygoodsid": {
  19293. "description": "现货商品ID",
  19294. "type": "integer"
  19295. },
  19296. "deliverygoodsname": {
  19297. "description": "现货品种名称",
  19298. "type": "string"
  19299. },
  19300. "enumdicname": {
  19301. "description": "单位名称",
  19302. "type": "string"
  19303. },
  19304. "goodscode": {
  19305. "description": "点价合约",
  19306. "type": "string"
  19307. },
  19308. "goodsname": {
  19309. "description": "商品名称",
  19310. "type": "string"
  19311. },
  19312. "invoiceamount": {
  19313. "description": "已开收票金额(销售为开票,采购为收票)",
  19314. "type": "number"
  19315. },
  19316. "operateapplyid": {
  19317. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19318. "type": "string"
  19319. },
  19320. "operateapplytype": {
  19321. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19322. "type": "integer"
  19323. },
  19324. "pricemove": {
  19325. "description": "升贴水",
  19326. "type": "number"
  19327. },
  19328. "pricetype": {
  19329. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19330. "type": "integer"
  19331. },
  19332. "relatedid": {
  19333. "description": "现货合同ID",
  19334. "type": "string"
  19335. },
  19336. "sellusername": {
  19337. "description": "销售方名字",
  19338. "type": "string"
  19339. },
  19340. "userid": {
  19341. "description": "用户ID",
  19342. "type": "integer"
  19343. },
  19344. "wrstandardcode": {
  19345. "description": "品类代码",
  19346. "type": "string"
  19347. },
  19348. "wrstandardid": {
  19349. "description": "品类id",
  19350. "type": "integer"
  19351. },
  19352. "wrstandardname": {
  19353. "description": "品类名称",
  19354. "type": "string"
  19355. }
  19356. }
  19357. },
  19358. "ermcp.QryBussinessJsExRsp": {
  19359. "type": "object",
  19360. "properties": {
  19361. "applyid": {
  19362. "description": "申请人",
  19363. "type": "string"
  19364. },
  19365. "applyname": {
  19366. "description": "申请人名称",
  19367. "type": "string"
  19368. },
  19369. "applystatus": {
  19370. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19371. "type": "integer"
  19372. },
  19373. "applytime": {
  19374. "description": "申请时间",
  19375. "type": "string"
  19376. },
  19377. "attachurl": {
  19378. "description": "附件",
  19379. "type": "string"
  19380. },
  19381. "auditid": {
  19382. "description": "审核人ID",
  19383. "type": "string"
  19384. },
  19385. "auditname": {
  19386. "description": "审核人名称",
  19387. "type": "string"
  19388. },
  19389. "auditremark": {
  19390. "description": "审核备注",
  19391. "type": "string"
  19392. },
  19393. "audittime": {
  19394. "description": "审核时间",
  19395. "type": "string"
  19396. },
  19397. "buyusername": {
  19398. "description": "采购方名称",
  19399. "type": "string"
  19400. },
  19401. "contractno": {
  19402. "description": "合同编号",
  19403. "type": "string"
  19404. },
  19405. "contractstatus": {
  19406. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19407. "type": "integer"
  19408. },
  19409. "contracttype": {
  19410. "description": "现货合同类型 - 1:采购 -1:销售",
  19411. "type": "integer"
  19412. },
  19413. "deliverygoodscode": {
  19414. "description": "现货品种代码",
  19415. "type": "string"
  19416. },
  19417. "deliverygoodsid": {
  19418. "description": "现货商品ID",
  19419. "type": "integer"
  19420. },
  19421. "deliverygoodsname": {
  19422. "description": "现货品种名称",
  19423. "type": "string"
  19424. },
  19425. "enumdicname": {
  19426. "description": "单位名称",
  19427. "type": "string"
  19428. },
  19429. "goodscode": {
  19430. "description": "点价合约",
  19431. "type": "string"
  19432. },
  19433. "goodsname": {
  19434. "description": "商品名称",
  19435. "type": "string"
  19436. },
  19437. "operateapplyid": {
  19438. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19439. "type": "string"
  19440. },
  19441. "operateapplytype": {
  19442. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19443. "type": "integer"
  19444. },
  19445. "pricemove": {
  19446. "description": "升贴水",
  19447. "type": "number"
  19448. },
  19449. "pricetype": {
  19450. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19451. "type": "integer"
  19452. },
  19453. "reckontype": {
  19454. "description": "结算类型",
  19455. "type": "string"
  19456. },
  19457. "reckonvalue": {
  19458. "description": "值",
  19459. "type": "number"
  19460. },
  19461. "relatedid": {
  19462. "description": "现货合同ID",
  19463. "type": "string"
  19464. },
  19465. "sellusername": {
  19466. "description": "销售方名字",
  19467. "type": "string"
  19468. },
  19469. "userid": {
  19470. "description": "用户ID",
  19471. "type": "integer"
  19472. },
  19473. "wrstandardcode": {
  19474. "description": "品类代码",
  19475. "type": "string"
  19476. },
  19477. "wrstandardid": {
  19478. "description": "品类id",
  19479. "type": "integer"
  19480. },
  19481. "wrstandardname": {
  19482. "description": "品类名称",
  19483. "type": "string"
  19484. }
  19485. }
  19486. },
  19487. "ermcp.QryBussinessJsRsp": {
  19488. "type": "object",
  19489. "properties": {
  19490. "addmargin": {
  19491. "description": "追加保证金(非必填)",
  19492. "type": "number"
  19493. },
  19494. "applyid": {
  19495. "description": "申请人",
  19496. "type": "string"
  19497. },
  19498. "applyname": {
  19499. "description": "申请人名称",
  19500. "type": "string"
  19501. },
  19502. "applystatus": {
  19503. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19504. "type": "integer"
  19505. },
  19506. "applytime": {
  19507. "description": "申请时间",
  19508. "type": "string"
  19509. },
  19510. "attachurl": {
  19511. "description": "附件",
  19512. "type": "string"
  19513. },
  19514. "auditid": {
  19515. "description": "审核人ID",
  19516. "type": "string"
  19517. },
  19518. "auditname": {
  19519. "description": "审核人名称",
  19520. "type": "string"
  19521. },
  19522. "auditremark": {
  19523. "description": "审核备注",
  19524. "type": "string"
  19525. },
  19526. "audittime": {
  19527. "description": "审核时间",
  19528. "type": "string"
  19529. },
  19530. "buyusername": {
  19531. "description": "采购方名称",
  19532. "type": "string"
  19533. },
  19534. "contractno": {
  19535. "description": "合同编号",
  19536. "type": "string"
  19537. },
  19538. "contractstatus": {
  19539. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19540. "type": "integer"
  19541. },
  19542. "contracttype": {
  19543. "description": "现货合同类型 - 1:采购 -1:销售",
  19544. "type": "integer"
  19545. },
  19546. "decmargin": {
  19547. "description": "减少保证金(非必填)",
  19548. "type": "number"
  19549. },
  19550. "deliverygoodscode": {
  19551. "description": "现货品种代码",
  19552. "type": "string"
  19553. },
  19554. "deliverygoodsid": {
  19555. "description": "现货商品ID",
  19556. "type": "integer"
  19557. },
  19558. "deliverygoodsname": {
  19559. "description": "现货品种名称",
  19560. "type": "string"
  19561. },
  19562. "enumdicname": {
  19563. "description": "单位名称",
  19564. "type": "string"
  19565. },
  19566. "goodscode": {
  19567. "description": "点价合约",
  19568. "type": "string"
  19569. },
  19570. "goodsname": {
  19571. "description": "商品名称",
  19572. "type": "string"
  19573. },
  19574. "operateapplyid": {
  19575. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19576. "type": "string"
  19577. },
  19578. "operateapplytype": {
  19579. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19580. "type": "integer"
  19581. },
  19582. "pricemove": {
  19583. "description": "升贴水",
  19584. "type": "number"
  19585. },
  19586. "pricetype": {
  19587. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19588. "type": "integer"
  19589. },
  19590. "reckonadjustamount": {
  19591. "description": "结算调整金额(非必填)",
  19592. "type": "number"
  19593. },
  19594. "reckonosamount": {
  19595. "description": "结算溢短金额(非必填)",
  19596. "type": "number"
  19597. },
  19598. "reckonotheramount": {
  19599. "description": "结算其他费用(非必填)",
  19600. "type": "number"
  19601. },
  19602. "reckonrealqty": {
  19603. "description": "结算实际数量(非必填)",
  19604. "type": "number"
  19605. },
  19606. "relatedid": {
  19607. "description": "现货合同ID",
  19608. "type": "string"
  19609. },
  19610. "sellusername": {
  19611. "description": "销售方名字",
  19612. "type": "string"
  19613. },
  19614. "userid": {
  19615. "description": "用户ID",
  19616. "type": "integer"
  19617. },
  19618. "wrstandardcode": {
  19619. "description": "品类代码",
  19620. "type": "string"
  19621. },
  19622. "wrstandardid": {
  19623. "description": "品类id",
  19624. "type": "integer"
  19625. },
  19626. "wrstandardname": {
  19627. "description": "品类名称",
  19628. "type": "string"
  19629. }
  19630. }
  19631. },
  19632. "ermcp.QryBussinessKxRsp": {
  19633. "type": "object",
  19634. "properties": {
  19635. "applyid": {
  19636. "description": "申请人",
  19637. "type": "string"
  19638. },
  19639. "applyname": {
  19640. "description": "申请人名称",
  19641. "type": "string"
  19642. },
  19643. "applystatus": {
  19644. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19645. "type": "integer"
  19646. },
  19647. "applytime": {
  19648. "description": "申请时间",
  19649. "type": "string"
  19650. },
  19651. "attachurl": {
  19652. "description": "附件",
  19653. "type": "string"
  19654. },
  19655. "auditid": {
  19656. "description": "审核人ID",
  19657. "type": "string"
  19658. },
  19659. "auditname": {
  19660. "description": "审核人名称",
  19661. "type": "string"
  19662. },
  19663. "auditremark": {
  19664. "description": "审核备注",
  19665. "type": "string"
  19666. },
  19667. "audittime": {
  19668. "description": "审核时间",
  19669. "type": "string"
  19670. },
  19671. "buyusername": {
  19672. "description": "采购方名称",
  19673. "type": "string"
  19674. },
  19675. "contractno": {
  19676. "description": "合同编号",
  19677. "type": "string"
  19678. },
  19679. "contractstatus": {
  19680. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19681. "type": "integer"
  19682. },
  19683. "contracttype": {
  19684. "description": "现货合同类型 - 1:采购 -1:销售",
  19685. "type": "integer"
  19686. },
  19687. "deductamount": {
  19688. "description": "期初均价",
  19689. "type": "number"
  19690. },
  19691. "deliverygoodscode": {
  19692. "description": "现货品种代码",
  19693. "type": "string"
  19694. },
  19695. "deliverygoodsid": {
  19696. "description": "现货商品ID",
  19697. "type": "integer"
  19698. },
  19699. "deliverygoodsname": {
  19700. "description": "现货品种名称",
  19701. "type": "string"
  19702. },
  19703. "enumdicname": {
  19704. "description": "单位名称",
  19705. "type": "string"
  19706. },
  19707. "goodscode": {
  19708. "description": "点价合约",
  19709. "type": "string"
  19710. },
  19711. "goodsname": {
  19712. "description": "商品名称",
  19713. "type": "string"
  19714. },
  19715. "kxtype": {
  19716. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  19717. "type": "integer"
  19718. },
  19719. "operateapplyid": {
  19720. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19721. "type": "string"
  19722. },
  19723. "operateapplytype": {
  19724. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19725. "type": "integer"
  19726. },
  19727. "payamount": {
  19728. "description": "期初均价",
  19729. "type": "number"
  19730. },
  19731. "pricemove": {
  19732. "description": "升贴水",
  19733. "type": "number"
  19734. },
  19735. "pricetype": {
  19736. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19737. "type": "integer"
  19738. },
  19739. "relatedid": {
  19740. "description": "现货合同ID",
  19741. "type": "string"
  19742. },
  19743. "sellusername": {
  19744. "description": "销售方名字",
  19745. "type": "string"
  19746. },
  19747. "userid": {
  19748. "description": "用户ID",
  19749. "type": "integer"
  19750. },
  19751. "wrstandardcode": {
  19752. "description": "品类代码",
  19753. "type": "string"
  19754. },
  19755. "wrstandardid": {
  19756. "description": "品类id",
  19757. "type": "integer"
  19758. },
  19759. "wrstandardname": {
  19760. "description": "品类名称",
  19761. "type": "string"
  19762. }
  19763. }
  19764. },
  19765. "ermcp.QryGGCovertCfgRsp": {
  19766. "type": "object",
  19767. "properties": {
  19768. "convertratio": {
  19769. "description": "折算系数",
  19770. "type": "number"
  19771. },
  19772. "destgoodsgroupid": {
  19773. "description": "目标品种ID",
  19774. "type": "integer"
  19775. },
  19776. "dstcode": {
  19777. "description": "目录品种代码",
  19778. "type": "string"
  19779. },
  19780. "dstexchangecode": {
  19781. "description": "目标期货交易所",
  19782. "type": "string"
  19783. },
  19784. "dstname": {
  19785. "description": "目标品种名称",
  19786. "type": "string"
  19787. },
  19788. "dstunitid": {
  19789. "description": "目标品种单位ID",
  19790. "type": "integer"
  19791. },
  19792. "dstunitidname": {
  19793. "description": "目标品种单位名称",
  19794. "type": "string"
  19795. },
  19796. "modifytime": {
  19797. "description": "修改时间",
  19798. "type": "string"
  19799. },
  19800. "srccode": {
  19801. "description": "源品种代码",
  19802. "type": "string"
  19803. },
  19804. "srcexchangecode": {
  19805. "description": "源期货交易所",
  19806. "type": "string"
  19807. },
  19808. "srcgoodsgroupid": {
  19809. "description": "源品种ID",
  19810. "type": "integer"
  19811. },
  19812. "srcname": {
  19813. "description": "源品种名称",
  19814. "type": "string"
  19815. },
  19816. "srcunitid": {
  19817. "description": "源品种单位ID",
  19818. "type": "integer"
  19819. },
  19820. "srcunitidname": {
  19821. "description": "源品种单位名称",
  19822. "type": "string"
  19823. }
  19824. }
  19825. },
  19826. "ermcp.QryMGChangeLogRsp": {
  19827. "type": "object",
  19828. "properties": {
  19829. "aftervalue": {
  19830. "description": "变更后",
  19831. "type": "number"
  19832. },
  19833. "applyid": {
  19834. "description": "操作人",
  19835. "type": "integer"
  19836. },
  19837. "applyname": {
  19838. "description": "操作人名称",
  19839. "type": "string"
  19840. },
  19841. "applysrc": {
  19842. "description": "操作来源 - 1:管理端 2:终端",
  19843. "type": "integer"
  19844. },
  19845. "beforevalue": {
  19846. "description": "变更前",
  19847. "type": "number"
  19848. },
  19849. "changelogtype": {
  19850. "description": "变更流水类型 - 1:套保比率变更",
  19851. "type": "integer"
  19852. },
  19853. "handlestatus": {
  19854. "description": "处理状态",
  19855. "type": "integer"
  19856. },
  19857. "logdatetime": {
  19858. "description": "流水日期",
  19859. "type": "string"
  19860. },
  19861. "logid": {
  19862. "description": "流水ID",
  19863. "type": "integer"
  19864. },
  19865. "logremark": {
  19866. "description": "流水备注",
  19867. "type": "string"
  19868. },
  19869. "middlegoodsid": {
  19870. "description": "套保品种ID",
  19871. "type": "integer"
  19872. },
  19873. "tradedate": {
  19874. "description": "交易日(yyyyMMdd)",
  19875. "type": "string"
  19876. },
  19877. "updatetime": {
  19878. "description": "更新时间",
  19879. "type": "string"
  19880. }
  19881. }
  19882. },
  19883. "ermcp.QryMiddleGoodsDetailRsp": {
  19884. "type": "object",
  19885. "properties": {
  19886. "cvList": {
  19887. "description": "期货品种折算列表",
  19888. "type": "array",
  19889. "items": {
  19890. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19891. }
  19892. },
  19893. "mg": {
  19894. "description": "套保品种基本信息",
  19895. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19896. },
  19897. "wrcList": {
  19898. "description": "现货品种列表(现货商品折算配置)",
  19899. "type": "array",
  19900. "items": {
  19901. "$ref": "#/definitions/models.WRSConverTDetail"
  19902. }
  19903. }
  19904. }
  19905. },
  19906. "ermcp.QryMiddleGoodsRsp": {
  19907. "type": "object",
  19908. "properties": {
  19909. "areauserid": {
  19910. "description": "机构用户ID",
  19911. "type": "integer"
  19912. },
  19913. "createtime": {
  19914. "description": "修改时间",
  19915. "type": "string"
  19916. },
  19917. "enumdicname": {
  19918. "description": "单位名称",
  19919. "type": "string"
  19920. },
  19921. "evaluateratio": {
  19922. "description": "估价系数",
  19923. "type": "number"
  19924. },
  19925. "goodsgroupid": {
  19926. "description": "关联期货品种ID",
  19927. "type": "integer"
  19928. },
  19929. "goodsunitid": {
  19930. "description": "单位ID",
  19931. "type": "integer"
  19932. },
  19933. "isvalid": {
  19934. "description": "状态 0-无效(停用) 1-有效(正常)",
  19935. "type": "integer"
  19936. },
  19937. "middlegoodscode": {
  19938. "description": "套保品种代码",
  19939. "type": "string"
  19940. },
  19941. "middlegoodsid": {
  19942. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19943. "type": "integer"
  19944. },
  19945. "middlegoodsname": {
  19946. "description": "套保品种名称",
  19947. "type": "string"
  19948. },
  19949. "modifytime": {
  19950. "description": "修改时间",
  19951. "type": "string"
  19952. },
  19953. "needarbitrageratio": {
  19954. "description": "套利比例",
  19955. "type": "number"
  19956. },
  19957. "needhedgeratio": {
  19958. "description": "套保比率",
  19959. "type": "number"
  19960. },
  19961. "qtydecimalplace": {
  19962. "description": "数量小数位",
  19963. "type": "integer"
  19964. },
  19965. "relatedgoodsid": {
  19966. "description": "关联交易商品ID",
  19967. "type": "integer"
  19968. },
  19969. "relatedgoodstype": {
  19970. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19971. "type": "integer"
  19972. },
  19973. "remark": {
  19974. "description": "备注",
  19975. "type": "string"
  19976. }
  19977. }
  19978. },
  19979. "ermcp.QryOPLogRsp": {
  19980. "type": "object",
  19981. "properties": {
  19982. "aftervalue": {
  19983. "description": "变更后",
  19984. "type": "number"
  19985. },
  19986. "applyid": {
  19987. "description": "操作人ID",
  19988. "type": "string"
  19989. },
  19990. "applyname": {
  19991. "description": "操作人名称",
  19992. "type": "string"
  19993. },
  19994. "beforevalue": {
  19995. "description": "变更前",
  19996. "type": "number"
  19997. },
  19998. "biztype": {
  19999. "description": "业务类型 - 1:套保计划 2:现货合同",
  20000. "type": "integer"
  20001. },
  20002. "contracttype": {
  20003. "description": "现货合同类型 - 1:采购 -1:销售",
  20004. "type": "integer"
  20005. },
  20006. "logvalue": {
  20007. "description": "数值",
  20008. "type": "number"
  20009. },
  20010. "operatelogtype": {
  20011. "description": "操作流水类型",
  20012. "type": "integer"
  20013. },
  20014. "operatelogtypedesc": {
  20015. "description": "操作流水类型名称",
  20016. "type": "string"
  20017. },
  20018. "relatedid": {
  20019. "description": "现货合同ID\\套保计划",
  20020. "type": "string"
  20021. },
  20022. "updatetime": {
  20023. "description": "更新时间",
  20024. "type": "string"
  20025. }
  20026. }
  20027. },
  20028. "ermcp.QryUserInfoRsp": {
  20029. "type": "object",
  20030. "properties": {
  20031. "address": {
  20032. "description": "通讯地址",
  20033. "type": "string"
  20034. },
  20035. "attachment1": {
  20036. "description": "附件1",
  20037. "type": "string"
  20038. },
  20039. "audittime": {
  20040. "description": "审核时间",
  20041. "type": "string"
  20042. },
  20043. "cardbackphotourl": {
  20044. "description": "证件反面图片地址",
  20045. "type": "string"
  20046. },
  20047. "cardfrontphotourl": {
  20048. "description": "证件正面图片地址",
  20049. "type": "string"
  20050. },
  20051. "cardnum": {
  20052. "description": "证件号码",
  20053. "type": "string"
  20054. },
  20055. "cardtype": {
  20056. "description": "证件类型",
  20057. "type": "integer"
  20058. },
  20059. "cardtypename": {
  20060. "description": "证件类型名称",
  20061. "type": "string"
  20062. },
  20063. "cityid": {
  20064. "description": "市",
  20065. "type": "integer"
  20066. },
  20067. "contactname": {
  20068. "description": "联系人",
  20069. "type": "string"
  20070. },
  20071. "countryid": {
  20072. "description": "国家",
  20073. "type": "integer"
  20074. },
  20075. "createtime": {
  20076. "description": "创建时间",
  20077. "type": "string"
  20078. },
  20079. "customername": {
  20080. "description": "企业名称",
  20081. "type": "string"
  20082. },
  20083. "districtid": {
  20084. "description": "区域",
  20085. "type": "integer"
  20086. },
  20087. "email": {
  20088. "description": "邮件",
  20089. "type": "string"
  20090. },
  20091. "legalpersonname": {
  20092. "description": "法人姓名(企业)",
  20093. "type": "string"
  20094. },
  20095. "memberuserid": {
  20096. "description": "所属机构ID",
  20097. "type": "integer"
  20098. },
  20099. "mobile": {
  20100. "description": "手机号码",
  20101. "type": "string"
  20102. },
  20103. "modifytime": {
  20104. "description": "修改时间",
  20105. "type": "string"
  20106. },
  20107. "nickname": {
  20108. "description": "昵称",
  20109. "type": "string"
  20110. },
  20111. "provinceid": {
  20112. "description": "省",
  20113. "type": "integer"
  20114. },
  20115. "remark": {
  20116. "description": "备注",
  20117. "type": "string"
  20118. },
  20119. "status": {
  20120. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20121. "type": "integer"
  20122. },
  20123. "statusdesc": {
  20124. "description": "账户状态中文描述",
  20125. "type": "string"
  20126. },
  20127. "taxpayernum": {
  20128. "description": "纳税人识别号",
  20129. "type": "string"
  20130. },
  20131. "telphone": {
  20132. "description": "联系电话",
  20133. "type": "string"
  20134. },
  20135. "userid": {
  20136. "description": "用户ID",
  20137. "type": "integer"
  20138. },
  20139. "userinfotype": {
  20140. "description": "客户类型",
  20141. "type": "string"
  20142. }
  20143. }
  20144. },
  20145. "ermcp.QryWarehouseRsp": {
  20146. "type": "object",
  20147. "properties": {
  20148. "address": {
  20149. "description": "详细地址",
  20150. "type": "string"
  20151. },
  20152. "areauserid": {
  20153. "description": "所属机构",
  20154. "type": "integer"
  20155. },
  20156. "autoid": {
  20157. "description": "自增ID(仓库ID)",
  20158. "type": "integer"
  20159. },
  20160. "cityid": {
  20161. "description": "市",
  20162. "type": "integer"
  20163. },
  20164. "contactname": {
  20165. "description": "联系人",
  20166. "type": "string"
  20167. },
  20168. "contactnum": {
  20169. "description": "联系电话",
  20170. "type": "string"
  20171. },
  20172. "countryid": {
  20173. "description": "国家",
  20174. "type": "integer"
  20175. },
  20176. "createtime": {
  20177. "description": "创建时间",
  20178. "type": "string"
  20179. },
  20180. "districtid": {
  20181. "description": "区",
  20182. "type": "integer"
  20183. },
  20184. "hasvideo": {
  20185. "description": "是否有视频 - 0:无 1:有",
  20186. "type": "integer"
  20187. },
  20188. "provinceid": {
  20189. "description": "省",
  20190. "type": "integer"
  20191. },
  20192. "remark": {
  20193. "description": "审核备注",
  20194. "type": "string"
  20195. },
  20196. "videourl": {
  20197. "description": "视频地址",
  20198. "type": "string"
  20199. },
  20200. "warehousecode": {
  20201. "description": "仓库代码",
  20202. "type": "string"
  20203. },
  20204. "warehousename": {
  20205. "description": "仓库名称",
  20206. "type": "string"
  20207. },
  20208. "warehousestatus": {
  20209. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20210. "type": "integer"
  20211. },
  20212. "warehousetype": {
  20213. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20214. "type": "integer"
  20215. }
  20216. }
  20217. },
  20218. "ermcp.QueryErmcpTradePositionRsp": {
  20219. "type": "object",
  20220. "properties": {
  20221. "agreeunit": {
  20222. "description": "合约单位",
  20223. "type": "number"
  20224. },
  20225. "buyorsell": {
  20226. "description": "方向 - 0:买 1:卖",
  20227. "type": "integer"
  20228. },
  20229. "curpositionqty": {
  20230. "description": "持仓(总仓数量, 期末头寸)",
  20231. "type": "integer"
  20232. },
  20233. "curtdposition": {
  20234. "description": "今仓数量(期末今日头寸)",
  20235. "type": "integer"
  20236. },
  20237. "curtdpositionenabled": {
  20238. "description": "今仓可用",
  20239. "type": "integer"
  20240. },
  20241. "decimalplace": {
  20242. "description": "报价小数位",
  20243. "type": "integer"
  20244. },
  20245. "enableqty": {
  20246. "description": "可用(总仓可用)",
  20247. "type": "integer"
  20248. },
  20249. "exexchangename": {
  20250. "description": "外部交易所名称",
  20251. "type": "string"
  20252. },
  20253. "exexehangecode": {
  20254. "description": "外部交易所代码",
  20255. "type": "string"
  20256. },
  20257. "exexehangeid": {
  20258. "description": "外部交易所id",
  20259. "type": "integer"
  20260. },
  20261. "goodscode": {
  20262. "description": "商品代码(内部)",
  20263. "type": "string"
  20264. },
  20265. "goodsid": {
  20266. "description": "商品ID(自增ID SEQ_GOODS)",
  20267. "type": "integer"
  20268. },
  20269. "goodsname": {
  20270. "description": "商品名称",
  20271. "type": "string"
  20272. },
  20273. "last": {
  20274. "description": "现价",
  20275. "type": "number"
  20276. },
  20277. "marketid": {
  20278. "description": "所属市场ID",
  20279. "type": "integer"
  20280. },
  20281. "openaverageprice": {
  20282. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  20283. "type": "number"
  20284. },
  20285. "opencost": {
  20286. "description": "开仓成本",
  20287. "type": "number"
  20288. },
  20289. "openpl": {
  20290. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  20291. "type": "number"
  20292. },
  20293. "outgoodscode": {
  20294. "description": "商品代码(外部)",
  20295. "type": "string"
  20296. },
  20297. "positionaverageprice": {
  20298. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  20299. "type": "number"
  20300. },
  20301. "positioncost": {
  20302. "description": "持仓成本",
  20303. "type": "number"
  20304. },
  20305. "positionpl": {
  20306. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  20307. "type": "number"
  20308. },
  20309. "positionplrate": {
  20310. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  20311. "type": "number"
  20312. },
  20313. "usedmargin": {
  20314. "description": "占用保证金",
  20315. "type": "number"
  20316. }
  20317. }
  20318. },
  20319. "ermcp.RealtimeExposurePositionRsp": {
  20320. "type": "object",
  20321. "properties": {
  20322. "agreeunit": {
  20323. "description": "合约单位",
  20324. "type": "string"
  20325. },
  20326. "areauserid": {
  20327. "description": "所属机构id",
  20328. "type": "integer"
  20329. },
  20330. "convertratio": {
  20331. "description": "期货品种系数(折算系数)",
  20332. "type": "number"
  20333. },
  20334. "curhedgeqty": {
  20335. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  20336. "type": "number"
  20337. },
  20338. "curqty": {
  20339. "description": "当前持仓",
  20340. "type": "integer"
  20341. },
  20342. "diffhedgeqty": {
  20343. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20344. "type": "number"
  20345. },
  20346. "diffqty": {
  20347. "description": "持仓变动量=当前持仓-昨日持仓",
  20348. "type": "integer"
  20349. },
  20350. "goodscode": {
  20351. "description": "商品代码",
  20352. "type": "string"
  20353. },
  20354. "goodsid": {
  20355. "description": "商品id",
  20356. "type": "integer"
  20357. },
  20358. "goodsname": {
  20359. "description": "商品名称",
  20360. "type": "string"
  20361. },
  20362. "hedgeaccountcode": {
  20363. "description": "对冲账号(只有外部账号才有值)",
  20364. "type": "string"
  20365. },
  20366. "middlegoodscode": {
  20367. "description": "套保商品代码",
  20368. "type": "string"
  20369. },
  20370. "middlegoodsid": {
  20371. "description": "套保商品id",
  20372. "type": "integer"
  20373. },
  20374. "middlegoodsname": {
  20375. "description": "套保商品名称",
  20376. "type": "string"
  20377. },
  20378. "ydqty": {
  20379. "description": "昨日持仓",
  20380. "type": "integer"
  20381. }
  20382. }
  20383. },
  20384. "ermcp.RealtimeExposureRsp": {
  20385. "type": "object",
  20386. "properties": {
  20387. "AreaUserID": {
  20388. "description": "所属机构",
  20389. "type": "integer"
  20390. },
  20391. "BuyFutureQty": {
  20392. "description": "买入期货数量",
  20393. "type": "number"
  20394. },
  20395. "BuyPlanQty": {
  20396. "description": "采购计划数量",
  20397. "type": "number"
  20398. },
  20399. "BuyPricedQty": {
  20400. "description": "采购合同已定价数量",
  20401. "type": "number"
  20402. },
  20403. "MiddleGoodsCode": {
  20404. "description": "套保品种代码",
  20405. "type": "string"
  20406. },
  20407. "MiddleGoodsHedgeRatio": {
  20408. "description": "套保比例",
  20409. "type": "number"
  20410. },
  20411. "MiddleGoodsID": {
  20412. "description": "套保品种",
  20413. "type": "integer"
  20414. },
  20415. "MiddleGoodsName": {
  20416. "description": "套保品种名称",
  20417. "type": "string"
  20418. },
  20419. "NeedHedgeExposoure": {
  20420. "description": "应套保敞口(套保敞口)",
  20421. "type": "number"
  20422. },
  20423. "NeedHedgeRatio": {
  20424. "description": "应套保敞口比例",
  20425. "type": "number"
  20426. },
  20427. "OriBuyFutureQty": {
  20428. "description": "期初买入期货数量",
  20429. "type": "number"
  20430. },
  20431. "OriBuyPlanQty": {
  20432. "description": "期初采购计划数量",
  20433. "type": "number"
  20434. },
  20435. "OriBuyPricedQty": {
  20436. "description": "期初采购合同已定价数量",
  20437. "type": "number"
  20438. },
  20439. "OriSellFutureQty": {
  20440. "description": "期初卖出期货数量",
  20441. "type": "number"
  20442. },
  20443. "OriSellPlanQty": {
  20444. "description": "期初销售计划数量",
  20445. "type": "number"
  20446. },
  20447. "OriSellPricedQty": {
  20448. "description": "期初销售合同已定价数量",
  20449. "type": "number"
  20450. },
  20451. "OriTotalSpotQty": {
  20452. "description": "期初现货总量",
  20453. "type": "number"
  20454. },
  20455. "SellFutureQty": {
  20456. "description": "卖出期货数量",
  20457. "type": "number"
  20458. },
  20459. "SellPlanQty": {
  20460. "description": "销售计划数量",
  20461. "type": "number"
  20462. },
  20463. "SellPricedQty": {
  20464. "description": "销售合同已定价数量",
  20465. "type": "number"
  20466. },
  20467. "TotalExposure": {
  20468. "description": "总敞口 平安:净敞口",
  20469. "type": "number"
  20470. },
  20471. "TotalFutureQty": {
  20472. "description": "期货总量 平安:保值净持仓量",
  20473. "type": "number"
  20474. },
  20475. "TotalHedgeRatio": {
  20476. "description": "敞口比例",
  20477. "type": "number"
  20478. },
  20479. "TotalNeedHedgeQty": {
  20480. "description": "应套保总量(现货应套保总量)",
  20481. "type": "number"
  20482. },
  20483. "TotalSpotQty": {
  20484. "description": "现货总量 平安:采销定价净值",
  20485. "type": "number"
  20486. },
  20487. "arbitrageqty": {
  20488. "description": "套利量",
  20489. "type": "number"
  20490. },
  20491. "diffArbitrageQty": {
  20492. "description": "期初均价",
  20493. "type": "number"
  20494. },
  20495. "diffExposoureQty": {
  20496. "description": "期初均价",
  20497. "type": "number"
  20498. },
  20499. "diffFutuQty": {
  20500. "description": "期初均价",
  20501. "type": "number"
  20502. },
  20503. "diffHedgeQty": {
  20504. "description": "期初均价",
  20505. "type": "number"
  20506. },
  20507. "diffQty": {
  20508. "description": "期初均价",
  20509. "type": "number"
  20510. },
  20511. "diffSpotHedgeQty": {
  20512. "description": "期初均价",
  20513. "type": "number"
  20514. },
  20515. "diffSpotQty": {
  20516. "description": "期初均价",
  20517. "type": "number"
  20518. },
  20519. "enumdicname": {
  20520. "description": "单位名称",
  20521. "type": "string"
  20522. },
  20523. "hedgeqty": {
  20524. "description": "套保量",
  20525. "type": "number"
  20526. },
  20527. "needarbitrageqty": {
  20528. "description": "应套利量",
  20529. "type": "number"
  20530. },
  20531. "needarbitrageratio": {
  20532. "description": "套利比例",
  20533. "type": "number"
  20534. },
  20535. "needhedgeqty": {
  20536. "description": "应套保量",
  20537. "type": "number"
  20538. },
  20539. "oriarbitrageqty": {
  20540. "description": "期初套利量",
  20541. "type": "number"
  20542. },
  20543. "orihedgeqty": {
  20544. "description": "期初套保量",
  20545. "type": "number"
  20546. },
  20547. "orineedhedgeexposoure": {
  20548. "description": "期初套保敞口",
  20549. "type": "number"
  20550. },
  20551. "oritotalexposure": {
  20552. "description": "期初总敞口",
  20553. "type": "number"
  20554. },
  20555. "oritotalfutureqty": {
  20556. "description": "期初期货总量",
  20557. "type": "number"
  20558. },
  20559. "oritotalneedhedgeqty": {
  20560. "description": "期初现货应套保量",
  20561. "type": "number"
  20562. }
  20563. }
  20564. },
  20565. "erms2.QueryArbitrageStrategyRsp": {
  20566. "type": "object",
  20567. "required": [
  20568. "asapplyid"
  20569. ],
  20570. "properties": {
  20571. "applybasis": {
  20572. "description": "申请基差",
  20573. "type": "number"
  20574. },
  20575. "asapplyid": {
  20576. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  20577. "type": "string"
  20578. },
  20579. "asname": {
  20580. "description": "策略名称",
  20581. "type": "string"
  20582. },
  20583. "asno": {
  20584. "description": "策略编号",
  20585. "type": "string"
  20586. },
  20587. "basischangepl": {
  20588. "description": "基差变动损益[结算更新]",
  20589. "type": "number"
  20590. },
  20591. "biztype": {
  20592. "description": "业务类型 - 1:正向套利 -1:反向套利",
  20593. "type": "integer"
  20594. },
  20595. "closetradedate": {
  20596. "description": "完结交易日(yyyyMMdd)",
  20597. "type": "string"
  20598. },
  20599. "curbasis": {
  20600. "description": "当前基差[结算更新]",
  20601. "type": "number"
  20602. },
  20603. "deliverygoodsid": {
  20604. "description": "现货品种ID",
  20605. "type": "integer"
  20606. },
  20607. "futureavgprice": {
  20608. "description": "期货建仓均价",
  20609. "type": "number"
  20610. },
  20611. "futurecloseamount": {
  20612. "description": "期货平仓金额",
  20613. "type": "number"
  20614. },
  20615. "futurecloseqty": {
  20616. "description": "期货平仓数量",
  20617. "type": "number"
  20618. },
  20619. "futureopenamount": {
  20620. "description": "期货开仓金额",
  20621. "type": "number"
  20622. },
  20623. "futureopenqty": {
  20624. "description": "期货开仓数量",
  20625. "type": "number"
  20626. },
  20627. "futurepl": {
  20628. "description": "期货总盈亏[结算更新]",
  20629. "type": "number"
  20630. },
  20631. "futureqty": {
  20632. "description": "期货持仓数量",
  20633. "type": "number"
  20634. },
  20635. "futurequote": {
  20636. "description": "期货额度",
  20637. "type": "number"
  20638. },
  20639. "goodsgroupid": {
  20640. "description": "期货品种ID",
  20641. "type": "integer"
  20642. },
  20643. "marketid": {
  20644. "description": "市场ID",
  20645. "type": "integer"
  20646. },
  20647. "netexposure": {
  20648. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  20649. "type": "number"
  20650. },
  20651. "netexposurepl": {
  20652. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  20653. "type": "number"
  20654. },
  20655. "netexposurerate": {
  20656. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  20657. "type": "number"
  20658. },
  20659. "openbasis": {
  20660. "description": "建仓基差",
  20661. "type": "number"
  20662. },
  20663. "pricedspotqty": {
  20664. "description": "已定价现货数量",
  20665. "type": "number"
  20666. },
  20667. "pricedspotqtynotax": {
  20668. "description": "已定价现货不含税数量",
  20669. "type": "number"
  20670. },
  20671. "remark": {
  20672. "description": "备注",
  20673. "type": "string"
  20674. },
  20675. "spotavgprice": {
  20676. "description": "现货均价",
  20677. "type": "number"
  20678. },
  20679. "spotbuyamount": {
  20680. "description": "现货采购金额",
  20681. "type": "number"
  20682. },
  20683. "spotbuyqty": {
  20684. "description": "现货采购数量",
  20685. "type": "number"
  20686. },
  20687. "spotpl": {
  20688. "description": "现货总盈亏[结算更新]",
  20689. "type": "number"
  20690. },
  20691. "spotquota": {
  20692. "description": "现货额度",
  20693. "type": "number"
  20694. },
  20695. "spotsellamount": {
  20696. "description": "现货销售金额",
  20697. "type": "number"
  20698. },
  20699. "spotsellqty": {
  20700. "description": "现货销售数量",
  20701. "type": "number"
  20702. },
  20703. "spotusedquota": {
  20704. "description": "现货占用资金",
  20705. "type": "number"
  20706. },
  20707. "strategystatus": {
  20708. "description": "策略状态 - 0:未结束 1:已结束",
  20709. "type": "integer"
  20710. },
  20711. "totalpl": {
  20712. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  20713. "type": "number"
  20714. },
  20715. "tradedate": {
  20716. "description": "交易日(yyyyMMdd)",
  20717. "type": "string"
  20718. },
  20719. "updatetime": {
  20720. "description": "更新时间",
  20721. "type": "string"
  20722. },
  20723. "usedquota": {
  20724. "description": "已占用资金",
  20725. "type": "number"
  20726. },
  20727. "userid": {
  20728. "description": "所属机构",
  20729. "type": "integer"
  20730. }
  20731. }
  20732. },
  20733. "erms2.QueryInnerTradeDetailRsp": {
  20734. "type": "object",
  20735. "required": [
  20736. "asapplyid",
  20737. "buyorsell",
  20738. "goodscode",
  20739. "goodsgroupid",
  20740. "goodsgroupname",
  20741. "goodsname",
  20742. "tradeid"
  20743. ],
  20744. "properties": {
  20745. "accountid": {
  20746. "description": "账号ID",
  20747. "type": "integer"
  20748. },
  20749. "agreeunit": {
  20750. "description": "合约单位",
  20751. "type": "number"
  20752. },
  20753. "asapplyid": {
  20754. "description": "策略申请ID",
  20755. "type": "integer"
  20756. },
  20757. "asname": {
  20758. "description": "策略名称",
  20759. "type": "string"
  20760. },
  20761. "asno": {
  20762. "description": "策略编号",
  20763. "type": "string"
  20764. },
  20765. "buyorsell": {
  20766. "description": "方向 - 0:买 1:卖",
  20767. "type": "integer"
  20768. },
  20769. "channelbuildtype": {
  20770. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20771. "type": "integer"
  20772. },
  20773. "closetype": {
  20774. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20775. "type": "integer"
  20776. },
  20777. "decimalplace": {
  20778. "description": "报价小数位",
  20779. "type": "integer"
  20780. },
  20781. "detailtype": {
  20782. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  20783. "type": "integer"
  20784. },
  20785. "exexchangecode": {
  20786. "description": "外部交易所代码",
  20787. "type": "string"
  20788. },
  20789. "exexchangename": {
  20790. "description": "外部交易所名称",
  20791. "type": "string"
  20792. },
  20793. "goodscode": {
  20794. "description": "商品代码(合约)",
  20795. "type": "string"
  20796. },
  20797. "goodsgroupid": {
  20798. "description": "商品组ID(品种ID)",
  20799. "type": "integer"
  20800. },
  20801. "goodsgroupname": {
  20802. "description": "商品组名称(品种)",
  20803. "type": "string"
  20804. },
  20805. "goodsid": {
  20806. "description": "商品ID",
  20807. "type": "integer"
  20808. },
  20809. "goodsname": {
  20810. "description": "商品名称(合约)",
  20811. "type": "string"
  20812. },
  20813. "goodunit": {
  20814. "description": "报价单位",
  20815. "type": "string"
  20816. },
  20817. "marketid": {
  20818. "description": "市场ID",
  20819. "type": "integer"
  20820. },
  20821. "orderid": {
  20822. "description": "委托单号",
  20823. "type": "string"
  20824. },
  20825. "outgoodscode": {
  20826. "description": "商品代码(外部)",
  20827. "type": "string"
  20828. },
  20829. "relatedouttradeid": {
  20830. "description": "关联外部成交单ID",
  20831. "type": "string"
  20832. },
  20833. "remark": {
  20834. "description": "备注",
  20835. "type": "string"
  20836. },
  20837. "spotcontractid": {
  20838. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  20839. "type": "integer"
  20840. },
  20841. "spotcontractno": {
  20842. "description": "现货合同编号",
  20843. "type": "string"
  20844. },
  20845. "tradeid": {
  20846. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20847. "type": "string"
  20848. },
  20849. "tradeprice": {
  20850. "description": "成交价格",
  20851. "type": "number"
  20852. },
  20853. "tradeqty": {
  20854. "description": "成交数量",
  20855. "type": "integer"
  20856. },
  20857. "tradetime": {
  20858. "description": "成交时间",
  20859. "type": "string"
  20860. },
  20861. "updatetime": {
  20862. "description": "更新时间",
  20863. "type": "string"
  20864. }
  20865. }
  20866. },
  20867. "erms2.QuerySpotContractRsp": {
  20868. "type": "object",
  20869. "required": [
  20870. "spotcontractid"
  20871. ],
  20872. "properties": {
  20873. "accountid": {
  20874. "description": "资金账户ID",
  20875. "type": "integer"
  20876. },
  20877. "areauserid": {
  20878. "description": "所属机构",
  20879. "type": "integer"
  20880. },
  20881. "closedate": {
  20882. "description": "终止日期",
  20883. "type": "string"
  20884. },
  20885. "closeremark": {
  20886. "description": "结束备注",
  20887. "type": "string"
  20888. },
  20889. "closetradedate": {
  20890. "description": "完结交易日(yyyyMMdd)",
  20891. "type": "string"
  20892. },
  20893. "closetype": {
  20894. "description": "终止类型 - 1:违约 2:提前终止",
  20895. "type": "integer"
  20896. },
  20897. "contractamount": {
  20898. "description": "合同金额",
  20899. "type": "number"
  20900. },
  20901. "contractattachment": {
  20902. "description": "合同附件",
  20903. "type": "string"
  20904. },
  20905. "contractno": {
  20906. "description": "现货合同编号",
  20907. "type": "string"
  20908. },
  20909. "contractqty": {
  20910. "description": "合同数量(数值) (用于计算)",
  20911. "type": "number"
  20912. },
  20913. "contractqtychar": {
  20914. "description": "合同数量\\已订价数量 (用于显示)",
  20915. "type": "string"
  20916. },
  20917. "contractstatus": {
  20918. "description": "合同状态 - 0:未结束 1:已结束",
  20919. "type": "integer"
  20920. },
  20921. "contracttype": {
  20922. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20923. "type": "integer"
  20924. },
  20925. "customeraccountid": {
  20926. "description": "客户资金账户ID",
  20927. "type": "integer"
  20928. },
  20929. "customeruserid": {
  20930. "description": "客户ID",
  20931. "type": "integer"
  20932. },
  20933. "deliverygoodsdesc": {
  20934. "description": "品种说明",
  20935. "type": "string"
  20936. },
  20937. "deliverygoodsid": {
  20938. "description": "现货品种ID",
  20939. "type": "integer"
  20940. },
  20941. "handlestatus": {
  20942. "description": "处理状态",
  20943. "type": "integer"
  20944. },
  20945. "invoiceatt": {
  20946. "description": "发票附件",
  20947. "type": "string"
  20948. },
  20949. "invoicedatetime": {
  20950. "description": "开收票更新时间",
  20951. "type": "string"
  20952. },
  20953. "invoiceopentime": {
  20954. "description": "开票时间",
  20955. "type": "string"
  20956. },
  20957. "invoiceremark": {
  20958. "description": "发票备注",
  20959. "type": "string"
  20960. },
  20961. "invoicestatus": {
  20962. "description": "开收票状态 - 0:未开票 1:已开票",
  20963. "type": "integer"
  20964. },
  20965. "lastdate": {
  20966. "description": "交货时间",
  20967. "type": "string"
  20968. },
  20969. "marketid": {
  20970. "description": "市场ID",
  20971. "type": "integer"
  20972. },
  20973. "paydatetime": {
  20974. "description": "收付款更新时间",
  20975. "type": "string"
  20976. },
  20977. "payremark": {
  20978. "description": "收付款备注",
  20979. "type": "string"
  20980. },
  20981. "paystatus": {
  20982. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20983. "type": "integer"
  20984. },
  20985. "positionqty": {
  20986. "description": "头寸数量 - 合同数量去小数部分",
  20987. "type": "integer"
  20988. },
  20989. "producttype": {
  20990. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20991. "type": "integer"
  20992. },
  20993. "relatedqty": {
  20994. "description": "已关联数量",
  20995. "type": "number"
  20996. },
  20997. "relatedstatus": {
  20998. "description": "关联完结状态 - 0:未结束 1:已结束",
  20999. "type": "integer"
  21000. },
  21001. "remark": {
  21002. "description": "备注",
  21003. "type": "string"
  21004. },
  21005. "signdate": {
  21006. "description": "签订日期",
  21007. "type": "string"
  21008. },
  21009. "spotcontractid": {
  21010. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  21011. "type": "string"
  21012. },
  21013. "spotdatetime": {
  21014. "description": "收发货更新时间",
  21015. "type": "string"
  21016. },
  21017. "spotprice": {
  21018. "description": "价格",
  21019. "type": "number"
  21020. },
  21021. "spotremark": {
  21022. "description": "收发货备注",
  21023. "type": "string"
  21024. },
  21025. "spotstatus": {
  21026. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  21027. "type": "integer"
  21028. },
  21029. "tradedate": {
  21030. "description": "交易日(yyyyMMdd)",
  21031. "type": "string"
  21032. },
  21033. "userid": {
  21034. "description": "业务员用户ID",
  21035. "type": "integer"
  21036. },
  21037. "warehouseid": {
  21038. "description": "仓库ID",
  21039. "type": "integer"
  21040. },
  21041. "wrfactortypeid": {
  21042. "description": "仓单要素类型ID",
  21043. "type": "integer"
  21044. },
  21045. "wrstandardid": {
  21046. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  21047. "type": "integer"
  21048. }
  21049. }
  21050. },
  21051. "erms3.AddErms2ASApplyReq": {
  21052. "type": "object",
  21053. "required": [
  21054. "asapplyid"
  21055. ],
  21056. "properties": {
  21057. "applybasis": {
  21058. "description": "申请基差",
  21059. "type": "number"
  21060. },
  21061. "applystatus": {
  21062. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21063. "type": "integer"
  21064. },
  21065. "asapplyid": {
  21066. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  21067. "type": "integer"
  21068. },
  21069. "asname": {
  21070. "description": "策略名称",
  21071. "type": "string"
  21072. },
  21073. "asno": {
  21074. "description": "策略编号",
  21075. "type": "string"
  21076. },
  21077. "auditid": {
  21078. "description": "审核人",
  21079. "type": "integer"
  21080. },
  21081. "auditremark": {
  21082. "description": "审核备注",
  21083. "type": "string"
  21084. },
  21085. "audittime": {
  21086. "description": "审核时间",
  21087. "type": "string"
  21088. },
  21089. "biztype": {
  21090. "description": "业务类型 - 1:正向套利 2:反向套利",
  21091. "type": "integer"
  21092. },
  21093. "createtime": {
  21094. "description": "创建时间",
  21095. "type": "string"
  21096. },
  21097. "creatorid": {
  21098. "description": "创建人",
  21099. "type": "integer"
  21100. },
  21101. "deliverygoodsid": {
  21102. "description": "现货品种ID",
  21103. "type": "integer"
  21104. },
  21105. "futurequote": {
  21106. "description": "期货额度",
  21107. "type": "number"
  21108. },
  21109. "goodsgroupid": {
  21110. "description": "期货品种ID",
  21111. "type": "integer"
  21112. },
  21113. "marketid": {
  21114. "description": "市场ID",
  21115. "type": "integer"
  21116. },
  21117. "remark": {
  21118. "description": "备注",
  21119. "type": "string"
  21120. },
  21121. "spotquota": {
  21122. "description": "现货额度",
  21123. "type": "number"
  21124. },
  21125. "tradedate": {
  21126. "description": "交易日(yyyyMMdd)",
  21127. "type": "string"
  21128. },
  21129. "userid": {
  21130. "description": "所属机构",
  21131. "type": "integer"
  21132. }
  21133. }
  21134. },
  21135. "erms3.AddErms2SpotTradeApplyReq": {
  21136. "type": "object",
  21137. "required": [
  21138. "spottradeid"
  21139. ],
  21140. "properties": {
  21141. "applyjsondetail": {
  21142. "description": "申请明细(JSON)",
  21143. "type": "string"
  21144. },
  21145. "applystatus": {
  21146. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21147. "type": "integer"
  21148. },
  21149. "areauserid": {
  21150. "description": "所属机构",
  21151. "type": "integer"
  21152. },
  21153. "auditid": {
  21154. "description": "审核人",
  21155. "type": "integer"
  21156. },
  21157. "auditremark": {
  21158. "description": "审核备注",
  21159. "type": "string"
  21160. },
  21161. "audittime": {
  21162. "description": "审核时间",
  21163. "type": "string"
  21164. },
  21165. "createtime": {
  21166. "description": "创建时间",
  21167. "type": "string"
  21168. },
  21169. "creatorid": {
  21170. "description": "创建人",
  21171. "type": "integer"
  21172. },
  21173. "deliverygoodsid": {
  21174. "description": "现货品种ID",
  21175. "type": "integer"
  21176. },
  21177. "futureaccountid": {
  21178. "description": "期货资金账户",
  21179. "type": "integer"
  21180. },
  21181. "goodsgroupid": {
  21182. "description": "期货品种",
  21183. "type": "integer"
  21184. },
  21185. "marketid": {
  21186. "description": "市场ID",
  21187. "type": "integer"
  21188. },
  21189. "remark": {
  21190. "description": "备注",
  21191. "type": "string"
  21192. },
  21193. "spotaccountid": {
  21194. "description": "现货资金账户",
  21195. "type": "integer"
  21196. },
  21197. "spottradeid": {
  21198. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  21199. "type": "integer"
  21200. },
  21201. "spottradename": {
  21202. "description": "业务名称",
  21203. "type": "string"
  21204. },
  21205. "spottradeno": {
  21206. "description": "业务编号",
  21207. "type": "string"
  21208. },
  21209. "tradedate": {
  21210. "description": "交易日(yyyyMMdd)",
  21211. "type": "string"
  21212. },
  21213. "wrstandardid": {
  21214. "description": "仓单标准ID",
  21215. "type": "integer"
  21216. }
  21217. }
  21218. },
  21219. "erms3.AddSpotContractApplyReq": {
  21220. "type": "object",
  21221. "required": [
  21222. "accountid",
  21223. "areauserid",
  21224. "contractno",
  21225. "contracttype",
  21226. "customeraccountid",
  21227. "customeruserid",
  21228. "details",
  21229. "orimargin",
  21230. "signdate"
  21231. ],
  21232. "properties": {
  21233. "accountid": {
  21234. "description": "资金账户ID",
  21235. "type": "integer"
  21236. },
  21237. "areauserid": {
  21238. "description": "所属机构",
  21239. "type": "integer"
  21240. },
  21241. "contractattachment": {
  21242. "description": "合同附件",
  21243. "type": "string"
  21244. },
  21245. "contractno": {
  21246. "description": "现货合同编号",
  21247. "type": "string"
  21248. },
  21249. "contracttype": {
  21250. "description": "现货合同类型 - 1:采购 -1:销售",
  21251. "type": "integer"
  21252. },
  21253. "creatorid": {
  21254. "description": "申请人",
  21255. "type": "integer"
  21256. },
  21257. "customeraccountid": {
  21258. "description": "客户资金账户ID",
  21259. "type": "integer"
  21260. },
  21261. "customeruserid": {
  21262. "description": "客户ID",
  21263. "type": "integer"
  21264. },
  21265. "details": {
  21266. "description": "明细",
  21267. "type": "array",
  21268. "items": {
  21269. "$ref": "#/definitions/erms3.SoptContractDetail"
  21270. }
  21271. },
  21272. "orimargin": {
  21273. "description": "初始保证金",
  21274. "type": "number"
  21275. },
  21276. "remark": {
  21277. "description": "备注",
  21278. "type": "string"
  21279. },
  21280. "signdate": {
  21281. "description": "签订日期",
  21282. "type": "string"
  21283. }
  21284. }
  21285. },
  21286. "erms3.AddSpotContractApplyRsp": {
  21287. "type": "object",
  21288. "required": [
  21289. "contractno"
  21290. ],
  21291. "properties": {
  21292. "contractno": {
  21293. "description": "现货合同编号",
  21294. "type": "string"
  21295. },
  21296. "spotcontractid": {
  21297. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  21298. "type": "integer"
  21299. }
  21300. }
  21301. },
  21302. "erms3.AddUserInfoApplyReq": {
  21303. "type": "object",
  21304. "required": [
  21305. "userid"
  21306. ],
  21307. "properties": {
  21308. "accountid": {
  21309. "description": "交易系统帐号Id (加密存储)",
  21310. "type": "integer"
  21311. },
  21312. "areacode": {
  21313. "description": "机构代码",
  21314. "type": "string"
  21315. },
  21316. "areaid": {
  21317. "description": "机构Id",
  21318. "type": "integer"
  21319. },
  21320. "attachment1": {
  21321. "description": "附件1",
  21322. "type": "string"
  21323. },
  21324. "attachment2": {
  21325. "description": "附件2",
  21326. "type": "string"
  21327. },
  21328. "attachment3": {
  21329. "description": "附件3",
  21330. "type": "string"
  21331. },
  21332. "attachment4": {
  21333. "description": "附件4",
  21334. "type": "string"
  21335. },
  21336. "attachment5": {
  21337. "description": "附件5",
  21338. "type": "string"
  21339. },
  21340. "auditedby": {
  21341. "description": "审核人",
  21342. "type": "string"
  21343. },
  21344. "auditime": {
  21345. "description": "审核时间",
  21346. "type": "string"
  21347. },
  21348. "auditsrc": {
  21349. "description": "审核来源 - 1:管理端 2:终端",
  21350. "type": "integer"
  21351. },
  21352. "bankaccount": {
  21353. "description": "银行帐号 (加密存储)",
  21354. "type": "string"
  21355. },
  21356. "bankaccountname": {
  21357. "description": "收款人名称",
  21358. "type": "string"
  21359. },
  21360. "bankcardbackphotourl": {
  21361. "description": "银行卡背面照地址",
  21362. "type": "string"
  21363. },
  21364. "bankcardfrontphotourl": {
  21365. "description": "银行卡正面照地址",
  21366. "type": "string"
  21367. },
  21368. "bankid": {
  21369. "description": "银行编码",
  21370. "type": "string"
  21371. },
  21372. "bankname": {
  21373. "description": "银行名称",
  21374. "type": "string"
  21375. },
  21376. "bankpictureurl": {
  21377. "description": "银行卡正面地址",
  21378. "type": "string"
  21379. },
  21380. "biznature": {
  21381. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21382. "type": "integer"
  21383. },
  21384. "bizscope": {
  21385. "description": "企业经营范围(企业)",
  21386. "type": "string"
  21387. },
  21388. "biztype": {
  21389. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21390. "type": "integer"
  21391. },
  21392. "brokerid": {
  21393. "description": "经纪人ID(加密存储)",
  21394. "type": "string"
  21395. },
  21396. "cardaddress": {
  21397. "description": "证件地址 (加密存储)",
  21398. "type": "string"
  21399. },
  21400. "cardbackphotourl": {
  21401. "description": "背面证件照地址",
  21402. "type": "string"
  21403. },
  21404. "cardfrontphotourl": {
  21405. "description": "正面证件照地址",
  21406. "type": "string"
  21407. },
  21408. "cardnum": {
  21409. "description": "证件号码 (加密存储)",
  21410. "type": "string"
  21411. },
  21412. "cardtype": {
  21413. "description": "证件类型",
  21414. "type": "integer"
  21415. },
  21416. "cityid": {
  21417. "description": "市",
  21418. "type": "integer"
  21419. },
  21420. "company": {
  21421. "description": "公司(个人)",
  21422. "type": "string"
  21423. },
  21424. "contactcardbackphotourl": {
  21425. "description": "联系人证件背面图片地址",
  21426. "type": "string"
  21427. },
  21428. "contactcardfrontphotourl": {
  21429. "description": "联系人证件正面图片地址",
  21430. "type": "string"
  21431. },
  21432. "contactname": {
  21433. "description": "联系人",
  21434. "type": "string"
  21435. },
  21436. "countryid": {
  21437. "description": "国家",
  21438. "type": "integer"
  21439. },
  21440. "createtime": {
  21441. "description": "开户申请时间",
  21442. "type": "string"
  21443. },
  21444. "cusbankid": {
  21445. "description": "签约类型",
  21446. "type": "string"
  21447. },
  21448. "cusbankname": {
  21449. "description": "签约类型名称",
  21450. "type": "string"
  21451. },
  21452. "customername": {
  21453. "description": "客户名称(企业名称)",
  21454. "type": "string"
  21455. },
  21456. "districtid": {
  21457. "description": "地区",
  21458. "type": "integer"
  21459. },
  21460. "email": {
  21461. "description": "Email地址(加密存储)",
  21462. "type": "string"
  21463. },
  21464. "halfbodyphotourl": {
  21465. "description": "半身照地址",
  21466. "type": "string"
  21467. },
  21468. "headurl": {
  21469. "description": "头像地址",
  21470. "type": "string"
  21471. },
  21472. "ipaddress": {
  21473. "description": "IP地址",
  21474. "type": "string"
  21475. },
  21476. "isvalidate": {
  21477. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21478. "type": "string"
  21479. },
  21480. "legalcardbackphotourl": {
  21481. "description": "法人身份证背面照地址",
  21482. "type": "string"
  21483. },
  21484. "legalcardfrontphotourl": {
  21485. "description": "法人身份证正面照地址",
  21486. "type": "string"
  21487. },
  21488. "legalpersonname": {
  21489. "description": "法人姓名(企业)",
  21490. "type": "string"
  21491. },
  21492. "logincode": {
  21493. "description": "登录帐号 (加密存储)",
  21494. "type": "string"
  21495. },
  21496. "memberareaid": {
  21497. "description": "所属会员ID",
  21498. "type": "integer"
  21499. },
  21500. "mobile2": {
  21501. "description": "手机号码[明文-尚志]",
  21502. "type": "string"
  21503. },
  21504. "mobilephone": {
  21505. "description": "手机号码 (加密存储)",
  21506. "type": "string"
  21507. },
  21508. "modifiedby": {
  21509. "description": "修改人帐号",
  21510. "type": "integer"
  21511. },
  21512. "modifiedtime": {
  21513. "description": "修改时间",
  21514. "type": "string"
  21515. },
  21516. "nickname": {
  21517. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21518. "type": "string"
  21519. },
  21520. "openmode": {
  21521. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21522. "type": "integer"
  21523. },
  21524. "otherurl": {
  21525. "description": "其它图片地址[使用分号分隔]",
  21526. "type": "string"
  21527. },
  21528. "postalcode": {
  21529. "description": "邮政编码",
  21530. "type": "string"
  21531. },
  21532. "provinceid": {
  21533. "description": "省",
  21534. "type": "integer"
  21535. },
  21536. "proxystatementurl": {
  21537. "description": "授权委托书",
  21538. "type": "string"
  21539. },
  21540. "qq": {
  21541. "description": "QQ(加密存储",
  21542. "type": "string"
  21543. },
  21544. "referral": {
  21545. "description": "推荐人编码",
  21546. "type": "string"
  21547. },
  21548. "remark": {
  21549. "description": "备注",
  21550. "type": "string"
  21551. },
  21552. "removebeforestatus": {
  21553. "description": "REMOVEBEFORESTATUS",
  21554. "type": "integer"
  21555. },
  21556. "sex": {
  21557. "description": "性别 - 0:女 1:男",
  21558. "type": "integer"
  21559. },
  21560. "signedstatus": {
  21561. "description": "账户一号签签约状态",
  21562. "type": "integer"
  21563. },
  21564. "signpdfurl": {
  21565. "description": "签约pdf文件",
  21566. "type": "string"
  21567. },
  21568. "subbranch": {
  21569. "description": "开户支行",
  21570. "type": "string"
  21571. },
  21572. "taxpayernum": {
  21573. "description": "纳税人识别号",
  21574. "type": "string"
  21575. },
  21576. "telphone": {
  21577. "description": "联系电话(加密存储)",
  21578. "type": "string"
  21579. },
  21580. "userid": {
  21581. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21582. "type": "integer"
  21583. },
  21584. "userinfotype": {
  21585. "description": "用户信息类型 - 1:个人 2:企业",
  21586. "type": "integer"
  21587. },
  21588. "username": {
  21589. "description": "用户姓名",
  21590. "type": "string"
  21591. },
  21592. "userstate": {
  21593. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21594. "type": "integer"
  21595. },
  21596. "usertype": {
  21597. "description": "用户类型 - 1:投资者 2:机构",
  21598. "type": "integer"
  21599. },
  21600. "videourl": {
  21601. "description": "视频地址",
  21602. "type": "string"
  21603. },
  21604. "wechat": {
  21605. "description": "微信号 (加密存储)",
  21606. "type": "string"
  21607. }
  21608. }
  21609. },
  21610. "erms3.CustomerInfo": {
  21611. "type": "object",
  21612. "required": [
  21613. "userid"
  21614. ],
  21615. "properties": {
  21616. "accountids": {
  21617. "description": "资金账户ID列表",
  21618. "type": "array",
  21619. "items": {
  21620. "type": "integer"
  21621. }
  21622. },
  21623. "customername": {
  21624. "description": "名称(企业名称)",
  21625. "type": "string"
  21626. },
  21627. "mobile": {
  21628. "description": "手机号码",
  21629. "type": "string"
  21630. },
  21631. "userid": {
  21632. "description": "用户ID",
  21633. "type": "integer"
  21634. }
  21635. }
  21636. },
  21637. "erms3.ModifyUserInfoApplyReq": {
  21638. "type": "object",
  21639. "required": [
  21640. "userid"
  21641. ],
  21642. "properties": {
  21643. "accountid": {
  21644. "description": "交易系统帐号Id (加密存储)",
  21645. "type": "integer"
  21646. },
  21647. "areacode": {
  21648. "description": "机构代码",
  21649. "type": "string"
  21650. },
  21651. "areaid": {
  21652. "description": "机构Id",
  21653. "type": "integer"
  21654. },
  21655. "attachment1": {
  21656. "description": "附件1",
  21657. "type": "string"
  21658. },
  21659. "attachment2": {
  21660. "description": "附件2",
  21661. "type": "string"
  21662. },
  21663. "attachment3": {
  21664. "description": "附件3",
  21665. "type": "string"
  21666. },
  21667. "attachment4": {
  21668. "description": "附件4",
  21669. "type": "string"
  21670. },
  21671. "attachment5": {
  21672. "description": "附件5",
  21673. "type": "string"
  21674. },
  21675. "auditedby": {
  21676. "description": "审核人",
  21677. "type": "string"
  21678. },
  21679. "auditime": {
  21680. "description": "审核时间",
  21681. "type": "string"
  21682. },
  21683. "auditsrc": {
  21684. "description": "审核来源 - 1:管理端 2:终端",
  21685. "type": "integer"
  21686. },
  21687. "bankaccount": {
  21688. "description": "银行帐号 (加密存储)",
  21689. "type": "string"
  21690. },
  21691. "bankaccountname": {
  21692. "description": "收款人名称",
  21693. "type": "string"
  21694. },
  21695. "bankcardbackphotourl": {
  21696. "description": "银行卡背面照地址",
  21697. "type": "string"
  21698. },
  21699. "bankcardfrontphotourl": {
  21700. "description": "银行卡正面照地址",
  21701. "type": "string"
  21702. },
  21703. "bankid": {
  21704. "description": "银行编码",
  21705. "type": "string"
  21706. },
  21707. "bankname": {
  21708. "description": "银行名称",
  21709. "type": "string"
  21710. },
  21711. "bankpictureurl": {
  21712. "description": "银行卡正面地址",
  21713. "type": "string"
  21714. },
  21715. "biznature": {
  21716. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21717. "type": "integer"
  21718. },
  21719. "bizscope": {
  21720. "description": "企业经营范围(企业)",
  21721. "type": "string"
  21722. },
  21723. "biztype": {
  21724. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21725. "type": "integer"
  21726. },
  21727. "brokerid": {
  21728. "description": "经纪人ID(加密存储)",
  21729. "type": "string"
  21730. },
  21731. "cardaddress": {
  21732. "description": "证件地址 (加密存储)",
  21733. "type": "string"
  21734. },
  21735. "cardbackphotourl": {
  21736. "description": "背面证件照地址",
  21737. "type": "string"
  21738. },
  21739. "cardfrontphotourl": {
  21740. "description": "正面证件照地址",
  21741. "type": "string"
  21742. },
  21743. "cardnum": {
  21744. "description": "证件号码 (加密存储)",
  21745. "type": "string"
  21746. },
  21747. "cardtype": {
  21748. "description": "证件类型",
  21749. "type": "integer"
  21750. },
  21751. "cityid": {
  21752. "description": "市",
  21753. "type": "integer"
  21754. },
  21755. "company": {
  21756. "description": "公司(个人)",
  21757. "type": "string"
  21758. },
  21759. "contactcardbackphotourl": {
  21760. "description": "联系人证件背面图片地址",
  21761. "type": "string"
  21762. },
  21763. "contactcardfrontphotourl": {
  21764. "description": "联系人证件正面图片地址",
  21765. "type": "string"
  21766. },
  21767. "contactname": {
  21768. "description": "联系人",
  21769. "type": "string"
  21770. },
  21771. "countryid": {
  21772. "description": "国家",
  21773. "type": "integer"
  21774. },
  21775. "createtime": {
  21776. "description": "开户申请时间",
  21777. "type": "string"
  21778. },
  21779. "cusbankid": {
  21780. "description": "签约类型",
  21781. "type": "string"
  21782. },
  21783. "cusbankname": {
  21784. "description": "签约类型名称",
  21785. "type": "string"
  21786. },
  21787. "customername": {
  21788. "description": "客户名称(企业名称)",
  21789. "type": "string"
  21790. },
  21791. "districtid": {
  21792. "description": "地区",
  21793. "type": "integer"
  21794. },
  21795. "email": {
  21796. "description": "Email地址(加密存储)",
  21797. "type": "string"
  21798. },
  21799. "halfbodyphotourl": {
  21800. "description": "半身照地址",
  21801. "type": "string"
  21802. },
  21803. "headurl": {
  21804. "description": "头像地址",
  21805. "type": "string"
  21806. },
  21807. "ipaddress": {
  21808. "description": "IP地址",
  21809. "type": "string"
  21810. },
  21811. "isvalidate": {
  21812. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21813. "type": "string"
  21814. },
  21815. "legalcardbackphotourl": {
  21816. "description": "法人身份证背面照地址",
  21817. "type": "string"
  21818. },
  21819. "legalcardfrontphotourl": {
  21820. "description": "法人身份证正面照地址",
  21821. "type": "string"
  21822. },
  21823. "legalpersonname": {
  21824. "description": "法人姓名(企业)",
  21825. "type": "string"
  21826. },
  21827. "logincode": {
  21828. "description": "登录帐号 (加密存储)",
  21829. "type": "string"
  21830. },
  21831. "memberareaid": {
  21832. "description": "所属会员ID",
  21833. "type": "integer"
  21834. },
  21835. "mobile2": {
  21836. "description": "手机号码[明文-尚志]",
  21837. "type": "string"
  21838. },
  21839. "mobilephone": {
  21840. "description": "手机号码 (加密存储)",
  21841. "type": "string"
  21842. },
  21843. "modifiedby": {
  21844. "description": "修改人帐号",
  21845. "type": "integer"
  21846. },
  21847. "modifiedtime": {
  21848. "description": "修改时间",
  21849. "type": "string"
  21850. },
  21851. "nickname": {
  21852. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21853. "type": "string"
  21854. },
  21855. "openmode": {
  21856. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21857. "type": "integer"
  21858. },
  21859. "otherurl": {
  21860. "description": "其它图片地址[使用分号分隔]",
  21861. "type": "string"
  21862. },
  21863. "postalcode": {
  21864. "description": "邮政编码",
  21865. "type": "string"
  21866. },
  21867. "provinceid": {
  21868. "description": "省",
  21869. "type": "integer"
  21870. },
  21871. "proxystatementurl": {
  21872. "description": "授权委托书",
  21873. "type": "string"
  21874. },
  21875. "qq": {
  21876. "description": "QQ(加密存储",
  21877. "type": "string"
  21878. },
  21879. "referral": {
  21880. "description": "推荐人编码",
  21881. "type": "string"
  21882. },
  21883. "remark": {
  21884. "description": "备注",
  21885. "type": "string"
  21886. },
  21887. "removebeforestatus": {
  21888. "description": "REMOVEBEFORESTATUS",
  21889. "type": "integer"
  21890. },
  21891. "sex": {
  21892. "description": "性别 - 0:女 1:男",
  21893. "type": "integer"
  21894. },
  21895. "signedstatus": {
  21896. "description": "账户一号签签约状态",
  21897. "type": "integer"
  21898. },
  21899. "signpdfurl": {
  21900. "description": "签约pdf文件",
  21901. "type": "string"
  21902. },
  21903. "subbranch": {
  21904. "description": "开户支行",
  21905. "type": "string"
  21906. },
  21907. "taxpayernum": {
  21908. "description": "纳税人识别号",
  21909. "type": "string"
  21910. },
  21911. "telphone": {
  21912. "description": "联系电话(加密存储)",
  21913. "type": "string"
  21914. },
  21915. "userid": {
  21916. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21917. "type": "integer"
  21918. },
  21919. "userinfotype": {
  21920. "description": "用户信息类型 - 1:个人 2:企业",
  21921. "type": "integer"
  21922. },
  21923. "username": {
  21924. "description": "用户姓名",
  21925. "type": "string"
  21926. },
  21927. "userstate": {
  21928. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21929. "type": "integer"
  21930. },
  21931. "usertype": {
  21932. "description": "用户类型 - 1:投资者 2:机构",
  21933. "type": "integer"
  21934. },
  21935. "videourl": {
  21936. "description": "视频地址",
  21937. "type": "string"
  21938. },
  21939. "wechat": {
  21940. "description": "微信号 (加密存储)",
  21941. "type": "string"
  21942. }
  21943. }
  21944. },
  21945. "erms3.QryAuditContractRsp": {
  21946. "type": "object",
  21947. "required": [
  21948. "matchcustomername",
  21949. "spotcontractid"
  21950. ],
  21951. "properties": {
  21952. "accountid": {
  21953. "description": "交易员ID",
  21954. "type": "string"
  21955. },
  21956. "applystatus": {
  21957. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21958. "type": "integer"
  21959. },
  21960. "curdeliveryqty": {
  21961. "description": "未交收量",
  21962. "type": "integer"
  21963. },
  21964. "customername": {
  21965. "description": "采购方ID",
  21966. "type": "string"
  21967. },
  21968. "deliverygoodsid": {
  21969. "description": "品种ID",
  21970. "type": "string"
  21971. },
  21972. "deliveryqty": {
  21973. "description": "交收量",
  21974. "type": "integer"
  21975. },
  21976. "enumdicname": {
  21977. "description": "单位名称",
  21978. "type": "string"
  21979. },
  21980. "matchaccountid": {
  21981. "description": "业务员ID",
  21982. "type": "string"
  21983. },
  21984. "matchcustomername": {
  21985. "description": "销售方ID",
  21986. "type": "string"
  21987. },
  21988. "pricedqty": {
  21989. "description": "定价量",
  21990. "type": "number"
  21991. },
  21992. "signdate": {
  21993. "description": "签订日期",
  21994. "type": "string"
  21995. },
  21996. "spotcontractid": {
  21997. "description": "合同ID",
  21998. "type": "string"
  21999. },
  22000. "totaldqty": {
  22001. "description": "合同量",
  22002. "type": "number"
  22003. },
  22004. "unpricedqty": {
  22005. "description": "未定价量",
  22006. "type": "number"
  22007. },
  22008. "wrstandardname": {
  22009. "description": "商品名称",
  22010. "type": "string"
  22011. }
  22012. }
  22013. },
  22014. "erms3.QryPendingBizRsp": {
  22015. "type": "object",
  22016. "properties": {
  22017. "accountid": {
  22018. "description": "现货账户",
  22019. "type": "string"
  22020. },
  22021. "areaname": {
  22022. "description": "所属部门",
  22023. "type": "string"
  22024. },
  22025. "bizid": {
  22026. "description": "业务ID",
  22027. "type": "string"
  22028. },
  22029. "bizname": {
  22030. "description": "业务名称",
  22031. "type": "string"
  22032. },
  22033. "status": {
  22034. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22035. "type": "integer"
  22036. },
  22037. "type": {
  22038. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22039. "type": "integer"
  22040. }
  22041. }
  22042. },
  22043. "erms3.QueryBusinessInfoRsp": {
  22044. "type": "object",
  22045. "properties": {
  22046. "businessid": {
  22047. "description": "业务ID.",
  22048. "type": "integer"
  22049. },
  22050. "buyamount": {
  22051. "description": "采购额.",
  22052. "type": "number"
  22053. },
  22054. "buyqty": {
  22055. "description": "采购量.",
  22056. "type": "string"
  22057. },
  22058. "futurepl": {
  22059. "description": "期货盈亏.",
  22060. "type": "number"
  22061. },
  22062. "futureqty": {
  22063. "description": "期货敞口.",
  22064. "type": "string"
  22065. },
  22066. "goodsid": {
  22067. "description": "商品名称/商品代码.",
  22068. "type": "string"
  22069. },
  22070. "hedgingqty": {
  22071. "description": "套保量.",
  22072. "type": "string"
  22073. },
  22074. "sellamount": {
  22075. "description": "销售额.",
  22076. "type": "number"
  22077. },
  22078. "sellqty": {
  22079. "description": "销售量.",
  22080. "type": "string"
  22081. },
  22082. "spotmarketvalue": {
  22083. "description": "现货市值.",
  22084. "type": "number"
  22085. },
  22086. "spotpl": {
  22087. "description": "浮动权益.",
  22088. "type": "number"
  22089. },
  22090. "spotqty": {
  22091. "description": "现货量.",
  22092. "type": "string"
  22093. },
  22094. "statu": {
  22095. "description": "状态,0-未结束 1-已结束.",
  22096. "type": "integer"
  22097. },
  22098. "totalpl": {
  22099. "description": "总盈亏.",
  22100. "type": "number"
  22101. },
  22102. "totalqty": {
  22103. "description": "总敞口.",
  22104. "type": "string"
  22105. },
  22106. "type": {
  22107. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  22108. "type": "integer"
  22109. }
  22110. }
  22111. },
  22112. "erms3.QuerySpotContractAppleFormRsp": {
  22113. "type": "object",
  22114. "properties": {
  22115. "goodses": {
  22116. "description": "合约列表",
  22117. "type": "array",
  22118. "items": {
  22119. "$ref": "#/definitions/models.GoodsIDAndName"
  22120. }
  22121. },
  22122. "oppositeusers": {
  22123. "description": "对方账号列表",
  22124. "type": "array",
  22125. "items": {
  22126. "$ref": "#/definitions/erms3.CustomerInfo"
  22127. }
  22128. },
  22129. "ouruser": {
  22130. "description": "我方账号",
  22131. "$ref": "#/definitions/erms3.CustomerInfo"
  22132. },
  22133. "warehouseinfos": {
  22134. "description": "仓库信息列表",
  22135. "type": "array",
  22136. "items": {
  22137. "$ref": "#/definitions/models.Warehouseinfo"
  22138. }
  22139. },
  22140. "wrstandards": {
  22141. "description": "仓单标准列表",
  22142. "type": "array",
  22143. "items": {
  22144. "$ref": "#/definitions/models.WRStandardInfo"
  22145. }
  22146. }
  22147. }
  22148. },
  22149. "erms3.QuerySpotContractInfoRsp": {
  22150. "type": "object",
  22151. "properties": {
  22152. "accountid": {
  22153. "description": "表示交易员ID.",
  22154. "type": "integer"
  22155. },
  22156. "curdeliveryqty": {
  22157. "description": "表示未交收量.",
  22158. "type": "number"
  22159. },
  22160. "customername": {
  22161. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  22162. "type": "string"
  22163. },
  22164. "deliverygoodsid": {
  22165. "description": "表示品种ID.",
  22166. "type": "string"
  22167. },
  22168. "deliveryqty": {
  22169. "description": "表示交收量.",
  22170. "type": "number"
  22171. },
  22172. "matchaccountid": {
  22173. "description": "表示业务员ID.",
  22174. "type": "integer"
  22175. },
  22176. "matchcustomername": {
  22177. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  22178. "type": "string"
  22179. },
  22180. "priceqty": {
  22181. "description": "表示定价量.",
  22182. "type": "number"
  22183. },
  22184. "relatedbizid": {
  22185. "description": "表示业务ID.",
  22186. "type": "string"
  22187. },
  22188. "signdate": {
  22189. "description": "表示签订日期.",
  22190. "type": "string"
  22191. },
  22192. "spotcontractid": {
  22193. "description": "合同ID",
  22194. "type": "string"
  22195. },
  22196. "status": {
  22197. "description": "表示状态,0-履约中 1-已完成.",
  22198. "type": "integer"
  22199. },
  22200. "totalqty": {
  22201. "description": "表示合同量.",
  22202. "type": "number"
  22203. },
  22204. "unpricedqty": {
  22205. "description": "表示未定价量.",
  22206. "type": "number"
  22207. },
  22208. "wrstandardname": {
  22209. "description": "表示商品ID.",
  22210. "type": "string"
  22211. }
  22212. }
  22213. },
  22214. "erms3.QueryUserInfoAppliesRsp": {
  22215. "type": "object",
  22216. "required": [
  22217. "userid"
  22218. ],
  22219. "properties": {
  22220. "biznature": {
  22221. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22222. "type": "integer"
  22223. },
  22224. "contactname": {
  22225. "description": "联系人",
  22226. "type": "string"
  22227. },
  22228. "createtime": {
  22229. "description": "开户申请时间",
  22230. "type": "string"
  22231. },
  22232. "userid": {
  22233. "description": "用户ID(自增ID)",
  22234. "type": "integer"
  22235. },
  22236. "userinfotype": {
  22237. "description": "用户信息类型 - 1:个人 2:企业",
  22238. "type": "integer"
  22239. },
  22240. "username": {
  22241. "description": "用户姓名",
  22242. "type": "string"
  22243. },
  22244. "userstate": {
  22245. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  22246. "type": "integer"
  22247. }
  22248. }
  22249. },
  22250. "erms3.QueryUserInfosRsp": {
  22251. "type": "object",
  22252. "required": [
  22253. "userid"
  22254. ],
  22255. "properties": {
  22256. "biznature": {
  22257. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22258. "type": "integer"
  22259. },
  22260. "contactname": {
  22261. "description": "联系人",
  22262. "type": "string"
  22263. },
  22264. "customername": {
  22265. "description": "客户名称(企业名称)",
  22266. "type": "string"
  22267. },
  22268. "userid": {
  22269. "description": "用户ID",
  22270. "type": "integer"
  22271. },
  22272. "userinfotype": {
  22273. "description": "用户信息类型 - 1:个人 2:企业",
  22274. "type": "integer"
  22275. },
  22276. "userstatus": {
  22277. "description": "用户状态 - 1:正常 2:注销",
  22278. "type": "integer"
  22279. }
  22280. }
  22281. },
  22282. "erms3.SoptContractDetail": {
  22283. "type": "object",
  22284. "required": [
  22285. "deliverygoodsid",
  22286. "producttype",
  22287. "unitname",
  22288. "warehouseid",
  22289. "wrstandardid",
  22290. "wrstandardname"
  22291. ],
  22292. "properties": {
  22293. "deliverygoodsdesc": {
  22294. "description": "现货品种说明",
  22295. "type": "string"
  22296. },
  22297. "deliverygoodsid": {
  22298. "description": "现货品种ID",
  22299. "type": "integer"
  22300. },
  22301. "deliverygoodsname": {
  22302. "description": "现货品种名称",
  22303. "type": "string"
  22304. },
  22305. "pointdesc": {
  22306. "description": "点价描述",
  22307. "type": "string"
  22308. },
  22309. "producttype": {
  22310. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  22311. "type": "integer"
  22312. },
  22313. "producttypename": {
  22314. "description": "产品类型名称",
  22315. "type": "string"
  22316. },
  22317. "spotPointOrderVoList": {
  22318. "description": "点价列表",
  22319. "type": "array",
  22320. "items": {
  22321. "$ref": "#/definitions/erms3.SpotPointOrder"
  22322. }
  22323. },
  22324. "spotPriceOrderList": {
  22325. "description": "定价列表",
  22326. "type": "array",
  22327. "items": {
  22328. "$ref": "#/definitions/erms3.SpotPriceOrder"
  22329. }
  22330. },
  22331. "unitname": {
  22332. "description": "单位名称",
  22333. "type": "string"
  22334. },
  22335. "warehouseid": {
  22336. "description": "仓库ID",
  22337. "type": "integer"
  22338. },
  22339. "warehousename": {
  22340. "description": "仓库名称",
  22341. "type": "string"
  22342. },
  22343. "wrstandardid": {
  22344. "description": "交易标的ID",
  22345. "type": "integer"
  22346. },
  22347. "wrstandardname": {
  22348. "description": "交易标的名称",
  22349. "type": "string"
  22350. }
  22351. }
  22352. },
  22353. "erms3.SpotPointOrder": {
  22354. "type": "object",
  22355. "required": [
  22356. "basic",
  22357. "goodsid",
  22358. "qty"
  22359. ],
  22360. "properties": {
  22361. "basic": {
  22362. "description": "基差",
  22363. "type": "number"
  22364. },
  22365. "deliveryenddate": {
  22366. "description": "交收结束日期",
  22367. "type": "string"
  22368. },
  22369. "deliverystartdate": {
  22370. "description": "交收开始日期",
  22371. "type": "string"
  22372. },
  22373. "enddate": {
  22374. "description": "点价结束日期",
  22375. "type": "string"
  22376. },
  22377. "goodsid": {
  22378. "description": "商品ID",
  22379. "type": "integer"
  22380. },
  22381. "goodsname": {
  22382. "description": "商品名称",
  22383. "type": "string"
  22384. },
  22385. "qty": {
  22386. "description": "数量",
  22387. "type": "number"
  22388. },
  22389. "startdate": {
  22390. "description": "点价开始日期",
  22391. "type": "string"
  22392. }
  22393. }
  22394. },
  22395. "erms3.SpotPriceOrder": {
  22396. "type": "object",
  22397. "required": [
  22398. "amount",
  22399. "price",
  22400. "qty"
  22401. ],
  22402. "properties": {
  22403. "amount": {
  22404. "description": "金额",
  22405. "type": "number"
  22406. },
  22407. "deliveryenddate": {
  22408. "description": "交收结束日期",
  22409. "type": "string"
  22410. },
  22411. "deliverystartdate": {
  22412. "description": "交收开始日期",
  22413. "type": "string"
  22414. },
  22415. "price": {
  22416. "description": "价格",
  22417. "type": "number"
  22418. },
  22419. "qty": {
  22420. "description": "数量",
  22421. "type": "number"
  22422. }
  22423. }
  22424. },
  22425. "models.Arearole": {
  22426. "type": "object",
  22427. "required": [
  22428. "roletype",
  22429. "userid"
  22430. ],
  22431. "properties": {
  22432. "createtime": {
  22433. "description": "创建时间",
  22434. "type": "string"
  22435. },
  22436. "creatorid": {
  22437. "description": "创建人ID",
  22438. "type": "integer"
  22439. },
  22440. "fromuserid": {
  22441. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22442. "type": "integer"
  22443. },
  22444. "isreturnscore": {
  22445. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  22446. "type": "integer"
  22447. },
  22448. "modifierid": {
  22449. "description": "修改人ID",
  22450. "type": "integer"
  22451. },
  22452. "modifytime": {
  22453. "description": "修改时间",
  22454. "type": "string"
  22455. },
  22456. "orgtype": {
  22457. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  22458. "type": "integer"
  22459. },
  22460. "outuserid": {
  22461. "description": "外部账户[场外期权做市商]",
  22462. "type": "string"
  22463. },
  22464. "parentuserid": {
  22465. "description": "上级组织机构(组织机构)",
  22466. "type": "integer"
  22467. },
  22468. "roletype": {
  22469. "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:门店",
  22470. "type": "integer"
  22471. },
  22472. "rootuserid": {
  22473. "description": "顶级组织机构用户ID(组织机构)",
  22474. "type": "integer"
  22475. },
  22476. "shoppassword": {
  22477. "description": "商城店铺登陆密码(商城店铺角色使用)",
  22478. "type": "string"
  22479. },
  22480. "sublevelpath": {
  22481. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  22482. "type": "string"
  22483. },
  22484. "suborgtype": {
  22485. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22486. "type": "integer"
  22487. },
  22488. "tradeaccountid": {
  22489. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  22490. "type": "integer"
  22491. },
  22492. "transurl": {
  22493. "description": "物流地址(物流机构)",
  22494. "type": "string"
  22495. },
  22496. "userid": {
  22497. "description": "机构用户ID其他做市关系,都设置为 1",
  22498. "type": "integer"
  22499. }
  22500. }
  22501. },
  22502. "models.BuyOrder": {
  22503. "type": "object",
  22504. "properties": {
  22505. "accountid": {
  22506. "description": "资金账户ID",
  22507. "type": "integer"
  22508. },
  22509. "buyusername": {
  22510. "description": "买方",
  22511. "type": "string"
  22512. },
  22513. "marketid": {
  22514. "description": "市场ID",
  22515. "type": "integer"
  22516. },
  22517. "ordertime": {
  22518. "description": "委托时间",
  22519. "type": "string"
  22520. },
  22521. "origin": {
  22522. "description": "原产地",
  22523. "type": "string"
  22524. },
  22525. "performancetemplateid": {
  22526. "description": "履约计划模板ID",
  22527. "type": "integer"
  22528. },
  22529. "remark": {
  22530. "description": "备注",
  22531. "type": "string"
  22532. },
  22533. "userid": {
  22534. "description": "用户ID",
  22535. "type": "integer"
  22536. },
  22537. "validtime": {
  22538. "description": "有效期限",
  22539. "type": "string"
  22540. },
  22541. "warehouseids": {
  22542. "description": "仓库ID - 多个, 逗号分隔",
  22543. "type": "string"
  22544. },
  22545. "warehouseinfosdisplay": {
  22546. "type": "string"
  22547. },
  22548. "wrtradeorderid": {
  22549. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  22550. "type": "string"
  22551. },
  22552. "wrtradeorderstatus": {
  22553. "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、",
  22554. "type": "integer"
  22555. },
  22556. "zscategory": {
  22557. "description": "钻石分类 - 枚举”ZSCategory“",
  22558. "type": "integer"
  22559. },
  22560. "zscategorydisplay": {
  22561. "type": "string"
  22562. },
  22563. "zsclaritytype": {
  22564. "description": "净度 - 两个, 逗号分隔",
  22565. "type": "string"
  22566. },
  22567. "zsclaritytypedisplay": {
  22568. "type": "string"
  22569. },
  22570. "zscolortype": {
  22571. "description": "颜色 - 两个, 逗号分隔",
  22572. "type": "string"
  22573. },
  22574. "zscolortypedisplay": {
  22575. "type": "string"
  22576. },
  22577. "zscrystaltype": {
  22578. "description": "晶型 - 多个,逗号分隔",
  22579. "type": "string"
  22580. },
  22581. "zscrystaltypedisplay": {
  22582. "type": "string"
  22583. },
  22584. "zscurrencytype": {
  22585. "description": "货币类型 - 多个, 逗号分隔",
  22586. "type": "string"
  22587. },
  22588. "zscurrencytypedisplay": {
  22589. "type": "string"
  22590. },
  22591. "zscuttype": {
  22592. "description": "切工 - 两个, 逗号分隔",
  22593. "type": "string"
  22594. },
  22595. "zscuttypedisplay": {
  22596. "type": "string"
  22597. },
  22598. "zsczcolor1type": {
  22599. "description": "彩钻颜色1, 逗号分隔",
  22600. "type": "string"
  22601. },
  22602. "zsczcolor1typedisplay": {
  22603. "type": "string"
  22604. },
  22605. "zsczcolor2type": {
  22606. "description": "彩钻颜色2, 逗号分隔",
  22607. "type": "string"
  22608. },
  22609. "zsczcolor2typedisplay": {
  22610. "type": "string"
  22611. },
  22612. "zsczcolor3type": {
  22613. "description": "彩钻颜色3, 逗号分隔",
  22614. "type": "string"
  22615. },
  22616. "zsczcolor3typedisplay": {
  22617. "type": "string"
  22618. },
  22619. "zsfluorescencetype": {
  22620. "description": "荧光 - 多个, 逗号分隔",
  22621. "type": "string"
  22622. },
  22623. "zsfluorescencetypedisplay": {
  22624. "type": "string"
  22625. },
  22626. "zspolishtype": {
  22627. "description": "抛光度 - 两个, 逗号分隔",
  22628. "type": "string"
  22629. },
  22630. "zspolishtypedisplay": {
  22631. "type": "string"
  22632. },
  22633. "zsshapetype": {
  22634. "description": "形状 - 多个, 逗号分隔",
  22635. "type": "string"
  22636. },
  22637. "zsshapetypedisplay": {
  22638. "type": "string"
  22639. },
  22640. "zssize": {
  22641. "description": "尺寸 - 两个小数, 逗号分隔",
  22642. "type": "string"
  22643. },
  22644. "zsstyletype": {
  22645. "description": "款式 - 多个, 逗号分隔",
  22646. "type": "string"
  22647. },
  22648. "zsstyletypedisplay": {
  22649. "type": "string"
  22650. },
  22651. "zssymmetrytype": {
  22652. "description": "对称度 - 两个, 逗号分隔",
  22653. "type": "string"
  22654. },
  22655. "zssymmetrytypedisplay": {
  22656. "type": "string"
  22657. },
  22658. "zstabledisplay": {
  22659. "description": "求购信息",
  22660. "type": "string"
  22661. }
  22662. }
  22663. },
  22664. "models.DgFactoryItem": {
  22665. "type": "object",
  22666. "properties": {
  22667. "dgfactoryitemid": {
  22668. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22669. "type": "integer"
  22670. },
  22671. "dgfactoryitemtypeid": {
  22672. "description": "要素项类型",
  22673. "type": "integer"
  22674. },
  22675. "dgfactoryitemvalue": {
  22676. "description": "要素项值(类型为仓库时填写仓库名称)",
  22677. "type": "string"
  22678. },
  22679. "orderindex": {
  22680. "description": "顺序",
  22681. "type": "integer"
  22682. }
  22683. }
  22684. },
  22685. "models.Division": {
  22686. "type": "object",
  22687. "required": [
  22688. "autoid",
  22689. "divisioncode"
  22690. ],
  22691. "properties": {
  22692. "autoid": {
  22693. "description": "自增ID",
  22694. "type": "integer"
  22695. },
  22696. "divisioncode": {
  22697. "description": "行政代码",
  22698. "type": "string"
  22699. },
  22700. "divisionlevel": {
  22701. "description": "行政级别",
  22702. "type": "string"
  22703. },
  22704. "divisionname": {
  22705. "description": "行政名称",
  22706. "type": "string"
  22707. },
  22708. "modifierid": {
  22709. "description": "修改人",
  22710. "type": "integer"
  22711. },
  22712. "modifytime": {
  22713. "description": "修改时间",
  22714. "type": "string"
  22715. },
  22716. "parentcode": {
  22717. "description": "上级行政代码",
  22718. "type": "string"
  22719. },
  22720. "pathname": {
  22721. "description": "路径名称",
  22722. "type": "string"
  22723. },
  22724. "postcode": {
  22725. "description": "邮政编码",
  22726. "type": "string"
  22727. },
  22728. "separablename": {
  22729. "description": "可拆分的全称",
  22730. "type": "string"
  22731. },
  22732. "shortcode": {
  22733. "description": "地区简码",
  22734. "type": "string"
  22735. }
  22736. }
  22737. },
  22738. "models.Enumdicitem": {
  22739. "type": "object",
  22740. "required": [
  22741. "autoid",
  22742. "enumdiccode",
  22743. "enumdicid",
  22744. "enumitemname"
  22745. ],
  22746. "properties": {
  22747. "autoid": {
  22748. "description": "自增ID",
  22749. "type": "integer"
  22750. },
  22751. "bankmappedvalue": {
  22752. "description": "银行服务对应值",
  22753. "type": "string"
  22754. },
  22755. "enumdiccode": {
  22756. "description": "所属枚举代码",
  22757. "type": "string"
  22758. },
  22759. "enumdicid": {
  22760. "description": "所属枚举ID",
  22761. "type": "integer"
  22762. },
  22763. "enumdicname": {
  22764. "description": "枚举项名称",
  22765. "type": "string"
  22766. },
  22767. "enumitemname": {
  22768. "description": "枚举项值",
  22769. "type": "integer"
  22770. },
  22771. "enumitemstatus": {
  22772. "description": "枚举项状态 - 1.启用 2.不启用",
  22773. "type": "integer"
  22774. },
  22775. "enumitemvalue": {
  22776. "description": "通用值 - [币种通用简写]",
  22777. "type": "string"
  22778. },
  22779. "param1": {
  22780. "description": "参数1[币种:币种小数位]",
  22781. "type": "string"
  22782. },
  22783. "param2": {
  22784. "description": "参数1[币种:币种显示单位]",
  22785. "type": "string"
  22786. },
  22787. "remark": {
  22788. "description": "备注",
  22789. "type": "string"
  22790. }
  22791. }
  22792. },
  22793. "models.Ermcp2AreaExposure": {
  22794. "type": "object",
  22795. "properties": {
  22796. "areauserid": {
  22797. "description": "所属机构",
  22798. "type": "integer"
  22799. },
  22800. "enumdicname": {
  22801. "description": "单位",
  22802. "type": "string"
  22803. },
  22804. "futureqty": {
  22805. "description": "期货套期量",
  22806. "type": "number"
  22807. },
  22808. "futureqtychange": {
  22809. "description": "期货变动量 = FutureQty - OriFutureQty",
  22810. "type": "number"
  22811. },
  22812. "goodsunitid": {
  22813. "description": "单位ID",
  22814. "type": "integer"
  22815. },
  22816. "hedgedspotexposure": {
  22817. "description": "被套期现货敞口量",
  22818. "type": "number"
  22819. },
  22820. "hedgedspratio": {
  22821. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  22822. "type": "number"
  22823. },
  22824. "hedgedtotalexposourechange": {
  22825. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  22826. "type": "number"
  22827. },
  22828. "hedgedtotalexposure": {
  22829. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  22830. "type": "number"
  22831. },
  22832. "hedgeplanqty": {
  22833. "description": "套期计划量",
  22834. "type": "number"
  22835. },
  22836. "hedgeplanqtychange": {
  22837. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  22838. "type": "number"
  22839. },
  22840. "hedgespotqty": {
  22841. "description": "被套期现货量",
  22842. "type": "number"
  22843. },
  22844. "middlegoodsid": {
  22845. "description": "套保品种",
  22846. "type": "integer"
  22847. },
  22848. "middlegoodsname": {
  22849. "description": "套保品种名称",
  22850. "type": "string"
  22851. },
  22852. "orifutureqty": {
  22853. "description": "期初期货套期量",
  22854. "type": "number"
  22855. },
  22856. "orihedgedspotexposure": {
  22857. "description": "期初被套期现货敞口量",
  22858. "type": "number"
  22859. },
  22860. "orihedgedtotalexposure": {
  22861. "description": "期初套期敞口量",
  22862. "type": "number"
  22863. },
  22864. "orihedgeplanqty": {
  22865. "description": "期初套期计划量",
  22866. "type": "number"
  22867. },
  22868. "orihedgespotqty": {
  22869. "description": "期初被套期现货量",
  22870. "type": "number"
  22871. },
  22872. "orispotexposure": {
  22873. "description": "期初现货敞口量",
  22874. "type": "number"
  22875. },
  22876. "orispotqty": {
  22877. "description": "期初现货总量",
  22878. "type": "number"
  22879. },
  22880. "oritotalexposure": {
  22881. "description": "期初总敞口量",
  22882. "type": "number"
  22883. },
  22884. "spotexposure": {
  22885. "description": "现货敞口量",
  22886. "type": "number"
  22887. },
  22888. "spotqty": {
  22889. "description": "现货总量",
  22890. "type": "number"
  22891. },
  22892. "spotqtychange": {
  22893. "description": "现货变动量 = SpotQty - OriSpotQty",
  22894. "type": "number"
  22895. },
  22896. "spratio": {
  22897. "description": "总期现比例 = 期货套期量/现货敞口量",
  22898. "type": "number"
  22899. },
  22900. "totalexposure": {
  22901. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22902. "type": "number"
  22903. },
  22904. "totalexposurechange": {
  22905. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22906. "type": "number"
  22907. },
  22908. "updatetime": {
  22909. "description": "更新时间 --DATE",
  22910. "type": "string"
  22911. }
  22912. }
  22913. },
  22914. "models.Ermcp2hedgeditem": {
  22915. "type": "object",
  22916. "properties": {
  22917. "accountname": {
  22918. "description": "套期主体",
  22919. "type": "string"
  22920. },
  22921. "applyid": {
  22922. "description": "申请人",
  22923. "type": "integer"
  22924. },
  22925. "applysrc": {
  22926. "description": "申请来源 - 1:管理端 2:终端",
  22927. "type": "integer"
  22928. },
  22929. "areauserid": {
  22930. "description": "企业ID",
  22931. "type": "integer"
  22932. },
  22933. "auditid": {
  22934. "description": "审核人",
  22935. "type": "integer"
  22936. },
  22937. "auditremark": {
  22938. "description": "审核备注",
  22939. "type": "string"
  22940. },
  22941. "auditsrc": {
  22942. "description": "审核来源 - 1:管理端 2:终端",
  22943. "type": "integer"
  22944. },
  22945. "audittime": {
  22946. "description": "审核时间",
  22947. "type": "string"
  22948. },
  22949. "audittradedate": {
  22950. "description": "审核交易日(yyyyMMdd)",
  22951. "type": "string"
  22952. },
  22953. "createtime": {
  22954. "description": "申请时间",
  22955. "type": "string"
  22956. },
  22957. "curprice": {
  22958. "description": "当前市场价",
  22959. "type": "number"
  22960. },
  22961. "curstock": {
  22962. "description": "期末库存量 = 采购总量 - 销售总量",
  22963. "type": "number"
  22964. },
  22965. "deliverygoodsid": {
  22966. "description": "现货品种ID",
  22967. "type": "integer"
  22968. },
  22969. "enddate": {
  22970. "description": "完成日期",
  22971. "type": "string"
  22972. },
  22973. "endtradedate": {
  22974. "description": "完成交易日",
  22975. "type": "string"
  22976. },
  22977. "enumdicname": {
  22978. "description": "单位",
  22979. "type": "string"
  22980. },
  22981. "exeamount": {
  22982. "description": "执行市价总额",
  22983. "type": "number"
  22984. },
  22985. "exeavgprice": {
  22986. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22987. "type": "number"
  22988. },
  22989. "execontractamount": {
  22990. "description": "执行定价总额",
  22991. "type": "number"
  22992. },
  22993. "exeqty": {
  22994. "description": "执行现货量",
  22995. "type": "number"
  22996. },
  22997. "exerestamount": {
  22998. "description": "执行剩余市价总额【现货贸易】",
  22999. "type": "number"
  23000. },
  23001. "futurefloatpl": {
  23002. "description": "期货浮动损益",
  23003. "type": "number"
  23004. },
  23005. "futurehedgepl": {
  23006. "description": "期货实际损益",
  23007. "type": "number"
  23008. },
  23009. "futurehedgeplchange": {
  23010. "description": "期货实际损益变动",
  23011. "type": "number"
  23012. },
  23013. "futurepl": {
  23014. "description": "期货套期损益",
  23015. "type": "number"
  23016. },
  23017. "futureplchange": {
  23018. "description": "期货套期损益变动",
  23019. "type": "number"
  23020. },
  23021. "hedgeamount": {
  23022. "description": "套期市价总额",
  23023. "type": "number"
  23024. },
  23025. "hedgecontractamount": {
  23026. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  23027. "type": "number"
  23028. },
  23029. "hedgeditemid": {
  23030. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23031. "type": "string"
  23032. },
  23033. "hedgeditemname": {
  23034. "description": "项目名称",
  23035. "type": "string"
  23036. },
  23037. "hedgeditemnum": {
  23038. "description": "项目编号",
  23039. "type": "string"
  23040. },
  23041. "hedgeditemstatus": {
  23042. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23043. "type": "integer"
  23044. },
  23045. "hedgedtype": {
  23046. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23047. "type": "integer"
  23048. },
  23049. "hedgeqty": {
  23050. "description": "套期现货量",
  23051. "type": "number"
  23052. },
  23053. "hedgerate": {
  23054. "description": "套保比率",
  23055. "type": "number"
  23056. },
  23057. "hedgerestamount": {
  23058. "description": "套期剩余市价总额【现货贸易】",
  23059. "type": "number"
  23060. },
  23061. "hedgesumpl": {
  23062. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  23063. "type": "number"
  23064. },
  23065. "middlegoodslist": {
  23066. "description": "套期商品列表",
  23067. "type": "array",
  23068. "items": {
  23069. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  23070. }
  23071. },
  23072. "oriavgprice": {
  23073. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  23074. "type": "number"
  23075. },
  23076. "orifuturehedgepl": {
  23077. "description": "期初期货实际损益",
  23078. "type": "number"
  23079. },
  23080. "orifuturepl": {
  23081. "description": "期初期货套期损益",
  23082. "type": "number"
  23083. },
  23084. "orispothedgepl": {
  23085. "description": "期初现货实际损益",
  23086. "type": "number"
  23087. },
  23088. "orispotpl": {
  23089. "description": "期初现货套期损益",
  23090. "type": "number"
  23091. },
  23092. "planenddate": {
  23093. "description": "计划结束日期",
  23094. "type": "string"
  23095. },
  23096. "planstartdate": {
  23097. "description": "计划开始日期",
  23098. "type": "string"
  23099. },
  23100. "remark": {
  23101. "description": "备注",
  23102. "type": "string"
  23103. },
  23104. "spotbookamount": {
  23105. "description": "现货账面总额",
  23106. "type": "number"
  23107. },
  23108. "spotfloatpl": {
  23109. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23110. "type": "number"
  23111. },
  23112. "spothedgepl": {
  23113. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23114. "type": "number"
  23115. },
  23116. "spothedgeplchange": {
  23117. "description": "现货实际损益变动",
  23118. "type": "number"
  23119. },
  23120. "spotpl": {
  23121. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23122. "type": "number"
  23123. },
  23124. "spotplchange": {
  23125. "description": "现货套期损益变动",
  23126. "type": "number"
  23127. },
  23128. "spottradepl": {
  23129. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  23130. "type": "number"
  23131. },
  23132. "sumobspl": {
  23133. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  23134. "type": "number"
  23135. },
  23136. "tradeuserid": {
  23137. "description": "交易用户ID",
  23138. "type": "integer"
  23139. },
  23140. "unexeqty": {
  23141. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23142. "type": "number"
  23143. },
  23144. "updatetime": {
  23145. "description": "更新时间",
  23146. "type": "string"
  23147. },
  23148. "vatpl": {
  23149. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  23150. "type": "number"
  23151. },
  23152. "vatrate": {
  23153. "description": "增值税",
  23154. "type": "number"
  23155. },
  23156. "wrstandardid": {
  23157. "description": "现货商品ID",
  23158. "type": "integer"
  23159. },
  23160. "wrstandardname": {
  23161. "description": "商品名称",
  23162. "type": "string"
  23163. }
  23164. }
  23165. },
  23166. "models.Ermcp2hedgeditemlink": {
  23167. "type": "object",
  23168. "required": [
  23169. "relatedspotcontractid"
  23170. ],
  23171. "properties": {
  23172. "areauserid": {
  23173. "description": "企业ID",
  23174. "type": "integer"
  23175. },
  23176. "createtime": {
  23177. "description": "[关联时间]创建时间",
  23178. "type": "string"
  23179. },
  23180. "customeruserid": {
  23181. "description": "对手方 【3:采购合同 4:销售合同】",
  23182. "type": "integer"
  23183. },
  23184. "deliverygoodsid": {
  23185. "description": "现货品种ID",
  23186. "type": "integer"
  23187. },
  23188. "enumdicname": {
  23189. "description": "单位",
  23190. "type": "string"
  23191. },
  23192. "hedgeditemid": {
  23193. "description": "被套期项目ID",
  23194. "type": "integer"
  23195. },
  23196. "hedgeditemlinkid": {
  23197. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  23198. "type": "integer"
  23199. },
  23200. "hedgeditemnum": {
  23201. "description": "项目编号",
  23202. "type": "string"
  23203. },
  23204. "hedgedtype": {
  23205. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23206. "type": "integer"
  23207. },
  23208. "relatedamount": {
  23209. "description": "市价总额 = 关联数量 * 期初市场价",
  23210. "type": "number"
  23211. },
  23212. "relatedhedgeplanid": {
  23213. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23214. "type": "integer"
  23215. },
  23216. "relatedqty": {
  23217. "description": "关联数量",
  23218. "type": "number"
  23219. },
  23220. "relatedspotcontractid": {
  23221. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23222. "type": "integer"
  23223. },
  23224. "relatedtype": {
  23225. "description": "关联类型 - 1:套期关联 2:执行关联",
  23226. "type": "integer"
  23227. },
  23228. "spotgoodsbrandid": {
  23229. "description": "现货品牌ID",
  23230. "type": "integer"
  23231. },
  23232. "spotpricedamount": {
  23233. "description": "[关联定价总额]定价总额",
  23234. "type": "number"
  23235. },
  23236. "spotpricedavgprice": {
  23237. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  23238. "type": "number"
  23239. },
  23240. "spottype": {
  23241. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23242. "type": "integer"
  23243. },
  23244. "tradeuserid": {
  23245. "description": "交易用户ID",
  23246. "type": "integer"
  23247. },
  23248. "unexeqty": {
  23249. "description": "未执行现货量【项目关联时值】",
  23250. "type": "number"
  23251. },
  23252. "wrstandardid": {
  23253. "description": "现货商品ID",
  23254. "type": "integer"
  23255. },
  23256. "wrstandardname": {
  23257. "description": "现货商品",
  23258. "type": "string"
  23259. }
  23260. }
  23261. },
  23262. "models.Ermcp2hedgeditemsDetail": {
  23263. "type": "object",
  23264. "properties": {
  23265. "accountname": {
  23266. "description": "套期主体",
  23267. "type": "string"
  23268. },
  23269. "areauserid": {
  23270. "description": "企业ID",
  23271. "type": "integer"
  23272. },
  23273. "createtime": {
  23274. "description": "[日期时间]创建时间",
  23275. "type": "string"
  23276. },
  23277. "customeruserid": {
  23278. "description": "对手方 【3:采购合同 4:销售合同】",
  23279. "type": "integer"
  23280. },
  23281. "deliverygoodsid": {
  23282. "description": "现货品种ID",
  23283. "type": "integer"
  23284. },
  23285. "enumdicname": {
  23286. "description": "单位",
  23287. "type": "string"
  23288. },
  23289. "hedgeditemid": {
  23290. "description": "被套期项目ID",
  23291. "type": "string"
  23292. },
  23293. "hedgeditemspotid": {
  23294. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23295. "type": "string"
  23296. },
  23297. "hedgedtype": {
  23298. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23299. "type": "integer"
  23300. },
  23301. "hedgeplanno": {
  23302. "description": "计划编号",
  23303. "type": "string"
  23304. },
  23305. "middlegoodschange": {
  23306. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  23307. "type": "number"
  23308. },
  23309. "oriavgprice": {
  23310. "description": "期初市场价[当初市场价]",
  23311. "type": "number"
  23312. },
  23313. "relatedamount": {
  23314. "description": "市价总额 = 关联数量 * 期初市场价",
  23315. "type": "number"
  23316. },
  23317. "relatedhedgeplanid": {
  23318. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23319. "type": "integer"
  23320. },
  23321. "relatedqty": {
  23322. "description": "[期间变化量]关联数量",
  23323. "type": "number"
  23324. },
  23325. "relatedspotcontractid": {
  23326. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23327. "type": "integer"
  23328. },
  23329. "relatedtype": {
  23330. "description": "关联类型 - 1:套期关联 2:执行关联",
  23331. "type": "integer"
  23332. },
  23333. "spotgoodsbrandid": {
  23334. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23335. "type": "integer"
  23336. },
  23337. "spotpricedamount": {
  23338. "description": "定价总额",
  23339. "type": "number"
  23340. },
  23341. "spotpricedavgprice": {
  23342. "description": "现货均价 = 定价总额 / 关联数量",
  23343. "type": "number"
  23344. },
  23345. "spottype": {
  23346. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23347. "type": "integer"
  23348. },
  23349. "tradeuserid": {
  23350. "description": "交易用户ID",
  23351. "type": "integer"
  23352. },
  23353. "unexeqty": {
  23354. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23355. "type": "number"
  23356. },
  23357. "wrstandardid": {
  23358. "description": "现货商品ID",
  23359. "type": "integer"
  23360. },
  23361. "wrstandardname": {
  23362. "description": "现货商品",
  23363. "type": "string"
  23364. }
  23365. }
  23366. },
  23367. "models.Ermcp2hedgeditemspot": {
  23368. "type": "object",
  23369. "required": [
  23370. "hedgeditemid"
  23371. ],
  23372. "properties": {
  23373. "areauserid": {
  23374. "description": "企业ID",
  23375. "type": "integer"
  23376. },
  23377. "createtime": {
  23378. "description": "创建时间",
  23379. "type": "string"
  23380. },
  23381. "customeruserid": {
  23382. "description": "对手方 【3:采购合同 4:销售合同】",
  23383. "type": "integer"
  23384. },
  23385. "deliverygoodsid": {
  23386. "description": "现货品种ID",
  23387. "type": "integer"
  23388. },
  23389. "enumdicname": {
  23390. "description": "单位",
  23391. "type": "string"
  23392. },
  23393. "hedgeditemid": {
  23394. "description": "被套期项目ID",
  23395. "type": "string"
  23396. },
  23397. "hedgeditemspotid": {
  23398. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23399. "type": "string"
  23400. },
  23401. "hedgedtype": {
  23402. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23403. "type": "integer"
  23404. },
  23405. "hedgeplanno": {
  23406. "description": "计划编号",
  23407. "type": "string"
  23408. },
  23409. "oriavgprice": {
  23410. "description": "期初市场价[当初市场价]",
  23411. "type": "number"
  23412. },
  23413. "relatedamount": {
  23414. "description": "市价总额 = 关联数量 * 期初市场价",
  23415. "type": "number"
  23416. },
  23417. "relatedhedgeplanid": {
  23418. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23419. "type": "integer"
  23420. },
  23421. "relatedqty": {
  23422. "description": "关联数量[数量]",
  23423. "type": "number"
  23424. },
  23425. "relatedspotcontractid": {
  23426. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23427. "type": "integer"
  23428. },
  23429. "relatedtype": {
  23430. "description": "关联类型 - 1:套期关联 2:执行关联",
  23431. "type": "integer"
  23432. },
  23433. "spotgoodsbrandid": {
  23434. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23435. "type": "integer"
  23436. },
  23437. "spotpricedamount": {
  23438. "description": "定价总额",
  23439. "type": "number"
  23440. },
  23441. "spotpricedavgprice": {
  23442. "description": "现货均价 = 定价总额 / 关联数量",
  23443. "type": "number"
  23444. },
  23445. "spottype": {
  23446. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23447. "type": "integer"
  23448. },
  23449. "tradeuserid": {
  23450. "description": "交易用户ID",
  23451. "type": "integer"
  23452. },
  23453. "wrstandardid": {
  23454. "description": "现货商品ID",
  23455. "type": "integer"
  23456. },
  23457. "wrstandardname": {
  23458. "description": "现货商品",
  23459. "type": "string"
  23460. }
  23461. }
  23462. },
  23463. "models.Ermcp2hedgeditemspotDetail": {
  23464. "type": "object",
  23465. "required": [
  23466. "hedgeditemid"
  23467. ],
  23468. "properties": {
  23469. "accountname": {
  23470. "description": "对手方",
  23471. "type": "string"
  23472. },
  23473. "areauserid": {
  23474. "description": "企业ID",
  23475. "type": "integer"
  23476. },
  23477. "brandname": {
  23478. "description": "品牌",
  23479. "type": "string"
  23480. },
  23481. "contractno": {
  23482. "description": "合同编号",
  23483. "type": "string"
  23484. },
  23485. "createtime": {
  23486. "description": "创建时间",
  23487. "type": "string"
  23488. },
  23489. "customeruserid": {
  23490. "description": "对手方 【3:采购合同 4:销售合同】",
  23491. "type": "integer"
  23492. },
  23493. "deliverygoodsid": {
  23494. "description": "现货品种ID",
  23495. "type": "integer"
  23496. },
  23497. "enumdicname": {
  23498. "description": "单位",
  23499. "type": "string"
  23500. },
  23501. "hedgeditemid": {
  23502. "description": "被套期项目ID",
  23503. "type": "string"
  23504. },
  23505. "hedgeditemspotid": {
  23506. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23507. "type": "string"
  23508. },
  23509. "hedgedtype": {
  23510. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23511. "type": "integer"
  23512. },
  23513. "oriavgprice": {
  23514. "description": "期初市场价[当初市场价]",
  23515. "type": "number"
  23516. },
  23517. "relatedamount": {
  23518. "description": "市价总额 = 关联数量 * 期初市场价",
  23519. "type": "number"
  23520. },
  23521. "relatedhedgeplanid": {
  23522. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23523. "type": "integer"
  23524. },
  23525. "relatedqty": {
  23526. "description": "关联数量[数量]",
  23527. "type": "number"
  23528. },
  23529. "relatedspotcontractid": {
  23530. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23531. "type": "integer"
  23532. },
  23533. "relatedtype": {
  23534. "description": "关联类型 - 1:套期关联 2:执行关联",
  23535. "type": "integer"
  23536. },
  23537. "spotgoodsbrandid": {
  23538. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23539. "type": "integer"
  23540. },
  23541. "spotpricedamount": {
  23542. "description": "定价总额[金额]",
  23543. "type": "number"
  23544. },
  23545. "spotpricedavgprice": {
  23546. "description": "现货均价 = 定价总额 / 关联数量",
  23547. "type": "number"
  23548. },
  23549. "spottype": {
  23550. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23551. "type": "integer"
  23552. },
  23553. "tradeuserid": {
  23554. "description": "交易用户ID",
  23555. "type": "integer"
  23556. },
  23557. "wrstandardid": {
  23558. "description": "现货商品ID",
  23559. "type": "integer"
  23560. },
  23561. "wrstandardname": {
  23562. "description": "现货商品",
  23563. "type": "string"
  23564. }
  23565. }
  23566. },
  23567. "models.Ermcp2himiddlegoods": {
  23568. "type": "object",
  23569. "required": [
  23570. "hedgeditemid",
  23571. "middlegoodsid"
  23572. ],
  23573. "properties": {
  23574. "futurehedgeqty": {
  23575. "description": "期货持仓套期量",
  23576. "type": "number"
  23577. },
  23578. "hedgeditemid": {
  23579. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23580. "type": "integer"
  23581. },
  23582. "hiexpsoure": {
  23583. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  23584. "type": "number"
  23585. },
  23586. "middlegoodscode": {
  23587. "description": "套保商品代码",
  23588. "type": "string"
  23589. },
  23590. "middlegoodsid": {
  23591. "description": "套保品种ID",
  23592. "type": "integer"
  23593. },
  23594. "middlegoodsname": {
  23595. "description": "套保商品名称",
  23596. "type": "string"
  23597. },
  23598. "unexehedgeqty": {
  23599. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  23600. "type": "number"
  23601. }
  23602. }
  23603. },
  23604. "models.Ermcp2stockspotchangelog": {
  23605. "type": "object",
  23606. "properties": {
  23607. "accountname": {
  23608. "description": "套期主体",
  23609. "type": "string"
  23610. },
  23611. "aftervalue": {
  23612. "description": "现货量",
  23613. "type": "number"
  23614. },
  23615. "beforevalue": {
  23616. "description": "变更前现货量",
  23617. "type": "number"
  23618. },
  23619. "contractno": {
  23620. "description": "[编号]现货合同编号",
  23621. "type": "string"
  23622. },
  23623. "contracttype": {
  23624. "description": "现货合同类型 - 1:采购 -1:销售",
  23625. "type": "integer"
  23626. },
  23627. "createtime": {
  23628. "description": "创建时间",
  23629. "type": "string"
  23630. },
  23631. "customerusername": {
  23632. "description": "对手方",
  23633. "type": "string"
  23634. },
  23635. "deliverygoodsid": {
  23636. "description": "现货品种ID",
  23637. "type": "integer"
  23638. },
  23639. "exetype": {
  23640. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  23641. "type": "integer"
  23642. },
  23643. "logid": {
  23644. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  23645. "type": "string"
  23646. },
  23647. "logvalue": {
  23648. "description": "[期间变化量]现货量变更值",
  23649. "type": "number"
  23650. },
  23651. "middlegoodschange": {
  23652. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  23653. "type": "number"
  23654. },
  23655. "operatelogtype": {
  23656. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  23657. "type": "integer"
  23658. },
  23659. "relatedid": {
  23660. "description": "现货合同ID",
  23661. "type": "integer"
  23662. },
  23663. "spotgoodsbrandid": {
  23664. "description": "现货品牌ID",
  23665. "type": "integer"
  23666. },
  23667. "tradedate": {
  23668. "description": "交易日(yyyyMMdd)",
  23669. "type": "string"
  23670. },
  23671. "userid": {
  23672. "description": "机构ID",
  23673. "type": "integer"
  23674. },
  23675. "warehouseinfoid": {
  23676. "description": "仓库ID",
  23677. "type": "integer"
  23678. },
  23679. "wrfactortypeid": {
  23680. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23681. "type": "integer"
  23682. },
  23683. "wrstandardid": {
  23684. "description": "现货商品ID",
  23685. "type": "integer"
  23686. },
  23687. "wrstandardname": {
  23688. "description": "商品名称",
  23689. "type": "string"
  23690. }
  23691. }
  23692. },
  23693. "models.Ermcp3AreaSpot": {
  23694. "type": "object",
  23695. "properties": {
  23696. "areauserid": {
  23697. "description": "所属机构",
  23698. "type": "integer"
  23699. },
  23700. "convertratio": {
  23701. "description": "套保系数",
  23702. "type": "number"
  23703. },
  23704. "decreaseqty": {
  23705. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  23706. "type": "number"
  23707. },
  23708. "enumdicname": {
  23709. "description": "单位名称",
  23710. "type": "string"
  23711. },
  23712. "increaseqty": {
  23713. "description": "增加数量=销售计划数量+采购已定价数量",
  23714. "type": "number"
  23715. },
  23716. "oritoalspotqty": {
  23717. "description": "昨日数量",
  23718. "type": "number"
  23719. },
  23720. "totalspotqty": {
  23721. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  23722. "type": "number"
  23723. },
  23724. "unitid": {
  23725. "description": "现货商品单位id",
  23726. "type": "integer"
  23727. },
  23728. "updatetime": {
  23729. "description": "更新时间",
  23730. "type": "string"
  23731. },
  23732. "wrstandardcode": {
  23733. "description": "现货商品代码",
  23734. "type": "string"
  23735. },
  23736. "wrstandardid": {
  23737. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23738. "type": "integer"
  23739. },
  23740. "wrstandardname": {
  23741. "description": "现货商品名称",
  23742. "type": "string"
  23743. }
  23744. }
  23745. },
  23746. "models.Ermcp3AreaSpotDetail": {
  23747. "type": "object",
  23748. "properties": {
  23749. "contracttype": {
  23750. "description": "合同类型 1-采购 -1-销售",
  23751. "type": "integer"
  23752. },
  23753. "createtime": {
  23754. "description": "创建时间",
  23755. "type": "string"
  23756. },
  23757. "enumdicname": {
  23758. "description": "现货商品单位名称",
  23759. "type": "string"
  23760. },
  23761. "logtype": {
  23762. "description": "记录类型 1-套保 2-现货合同",
  23763. "type": "integer"
  23764. },
  23765. "qty": {
  23766. "description": "数量",
  23767. "type": "number"
  23768. },
  23769. "recordname": {
  23770. "description": "类型名称",
  23771. "type": "string"
  23772. },
  23773. "relatedid": {
  23774. "description": "套保计划ID/现货合同ID",
  23775. "type": "string"
  23776. },
  23777. "relatedno": {
  23778. "description": "编号",
  23779. "type": "string"
  23780. },
  23781. "strtime": {
  23782. "description": "时间",
  23783. "type": "string"
  23784. },
  23785. "wrstandardcode": {
  23786. "description": "现货商品代码",
  23787. "type": "string"
  23788. },
  23789. "wrstandardid": {
  23790. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23791. "type": "integer"
  23792. },
  23793. "wrstandardname": {
  23794. "description": "现货商品名称",
  23795. "type": "string"
  23796. }
  23797. }
  23798. },
  23799. "models.Ermcp3AreaSpotPLReport": {
  23800. "type": "object",
  23801. "properties": {
  23802. "accountid": {
  23803. "description": "期货账户ID (作废, 默认为0)",
  23804. "type": "integer"
  23805. },
  23806. "accountname": {
  23807. "description": "机构名称",
  23808. "type": "string"
  23809. },
  23810. "actualpl": {
  23811. "description": "现货损益",
  23812. "type": "number"
  23813. },
  23814. "areauserid": {
  23815. "description": "所属机构\\交易用户ID",
  23816. "type": "integer"
  23817. },
  23818. "begindate": {
  23819. "description": "开始交易日",
  23820. "type": "string"
  23821. },
  23822. "biztype": {
  23823. "description": "业务类型 - 1:套保 2:套利",
  23824. "type": "integer"
  23825. },
  23826. "brandname": {
  23827. "description": "品牌名称",
  23828. "type": "string"
  23829. },
  23830. "curamount": {
  23831. "description": "期末额",
  23832. "type": "number"
  23833. },
  23834. "curaverageprice": {
  23835. "description": "期初均价",
  23836. "type": "number"
  23837. },
  23838. "curbuyamount": {
  23839. "description": "期末采购总额",
  23840. "type": "number"
  23841. },
  23842. "curbuyqty": {
  23843. "description": "期末采购总量",
  23844. "type": "number"
  23845. },
  23846. "curmarketvalue": {
  23847. "description": "期初均价",
  23848. "type": "number"
  23849. },
  23850. "curqty": {
  23851. "description": "期末量",
  23852. "type": "number"
  23853. },
  23854. "currencyid": {
  23855. "description": "结算币种ID【原值】",
  23856. "type": "integer"
  23857. },
  23858. "currencyname": {
  23859. "description": "币种名称",
  23860. "type": "string"
  23861. },
  23862. "cursellamount": {
  23863. "description": "期末销售总额",
  23864. "type": "number"
  23865. },
  23866. "cursellqty": {
  23867. "description": "期末销售总量",
  23868. "type": "number"
  23869. },
  23870. "curspotprice": {
  23871. "description": "期初均价",
  23872. "type": "number"
  23873. },
  23874. "cycletime": {
  23875. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23876. "type": "string"
  23877. },
  23878. "cycletype": {
  23879. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23880. "type": "integer"
  23881. },
  23882. "deliverygoodscode": {
  23883. "description": "现货品种代码",
  23884. "type": "string"
  23885. },
  23886. "deliverygoodsid": {
  23887. "description": "现货品种ID",
  23888. "type": "integer"
  23889. },
  23890. "deliverygoodsname": {
  23891. "description": "现货品种名称",
  23892. "type": "string"
  23893. },
  23894. "enddate": {
  23895. "description": "结束交易日",
  23896. "type": "string"
  23897. },
  23898. "enumdicname": {
  23899. "description": "现货品种单位名称(作废)",
  23900. "type": "string"
  23901. },
  23902. "floatpl": {
  23903. "description": "期初均价",
  23904. "type": "number"
  23905. },
  23906. "goodsunitid": {
  23907. "description": "现货品种单位id(作废)",
  23908. "type": "integer"
  23909. },
  23910. "oriamount": {
  23911. "description": "期初额",
  23912. "type": "number"
  23913. },
  23914. "oriaverageprice": {
  23915. "description": "期初均价",
  23916. "type": "number"
  23917. },
  23918. "oribuyamount": {
  23919. "description": "期初采购总额",
  23920. "type": "number"
  23921. },
  23922. "oribuyqty": {
  23923. "description": "期初采购总量",
  23924. "type": "number"
  23925. },
  23926. "oriqty": {
  23927. "description": "期初量",
  23928. "type": "number"
  23929. },
  23930. "orisellamount": {
  23931. "description": "期初销售总额",
  23932. "type": "number"
  23933. },
  23934. "orisellqty": {
  23935. "description": "期初销售总量",
  23936. "type": "number"
  23937. },
  23938. "reckondate": {
  23939. "description": "日照时期(yyyyMMdd)",
  23940. "type": "string"
  23941. },
  23942. "spotgoodsbrandid": {
  23943. "description": "现货品牌ID",
  23944. "type": "integer"
  23945. },
  23946. "todaybuyamount": {
  23947. "description": "今日采购额(今采购额)",
  23948. "type": "number"
  23949. },
  23950. "todaybuyaverageprice": {
  23951. "description": "期初均价",
  23952. "type": "number"
  23953. },
  23954. "todaybuyqty": {
  23955. "description": "今日采购量(今采购量)",
  23956. "type": "number"
  23957. },
  23958. "todayinqty": {
  23959. "description": "今日入库量(今入库量)",
  23960. "type": "number"
  23961. },
  23962. "todayoutqty": {
  23963. "description": "今日出库量(今出库量)",
  23964. "type": "number"
  23965. },
  23966. "todaysellamount": {
  23967. "description": "今日销售额(今销售额)",
  23968. "type": "number"
  23969. },
  23970. "todaysellaverageprice": {
  23971. "description": "期初均价",
  23972. "type": "number"
  23973. },
  23974. "todaysellqty": {
  23975. "description": "今日销售量(今销售量)",
  23976. "type": "number"
  23977. },
  23978. "unitid": {
  23979. "description": "品类单位id",
  23980. "type": "integer"
  23981. },
  23982. "unitidname": {
  23983. "description": "品类单位名称",
  23984. "type": "string"
  23985. },
  23986. "updatetime": {
  23987. "description": "更新时间",
  23988. "type": "string"
  23989. },
  23990. "wrfactortypeid": {
  23991. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23992. "type": "integer"
  23993. },
  23994. "wrstandardcode": {
  23995. "description": "现货商品(品类)代码",
  23996. "type": "string"
  23997. },
  23998. "wrstandardid": {
  23999. "description": "现货品类ID",
  24000. "type": "integer"
  24001. },
  24002. "wrstandardname": {
  24003. "description": "现货商品(品类)名称",
  24004. "type": "string"
  24005. }
  24006. }
  24007. },
  24008. "models.Ermcp3AreaStock": {
  24009. "type": "object",
  24010. "required": [
  24011. "userid"
  24012. ],
  24013. "properties": {
  24014. "brandname": {
  24015. "description": "品牌名称",
  24016. "type": "string"
  24017. },
  24018. "curstock": {
  24019. "description": "期末库存量(今日量)",
  24020. "type": "number"
  24021. },
  24022. "deliverygoodscode": {
  24023. "description": "现货品种代码",
  24024. "type": "string"
  24025. },
  24026. "deliverygoodsid": {
  24027. "description": "现货品种id",
  24028. "type": "integer"
  24029. },
  24030. "deliverygoodsname": {
  24031. "description": "现货品种名称",
  24032. "type": "string"
  24033. },
  24034. "enumdicname": {
  24035. "description": "单位名称",
  24036. "type": "string"
  24037. },
  24038. "goodsunitid": {
  24039. "description": "现货商品单位id",
  24040. "type": "integer"
  24041. },
  24042. "oristock": {
  24043. "description": "期初库存量(昨日量)",
  24044. "type": "number"
  24045. },
  24046. "spotgoodsbrandid": {
  24047. "description": "现货品牌ID",
  24048. "type": "integer"
  24049. },
  24050. "todaybuyinqty": {
  24051. "description": "今日采购入库量",
  24052. "type": "number"
  24053. },
  24054. "todayproduceinqty": {
  24055. "description": "今日生产入库量",
  24056. "type": "number"
  24057. },
  24058. "todayproduceoutqty": {
  24059. "description": "今日生产出库量",
  24060. "type": "number"
  24061. },
  24062. "todayselloutqty": {
  24063. "description": "今日销售出库量",
  24064. "type": "number"
  24065. },
  24066. "unitid": {
  24067. "description": "单位id",
  24068. "type": "integer"
  24069. },
  24070. "updatetime": {
  24071. "description": "更新时间",
  24072. "type": "string"
  24073. },
  24074. "userid": {
  24075. "description": "机构ID",
  24076. "type": "integer"
  24077. },
  24078. "username": {
  24079. "description": "机构名称",
  24080. "type": "string"
  24081. },
  24082. "warehousecode": {
  24083. "description": "仓库代码",
  24084. "type": "string"
  24085. },
  24086. "warehouseinfoid": {
  24087. "description": "仓库ID",
  24088. "type": "string"
  24089. },
  24090. "warehousename": {
  24091. "description": "仓库名称",
  24092. "type": "string"
  24093. },
  24094. "warehousetype": {
  24095. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24096. "type": "integer"
  24097. },
  24098. "wrstandardcode": {
  24099. "description": "品类代码",
  24100. "type": "string"
  24101. },
  24102. "wrstandardid": {
  24103. "description": "品类ID",
  24104. "type": "string"
  24105. },
  24106. "wrstandardname": {
  24107. "description": "品类名称",
  24108. "type": "string"
  24109. }
  24110. }
  24111. },
  24112. "models.Ermcp3AreaStockApply": {
  24113. "type": "object",
  24114. "properties": {
  24115. "applyid": {
  24116. "description": "申请人",
  24117. "type": "integer"
  24118. },
  24119. "applyname": {
  24120. "description": "申请人名称",
  24121. "type": "string"
  24122. },
  24123. "applyremark": {
  24124. "description": "申请备注",
  24125. "type": "string"
  24126. },
  24127. "applysrc": {
  24128. "description": "申请来源 - 1:管理端 2:终端",
  24129. "type": "integer"
  24130. },
  24131. "applystatus": {
  24132. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24133. "type": "integer"
  24134. },
  24135. "applytime": {
  24136. "description": "申请时间",
  24137. "type": "string"
  24138. },
  24139. "auditid": {
  24140. "description": "审核人",
  24141. "type": "integer"
  24142. },
  24143. "auditname": {
  24144. "description": "审核人名称",
  24145. "type": "string"
  24146. },
  24147. "auditremark": {
  24148. "description": "审核备注",
  24149. "type": "string"
  24150. },
  24151. "auditsrc": {
  24152. "description": "审核来源 - 1:管理端 2:终端",
  24153. "type": "integer"
  24154. },
  24155. "audittime": {
  24156. "description": "审核时间",
  24157. "type": "string"
  24158. },
  24159. "audittradedate": {
  24160. "description": "审核交易日(yyyyMMdd)",
  24161. "type": "string"
  24162. },
  24163. "brandname": {
  24164. "description": "品牌名称",
  24165. "type": "string"
  24166. },
  24167. "buynickname": {
  24168. "description": "采购方昵称",
  24169. "type": "string"
  24170. },
  24171. "buyuserid": {
  24172. "description": "采购方userid",
  24173. "type": "integer"
  24174. },
  24175. "buyusername": {
  24176. "description": "采购方名称",
  24177. "type": "string"
  24178. },
  24179. "contractno": {
  24180. "description": "合同编号",
  24181. "type": "string"
  24182. },
  24183. "contractqty": {
  24184. "description": "合同量",
  24185. "type": "number"
  24186. },
  24187. "contracttype": {
  24188. "description": "现货合同类型 - 1:采购 -1:销售",
  24189. "type": "integer"
  24190. },
  24191. "deliverygoodscode": {
  24192. "description": "现货品种代码",
  24193. "type": "string"
  24194. },
  24195. "deliverygoodsid": {
  24196. "description": "现货品种id",
  24197. "type": "integer"
  24198. },
  24199. "deliverygoodsname": {
  24200. "description": "现货品种名称",
  24201. "type": "string"
  24202. },
  24203. "detailjson": {
  24204. "description": "明细数据",
  24205. "type": "string"
  24206. },
  24207. "enumdicname": {
  24208. "description": "现货商品单位名称",
  24209. "type": "string"
  24210. },
  24211. "inoutapplyid": {
  24212. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  24213. "type": "string"
  24214. },
  24215. "inouttype": {
  24216. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  24217. "type": "integer"
  24218. },
  24219. "pricetype": {
  24220. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24221. "type": "integer"
  24222. },
  24223. "qty": {
  24224. "description": "数量",
  24225. "type": "number"
  24226. },
  24227. "sellnickname": {
  24228. "description": "销售方昵称",
  24229. "type": "string"
  24230. },
  24231. "selluserid": {
  24232. "description": "销售方userid",
  24233. "type": "integer"
  24234. },
  24235. "sellusername": {
  24236. "description": "销售方名称",
  24237. "type": "string"
  24238. },
  24239. "spotcontractid": {
  24240. "description": "关联现货合同ID",
  24241. "type": "string"
  24242. },
  24243. "spotgoodsbrandid": {
  24244. "description": "现货品牌ID",
  24245. "type": "integer"
  24246. },
  24247. "unitid": {
  24248. "description": "单位id",
  24249. "type": "integer"
  24250. },
  24251. "userid": {
  24252. "description": "机构ID",
  24253. "type": "integer"
  24254. },
  24255. "warehousecode": {
  24256. "description": "仓库代码",
  24257. "type": "string"
  24258. },
  24259. "warehouseinfoid": {
  24260. "description": "现货仓库ID",
  24261. "type": "string"
  24262. },
  24263. "warehousename": {
  24264. "description": "仓库名称",
  24265. "type": "string"
  24266. },
  24267. "warehousetype": {
  24268. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24269. "type": "integer"
  24270. },
  24271. "wrstandardcode": {
  24272. "description": "品类代码",
  24273. "type": "string"
  24274. },
  24275. "wrstandardid": {
  24276. "description": "品类ID",
  24277. "type": "integer"
  24278. },
  24279. "wrstandardname": {
  24280. "description": "品类名称",
  24281. "type": "string"
  24282. }
  24283. }
  24284. },
  24285. "models.Ermcp3AreaStockApplySum": {
  24286. "type": "object",
  24287. "properties": {
  24288. "brandname": {
  24289. "description": "品牌名称",
  24290. "type": "string"
  24291. },
  24292. "inouttype": {
  24293. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  24294. "type": "integer"
  24295. },
  24296. "spotcontractid": {
  24297. "description": "关联现货合同ID",
  24298. "type": "string"
  24299. },
  24300. "spotgoodsbrandid": {
  24301. "description": "品牌id",
  24302. "type": "integer"
  24303. },
  24304. "totalqty": {
  24305. "description": "总数量",
  24306. "type": "number"
  24307. },
  24308. "wrstandardid": {
  24309. "description": "品类id",
  24310. "type": "integer"
  24311. },
  24312. "wrstandardname": {
  24313. "description": "品类名称",
  24314. "type": "string"
  24315. }
  24316. }
  24317. },
  24318. "models.Ermcp3AreaStockReportEx": {
  24319. "type": "object",
  24320. "properties": {
  24321. "begindate": {
  24322. "description": "开始交易日",
  24323. "type": "string"
  24324. },
  24325. "brandname": {
  24326. "description": "品牌名称",
  24327. "type": "string"
  24328. },
  24329. "curstock": {
  24330. "description": "期末库存量",
  24331. "type": "number"
  24332. },
  24333. "cycletime": {
  24334. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24335. "type": "string"
  24336. },
  24337. "cycletype": {
  24338. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24339. "type": "integer"
  24340. },
  24341. "deliverygoodscode": {
  24342. "description": "现货品种代码",
  24343. "type": "string"
  24344. },
  24345. "deliverygoodsid": {
  24346. "description": "现货品种id",
  24347. "type": "integer"
  24348. },
  24349. "deliverygoodsname": {
  24350. "description": "现货品种名称",
  24351. "type": "string"
  24352. },
  24353. "diffqty": {
  24354. "description": "库存变化量 = 期末 - 期初",
  24355. "type": "number"
  24356. },
  24357. "enddate": {
  24358. "description": "结束交易日",
  24359. "type": "string"
  24360. },
  24361. "enumdicname": {
  24362. "description": "单位名称",
  24363. "type": "string"
  24364. },
  24365. "goodsunitid": {
  24366. "description": "现货单位id",
  24367. "type": "integer"
  24368. },
  24369. "oristock": {
  24370. "description": "期初库存量",
  24371. "type": "number"
  24372. },
  24373. "reckondate": {
  24374. "description": "日照时期(yyyyMMdd)",
  24375. "type": "string"
  24376. },
  24377. "spotgoodsbrandid": {
  24378. "description": "现货品牌ID",
  24379. "type": "integer"
  24380. },
  24381. "todaybuyinqty": {
  24382. "description": "今采购入库量",
  24383. "type": "number"
  24384. },
  24385. "todayproduceinqty": {
  24386. "description": "今内部入库量",
  24387. "type": "number"
  24388. },
  24389. "todayproduceoutqty": {
  24390. "description": "今内部出库量",
  24391. "type": "number"
  24392. },
  24393. "todayselloutqty": {
  24394. "description": "今销售出库量",
  24395. "type": "number"
  24396. },
  24397. "unbuyinqty": {
  24398. "description": "采购未入库量(数据库未找到相关字段?)",
  24399. "type": "number"
  24400. },
  24401. "unitid": {
  24402. "description": "品类单位id",
  24403. "type": "integer"
  24404. },
  24405. "unselloutqty": {
  24406. "description": "销售未出库量(数据库未找到相关字段?)",
  24407. "type": "number"
  24408. },
  24409. "updatetime": {
  24410. "description": "更新时间",
  24411. "type": "string"
  24412. },
  24413. "userid": {
  24414. "description": "机构ID",
  24415. "type": "integer"
  24416. },
  24417. "username": {
  24418. "description": "机构名称",
  24419. "type": "string"
  24420. },
  24421. "warehousecode": {
  24422. "description": "仓库代码",
  24423. "type": "string"
  24424. },
  24425. "warehouseinfoid": {
  24426. "description": "仓库ID",
  24427. "type": "string"
  24428. },
  24429. "warehousename": {
  24430. "description": "仓库名称",
  24431. "type": "string"
  24432. },
  24433. "warehousetype": {
  24434. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24435. "type": "integer"
  24436. },
  24437. "wrstandardcode": {
  24438. "description": "品类代码",
  24439. "type": "string"
  24440. },
  24441. "wrstandardid": {
  24442. "description": "品类ID",
  24443. "type": "integer"
  24444. },
  24445. "wrstandardname": {
  24446. "description": "品类名称",
  24447. "type": "string"
  24448. }
  24449. }
  24450. },
  24451. "models.Ermcp3ArealSumPL": {
  24452. "type": "object",
  24453. "properties": {
  24454. "accountname": {
  24455. "description": "机构名称",
  24456. "type": "string"
  24457. },
  24458. "areauserid": {
  24459. "description": "所属机构\\交易用户ID",
  24460. "type": "integer"
  24461. },
  24462. "begindate": {
  24463. "description": "开始交易日",
  24464. "type": "string"
  24465. },
  24466. "currencyid": {
  24467. "description": "结算币种ID",
  24468. "type": "integer"
  24469. },
  24470. "currencyname": {
  24471. "description": "币种名称",
  24472. "type": "string"
  24473. },
  24474. "cycletime": {
  24475. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24476. "type": "string"
  24477. },
  24478. "cycletype": {
  24479. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24480. "type": "integer"
  24481. },
  24482. "enddate": {
  24483. "description": "结束交易日",
  24484. "type": "string"
  24485. },
  24486. "enumdicname": {
  24487. "description": "单位名称(套保品种)",
  24488. "type": "string"
  24489. },
  24490. "futureactualpl": {
  24491. "description": "期货损益",
  24492. "type": "number"
  24493. },
  24494. "futurefloatpl": {
  24495. "description": "期货浮动损益",
  24496. "type": "number"
  24497. },
  24498. "futurespotratio": {
  24499. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  24500. "type": "number"
  24501. },
  24502. "goodsunitid": {
  24503. "description": "套保品种单位id",
  24504. "type": "integer"
  24505. },
  24506. "hedgeexposurepl": {
  24507. "description": "套保敞口损益",
  24508. "type": "number"
  24509. },
  24510. "middlegoodscode": {
  24511. "description": "套保品种代码",
  24512. "type": "string"
  24513. },
  24514. "middlegoodsid": {
  24515. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24516. "type": "integer"
  24517. },
  24518. "middlegoodsname": {
  24519. "description": "套保品种名称",
  24520. "type": "string"
  24521. },
  24522. "reckondate": {
  24523. "description": "日照时期(yyyyMMdd)",
  24524. "type": "string"
  24525. },
  24526. "spotactualpl": {
  24527. "description": "现货损益",
  24528. "type": "number"
  24529. },
  24530. "spotfloatpl": {
  24531. "description": "现货浮动损益",
  24532. "type": "number"
  24533. },
  24534. "sumactualpl": {
  24535. "description": "实际损益 = (ActualPL + FutureActualPL)",
  24536. "type": "number"
  24537. },
  24538. "sumpl": {
  24539. "description": "总敞口损益 | 汇总损益",
  24540. "type": "number"
  24541. },
  24542. "totalfutureqty": {
  24543. "description": "期货头寸总量",
  24544. "type": "number"
  24545. },
  24546. "totalneedhedgeqty": {
  24547. "description": "应套保总量",
  24548. "type": "number"
  24549. },
  24550. "totalspotqty": {
  24551. "description": "现货头寸总量",
  24552. "type": "number"
  24553. },
  24554. "updatetime": {
  24555. "description": "更新时间",
  24556. "type": "string"
  24557. }
  24558. }
  24559. },
  24560. "models.Ermcp3Brand": {
  24561. "type": "object",
  24562. "properties": {
  24563. "areauserid": {
  24564. "description": "用户id",
  24565. "type": "integer"
  24566. },
  24567. "brandid": {
  24568. "description": "品牌id",
  24569. "type": "integer"
  24570. },
  24571. "brandname": {
  24572. "description": "品牌名称",
  24573. "type": "string"
  24574. },
  24575. "deliverygoodsid": {
  24576. "description": "品种ID",
  24577. "type": "integer"
  24578. },
  24579. "isvalid": {
  24580. "description": "是否有效",
  24581. "type": "integer"
  24582. }
  24583. }
  24584. },
  24585. "models.Ermcp3Contract": {
  24586. "type": "object",
  24587. "properties": {
  24588. "accountid": {
  24589. "description": "期货账户id",
  24590. "type": "string"
  24591. },
  24592. "amount": {
  24593. "description": "金额 [1:一口价、3:暂定价]",
  24594. "type": "number"
  24595. },
  24596. "attachment": {
  24597. "description": "附件",
  24598. "type": "string"
  24599. },
  24600. "auditremark": {
  24601. "description": "审核意见",
  24602. "type": "string"
  24603. },
  24604. "audittime": {
  24605. "description": "审核时间",
  24606. "type": "string"
  24607. },
  24608. "biztype": {
  24609. "description": "业务类型 1-套保 2-套利",
  24610. "type": "integer"
  24611. },
  24612. "brandname": {
  24613. "description": "品牌名称",
  24614. "type": "string"
  24615. },
  24616. "buynickname": {
  24617. "description": "销售方昵称",
  24618. "type": "string"
  24619. },
  24620. "buyuserid": {
  24621. "description": "采购方ID",
  24622. "type": "integer"
  24623. },
  24624. "buyusername": {
  24625. "description": "采购方名称",
  24626. "type": "string"
  24627. },
  24628. "contracctstatus": {
  24629. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24630. "type": "integer"
  24631. },
  24632. "contractmargin": {
  24633. "description": "合同保证金",
  24634. "type": "number"
  24635. },
  24636. "contractno": {
  24637. "description": "现货合同编号",
  24638. "type": "string"
  24639. },
  24640. "contracttype": {
  24641. "description": "现货合同类型 - 1:采购 -1:销售",
  24642. "type": "integer"
  24643. },
  24644. "convertfactor": {
  24645. "description": "标仓系数(品类)",
  24646. "type": "number"
  24647. },
  24648. "createtime": {
  24649. "description": "创建时间",
  24650. "type": "string"
  24651. },
  24652. "currencyid": {
  24653. "description": "币种id",
  24654. "type": "integer"
  24655. },
  24656. "currencyname": {
  24657. "description": "币种名称",
  24658. "type": "string"
  24659. },
  24660. "deliveryenddate": {
  24661. "description": "交收期(结束)",
  24662. "type": "string"
  24663. },
  24664. "deliverygoodscode": {
  24665. "description": "现货品种代码",
  24666. "type": "string"
  24667. },
  24668. "deliverygoodsid": {
  24669. "description": "现货品种ID",
  24670. "type": "integer"
  24671. },
  24672. "deliverygoodsname": {
  24673. "description": "现货品种名称",
  24674. "type": "string"
  24675. },
  24676. "deliverystartdate": {
  24677. "description": "交收期(开始)",
  24678. "type": "string"
  24679. },
  24680. "enddate": {
  24681. "description": "点价结束日期 [2:点价 3:暂定价]",
  24682. "type": "string"
  24683. },
  24684. "enumdicname": {
  24685. "description": "单位名称",
  24686. "type": "string"
  24687. },
  24688. "goodscode": {
  24689. "description": "点价合约代码",
  24690. "type": "string"
  24691. },
  24692. "goodsid": {
  24693. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  24694. "type": "integer"
  24695. },
  24696. "goodsname": {
  24697. "description": "点价商品名称",
  24698. "type": "string"
  24699. },
  24700. "margin": {
  24701. "description": "当前保证金",
  24702. "type": "number"
  24703. },
  24704. "meruserid": {
  24705. "description": "跟单员id",
  24706. "type": "integer"
  24707. },
  24708. "meruserlogincode": {
  24709. "description": "跟单员登录代码",
  24710. "type": "string"
  24711. },
  24712. "merusername": {
  24713. "description": "跟单员名称",
  24714. "type": "string"
  24715. },
  24716. "pointdesc": {
  24717. "description": "点价备注",
  24718. "type": "string"
  24719. },
  24720. "price": {
  24721. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  24722. "type": "number"
  24723. },
  24724. "pricemove": {
  24725. "description": "升贴水 [2:点价 3:暂定价]",
  24726. "type": "number"
  24727. },
  24728. "pricetype": {
  24729. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24730. "type": "integer"
  24731. },
  24732. "producttype": {
  24733. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24734. "type": "integer"
  24735. },
  24736. "qty": {
  24737. "description": "数量",
  24738. "type": "number"
  24739. },
  24740. "remark": {
  24741. "description": "备注",
  24742. "type": "string"
  24743. },
  24744. "saleuserid": {
  24745. "description": "业务员id",
  24746. "type": "integer"
  24747. },
  24748. "saleuserlogincode": {
  24749. "description": "业务员登录代码",
  24750. "type": "string"
  24751. },
  24752. "saleusername": {
  24753. "description": "业务员名称",
  24754. "type": "string"
  24755. },
  24756. "sellnickname": {
  24757. "description": "采购方昵称",
  24758. "type": "string"
  24759. },
  24760. "selluserid": {
  24761. "description": "销售方ID",
  24762. "type": "integer"
  24763. },
  24764. "sellusername": {
  24765. "description": "销售方名称",
  24766. "type": "string"
  24767. },
  24768. "spotcontractid": {
  24769. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24770. "type": "string"
  24771. },
  24772. "spotgoodsbrandid": {
  24773. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24774. "type": "integer"
  24775. },
  24776. "spotgoodsdesc": {
  24777. "description": "商品型号",
  24778. "type": "string"
  24779. },
  24780. "startdate": {
  24781. "description": "点价开始日期 [2:点价 3:暂定价]",
  24782. "type": "string"
  24783. },
  24784. "subjectid": {
  24785. "description": "交易主体ID",
  24786. "type": "integer"
  24787. },
  24788. "subjectname": {
  24789. "description": "交易主体名称",
  24790. "type": "string"
  24791. },
  24792. "tradeuserid": {
  24793. "description": "交易员id",
  24794. "type": "integer"
  24795. },
  24796. "tradeuserlogincode": {
  24797. "description": "交易员登录代码",
  24798. "type": "string"
  24799. },
  24800. "tradeusername": {
  24801. "description": "交易员名称",
  24802. "type": "string"
  24803. },
  24804. "unitid": {
  24805. "description": "单位id(取品类上的单位id)",
  24806. "type": "integer"
  24807. },
  24808. "updatetime": {
  24809. "description": "更新时间",
  24810. "type": "string"
  24811. },
  24812. "userid": {
  24813. "description": "所属机构ID",
  24814. "type": "integer"
  24815. },
  24816. "vatrate": {
  24817. "description": "增值税率",
  24818. "type": "number"
  24819. },
  24820. "wrstandardcode": {
  24821. "description": "品类代码",
  24822. "type": "string"
  24823. },
  24824. "wrstandardid": {
  24825. "description": "品类ID",
  24826. "type": "integer"
  24827. },
  24828. "wrstandardname": {
  24829. "description": "品类名称",
  24830. "type": "string"
  24831. }
  24832. }
  24833. },
  24834. "models.Ermcp3ContractMiddleGoodsCfg": {
  24835. "type": "object",
  24836. "properties": {
  24837. "agreeunit": {
  24838. "description": "合约乘数",
  24839. "type": "number"
  24840. },
  24841. "convertratio": {
  24842. "description": "期货品种系数",
  24843. "type": "number"
  24844. },
  24845. "covertqty": {
  24846. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  24847. "type": "integer"
  24848. },
  24849. "middlegoodsid": {
  24850. "description": "套保品种ID",
  24851. "type": "integer"
  24852. },
  24853. "middlegoodspricedqty3": {
  24854. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24855. "type": "string",
  24856. "example": "0"
  24857. },
  24858. "pendingpricedqty": {
  24859. "description": "待点价量",
  24860. "type": "string",
  24861. "example": "0"
  24862. },
  24863. "relatedmiddlegoodsqty": {
  24864. "description": "已关联量(套保品种-期货)",
  24865. "type": "string",
  24866. "example": "0"
  24867. },
  24868. "spotcontractid": {
  24869. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24870. "type": "string"
  24871. }
  24872. }
  24873. },
  24874. "models.Ermcp3ExposureContractDetail": {
  24875. "type": "object",
  24876. "properties": {
  24877. "biztype": {
  24878. "description": "业务类型 1-套保 2-套利",
  24879. "type": "integer"
  24880. },
  24881. "brandname": {
  24882. "description": "品牌名称",
  24883. "type": "string"
  24884. },
  24885. "buyuserid": {
  24886. "description": "采购方id",
  24887. "type": "integer"
  24888. },
  24889. "buyusername": {
  24890. "description": "采购方名称",
  24891. "type": "string"
  24892. },
  24893. "contractno": {
  24894. "description": "合同编号",
  24895. "type": "string"
  24896. },
  24897. "contracttype": {
  24898. "description": "现货合同类型 - 1:采购 -1:销售",
  24899. "type": "integer"
  24900. },
  24901. "convertfactor": {
  24902. "description": "标仓系数",
  24903. "type": "number"
  24904. },
  24905. "convertratio": {
  24906. "description": "折算系数(套保品种)",
  24907. "type": "number"
  24908. },
  24909. "curqty": {
  24910. "description": "今定价量",
  24911. "type": "number"
  24912. },
  24913. "deliverygoodscode": {
  24914. "description": "现货品种代码",
  24915. "type": "string"
  24916. },
  24917. "deliverygoodsid": {
  24918. "description": "现货品种id",
  24919. "type": "integer"
  24920. },
  24921. "deliverygoodsname": {
  24922. "description": "现货品种名称",
  24923. "type": "string"
  24924. },
  24925. "diffhedgeqty": {
  24926. "description": "套保变动量",
  24927. "type": "number"
  24928. },
  24929. "diffneedhedgeqty": {
  24930. "description": "应套保变动量",
  24931. "type": "number"
  24932. },
  24933. "diffqty": {
  24934. "description": "套保品种今变动量",
  24935. "type": "number"
  24936. },
  24937. "enumdicname": {
  24938. "description": "单位名称",
  24939. "type": "string"
  24940. },
  24941. "mgunitname": {
  24942. "description": "套保品种单位名称",
  24943. "type": "string"
  24944. },
  24945. "middlegoodscode": {
  24946. "description": "套保品种代码",
  24947. "type": "string"
  24948. },
  24949. "middlegoodsid": {
  24950. "description": "套保品种id",
  24951. "type": "integer"
  24952. },
  24953. "middlegoodsname": {
  24954. "description": "套保品种名称",
  24955. "type": "string"
  24956. },
  24957. "needarbitrageratio": {
  24958. "description": "应套利比例",
  24959. "type": "number"
  24960. },
  24961. "needhedgeratio": {
  24962. "description": "应套保比例",
  24963. "type": "number"
  24964. },
  24965. "pricedqty": {
  24966. "description": "已定价量",
  24967. "type": "number"
  24968. },
  24969. "qty": {
  24970. "description": "合同量",
  24971. "type": "number"
  24972. },
  24973. "reckondate": {
  24974. "description": "交易日(reckondate)",
  24975. "type": "string"
  24976. },
  24977. "selluserid": {
  24978. "description": "销售方id",
  24979. "type": "integer"
  24980. },
  24981. "sellusername": {
  24982. "description": "销售方名称",
  24983. "type": "string"
  24984. },
  24985. "spotcontractid": {
  24986. "description": "合同id",
  24987. "type": "string"
  24988. },
  24989. "todaypricedqty": {
  24990. "description": "今定价量",
  24991. "type": "number"
  24992. },
  24993. "tradedate": {
  24994. "description": "交易日",
  24995. "type": "string"
  24996. },
  24997. "unitid": {
  24998. "description": "品类单位id",
  24999. "type": "integer"
  25000. },
  25001. "userid": {
  25002. "description": "机构id",
  25003. "type": "integer"
  25004. },
  25005. "username": {
  25006. "description": "交易用户",
  25007. "type": "string"
  25008. },
  25009. "wrstandardcode": {
  25010. "description": "现货商品代码",
  25011. "type": "string"
  25012. },
  25013. "wrstandardid": {
  25014. "description": "现货商品id",
  25015. "type": "integer"
  25016. },
  25017. "wrstandardname": {
  25018. "description": "现货商品名称",
  25019. "type": "string"
  25020. }
  25021. }
  25022. },
  25023. "models.Ermcp3ExposureDetail": {
  25024. "type": "object",
  25025. "properties": {
  25026. "areauserid": {
  25027. "description": "机构ID",
  25028. "type": "integer"
  25029. },
  25030. "changeQty": {
  25031. "description": "套保变动量",
  25032. "type": "number"
  25033. },
  25034. "contracttype": {
  25035. "description": "现货合同类型 - 1:采购 -1:销售",
  25036. "type": "integer"
  25037. },
  25038. "convertfactor": {
  25039. "description": "标仓系数",
  25040. "type": "number"
  25041. },
  25042. "convertratio": {
  25043. "description": "折算系数",
  25044. "type": "number"
  25045. },
  25046. "createtime": {
  25047. "description": "时间",
  25048. "type": "string"
  25049. },
  25050. "enumdicname": {
  25051. "description": "现货商品单位名称",
  25052. "type": "string"
  25053. },
  25054. "logtype": {
  25055. "description": "类型 - 1:套保计划 2:现货合同",
  25056. "type": "integer"
  25057. },
  25058. "mgunitid": {
  25059. "description": "套保品种单位id",
  25060. "type": "integer"
  25061. },
  25062. "mgunitidname": {
  25063. "description": "套保品种单位名称",
  25064. "type": "string"
  25065. },
  25066. "middlegoodsId": {
  25067. "description": "套保商品id",
  25068. "type": "integer"
  25069. },
  25070. "middlegoodscode": {
  25071. "description": "套保商品代码",
  25072. "type": "string"
  25073. },
  25074. "middlegoodsname": {
  25075. "description": "套保商品名称",
  25076. "type": "string"
  25077. },
  25078. "qty": {
  25079. "description": "数量",
  25080. "type": "number"
  25081. },
  25082. "relateNo": {
  25083. "description": "现货合同/套保计划编号",
  25084. "type": "string"
  25085. },
  25086. "unitid": {
  25087. "description": "现货商品单位id",
  25088. "type": "integer"
  25089. },
  25090. "wrstandardcode": {
  25091. "description": "现货商品代码",
  25092. "type": "string"
  25093. },
  25094. "wrstandardid": {
  25095. "description": "现货商品ID(SEQ_WRSTANDARD)",
  25096. "type": "integer"
  25097. },
  25098. "wrstandardname": {
  25099. "description": "现货商品名称",
  25100. "type": "string"
  25101. }
  25102. }
  25103. },
  25104. "models.Ermcp3ExposureFutuDetail": {
  25105. "type": "object",
  25106. "properties": {
  25107. "accountid": {
  25108. "description": "交易账户id",
  25109. "type": "integer"
  25110. },
  25111. "accountname": {
  25112. "description": "交易账户",
  25113. "type": "string"
  25114. },
  25115. "begindate": {
  25116. "description": "开始交易日",
  25117. "type": "string"
  25118. },
  25119. "buyorsell": {
  25120. "description": "方向 0-买 1-卖",
  25121. "type": "integer"
  25122. },
  25123. "diffmgqty": {
  25124. "description": "套保品种今变化量",
  25125. "type": "number"
  25126. },
  25127. "diffneedqty": {
  25128. "description": "应套保总量变化量",
  25129. "type": "number"
  25130. },
  25131. "difftradeqty": {
  25132. "description": "交易品种今变化量",
  25133. "type": "number"
  25134. },
  25135. "enddate": {
  25136. "description": "结束交易日",
  25137. "type": "string"
  25138. },
  25139. "enumdicname": {
  25140. "description": "单位名称",
  25141. "type": "string"
  25142. },
  25143. "goodscode": {
  25144. "description": "商品代码",
  25145. "type": "string"
  25146. },
  25147. "goodsid": {
  25148. "description": "商品id",
  25149. "type": "integer"
  25150. },
  25151. "goodsname": {
  25152. "description": "商品名称",
  25153. "type": "string"
  25154. },
  25155. "holdqty": {
  25156. "description": "期末持仓量",
  25157. "type": "number"
  25158. },
  25159. "middlegoodscode": {
  25160. "description": "套保商品代码",
  25161. "type": "string"
  25162. },
  25163. "middlegoodsid": {
  25164. "description": "套保商品id",
  25165. "type": "integer"
  25166. },
  25167. "middlegoodsname": {
  25168. "description": "套保商品名称",
  25169. "type": "string"
  25170. },
  25171. "oriholdqty": {
  25172. "description": "期初持仓量",
  25173. "type": "number"
  25174. },
  25175. "reckondate": {
  25176. "description": "交易日(RECKONDATE)",
  25177. "type": "string"
  25178. },
  25179. "todaycloseqty": {
  25180. "description": "今平仓量",
  25181. "type": "number"
  25182. },
  25183. "todayopenqty": {
  25184. "description": "今开仓量",
  25185. "type": "number"
  25186. },
  25187. "tradedate": {
  25188. "description": "交易日(RECKONDATE)",
  25189. "type": "string"
  25190. },
  25191. "username": {
  25192. "description": "用户名称(交易用户)",
  25193. "type": "string"
  25194. }
  25195. }
  25196. },
  25197. "models.Ermcp3ExposureHedgeplanDetail": {
  25198. "type": "object",
  25199. "properties": {
  25200. "biztype": {
  25201. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  25202. "type": "integer"
  25203. },
  25204. "changqty": {
  25205. "description": "应套保总量变化量",
  25206. "type": "number"
  25207. },
  25208. "contracttype": {
  25209. "description": "计划类型 - 1:采购 -1:销售",
  25210. "type": "integer"
  25211. },
  25212. "convertratio": {
  25213. "description": "折算系数(套保品种)",
  25214. "type": "number"
  25215. },
  25216. "deliverygoodscode": {
  25217. "description": "现货商品代码",
  25218. "type": "string"
  25219. },
  25220. "deliverygoodsid": {
  25221. "description": "现货商品id",
  25222. "type": "integer"
  25223. },
  25224. "deliverygoodsname": {
  25225. "description": "现货商吕名称",
  25226. "type": "string"
  25227. },
  25228. "dgunitid": {
  25229. "description": "现货商品单位id",
  25230. "type": "integer"
  25231. },
  25232. "dgunitidname": {
  25233. "description": "单位名称(现货商品)",
  25234. "type": "string"
  25235. },
  25236. "diffqty": {
  25237. "description": "套保品种今变动量",
  25238. "type": "number"
  25239. },
  25240. "enumdicname": {
  25241. "description": "单位名称(品类)",
  25242. "type": "string"
  25243. },
  25244. "hedgeplanid": {
  25245. "description": "套保计划id",
  25246. "type": "string"
  25247. },
  25248. "hedgeplanno": {
  25249. "description": "套保计划名称",
  25250. "type": "string"
  25251. },
  25252. "hedgeplanstatus": {
  25253. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25254. "type": "integer"
  25255. },
  25256. "mgunitidname": {
  25257. "description": "单位名称(套保商品)",
  25258. "type": "string"
  25259. },
  25260. "middlegoodscode": {
  25261. "description": "套保品种代码",
  25262. "type": "string"
  25263. },
  25264. "middlegoodsid": {
  25265. "description": "套保品种id",
  25266. "type": "integer"
  25267. },
  25268. "middlegoodsname": {
  25269. "description": "套保品种名称",
  25270. "type": "string"
  25271. },
  25272. "needarbitrageratio": {
  25273. "description": "应套利比例",
  25274. "type": "number"
  25275. },
  25276. "needhedgeratio": {
  25277. "description": "应套保比例",
  25278. "type": "number"
  25279. },
  25280. "pricedqty": {
  25281. "description": "已定价量",
  25282. "type": "number"
  25283. },
  25284. "qty": {
  25285. "description": "合同量",
  25286. "type": "number"
  25287. },
  25288. "reckondate": {
  25289. "description": "交易日(reckondate)",
  25290. "type": "string"
  25291. },
  25292. "tradedate": {
  25293. "description": "交易日(登记日)",
  25294. "type": "string"
  25295. },
  25296. "unitid": {
  25297. "description": "品类单位id",
  25298. "type": "integer"
  25299. },
  25300. "userid": {
  25301. "description": "机构id",
  25302. "type": "integer"
  25303. },
  25304. "wrstandardcode": {
  25305. "description": "品类代码",
  25306. "type": "string"
  25307. },
  25308. "wrstandardid": {
  25309. "description": "品类id",
  25310. "type": "integer"
  25311. },
  25312. "wrstandardname": {
  25313. "description": "品类名称",
  25314. "type": "string"
  25315. }
  25316. }
  25317. },
  25318. "models.Ermcp3ExposureParamChLog": {
  25319. "type": "object",
  25320. "properties": {
  25321. "accountid": {
  25322. "description": "期货账户ID (作废, 默认为0)",
  25323. "type": "integer"
  25324. },
  25325. "aftervalue": {
  25326. "description": "应套保\\套利量变更后(调整后应套保总量)",
  25327. "type": "number"
  25328. },
  25329. "areauserid": {
  25330. "description": "所属机构\\交易用户ID",
  25331. "type": "integer"
  25332. },
  25333. "beforevalue": {
  25334. "description": "应套保\\套利量变更前(调整前应套保总量)",
  25335. "type": "number"
  25336. },
  25337. "begindate": {
  25338. "description": "开始交易日",
  25339. "type": "string"
  25340. },
  25341. "changelogtype": {
  25342. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  25343. "type": "integer"
  25344. },
  25345. "curvalue": {
  25346. "description": "当前套保\\套利量(套保总量|套利总量)",
  25347. "type": "number"
  25348. },
  25349. "diffvalue": {
  25350. "description": "应套保总量变化量",
  25351. "type": "number"
  25352. },
  25353. "enddate": {
  25354. "description": "结束交易日",
  25355. "type": "string"
  25356. },
  25357. "logdatetime": {
  25358. "description": "流水日期",
  25359. "type": "string"
  25360. },
  25361. "logid": {
  25362. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  25363. "type": "string"
  25364. },
  25365. "middlegoodscode": {
  25366. "description": "套保品种代码",
  25367. "type": "string"
  25368. },
  25369. "middlegoodsid": {
  25370. "description": "套保品种",
  25371. "type": "integer"
  25372. },
  25373. "middlegoodsname": {
  25374. "description": "套保品种名称",
  25375. "type": "string"
  25376. },
  25377. "paramaftervalue": {
  25378. "description": "参数变更后(调整后参数值)",
  25379. "type": "number"
  25380. },
  25381. "parambeforevalue": {
  25382. "description": "参数变更前(调整前参数值)",
  25383. "type": "number"
  25384. },
  25385. "reckondate": {
  25386. "description": "交易日(reckondate)",
  25387. "type": "string"
  25388. },
  25389. "tradedate": {
  25390. "description": "交易日(yyyyMMdd)",
  25391. "type": "string"
  25392. }
  25393. }
  25394. },
  25395. "models.Ermcp3ExpourseReport": {
  25396. "type": "object",
  25397. "properties": {
  25398. "accountid": {
  25399. "description": "期货账户ID (作废, 默认为0)",
  25400. "type": "integer"
  25401. },
  25402. "accountname": {
  25403. "description": "机构名称",
  25404. "type": "string"
  25405. },
  25406. "arbitrageqty": {
  25407. "description": "套利量",
  25408. "type": "number"
  25409. },
  25410. "areauserid": {
  25411. "description": "所属机构\\交易用户ID",
  25412. "type": "integer"
  25413. },
  25414. "begindate": {
  25415. "description": "开始交易日",
  25416. "type": "string"
  25417. },
  25418. "buyfutureqty": {
  25419. "description": "买入期货数量",
  25420. "type": "number"
  25421. },
  25422. "buyplanqty": {
  25423. "description": "采购计划数量",
  25424. "type": "number"
  25425. },
  25426. "buypricedqty": {
  25427. "description": "采购合同已定价数量",
  25428. "type": "number"
  25429. },
  25430. "cycletime": {
  25431. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25432. "type": "string"
  25433. },
  25434. "cycletype": {
  25435. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25436. "type": "integer"
  25437. },
  25438. "diffexposure": {
  25439. "description": "变动量(套保敞口)",
  25440. "type": "number"
  25441. },
  25442. "difffutuqty": {
  25443. "description": "变动量(期货)",
  25444. "type": "number"
  25445. },
  25446. "diffhedgeqty": {
  25447. "description": "变动量(现货应套保总量)",
  25448. "type": "number"
  25449. },
  25450. "diffmgqtya": {
  25451. "description": "套保变动量",
  25452. "type": "number"
  25453. },
  25454. "diffmgqtyb": {
  25455. "description": "套利变动量",
  25456. "type": "number"
  25457. },
  25458. "diffneedqty": {
  25459. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  25460. "type": "number"
  25461. },
  25462. "diffqty": {
  25463. "description": "变动量(总敞口)",
  25464. "type": "number"
  25465. },
  25466. "diffspotqty": {
  25467. "description": "变动量(现货) | 除税变动量",
  25468. "type": "number"
  25469. },
  25470. "enddate": {
  25471. "description": "结束交易日",
  25472. "type": "string"
  25473. },
  25474. "enumdicname": {
  25475. "description": "单位名称",
  25476. "type": "string"
  25477. },
  25478. "hedgeqty": {
  25479. "description": "套保量",
  25480. "type": "number"
  25481. },
  25482. "mgneedhedgeratio": {
  25483. "description": "套保比例(套保品的)",
  25484. "type": "number"
  25485. },
  25486. "middlegoodsid": {
  25487. "description": "套保品种ID",
  25488. "type": "integer"
  25489. },
  25490. "middlegoodsname": {
  25491. "description": "套保商品名称",
  25492. "type": "string"
  25493. },
  25494. "middlgoodscode": {
  25495. "description": "套保商品代码",
  25496. "type": "string"
  25497. },
  25498. "needarbitrageqty": {
  25499. "description": "应套利量",
  25500. "type": "number"
  25501. },
  25502. "needarbitrageratio": {
  25503. "description": "套利比例(套保品的)",
  25504. "type": "number"
  25505. },
  25506. "needhedgeexposoure": {
  25507. "description": "应套保敞口(套保敞口)",
  25508. "type": "number"
  25509. },
  25510. "needhedgeqty": {
  25511. "description": "应套保量",
  25512. "type": "number"
  25513. },
  25514. "needhedgeratio": {
  25515. "description": "应套保敞口比例",
  25516. "type": "number"
  25517. },
  25518. "needqty": {
  25519. "description": "应套总量 = 应套保量 + 应套利量",
  25520. "type": "number"
  25521. },
  25522. "oriarbitrageqty": {
  25523. "description": "期初套利量",
  25524. "type": "number"
  25525. },
  25526. "oribuyfutureqty": {
  25527. "description": "期初买入期货数量",
  25528. "type": "number"
  25529. },
  25530. "oribuyplanqty": {
  25531. "description": "期初采购计划数量",
  25532. "type": "number"
  25533. },
  25534. "oribuypricedqty": {
  25535. "description": "期初采购合同已定价数量",
  25536. "type": "number"
  25537. },
  25538. "orihedgeqty": {
  25539. "description": "期初套保量",
  25540. "type": "number"
  25541. },
  25542. "orineedarbitrageqty": {
  25543. "description": "期初应套利量",
  25544. "type": "number"
  25545. },
  25546. "orineedhedgeexposoure": {
  25547. "description": "期初应套保敞口",
  25548. "type": "number"
  25549. },
  25550. "orineedhedgeqty": {
  25551. "description": "期初应套保量",
  25552. "type": "number"
  25553. },
  25554. "orisellfutureqty": {
  25555. "description": "期初卖出期货数量",
  25556. "type": "number"
  25557. },
  25558. "orisellplanqty": {
  25559. "description": "期初销售计划数量",
  25560. "type": "number"
  25561. },
  25562. "orisellpricedqty": {
  25563. "description": "期初销售合同已定价数量",
  25564. "type": "number"
  25565. },
  25566. "oritotalexposure": {
  25567. "description": "期初实时总敞口",
  25568. "type": "number"
  25569. },
  25570. "oritotalfutureqty": {
  25571. "description": "期初期货头寸总量",
  25572. "type": "number"
  25573. },
  25574. "oritotalneedhedgeqty": {
  25575. "description": "期初应套保总量",
  25576. "type": "number"
  25577. },
  25578. "oritotalspotqty": {
  25579. "description": "期初现货头寸总量",
  25580. "type": "number"
  25581. },
  25582. "reckondate": {
  25583. "description": "日照时期(yyyyMMdd)",
  25584. "type": "string"
  25585. },
  25586. "sellfutureqty": {
  25587. "description": "卖出期货数量",
  25588. "type": "number"
  25589. },
  25590. "sellplanqty": {
  25591. "description": "销售计划数量",
  25592. "type": "number"
  25593. },
  25594. "sellpricedqty": {
  25595. "description": "销售合同已定价数量",
  25596. "type": "number"
  25597. },
  25598. "totalexposure": {
  25599. "description": "实时总敞口(总敞口)",
  25600. "type": "number"
  25601. },
  25602. "totalfutureqty": {
  25603. "description": "期货头寸总量(期货总量)",
  25604. "type": "number"
  25605. },
  25606. "totalhedgeratio": {
  25607. "description": "敞口比例",
  25608. "type": "number"
  25609. },
  25610. "totalneedhedgeqty": {
  25611. "description": "应套保总量(现货应套保总量)",
  25612. "type": "number"
  25613. },
  25614. "totalspotqty": {
  25615. "description": "现货头寸总量 | 除税总量",
  25616. "type": "number"
  25617. },
  25618. "unitid": {
  25619. "description": "单位id",
  25620. "type": "integer"
  25621. },
  25622. "updatetime": {
  25623. "description": "更新时间",
  25624. "type": "string"
  25625. }
  25626. }
  25627. },
  25628. "models.Ermcp3FinanceReport": {
  25629. "type": "object",
  25630. "properties": {
  25631. "accountname": {
  25632. "description": "机构名称",
  25633. "type": "string"
  25634. },
  25635. "areauserid": {
  25636. "description": "所属机构\\交易用户ID",
  25637. "type": "integer"
  25638. },
  25639. "begindate": {
  25640. "description": "开始交易日",
  25641. "type": "string"
  25642. },
  25643. "biztype": {
  25644. "description": "业务类型 - 1:套保 2:套利",
  25645. "type": "integer"
  25646. },
  25647. "brandname": {
  25648. "description": "品牌名称",
  25649. "type": "string"
  25650. },
  25651. "buypreinvoicedamount": {
  25652. "description": "采购预收票额(预收票额)",
  25653. "type": "number"
  25654. },
  25655. "buyprepaidamount": {
  25656. "description": "采购预付款额(预付货款额)",
  25657. "type": "number"
  25658. },
  25659. "buytodayinvoiceamount": {
  25660. "description": "采购今收票额(今收票额)",
  25661. "type": "number"
  25662. },
  25663. "buytodayrefundamount": {
  25664. "description": "采购今收退款额(今收退款额)",
  25665. "type": "number"
  25666. },
  25667. "buytodaysettleamount": {
  25668. "description": "采购今付款额(今付货款额)",
  25669. "type": "number"
  25670. },
  25671. "buyuninvoicedamount": {
  25672. "description": "采购应收票额(应收票额)",
  25673. "type": "number"
  25674. },
  25675. "buyunpaidamount": {
  25676. "description": "采购应付款额(应付货款额)",
  25677. "type": "number"
  25678. },
  25679. "currencyid": {
  25680. "description": "结算币种ID",
  25681. "type": "integer"
  25682. },
  25683. "currencyname": {
  25684. "description": "币种名称",
  25685. "type": "string"
  25686. },
  25687. "cycletime": {
  25688. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25689. "type": "string"
  25690. },
  25691. "cycletype": {
  25692. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25693. "type": "integer"
  25694. },
  25695. "deliverygoodscode": {
  25696. "description": "现货品种代码",
  25697. "type": "string"
  25698. },
  25699. "deliverygoodsid": {
  25700. "description": "现货品种ID",
  25701. "type": "integer"
  25702. },
  25703. "deliverygoodsname": {
  25704. "description": "现货品种名称",
  25705. "type": "string"
  25706. },
  25707. "enddate": {
  25708. "description": "结束交易日",
  25709. "type": "string"
  25710. },
  25711. "reckondate": {
  25712. "description": "日照时期(yyyyMMdd)",
  25713. "type": "string"
  25714. },
  25715. "sellpreinvoicedamount": {
  25716. "description": "销售预开票额(预开票额)",
  25717. "type": "number"
  25718. },
  25719. "sellprepaidamount": {
  25720. "description": "销售预收款额(预收货款额)",
  25721. "type": "number"
  25722. },
  25723. "selltodayinvoiceamount": {
  25724. "description": "销售今开票额(今开票额)",
  25725. "type": "number"
  25726. },
  25727. "selltodayrefundamount": {
  25728. "description": "销售今付退款额(今付退款额)",
  25729. "type": "number"
  25730. },
  25731. "selltodaysettleamount": {
  25732. "description": "销售今收款额(今收货款额)",
  25733. "type": "number"
  25734. },
  25735. "selluninvoicedamount": {
  25736. "description": "销售应开票额(应开票额)",
  25737. "type": "number"
  25738. },
  25739. "sellunpaidamount": {
  25740. "description": "销售应收款额(应收货款额)",
  25741. "type": "number"
  25742. },
  25743. "spotgoodsbrandid": {
  25744. "description": "现货品牌ID",
  25745. "type": "integer"
  25746. },
  25747. "todaypaysum": {
  25748. "description": "今付款合计",
  25749. "type": "number"
  25750. },
  25751. "todayreceivesum": {
  25752. "description": "今收款合计",
  25753. "type": "number"
  25754. },
  25755. "updatetime": {
  25756. "description": "更新时间",
  25757. "type": "string"
  25758. },
  25759. "wrfactortypeid": {
  25760. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25761. "type": "integer"
  25762. },
  25763. "wrstandardcode": {
  25764. "description": "品类代码",
  25765. "type": "string"
  25766. },
  25767. "wrstandardid": {
  25768. "description": "现货商品ID",
  25769. "type": "integer"
  25770. },
  25771. "wrstandardname": {
  25772. "description": "品类名称",
  25773. "type": "string"
  25774. }
  25775. }
  25776. },
  25777. "models.Ermcp3GoodsGroup": {
  25778. "type": "object",
  25779. "required": [
  25780. "areauserid"
  25781. ],
  25782. "properties": {
  25783. "agreeunit": {
  25784. "description": "合约单位",
  25785. "type": "number"
  25786. },
  25787. "areauserid": {
  25788. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  25789. "type": "integer"
  25790. },
  25791. "canshort": {
  25792. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25793. "type": "integer"
  25794. },
  25795. "closepricemode": {
  25796. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25797. "type": "integer"
  25798. },
  25799. "createtime": {
  25800. "description": "创建时间",
  25801. "type": "string"
  25802. },
  25803. "creatorid": {
  25804. "description": "创建人",
  25805. "type": "integer"
  25806. },
  25807. "currencyid": {
  25808. "description": "报价货币ID",
  25809. "type": "integer"
  25810. },
  25811. "decimalplace": {
  25812. "description": "报价小数位",
  25813. "type": "integer"
  25814. },
  25815. "enumdicname": {
  25816. "description": "单位名称",
  25817. "type": "string"
  25818. },
  25819. "exchangefullname": {
  25820. "description": "交易所全称",
  25821. "type": "string"
  25822. },
  25823. "excludecfg": {
  25824. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  25825. "type": "integer"
  25826. },
  25827. "exexchangecode": {
  25828. "description": "交易所代码",
  25829. "type": "string"
  25830. },
  25831. "exexchangeid": {
  25832. "description": "外部交易所ID[通道交易]",
  25833. "type": "integer"
  25834. },
  25835. "exexchangename": {
  25836. "description": "交易所名称",
  25837. "type": "string"
  25838. },
  25839. "goodsgroupid": {
  25840. "description": "商品组ID(自增ID)",
  25841. "type": "integer"
  25842. },
  25843. "goodsgroupname": {
  25844. "description": "商品组名称",
  25845. "type": "string"
  25846. },
  25847. "goodsgroupstatus": {
  25848. "description": "商品组状态 - 1:正常 2:注销",
  25849. "type": "integer"
  25850. },
  25851. "goodunitid": {
  25852. "description": "报价单位ID",
  25853. "type": "integer"
  25854. },
  25855. "groupcategroyid": {
  25856. "description": "品种分类ID",
  25857. "type": "integer"
  25858. },
  25859. "innerdealmode": {
  25860. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25861. "type": "integer"
  25862. },
  25863. "marketid": {
  25864. "description": "所属市场ID",
  25865. "type": "integer"
  25866. },
  25867. "modifierid": {
  25868. "description": "修改人",
  25869. "type": "integer"
  25870. },
  25871. "modifytime": {
  25872. "description": "修改时间",
  25873. "type": "string"
  25874. },
  25875. "outerdealmode": {
  25876. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25877. "type": "integer"
  25878. },
  25879. "outergroupcode": {
  25880. "description": "外部商品组代码[通道交易]",
  25881. "type": "string"
  25882. },
  25883. "quoteminunit": {
  25884. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25885. "type": "integer"
  25886. },
  25887. "quotesourcegroupid": {
  25888. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25889. "type": "integer"
  25890. },
  25891. "syncgoodsqty": {
  25892. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25893. "type": "integer"
  25894. }
  25895. }
  25896. },
  25897. "models.Ermcp3HPMiddleGoods": {
  25898. "type": "object",
  25899. "properties": {
  25900. "biztype": {
  25901. "description": "业务类型 1:套保 2:套利",
  25902. "type": "integer"
  25903. },
  25904. "contracttype": {
  25905. "description": "合同类型 1:采购 -1:销售",
  25906. "type": "integer"
  25907. },
  25908. "convertratio": {
  25909. "description": "折算系数",
  25910. "type": "number"
  25911. },
  25912. "customername": {
  25913. "description": "对手手名称",
  25914. "type": "string"
  25915. },
  25916. "customeruserid": {
  25917. "description": "对手id",
  25918. "type": "integer"
  25919. },
  25920. "enumdicname": {
  25921. "description": "现货单位名称",
  25922. "type": "string"
  25923. },
  25924. "hedgeplanid": {
  25925. "description": "计划id",
  25926. "type": "string"
  25927. },
  25928. "hedgeplanno": {
  25929. "description": "计划编号",
  25930. "type": "string"
  25931. },
  25932. "middlegoodsid": {
  25933. "description": "套保品种ID",
  25934. "type": "integer"
  25935. },
  25936. "middlegoodsplanqty3": {
  25937. "description": "应套保计划量",
  25938. "type": "number"
  25939. },
  25940. "needhedgeratio": {
  25941. "description": "套保比例",
  25942. "type": "number"
  25943. },
  25944. "pricedqty": {
  25945. "description": "已定价量",
  25946. "type": "number"
  25947. },
  25948. "relatedmiddlegoodsqty": {
  25949. "description": "已关联量(套保品种)(期货)",
  25950. "type": "number"
  25951. },
  25952. "unitid": {
  25953. "description": "现货单位id",
  25954. "type": "integer"
  25955. },
  25956. "userid": {
  25957. "description": "用户id",
  25958. "type": "integer"
  25959. },
  25960. "vatrate": {
  25961. "description": "增值税率",
  25962. "type": "number"
  25963. },
  25964. "wrstandardcode": {
  25965. "description": "现货商品代码",
  25966. "type": "string"
  25967. },
  25968. "wrstandardid": {
  25969. "description": "现货商品id",
  25970. "type": "integer"
  25971. },
  25972. "wrstandardname": {
  25973. "description": "现货商品名称",
  25974. "type": "string"
  25975. }
  25976. }
  25977. },
  25978. "models.Ermcp3HedgePlan": {
  25979. "type": "object",
  25980. "properties": {
  25981. "accountid": {
  25982. "description": "资金账号",
  25983. "type": "integer"
  25984. },
  25985. "areauserid": {
  25986. "description": "用户ID",
  25987. "type": "integer"
  25988. },
  25989. "auditid": {
  25990. "description": "审核id",
  25991. "type": "integer"
  25992. },
  25993. "auditname": {
  25994. "description": "审核人名称",
  25995. "type": "string"
  25996. },
  25997. "auditremark": {
  25998. "description": "审核备注",
  25999. "type": "string"
  26000. },
  26001. "auditsrc": {
  26002. "description": "审核来源 1-管理端 2-终端",
  26003. "type": "integer"
  26004. },
  26005. "audittime": {
  26006. "description": "审核时间",
  26007. "type": "string"
  26008. },
  26009. "contracttype": {
  26010. "description": "计划类型 - 1:采购 -1:销售",
  26011. "type": "integer"
  26012. },
  26013. "convertfactor": {
  26014. "description": "标仓系数",
  26015. "type": "number"
  26016. },
  26017. "createtime": {
  26018. "description": "创建时间",
  26019. "type": "string"
  26020. },
  26021. "currencyid": {
  26022. "description": "币种id",
  26023. "type": "integer"
  26024. },
  26025. "currencyname": {
  26026. "description": "币种名称",
  26027. "type": "string"
  26028. },
  26029. "deliverygoodscode": {
  26030. "description": "现货品种代码",
  26031. "type": "string"
  26032. },
  26033. "deliverygoodsid": {
  26034. "description": "现货品种ID",
  26035. "type": "integer"
  26036. },
  26037. "deliverygoodsname": {
  26038. "description": "现货品种名称",
  26039. "type": "string"
  26040. },
  26041. "enumdicname": {
  26042. "description": "单位名称(现货商品)",
  26043. "type": "string"
  26044. },
  26045. "hedgeplanid": {
  26046. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  26047. "type": "string"
  26048. },
  26049. "hedgeplanno": {
  26050. "description": "套保计划编号(名称)",
  26051. "type": "string"
  26052. },
  26053. "hedgeplanstatus": {
  26054. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26055. "type": "integer"
  26056. },
  26057. "planqty": {
  26058. "description": "计划数量",
  26059. "type": "number"
  26060. },
  26061. "plantime": {
  26062. "description": "计划时间",
  26063. "type": "string"
  26064. },
  26065. "producttype": {
  26066. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26067. "type": "integer"
  26068. },
  26069. "remark": {
  26070. "description": "备注",
  26071. "type": "string"
  26072. },
  26073. "spotgoodsdesc": {
  26074. "description": "商品型号",
  26075. "type": "string"
  26076. },
  26077. "taaccountname": {
  26078. "description": "资金账号名称",
  26079. "type": "string"
  26080. },
  26081. "tradeuserid": {
  26082. "description": "交易用户id",
  26083. "type": "integer"
  26084. },
  26085. "tradeusername": {
  26086. "description": "交易用户名称",
  26087. "type": "string"
  26088. },
  26089. "unitid": {
  26090. "description": "单位id(现货商品)",
  26091. "type": "integer"
  26092. },
  26093. "updatetime": {
  26094. "description": "更新时间",
  26095. "type": "string"
  26096. },
  26097. "vatrate": {
  26098. "description": "增值税率",
  26099. "type": "number"
  26100. },
  26101. "wrstandardcode": {
  26102. "description": "品类代码",
  26103. "type": "string"
  26104. },
  26105. "wrstandardid": {
  26106. "description": "品类id",
  26107. "type": "integer"
  26108. },
  26109. "wrstandardname": {
  26110. "description": "品类名称",
  26111. "type": "string"
  26112. },
  26113. "wrunitid": {
  26114. "description": "品类单位id",
  26115. "type": "integer"
  26116. },
  26117. "wrunitidame": {
  26118. "description": "品类单位名称",
  26119. "type": "string"
  26120. }
  26121. }
  26122. },
  26123. "models.Ermcp3InnerTradeLink": {
  26124. "type": "object",
  26125. "properties": {
  26126. "accountid": {
  26127. "description": "期货账号代码 | 资金账号ID",
  26128. "type": "integer"
  26129. },
  26130. "buyorsell": {
  26131. "description": "方向 - 0:买 1:卖",
  26132. "type": "integer"
  26133. },
  26134. "channelbuildtype": {
  26135. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26136. "type": "integer"
  26137. },
  26138. "currencyid": {
  26139. "description": "币种id",
  26140. "type": "integer"
  26141. },
  26142. "currencyname": {
  26143. "description": "结算币种 名称",
  26144. "type": "string"
  26145. },
  26146. "goodscode": {
  26147. "description": "商品代码",
  26148. "type": "string"
  26149. },
  26150. "goodsid": {
  26151. "description": "商品ID",
  26152. "type": "integer"
  26153. },
  26154. "goodsname": {
  26155. "description": "商品名称",
  26156. "type": "string"
  26157. },
  26158. "outtradeid": {
  26159. "description": "外部成交单号",
  26160. "type": "string"
  26161. },
  26162. "taname": {
  26163. "description": "期货账户名称",
  26164. "type": "string"
  26165. },
  26166. "tradeid": {
  26167. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26168. "type": "string"
  26169. },
  26170. "tradeprice": {
  26171. "description": "成交价格",
  26172. "type": "number"
  26173. },
  26174. "tradeqty": {
  26175. "description": "期货成交数量",
  26176. "type": "integer"
  26177. },
  26178. "tradetime": {
  26179. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  26180. "type": "string"
  26181. },
  26182. "username": {
  26183. "description": "用户名称",
  26184. "type": "string"
  26185. }
  26186. }
  26187. },
  26188. "models.Ermcp3OutTradeLink": {
  26189. "type": "object",
  26190. "properties": {
  26191. "buyorsell": {
  26192. "description": "买卖方向 - 0:买 1:卖",
  26193. "type": "integer"
  26194. },
  26195. "channelbuildtype": {
  26196. "description": "开平标志- 0:无 1:建仓 2:平仓",
  26197. "type": "integer"
  26198. },
  26199. "currencyname": {
  26200. "description": "币种名称",
  26201. "type": "string"
  26202. },
  26203. "exexchangecode": {
  26204. "description": "交易所代码",
  26205. "type": "string"
  26206. },
  26207. "exexchangename": {
  26208. "description": "交易所名称",
  26209. "type": "string"
  26210. },
  26211. "goodscode": {
  26212. "description": "合约代码",
  26213. "type": "string"
  26214. },
  26215. "goodsid": {
  26216. "description": "合约id",
  26217. "type": "integer"
  26218. },
  26219. "goodsname": {
  26220. "description": "合约名称",
  26221. "type": "string"
  26222. },
  26223. "hasinnerorder": {
  26224. "description": "是否有内部单关联 - 0:无 1:有",
  26225. "type": "integer"
  26226. },
  26227. "hedgeaccountcode": {
  26228. "description": "外部账号 | 对冲账号",
  26229. "type": "string"
  26230. },
  26231. "outtradeid": {
  26232. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26233. "type": "string"
  26234. },
  26235. "tradeprice": {
  26236. "description": "成交价格",
  26237. "type": "number"
  26238. },
  26239. "tradeqty": {
  26240. "description": "成交数量",
  26241. "type": "integer"
  26242. },
  26243. "tradetime": {
  26244. "description": "成交时间",
  26245. "type": "string"
  26246. }
  26247. }
  26248. },
  26249. "models.Ermcp3PaAreaAuditCfg": {
  26250. "type": "object",
  26251. "properties": {
  26252. "areauserid": {
  26253. "description": "用户ID",
  26254. "type": "integer"
  26255. },
  26256. "buyinauditflag": {
  26257. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  26258. "type": "integer"
  26259. },
  26260. "costratioauditflag": {
  26261. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  26262. "type": "integer"
  26263. },
  26264. "customerauditflag": {
  26265. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  26266. "type": "integer"
  26267. },
  26268. "deliveryauditflag": {
  26269. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  26270. "type": "integer"
  26271. },
  26272. "invoiceauditflag": {
  26273. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  26274. "type": "integer"
  26275. },
  26276. "mgneedhedgeratioauditflag": {
  26277. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  26278. "type": "integer"
  26279. },
  26280. "moneyauditflag": {
  26281. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  26282. "type": "integer"
  26283. },
  26284. "operatorid": {
  26285. "description": "操作人",
  26286. "type": "integer"
  26287. },
  26288. "operatorsrc": {
  26289. "description": "操作来源 - 1:管理端 2:终端",
  26290. "type": "integer"
  26291. },
  26292. "pointpriceauditflag": {
  26293. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  26294. "type": "integer"
  26295. },
  26296. "produceinauditflag": {
  26297. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  26298. "type": "integer"
  26299. },
  26300. "produceoutauditflag": {
  26301. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  26302. "type": "integer"
  26303. },
  26304. "selloutauditflag": {
  26305. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  26306. "type": "integer"
  26307. },
  26308. "sgconvertratioauditflag": {
  26309. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  26310. "type": "integer"
  26311. },
  26312. "sgvtaratioauditflag": {
  26313. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  26314. "type": "integer"
  26315. },
  26316. "spotcontractauditflag": {
  26317. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  26318. "type": "integer"
  26319. },
  26320. "updatetime": {
  26321. "description": "更新时间",
  26322. "type": "string"
  26323. }
  26324. }
  26325. },
  26326. "models.Ermcp3PaAreaSubject": {
  26327. "type": "object",
  26328. "properties": {
  26329. "areauserid": {
  26330. "description": "所属机构",
  26331. "type": "integer"
  26332. },
  26333. "canmodify": {
  26334. "description": "是否可修改 - 0:否 1:是",
  26335. "type": "integer"
  26336. },
  26337. "createtime": {
  26338. "description": "创建时间",
  26339. "type": "string"
  26340. },
  26341. "creatorid": {
  26342. "description": "创建人ID",
  26343. "type": "string"
  26344. },
  26345. "creatorsrc": {
  26346. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26347. "type": "integer"
  26348. },
  26349. "modifierid": {
  26350. "description": "修改人",
  26351. "type": "string"
  26352. },
  26353. "modifiersrc": {
  26354. "description": "修改人来源 - 1:管理端 2:终端",
  26355. "type": "integer"
  26356. },
  26357. "modifytime": {
  26358. "description": "修改时间",
  26359. "type": "string"
  26360. },
  26361. "parentsubjectid": {
  26362. "description": "上级主体ID",
  26363. "type": "string"
  26364. },
  26365. "remark": {
  26366. "description": "备注",
  26367. "type": "string"
  26368. },
  26369. "subjectid": {
  26370. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  26371. "type": "integer"
  26372. },
  26373. "subjectname": {
  26374. "description": "主体名称",
  26375. "type": "string"
  26376. },
  26377. "subjectstatus": {
  26378. "description": "主体状态 - 1:正常 2: 停用",
  26379. "type": "integer"
  26380. },
  26381. "subjecttype": {
  26382. "description": "主体类型 - 1:交易主体 2:业务部门",
  26383. "type": "integer"
  26384. }
  26385. }
  26386. },
  26387. "models.Ermcp3PaTradeLink": {
  26388. "type": "object",
  26389. "properties": {
  26390. "accountid": {
  26391. "description": "期货账户代码 | 账号ID",
  26392. "type": "integer"
  26393. },
  26394. "agreeunit": {
  26395. "description": "合约乘数",
  26396. "type": "number"
  26397. },
  26398. "buyorsell": {
  26399. "description": "方向 - 0:买 1:卖",
  26400. "type": "integer"
  26401. },
  26402. "channelbuildtype": {
  26403. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26404. "type": "integer"
  26405. },
  26406. "charge": {
  26407. "description": "手续费",
  26408. "type": "number"
  26409. },
  26410. "closepl": {
  26411. "description": "平仓盈亏",
  26412. "type": "number"
  26413. },
  26414. "closetype": {
  26415. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26416. "type": "integer"
  26417. },
  26418. "convertratio": {
  26419. "description": "折算系数",
  26420. "type": "number"
  26421. },
  26422. "enumdicname": {
  26423. "description": "单位名称",
  26424. "type": "string"
  26425. },
  26426. "executeprice": {
  26427. "description": "执行价 [期权]",
  26428. "type": "integer"
  26429. },
  26430. "goodscode": {
  26431. "description": "合约代码",
  26432. "type": "string"
  26433. },
  26434. "goodsgroupid": {
  26435. "description": "对冲品种ID[期货合约商品组ID]",
  26436. "type": "integer"
  26437. },
  26438. "goodsid": {
  26439. "description": "商品ID",
  26440. "type": "integer"
  26441. },
  26442. "goodsname": {
  26443. "description": "合约名称",
  26444. "type": "string"
  26445. },
  26446. "goodunitid": {
  26447. "description": "单位id",
  26448. "type": "integer"
  26449. },
  26450. "hedgeflag": {
  26451. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26452. "type": "integer"
  26453. },
  26454. "marketid": {
  26455. "description": "市场ID",
  26456. "type": "integer"
  26457. },
  26458. "middlegoodsid": {
  26459. "description": "套保品种ID",
  26460. "type": "integer"
  26461. },
  26462. "middlegoodsqty": {
  26463. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26464. "type": "number"
  26465. },
  26466. "optioncode": {
  26467. "description": "期权代码 [期权]",
  26468. "type": "string"
  26469. },
  26470. "ordertype": {
  26471. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  26472. "type": "integer"
  26473. },
  26474. "ordertypename": {
  26475. "description": "订单类型",
  26476. "type": "string"
  26477. },
  26478. "parentaccountid": {
  26479. "description": "所属母账户",
  26480. "type": "integer"
  26481. },
  26482. "premium": {
  26483. "description": "权利金 [期权]",
  26484. "type": "number"
  26485. },
  26486. "relatedlot": {
  26487. "description": "已关联数量(已关联数量手) | db:关联手数",
  26488. "type": "number"
  26489. },
  26490. "relatedouttradeid": {
  26491. "description": "关联外部成交单ID",
  26492. "type": "string"
  26493. },
  26494. "relatedqty": {
  26495. "description": "关联数量",
  26496. "type": "number"
  26497. },
  26498. "spotcontractid": {
  26499. "description": "现货合同ID [4:套期保值\\10\\11]",
  26500. "type": "string"
  26501. },
  26502. "taname": {
  26503. "description": "期货账户名称",
  26504. "type": "string"
  26505. },
  26506. "tradeamount": {
  26507. "description": "成交金额(账户)",
  26508. "type": "number"
  26509. },
  26510. "tradedate": {
  26511. "description": "交易日(yyyyMMdd)",
  26512. "type": "string"
  26513. },
  26514. "tradeid": {
  26515. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26516. "type": "string"
  26517. },
  26518. "tradelot": {
  26519. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  26520. "type": "integer"
  26521. },
  26522. "tradeprice": {
  26523. "description": "成交价格",
  26524. "type": "number"
  26525. },
  26526. "tradetime": {
  26527. "description": "时间 | db:成交时间",
  26528. "type": "string"
  26529. },
  26530. "tradetype": {
  26531. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26532. "type": "integer"
  26533. },
  26534. "userid": {
  26535. "description": "所属机构 - 所属母账户的UserID",
  26536. "type": "string"
  26537. },
  26538. "username": {
  26539. "description": "用户名称",
  26540. "type": "string"
  26541. }
  26542. }
  26543. },
  26544. "models.Ermcp3ParamChangeApp": {
  26545. "type": "object",
  26546. "properties": {
  26547. "aftervalue": {
  26548. "description": "变更后",
  26549. "type": "number"
  26550. },
  26551. "applicationid": {
  26552. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  26553. "type": "string"
  26554. },
  26555. "applyid": {
  26556. "description": "申请人",
  26557. "type": "string"
  26558. },
  26559. "applyname": {
  26560. "description": "申请人名称(代码)",
  26561. "type": "string"
  26562. },
  26563. "applyremark": {
  26564. "description": "申请备注",
  26565. "type": "string"
  26566. },
  26567. "applysrc": {
  26568. "description": "申请来源 - 1:管理端 2:终端",
  26569. "type": "integer"
  26570. },
  26571. "applystatus": {
  26572. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26573. "type": "integer"
  26574. },
  26575. "applytime": {
  26576. "description": "申请时间",
  26577. "type": "string"
  26578. },
  26579. "areauserid": {
  26580. "description": "所属机构用户ID",
  26581. "type": "integer"
  26582. },
  26583. "auditid": {
  26584. "description": "审核人",
  26585. "type": "string"
  26586. },
  26587. "auditname": {
  26588. "description": "审核人名称(代码)",
  26589. "type": "string"
  26590. },
  26591. "auditremark": {
  26592. "description": "审核备注",
  26593. "type": "string"
  26594. },
  26595. "auditsrc": {
  26596. "description": "审核来源 - 1:管理端 2:终端",
  26597. "type": "integer"
  26598. },
  26599. "audittime": {
  26600. "description": "审核时间",
  26601. "type": "string"
  26602. },
  26603. "audittradedate": {
  26604. "description": "审核交易日(yyyyMMdd)",
  26605. "type": "string"
  26606. },
  26607. "beforevalue": {
  26608. "description": "变更前",
  26609. "type": "number"
  26610. },
  26611. "deliverygoodscode": {
  26612. "description": "品种代码",
  26613. "type": "string"
  26614. },
  26615. "deliverygoodsid": {
  26616. "description": "品种id",
  26617. "type": "integer"
  26618. },
  26619. "deliverygoodsname": {
  26620. "description": "品种名称",
  26621. "type": "string"
  26622. },
  26623. "middlegoodscode": {
  26624. "description": "套保品种代码",
  26625. "type": "string"
  26626. },
  26627. "middlegoodsid": {
  26628. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  26629. "type": "integer"
  26630. },
  26631. "middlegoodsname": {
  26632. "description": "套保品种名称",
  26633. "type": "string"
  26634. },
  26635. "operatetype": {
  26636. "description": "操作类型 - 1:新增 2:修改",
  26637. "type": "integer"
  26638. },
  26639. "paramchangetype": {
  26640. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  26641. "type": "integer"
  26642. },
  26643. "wrstandardcode": {
  26644. "description": "现货商品代码",
  26645. "type": "string"
  26646. },
  26647. "wrstandardid": {
  26648. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  26649. "type": "integer"
  26650. },
  26651. "wrstandardname": {
  26652. "description": "现货商品名称",
  26653. "type": "string"
  26654. }
  26655. }
  26656. },
  26657. "models.Ermcp3RootUserAccount": {
  26658. "type": "object",
  26659. "properties": {
  26660. "accountname": {
  26661. "description": "账户名称(机构名称)",
  26662. "type": "string"
  26663. },
  26664. "accountstatus": {
  26665. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26666. "type": "integer"
  26667. },
  26668. "applysrc": {
  26669. "description": "申请来源 - 1:管理端 2:终端",
  26670. "type": "integer"
  26671. },
  26672. "auditremark": {
  26673. "description": "审核备注",
  26674. "type": "string"
  26675. },
  26676. "auditsrc": {
  26677. "description": "审核来源 - 1:管理端 2:终端",
  26678. "type": "integer"
  26679. },
  26680. "audittime": {
  26681. "description": "审核时间",
  26682. "type": "string"
  26683. },
  26684. "audituserid": {
  26685. "description": "审核人",
  26686. "type": "integer"
  26687. },
  26688. "broker": {
  26689. "description": "所属经纪人ID",
  26690. "type": "integer"
  26691. },
  26692. "canceltime": {
  26693. "description": "销户时间",
  26694. "type": "string"
  26695. },
  26696. "canceluserid": {
  26697. "description": "销户人",
  26698. "type": "integer"
  26699. },
  26700. "canrecommend": {
  26701. "description": "是否可推荐 - 0:不可 1;可",
  26702. "type": "integer"
  26703. },
  26704. "createtime": {
  26705. "description": "创建时间",
  26706. "type": "string"
  26707. },
  26708. "creatorid": {
  26709. "description": "创建人",
  26710. "type": "integer"
  26711. },
  26712. "hasauth": {
  26713. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26714. "type": "integer"
  26715. },
  26716. "isanonymous": {
  26717. "description": "是否匿名下单 - 0:否 1:是",
  26718. "type": "integer"
  26719. },
  26720. "maxinvestornum": {
  26721. "description": "最大用户数(经纪会员下投资者个数)",
  26722. "type": "integer"
  26723. },
  26724. "memberuserid": {
  26725. "description": "所属会员ID",
  26726. "type": "integer"
  26727. },
  26728. "modifierid": {
  26729. "description": "修改人",
  26730. "type": "integer"
  26731. },
  26732. "modifyremark": {
  26733. "description": "变更备注",
  26734. "type": "string"
  26735. },
  26736. "modifystatus": {
  26737. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26738. "type": "integer"
  26739. },
  26740. "modifytime": {
  26741. "description": "修改时间",
  26742. "type": "string"
  26743. },
  26744. "nickname": {
  26745. "description": "昵称",
  26746. "type": "string"
  26747. },
  26748. "parenttopuser": {
  26749. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26750. "type": "string"
  26751. },
  26752. "parentuserid": {
  26753. "description": "所属机构ID",
  26754. "type": "integer"
  26755. },
  26756. "reckonaccountid": {
  26757. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26758. "type": "integer"
  26759. },
  26760. "refercount": {
  26761. "description": "推荐总人数",
  26762. "type": "integer"
  26763. },
  26764. "refereeuserid": {
  26765. "description": "推荐人ID",
  26766. "type": "integer"
  26767. },
  26768. "refernum": {
  26769. "description": "推荐码",
  26770. "type": "string"
  26771. },
  26772. "rootuserid": {
  26773. "description": "根用户ID",
  26774. "type": "integer"
  26775. },
  26776. "subaccountlevel": {
  26777. "description": "子账户层数",
  26778. "type": "integer"
  26779. },
  26780. "subarealevelpath": {
  26781. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26782. "type": "string"
  26783. },
  26784. "userid": {
  26785. "description": "用户ID",
  26786. "type": "integer"
  26787. },
  26788. "usertype": {
  26789. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26790. "type": "integer"
  26791. }
  26792. }
  26793. },
  26794. "models.Ermcp3SCMiddleGoods": {
  26795. "type": "object",
  26796. "properties": {
  26797. "biztype": {
  26798. "description": "业务类型 1:套保 2:套利",
  26799. "type": "integer"
  26800. },
  26801. "contractno": {
  26802. "description": "合同编号",
  26803. "type": "string"
  26804. },
  26805. "contracttype": {
  26806. "description": "合同类型 1:采购 -1:销售",
  26807. "type": "integer"
  26808. },
  26809. "convertratio": {
  26810. "description": "折算系数",
  26811. "type": "number"
  26812. },
  26813. "customername": {
  26814. "description": "对手手名称",
  26815. "type": "string"
  26816. },
  26817. "customeruserid": {
  26818. "description": "对手id",
  26819. "type": "integer"
  26820. },
  26821. "deliverygoodscode": {
  26822. "description": "现货品种代码",
  26823. "type": "string"
  26824. },
  26825. "deliverygoodsid": {
  26826. "description": "现货品种ID",
  26827. "type": "integer"
  26828. },
  26829. "deliverygoodsname": {
  26830. "description": "现货品种名称",
  26831. "type": "string"
  26832. },
  26833. "enumdicname": {
  26834. "description": "现货单位名称",
  26835. "type": "string"
  26836. },
  26837. "middlegoodsid": {
  26838. "description": "套保品种ID",
  26839. "type": "integer"
  26840. },
  26841. "middlegoodspricedqty3": {
  26842. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  26843. "type": "number"
  26844. },
  26845. "needhedgeratio": {
  26846. "description": "套保比例",
  26847. "type": "number"
  26848. },
  26849. "pricedqty": {
  26850. "description": "已定价量",
  26851. "type": "number"
  26852. },
  26853. "relatedmiddlegoodsqty": {
  26854. "description": "已关联量(套保品种)(期货)",
  26855. "type": "number"
  26856. },
  26857. "spotcontractid": {
  26858. "description": "合同编号",
  26859. "type": "string"
  26860. },
  26861. "unitid": {
  26862. "description": "现货单位id",
  26863. "type": "integer"
  26864. },
  26865. "userid": {
  26866. "description": "用户id",
  26867. "type": "integer"
  26868. },
  26869. "vatrate": {
  26870. "description": "增值税率",
  26871. "type": "number"
  26872. },
  26873. "wrstandardcode": {
  26874. "description": "现货商品代码",
  26875. "type": "string"
  26876. },
  26877. "wrstandardid": {
  26878. "description": "现货商品id",
  26879. "type": "integer"
  26880. },
  26881. "wrstandardname": {
  26882. "description": "现货商品名称",
  26883. "type": "string"
  26884. }
  26885. }
  26886. },
  26887. "models.Ermcp3SCMiddleGoodsReport": {
  26888. "type": "object",
  26889. "properties": {
  26890. "begindate": {
  26891. "description": "开始交易日",
  26892. "type": "string"
  26893. },
  26894. "contractno": {
  26895. "description": "合同编号",
  26896. "type": "string"
  26897. },
  26898. "contracttype": {
  26899. "description": "合同类型 1:采购 -1:销售",
  26900. "type": "integer"
  26901. },
  26902. "convertratio": {
  26903. "description": "期初均价",
  26904. "type": "number"
  26905. },
  26906. "cycletime": {
  26907. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26908. "type": "string"
  26909. },
  26910. "cycletype": {
  26911. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26912. "type": "integer"
  26913. },
  26914. "deliverygoodscode": {
  26915. "description": "品种代码",
  26916. "type": "string"
  26917. },
  26918. "deliverygoodsid": {
  26919. "description": "现货品种ID",
  26920. "type": "integer"
  26921. },
  26922. "deliverygoodsname": {
  26923. "description": "品种名称",
  26924. "type": "string"
  26925. },
  26926. "diffprice": {
  26927. "description": "期初均价",
  26928. "type": "number"
  26929. },
  26930. "diffqty": {
  26931. "description": "期初均价",
  26932. "type": "number"
  26933. },
  26934. "enddate": {
  26935. "description": "结束交易日",
  26936. "type": "string"
  26937. },
  26938. "hedgeplanqty": {
  26939. "description": "期初均价",
  26940. "type": "number"
  26941. },
  26942. "matchname": {
  26943. "description": "交易对手方(个人:用户名称 企业:简称)",
  26944. "type": "string"
  26945. },
  26946. "matchnickname": {
  26947. "description": "交易对手方昵称",
  26948. "type": "string"
  26949. },
  26950. "middlegoodscode": {
  26951. "description": "套保品种代码",
  26952. "type": "string"
  26953. },
  26954. "middlegoodsid": {
  26955. "description": "套保品种ID",
  26956. "type": "integer"
  26957. },
  26958. "middlegoodsname": {
  26959. "description": "套保品种名称",
  26960. "type": "string"
  26961. },
  26962. "middlegoodspricedqty": {
  26963. "description": "期初均价",
  26964. "type": "number"
  26965. },
  26966. "middlegoodspricedqty2": {
  26967. "description": "期初均价",
  26968. "type": "number"
  26969. },
  26970. "middlegoodspricedqty3": {
  26971. "description": "期初均价",
  26972. "type": "number"
  26973. },
  26974. "needhedgeratio": {
  26975. "description": "期初均价",
  26976. "type": "number"
  26977. },
  26978. "pricedamount": {
  26979. "description": "期初均价",
  26980. "type": "number"
  26981. },
  26982. "pricedamount2": {
  26983. "description": "期初均价",
  26984. "type": "number"
  26985. },
  26986. "pricedqty": {
  26987. "description": "期初均价",
  26988. "type": "number"
  26989. },
  26990. "reckondate": {
  26991. "description": "日照时期(yyyyMMdd)",
  26992. "type": "string"
  26993. },
  26994. "relatedmiddlegoodsamount": {
  26995. "description": "期初均价",
  26996. "type": "number"
  26997. },
  26998. "relatedmiddlegoodsqty": {
  26999. "description": "期初均价",
  27000. "type": "number"
  27001. },
  27002. "spotcontractid": {
  27003. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27004. "type": "string"
  27005. },
  27006. "todayavgfutuprice": {
  27007. "description": "期初均价",
  27008. "type": "number"
  27009. },
  27010. "todayavgprice": {
  27011. "description": "期初均价",
  27012. "type": "number"
  27013. },
  27014. "todayavgprice2": {
  27015. "description": "期初均价",
  27016. "type": "number"
  27017. },
  27018. "todaypricedamount": {
  27019. "description": "期初均价",
  27020. "type": "number"
  27021. },
  27022. "todaypricedamount2": {
  27023. "description": "期初均价",
  27024. "type": "number"
  27025. },
  27026. "todaypricedqty": {
  27027. "description": "期初均价",
  27028. "type": "number"
  27029. },
  27030. "todayrelatedfutureqty": {
  27031. "description": "期初均价",
  27032. "type": "number"
  27033. },
  27034. "todayrelatedmiddlegoodsamount": {
  27035. "description": "期初均价",
  27036. "type": "number"
  27037. },
  27038. "todayrelatedmiddlegoodsqty": {
  27039. "description": "期初均价",
  27040. "type": "number"
  27041. },
  27042. "updatetime": {
  27043. "description": "更新时间",
  27044. "type": "string"
  27045. },
  27046. "userid": {
  27047. "description": "合同所属用户id",
  27048. "type": "integer"
  27049. },
  27050. "vatrate": {
  27051. "description": "期初均价",
  27052. "type": "number"
  27053. },
  27054. "wrstandardcode": {
  27055. "description": "商品(品类) 代码",
  27056. "type": "string"
  27057. },
  27058. "wrstandardid": {
  27059. "description": "现货商品ID",
  27060. "type": "integer"
  27061. },
  27062. "wrstandardname": {
  27063. "description": "商品(品类) 名称",
  27064. "type": "string"
  27065. }
  27066. }
  27067. },
  27068. "models.Ermcp3SellBuyContract": {
  27069. "type": "object",
  27070. "properties": {
  27071. "accountid": {
  27072. "description": "期货账户id",
  27073. "type": "string"
  27074. },
  27075. "accountname": {
  27076. "description": "账户名称",
  27077. "type": "string"
  27078. },
  27079. "attachment": {
  27080. "description": "附件",
  27081. "type": "string"
  27082. },
  27083. "audittime": {
  27084. "description": "审核时间",
  27085. "type": "string"
  27086. },
  27087. "bizsubjectid": {
  27088. "description": "归属业务部门ID - SubjectID",
  27089. "type": "integer"
  27090. },
  27091. "biztype": {
  27092. "description": "业务类型 1-套保 2-套利",
  27093. "type": "integer"
  27094. },
  27095. "brandname": {
  27096. "description": "品牌名称",
  27097. "type": "string"
  27098. },
  27099. "contracctstatus": {
  27100. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27101. "type": "integer"
  27102. },
  27103. "contractmargin": {
  27104. "description": "合同保证金",
  27105. "type": "number"
  27106. },
  27107. "contractno": {
  27108. "description": "合同编号",
  27109. "type": "string"
  27110. },
  27111. "contracttype": {
  27112. "description": "合同类型 1-采购, -1-销售",
  27113. "type": "integer"
  27114. },
  27115. "convertfactor": {
  27116. "description": "标仓系数(品类)",
  27117. "type": "number"
  27118. },
  27119. "createtime": {
  27120. "description": "创建时间",
  27121. "type": "string"
  27122. },
  27123. "currencyid": {
  27124. "description": "币种id",
  27125. "type": "integer"
  27126. },
  27127. "currencyname": {
  27128. "description": "币种名称",
  27129. "type": "string"
  27130. },
  27131. "daikaiamount": {
  27132. "description": "应收(开)票额 | 未收票额",
  27133. "type": "number"
  27134. },
  27135. "deliveryenddate": {
  27136. "description": "交割结束日",
  27137. "type": "string"
  27138. },
  27139. "deliverygoodscode": {
  27140. "description": "现货品种代码",
  27141. "type": "string"
  27142. },
  27143. "deliverygoodsid": {
  27144. "description": "现货商品ID",
  27145. "type": "integer"
  27146. },
  27147. "deliverygoodsname": {
  27148. "description": "现货品种名称",
  27149. "type": "string"
  27150. },
  27151. "deliverystartdate": {
  27152. "description": "交割开始日",
  27153. "type": "string"
  27154. },
  27155. "enddate": {
  27156. "description": "点价结束日",
  27157. "type": "string"
  27158. },
  27159. "enumdicname": {
  27160. "description": "单位名称",
  27161. "type": "string"
  27162. },
  27163. "goodscode": {
  27164. "description": "点价商品代码",
  27165. "type": "string"
  27166. },
  27167. "goodsgroupid": {
  27168. "description": "点价商品组id",
  27169. "type": "integer"
  27170. },
  27171. "goodsid": {
  27172. "description": "点价商品ID",
  27173. "type": "integer"
  27174. },
  27175. "goodsname": {
  27176. "description": "点价商品名称",
  27177. "type": "string"
  27178. },
  27179. "invoiceamount": {
  27180. "description": "已开票额",
  27181. "type": "number"
  27182. },
  27183. "loanamount": {
  27184. "description": "贷款总额=已定价额+调整金额",
  27185. "type": "number"
  27186. },
  27187. "margin": {
  27188. "description": "保证金",
  27189. "type": "number"
  27190. },
  27191. "meruserid": {
  27192. "description": "跟单员id",
  27193. "type": "integer"
  27194. },
  27195. "meruserlogincode": {
  27196. "description": "跟单员登录代码",
  27197. "type": "string"
  27198. },
  27199. "merusername": {
  27200. "description": "跟单员名称",
  27201. "type": "string"
  27202. },
  27203. "nickname": {
  27204. "description": "账户昵称",
  27205. "type": "string"
  27206. },
  27207. "orireckonrealqty": {
  27208. "description": "应交收量",
  27209. "type": "number"
  27210. },
  27211. "payamount": {
  27212. "description": "已收付额(收款或付款)",
  27213. "type": "number"
  27214. },
  27215. "preinvoiceamount": {
  27216. "description": "预收(开)票额",
  27217. "type": "number"
  27218. },
  27219. "prepayamount": {
  27220. "description": "预收付额",
  27221. "type": "number"
  27222. },
  27223. "price": {
  27224. "description": "价格",
  27225. "type": "number"
  27226. },
  27227. "pricedamount": {
  27228. "description": "已定价额",
  27229. "type": "number"
  27230. },
  27231. "pricedavg": {
  27232. "description": "已点均价",
  27233. "type": "number"
  27234. },
  27235. "pricedqty": {
  27236. "description": "已定价量",
  27237. "type": "number"
  27238. },
  27239. "pricemove": {
  27240. "description": "升贴水",
  27241. "type": "number"
  27242. },
  27243. "pricetype": {
  27244. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27245. "type": "integer"
  27246. },
  27247. "producttype": {
  27248. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27249. "type": "integer"
  27250. },
  27251. "qty": {
  27252. "description": "合同量",
  27253. "type": "number"
  27254. },
  27255. "reckonadjustamount": {
  27256. "description": "调整金额",
  27257. "type": "number"
  27258. },
  27259. "reckonedamount": {
  27260. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  27261. "type": "number"
  27262. },
  27263. "reckonotheramount": {
  27264. "description": "其它费用",
  27265. "type": "number"
  27266. },
  27267. "reckonrealqty": {
  27268. "description": "已交收量",
  27269. "type": "number"
  27270. },
  27271. "remark": {
  27272. "description": "备注",
  27273. "type": "string"
  27274. },
  27275. "saleuserid": {
  27276. "description": "业务员id",
  27277. "type": "integer"
  27278. },
  27279. "saleuserlogincode": {
  27280. "description": "业务员登录代码",
  27281. "type": "string"
  27282. },
  27283. "saleusername": {
  27284. "description": "业务员名称",
  27285. "type": "string"
  27286. },
  27287. "spotcontractid": {
  27288. "description": "合同ID",
  27289. "type": "string"
  27290. },
  27291. "spotgoodsbrandid": {
  27292. "description": "现货品牌ID(DGFactoryItem表的ID)",
  27293. "type": "integer"
  27294. },
  27295. "spotgoodsdesc": {
  27296. "description": "商品型号(商品规格)",
  27297. "type": "string"
  27298. },
  27299. "startdate": {
  27300. "description": "点价开始日",
  27301. "type": "string"
  27302. },
  27303. "subjectid": {
  27304. "description": "交易主体ID",
  27305. "type": "integer"
  27306. },
  27307. "subjectname": {
  27308. "description": "交易主体名称",
  27309. "type": "string"
  27310. },
  27311. "totalamount": {
  27312. "description": "合计总额",
  27313. "type": "number"
  27314. },
  27315. "tradeuserid": {
  27316. "description": "交易员id",
  27317. "type": "integer"
  27318. },
  27319. "tradeuserlogincode": {
  27320. "description": "交易员登录代码",
  27321. "type": "string"
  27322. },
  27323. "tradeusername": {
  27324. "description": "交易员名称",
  27325. "type": "string"
  27326. },
  27327. "unpayamount": {
  27328. "description": "应收付款额(应支付或应收款) | 未付款额",
  27329. "type": "number"
  27330. },
  27331. "unpricedqty": {
  27332. "description": "未定价量",
  27333. "type": "number"
  27334. },
  27335. "unsureqty": {
  27336. "description": "未确定量 | 未交收量",
  27337. "type": "number"
  27338. },
  27339. "userid": {
  27340. "description": "机构ID",
  27341. "type": "integer"
  27342. },
  27343. "vatrate": {
  27344. "description": "增值税率",
  27345. "type": "number"
  27346. },
  27347. "wrstandardcode": {
  27348. "description": "品类代码",
  27349. "type": "string"
  27350. },
  27351. "wrstandardid": {
  27352. "description": "品类ID",
  27353. "type": "integer"
  27354. },
  27355. "wrstandardname": {
  27356. "description": "品类名称",
  27357. "type": "string"
  27358. }
  27359. }
  27360. },
  27361. "models.Ermcp3SpotGoodsPrice": {
  27362. "type": "object",
  27363. "properties": {
  27364. "areauserid": {
  27365. "description": "所属机构id",
  27366. "type": "integer"
  27367. },
  27368. "brandname": {
  27369. "description": "品牌名称",
  27370. "type": "string"
  27371. },
  27372. "currencyid": {
  27373. "description": "报价货币ID",
  27374. "type": "integer"
  27375. },
  27376. "currencyname": {
  27377. "description": "币种名称",
  27378. "type": "string"
  27379. },
  27380. "deliverygoodscode": {
  27381. "description": "现货商品代码",
  27382. "type": "string"
  27383. },
  27384. "deliverygoodsid": {
  27385. "description": "现货商品id",
  27386. "type": "integer"
  27387. },
  27388. "deliverygoodsname": {
  27389. "description": "现货商品名称",
  27390. "type": "string"
  27391. },
  27392. "enumdicname": {
  27393. "description": "现货商品单位名称",
  27394. "type": "string"
  27395. },
  27396. "gbenumdicname": {
  27397. "description": "品类单位名称",
  27398. "type": "string"
  27399. },
  27400. "gmunitid": {
  27401. "description": "品类单位id",
  27402. "type": "integer"
  27403. },
  27404. "isvalid": {
  27405. "description": "是否有效 - 0:无效 1:有效",
  27406. "type": "integer"
  27407. },
  27408. "operateid": {
  27409. "description": "最后操作人",
  27410. "type": "integer"
  27411. },
  27412. "operatesrc": {
  27413. "description": "最后操作来源 - 1:管理端 2:终端",
  27414. "type": "integer"
  27415. },
  27416. "operatetime": {
  27417. "description": "最后操作时间",
  27418. "type": "string"
  27419. },
  27420. "operatorname": {
  27421. "description": "操作人名称",
  27422. "type": "string"
  27423. },
  27424. "spotgoodsbrandid": {
  27425. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27426. "type": "integer"
  27427. },
  27428. "spotgoodsprice": {
  27429. "description": "现货价格",
  27430. "type": "number"
  27431. },
  27432. "tradedate": {
  27433. "description": "交易日(yyyyMMdd)",
  27434. "type": "string"
  27435. },
  27436. "unitid": {
  27437. "description": "现货商品单位id",
  27438. "type": "integer"
  27439. },
  27440. "wrstandardcode": {
  27441. "description": "品类代码",
  27442. "type": "string"
  27443. },
  27444. "wrstandardid": {
  27445. "description": "现货品类ID(通用则为0)",
  27446. "type": "integer"
  27447. },
  27448. "wrstandardname": {
  27449. "description": "品类名称",
  27450. "type": "string"
  27451. }
  27452. }
  27453. },
  27454. "models.Ermcp3SpotGoodsPriceLog": {
  27455. "type": "object",
  27456. "properties": {
  27457. "areauserid": {
  27458. "description": "所属机构id",
  27459. "type": "integer"
  27460. },
  27461. "brandname": {
  27462. "description": "品牌名称",
  27463. "type": "string"
  27464. },
  27465. "currencyid": {
  27466. "description": "报价货币ID",
  27467. "type": "integer"
  27468. },
  27469. "deliverygoodscode": {
  27470. "description": "现货商品代码",
  27471. "type": "string"
  27472. },
  27473. "deliverygoodsid": {
  27474. "description": "现货商品id",
  27475. "type": "integer"
  27476. },
  27477. "deliverygoodsname": {
  27478. "description": "现货商品名称",
  27479. "type": "string"
  27480. },
  27481. "enumdicname": {
  27482. "description": "现货商品单位名称",
  27483. "type": "string"
  27484. },
  27485. "gbenumdicname": {
  27486. "description": "品类单位名称",
  27487. "type": "string"
  27488. },
  27489. "gmunitid": {
  27490. "description": "品类单位id",
  27491. "type": "integer"
  27492. },
  27493. "logid": {
  27494. "description": "日志id",
  27495. "type": "integer"
  27496. },
  27497. "operateid": {
  27498. "description": "最后操作人",
  27499. "type": "integer"
  27500. },
  27501. "operatesrc": {
  27502. "description": "最后操作来源 - 1:管理端 2:终端",
  27503. "type": "integer"
  27504. },
  27505. "operatetime": {
  27506. "description": "最后操作时间",
  27507. "type": "string"
  27508. },
  27509. "operatorname": {
  27510. "description": "操作人名称",
  27511. "type": "string"
  27512. },
  27513. "spotgoodsbrandid": {
  27514. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27515. "type": "integer"
  27516. },
  27517. "spotgoodsprice": {
  27518. "description": "现货价格",
  27519. "type": "number"
  27520. },
  27521. "tradedate": {
  27522. "description": "交易日(yyyyMMdd)",
  27523. "type": "string"
  27524. },
  27525. "unitid": {
  27526. "description": "现货商品单位id",
  27527. "type": "integer"
  27528. },
  27529. "wrstandardcode": {
  27530. "description": "品类代码",
  27531. "type": "string"
  27532. },
  27533. "wrstandardid": {
  27534. "description": "现货品类ID(通用则为0)",
  27535. "type": "integer"
  27536. },
  27537. "wrstandardname": {
  27538. "description": "品类名称",
  27539. "type": "string"
  27540. }
  27541. }
  27542. },
  27543. "models.Ermcp3SubTaaccount": {
  27544. "type": "object",
  27545. "properties": {
  27546. "accountid": {
  27547. "description": "资金账户ID",
  27548. "type": "integer"
  27549. },
  27550. "parentaccountcode": {
  27551. "description": "所属根账号代码(母账号代码)",
  27552. "type": "string"
  27553. },
  27554. "parentaccountid": {
  27555. "description": "所属根账号(母账号)",
  27556. "type": "integer"
  27557. },
  27558. "taname": {
  27559. "description": "资金账号名称",
  27560. "type": "string"
  27561. },
  27562. "tradestatus": {
  27563. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  27564. "type": "integer"
  27565. },
  27566. "username": {
  27567. "description": "交易用户",
  27568. "type": "string"
  27569. }
  27570. }
  27571. },
  27572. "models.Ermcp3TaFutuReDataReport": {
  27573. "type": "object",
  27574. "properties": {
  27575. "accountid": {
  27576. "description": "交易账户",
  27577. "type": "integer"
  27578. },
  27579. "accountname": {
  27580. "description": "交易账号名称",
  27581. "type": "string"
  27582. },
  27583. "agreeunit": {
  27584. "description": "商品合约单位",
  27585. "type": "number"
  27586. },
  27587. "begindate": {
  27588. "description": "开始交易日",
  27589. "type": "string"
  27590. },
  27591. "buyorsell": {
  27592. "description": "持仓方向",
  27593. "type": "integer"
  27594. },
  27595. "charge": {
  27596. "description": "手续费",
  27597. "type": "number"
  27598. },
  27599. "closeavgprice": {
  27600. "description": "期初均价",
  27601. "type": "number"
  27602. },
  27603. "closepl": {
  27604. "description": "平仓损益",
  27605. "type": "number"
  27606. },
  27607. "currencyid": {
  27608. "description": "结算币种ID",
  27609. "type": "integer"
  27610. },
  27611. "currencyname": {
  27612. "description": "币种名称",
  27613. "type": "string"
  27614. },
  27615. "cycletime": {
  27616. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27617. "type": "string"
  27618. },
  27619. "cycletype": {
  27620. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27621. "type": "integer"
  27622. },
  27623. "enddate": {
  27624. "description": "结束交易日",
  27625. "type": "string"
  27626. },
  27627. "enumdicname": {
  27628. "description": "单位名称",
  27629. "type": "string"
  27630. },
  27631. "floatpl": {
  27632. "description": "浮动损益",
  27633. "type": "number"
  27634. },
  27635. "goodscode": {
  27636. "description": "交易合约代码",
  27637. "type": "string"
  27638. },
  27639. "goodsgroupid": {
  27640. "description": "交易品种",
  27641. "type": "integer"
  27642. },
  27643. "goodsgroupname": {
  27644. "description": "交易品种名称",
  27645. "type": "string"
  27646. },
  27647. "goodsgroupspotqty": {
  27648. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  27649. "type": "number"
  27650. },
  27651. "goodsid": {
  27652. "description": "交易合约",
  27653. "type": "integer"
  27654. },
  27655. "goodsname": {
  27656. "description": "交易合约名称",
  27657. "type": "string"
  27658. },
  27659. "goodunitid": {
  27660. "description": "交易合约单位id",
  27661. "type": "integer"
  27662. },
  27663. "holdamount": {
  27664. "description": "期末持仓额",
  27665. "type": "number"
  27666. },
  27667. "holdqty": {
  27668. "description": "期初均价",
  27669. "type": "number"
  27670. },
  27671. "lastholdamount": {
  27672. "description": "当前持仓额",
  27673. "type": "number"
  27674. },
  27675. "lastprice": {
  27676. "description": "最新价",
  27677. "type": "number"
  27678. },
  27679. "middlegoodsid": {
  27680. "description": "套保品种id",
  27681. "type": "integer"
  27682. },
  27683. "middlegoodsname": {
  27684. "description": "套保商品名称",
  27685. "type": "string"
  27686. },
  27687. "middlegoodsqty": {
  27688. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  27689. "type": "number"
  27690. },
  27691. "middlgoodscode": {
  27692. "description": "套保商品代码",
  27693. "type": "string"
  27694. },
  27695. "openamount": {
  27696. "description": "期末开仓额",
  27697. "type": "number"
  27698. },
  27699. "openavgprice": {
  27700. "description": "期初均价",
  27701. "type": "number"
  27702. },
  27703. "oriholdamount": {
  27704. "description": "期初持仓额",
  27705. "type": "number"
  27706. },
  27707. "oriholdqty": {
  27708. "description": "期初均价",
  27709. "type": "number"
  27710. },
  27711. "oriopenamount": {
  27712. "description": "期初开仓额",
  27713. "type": "number"
  27714. },
  27715. "outergroupcode": {
  27716. "description": "交易品种代码",
  27717. "type": "string"
  27718. },
  27719. "qtydecimalplace": {
  27720. "description": "成交量小数位",
  27721. "type": "integer"
  27722. },
  27723. "reckondate": {
  27724. "description": "日照时期(yyyyMMdd)",
  27725. "type": "string"
  27726. },
  27727. "reckonholdamount": {
  27728. "description": "结算持仓额",
  27729. "type": "number"
  27730. },
  27731. "reckonpl": {
  27732. "description": "结算损益",
  27733. "type": "number"
  27734. },
  27735. "reckonpl2": {
  27736. "description": "结算逐笔盈亏",
  27737. "type": "number"
  27738. },
  27739. "reckonprice": {
  27740. "description": "结算价",
  27741. "type": "number"
  27742. },
  27743. "relateduserid": {
  27744. "description": "账户关联用户ID",
  27745. "type": "integer"
  27746. },
  27747. "todaycloseamount": {
  27748. "description": "今平仓额",
  27749. "type": "number"
  27750. },
  27751. "todaycloseqty": {
  27752. "description": "期初均价",
  27753. "type": "number"
  27754. },
  27755. "todaygoodsgroupspotqty": {
  27756. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  27757. "type": "number"
  27758. },
  27759. "todaymiddlegoodsqty": {
  27760. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  27761. "type": "number"
  27762. },
  27763. "todayopenamount": {
  27764. "description": "今开仓额",
  27765. "type": "number"
  27766. },
  27767. "todayopenqty": {
  27768. "description": "期初均价",
  27769. "type": "number"
  27770. },
  27771. "userid": {
  27772. "description": "账户所属用户ID",
  27773. "type": "integer"
  27774. }
  27775. }
  27776. },
  27777. "models.Ermcp3TradeLinkDetail": {
  27778. "type": "object",
  27779. "properties": {
  27780. "accountid": {
  27781. "description": "资金账号",
  27782. "type": "integer"
  27783. },
  27784. "agreeunit": {
  27785. "description": "合约乘数",
  27786. "type": "number"
  27787. },
  27788. "areauserid": {
  27789. "description": "所属机构",
  27790. "type": "string"
  27791. },
  27792. "bizsubjectid": {
  27793. "description": "归属业务部门ID - SubjectID",
  27794. "type": "string"
  27795. },
  27796. "buyorsell": {
  27797. "description": "方向 - 0:买 1:卖",
  27798. "type": "integer"
  27799. },
  27800. "channelbuildtype": {
  27801. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27802. "type": "integer"
  27803. },
  27804. "contractno": {
  27805. "description": "现货编号 (合同编号)",
  27806. "type": "string"
  27807. },
  27808. "convertratio": {
  27809. "description": "折算系数",
  27810. "type": "number"
  27811. },
  27812. "createtime": {
  27813. "description": "关联时间 | 创建时间",
  27814. "type": "string"
  27815. },
  27816. "creatorid": {
  27817. "description": "创建人ID",
  27818. "type": "string"
  27819. },
  27820. "creatorsrc": {
  27821. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27822. "type": "integer"
  27823. },
  27824. "enumdicname": {
  27825. "description": "单位名称",
  27826. "type": "string"
  27827. },
  27828. "goodscode": {
  27829. "description": "合约代码",
  27830. "type": "string"
  27831. },
  27832. "goodsgroupid": {
  27833. "description": "对冲品种ID[期货合约商品组ID]",
  27834. "type": "integer"
  27835. },
  27836. "goodsid": {
  27837. "description": "商品ID",
  27838. "type": "integer"
  27839. },
  27840. "goodsname": {
  27841. "description": "合约名称",
  27842. "type": "string"
  27843. },
  27844. "hedgeflag": {
  27845. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  27846. "type": "integer"
  27847. },
  27848. "linkdetailid": {
  27849. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27850. "type": "string"
  27851. },
  27852. "linkstatus": {
  27853. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27854. "type": "integer"
  27855. },
  27856. "middlegoodscode": {
  27857. "description": "套保品种代码",
  27858. "type": "string"
  27859. },
  27860. "middlegoodsid": {
  27861. "description": "套保品种ID",
  27862. "type": "integer"
  27863. },
  27864. "middlegoodsname": {
  27865. "description": "套保品种名称",
  27866. "type": "string"
  27867. },
  27868. "relatedlot": {
  27869. "description": "关联手数",
  27870. "type": "number"
  27871. },
  27872. "relatedmode": {
  27873. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27874. "type": "integer"
  27875. },
  27876. "relatedqty": {
  27877. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27878. "type": "number"
  27879. },
  27880. "retcode": {
  27881. "description": "返回码",
  27882. "type": "integer"
  27883. },
  27884. "saleuserid": {
  27885. "description": "业务员ID",
  27886. "type": "string"
  27887. },
  27888. "spotcontractid": {
  27889. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27890. "type": "string"
  27891. },
  27892. "taname": {
  27893. "description": "期货账户",
  27894. "type": "string"
  27895. },
  27896. "tradedate": {
  27897. "description": "关联交易日(yyyyMMdd)",
  27898. "type": "string"
  27899. },
  27900. "tradeid": {
  27901. "description": "期货订单号 | 内部成交单ID",
  27902. "type": "string"
  27903. },
  27904. "tradelot": {
  27905. "description": "成交数量 | 成交手数",
  27906. "type": "integer"
  27907. },
  27908. "tradeprice": {
  27909. "description": "成交价格",
  27910. "type": "number"
  27911. },
  27912. "tradetime": {
  27913. "description": "期货成交时间",
  27914. "type": "string"
  27915. },
  27916. "tradetradedate": {
  27917. "description": "成交交易日(yyyyMMdd)",
  27918. "type": "string"
  27919. },
  27920. "username": {
  27921. "description": "用户名称",
  27922. "type": "string"
  27923. }
  27924. }
  27925. },
  27926. "models.Ermcp3Wrstandard": {
  27927. "type": "object",
  27928. "properties": {
  27929. "areauserid": {
  27930. "description": "所属机构",
  27931. "type": "integer"
  27932. },
  27933. "cantrade": {
  27934. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27935. "type": "integer"
  27936. },
  27937. "convertfactor": {
  27938. "description": "标仓系数",
  27939. "type": "number"
  27940. },
  27941. "createtime": {
  27942. "description": "创建时间",
  27943. "type": "string"
  27944. },
  27945. "creatorid": {
  27946. "description": "创建人",
  27947. "type": "integer"
  27948. },
  27949. "deliverygoodsid": {
  27950. "description": "现货品种ID",
  27951. "type": "integer"
  27952. },
  27953. "enumdicname": {
  27954. "description": "品类单位名称",
  27955. "type": "string"
  27956. },
  27957. "isvalid": {
  27958. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27959. "type": "integer"
  27960. },
  27961. "minivalue": {
  27962. "description": "最小变动值",
  27963. "type": "integer"
  27964. },
  27965. "minivaluedp": {
  27966. "description": "最小变动值小数位",
  27967. "type": "integer"
  27968. },
  27969. "realminivalue": {
  27970. "description": "实际最小变动值",
  27971. "type": "integer"
  27972. },
  27973. "realminivaluedp": {
  27974. "description": "实际最小变动值小数位",
  27975. "type": "integer"
  27976. },
  27977. "remark": {
  27978. "description": "备注",
  27979. "type": "string"
  27980. },
  27981. "unitid": {
  27982. "description": "品类单位ID",
  27983. "type": "integer"
  27984. },
  27985. "updatetime": {
  27986. "description": "更新时间",
  27987. "type": "string"
  27988. },
  27989. "wrstandardcode": {
  27990. "description": "品类代码",
  27991. "type": "string"
  27992. },
  27993. "wrstandardid": {
  27994. "description": "品类ID(SEQ_WRSTANDARD)",
  27995. "type": "integer"
  27996. },
  27997. "wrstandardname": {
  27998. "description": "品类名称",
  27999. "type": "string"
  28000. }
  28001. }
  28002. },
  28003. "models.Ermcp8EnableHedgeditem": {
  28004. "type": "object",
  28005. "properties": {
  28006. "accountname": {
  28007. "description": "套期主体",
  28008. "type": "string"
  28009. },
  28010. "hedgeditemid": {
  28011. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  28012. "type": "string"
  28013. },
  28014. "hedgeditemname": {
  28015. "description": "项目名称",
  28016. "type": "string"
  28017. },
  28018. "hedgeditemnum": {
  28019. "description": "项目编号",
  28020. "type": "string"
  28021. },
  28022. "hedgedtype": {
  28023. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28024. "type": "integer"
  28025. },
  28026. "planenddate": {
  28027. "description": "计划结束日期",
  28028. "type": "string"
  28029. },
  28030. "planstartdate": {
  28031. "description": "计划开始日期",
  28032. "type": "string"
  28033. },
  28034. "wrstandardid": {
  28035. "description": "现货商品ID",
  28036. "type": "integer"
  28037. },
  28038. "wrstandardname": {
  28039. "description": "现货商品",
  28040. "type": "string"
  28041. }
  28042. }
  28043. },
  28044. "models.Ermcp8HedgeditemReport": {
  28045. "type": "object",
  28046. "properties": {
  28047. "accountname": {
  28048. "description": "套期主体",
  28049. "type": "string"
  28050. },
  28051. "areauserid": {
  28052. "description": "企业ID",
  28053. "type": "integer"
  28054. },
  28055. "curprice": {
  28056. "description": "[当日现货市场价]当前市场价",
  28057. "type": "number"
  28058. },
  28059. "enumdicname": {
  28060. "description": "单位",
  28061. "type": "string"
  28062. },
  28063. "exeamount": {
  28064. "description": "[执行现货金额]执行市价总额",
  28065. "type": "number"
  28066. },
  28067. "exeavgprice": {
  28068. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  28069. "type": "number"
  28070. },
  28071. "exeqty": {
  28072. "description": "[执行数量]执行现货量",
  28073. "type": "number"
  28074. },
  28075. "futurehedgepl": {
  28076. "description": "期货实际损益",
  28077. "type": "number"
  28078. },
  28079. "futurehedgeplchange": {
  28080. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  28081. "type": "number"
  28082. },
  28083. "futurepl": {
  28084. "description": "期货套期损益",
  28085. "type": "number"
  28086. },
  28087. "futureplchange": {
  28088. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  28089. "type": "number"
  28090. },
  28091. "hedgeamount": {
  28092. "description": "[套期现货金额]套期市价总额",
  28093. "type": "number"
  28094. },
  28095. "hedgeditemnum": {
  28096. "description": "项目编号,模糊查询",
  28097. "type": "string"
  28098. },
  28099. "hedgeditemstatus": {
  28100. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28101. "type": "integer"
  28102. },
  28103. "hedgedtype": {
  28104. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28105. "type": "integer"
  28106. },
  28107. "hedgeqty": {
  28108. "description": "[套期数量]套期现货量",
  28109. "type": "number"
  28110. },
  28111. "oriavgprice": {
  28112. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  28113. "type": "number"
  28114. },
  28115. "orifuturehedgepl": {
  28116. "description": "期初期货实际损益",
  28117. "type": "number"
  28118. },
  28119. "orifuturepl": {
  28120. "description": "期初期货套期损益",
  28121. "type": "number"
  28122. },
  28123. "orispothedgepl": {
  28124. "description": "期初现货实际损益",
  28125. "type": "number"
  28126. },
  28127. "orispotpl": {
  28128. "description": "期初现货套期损益",
  28129. "type": "number"
  28130. },
  28131. "planenddate": {
  28132. "description": "计划结束日期",
  28133. "type": "string"
  28134. },
  28135. "planstartdate": {
  28136. "description": "计划开始日期",
  28137. "type": "string"
  28138. },
  28139. "spothedgepl": {
  28140. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28141. "type": "number"
  28142. },
  28143. "spothedgeplchange": {
  28144. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  28145. "type": "number"
  28146. },
  28147. "spotpl": {
  28148. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28149. "type": "number"
  28150. },
  28151. "spotplchange": {
  28152. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  28153. "type": "number"
  28154. },
  28155. "tradeuserid": {
  28156. "description": "交易用户ID",
  28157. "type": "integer"
  28158. },
  28159. "unexeqty": {
  28160. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28161. "type": "number"
  28162. },
  28163. "wrstandardcode": {
  28164. "description": "现货品类代码",
  28165. "type": "string"
  28166. },
  28167. "wrstandardid": {
  28168. "description": "现货商品ID",
  28169. "type": "integer"
  28170. },
  28171. "wrstandardname": {
  28172. "description": "[现货商品]现货品类名称",
  28173. "type": "string"
  28174. }
  28175. }
  28176. },
  28177. "models.Ermcp8RunningHedgeditem": {
  28178. "type": "object",
  28179. "properties": {
  28180. "accountname": {
  28181. "description": "套期主体",
  28182. "type": "string"
  28183. },
  28184. "applyid": {
  28185. "description": "申请人",
  28186. "type": "integer"
  28187. },
  28188. "applysrc": {
  28189. "description": "申请来源 - 1:管理端 2:终端",
  28190. "type": "integer"
  28191. },
  28192. "areauserid": {
  28193. "description": "企业ID",
  28194. "type": "integer"
  28195. },
  28196. "auditid": {
  28197. "description": "审核人",
  28198. "type": "integer"
  28199. },
  28200. "auditremark": {
  28201. "description": "审核备注",
  28202. "type": "string"
  28203. },
  28204. "auditsrc": {
  28205. "description": "审核来源 - 1:管理端 2:终端",
  28206. "type": "integer"
  28207. },
  28208. "audittime": {
  28209. "description": "审核时间",
  28210. "type": "string"
  28211. },
  28212. "audittradedate": {
  28213. "description": "审核交易日(yyyyMMdd)",
  28214. "type": "string"
  28215. },
  28216. "createtime": {
  28217. "description": "申请时间",
  28218. "type": "string"
  28219. },
  28220. "curprice": {
  28221. "description": "当前市场价",
  28222. "type": "number"
  28223. },
  28224. "curstock": {
  28225. "description": "期末库存量 = 采购总量 - 销售总量",
  28226. "type": "number"
  28227. },
  28228. "deliverygoodsid": {
  28229. "description": "现货品种ID",
  28230. "type": "integer"
  28231. },
  28232. "enddate": {
  28233. "description": "完成日期",
  28234. "type": "string"
  28235. },
  28236. "endtradedate": {
  28237. "description": "完成交易日",
  28238. "type": "string"
  28239. },
  28240. "enumdicname": {
  28241. "description": "单位",
  28242. "type": "string"
  28243. },
  28244. "exeamount": {
  28245. "description": "执行市价总额",
  28246. "type": "number"
  28247. },
  28248. "exeavgprice": {
  28249. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  28250. "type": "number"
  28251. },
  28252. "execontractamount": {
  28253. "description": "执行定价总额",
  28254. "type": "number"
  28255. },
  28256. "exeqty": {
  28257. "description": "执行现货量",
  28258. "type": "number"
  28259. },
  28260. "exerestamount": {
  28261. "description": "执行剩余市价总额【现货贸易】",
  28262. "type": "number"
  28263. },
  28264. "futurefloatpl": {
  28265. "description": "期货浮动损益",
  28266. "type": "number"
  28267. },
  28268. "futurehedgepl": {
  28269. "description": "期货实际损益",
  28270. "type": "number"
  28271. },
  28272. "futurehedgeplchange": {
  28273. "description": "期货实际损益变动",
  28274. "type": "number"
  28275. },
  28276. "futurepl": {
  28277. "description": "期货套期损益",
  28278. "type": "number"
  28279. },
  28280. "futureplchange": {
  28281. "description": "期货套期损益变动",
  28282. "type": "number"
  28283. },
  28284. "hedgeamount": {
  28285. "description": "套期市价总额",
  28286. "type": "number"
  28287. },
  28288. "hedgecontractamount": {
  28289. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  28290. "type": "number"
  28291. },
  28292. "hedgeditemid": {
  28293. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  28294. "type": "string"
  28295. },
  28296. "hedgeditemname": {
  28297. "description": "项目名称",
  28298. "type": "string"
  28299. },
  28300. "hedgeditemnum": {
  28301. "description": "项目编号",
  28302. "type": "string"
  28303. },
  28304. "hedgeditemstatus": {
  28305. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28306. "type": "integer"
  28307. },
  28308. "hedgedtype": {
  28309. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28310. "type": "integer"
  28311. },
  28312. "hedgeqty": {
  28313. "description": "套期现货量",
  28314. "type": "number"
  28315. },
  28316. "hedgerate": {
  28317. "description": "套保比率",
  28318. "type": "number"
  28319. },
  28320. "hedgerestamount": {
  28321. "description": "套期剩余市价总额【现货贸易】",
  28322. "type": "number"
  28323. },
  28324. "hedgesumpl": {
  28325. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  28326. "type": "number"
  28327. },
  28328. "middlegoodslist": {
  28329. "description": "套期商品列表",
  28330. "type": "array",
  28331. "items": {
  28332. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  28333. }
  28334. },
  28335. "oriavgprice": {
  28336. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  28337. "type": "number"
  28338. },
  28339. "orifuturehedgepl": {
  28340. "description": "期初期货实际损益",
  28341. "type": "number"
  28342. },
  28343. "orifuturepl": {
  28344. "description": "期初期货套期损益",
  28345. "type": "number"
  28346. },
  28347. "orispothedgepl": {
  28348. "description": "期初现货实际损益",
  28349. "type": "number"
  28350. },
  28351. "orispotpl": {
  28352. "description": "期初现货套期损益",
  28353. "type": "number"
  28354. },
  28355. "planenddate": {
  28356. "description": "计划结束日期",
  28357. "type": "string"
  28358. },
  28359. "planstartdate": {
  28360. "description": "计划开始日期",
  28361. "type": "string"
  28362. },
  28363. "remark": {
  28364. "description": "备注",
  28365. "type": "string"
  28366. },
  28367. "spotbookamount": {
  28368. "description": "现货账面总额",
  28369. "type": "number"
  28370. },
  28371. "spotfloatpl": {
  28372. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28373. "type": "number"
  28374. },
  28375. "spothedgepl": {
  28376. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28377. "type": "number"
  28378. },
  28379. "spothedgeplchange": {
  28380. "description": "现货实际损益变动",
  28381. "type": "number"
  28382. },
  28383. "spotpl": {
  28384. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28385. "type": "number"
  28386. },
  28387. "spotplchange": {
  28388. "description": "现货套期损益变动",
  28389. "type": "number"
  28390. },
  28391. "spottradepl": {
  28392. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  28393. "type": "number"
  28394. },
  28395. "sumobspl": {
  28396. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  28397. "type": "number"
  28398. },
  28399. "tradeuserid": {
  28400. "description": "交易用户ID",
  28401. "type": "integer"
  28402. },
  28403. "unexeqty": {
  28404. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28405. "type": "number"
  28406. },
  28407. "updatetime": {
  28408. "description": "更新时间",
  28409. "type": "string"
  28410. },
  28411. "vatpl": {
  28412. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  28413. "type": "number"
  28414. },
  28415. "vatrate": {
  28416. "description": "增值税",
  28417. "type": "number"
  28418. },
  28419. "wrstandardid": {
  28420. "description": "现货商品ID",
  28421. "type": "integer"
  28422. },
  28423. "wrstandardname": {
  28424. "description": "商品名称",
  28425. "type": "string"
  28426. }
  28427. }
  28428. },
  28429. "models.ErmcpBizGroupEx": {
  28430. "type": "object",
  28431. "properties": {
  28432. "acclist": {
  28433. "description": "账号列表",
  28434. "type": "array",
  28435. "items": {
  28436. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  28437. }
  28438. },
  28439. "bizgroupid": {
  28440. "description": "业务分组id",
  28441. "type": "integer"
  28442. },
  28443. "biztype": {
  28444. "description": "业务类型 1-套保 2-套利",
  28445. "type": "integer"
  28446. },
  28447. "wrlist": {
  28448. "description": "现货商品表",
  28449. "type": "array",
  28450. "items": {
  28451. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  28452. }
  28453. }
  28454. }
  28455. },
  28456. "models.ErmcpBizGroupSpotGoods": {
  28457. "type": "object",
  28458. "properties": {
  28459. "areauserid": {
  28460. "description": "所属机构id",
  28461. "type": "integer"
  28462. },
  28463. "bizgroupid": {
  28464. "description": "分组id",
  28465. "type": "integer"
  28466. },
  28467. "biztype": {
  28468. "description": "业务类型 1-套保 2-套利",
  28469. "type": "integer"
  28470. },
  28471. "deliverygoodscode": {
  28472. "description": "现货商品代码",
  28473. "type": "string"
  28474. },
  28475. "deliverygoodsid": {
  28476. "description": "现货商品id",
  28477. "type": "integer"
  28478. },
  28479. "deliverygoodsname": {
  28480. "description": "现货商品名称",
  28481. "type": "string"
  28482. },
  28483. "unitid": {
  28484. "description": "现货商品单位id",
  28485. "type": "integer"
  28486. }
  28487. }
  28488. },
  28489. "models.ErmcpBizGroupTaAccount": {
  28490. "type": "object",
  28491. "properties": {
  28492. "accountid": {
  28493. "description": "账号id",
  28494. "type": "integer"
  28495. },
  28496. "accountname": {
  28497. "description": "账号名称",
  28498. "type": "string"
  28499. },
  28500. "areauserid": {
  28501. "description": "所属机构id",
  28502. "type": "integer"
  28503. },
  28504. "bizgroupid": {
  28505. "description": "业务分组id",
  28506. "type": "integer"
  28507. },
  28508. "ismain": {
  28509. "description": "是否主账号 1-是 0-否",
  28510. "type": "integer"
  28511. }
  28512. }
  28513. },
  28514. "models.ErmcpDGFactoryItem": {
  28515. "type": "object",
  28516. "properties": {
  28517. "areauserid": {
  28518. "description": "用户id",
  28519. "type": "integer"
  28520. },
  28521. "deliverygoodsid": {
  28522. "description": "现货品种ID",
  28523. "type": "integer"
  28524. },
  28525. "dgfactoryitemid": {
  28526. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  28527. "type": "integer"
  28528. },
  28529. "dgfactoryitemtypeid": {
  28530. "description": "要素项类型",
  28531. "type": "integer"
  28532. },
  28533. "dgfactoryitemvalue": {
  28534. "description": "要素项值(类型为仓库时填写仓库名称)",
  28535. "type": "string"
  28536. },
  28537. "isvalid": {
  28538. "description": "是否有效 - 0:无效 1:有效",
  28539. "type": "integer"
  28540. },
  28541. "orderindex": {
  28542. "description": "顺序",
  28543. "type": "integer"
  28544. },
  28545. "warehouseid": {
  28546. "description": "仓库ID(类型为仓库时填写)",
  28547. "type": "integer"
  28548. }
  28549. }
  28550. },
  28551. "models.ErmcpDeliveryGoods": {
  28552. "type": "object",
  28553. "properties": {
  28554. "agreeunit": {
  28555. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  28556. "type": "integer"
  28557. },
  28558. "areauserid": {
  28559. "description": "所属机构",
  28560. "type": "integer"
  28561. },
  28562. "auditflag": {
  28563. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  28564. "type": "integer"
  28565. },
  28566. "categoryid": {
  28567. "description": "类别ID(SEQ_WRCATEGORY)",
  28568. "type": "integer"
  28569. },
  28570. "deliverygoodscode": {
  28571. "description": "现货品种代码",
  28572. "type": "string"
  28573. },
  28574. "deliverygoodsid": {
  28575. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  28576. "type": "integer"
  28577. },
  28578. "deliverygoodsname": {
  28579. "description": "现货品种名称",
  28580. "type": "string"
  28581. },
  28582. "deliverygoodstype": {
  28583. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  28584. "type": "integer"
  28585. },
  28586. "dgstatus": {
  28587. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  28588. "type": "integer"
  28589. },
  28590. "enumdicname": {
  28591. "description": "现货品种单位名称",
  28592. "type": "string"
  28593. },
  28594. "goodsunitid": {
  28595. "description": "现货品种单位ID",
  28596. "type": "integer"
  28597. },
  28598. "isvalid": {
  28599. "description": "是否有效 - 0:无效 1:有效",
  28600. "type": "integer"
  28601. },
  28602. "qtydecimalplace": {
  28603. "description": "成交量小数位",
  28604. "type": "integer"
  28605. },
  28606. "remark": {
  28607. "description": "备注",
  28608. "type": "string"
  28609. },
  28610. "standardqty": {
  28611. "description": "标准数量(库位数量) [标准品特有]",
  28612. "type": "integer"
  28613. },
  28614. "standardqtyrange": {
  28615. "description": "标准数量偏差范围 [标准品特有]",
  28616. "type": "integer"
  28617. }
  28618. }
  28619. },
  28620. "models.ErmcpFuturesCompany": {
  28621. "type": "object",
  28622. "properties": {
  28623. "brokerid": {
  28624. "description": "经纪公司代码",
  28625. "type": "string"
  28626. },
  28627. "channeladdress": {
  28628. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  28629. "type": "string"
  28630. },
  28631. "channelid": {
  28632. "description": "对冲渠道ID",
  28633. "type": "string"
  28634. },
  28635. "createtime": {
  28636. "description": "创建时间",
  28637. "type": "string"
  28638. },
  28639. "creatorid": {
  28640. "description": "创建人",
  28641. "type": "string"
  28642. },
  28643. "fcid": {
  28644. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  28645. "type": "integer"
  28646. },
  28647. "fcname": {
  28648. "description": "期货公司名称",
  28649. "type": "string"
  28650. },
  28651. "isvalid": {
  28652. "description": "是否有效 - 0:无效 1:有效",
  28653. "type": "integer"
  28654. },
  28655. "mhpaddress": {
  28656. "description": "MHP服务地址(IP:Port)",
  28657. "type": "string"
  28658. },
  28659. "riskrulegroupid": {
  28660. "description": "风控规则组ID",
  28661. "type": "string"
  28662. },
  28663. "tradefeetmpid": {
  28664. "description": "手续费模板ID[TradeConfigTmpType为2]",
  28665. "type": "string"
  28666. },
  28667. "trademargintmpid": {
  28668. "description": "保证金模板ID [TradeConfigTmpType为1]",
  28669. "type": "string"
  28670. },
  28671. "traderatetmpid": {
  28672. "description": "汇率模板ID[TradeConfigTmpType为3]",
  28673. "type": "string"
  28674. },
  28675. "updatetime": {
  28676. "description": "更新时间",
  28677. "type": "string"
  28678. },
  28679. "updatorid": {
  28680. "description": "更新人",
  28681. "type": "string"
  28682. }
  28683. }
  28684. },
  28685. "models.ErmcpGGConvertCfg": {
  28686. "type": "object",
  28687. "properties": {
  28688. "convertratio": {
  28689. "description": "折算系数",
  28690. "type": "number"
  28691. },
  28692. "destgoodsgroupid": {
  28693. "description": "目标品种ID",
  28694. "type": "integer"
  28695. },
  28696. "dstcode": {
  28697. "description": "目录品种代码",
  28698. "type": "string"
  28699. },
  28700. "dstexchangecode": {
  28701. "description": "目标期货交易所",
  28702. "type": "string"
  28703. },
  28704. "dstname": {
  28705. "description": "目标品种名称",
  28706. "type": "string"
  28707. },
  28708. "dstunitid": {
  28709. "description": "目标品种单位ID",
  28710. "type": "integer"
  28711. },
  28712. "dstunitidname": {
  28713. "description": "目标品种单位名称",
  28714. "type": "string"
  28715. },
  28716. "modifytime": {
  28717. "description": "修改时间",
  28718. "type": "string"
  28719. },
  28720. "srccode": {
  28721. "description": "源品种代码",
  28722. "type": "string"
  28723. },
  28724. "srcexchangecode": {
  28725. "description": "源期货交易所",
  28726. "type": "string"
  28727. },
  28728. "srcgoodsgroupid": {
  28729. "description": "源品种ID",
  28730. "type": "integer"
  28731. },
  28732. "srcname": {
  28733. "description": "源品种名称",
  28734. "type": "string"
  28735. },
  28736. "srcunitid": {
  28737. "description": "源品种单位ID",
  28738. "type": "integer"
  28739. },
  28740. "srcunitidname": {
  28741. "description": "源品种单位名称",
  28742. "type": "string"
  28743. }
  28744. }
  28745. },
  28746. "models.ErmcpGoods": {
  28747. "type": "object",
  28748. "required": [
  28749. "goodscode",
  28750. "goodsid",
  28751. "goodsname",
  28752. "marketid"
  28753. ],
  28754. "properties": {
  28755. "agreeunit": {
  28756. "description": "合约单位",
  28757. "type": "number"
  28758. },
  28759. "areauserid": {
  28760. "description": "所属机构",
  28761. "type": "integer"
  28762. },
  28763. "auditaccountid": {
  28764. "description": "审核操作员账号",
  28765. "type": "integer"
  28766. },
  28767. "audittime": {
  28768. "description": "审核时间",
  28769. "type": "string"
  28770. },
  28771. "cancelaccountid": {
  28772. "description": "注销操作员账号",
  28773. "type": "integer"
  28774. },
  28775. "canceltime": {
  28776. "description": "注销时间",
  28777. "type": "string"
  28778. },
  28779. "closepricemode": {
  28780. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28781. "type": "integer"
  28782. },
  28783. "closepriceparam": {
  28784. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28785. "type": "number"
  28786. },
  28787. "createtime": {
  28788. "description": "创建时间",
  28789. "type": "string"
  28790. },
  28791. "creatorid": {
  28792. "description": "创建人",
  28793. "type": "integer"
  28794. },
  28795. "currencyid": {
  28796. "description": "报价货币ID",
  28797. "type": "integer"
  28798. },
  28799. "cutmode": {
  28800. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28801. "type": "integer"
  28802. },
  28803. "decimalplace": {
  28804. "description": "报价小数位",
  28805. "type": "integer"
  28806. },
  28807. "delistingdate": {
  28808. "description": "商品退市时间(状态:退市) -- 已作废",
  28809. "type": "string"
  28810. },
  28811. "delistingmode": {
  28812. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28813. "type": "integer"
  28814. },
  28815. "deliveryflag": {
  28816. "description": "交割标志 - 0:不可交割 1:可交割",
  28817. "type": "integer"
  28818. },
  28819. "enumdicname": {
  28820. "description": "单位名称",
  28821. "type": "string"
  28822. },
  28823. "forceclosemode": {
  28824. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28825. "type": "integer"
  28826. },
  28827. "forceclosevalue": {
  28828. "description": "定期强平参数 [收益权]",
  28829. "type": "integer"
  28830. },
  28831. "goodscode": {
  28832. "description": "商品代码(内部)",
  28833. "type": "string"
  28834. },
  28835. "goodscurrencyid": {
  28836. "description": "合约货币ID",
  28837. "type": "integer"
  28838. },
  28839. "goodsgroupid": {
  28840. "description": "所属商品组ID",
  28841. "type": "integer"
  28842. },
  28843. "goodsid": {
  28844. "description": "商品ID(自增ID SEQ_GOODS)",
  28845. "type": "integer"
  28846. },
  28847. "goodsname": {
  28848. "description": "商品名称",
  28849. "type": "string"
  28850. },
  28851. "goodsquotetype": {
  28852. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28853. "type": "integer"
  28854. },
  28855. "goodsstatus": {
  28856. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28857. "type": "integer"
  28858. },
  28859. "goodstradetype": {
  28860. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28861. "type": "integer"
  28862. },
  28863. "goodunitid": {
  28864. "description": "报价单位ID",
  28865. "type": "integer"
  28866. },
  28867. "hasquoter": {
  28868. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28869. "type": "integer"
  28870. },
  28871. "hqprotecttime": {
  28872. "description": "行情保护时间(秒)",
  28873. "type": "integer"
  28874. },
  28875. "innerdealmode": {
  28876. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28877. "type": "integer"
  28878. },
  28879. "isbuylimited": {
  28880. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28881. "type": "integer"
  28882. },
  28883. "isvisible": {
  28884. "description": "游客是否可见 - 0:不可见 1:可见",
  28885. "type": "integer"
  28886. },
  28887. "lasttradedate": {
  28888. "description": "最后交易日期(状态:待退市)",
  28889. "type": "string"
  28890. },
  28891. "listingdate": {
  28892. "description": "交易开始日期",
  28893. "type": "string"
  28894. },
  28895. "marketid": {
  28896. "description": "所属市场ID",
  28897. "type": "integer"
  28898. },
  28899. "modifierid": {
  28900. "description": "修改人",
  28901. "type": "integer"
  28902. },
  28903. "modifystatus": {
  28904. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28905. "type": "integer"
  28906. },
  28907. "modifytime": {
  28908. "description": "修改时间",
  28909. "type": "string"
  28910. },
  28911. "outerdealmode": {
  28912. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28913. "type": "integer"
  28914. },
  28915. "outgoodscode": {
  28916. "description": "商品代码(外部)",
  28917. "type": "string"
  28918. },
  28919. "pictureurl": {
  28920. "description": "商品图片",
  28921. "type": "string"
  28922. },
  28923. "qtydecimalplace": {
  28924. "description": "成交量小数位",
  28925. "type": "integer"
  28926. },
  28927. "quotegear": {
  28928. "description": "行情档位(1-10)",
  28929. "type": "integer"
  28930. },
  28931. "quoteminunit": {
  28932. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28933. "type": "integer"
  28934. },
  28935. "quoteshowtype": {
  28936. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28937. "type": "integer"
  28938. },
  28939. "quoteshowtypeinterval": {
  28940. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28941. "type": "integer"
  28942. },
  28943. "relatedgoodsid": {
  28944. "description": "关联参考商品ID",
  28945. "type": "integer"
  28946. },
  28947. "remark": {
  28948. "description": "备注",
  28949. "type": "string"
  28950. },
  28951. "trademode": {
  28952. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28953. "type": "integer"
  28954. }
  28955. }
  28956. },
  28957. "models.ErmcpGoodsBrand": {
  28958. "type": "object",
  28959. "properties": {
  28960. "areauserid": {
  28961. "description": "所属机构",
  28962. "type": "integer"
  28963. },
  28964. "brandid": {
  28965. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28966. "type": "integer"
  28967. },
  28968. "brandname": {
  28969. "description": "品牌名称",
  28970. "type": "string"
  28971. },
  28972. "createtime": {
  28973. "description": "创建时间",
  28974. "type": "string"
  28975. },
  28976. "creatorid": {
  28977. "description": "创建人",
  28978. "type": "integer"
  28979. },
  28980. "creatorsrc": {
  28981. "description": "创建人来源 - 1:管理端 2:终端",
  28982. "type": "integer"
  28983. },
  28984. "deliverygoodsid": {
  28985. "description": "现货品种ID",
  28986. "type": "integer"
  28987. },
  28988. "isvalid": {
  28989. "description": "是否有效 - 0:无效 1:有效",
  28990. "type": "integer"
  28991. },
  28992. "updatetime": {
  28993. "description": "更新时间",
  28994. "type": "string"
  28995. },
  28996. "updatorid": {
  28997. "description": "更新人",
  28998. "type": "integer"
  28999. },
  29000. "updatorsrc": {
  29001. "description": "更新人来源 - 1:管理端 2:终端",
  29002. "type": "integer"
  29003. },
  29004. "wrstandardid": {
  29005. "description": "现货商品ID",
  29006. "type": "integer"
  29007. }
  29008. }
  29009. },
  29010. "models.ErmcpGoodsModel": {
  29011. "type": "object",
  29012. "properties": {
  29013. "areauserid": {
  29014. "description": "所属机构",
  29015. "type": "integer"
  29016. },
  29017. "convertfactor": {
  29018. "description": "标仓系数",
  29019. "type": "number"
  29020. },
  29021. "createtime": {
  29022. "description": "创建时间",
  29023. "type": "string"
  29024. },
  29025. "creatorid": {
  29026. "description": "创建人",
  29027. "type": "integer"
  29028. },
  29029. "creatorsrc": {
  29030. "description": "创建人来源 - 1:管理端 2:终端",
  29031. "type": "integer"
  29032. },
  29033. "deliverygoodsid": {
  29034. "description": "现货品种ID",
  29035. "type": "integer"
  29036. },
  29037. "isvalid": {
  29038. "description": "是否有效 - 0:无效 1:有效",
  29039. "type": "integer"
  29040. },
  29041. "modelid": {
  29042. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  29043. "type": "integer"
  29044. },
  29045. "modelname": {
  29046. "description": "型号名称",
  29047. "type": "string"
  29048. },
  29049. "updatetime": {
  29050. "description": "更新时间",
  29051. "type": "string"
  29052. },
  29053. "updatorid": {
  29054. "description": "更新人",
  29055. "type": "integer"
  29056. },
  29057. "updatorsrc": {
  29058. "description": "更新人来源 - 1:管理端 2:终端",
  29059. "type": "integer"
  29060. },
  29061. "wrstandardid": {
  29062. "description": "现货商品ID",
  29063. "type": "integer"
  29064. }
  29065. }
  29066. },
  29067. "models.ErmcpHisExposure": {
  29068. "type": "object",
  29069. "properties": {
  29070. "needhedgeexposoure": {
  29071. "description": "应套保敞口",
  29072. "type": "number"
  29073. },
  29074. "reckondate": {
  29075. "description": "日照时期(yyyyMMdd)",
  29076. "type": "string"
  29077. },
  29078. "totalexposure": {
  29079. "description": "总敞口",
  29080. "type": "number"
  29081. }
  29082. }
  29083. },
  29084. "models.ErmcpLoginTaAccount": {
  29085. "type": "object",
  29086. "properties": {
  29087. "accountid": {
  29088. "description": "账号id",
  29089. "type": "integer"
  29090. },
  29091. "accountname": {
  29092. "description": "账号名称",
  29093. "type": "string"
  29094. }
  29095. }
  29096. },
  29097. "models.ErmcpLoginUser": {
  29098. "type": "object",
  29099. "properties": {
  29100. "acclist": {
  29101. "description": "关联资金账号",
  29102. "type": "array",
  29103. "items": {
  29104. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  29105. }
  29106. },
  29107. "accountname": {
  29108. "description": "用户名称",
  29109. "type": "string"
  29110. },
  29111. "clientroleid": {
  29112. "description": "角色id(usertype=2)",
  29113. "type": "integer"
  29114. },
  29115. "createtime": {
  29116. "description": "创建时间",
  29117. "type": "string"
  29118. },
  29119. "logincode": {
  29120. "description": "登录代码",
  29121. "type": "string"
  29122. },
  29123. "loginid": {
  29124. "description": "登录id(LOGINID)",
  29125. "type": "integer"
  29126. },
  29127. "loginname": {
  29128. "description": "登录名称(loginaccount表中的accountname字段)",
  29129. "type": "string"
  29130. },
  29131. "loginstatus": {
  29132. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  29133. "type": "integer"
  29134. },
  29135. "memberuserid": {
  29136. "description": "所属会员id",
  29137. "type": "integer"
  29138. },
  29139. "mobile": {
  29140. "description": "手机号",
  29141. "type": "string"
  29142. },
  29143. "modifytime": {
  29144. "description": "修改时间",
  29145. "type": "string"
  29146. },
  29147. "password": {
  29148. "description": "密码(不可解密)",
  29149. "type": "string"
  29150. },
  29151. "rolename": {
  29152. "description": "角色名称",
  29153. "type": "string"
  29154. },
  29155. "rolestatus": {
  29156. "description": "角色状态 1-启用 2-停用",
  29157. "type": "integer"
  29158. },
  29159. "roletype": {
  29160. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  29161. "type": "string"
  29162. },
  29163. "userid": {
  29164. "description": "用户id",
  29165. "type": "integer"
  29166. },
  29167. "usertype": {
  29168. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29169. "type": "integer"
  29170. }
  29171. }
  29172. },
  29173. "models.ErmcpLoginUserEx": {
  29174. "type": "object",
  29175. "properties": {
  29176. "accountstatus": {
  29177. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29178. "type": "integer"
  29179. },
  29180. "mobile": {
  29181. "description": "手机号",
  29182. "type": "string"
  29183. },
  29184. "querytype": {
  29185. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  29186. "type": "integer"
  29187. },
  29188. "roleid": {
  29189. "description": "角色id(交易账户-\u003e用户id)",
  29190. "type": "integer"
  29191. },
  29192. "rolename": {
  29193. "description": "角色名称(交易账户-\u003e用户名称)",
  29194. "type": "string"
  29195. },
  29196. "userlist": {
  29197. "description": "用户列表",
  29198. "type": "array",
  29199. "items": {
  29200. "$ref": "#/definitions/models.ErmcpLoginUser"
  29201. }
  29202. },
  29203. "usertype": {
  29204. "description": "用户类型 2-机构 7-企业成员(云平台)",
  29205. "type": "integer"
  29206. }
  29207. }
  29208. },
  29209. "models.ErmcpMiddleGoodsModel": {
  29210. "type": "object",
  29211. "properties": {
  29212. "areauserid": {
  29213. "description": "机构用户ID",
  29214. "type": "integer"
  29215. },
  29216. "createtime": {
  29217. "description": "修改时间",
  29218. "type": "string"
  29219. },
  29220. "enumdicname": {
  29221. "description": "单位名称",
  29222. "type": "string"
  29223. },
  29224. "evaluateratio": {
  29225. "description": "估价系数",
  29226. "type": "number"
  29227. },
  29228. "goodsgroupid": {
  29229. "description": "关联期货品种ID",
  29230. "type": "integer"
  29231. },
  29232. "goodsunitid": {
  29233. "description": "单位ID",
  29234. "type": "integer"
  29235. },
  29236. "isvalid": {
  29237. "description": "状态 0-无效(停用) 1-有效(正常)",
  29238. "type": "integer"
  29239. },
  29240. "middlegoodscode": {
  29241. "description": "套保品种代码",
  29242. "type": "string"
  29243. },
  29244. "middlegoodsid": {
  29245. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  29246. "type": "integer"
  29247. },
  29248. "middlegoodsname": {
  29249. "description": "套保品种名称",
  29250. "type": "string"
  29251. },
  29252. "modifytime": {
  29253. "description": "修改时间",
  29254. "type": "string"
  29255. },
  29256. "needarbitrageratio": {
  29257. "description": "套利比例",
  29258. "type": "number"
  29259. },
  29260. "needhedgeratio": {
  29261. "description": "套保比率",
  29262. "type": "number"
  29263. },
  29264. "qtydecimalplace": {
  29265. "description": "数量小数位",
  29266. "type": "integer"
  29267. },
  29268. "relatedgoodsid": {
  29269. "description": "关联交易商品ID",
  29270. "type": "integer"
  29271. },
  29272. "relatedgoodstype": {
  29273. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  29274. "type": "integer"
  29275. },
  29276. "remark": {
  29277. "description": "备注",
  29278. "type": "string"
  29279. }
  29280. }
  29281. },
  29282. "models.ErmcpMiddlegoodsRelateGoods": {
  29283. "type": "object",
  29284. "properties": {
  29285. "agreeunit": {
  29286. "description": "合约乘数",
  29287. "type": "number"
  29288. },
  29289. "convertratio": {
  29290. "description": "折算系数",
  29291. "type": "number"
  29292. },
  29293. "enumdicname": {
  29294. "description": "单位名称(交易商品)",
  29295. "type": "string"
  29296. },
  29297. "goodscode": {
  29298. "description": "交易商品代码",
  29299. "type": "string"
  29300. },
  29301. "goodsgroupid": {
  29302. "description": "交易品种id",
  29303. "type": "integer"
  29304. },
  29305. "goodsid": {
  29306. "description": "商品Id",
  29307. "type": "integer"
  29308. },
  29309. "goodsname": {
  29310. "description": "交易商品名称",
  29311. "type": "string"
  29312. },
  29313. "goodunitid": {
  29314. "description": "交易商品单位id",
  29315. "type": "integer"
  29316. },
  29317. "middlegoodsid": {
  29318. "description": "套保商品id",
  29319. "type": "integer"
  29320. },
  29321. "middlegoodsname": {
  29322. "description": "套保商品名称",
  29323. "type": "string"
  29324. },
  29325. "middlegoodsswcode": {
  29326. "description": "套保商品代码",
  29327. "type": "string"
  29328. },
  29329. "needarbitrageratio": {
  29330. "description": "应套利比例",
  29331. "type": "number"
  29332. },
  29333. "needhedgeratio": {
  29334. "description": "应套保比例",
  29335. "type": "number"
  29336. }
  29337. }
  29338. },
  29339. "models.ErmcpRole": {
  29340. "type": "object",
  29341. "properties": {
  29342. "areauserid": {
  29343. "description": "所属机构",
  29344. "type": "integer"
  29345. },
  29346. "autoid": {
  29347. "description": "角色ID(自增ID)",
  29348. "type": "integer"
  29349. },
  29350. "modifierid": {
  29351. "description": "修改人(创建人)",
  29352. "type": "integer"
  29353. },
  29354. "modifiername": {
  29355. "description": "修改人名称",
  29356. "type": "string"
  29357. },
  29358. "modifytime": {
  29359. "description": "修改时间(创建时间)",
  29360. "type": "string"
  29361. },
  29362. "rolename": {
  29363. "description": "角色名称",
  29364. "type": "string"
  29365. },
  29366. "rolestatus": {
  29367. "description": "角色状态 - 1:启用 2:停用",
  29368. "type": "integer"
  29369. },
  29370. "roletype": {
  29371. "description": "角色类型 - 1- 管理端 2- 交易端",
  29372. "type": "integer"
  29373. }
  29374. }
  29375. },
  29376. "models.ErmcpRoleMenu": {
  29377. "type": "object",
  29378. "properties": {
  29379. "iconame": {
  29380. "description": "菜单图标",
  29381. "type": "string"
  29382. },
  29383. "ishadrole": {
  29384. "description": "是否有权限",
  29385. "type": "boolean"
  29386. },
  29387. "menutype": {
  29388. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  29389. "type": "integer"
  29390. },
  29391. "parentcode": {
  29392. "description": "上级资源代码",
  29393. "type": "string"
  29394. },
  29395. "remark": {
  29396. "description": "菜单备注",
  29397. "type": "string"
  29398. },
  29399. "resourcecode": {
  29400. "description": "菜单代码",
  29401. "type": "string"
  29402. },
  29403. "resourcelevel": {
  29404. "description": "级别",
  29405. "type": "integer"
  29406. },
  29407. "resourcename": {
  29408. "description": "菜单名称",
  29409. "type": "string"
  29410. },
  29411. "roleid": {
  29412. "description": "角色id",
  29413. "type": "integer"
  29414. },
  29415. "sort": {
  29416. "description": "排序",
  29417. "type": "integer"
  29418. },
  29419. "url": {
  29420. "description": "URL",
  29421. "type": "string"
  29422. },
  29423. "userid": {
  29424. "description": "用户id",
  29425. "type": "integer"
  29426. }
  29427. }
  29428. },
  29429. "models.ErmcpRoleMenuEx": {
  29430. "type": "object",
  29431. "properties": {
  29432. "menu": {
  29433. "description": "父级菜单",
  29434. "$ref": "#/definitions/models.ErmcpRoleMenu"
  29435. },
  29436. "subMenu": {
  29437. "description": "子级菜单",
  29438. "type": "array",
  29439. "items": {
  29440. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  29441. }
  29442. }
  29443. }
  29444. },
  29445. "models.ErmcpSpotContractModelEx": {
  29446. "type": "object",
  29447. "properties": {
  29448. "accountname": {
  29449. "description": "套期主体",
  29450. "type": "string"
  29451. },
  29452. "amount": {
  29453. "description": "金额 [1:一口价、3:暂定价]",
  29454. "type": "number"
  29455. },
  29456. "attachment": {
  29457. "description": "附件",
  29458. "type": "string"
  29459. },
  29460. "auditremark": {
  29461. "description": "审核意见",
  29462. "type": "string"
  29463. },
  29464. "audittime": {
  29465. "description": "审核时间",
  29466. "type": "string"
  29467. },
  29468. "avgprice": {
  29469. "description": "定价均价 = 已定价金额 / 已定价量",
  29470. "type": "number"
  29471. },
  29472. "brandname": {
  29473. "description": "品牌名称",
  29474. "type": "string"
  29475. },
  29476. "buyuserid": {
  29477. "description": "采购方ID",
  29478. "type": "integer"
  29479. },
  29480. "buyusername": {
  29481. "description": "采购方名称",
  29482. "type": "string"
  29483. },
  29484. "contracctstatus": {
  29485. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  29486. "type": "integer"
  29487. },
  29488. "contractmargin": {
  29489. "description": "合同保证金",
  29490. "type": "number"
  29491. },
  29492. "contractno": {
  29493. "description": "[合同编号]现货合同编号",
  29494. "type": "string"
  29495. },
  29496. "contracttype": {
  29497. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  29498. "type": "integer"
  29499. },
  29500. "convertfactor": {
  29501. "description": "标仓系数",
  29502. "type": "number"
  29503. },
  29504. "createtime": {
  29505. "description": "创建时间",
  29506. "type": "string"
  29507. },
  29508. "customername": {
  29509. "description": "对手方",
  29510. "type": "string"
  29511. },
  29512. "customeruserid": {
  29513. "description": "客户ID",
  29514. "type": "integer"
  29515. },
  29516. "deliveryenddate": {
  29517. "description": "交收期(结束)",
  29518. "type": "string"
  29519. },
  29520. "deliverygoodscode": {
  29521. "description": "现货品种代码",
  29522. "type": "string"
  29523. },
  29524. "deliverygoodsid": {
  29525. "description": "现货品种ID",
  29526. "type": "integer"
  29527. },
  29528. "deliverygoodsname": {
  29529. "description": "现货品种名称",
  29530. "type": "string"
  29531. },
  29532. "deliverystartdate": {
  29533. "description": "交收期(开始)",
  29534. "type": "string"
  29535. },
  29536. "enddate": {
  29537. "description": "点价结束日期 [2:点价 3:暂定价]",
  29538. "type": "string"
  29539. },
  29540. "enumdicname": {
  29541. "description": "单位名称",
  29542. "type": "string"
  29543. },
  29544. "goodscode": {
  29545. "description": "点价合约代码",
  29546. "type": "string"
  29547. },
  29548. "goodsid": {
  29549. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  29550. "type": "integer"
  29551. },
  29552. "goodsname": {
  29553. "description": "点价商品名称",
  29554. "type": "string"
  29555. },
  29556. "isrelated": {
  29557. "description": "是否已关联计划项目 - 0:否 1:是",
  29558. "type": "integer"
  29559. },
  29560. "isrelated2": {
  29561. "description": "是否已关联现货项目 - 0:否 1:是",
  29562. "type": "integer"
  29563. },
  29564. "margin": {
  29565. "description": "当前保证金",
  29566. "type": "number"
  29567. },
  29568. "modelname": {
  29569. "description": "型号名称",
  29570. "type": "string"
  29571. },
  29572. "price": {
  29573. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  29574. "type": "number"
  29575. },
  29576. "pricedamount": {
  29577. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  29578. "type": "number"
  29579. },
  29580. "pricedqty": {
  29581. "description": "已定价量",
  29582. "type": "number"
  29583. },
  29584. "pricemove": {
  29585. "description": "升贴水 [2:点价 3:暂定价]",
  29586. "type": "number"
  29587. },
  29588. "pricetype": {
  29589. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  29590. "type": "integer"
  29591. },
  29592. "producttype": {
  29593. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  29594. "type": "integer"
  29595. },
  29596. "qty": {
  29597. "description": "[合同数量]数量",
  29598. "type": "number"
  29599. },
  29600. "remark": {
  29601. "description": "备注",
  29602. "type": "string"
  29603. },
  29604. "selluserid": {
  29605. "description": "销售方ID",
  29606. "type": "integer"
  29607. },
  29608. "sellusername": {
  29609. "description": "销售方名称",
  29610. "type": "string"
  29611. },
  29612. "spotamount": {
  29613. "description": "合同现货金额 [不含升贴水]",
  29614. "type": "number"
  29615. },
  29616. "spotavgprice": {
  29617. "description": "现货均价 = 合同现货金额 / 已定价量",
  29618. "type": "number"
  29619. },
  29620. "spotcontractid": {
  29621. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  29622. "type": "string"
  29623. },
  29624. "spotgoodsbrandid": {
  29625. "description": "现货品牌ID",
  29626. "type": "integer"
  29627. },
  29628. "spotgoodsdesc": {
  29629. "description": "商品型号",
  29630. "type": "string"
  29631. },
  29632. "spotgoodsmodelid": {
  29633. "description": "现货型号ID",
  29634. "type": "integer"
  29635. },
  29636. "startdate": {
  29637. "description": "点价开始日期 [2:点价 3:暂定价]",
  29638. "type": "string"
  29639. },
  29640. "tradeuserid": {
  29641. "description": "交易用户ID",
  29642. "type": "integer"
  29643. },
  29644. "unpricedqty": {
  29645. "description": "未定价量 = 合同数量 - 已定价量",
  29646. "type": "number"
  29647. },
  29648. "updatetime": {
  29649. "description": "更新时间",
  29650. "type": "string"
  29651. },
  29652. "userid": {
  29653. "description": "机构ID",
  29654. "type": "integer"
  29655. },
  29656. "wrstandardcode": {
  29657. "description": "现货商品代码",
  29658. "type": "string"
  29659. },
  29660. "wrstandardid": {
  29661. "description": "现货商品ID",
  29662. "type": "integer"
  29663. },
  29664. "wrstandardname": {
  29665. "description": "[现货商品]现货商品名称",
  29666. "type": "string"
  29667. }
  29668. }
  29669. },
  29670. "models.ErmcpTaAccount": {
  29671. "type": "object",
  29672. "properties": {
  29673. "accountid": {
  29674. "description": "账户id",
  29675. "type": "integer"
  29676. },
  29677. "accountname": {
  29678. "description": "账户名称",
  29679. "type": "string"
  29680. },
  29681. "currencyid": {
  29682. "description": "币种id",
  29683. "type": "integer"
  29684. },
  29685. "hedgeaccountcode": {
  29686. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29687. "type": "string"
  29688. },
  29689. "ismain": {
  29690. "description": "是否主账户 0-否 1-是",
  29691. "type": "integer"
  29692. },
  29693. "parentaccountid": {
  29694. "description": "父账户id",
  29695. "type": "integer"
  29696. },
  29697. "relateduserid": {
  29698. "description": "关联userid",
  29699. "type": "integer"
  29700. },
  29701. "tradefeetmpid": {
  29702. "description": "手续费模板id",
  29703. "type": "integer"
  29704. },
  29705. "tradefeetmpname": {
  29706. "description": "手续费模板名称",
  29707. "type": "string"
  29708. },
  29709. "trademargintmpid": {
  29710. "description": "保证金模板id",
  29711. "type": "integer"
  29712. },
  29713. "trademargintmpname": {
  29714. "description": "保证金模板名称",
  29715. "type": "string"
  29716. },
  29717. "traderatetmpid": {
  29718. "description": "汇率模板id",
  29719. "type": "integer"
  29720. },
  29721. "traderatetmpname": {
  29722. "description": "汇率模板名称",
  29723. "type": "string"
  29724. },
  29725. "tradestatus": {
  29726. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29727. "type": "integer"
  29728. },
  29729. "userid": {
  29730. "description": "用户id",
  29731. "type": "integer"
  29732. }
  29733. }
  29734. },
  29735. "models.ErmcpTaAccountEx": {
  29736. "type": "object",
  29737. "properties": {
  29738. "mainAcc": {
  29739. "description": "主账号",
  29740. "$ref": "#/definitions/models.ErmcpTaAccountM"
  29741. },
  29742. "subacclist": {
  29743. "description": "子账号列表",
  29744. "type": "array",
  29745. "items": {
  29746. "$ref": "#/definitions/models.ErmcpTaAccount"
  29747. }
  29748. }
  29749. }
  29750. },
  29751. "models.ErmcpTaAccountInfo": {
  29752. "type": "object",
  29753. "properties": {
  29754. "accountid": {
  29755. "description": "资金账户ID",
  29756. "type": "integer"
  29757. },
  29758. "accountname": {
  29759. "description": "账户名称",
  29760. "type": "string"
  29761. },
  29762. "balance": {
  29763. "description": "期初余额",
  29764. "type": "number"
  29765. },
  29766. "capitalbalance": {
  29767. "description": "本金余额[外部子账户实际出入金余额]",
  29768. "type": "number"
  29769. },
  29770. "closepl": {
  29771. "description": "今日平仓盈亏",
  29772. "type": "number"
  29773. },
  29774. "creditdecrease": {
  29775. "description": "今日授信减少",
  29776. "type": "number"
  29777. },
  29778. "creditincrease": {
  29779. "description": "今日授信增加",
  29780. "type": "number"
  29781. },
  29782. "curdebt": {
  29783. "description": "期末欠款",
  29784. "type": "number"
  29785. },
  29786. "currencyid": {
  29787. "description": "货币ID",
  29788. "type": "integer"
  29789. },
  29790. "currentbalance": {
  29791. "description": "期末余额",
  29792. "type": "number"
  29793. },
  29794. "freezecharge": {
  29795. "description": "手续费冻结",
  29796. "type": "number"
  29797. },
  29798. "freezemargin": {
  29799. "description": "冻结保证金",
  29800. "type": "number"
  29801. },
  29802. "fromaccountid": {
  29803. "description": "所属上级账户",
  29804. "type": "integer"
  29805. },
  29806. "inamount": {
  29807. "description": "今日入金金额(包括三方入金)",
  29808. "type": "number"
  29809. },
  29810. "ismain": {
  29811. "description": "是否母账号 0:不是母账户 1:是母账户",
  29812. "type": "integer"
  29813. },
  29814. "mortgagecredit": {
  29815. "description": "授信金额",
  29816. "type": "number"
  29817. },
  29818. "oridebt": {
  29819. "description": "期初欠款",
  29820. "type": "number"
  29821. },
  29822. "orifreezecharge": {
  29823. "description": "期初手续费冻结",
  29824. "type": "number"
  29825. },
  29826. "orifreezemargin": {
  29827. "description": "期初冻结保证金",
  29828. "type": "number"
  29829. },
  29830. "orimortgagecredit": {
  29831. "description": "期初授信金额",
  29832. "type": "number"
  29833. },
  29834. "oriothercredit": {
  29835. "description": "期初其它授信金额",
  29836. "type": "number"
  29837. },
  29838. "oriotherfreezemargin": {
  29839. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29840. "type": "number"
  29841. },
  29842. "orioutamountfreeze": {
  29843. "description": "期初出金冻结",
  29844. "type": "number"
  29845. },
  29846. "oriusedmargin": {
  29847. "description": "期初占用保证金",
  29848. "type": "number"
  29849. },
  29850. "othercredit": {
  29851. "description": "其它授信金额",
  29852. "type": "number"
  29853. },
  29854. "othercreditdecrease": {
  29855. "description": "今日其它授信减少",
  29856. "type": "number"
  29857. },
  29858. "othercreditincrease": {
  29859. "description": "今日其它授信增加",
  29860. "type": "number"
  29861. },
  29862. "otherfreezemargin": {
  29863. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29864. "type": "number"
  29865. },
  29866. "outamount": {
  29867. "description": "今日出金金额(包括三方出金)",
  29868. "type": "number"
  29869. },
  29870. "outamountfreeze": {
  29871. "description": "出金冻结",
  29872. "type": "number"
  29873. },
  29874. "outthreshold": {
  29875. "description": "出金阈值",
  29876. "type": "number"
  29877. },
  29878. "parentaccountid": {
  29879. "description": "所属根账号",
  29880. "type": "integer"
  29881. },
  29882. "paycharge": {
  29883. "description": "今日手续费支出",
  29884. "type": "number"
  29885. },
  29886. "relateduserid": {
  29887. "description": "关联用户",
  29888. "type": "integer"
  29889. },
  29890. "signstatus": {
  29891. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29892. "type": "integer"
  29893. },
  29894. "sublevelpath": {
  29895. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29896. "type": "string"
  29897. },
  29898. "taaccounttype": {
  29899. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29900. "type": "integer"
  29901. },
  29902. "thirdinamount": {
  29903. "description": "今日三方入金",
  29904. "type": "number"
  29905. },
  29906. "thirdoutamount": {
  29907. "description": "今日三方出金",
  29908. "type": "number"
  29909. },
  29910. "tradestatus": {
  29911. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29912. "type": "integer"
  29913. },
  29914. "transferamount": {
  29915. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29916. "type": "number"
  29917. },
  29918. "usedmargin": {
  29919. "description": "占用保证金",
  29920. "type": "number"
  29921. },
  29922. "userid": {
  29923. "description": "用户ID",
  29924. "type": "integer"
  29925. }
  29926. }
  29927. },
  29928. "models.ErmcpTaAccountM": {
  29929. "type": "object",
  29930. "properties": {
  29931. "accountid": {
  29932. "description": "账户id",
  29933. "type": "integer"
  29934. },
  29935. "accountname": {
  29936. "description": "账户名称",
  29937. "type": "string"
  29938. },
  29939. "currencyid": {
  29940. "description": "币种id",
  29941. "type": "integer"
  29942. },
  29943. "fcid": {
  29944. "description": "期货公司id",
  29945. "type": "integer"
  29946. },
  29947. "fcname": {
  29948. "description": "期货公司代码",
  29949. "type": "string"
  29950. },
  29951. "hedgeaccountcode": {
  29952. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29953. "type": "string"
  29954. },
  29955. "ismain": {
  29956. "description": "是否主账户 0-否 1-是",
  29957. "type": "integer"
  29958. },
  29959. "parentaccountid": {
  29960. "description": "父账户id",
  29961. "type": "integer"
  29962. },
  29963. "relateduserid": {
  29964. "description": "关联userid",
  29965. "type": "integer"
  29966. },
  29967. "tradefeetmpid": {
  29968. "description": "手续费模板id",
  29969. "type": "integer"
  29970. },
  29971. "tradefeetmpname": {
  29972. "description": "手续费模板名称",
  29973. "type": "string"
  29974. },
  29975. "trademargintmpid": {
  29976. "description": "保证金模板id",
  29977. "type": "integer"
  29978. },
  29979. "trademargintmpname": {
  29980. "description": "保证金模板名称",
  29981. "type": "string"
  29982. },
  29983. "traderatetmpid": {
  29984. "description": "汇率模板id",
  29985. "type": "integer"
  29986. },
  29987. "traderatetmpname": {
  29988. "description": "汇率模板名称",
  29989. "type": "string"
  29990. },
  29991. "tradestatus": {
  29992. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29993. "type": "integer"
  29994. },
  29995. "userid": {
  29996. "description": "用户id",
  29997. "type": "integer"
  29998. }
  29999. }
  30000. },
  30001. "models.ErmcpTradeConfigTMP": {
  30002. "type": "object",
  30003. "properties": {
  30004. "areauserid": {
  30005. "description": "所属机构",
  30006. "type": "integer"
  30007. },
  30008. "basiccurrencyid": {
  30009. "description": "基本币种ID[汇率] - 目标币种",
  30010. "type": "integer"
  30011. },
  30012. "mainaccountid": {
  30013. "description": "主账户ID",
  30014. "type": "integer"
  30015. },
  30016. "modifierid": {
  30017. "description": "修改人",
  30018. "type": "integer"
  30019. },
  30020. "remark": {
  30021. "description": "备注",
  30022. "type": "string"
  30023. },
  30024. "tradeconfigtmpid": {
  30025. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  30026. "type": "integer"
  30027. },
  30028. "tradeconfigtmpname": {
  30029. "description": "交易配置模板名称",
  30030. "type": "string"
  30031. },
  30032. "tradeconfigtmptype": {
  30033. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  30034. "type": "integer"
  30035. },
  30036. "updatetime": {
  30037. "description": "更新时间",
  30038. "type": "string"
  30039. }
  30040. }
  30041. },
  30042. "models.Ermcpjrlinkpos": {
  30043. "type": "object",
  30044. "required": [
  30045. "spotcontractid"
  30046. ],
  30047. "properties": {
  30048. "areauserid": {
  30049. "description": "所属企业",
  30050. "type": "integer"
  30051. },
  30052. "averageprice": {
  30053. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  30054. "type": "number"
  30055. },
  30056. "closepl": {
  30057. "description": "总平仓盈亏 [期货损益]",
  30058. "type": "number"
  30059. },
  30060. "executeprice": {
  30061. "description": "执行价 - 1:期货单 为 0",
  30062. "type": "integer"
  30063. },
  30064. "futurehedgeqty": {
  30065. "description": "期货套期量",
  30066. "type": "number"
  30067. },
  30068. "goodsid": {
  30069. "description": "期货合约",
  30070. "type": "integer"
  30071. },
  30072. "middlegoodscode": {
  30073. "description": "套保商品代码",
  30074. "type": "string"
  30075. },
  30076. "middlegoodsname": {
  30077. "description": "套保商品名称",
  30078. "type": "string"
  30079. },
  30080. "netqty": {
  30081. "description": "净头寸",
  30082. "type": "number"
  30083. },
  30084. "optioncode": {
  30085. "description": "期权代码",
  30086. "type": "string"
  30087. },
  30088. "ordertype": {
  30089. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  30090. "type": "integer"
  30091. },
  30092. "reckonpl": {
  30093. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  30094. "type": "number"
  30095. },
  30096. "spotcontractid": {
  30097. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  30098. "type": "string"
  30099. },
  30100. "todayfutureclosepl": {
  30101. "description": "今日平仓盈亏",
  30102. "type": "number"
  30103. },
  30104. "totalbuyamount": {
  30105. "description": "买金额 [期货]",
  30106. "type": "number"
  30107. },
  30108. "totalbuyholdamount": {
  30109. "description": "买持仓总金额[期货]",
  30110. "type": "number"
  30111. },
  30112. "totalbuyqty": {
  30113. "description": "买数量",
  30114. "type": "number"
  30115. },
  30116. "totalcharge": {
  30117. "description": "手续费",
  30118. "type": "number"
  30119. },
  30120. "totalpremium": {
  30121. "description": "权利金 [期权]",
  30122. "type": "number"
  30123. },
  30124. "totalsellamount": {
  30125. "description": "卖金额 [期货]",
  30126. "type": "number"
  30127. },
  30128. "totalsellholdamount": {
  30129. "description": "卖持仓总金额[期货]",
  30130. "type": "number"
  30131. },
  30132. "totalsellqty": {
  30133. "description": "卖数量",
  30134. "type": "number"
  30135. },
  30136. "updatetime": {
  30137. "description": "更新时间",
  30138. "type": "string"
  30139. }
  30140. }
  30141. },
  30142. "models.Ermcppatradelinkdetail": {
  30143. "type": "object",
  30144. "required": [
  30145. "hedgeditemid"
  30146. ],
  30147. "properties": {
  30148. "agreeunit": {
  30149. "description": "合约乘数",
  30150. "type": "number"
  30151. },
  30152. "amount": {
  30153. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  30154. "type": "number"
  30155. },
  30156. "areauserid": {
  30157. "description": "所属机构",
  30158. "type": "integer"
  30159. },
  30160. "bizsubjectid": {
  30161. "description": "归属业务部门ID - SubjectID",
  30162. "type": "integer"
  30163. },
  30164. "buyorsell": {
  30165. "description": "方向 - 0:买 1:卖",
  30166. "type": "integer"
  30167. },
  30168. "convertratio": {
  30169. "description": "品种系数",
  30170. "type": "number"
  30171. },
  30172. "createtime": {
  30173. "description": "创建时间",
  30174. "type": "string"
  30175. },
  30176. "creatorid": {
  30177. "description": "创建人ID",
  30178. "type": "integer"
  30179. },
  30180. "creatorsrc": {
  30181. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30182. "type": "integer"
  30183. },
  30184. "goodsgroupid": {
  30185. "description": "对冲品种ID[期货合约商品组ID]",
  30186. "type": "integer"
  30187. },
  30188. "goodsid": {
  30189. "description": "商品ID",
  30190. "type": "integer"
  30191. },
  30192. "hedgeditemid": {
  30193. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30194. "type": "integer"
  30195. },
  30196. "hedgeflag": {
  30197. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30198. "type": "integer"
  30199. },
  30200. "linkdetailid": {
  30201. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30202. "type": "string"
  30203. },
  30204. "linkstatus": {
  30205. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30206. "type": "integer"
  30207. },
  30208. "middlegoodsid": {
  30209. "description": "套保品种ID",
  30210. "type": "integer"
  30211. },
  30212. "name": {
  30213. "description": "账户名/子账户",
  30214. "type": "string"
  30215. },
  30216. "optioncode": {
  30217. "description": "[期货合约]期权代码 [期权]",
  30218. "type": "string"
  30219. },
  30220. "ordertype": {
  30221. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  30222. "type": "integer"
  30223. },
  30224. "relatedlot": {
  30225. "description": "[数量]关联手数",
  30226. "type": "number"
  30227. },
  30228. "relatedmode": {
  30229. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30230. "type": "integer"
  30231. },
  30232. "relatedqty": {
  30233. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30234. "type": "number"
  30235. },
  30236. "retcode": {
  30237. "description": "返回码",
  30238. "type": "integer"
  30239. },
  30240. "saleuserid": {
  30241. "description": "业务员ID",
  30242. "type": "integer"
  30243. },
  30244. "tradedate": {
  30245. "description": "关联交易日(yyyyMMdd)",
  30246. "type": "string"
  30247. },
  30248. "tradeid": {
  30249. "description": "[成交单号]内部成交单ID",
  30250. "type": "string"
  30251. },
  30252. "tradelot": {
  30253. "description": "成交手数",
  30254. "type": "integer"
  30255. },
  30256. "tradeprice": {
  30257. "description": "[价格]成交价格",
  30258. "type": "number"
  30259. },
  30260. "tradetime": {
  30261. "description": "日期时间",
  30262. "type": "string"
  30263. },
  30264. "tradetradedate": {
  30265. "description": "成交交易日(yyyyMMdd)",
  30266. "type": "string"
  30267. }
  30268. }
  30269. },
  30270. "models.Exchangerateconfig": {
  30271. "type": "object",
  30272. "properties": {
  30273. "descurrencyid": {
  30274. "description": "目标币种ID",
  30275. "type": "integer"
  30276. },
  30277. "exchangerate": {
  30278. "description": "汇率",
  30279. "type": "number"
  30280. },
  30281. "oricurrencyid": {
  30282. "description": "源币种ID",
  30283. "type": "integer"
  30284. },
  30285. "remark": {
  30286. "description": "备注",
  30287. "type": "string"
  30288. }
  30289. }
  30290. },
  30291. "models.Externalexchange": {
  30292. "type": "object",
  30293. "required": [
  30294. "autoid"
  30295. ],
  30296. "properties": {
  30297. "autoid": {
  30298. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  30299. "type": "integer"
  30300. },
  30301. "exchangefullname": {
  30302. "description": "外部交易所全称",
  30303. "type": "string"
  30304. },
  30305. "exexchangecode": {
  30306. "description": "外部交易所代码",
  30307. "type": "string"
  30308. },
  30309. "exexchangename": {
  30310. "description": "外部交易所名称(简称)",
  30311. "type": "string"
  30312. },
  30313. "ismarketprice": {
  30314. "description": "是否支持市价 - 0:不支持 1:支持",
  30315. "type": "integer"
  30316. },
  30317. "quotegear": {
  30318. "description": "行情档位(1-10)",
  30319. "type": "integer"
  30320. },
  30321. "showbrokerflag": {
  30322. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  30323. "type": "integer"
  30324. },
  30325. "updatetime": {
  30326. "description": "更新时间",
  30327. "type": "string"
  30328. }
  30329. }
  30330. },
  30331. "models.Funcmenulist": {
  30332. "type": "object",
  30333. "required": [
  30334. "resourcecode"
  30335. ],
  30336. "properties": {
  30337. "iconame": {
  30338. "description": "菜单图标",
  30339. "type": "string"
  30340. },
  30341. "menutype": {
  30342. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  30343. "type": "integer"
  30344. },
  30345. "parentcode": {
  30346. "description": "上级资源代码",
  30347. "type": "string"
  30348. },
  30349. "remark": {
  30350. "description": "备注",
  30351. "type": "string"
  30352. },
  30353. "resourcecode": {
  30354. "description": "资源代码",
  30355. "type": "string"
  30356. },
  30357. "resourcelevel": {
  30358. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  30359. "type": "integer"
  30360. },
  30361. "resourcename": {
  30362. "description": "资源名",
  30363. "type": "string"
  30364. },
  30365. "sort": {
  30366. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  30367. "type": "integer"
  30368. },
  30369. "url": {
  30370. "description": "URL",
  30371. "type": "string"
  30372. }
  30373. }
  30374. },
  30375. "models.GErmcpspotgoodsprice": {
  30376. "type": "object",
  30377. "properties": {
  30378. "chg": {
  30379. "description": "涨跌幅",
  30380. "type": "string"
  30381. },
  30382. "currencyid": {
  30383. "description": "报价货币ID",
  30384. "type": "integer"
  30385. },
  30386. "deliverygoodsid": {
  30387. "description": "现货品种ID",
  30388. "type": "integer"
  30389. },
  30390. "prespotgoodsprice": {
  30391. "description": "上日价格",
  30392. "type": "number"
  30393. },
  30394. "spotgoodsbrandid": {
  30395. "description": "现货品牌ID(通用则为0, 不为0则须先有商品ID)",
  30396. "type": "integer"
  30397. },
  30398. "spotgoodsprice": {
  30399. "description": "【最新价】当前价格",
  30400. "type": "number"
  30401. },
  30402. "srcmarketname": {
  30403. "description": "来源市场名称",
  30404. "type": "string"
  30405. },
  30406. "todaypricedtotalamount": {
  30407. "description": "今日定价金额",
  30408. "type": "number"
  30409. },
  30410. "todaypricedtotalqty": {
  30411. "description": "今日定价总量",
  30412. "type": "number"
  30413. },
  30414. "todayspotgoodsprice": {
  30415. "description": "今日指定价",
  30416. "type": "number"
  30417. },
  30418. "tradedate": {
  30419. "description": "【日期】交易日",
  30420. "type": "string"
  30421. },
  30422. "wrstandardcode": {
  30423. "description": "现货商品代码",
  30424. "type": "string"
  30425. },
  30426. "wrstandardid": {
  30427. "description": "现货商品ID(通用则为0)",
  30428. "type": "integer"
  30429. },
  30430. "wrstandardname": {
  30431. "description": "【名称】现货商品名称",
  30432. "type": "string"
  30433. },
  30434. "ystspotgoodsprice": {
  30435. "description": "昨价",
  30436. "type": "number"
  30437. }
  30438. }
  30439. },
  30440. "models.GThjuserscorelog": {
  30441. "type": "object",
  30442. "properties": {
  30443. "createtime": {
  30444. "description": "记账时间",
  30445. "type": "string"
  30446. },
  30447. "redpacketvalue": {
  30448. "description": "红包值【抽奖】",
  30449. "type": "number"
  30450. },
  30451. "score": {
  30452. "description": "变动积分",
  30453. "type": "number"
  30454. },
  30455. "scoreconfigtype": {
  30456. "description": "配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  30457. "type": "integer"
  30458. },
  30459. "stype": {
  30460. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  30461. "type": "string"
  30462. }
  30463. }
  30464. },
  30465. "models.GZGoods": {
  30466. "type": "object",
  30467. "required": [
  30468. "goodsno"
  30469. ],
  30470. "properties": {
  30471. "address": {
  30472. "description": "详细地址",
  30473. "type": "string"
  30474. },
  30475. "cerno": {
  30476. "description": "证书编号 - 类型:2,4,5",
  30477. "type": "string"
  30478. },
  30479. "cityname": {
  30480. "description": "城市名称",
  30481. "type": "string"
  30482. },
  30483. "countryname": {
  30484. "description": "国家名称",
  30485. "type": "string"
  30486. },
  30487. "cpcertno": {
  30488. "description": "金伯利证书编号 - 类型:3",
  30489. "type": "string"
  30490. },
  30491. "districtname": {
  30492. "description": "地区名称",
  30493. "type": "string"
  30494. },
  30495. "goodsno": {
  30496. "description": "商品编号",
  30497. "type": "string"
  30498. },
  30499. "imagepath": {
  30500. "description": "商品照片(相对地址)",
  30501. "type": "string"
  30502. },
  30503. "isvalid": {
  30504. "description": "是否有效 - 0:无效 1:有效",
  30505. "type": "integer"
  30506. },
  30507. "kppath": {
  30508. "description": "金伯利证书图片(相对地址) - 类型:3",
  30509. "type": "string"
  30510. },
  30511. "kpweight": {
  30512. "description": "金伯利证书重量 - 类型:3",
  30513. "type": "string"
  30514. },
  30515. "marketprice": {
  30516. "description": "市场价",
  30517. "type": "string"
  30518. },
  30519. "mobile": {
  30520. "description": "手机号码",
  30521. "type": "string"
  30522. },
  30523. "origin": {
  30524. "description": "原产地 - 类型:3",
  30525. "type": "string"
  30526. },
  30527. "performancetemplateid": {
  30528. "description": "履约计划模板ID",
  30529. "type": "integer"
  30530. },
  30531. "price": {
  30532. "description": "总价(价格) - 类型:1,2,3,4,5",
  30533. "type": "number"
  30534. },
  30535. "priceper": {
  30536. "description": "克拉单价 - 类型:1,2,3,5",
  30537. "type": "string"
  30538. },
  30539. "provincename": {
  30540. "description": "省名称",
  30541. "type": "string"
  30542. },
  30543. "remainqty": {
  30544. "description": "剩余重量",
  30545. "type": "number"
  30546. },
  30547. "remark": {
  30548. "description": "备注",
  30549. "type": "string"
  30550. },
  30551. "sellusername": {
  30552. "description": "账户名称(机构名称)",
  30553. "type": "string"
  30554. },
  30555. "settingmaterial": {
  30556. "description": "镶嵌材料 - 类型:4",
  30557. "type": "string"
  30558. },
  30559. "size1": {
  30560. "description": "尺寸1 - 类型:2,4,5",
  30561. "type": "string"
  30562. },
  30563. "size2": {
  30564. "description": "尺寸2 - 类型:2,4,5",
  30565. "type": "string"
  30566. },
  30567. "size3": {
  30568. "description": "尺寸3 - 类型:2,4,5",
  30569. "type": "string"
  30570. },
  30571. "sizedisplay": {
  30572. "description": "尺寸",
  30573. "type": "string"
  30574. },
  30575. "stonedesc": {
  30576. "description": "配石描述 - 类型:4",
  30577. "type": "string"
  30578. },
  30579. "userid": {
  30580. "description": "用户ID",
  30581. "type": "integer"
  30582. },
  30583. "warehouseid": {
  30584. "description": "仓库ID",
  30585. "type": "integer"
  30586. },
  30587. "warehousenamedisplay": {
  30588. "type": "string"
  30589. },
  30590. "weight": {
  30591. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  30592. "type": "number"
  30593. },
  30594. "weightavg": {
  30595. "description": "平均单颗重量 - 类型:1,3",
  30596. "type": "number"
  30597. },
  30598. "wrpath": {
  30599. "description": "仓单扫描件(相对地址)",
  30600. "type": "string"
  30601. },
  30602. "wrstandardid": {
  30603. "description": "现货商品ID",
  30604. "type": "integer"
  30605. },
  30606. "wrtradeorderid": {
  30607. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30608. "type": "string"
  30609. },
  30610. "zscategory": {
  30611. "description": "钻石分类 - 枚举”ZSCategory“",
  30612. "type": "integer"
  30613. },
  30614. "zscategorydisplay": {
  30615. "type": "string"
  30616. },
  30617. "zscerttype": {
  30618. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  30619. "type": "integer"
  30620. },
  30621. "zscerttypedisplay": {
  30622. "type": "string"
  30623. },
  30624. "zsclaritytype1": {
  30625. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  30626. "type": "integer"
  30627. },
  30628. "zsclaritytype1display": {
  30629. "type": "string"
  30630. },
  30631. "zsclaritytype2": {
  30632. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  30633. "type": "integer"
  30634. },
  30635. "zsclaritytype2display": {
  30636. "type": "string"
  30637. },
  30638. "zscolortype1": {
  30639. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  30640. "type": "integer"
  30641. },
  30642. "zscolortype1display": {
  30643. "type": "string"
  30644. },
  30645. "zscolortype2": {
  30646. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  30647. "type": "integer"
  30648. },
  30649. "zscolortype2display": {
  30650. "type": "string"
  30651. },
  30652. "zscrystaltype": {
  30653. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  30654. "type": "string"
  30655. },
  30656. "zscrystaltypedisplay": {
  30657. "type": "string"
  30658. },
  30659. "zscurrencytype": {
  30660. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30661. "type": "integer"
  30662. },
  30663. "zscurrencytypedisplay": {
  30664. "type": "string"
  30665. },
  30666. "zscurrencytypedisplayunit": {
  30667. "type": "string"
  30668. },
  30669. "zscuttype1": {
  30670. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  30671. "type": "integer"
  30672. },
  30673. "zscuttype1display": {
  30674. "type": "string"
  30675. },
  30676. "zscuttype2": {
  30677. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  30678. "type": "integer"
  30679. },
  30680. "zscuttype2display": {
  30681. "type": "string"
  30682. },
  30683. "zsczcolor1type": {
  30684. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  30685. "type": "integer"
  30686. },
  30687. "zsczcolor1typedisplay": {
  30688. "type": "string"
  30689. },
  30690. "zsczcolor2type": {
  30691. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  30692. "type": "integer"
  30693. },
  30694. "zsczcolor2typedisplay": {
  30695. "type": "string"
  30696. },
  30697. "zsczcolor3type": {
  30698. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  30699. "type": "integer"
  30700. },
  30701. "zsczcolor3typedisplay": {
  30702. "type": "string"
  30703. },
  30704. "zsfluorescencetype1": {
  30705. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  30706. "type": "integer"
  30707. },
  30708. "zsfluorescencetype1display": {
  30709. "type": "string"
  30710. },
  30711. "zsfluorescencetype2": {
  30712. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  30713. "type": "integer"
  30714. },
  30715. "zsfluorescencetype2display": {
  30716. "type": "string"
  30717. },
  30718. "zspolishtype1": {
  30719. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  30720. "type": "integer"
  30721. },
  30722. "zspolishtype1display": {
  30723. "type": "string"
  30724. },
  30725. "zspolishtype2": {
  30726. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  30727. "type": "integer"
  30728. },
  30729. "zspolishtype2display": {
  30730. "type": "string"
  30731. },
  30732. "zsshapetype": {
  30733. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  30734. "type": "string"
  30735. },
  30736. "zsshapetypedisplay": {
  30737. "type": "string"
  30738. },
  30739. "zsstyletype": {
  30740. "description": "款式 - 类型:4",
  30741. "type": "integer"
  30742. },
  30743. "zsstyletypedisplay": {
  30744. "type": "string"
  30745. },
  30746. "zssymmetrytype1": {
  30747. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  30748. "type": "integer"
  30749. },
  30750. "zssymmetrytype1display": {
  30751. "type": "string"
  30752. },
  30753. "zssymmetrytype2": {
  30754. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  30755. "type": "integer"
  30756. },
  30757. "zssymmetrytype2display": {
  30758. "type": "string"
  30759. }
  30760. }
  30761. },
  30762. "models.GZHomeData": {
  30763. "type": "object",
  30764. "properties": {
  30765. "purchasedtransactions": {
  30766. "description": "已购买的交易",
  30767. "type": "integer"
  30768. },
  30769. "transactioninpurchase": {
  30770. "description": "求购中的交易",
  30771. "type": "integer"
  30772. },
  30773. "transactionsonsale": {
  30774. "description": "出售中的交易",
  30775. "type": "integer"
  30776. },
  30777. "transactionssold": {
  30778. "description": "已卖出的交易",
  30779. "type": "integer"
  30780. },
  30781. "unhandledmessage": {
  30782. "description": "未处理消息",
  30783. "type": "integer"
  30784. }
  30785. }
  30786. },
  30787. "models.GZWarehouseinfo": {
  30788. "type": "object",
  30789. "properties": {
  30790. "address": {
  30791. "description": "详细地址",
  30792. "type": "string"
  30793. },
  30794. "areauserid": {
  30795. "description": "所属机构",
  30796. "type": "integer"
  30797. },
  30798. "autoid": {
  30799. "description": "自增ID",
  30800. "type": "integer"
  30801. },
  30802. "cityid": {
  30803. "description": "市",
  30804. "type": "integer"
  30805. },
  30806. "cityname": {
  30807. "description": "城市名称",
  30808. "type": "string"
  30809. },
  30810. "contactname": {
  30811. "description": "联系人",
  30812. "type": "string"
  30813. },
  30814. "contactnum": {
  30815. "description": "联系电话",
  30816. "type": "string"
  30817. },
  30818. "countryid": {
  30819. "description": "国家",
  30820. "type": "integer"
  30821. },
  30822. "countryname": {
  30823. "description": "国家名称",
  30824. "type": "string"
  30825. },
  30826. "createtime": {
  30827. "description": "创建时间",
  30828. "type": "string"
  30829. },
  30830. "districtid": {
  30831. "description": "区",
  30832. "type": "integer"
  30833. },
  30834. "districtname": {
  30835. "description": "地区名称",
  30836. "type": "string"
  30837. },
  30838. "hasvideo": {
  30839. "description": "是否有视频 - 0:无 1:有",
  30840. "type": "integer"
  30841. },
  30842. "provinceid": {
  30843. "description": "省",
  30844. "type": "integer"
  30845. },
  30846. "provincename": {
  30847. "description": "省名称",
  30848. "type": "string"
  30849. },
  30850. "remark": {
  30851. "description": "审核备注",
  30852. "type": "string"
  30853. },
  30854. "videourl": {
  30855. "description": "视频地址",
  30856. "type": "string"
  30857. },
  30858. "warehousecode": {
  30859. "description": "仓库代码",
  30860. "type": "string"
  30861. },
  30862. "warehousename": {
  30863. "description": "仓库名称",
  30864. "type": "string"
  30865. },
  30866. "warehousestatus": {
  30867. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30868. "type": "integer"
  30869. },
  30870. "warehousetype": {
  30871. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30872. "type": "integer"
  30873. }
  30874. }
  30875. },
  30876. "models.Goods": {
  30877. "type": "object",
  30878. "required": [
  30879. "goodscode",
  30880. "goodsid",
  30881. "goodsname",
  30882. "marketid"
  30883. ],
  30884. "properties": {
  30885. "agreeunit": {
  30886. "description": "合约单位",
  30887. "type": "number"
  30888. },
  30889. "areauserid": {
  30890. "description": "所属机构",
  30891. "type": "integer"
  30892. },
  30893. "auditaccountid": {
  30894. "description": "审核操作员账号",
  30895. "type": "integer"
  30896. },
  30897. "audittime": {
  30898. "description": "审核时间",
  30899. "type": "string"
  30900. },
  30901. "cancelaccountid": {
  30902. "description": "注销操作员账号",
  30903. "type": "integer"
  30904. },
  30905. "canceltime": {
  30906. "description": "注销时间",
  30907. "type": "string"
  30908. },
  30909. "closepricemode": {
  30910. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30911. "type": "integer"
  30912. },
  30913. "closepriceparam": {
  30914. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30915. "type": "number"
  30916. },
  30917. "createtime": {
  30918. "description": "创建时间",
  30919. "type": "string"
  30920. },
  30921. "creatorid": {
  30922. "description": "创建人",
  30923. "type": "integer"
  30924. },
  30925. "currencyid": {
  30926. "description": "报价货币ID",
  30927. "type": "integer"
  30928. },
  30929. "cutmode": {
  30930. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30931. "type": "integer"
  30932. },
  30933. "decimalplace": {
  30934. "description": "报价小数位",
  30935. "type": "integer"
  30936. },
  30937. "delistingdate": {
  30938. "description": "商品退市时间(状态:退市) -- 已作废",
  30939. "type": "string"
  30940. },
  30941. "delistingmode": {
  30942. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30943. "type": "integer"
  30944. },
  30945. "deliveryflag": {
  30946. "description": "交割标志 - 0:不可交割 1:可交割",
  30947. "type": "integer"
  30948. },
  30949. "forceclosemode": {
  30950. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30951. "type": "integer"
  30952. },
  30953. "forceclosevalue": {
  30954. "description": "定期强平参数 [收益权]",
  30955. "type": "integer"
  30956. },
  30957. "goodscode": {
  30958. "description": "商品代码(内部)",
  30959. "type": "string"
  30960. },
  30961. "goodscurrencyid": {
  30962. "description": "合约货币ID",
  30963. "type": "integer"
  30964. },
  30965. "goodsgroupid": {
  30966. "description": "所属商品组ID",
  30967. "type": "integer"
  30968. },
  30969. "goodsid": {
  30970. "description": "商品ID(自增ID SEQ_GOODS)",
  30971. "type": "integer"
  30972. },
  30973. "goodsname": {
  30974. "description": "商品名称",
  30975. "type": "string"
  30976. },
  30977. "goodsquotetype": {
  30978. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30979. "type": "integer"
  30980. },
  30981. "goodsstatus": {
  30982. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30983. "type": "integer"
  30984. },
  30985. "goodstradetype": {
  30986. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30987. "type": "integer"
  30988. },
  30989. "goodunitid": {
  30990. "description": "报价单位ID",
  30991. "type": "integer"
  30992. },
  30993. "hasquoter": {
  30994. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30995. "type": "integer"
  30996. },
  30997. "hqprotecttime": {
  30998. "description": "行情保护时间(秒)",
  30999. "type": "integer"
  31000. },
  31001. "innerdealmode": {
  31002. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  31003. "type": "integer"
  31004. },
  31005. "isbuylimited": {
  31006. "description": "是否限制建仓量 - 0:不限制 1:限制",
  31007. "type": "integer"
  31008. },
  31009. "isvisible": {
  31010. "description": "游客是否可见 - 0:不可见 1:可见",
  31011. "type": "integer"
  31012. },
  31013. "lasttradedate": {
  31014. "description": "最后交易日期(状态:待退市)",
  31015. "type": "string"
  31016. },
  31017. "listingdate": {
  31018. "description": "交易开始日期",
  31019. "type": "string"
  31020. },
  31021. "marketid": {
  31022. "description": "所属市场ID",
  31023. "type": "integer"
  31024. },
  31025. "modifierid": {
  31026. "description": "修改人",
  31027. "type": "integer"
  31028. },
  31029. "modifystatus": {
  31030. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  31031. "type": "integer"
  31032. },
  31033. "modifytime": {
  31034. "description": "修改时间",
  31035. "type": "string"
  31036. },
  31037. "outerdealmode": {
  31038. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  31039. "type": "integer"
  31040. },
  31041. "outgoodscode": {
  31042. "description": "商品代码(外部)",
  31043. "type": "string"
  31044. },
  31045. "pictureurl": {
  31046. "description": "商品图片",
  31047. "type": "string"
  31048. },
  31049. "qtydecimalplace": {
  31050. "description": "成交量小数位",
  31051. "type": "integer"
  31052. },
  31053. "quotegear": {
  31054. "description": "行情档位(1-10)",
  31055. "type": "integer"
  31056. },
  31057. "quoteminunit": {
  31058. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31059. "type": "integer"
  31060. },
  31061. "quoteshowtype": {
  31062. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  31063. "type": "integer"
  31064. },
  31065. "quoteshowtypeinterval": {
  31066. "description": "行情报价间隔时间(秒)(成交价时为0)",
  31067. "type": "integer"
  31068. },
  31069. "remark": {
  31070. "description": "备注",
  31071. "type": "string"
  31072. }
  31073. }
  31074. },
  31075. "models.GoodsIDAndName": {
  31076. "type": "object",
  31077. "required": [
  31078. "goodscode",
  31079. "goodsid",
  31080. "goodsname",
  31081. "marketid"
  31082. ],
  31083. "properties": {
  31084. "goodscode": {
  31085. "description": "商品代码(内部)",
  31086. "type": "string"
  31087. },
  31088. "goodsid": {
  31089. "description": "商品ID(自增ID SEQ_GOODS)",
  31090. "type": "integer"
  31091. },
  31092. "goodsname": {
  31093. "description": "商品名称",
  31094. "type": "string"
  31095. },
  31096. "marketid": {
  31097. "description": "所属市场ID",
  31098. "type": "integer"
  31099. }
  31100. }
  31101. },
  31102. "models.Goodsgroup": {
  31103. "type": "object",
  31104. "required": [
  31105. "goodsgroupid",
  31106. "goodsgroupname",
  31107. "goodsgroupstatus",
  31108. "marketid"
  31109. ],
  31110. "properties": {
  31111. "agreeunit": {
  31112. "description": "合约单位",
  31113. "type": "number"
  31114. },
  31115. "canshort": {
  31116. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  31117. "type": "integer"
  31118. },
  31119. "closepricemode": {
  31120. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  31121. "type": "integer"
  31122. },
  31123. "closepriceparam": {
  31124. "description": "强平最新价浮动比例 - 方式为2时使用",
  31125. "type": "number"
  31126. },
  31127. "createtime": {
  31128. "description": "创建时间",
  31129. "type": "string"
  31130. },
  31131. "creatorid": {
  31132. "description": "创建人",
  31133. "type": "integer"
  31134. },
  31135. "currencyid": {
  31136. "description": "报价货币ID",
  31137. "type": "integer"
  31138. },
  31139. "decimalplace": {
  31140. "description": "报价小数位",
  31141. "type": "integer"
  31142. },
  31143. "exercisetype": {
  31144. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  31145. "type": "integer"
  31146. },
  31147. "exexchangeid": {
  31148. "description": "外部交易所ID[通道交易]",
  31149. "type": "integer"
  31150. },
  31151. "goodsgroupid": {
  31152. "description": "商品组ID(自增ID)",
  31153. "type": "integer"
  31154. },
  31155. "goodsgroupname": {
  31156. "description": "商品组名称",
  31157. "type": "string"
  31158. },
  31159. "goodsgroupstatus": {
  31160. "description": "商品组状态 - 1:正常 2:注销",
  31161. "type": "integer"
  31162. },
  31163. "goodunitid": {
  31164. "description": "报价单位ID",
  31165. "type": "integer"
  31166. },
  31167. "innerdealmode": {
  31168. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  31169. "type": "integer"
  31170. },
  31171. "isbuylimited": {
  31172. "description": "是否限制建仓量 - 0:不限制 1:限制",
  31173. "type": "integer"
  31174. },
  31175. "marketid": {
  31176. "description": "所属市场ID",
  31177. "type": "integer"
  31178. },
  31179. "modifierid": {
  31180. "description": "修改人",
  31181. "type": "integer"
  31182. },
  31183. "modifytime": {
  31184. "description": "修改时间",
  31185. "type": "string"
  31186. },
  31187. "outerdealmode": {
  31188. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  31189. "type": "integer"
  31190. },
  31191. "outergroupcode": {
  31192. "description": "外部商品组代码[通道交易]",
  31193. "type": "string"
  31194. },
  31195. "premiumdecimalplace": {
  31196. "description": "权利金小数位[场外期权]",
  31197. "type": "integer"
  31198. },
  31199. "premiumspreadalgorithm": {
  31200. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  31201. "type": "integer"
  31202. },
  31203. "premiumspreadvalue": {
  31204. "description": "权利金点差值[场外期权]",
  31205. "type": "number"
  31206. },
  31207. "qtydecimalplace": {
  31208. "description": "成交量小数位",
  31209. "type": "integer"
  31210. },
  31211. "quotegear": {
  31212. "description": "行情档位(1-10)",
  31213. "type": "integer"
  31214. },
  31215. "quoteminunit": {
  31216. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31217. "type": "integer"
  31218. },
  31219. "quoterid": {
  31220. "description": "报价商ID[场外期权]",
  31221. "type": "integer"
  31222. },
  31223. "quotesourcegroupid": {
  31224. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  31225. "type": "integer"
  31226. },
  31227. "syncgoodsqty": {
  31228. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  31229. "type": "integer"
  31230. }
  31231. }
  31232. },
  31233. "models.Goodssortbypreposition": {
  31234. "type": "object",
  31235. "required": [
  31236. "goodscode",
  31237. "tradedate"
  31238. ],
  31239. "properties": {
  31240. "goodscode": {
  31241. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  31242. "type": "string"
  31243. },
  31244. "goodsgroupcode": {
  31245. "description": "品种代码",
  31246. "type": "string"
  31247. },
  31248. "prepositionqty": {
  31249. "description": "昨持仓量",
  31250. "type": "integer"
  31251. },
  31252. "sortindex": {
  31253. "description": "排序",
  31254. "type": "integer"
  31255. },
  31256. "tradedate": {
  31257. "description": "交易日",
  31258. "type": "string"
  31259. },
  31260. "updatetime": {
  31261. "description": "更新时间",
  31262. "type": "string"
  31263. }
  31264. }
  31265. },
  31266. "models.GzbsfworderM": {
  31267. "type": "object",
  31268. "required": [
  31269. "userid"
  31270. ],
  31271. "properties": {
  31272. "accountid": {
  31273. "description": "资金账户ID",
  31274. "type": "integer"
  31275. },
  31276. "addresscn": {
  31277. "description": "地址(中文)",
  31278. "type": "string"
  31279. },
  31280. "addressen": {
  31281. "description": "地址(英文)",
  31282. "type": "string"
  31283. },
  31284. "advanceamount": {
  31285. "description": "总预付款",
  31286. "type": "number"
  31287. },
  31288. "colorrange": {
  31289. "description": "颜色范围",
  31290. "type": "string"
  31291. },
  31292. "companynamecn": {
  31293. "description": "收货人(中文)",
  31294. "type": "string"
  31295. },
  31296. "companynameen": {
  31297. "description": "收货人(英文)",
  31298. "type": "string"
  31299. },
  31300. "contactfax": {
  31301. "description": "收货人传真",
  31302. "type": "string"
  31303. },
  31304. "contactname": {
  31305. "description": "收货人姓名",
  31306. "type": "string"
  31307. },
  31308. "contactphoneno": {
  31309. "description": "收货人电话",
  31310. "type": "string"
  31311. },
  31312. "contentrange": {
  31313. "description": "【内容】内容范围",
  31314. "type": "string"
  31315. },
  31316. "createtime": {
  31317. "description": "创建时间",
  31318. "type": "string"
  31319. },
  31320. "executestatus": {
  31321. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  31322. "type": "integer"
  31323. },
  31324. "gzbsdeliverytype": {
  31325. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  31326. "type": "integer"
  31327. },
  31328. "gzbsstatus": {
  31329. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  31330. "type": "integer"
  31331. },
  31332. "gzbsstatusdisplay": {
  31333. "description": "单据状态",
  31334. "type": "string"
  31335. },
  31336. "handlestatus": {
  31337. "description": "处理状态",
  31338. "type": "integer"
  31339. },
  31340. "orderdate": {
  31341. "description": "单据日期",
  31342. "type": "string"
  31343. },
  31344. "orderid": {
  31345. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31346. "type": "integer"
  31347. },
  31348. "orderno": {
  31349. "description": "单据编号 - GZDEBSFW+单据流水号",
  31350. "type": "string"
  31351. },
  31352. "ordersn": {
  31353. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31354. "type": "string"
  31355. },
  31356. "origincountry": {
  31357. "description": "原产国",
  31358. "type": "string"
  31359. },
  31360. "otherlogistics": {
  31361. "description": "指定其它物流",
  31362. "type": "string"
  31363. },
  31364. "priceper": {
  31365. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  31366. "type": "number"
  31367. },
  31368. "settleamount": {
  31369. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  31370. "type": "number"
  31371. },
  31372. "shaperange": {
  31373. "description": "形状范围",
  31374. "type": "string"
  31375. },
  31376. "taxmargin": {
  31377. "description": "税费保证金 - 确认结算费用时退回",
  31378. "type": "number"
  31379. },
  31380. "totalamount": {
  31381. "description": "总值(美元)",
  31382. "type": "number"
  31383. },
  31384. "totalgrossweightgm": {
  31385. "description": "总毛重(克)",
  31386. "type": "number"
  31387. },
  31388. "totalnetweightgm": {
  31389. "description": "总净重(克)",
  31390. "type": "number"
  31391. },
  31392. "totalnetweigthct": {
  31393. "description": "总净重(克拉)",
  31394. "type": "number"
  31395. },
  31396. "totalnumber": {
  31397. "description": "总粒数",
  31398. "type": "integer"
  31399. },
  31400. "userid": {
  31401. "description": "用户ID",
  31402. "type": "integer"
  31403. },
  31404. "weightrange": {
  31405. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  31406. "type": "string"
  31407. }
  31408. }
  31409. },
  31410. "models.GzbsfworderdetailM": {
  31411. "type": "object",
  31412. "properties": {
  31413. "colorinfo": {
  31414. "description": "彩钻信息",
  31415. "type": "string"
  31416. },
  31417. "createtime": {
  31418. "description": "创建时间",
  31419. "type": "string"
  31420. },
  31421. "grossweightgm": {
  31422. "description": "毛重(克)",
  31423. "type": "number"
  31424. },
  31425. "gzcjshape": {
  31426. "description": "形状(字符)",
  31427. "type": "string"
  31428. },
  31429. "netweigthct": {
  31430. "description": "净重(克拉)",
  31431. "type": "number"
  31432. },
  31433. "netweigthgm": {
  31434. "description": "净重(克)",
  31435. "type": "number"
  31436. },
  31437. "ordercontent": {
  31438. "description": "内容",
  31439. "type": "string"
  31440. },
  31441. "orderdetailid": {
  31442. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  31443. "type": "integer"
  31444. },
  31445. "orderid": {
  31446. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31447. "type": "integer"
  31448. },
  31449. "orderindex": {
  31450. "description": "顺序",
  31451. "type": "integer"
  31452. },
  31453. "perprice": {
  31454. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  31455. "type": "number"
  31456. },
  31457. "remark": {
  31458. "description": "备注(其它)",
  31459. "type": "string"
  31460. },
  31461. "totalamount": {
  31462. "description": "总值(美元)",
  31463. "type": "number"
  31464. }
  31465. }
  31466. },
  31467. "models.Gzbsfworderoperate": {
  31468. "type": "object",
  31469. "required": [
  31470. "orderid"
  31471. ],
  31472. "properties": {
  31473. "advanceproofaddr": {
  31474. "description": "预付款收款凭证(确认结算费用时)",
  31475. "type": "string"
  31476. },
  31477. "bankfee": {
  31478. "description": "汇款银行手续费",
  31479. "type": "number"
  31480. },
  31481. "bankproofaddr": {
  31482. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  31483. "type": "string"
  31484. },
  31485. "customsproofaddr": {
  31486. "description": "海关税费保证金收据(确认结算费用时)",
  31487. "type": "string"
  31488. },
  31489. "gzbsstatus": {
  31490. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  31491. "type": "integer"
  31492. },
  31493. "logisticsfee": {
  31494. "description": "代缴物流保险费",
  31495. "type": "number"
  31496. },
  31497. "logisticsproofaddr": {
  31498. "description": "代缴物流保险费凭证(确认结算费用时)",
  31499. "type": "string"
  31500. },
  31501. "operatetime": {
  31502. "description": "操作时间",
  31503. "type": "string"
  31504. },
  31505. "operatoraccount": {
  31506. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31507. "type": "string"
  31508. },
  31509. "operatorid": {
  31510. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31511. "type": "integer"
  31512. },
  31513. "operatorname": {
  31514. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  31515. "type": "string"
  31516. },
  31517. "operatorsrc": {
  31518. "description": "操作人来源 - 1:管理端 2:终端",
  31519. "type": "integer"
  31520. },
  31521. "orderid": {
  31522. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31523. "type": "integer"
  31524. },
  31525. "otherfee": {
  31526. "description": "其它费用",
  31527. "type": "number"
  31528. },
  31529. "remark": {
  31530. "description": "操作备注",
  31531. "type": "string"
  31532. },
  31533. "servicefee": {
  31534. "description": "综合服务费",
  31535. "type": "number"
  31536. },
  31537. "taxmargin": {
  31538. "description": "税费保证金",
  31539. "type": "number"
  31540. },
  31541. "totalfee": {
  31542. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  31543. "type": "number"
  31544. }
  31545. }
  31546. },
  31547. "models.Gzcertaddressconfig": {
  31548. "type": "object",
  31549. "properties": {
  31550. "certregion": {
  31551. "description": "证书地域 - 1:国内 2:国际",
  31552. "type": "integer"
  31553. },
  31554. "certtype": {
  31555. "description": "证书类型",
  31556. "type": "string"
  31557. },
  31558. "orderindex": {
  31559. "description": "显示顺序",
  31560. "type": "integer"
  31561. },
  31562. "orgcnname": {
  31563. "description": "机构名称(中文)",
  31564. "type": "string"
  31565. },
  31566. "orgenname": {
  31567. "description": "机构名称(英文)",
  31568. "type": "string"
  31569. },
  31570. "queryaddress": {
  31571. "description": "查询地址",
  31572. "type": "string"
  31573. },
  31574. "remark": {
  31575. "description": "备注",
  31576. "type": "string"
  31577. },
  31578. "updatetime": {
  31579. "description": "更新时间",
  31580. "type": "string"
  31581. }
  31582. }
  31583. },
  31584. "models.Gzcertaddressparam": {
  31585. "type": "object",
  31586. "properties": {
  31587. "certtype": {
  31588. "description": "证书类型",
  31589. "type": "string"
  31590. },
  31591. "orderindex": {
  31592. "description": "参数顺序",
  31593. "type": "integer"
  31594. },
  31595. "paramkey": {
  31596. "description": "参数Key",
  31597. "type": "string"
  31598. },
  31599. "paramname": {
  31600. "description": "参数名称",
  31601. "type": "string"
  31602. },
  31603. "updatetime": {
  31604. "description": "更新时间",
  31605. "type": "string"
  31606. }
  31607. }
  31608. },
  31609. "models.GzcjbsorderfileM": {
  31610. "type": "object",
  31611. "required": [
  31612. "orderid"
  31613. ],
  31614. "properties": {
  31615. "canmembervisit": {
  31616. "description": "会员是否可访问 - 1:可 2:不可",
  31617. "type": "integer"
  31618. },
  31619. "fileaddress": {
  31620. "description": "文件地址",
  31621. "type": "string"
  31622. },
  31623. "filegentype": {
  31624. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  31625. "type": "integer"
  31626. },
  31627. "filename": {
  31628. "description": "文件名称",
  31629. "type": "string"
  31630. },
  31631. "operatetime": {
  31632. "description": "操作时间",
  31633. "type": "string"
  31634. },
  31635. "operatoraccount": {
  31636. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31637. "type": "string"
  31638. },
  31639. "operatorid": {
  31640. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31641. "type": "integer"
  31642. },
  31643. "operatorsrc": {
  31644. "description": "操作人来源 - 1:管理端 2:终端",
  31645. "type": "integer"
  31646. },
  31647. "orderfileid": {
  31648. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  31649. "type": "integer"
  31650. },
  31651. "orderid": {
  31652. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31653. "type": "integer"
  31654. }
  31655. }
  31656. },
  31657. "models.GzcjjcorderM": {
  31658. "type": "object",
  31659. "required": [
  31660. "userid"
  31661. ],
  31662. "properties": {
  31663. "accountid": {
  31664. "description": "资金账户ID",
  31665. "type": "integer"
  31666. },
  31667. "addresscn": {
  31668. "description": "地址(中文)",
  31669. "type": "string"
  31670. },
  31671. "addressen": {
  31672. "description": "地址(英文)",
  31673. "type": "string"
  31674. },
  31675. "advanceamount": {
  31676. "description": "总预付款",
  31677. "type": "number"
  31678. },
  31679. "colorrange": {
  31680. "description": "颜色范围",
  31681. "type": "string"
  31682. },
  31683. "companynamecn": {
  31684. "description": "公司名称(中文)",
  31685. "type": "string"
  31686. },
  31687. "companynameen": {
  31688. "description": "公司名称(英文)",
  31689. "type": "string"
  31690. },
  31691. "contactname": {
  31692. "description": "联系人姓名",
  31693. "type": "string"
  31694. },
  31695. "contactphoneno": {
  31696. "description": "联系人电话",
  31697. "type": "string"
  31698. },
  31699. "contactposition": {
  31700. "description": "联系人职位",
  31701. "type": "string"
  31702. },
  31703. "createtime": {
  31704. "description": "创建时间",
  31705. "type": "string"
  31706. },
  31707. "email": {
  31708. "description": "邮箱",
  31709. "type": "string"
  31710. },
  31711. "executestatus": {
  31712. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  31713. "type": "integer"
  31714. },
  31715. "gzcjaccount": {
  31716. "description": "送检账户",
  31717. "type": "string"
  31718. },
  31719. "gzcjaccounttype": {
  31720. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  31721. "type": "integer"
  31722. },
  31723. "gzcjcategorytype": {
  31724. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  31725. "type": "integer"
  31726. },
  31727. "gzcjcategorytypedisplay": {
  31728. "description": "货物品类",
  31729. "type": "string"
  31730. },
  31731. "gzcjdeliverytype": {
  31732. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  31733. "type": "integer"
  31734. },
  31735. "gzcjdeliverytypedisplay": {
  31736. "description": "收货方式",
  31737. "type": "string"
  31738. },
  31739. "gzcjstatus": {
  31740. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  31741. "type": "integer"
  31742. },
  31743. "gzcjstatusdisplay": {
  31744. "description": "单据状态(出境检测)",
  31745. "type": "string"
  31746. },
  31747. "handlestatus": {
  31748. "description": "处理状态",
  31749. "type": "integer"
  31750. },
  31751. "invoiceremark": {
  31752. "description": "复核备注 - 发票装箱单使用",
  31753. "type": "string"
  31754. },
  31755. "orderid": {
  31756. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31757. "type": "integer"
  31758. },
  31759. "orderno": {
  31760. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  31761. "type": "string"
  31762. },
  31763. "ordersn": {
  31764. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31765. "type": "string"
  31766. },
  31767. "origincountry": {
  31768. "description": "原产国",
  31769. "type": "string"
  31770. },
  31771. "processingcountry": {
  31772. "description": "成品钻石加工国",
  31773. "type": "string"
  31774. },
  31775. "realservicefee": {
  31776. "description": "应收综合服务费",
  31777. "type": "number"
  31778. },
  31779. "servicefeesum": {
  31780. "description": "汇总综合服务费 - 明细上值汇总",
  31781. "type": "number"
  31782. },
  31783. "settleamount": {
  31784. "description": "总结算费用",
  31785. "type": "number"
  31786. },
  31787. "shaperange": {
  31788. "description": "形状范围",
  31789. "type": "string"
  31790. },
  31791. "totalamount": {
  31792. "description": "总金额(美元)",
  31793. "type": "number"
  31794. },
  31795. "totalgrossweight": {
  31796. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  31797. "type": "number"
  31798. },
  31799. "totalnumber": {
  31800. "description": "总粒数",
  31801. "type": "integer"
  31802. },
  31803. "totalweight": {
  31804. "description": "总克拉数(保留3位小数)",
  31805. "type": "number"
  31806. },
  31807. "totalweightgm": {
  31808. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  31809. "type": "number"
  31810. },
  31811. "userid": {
  31812. "description": "用户ID",
  31813. "type": "integer"
  31814. },
  31815. "weightrange": {
  31816. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  31817. "type": "string"
  31818. },
  31819. "zsorigin": {
  31820. "description": "天然钻石毛坯原产地",
  31821. "type": "string"
  31822. }
  31823. }
  31824. },
  31825. "models.GzcjjcorderdetailM": {
  31826. "type": "object",
  31827. "properties": {
  31828. "amount": {
  31829. "description": "参考货值(USD)",
  31830. "type": "number"
  31831. },
  31832. "colorinfo": {
  31833. "description": "彩钻信息",
  31834. "type": "string"
  31835. },
  31836. "createtime": {
  31837. "description": "创建时间",
  31838. "type": "string"
  31839. },
  31840. "gzcjmarktype": {
  31841. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  31842. "type": "integer"
  31843. },
  31844. "gzcjpublishtype": {
  31845. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  31846. "type": "integer"
  31847. },
  31848. "gzcjpublishtypestring": {
  31849. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  31850. "type": "string"
  31851. },
  31852. "gzcjservicetype": {
  31853. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  31854. "type": "integer"
  31855. },
  31856. "gzcjservicetypestring": {
  31857. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  31858. "type": "string"
  31859. },
  31860. "gzcjshapetype": {
  31861. "description": "形状 - 枚举\"GZCJShapeType\"",
  31862. "type": "integer"
  31863. },
  31864. "gzcjshapetypestring": {
  31865. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  31866. "type": "string"
  31867. },
  31868. "gzno": {
  31869. "description": "货物编号",
  31870. "type": "string"
  31871. },
  31872. "orderdetailid": {
  31873. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  31874. "type": "integer"
  31875. },
  31876. "orderid": {
  31877. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31878. "type": "integer"
  31879. },
  31880. "orderindex": {
  31881. "description": "顺序",
  31882. "type": "integer"
  31883. },
  31884. "origincertno": {
  31885. "description": "原证书号【送检账户为“广钻账户”】",
  31886. "type": "string"
  31887. },
  31888. "remark": {
  31889. "description": "备注(其它)",
  31890. "type": "string"
  31891. },
  31892. "servicefee": {
  31893. "description": "综合服务费 - 根据市场配置计算",
  31894. "type": "number"
  31895. },
  31896. "weight": {
  31897. "description": "重量(CT)",
  31898. "type": "number"
  31899. }
  31900. }
  31901. },
  31902. "models.Gzrapaportprice": {
  31903. "type": "object",
  31904. "properties": {
  31905. "dollar": {
  31906. "description": "美元",
  31907. "type": "string"
  31908. },
  31909. "rmb": {
  31910. "description": "人民币",
  31911. "type": "string"
  31912. }
  31913. }
  31914. },
  31915. "models.Hedgeinnerholderdetail": {
  31916. "type": "object",
  31917. "required": [
  31918. "buyorsell",
  31919. "tradeid"
  31920. ],
  31921. "properties": {
  31922. "accountid": {
  31923. "description": "账号ID",
  31924. "type": "integer"
  31925. },
  31926. "buyorsell": {
  31927. "description": "方向 - 0:买 1:卖",
  31928. "type": "integer"
  31929. },
  31930. "freezeqty": {
  31931. "description": "冻结数量 - 按单平使用",
  31932. "type": "integer"
  31933. },
  31934. "goodsid": {
  31935. "description": "商品ID",
  31936. "type": "integer"
  31937. },
  31938. "holderamount": {
  31939. "description": "持仓金额 [商品币种]",
  31940. "type": "number"
  31941. },
  31942. "holderdays": {
  31943. "description": "剩余冻结天数",
  31944. "type": "integer"
  31945. },
  31946. "holderprice": {
  31947. "description": "持仓价格",
  31948. "type": "number"
  31949. },
  31950. "holderqty": {
  31951. "description": "持仓数量",
  31952. "type": "integer"
  31953. },
  31954. "marketid": {
  31955. "description": "市场ID",
  31956. "type": "integer"
  31957. },
  31958. "openprice": {
  31959. "description": "建仓价格",
  31960. "type": "number"
  31961. },
  31962. "openqty": {
  31963. "description": "建仓数量",
  31964. "type": "integer"
  31965. },
  31966. "parentaccountid": {
  31967. "description": "所属母账户",
  31968. "type": "integer"
  31969. },
  31970. "releaseamount": {
  31971. "description": "释放持仓金额[商品币种]",
  31972. "type": "number"
  31973. },
  31974. "tradeamount": {
  31975. "description": "成交金额[账户]",
  31976. "type": "number"
  31977. },
  31978. "tradedate": {
  31979. "description": "交易日(yyyyMMdd)",
  31980. "type": "string"
  31981. },
  31982. "tradeid": {
  31983. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31984. "type": "string"
  31985. },
  31986. "tradetime": {
  31987. "description": "交易时间",
  31988. "type": "string"
  31989. }
  31990. }
  31991. },
  31992. "models.Hedgemarketopenlog": {
  31993. "type": "object",
  31994. "required": [
  31995. "accountid"
  31996. ],
  31997. "properties": {
  31998. "accountid": {
  31999. "description": "资金账号[外部母账户]",
  32000. "type": "integer"
  32001. },
  32002. "fcname": {
  32003. "description": "期货公司名称",
  32004. "type": "string"
  32005. },
  32006. "handlestatus": {
  32007. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  32008. "type": "integer"
  32009. },
  32010. "marketid": {
  32011. "description": "市场ID",
  32012. "type": "integer"
  32013. },
  32014. "status": {
  32015. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  32016. "type": "integer"
  32017. },
  32018. "tradedate": {
  32019. "description": "交易日(yyyyMMdd)",
  32020. "type": "string"
  32021. },
  32022. "updatetime": {
  32023. "description": "更新时间",
  32024. "type": "string"
  32025. }
  32026. }
  32027. },
  32028. "models.InternalEnableTradeDetail": {
  32029. "type": "object",
  32030. "required": [
  32031. "areauserid",
  32032. "goodsid",
  32033. "tradeuserid"
  32034. ],
  32035. "properties": {
  32036. "agreeunit": {
  32037. "description": "合约乘数",
  32038. "type": "number"
  32039. },
  32040. "areauserid": {
  32041. "description": "企业ID",
  32042. "type": "integer"
  32043. },
  32044. "convertratio": {
  32045. "description": "品种系数",
  32046. "type": "number"
  32047. },
  32048. "deliverygoodscode": {
  32049. "description": "现货品种代码",
  32050. "type": "string"
  32051. },
  32052. "deliverygoodsid": {
  32053. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  32054. "type": "integer"
  32055. },
  32056. "deliverygoodsname": {
  32057. "description": "现货品种名称",
  32058. "type": "string"
  32059. },
  32060. "futurehedgeqty": {
  32061. "description": "[已关联数量]期货持仓套期量",
  32062. "type": "number"
  32063. },
  32064. "goodsid": {
  32065. "description": "期货合约ID",
  32066. "type": "integer"
  32067. },
  32068. "hedgeditemid": {
  32069. "description": "被套期项目ID",
  32070. "type": "string"
  32071. },
  32072. "hedgeditemnum": {
  32073. "description": "项目编号",
  32074. "type": "string"
  32075. },
  32076. "tradeuserid": {
  32077. "description": "交易用户ID",
  32078. "type": "integer"
  32079. },
  32080. "unexehedgeqty": {
  32081. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  32082. "type": "number"
  32083. },
  32084. "unexespotqty": {
  32085. "description": "未执行现货量",
  32086. "type": "number"
  32087. },
  32088. "wrstandardcode": {
  32089. "description": "现货品类代码",
  32090. "type": "string"
  32091. },
  32092. "wrstandardid": {
  32093. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32094. "type": "integer"
  32095. },
  32096. "wrstandardname": {
  32097. "description": "现货品类名称",
  32098. "type": "string"
  32099. }
  32100. }
  32101. },
  32102. "models.InternalUncorrelatedTradeDetail": {
  32103. "type": "object",
  32104. "properties": {
  32105. "accountid": {
  32106. "description": "账号ID",
  32107. "type": "integer"
  32108. },
  32109. "accountname": {
  32110. "description": "套期主体",
  32111. "type": "string"
  32112. },
  32113. "agreeunit": {
  32114. "description": "合约乘数",
  32115. "type": "number"
  32116. },
  32117. "areauserid": {
  32118. "description": "所属机构",
  32119. "type": "integer"
  32120. },
  32121. "bizsubjectid": {
  32122. "description": "归属业务部门ID - SubjectID",
  32123. "type": "integer"
  32124. },
  32125. "buyorsell": {
  32126. "description": "方向 - 0:买 1:卖",
  32127. "type": "integer"
  32128. },
  32129. "channelbuildtype": {
  32130. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32131. "type": "integer"
  32132. },
  32133. "convertratio": {
  32134. "description": "品种系数",
  32135. "type": "number"
  32136. },
  32137. "createtime": {
  32138. "description": "创建时间",
  32139. "type": "string"
  32140. },
  32141. "creatorid": {
  32142. "description": "创建人ID",
  32143. "type": "integer"
  32144. },
  32145. "creatorsrc": {
  32146. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32147. "type": "integer"
  32148. },
  32149. "enableqty": {
  32150. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  32151. "type": "number"
  32152. },
  32153. "enumdicname": {
  32154. "description": "单位",
  32155. "type": "string"
  32156. },
  32157. "goodscode": {
  32158. "description": "合约代码",
  32159. "type": "string"
  32160. },
  32161. "goodsgroupid": {
  32162. "description": "对冲品种ID[期货合约商品组ID]",
  32163. "type": "integer"
  32164. },
  32165. "goodsid": {
  32166. "description": "商品ID",
  32167. "type": "integer"
  32168. },
  32169. "goodsname": {
  32170. "description": "合约名称",
  32171. "type": "string"
  32172. },
  32173. "hedgeditemid": {
  32174. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32175. "type": "integer"
  32176. },
  32177. "hedgeflag": {
  32178. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32179. "type": "integer"
  32180. },
  32181. "linkdetailid": {
  32182. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32183. "type": "string"
  32184. },
  32185. "linkstatus": {
  32186. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32187. "type": "integer"
  32188. },
  32189. "middlegoodsid": {
  32190. "description": "套保品种ID",
  32191. "type": "integer"
  32192. },
  32193. "middlegoodsqty": {
  32194. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  32195. "type": "number"
  32196. },
  32197. "relatedlot": {
  32198. "description": "[数量]关联手数",
  32199. "type": "number"
  32200. },
  32201. "relatedmode": {
  32202. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32203. "type": "integer"
  32204. },
  32205. "relatedqty": {
  32206. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32207. "type": "number"
  32208. },
  32209. "retcode": {
  32210. "description": "返回码",
  32211. "type": "integer"
  32212. },
  32213. "saleuserid": {
  32214. "description": "业务员ID",
  32215. "type": "integer"
  32216. },
  32217. "tradedate": {
  32218. "description": "关联交易日(yyyyMMdd)",
  32219. "type": "string"
  32220. },
  32221. "tradeid": {
  32222. "description": "成交单号",
  32223. "type": "string"
  32224. },
  32225. "tradelot": {
  32226. "description": "成交手数",
  32227. "type": "integer"
  32228. },
  32229. "tradeprice": {
  32230. "description": "成交价",
  32231. "type": "number"
  32232. },
  32233. "tradetime": {
  32234. "description": "成交时间",
  32235. "type": "string"
  32236. },
  32237. "tradetradedate": {
  32238. "description": "成交交易日(yyyyMMdd)",
  32239. "type": "string"
  32240. },
  32241. "tradeuserid": {
  32242. "description": "交易用户ID",
  32243. "type": "integer"
  32244. }
  32245. }
  32246. },
  32247. "models.Loginaccount": {
  32248. "type": "object",
  32249. "required": [
  32250. "loginid"
  32251. ],
  32252. "properties": {
  32253. "accountname": {
  32254. "description": "账户名称",
  32255. "type": "string"
  32256. },
  32257. "canoutin": {
  32258. "description": "是否可出入金 - 0:不可 1:可",
  32259. "type": "integer"
  32260. },
  32261. "clientroleid": {
  32262. "description": "终端角色ID",
  32263. "type": "integer"
  32264. },
  32265. "haslogined": {
  32266. "description": "是否已登录 - 0:未登录 1:已登录",
  32267. "type": "integer"
  32268. },
  32269. "hasupdatedpwd": {
  32270. "description": "是否已更改密码 - 0:未修改 1:已修改",
  32271. "type": "integer"
  32272. },
  32273. "lastloginip": {
  32274. "description": "最新登录地址",
  32275. "type": "string"
  32276. },
  32277. "lastloginmode": {
  32278. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32279. "type": "integer"
  32280. },
  32281. "lastloginremark": {
  32282. "description": "最新登录描述",
  32283. "type": "string"
  32284. },
  32285. "lastlogintime": {
  32286. "description": "最新登录时间",
  32287. "type": "string"
  32288. },
  32289. "logincode": {
  32290. "description": "登录代码",
  32291. "type": "string"
  32292. },
  32293. "loginfailnum": {
  32294. "description": "连续登录失败次数(登录成功时清零)",
  32295. "type": "integer"
  32296. },
  32297. "loginid": {
  32298. "description": "登陆账号",
  32299. "type": "integer"
  32300. },
  32301. "loginport": {
  32302. "description": "最新登录端口",
  32303. "type": "integer"
  32304. },
  32305. "loginstatus": {
  32306. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  32307. "type": "integer"
  32308. },
  32309. "loginusertype": {
  32310. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  32311. "type": "integer"
  32312. },
  32313. "mobile": {
  32314. "description": "手机号码(加密存储)",
  32315. "type": "string"
  32316. },
  32317. "modifierid": {
  32318. "description": "修改人",
  32319. "type": "integer"
  32320. },
  32321. "modifysrc": {
  32322. "description": "审核来源 - 1:管理端 2:终端",
  32323. "type": "integer"
  32324. },
  32325. "modifytime": {
  32326. "description": "修改时间",
  32327. "type": "string"
  32328. },
  32329. "pwdwrongcount": {
  32330. "description": "密码错误次数",
  32331. "type": "integer"
  32332. },
  32333. "relateduserid": {
  32334. "description": "关联用户ID(机构)",
  32335. "type": "integer"
  32336. },
  32337. "taaccountrighttype": {
  32338. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  32339. "type": "integer"
  32340. },
  32341. "unfreezetime": {
  32342. "description": "账户解冻时间",
  32343. "type": "string"
  32344. },
  32345. "userid": {
  32346. "description": "用户ID",
  32347. "type": "integer"
  32348. }
  32349. }
  32350. },
  32351. "models.MainAccountInfo": {
  32352. "type": "object",
  32353. "properties": {
  32354. "accountid": {
  32355. "description": "账号id",
  32356. "type": "integer"
  32357. },
  32358. "accountname": {
  32359. "description": "账号名称(taaccount表中的名称)",
  32360. "type": "string"
  32361. },
  32362. "appid": {
  32363. "description": "AppID",
  32364. "type": "string"
  32365. },
  32366. "authcode": {
  32367. "description": "授权码",
  32368. "type": "string"
  32369. },
  32370. "brokerid": {
  32371. "description": "经纪商id",
  32372. "type": "string"
  32373. },
  32374. "fcid": {
  32375. "description": "期货公司id",
  32376. "type": "integer"
  32377. },
  32378. "fcname": {
  32379. "description": "期货公司代码",
  32380. "type": "string"
  32381. },
  32382. "hedgeaccountcode": {
  32383. "description": "外部账号代码(主账号登录代码)",
  32384. "type": "string"
  32385. },
  32386. "hedgeaccountpwd": {
  32387. "description": "密码",
  32388. "type": "string"
  32389. },
  32390. "ismain": {
  32391. "description": "是否主账号",
  32392. "type": "integer"
  32393. },
  32394. "relateduserid": {
  32395. "description": "关联用户id",
  32396. "type": "integer"
  32397. },
  32398. "userid": {
  32399. "description": "关联用户id",
  32400. "type": "integer"
  32401. }
  32402. }
  32403. },
  32404. "models.Market": {
  32405. "type": "object",
  32406. "required": [
  32407. "marketid",
  32408. "marketstatus",
  32409. "openmethod",
  32410. "reckonpricealgorithm",
  32411. "trademode",
  32412. "tradeproperty"
  32413. ],
  32414. "properties": {
  32415. "auctionwrtype": {
  32416. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  32417. "type": "integer"
  32418. },
  32419. "canacceptquote": {
  32420. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32421. "type": "integer"
  32422. },
  32423. "cangoodsexercise": {
  32424. "description": "[期权]是否可现货行权- 0:否 1:是",
  32425. "type": "integer"
  32426. },
  32427. "cangoodsexercisetype": {
  32428. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32429. "type": "integer"
  32430. },
  32431. "canmanualquotestrike": {
  32432. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32433. "type": "integer"
  32434. },
  32435. "canmutistage": {
  32436. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32437. "type": "integer"
  32438. },
  32439. "canpreexercise": {
  32440. "description": "[期权]是否可预申报- 0:否 1:是",
  32441. "type": "integer"
  32442. },
  32443. "clearinterval": {
  32444. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32445. "type": "integer"
  32446. },
  32447. "contracttmp": {
  32448. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32449. "type": "string"
  32450. },
  32451. "exchareaid": {
  32452. "description": "所属交易所,可以没有",
  32453. "type": "integer"
  32454. },
  32455. "goodstype": {
  32456. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32457. "type": "integer"
  32458. },
  32459. "hasrebate": {
  32460. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32461. "type": "integer"
  32462. },
  32463. "hastradecredit": {
  32464. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32465. "type": "integer"
  32466. },
  32467. "haswr": {
  32468. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32469. "type": "integer"
  32470. },
  32471. "isdeductmargin": {
  32472. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32473. "type": "integer"
  32474. },
  32475. "isrecordsource": {
  32476. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32477. "type": "integer"
  32478. },
  32479. "isreleasemargin": {
  32480. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32481. "type": "integer"
  32482. },
  32483. "marginformula": {
  32484. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32485. "type": "integer"
  32486. },
  32487. "marginformula2": {
  32488. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32489. "type": "integer"
  32490. },
  32491. "marketid": {
  32492. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32493. "type": "integer"
  32494. },
  32495. "marketname": {
  32496. "description": "市场名称",
  32497. "type": "string"
  32498. },
  32499. "marketserviceid": {
  32500. "description": "市场服务ID",
  32501. "type": "integer"
  32502. },
  32503. "marketstatus": {
  32504. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32505. "type": "integer"
  32506. },
  32507. "markettype": {
  32508. "description": "市场类型- 1:非交易服务 2:交易服务",
  32509. "type": "integer"
  32510. },
  32511. "matchermode": {
  32512. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  32513. "type": "integer"
  32514. },
  32515. "openmethod": {
  32516. "description": "开盘模式 - 0 自动 1手动",
  32517. "type": "integer"
  32518. },
  32519. "otcuserid": {
  32520. "description": "场外期权做市商[场外期权]",
  32521. "type": "integer"
  32522. },
  32523. "outersynctime": {
  32524. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32525. "type": "string"
  32526. },
  32527. "pendingflag": {
  32528. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32529. "type": "integer"
  32530. },
  32531. "pendingtime": {
  32532. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32533. "type": "string"
  32534. },
  32535. "performancetempid": {
  32536. "description": "履约计划模板ID - 作废",
  32537. "type": "integer"
  32538. },
  32539. "premiumquotemode": {
  32540. "description": "权利金报价方式 - 1:自动 2:手动",
  32541. "type": "integer"
  32542. },
  32543. "rebateratio": {
  32544. "description": "返利比率[竞价式]",
  32545. "type": "number"
  32546. },
  32547. "reckonorder": {
  32548. "description": "结算顺序",
  32549. "type": "integer"
  32550. },
  32551. "reckonpricealgorithm": {
  32552. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32553. "type": "integer"
  32554. },
  32555. "reckonpriceparam": {
  32556. "description": "结算价参数",
  32557. "type": "integer"
  32558. },
  32559. "reckontime": {
  32560. "description": "结算时间[通道交易-对冲](HH:mm)",
  32561. "type": "string"
  32562. },
  32563. "roleprioritytype": {
  32564. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32565. "type": "integer"
  32566. },
  32567. "selllistingauditflag": {
  32568. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32569. "type": "integer"
  32570. },
  32571. "trademarkettype": {
  32572. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32573. "type": "integer"
  32574. },
  32575. "trademode": {
  32576. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32577. "type": "integer"
  32578. },
  32579. "tradeproperty": {
  32580. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32581. "type": "integer"
  32582. },
  32583. "tradetype": {
  32584. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32585. "type": "integer"
  32586. }
  32587. }
  32588. },
  32589. "models.Marketcalendar": {
  32590. "type": "object",
  32591. "properties": {
  32592. "holidaydate": {
  32593. "description": "节假日期(yyyy-MM-dd)",
  32594. "type": "string"
  32595. },
  32596. "marketid": {
  32597. "description": "市场ID",
  32598. "type": "integer"
  32599. }
  32600. }
  32601. },
  32602. "models.Marketrun": {
  32603. "type": "object",
  32604. "required": [
  32605. "marketid",
  32606. "nexttradedate",
  32607. "reckonflag",
  32608. "runstatus",
  32609. "tradedate",
  32610. "tradedate2"
  32611. ],
  32612. "properties": {
  32613. "afternexttradedate": {
  32614. "description": "下下交易日",
  32615. "type": "string"
  32616. },
  32617. "clearquoteflag": {
  32618. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  32619. "type": "integer"
  32620. },
  32621. "lastreckondate": {
  32622. "description": "最新交易日(结算成功)",
  32623. "type": "string"
  32624. },
  32625. "machinedate": {
  32626. "description": "机器时间",
  32627. "type": "string"
  32628. },
  32629. "manualflag": {
  32630. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  32631. "type": "integer"
  32632. },
  32633. "marketid": {
  32634. "description": "市场ID",
  32635. "type": "integer"
  32636. },
  32637. "nexttradedate": {
  32638. "description": "下一交易日",
  32639. "type": "string"
  32640. },
  32641. "pretradedate": {
  32642. "description": "上一交易日",
  32643. "type": "string"
  32644. },
  32645. "reckonflag": {
  32646. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  32647. "type": "integer"
  32648. },
  32649. "runstatus": {
  32650. "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.今日免清算",
  32651. "type": "integer"
  32652. },
  32653. "sectionid": {
  32654. "description": "时间段号[多时段时用]",
  32655. "type": "integer"
  32656. },
  32657. "tradedate": {
  32658. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  32659. "type": "string"
  32660. },
  32661. "tradedate2": {
  32662. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  32663. "type": "string"
  32664. },
  32665. "updatetime": {
  32666. "description": "更新时间",
  32667. "type": "string"
  32668. }
  32669. }
  32670. },
  32671. "models.Messageboard": {
  32672. "type": "object",
  32673. "required": [
  32674. "messageboardid"
  32675. ],
  32676. "properties": {
  32677. "contactnum": {
  32678. "description": "联系电话",
  32679. "type": "string"
  32680. },
  32681. "createtime": {
  32682. "description": "创建时间",
  32683. "type": "string"
  32684. },
  32685. "message": {
  32686. "description": "留言信息",
  32687. "type": "string"
  32688. },
  32689. "messageboardid": {
  32690. "description": "留言簿ID(SEQ_MessageBoard)",
  32691. "type": "integer"
  32692. },
  32693. "userid": {
  32694. "description": "用户ID",
  32695. "type": "integer"
  32696. }
  32697. }
  32698. },
  32699. "models.MyBargainApply": {
  32700. "type": "object",
  32701. "required": [
  32702. "userid"
  32703. ],
  32704. "properties": {
  32705. "accountid": {
  32706. "description": "摘牌资金账号",
  32707. "type": "integer"
  32708. },
  32709. "applyprice": {
  32710. "description": "申请价格",
  32711. "type": "string"
  32712. },
  32713. "applyremark": {
  32714. "description": "申请备注",
  32715. "type": "string"
  32716. },
  32717. "applystatus": {
  32718. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32719. "type": "integer"
  32720. },
  32721. "applytime": {
  32722. "description": "申请时间",
  32723. "type": "string"
  32724. },
  32725. "buyorsell": {
  32726. "description": "买卖 - 0:买 1:卖",
  32727. "type": "integer"
  32728. },
  32729. "buyusername": {
  32730. "description": "买方",
  32731. "type": "string"
  32732. },
  32733. "confirmprice": {
  32734. "description": "可接受价格(拒绝时填写)-作废",
  32735. "type": "number"
  32736. },
  32737. "confirmqty": {
  32738. "description": "可接受数量(拒绝时填写)-作废",
  32739. "type": "integer"
  32740. },
  32741. "confirmremark": {
  32742. "description": "确认备注",
  32743. "type": "string"
  32744. },
  32745. "confirmtime": {
  32746. "description": "确认时间",
  32747. "type": "string"
  32748. },
  32749. "confirmuserid": {
  32750. "description": "确认人",
  32751. "type": "integer"
  32752. },
  32753. "goodsno": {
  32754. "description": "商品编号",
  32755. "type": "string"
  32756. },
  32757. "handlestatus": {
  32758. "description": "处理状态",
  32759. "type": "integer"
  32760. },
  32761. "ladingbillid": {
  32762. "description": "摘牌方提单ID [卖]",
  32763. "type": "integer"
  32764. },
  32765. "marketid": {
  32766. "description": "市场ID",
  32767. "type": "integer"
  32768. },
  32769. "matchaccountid": {
  32770. "description": "挂牌方资金账号",
  32771. "type": "integer"
  32772. },
  32773. "matchuserid": {
  32774. "description": "挂牌方用户ID",
  32775. "type": "integer"
  32776. },
  32777. "performancetemplateid": {
  32778. "description": "履约计划模板ID",
  32779. "type": "integer"
  32780. },
  32781. "price": {
  32782. "description": "价格",
  32783. "type": "number"
  32784. },
  32785. "priceper": {
  32786. "description": "克拉单价 - 类型:1,2,3,5",
  32787. "type": "string"
  32788. },
  32789. "qty": {
  32790. "description": "申请数量",
  32791. "type": "number"
  32792. },
  32793. "refprice": {
  32794. "description": "参考价格",
  32795. "type": "string"
  32796. },
  32797. "retcode": {
  32798. "description": "委托返回代码",
  32799. "type": "integer"
  32800. },
  32801. "sellusername": {
  32802. "description": "卖方",
  32803. "type": "string"
  32804. },
  32805. "sizedisplay": {
  32806. "description": "尺寸",
  32807. "type": "string"
  32808. },
  32809. "subnum": {
  32810. "description": "摘牌方提单子单号 [卖]",
  32811. "type": "integer"
  32812. },
  32813. "tradedate": {
  32814. "description": "交易日(yyyyMMdd)",
  32815. "type": "string"
  32816. },
  32817. "userid": {
  32818. "description": "摘牌人用户ID",
  32819. "type": "integer"
  32820. },
  32821. "warehousenamedisplay": {
  32822. "type": "string"
  32823. },
  32824. "wrbargainid": {
  32825. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32826. "type": "string"
  32827. },
  32828. "wrtradeorderid": {
  32829. "description": "关联委托单ID",
  32830. "type": "string"
  32831. },
  32832. "zscerttypedisplay": {
  32833. "type": "string"
  32834. },
  32835. "zsclaritytype1display": {
  32836. "type": "string"
  32837. },
  32838. "zsclaritytype2display": {
  32839. "type": "string"
  32840. },
  32841. "zscolortype1display": {
  32842. "type": "string"
  32843. },
  32844. "zscolortype2display": {
  32845. "type": "string"
  32846. },
  32847. "zscrystaltypedisplay": {
  32848. "type": "string"
  32849. },
  32850. "zscurrencytypedisplay": {
  32851. "type": "string"
  32852. },
  32853. "zscurrencytypedisplayunit": {
  32854. "type": "string"
  32855. },
  32856. "zscuttype1display": {
  32857. "type": "string"
  32858. },
  32859. "zscuttype2display": {
  32860. "type": "string"
  32861. },
  32862. "zsczcolor1typedisplay": {
  32863. "type": "string"
  32864. },
  32865. "zsczcolor2typedisplay": {
  32866. "type": "string"
  32867. },
  32868. "zsczcolor3typedisplay": {
  32869. "type": "string"
  32870. },
  32871. "zsfluorescencetype1display": {
  32872. "type": "string"
  32873. },
  32874. "zsfluorescencetype2display": {
  32875. "type": "string"
  32876. },
  32877. "zspolishtype1display": {
  32878. "type": "string"
  32879. },
  32880. "zspolishtype2display": {
  32881. "type": "string"
  32882. },
  32883. "zsshapetypedisplay": {
  32884. "type": "string"
  32885. },
  32886. "zsstyletypedisplay": {
  32887. "type": "string"
  32888. },
  32889. "zssymmetrytype1display": {
  32890. "type": "string"
  32891. },
  32892. "zssymmetrytype2display": {
  32893. "type": "string"
  32894. }
  32895. }
  32896. },
  32897. "models.MyBuyOrder": {
  32898. "type": "object",
  32899. "required": [
  32900. "userid"
  32901. ],
  32902. "properties": {
  32903. "accountid": {
  32904. "description": "资金账户ID",
  32905. "type": "integer"
  32906. },
  32907. "marketid": {
  32908. "description": "市场ID",
  32909. "type": "integer"
  32910. },
  32911. "ordertime": {
  32912. "description": "委托时间",
  32913. "type": "string"
  32914. },
  32915. "origin": {
  32916. "description": "原产地",
  32917. "type": "string"
  32918. },
  32919. "performancetemplateid": {
  32920. "description": "履约计划模板ID",
  32921. "type": "integer"
  32922. },
  32923. "remark": {
  32924. "description": "备注",
  32925. "type": "string"
  32926. },
  32927. "userid": {
  32928. "description": "用户ID",
  32929. "type": "integer"
  32930. },
  32931. "validtime": {
  32932. "description": "有效期限",
  32933. "type": "string"
  32934. },
  32935. "warehouseids": {
  32936. "description": "仓库ID - 多个, 逗号分隔",
  32937. "type": "string"
  32938. },
  32939. "warehouseinfosdisplay": {
  32940. "type": "string"
  32941. },
  32942. "wrtradeorderid": {
  32943. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32944. "type": "string"
  32945. },
  32946. "wrtradeorderstatus": {
  32947. "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、",
  32948. "type": "integer"
  32949. },
  32950. "zscategory": {
  32951. "description": "钻石分类 - 枚举”ZSCategory“",
  32952. "type": "integer"
  32953. },
  32954. "zscategorydisplay": {
  32955. "type": "string"
  32956. },
  32957. "zsclaritytype": {
  32958. "description": "净度 - 两个, 逗号分隔",
  32959. "type": "string"
  32960. },
  32961. "zsclaritytypedisplay": {
  32962. "type": "string"
  32963. },
  32964. "zscolortype": {
  32965. "description": "颜色 - 两个, 逗号分隔",
  32966. "type": "string"
  32967. },
  32968. "zscolortypedisplay": {
  32969. "type": "string"
  32970. },
  32971. "zscrystaltype": {
  32972. "description": "晶型 - 多个,逗号分隔",
  32973. "type": "string"
  32974. },
  32975. "zscrystaltypedisplay": {
  32976. "type": "string"
  32977. },
  32978. "zscurrencytype": {
  32979. "description": "货币类型 - 多个, 逗号分隔",
  32980. "type": "string"
  32981. },
  32982. "zscurrencytypedisplay": {
  32983. "type": "string"
  32984. },
  32985. "zscuttype": {
  32986. "description": "切工 - 两个, 逗号分隔",
  32987. "type": "string"
  32988. },
  32989. "zscuttypedisplay": {
  32990. "type": "string"
  32991. },
  32992. "zsczcolor1type": {
  32993. "description": "彩钻颜色1, 逗号分隔",
  32994. "type": "string"
  32995. },
  32996. "zsczcolor1typedisplay": {
  32997. "type": "string"
  32998. },
  32999. "zsczcolor2type": {
  33000. "description": "彩钻颜色2, 逗号分隔",
  33001. "type": "string"
  33002. },
  33003. "zsczcolor2typedisplay": {
  33004. "type": "string"
  33005. },
  33006. "zsczcolor3type": {
  33007. "description": "彩钻颜色3, 逗号分隔",
  33008. "type": "string"
  33009. },
  33010. "zsczcolor3typedisplay": {
  33011. "type": "string"
  33012. },
  33013. "zsfluorescencetype": {
  33014. "description": "荧光 - 多个, 逗号分隔",
  33015. "type": "string"
  33016. },
  33017. "zsfluorescencetypedisplay": {
  33018. "type": "string"
  33019. },
  33020. "zspolishtype": {
  33021. "description": "抛光度 - 两个, 逗号分隔",
  33022. "type": "string"
  33023. },
  33024. "zspolishtypedisplay": {
  33025. "type": "string"
  33026. },
  33027. "zsshapetype": {
  33028. "description": "形状 - 多个, 逗号分隔",
  33029. "type": "string"
  33030. },
  33031. "zsshapetypedisplay": {
  33032. "type": "string"
  33033. },
  33034. "zssize": {
  33035. "description": "尺寸 - 两个小数, 逗号分隔",
  33036. "type": "string"
  33037. },
  33038. "zsstyletype": {
  33039. "description": "款式 - 多个, 逗号分隔",
  33040. "type": "string"
  33041. },
  33042. "zsstyletypedisplay": {
  33043. "type": "string"
  33044. },
  33045. "zssymmetrytype": {
  33046. "description": "对称度 - 两个, 逗号分隔",
  33047. "type": "string"
  33048. },
  33049. "zssymmetrytypedisplay": {
  33050. "type": "string"
  33051. },
  33052. "zstabledisplay": {
  33053. "description": "求购信息",
  33054. "type": "string"
  33055. }
  33056. }
  33057. },
  33058. "models.MyDeListing": {
  33059. "type": "object",
  33060. "required": [
  33061. "userid"
  33062. ],
  33063. "properties": {
  33064. "buyaccountid": {
  33065. "description": "买方账号ID",
  33066. "type": "integer"
  33067. },
  33068. "buychargevalue": {
  33069. "description": "买方手续费",
  33070. "type": "number"
  33071. },
  33072. "buyuserid": {
  33073. "description": "买方用户ID",
  33074. "type": "integer"
  33075. },
  33076. "deliverygoodsid": {
  33077. "description": "现货品种ID",
  33078. "type": "integer"
  33079. },
  33080. "exchangerate": {
  33081. "description": "汇率",
  33082. "type": "number"
  33083. },
  33084. "goodsno": {
  33085. "description": "商品编号",
  33086. "type": "string"
  33087. },
  33088. "marketid": {
  33089. "description": "市场ID",
  33090. "type": "integer"
  33091. },
  33092. "matchusername": {
  33093. "description": "对手方",
  33094. "type": "string"
  33095. },
  33096. "oritradeamount": {
  33097. "description": "成交金额[商品币种]",
  33098. "type": "number"
  33099. },
  33100. "performanceplanid": {
  33101. "description": "履约计划ID/合同ID",
  33102. "type": "string"
  33103. },
  33104. "price": {
  33105. "description": "价格",
  33106. "type": "number"
  33107. },
  33108. "qty": {
  33109. "description": "成交重量",
  33110. "type": "number"
  33111. },
  33112. "sellaccountid": {
  33113. "description": "卖方账号ID",
  33114. "type": "integer"
  33115. },
  33116. "sellchargevalue": {
  33117. "description": "卖方手续费",
  33118. "type": "number"
  33119. },
  33120. "selluserid": {
  33121. "description": "卖方用户ID",
  33122. "type": "integer"
  33123. },
  33124. "sizedisplay": {
  33125. "description": "尺寸",
  33126. "type": "string"
  33127. },
  33128. "tradeamount": {
  33129. "description": "成交金额",
  33130. "type": "number"
  33131. },
  33132. "tradedate": {
  33133. "description": "交易日(yyyyMMdd)",
  33134. "type": "string"
  33135. },
  33136. "tradeprice": {
  33137. "description": "成交价格",
  33138. "type": "number"
  33139. },
  33140. "tradetime": {
  33141. "description": "成交时间",
  33142. "type": "string"
  33143. },
  33144. "userid": {
  33145. "description": "用户ID",
  33146. "type": "integer"
  33147. },
  33148. "warehousenamedisplay": {
  33149. "type": "string"
  33150. },
  33151. "wrfactortypeid": {
  33152. "description": "仓单要素类型ID",
  33153. "type": "integer"
  33154. },
  33155. "wrstandardid": {
  33156. "description": "现货商品ID",
  33157. "type": "integer"
  33158. },
  33159. "wrtradedetailid": {
  33160. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  33161. "type": "string"
  33162. },
  33163. "zscategory": {
  33164. "description": "钻石分类 - 枚举”ZSCategory“",
  33165. "type": "integer"
  33166. },
  33167. "zscategorydisplay": {
  33168. "type": "string"
  33169. },
  33170. "zscerttypedisplay": {
  33171. "type": "string"
  33172. },
  33173. "zsclaritytype1display": {
  33174. "type": "string"
  33175. },
  33176. "zsclaritytype2display": {
  33177. "type": "string"
  33178. },
  33179. "zscolortype1display": {
  33180. "type": "string"
  33181. },
  33182. "zscolortype2display": {
  33183. "type": "string"
  33184. },
  33185. "zscrystaltypedisplay": {
  33186. "type": "string"
  33187. },
  33188. "zscurrencytype": {
  33189. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33190. "type": "integer"
  33191. },
  33192. "zscurrencytypedisplay": {
  33193. "type": "string"
  33194. },
  33195. "zscurrencytypedisplayunit": {
  33196. "type": "string"
  33197. },
  33198. "zscuttype1display": {
  33199. "type": "string"
  33200. },
  33201. "zscuttype2display": {
  33202. "type": "string"
  33203. },
  33204. "zsczcolor1typedisplay": {
  33205. "type": "string"
  33206. },
  33207. "zsczcolor2typedisplay": {
  33208. "type": "string"
  33209. },
  33210. "zsczcolor3typedisplay": {
  33211. "type": "string"
  33212. },
  33213. "zsfluorescencetype1display": {
  33214. "type": "string"
  33215. },
  33216. "zsfluorescencetype2display": {
  33217. "type": "string"
  33218. },
  33219. "zspolishtype1display": {
  33220. "type": "string"
  33221. },
  33222. "zspolishtype2display": {
  33223. "type": "string"
  33224. },
  33225. "zsshapetypedisplay": {
  33226. "type": "string"
  33227. },
  33228. "zsstyletypedisplay": {
  33229. "type": "string"
  33230. },
  33231. "zssymmetrytype1display": {
  33232. "type": "string"
  33233. },
  33234. "zssymmetrytype2display": {
  33235. "type": "string"
  33236. }
  33237. }
  33238. },
  33239. "models.MyDelistingApply": {
  33240. "type": "object",
  33241. "required": [
  33242. "selluserid"
  33243. ],
  33244. "properties": {
  33245. "applyprice": {
  33246. "description": "申请价格",
  33247. "type": "number"
  33248. },
  33249. "applyqty": {
  33250. "description": "申请数量",
  33251. "type": "number"
  33252. },
  33253. "applyremark": {
  33254. "description": "申请备注",
  33255. "type": "string"
  33256. },
  33257. "applystatus": {
  33258. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33259. "type": "integer"
  33260. },
  33261. "applytime": {
  33262. "description": "申请时间",
  33263. "type": "string"
  33264. },
  33265. "auditremark": {
  33266. "description": "确认备注",
  33267. "type": "string"
  33268. },
  33269. "audittime": {
  33270. "description": "确认时间",
  33271. "type": "string"
  33272. },
  33273. "buyuserid": {
  33274. "description": "买方用户ID",
  33275. "type": "integer"
  33276. },
  33277. "buyusername": {
  33278. "description": "买方",
  33279. "type": "string"
  33280. },
  33281. "buywrtradeorderid": {
  33282. "description": "买委托单ID",
  33283. "type": "string"
  33284. },
  33285. "goodsno": {
  33286. "description": "商品编号",
  33287. "type": "string"
  33288. },
  33289. "ladingbillid": {
  33290. "description": "卖方提单ID",
  33291. "type": "string"
  33292. },
  33293. "marketid": {
  33294. "description": "市场ID",
  33295. "type": "integer"
  33296. },
  33297. "performancetemplateid": {
  33298. "description": "履约计划模板ID",
  33299. "type": "integer"
  33300. },
  33301. "price": {
  33302. "description": "价格",
  33303. "type": "number"
  33304. },
  33305. "sellaccountid": {
  33306. "description": "卖方账户ID",
  33307. "type": "integer"
  33308. },
  33309. "selldelistingapplyid": {
  33310. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  33311. "type": "string"
  33312. },
  33313. "selltradeorderid": {
  33314. "description": "卖方委托ID(买方确认成交后更新)",
  33315. "type": "string"
  33316. },
  33317. "selluserid": {
  33318. "description": "卖方用户ID",
  33319. "type": "integer"
  33320. },
  33321. "sellusername": {
  33322. "description": "卖方",
  33323. "type": "string"
  33324. },
  33325. "sizedisplay": {
  33326. "description": "尺寸",
  33327. "type": "string"
  33328. },
  33329. "subnum": {
  33330. "description": "卖方提单子单号",
  33331. "type": "integer"
  33332. },
  33333. "warehouseinfosdisplay": {
  33334. "type": "string"
  33335. },
  33336. "weight": {
  33337. "description": "克拉重量",
  33338. "type": "number"
  33339. },
  33340. "wrfactortypeid": {
  33341. "description": "仓单要素类型ID",
  33342. "type": "string"
  33343. },
  33344. "wrstandardid": {
  33345. "description": "现货商品ID",
  33346. "type": "integer"
  33347. },
  33348. "zsallproperties": {
  33349. "type": "string"
  33350. },
  33351. "zscategorydisplay": {
  33352. "type": "string"
  33353. },
  33354. "zsclaritytypedisplay": {
  33355. "type": "string"
  33356. },
  33357. "zscolortypedisplay": {
  33358. "type": "string"
  33359. },
  33360. "zscrystaltypedisplay": {
  33361. "type": "string"
  33362. },
  33363. "zscurrencytypedisplay": {
  33364. "type": "string"
  33365. },
  33366. "zscurrencytypedisplayunit": {
  33367. "description": "价格单位",
  33368. "type": "string"
  33369. },
  33370. "zscuttypedisplay": {
  33371. "type": "string"
  33372. },
  33373. "zsczcolor1typedisplay": {
  33374. "type": "string"
  33375. },
  33376. "zsczcolor2typedisplay": {
  33377. "type": "string"
  33378. },
  33379. "zsczcolor3typedisplay": {
  33380. "type": "string"
  33381. },
  33382. "zsfluorescencetypedisplay": {
  33383. "type": "string"
  33384. },
  33385. "zspolishtypedisplay": {
  33386. "type": "string"
  33387. },
  33388. "zsshapetypedisplay": {
  33389. "type": "string"
  33390. },
  33391. "zssizedisplay": {
  33392. "type": "string"
  33393. },
  33394. "zsstyletypedisplay": {
  33395. "type": "string"
  33396. },
  33397. "zssymmetrytypedisplay": {
  33398. "type": "string"
  33399. },
  33400. "zstabledisplay": {
  33401. "type": "string"
  33402. }
  33403. }
  33404. },
  33405. "models.MyFavorite": {
  33406. "type": "object",
  33407. "required": [
  33408. "userid"
  33409. ],
  33410. "properties": {
  33411. "accountname": {
  33412. "description": "账户名称(机构名称)",
  33413. "type": "string"
  33414. },
  33415. "buyorsell": {
  33416. "description": "买卖 - 0:买 1:卖",
  33417. "type": "integer"
  33418. },
  33419. "favoritestatus": {
  33420. "description": "收藏状态 - 1:正常 2:失效",
  33421. "type": "integer"
  33422. },
  33423. "goodsno": {
  33424. "description": "商品编号",
  33425. "type": "string"
  33426. },
  33427. "marketid": {
  33428. "description": "市场ID",
  33429. "type": "integer"
  33430. },
  33431. "marketprice": {
  33432. "description": "市场价",
  33433. "type": "string"
  33434. },
  33435. "price": {
  33436. "description": "价格",
  33437. "type": "number"
  33438. },
  33439. "priceper": {
  33440. "description": "克拉单价",
  33441. "type": "string"
  33442. },
  33443. "sellusername": {
  33444. "description": "卖家",
  33445. "type": "string"
  33446. },
  33447. "sizedisplay": {
  33448. "description": "尺寸",
  33449. "type": "string"
  33450. },
  33451. "userid": {
  33452. "description": "用户ID",
  33453. "type": "integer"
  33454. },
  33455. "warehousenamedisplay": {
  33456. "description": "仓库名称",
  33457. "type": "string"
  33458. },
  33459. "weight": {
  33460. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33461. "type": "number"
  33462. },
  33463. "weightavg": {
  33464. "description": "平均单颗重量 - 类型:1,3",
  33465. "type": "number"
  33466. },
  33467. "wrfactortypeid": {
  33468. "description": "仓单要素类型ID/商品ID(77)",
  33469. "type": "string"
  33470. },
  33471. "wrstandardid": {
  33472. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  33473. "type": "integer"
  33474. },
  33475. "wrtradeorderid": {
  33476. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33477. "type": "string"
  33478. },
  33479. "zscategory": {
  33480. "description": "钻石分类 - 枚举”ZSCategory“",
  33481. "type": "integer"
  33482. },
  33483. "zscategorydisplay": {
  33484. "type": "string"
  33485. },
  33486. "zscerttypedisplay": {
  33487. "type": "string"
  33488. },
  33489. "zsclaritytype1display": {
  33490. "type": "string"
  33491. },
  33492. "zsclaritytype2display": {
  33493. "type": "string"
  33494. },
  33495. "zscolortype1display": {
  33496. "type": "string"
  33497. },
  33498. "zscolortype2display": {
  33499. "type": "string"
  33500. },
  33501. "zscrystaltypedisplay": {
  33502. "type": "string"
  33503. },
  33504. "zscurrencytypedisplay": {
  33505. "type": "string"
  33506. },
  33507. "zscurrencytypedisplayunit": {
  33508. "type": "string"
  33509. },
  33510. "zscuttype1display": {
  33511. "type": "string"
  33512. },
  33513. "zscuttype2display": {
  33514. "type": "string"
  33515. },
  33516. "zsczcolor1typedisplay": {
  33517. "type": "string"
  33518. },
  33519. "zsczcolor2typedisplay": {
  33520. "type": "string"
  33521. },
  33522. "zsczcolor3typedisplay": {
  33523. "type": "string"
  33524. },
  33525. "zsfluorescencetype1display": {
  33526. "type": "string"
  33527. },
  33528. "zsfluorescencetype2display": {
  33529. "type": "string"
  33530. },
  33531. "zspolishtype1display": {
  33532. "type": "string"
  33533. },
  33534. "zspolishtype2display": {
  33535. "type": "string"
  33536. },
  33537. "zsshapetypedisplay": {
  33538. "type": "string"
  33539. },
  33540. "zsstyletypedisplay": {
  33541. "type": "string"
  33542. },
  33543. "zssymmetrytype1display": {
  33544. "type": "string"
  33545. },
  33546. "zssymmetrytype2display": {
  33547. "type": "string"
  33548. }
  33549. }
  33550. },
  33551. "models.MyPerformanc": {
  33552. "type": "object",
  33553. "properties": {
  33554. "accountname": {
  33555. "description": "[对手方]账户名称(机构名称)",
  33556. "type": "string"
  33557. },
  33558. "amount": {
  33559. "description": "履约金额",
  33560. "type": "number"
  33561. },
  33562. "buyaccountid": {
  33563. "description": "买方账号",
  33564. "type": "integer"
  33565. },
  33566. "buyerfreezeamount": {
  33567. "description": "买方履约前冻结资金",
  33568. "type": "number"
  33569. },
  33570. "buyerfreezeamountremain": {
  33571. "description": "买方履约前冻结资金剩余",
  33572. "type": "number"
  33573. },
  33574. "buyerinfo": {
  33575. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  33576. "type": "string"
  33577. },
  33578. "buyorsell": {
  33579. "description": "方向 - 0:买 1:卖",
  33580. "type": "integer"
  33581. },
  33582. "buypaidamount": {
  33583. "description": "买方已冻/已扣金额",
  33584. "type": "number"
  33585. },
  33586. "buytodayamount": {
  33587. "description": "买方今日扣/冻金额 (待开市时清零)",
  33588. "type": "number"
  33589. },
  33590. "curstepid": {
  33591. "description": "当前步骤ID",
  33592. "type": "string"
  33593. },
  33594. "goodsno": {
  33595. "description": "商品编号",
  33596. "type": "string"
  33597. },
  33598. "overshortamount": {
  33599. "description": "溢短金额",
  33600. "type": "number"
  33601. },
  33602. "paymenttype": {
  33603. "description": "买方支付方式 - 1:冻结 2:扣款",
  33604. "type": "integer"
  33605. },
  33606. "performanceplanid": {
  33607. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33608. "type": "string"
  33609. },
  33610. "performancestatus": {
  33611. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33612. "type": "integer"
  33613. },
  33614. "price": {
  33615. "description": "价格",
  33616. "type": "number"
  33617. },
  33618. "priceper": {
  33619. "description": "克拉单价",
  33620. "type": "string"
  33621. },
  33622. "relatedorderid": {
  33623. "description": "关联单号(履约类型的关联单号)",
  33624. "type": "string"
  33625. },
  33626. "remaindays": {
  33627. "description": "剩余天数",
  33628. "type": "integer"
  33629. },
  33630. "sellerfreezeamount": {
  33631. "description": "卖方履约前冻结资金",
  33632. "type": "number"
  33633. },
  33634. "sellerfreezeamountremain": {
  33635. "description": "卖方履约前冻结资金剩余",
  33636. "type": "number"
  33637. },
  33638. "sellerinfo": {
  33639. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  33640. "type": "string"
  33641. },
  33642. "sellreceivedamount": {
  33643. "description": "卖方已收金额",
  33644. "type": "number"
  33645. },
  33646. "selltodayamount": {
  33647. "description": "卖方今日收取金额(待开市时清零)",
  33648. "type": "number"
  33649. },
  33650. "sizedisplay": {
  33651. "description": "尺寸",
  33652. "type": "string"
  33653. },
  33654. "steptypeid": {
  33655. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33656. "type": "integer"
  33657. },
  33658. "warehousenamedisplay": {
  33659. "type": "string"
  33660. },
  33661. "zscategorydisplay": {
  33662. "type": "string"
  33663. },
  33664. "zscerttypedisplay": {
  33665. "type": "string"
  33666. },
  33667. "zsclaritytype1display": {
  33668. "type": "string"
  33669. },
  33670. "zsclaritytype2display": {
  33671. "type": "string"
  33672. },
  33673. "zscolortype1display": {
  33674. "type": "string"
  33675. },
  33676. "zscolortype2display": {
  33677. "type": "string"
  33678. },
  33679. "zscrystaltypedisplay": {
  33680. "type": "string"
  33681. },
  33682. "zscurrencytypedisplay": {
  33683. "type": "string"
  33684. },
  33685. "zscurrencytypedisplayunit": {
  33686. "type": "string"
  33687. },
  33688. "zscuttype1display": {
  33689. "type": "string"
  33690. },
  33691. "zscuttype2display": {
  33692. "type": "string"
  33693. },
  33694. "zsczcolor1typedisplay": {
  33695. "type": "string"
  33696. },
  33697. "zsczcolor2typedisplay": {
  33698. "type": "string"
  33699. },
  33700. "zsczcolor3typedisplay": {
  33701. "type": "string"
  33702. },
  33703. "zsfluorescencetype1display": {
  33704. "type": "string"
  33705. },
  33706. "zsfluorescencetype2display": {
  33707. "type": "string"
  33708. },
  33709. "zspolishtype1display": {
  33710. "type": "string"
  33711. },
  33712. "zspolishtype2display": {
  33713. "type": "string"
  33714. },
  33715. "zsshapetypedisplay": {
  33716. "type": "string"
  33717. },
  33718. "zsstyletypedisplay": {
  33719. "type": "string"
  33720. },
  33721. "zssymmetrytype1display": {
  33722. "type": "string"
  33723. },
  33724. "zssymmetrytype2display": {
  33725. "type": "string"
  33726. }
  33727. }
  33728. },
  33729. "models.MyRefer": {
  33730. "type": "object",
  33731. "properties": {
  33732. "accountname": {
  33733. "description": "用户名(脱敏)",
  33734. "type": "string"
  33735. },
  33736. "createtime": {
  33737. "description": "时间(yyyy-mm-dd)",
  33738. "type": "string"
  33739. },
  33740. "score": {
  33741. "description": "积分",
  33742. "type": "number"
  33743. }
  33744. }
  33745. },
  33746. "models.MySellOrder": {
  33747. "type": "object",
  33748. "required": [
  33749. "userid"
  33750. ],
  33751. "properties": {
  33752. "accountid": {
  33753. "description": "资金账号",
  33754. "type": "integer"
  33755. },
  33756. "applyid": {
  33757. "description": "申请单ID",
  33758. "type": "integer"
  33759. },
  33760. "attachment1": {
  33761. "description": "附件1",
  33762. "type": "string"
  33763. },
  33764. "attachment2": {
  33765. "description": "附件2",
  33766. "type": "string"
  33767. },
  33768. "buyorsell": {
  33769. "description": "买卖 - 0:买 1:卖",
  33770. "type": "integer"
  33771. },
  33772. "canbargain": {
  33773. "description": "是否可议价 - 0:不可 1:可",
  33774. "type": "integer"
  33775. },
  33776. "cancelqty": {
  33777. "description": "撤销数量",
  33778. "type": "integer"
  33779. },
  33780. "canceltime": {
  33781. "description": "撤销时间",
  33782. "type": "string"
  33783. },
  33784. "cerno": {
  33785. "type": "string"
  33786. },
  33787. "chargealgorithm": {
  33788. "description": "手续费收取方式 1:比率 2:固定",
  33789. "type": "integer"
  33790. },
  33791. "chargealgorithmvalue": {
  33792. "description": "手续费设置值(交易所部分)",
  33793. "type": "number"
  33794. },
  33795. "chargealgorithmvalue2": {
  33796. "description": "手续费设置值(会员部分)",
  33797. "type": "number"
  33798. },
  33799. "clientordertime": {
  33800. "description": "客户端委托时间",
  33801. "type": "string"
  33802. },
  33803. "cpcertno": {
  33804. "type": "string"
  33805. },
  33806. "exchangerate": {
  33807. "description": "汇率[67]",
  33808. "type": "number"
  33809. },
  33810. "firstratio": {
  33811. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  33812. "type": "number"
  33813. },
  33814. "fixedprice": {
  33815. "description": "[克拉单价]固定价格 - [挂牌]",
  33816. "type": "number"
  33817. },
  33818. "freezecharge": {
  33819. "description": "冻结手续费",
  33820. "type": "number"
  33821. },
  33822. "freezefirstamount": {
  33823. "description": "冻结首付金额 - [摘牌]",
  33824. "type": "number"
  33825. },
  33826. "freezemargin": {
  33827. "description": "冻结保证金",
  33828. "type": "number"
  33829. },
  33830. "goodsno": {
  33831. "description": "商品编号",
  33832. "type": "string"
  33833. },
  33834. "imagepath": {
  33835. "type": "string"
  33836. },
  33837. "isspecified": {
  33838. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  33839. "type": "integer"
  33840. },
  33841. "kppath": {
  33842. "type": "string"
  33843. },
  33844. "kpweight": {
  33845. "type": "string"
  33846. },
  33847. "marginalgorithm": {
  33848. "description": "保证金方式 - 1:比率 2:固定",
  33849. "type": "integer"
  33850. },
  33851. "marginvalue": {
  33852. "description": "保证金设置值",
  33853. "type": "number"
  33854. },
  33855. "marketid": {
  33856. "description": "市场ID",
  33857. "type": "integer"
  33858. },
  33859. "marketprice": {
  33860. "type": "string"
  33861. },
  33862. "orderamount": {
  33863. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  33864. "type": "number"
  33865. },
  33866. "ordertime": {
  33867. "description": "委托时间",
  33868. "type": "string"
  33869. },
  33870. "performancetemplateid": {
  33871. "description": "履约计划模板ID",
  33872. "type": "integer"
  33873. },
  33874. "price": {
  33875. "description": "价格",
  33876. "type": "number"
  33877. },
  33878. "pricefactor": {
  33879. "description": "价格系数(浮动价时填写) - [挂牌]",
  33880. "type": "number"
  33881. },
  33882. "pricemove": {
  33883. "description": "升贴水(浮动价时填写) - [挂牌]",
  33884. "type": "number"
  33885. },
  33886. "priceper": {
  33887. "type": "string"
  33888. },
  33889. "relatedwrtradeorderid": {
  33890. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  33891. "type": "integer"
  33892. },
  33893. "remark": {
  33894. "type": "string"
  33895. },
  33896. "retcode": {
  33897. "description": "错误代码",
  33898. "type": "integer"
  33899. },
  33900. "selledqty": {
  33901. "description": "成交重量",
  33902. "type": "number"
  33903. },
  33904. "settingmaterial": {
  33905. "type": "string"
  33906. },
  33907. "size1": {
  33908. "type": "string"
  33909. },
  33910. "size2": {
  33911. "type": "string"
  33912. },
  33913. "size3": {
  33914. "type": "string"
  33915. },
  33916. "sizedisplay": {
  33917. "description": "尺寸",
  33918. "type": "string"
  33919. },
  33920. "stonedesc": {
  33921. "type": "string"
  33922. },
  33923. "totalqty": {
  33924. "description": "总重量",
  33925. "type": "number"
  33926. },
  33927. "tradedate": {
  33928. "description": "交易日(yyyyMMdd)",
  33929. "type": "string"
  33930. },
  33931. "tradeprice": {
  33932. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33933. "type": "number"
  33934. },
  33935. "unfreezecharge": {
  33936. "description": "解冻手续费",
  33937. "type": "number"
  33938. },
  33939. "unfreezefirstamount": {
  33940. "description": "解冻首付金额 - [摘牌]",
  33941. "type": "number"
  33942. },
  33943. "unfreezemargin": {
  33944. "description": "解冻保证金",
  33945. "type": "number"
  33946. },
  33947. "userid": {
  33948. "description": "用户ID",
  33949. "type": "integer"
  33950. },
  33951. "uuid": {
  33952. "description": "发起端唯一id",
  33953. "type": "string"
  33954. },
  33955. "validtime": {
  33956. "description": "有效期限",
  33957. "type": "string"
  33958. },
  33959. "validtype": {
  33960. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33961. "type": "integer"
  33962. },
  33963. "warehousenamedisplay": {
  33964. "type": "string"
  33965. },
  33966. "wrbargainid": {
  33967. "description": "议价申请单ID",
  33968. "type": "integer"
  33969. },
  33970. "wrfactortypeid": {
  33971. "description": "仓单要素类型ID/商品ID(77)",
  33972. "type": "integer"
  33973. },
  33974. "wrpath": {
  33975. "type": "string"
  33976. },
  33977. "wrpricetype": {
  33978. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33979. "type": "integer"
  33980. },
  33981. "wrstandardid": {
  33982. "description": "现货商品ID",
  33983. "type": "integer"
  33984. },
  33985. "wrtradeorderid": {
  33986. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33987. "type": "string"
  33988. },
  33989. "wrtradeorderstatus": {
  33990. "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:撤单解冻贷款失败",
  33991. "type": "integer"
  33992. },
  33993. "wrtradetype": {
  33994. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33995. "type": "integer"
  33996. },
  33997. "wrtransferuserid": {
  33998. "description": "仓单受让用户 - [摘牌]",
  33999. "type": "integer"
  34000. },
  34001. "zscategory": {
  34002. "description": "钻石分类 - 枚举”ZSCategory“",
  34003. "type": "integer"
  34004. },
  34005. "zscategorydisplay": {
  34006. "description": "钻石分类 - 描述",
  34007. "type": "string"
  34008. },
  34009. "zscerttypedisplay": {
  34010. "type": "string"
  34011. },
  34012. "zsclaritytype1display": {
  34013. "type": "string"
  34014. },
  34015. "zsclaritytype2display": {
  34016. "type": "string"
  34017. },
  34018. "zscolortype1display": {
  34019. "type": "string"
  34020. },
  34021. "zscolortype2display": {
  34022. "type": "string"
  34023. },
  34024. "zscrystaltype": {
  34025. "type": "string"
  34026. },
  34027. "zscrystaltypedisplay": {
  34028. "type": "string"
  34029. },
  34030. "zscurrencytype": {
  34031. "description": "货币类型 - 枚举“ZSCurrencyType”",
  34032. "type": "integer"
  34033. },
  34034. "zscurrencytypedisplay": {
  34035. "type": "string"
  34036. },
  34037. "zscurrencytypedisplayunit": {
  34038. "type": "string"
  34039. },
  34040. "zscuttype1display": {
  34041. "type": "string"
  34042. },
  34043. "zscuttype2display": {
  34044. "type": "string"
  34045. },
  34046. "zsczcolor1typedisplay": {
  34047. "type": "string"
  34048. },
  34049. "zsczcolor2typedisplay": {
  34050. "type": "string"
  34051. },
  34052. "zsczcolor3typedisplay": {
  34053. "type": "string"
  34054. },
  34055. "zsfluorescencetype1display": {
  34056. "type": "string"
  34057. },
  34058. "zsfluorescencetype2display": {
  34059. "type": "string"
  34060. },
  34061. "zspolishtype1display": {
  34062. "type": "string"
  34063. },
  34064. "zspolishtype2display": {
  34065. "type": "string"
  34066. },
  34067. "zsshapetypedisplay": {
  34068. "type": "string"
  34069. },
  34070. "zsstyletypedisplay": {
  34071. "type": "string"
  34072. },
  34073. "zssymmetrytype1display": {
  34074. "type": "string"
  34075. },
  34076. "zssymmetrytype2display": {
  34077. "type": "string"
  34078. }
  34079. }
  34080. },
  34081. "models.MyWRPosition": {
  34082. "type": "object",
  34083. "required": [
  34084. "wruserid"
  34085. ],
  34086. "properties": {
  34087. "cerno": {
  34088. "description": "证书编号 - 类型:2,4,5",
  34089. "type": "string"
  34090. },
  34091. "cpcertno": {
  34092. "description": "金伯利证书编号 - 类型:3",
  34093. "type": "string"
  34094. },
  34095. "ffreezeqty": {
  34096. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  34097. "type": "number"
  34098. },
  34099. "ftotalqty": {
  34100. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  34101. "type": "number"
  34102. },
  34103. "goodsno": {
  34104. "description": "商品编号",
  34105. "type": "string"
  34106. },
  34107. "imagepath": {
  34108. "description": "商品照片(相对地址)",
  34109. "type": "string"
  34110. },
  34111. "isvalid": {
  34112. "description": "是否有效 - 0:无效 1:有效",
  34113. "type": "integer"
  34114. },
  34115. "kppath": {
  34116. "description": "金伯利证书图片(相对地址) - 类型:3",
  34117. "type": "string"
  34118. },
  34119. "kpweight": {
  34120. "description": "金伯利证书重量 - 类型:3",
  34121. "type": "string"
  34122. },
  34123. "ladingbillid": {
  34124. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34125. "type": "string"
  34126. },
  34127. "marketflag": {
  34128. "description": "是否上架,0-全部 1-是 2-否",
  34129. "type": "integer"
  34130. },
  34131. "marketprice": {
  34132. "description": "市场价",
  34133. "type": "string"
  34134. },
  34135. "origin": {
  34136. "description": "原产地 - 类型:3",
  34137. "type": "string"
  34138. },
  34139. "price": {
  34140. "description": "总价(价格) - 类型:1,2,3,4,5",
  34141. "type": "number"
  34142. },
  34143. "priceper": {
  34144. "description": "克拉单价 - 类型:1,2,3,5",
  34145. "type": "string"
  34146. },
  34147. "remark": {
  34148. "description": "备注",
  34149. "type": "string"
  34150. },
  34151. "sellmobile": {
  34152. "description": "手机号码(加密存储)",
  34153. "type": "string"
  34154. },
  34155. "sellusername": {
  34156. "description": "账户名称(机构名称)",
  34157. "type": "string"
  34158. },
  34159. "settingmaterial": {
  34160. "description": "镶嵌材料 - 类型:4",
  34161. "type": "string"
  34162. },
  34163. "size1": {
  34164. "description": "尺寸1 - 类型:2,4,5",
  34165. "type": "string"
  34166. },
  34167. "size2": {
  34168. "description": "尺寸2 - 类型:2,4,5",
  34169. "type": "string"
  34170. },
  34171. "size3": {
  34172. "description": "尺寸3 - 类型:2,4,5",
  34173. "type": "string"
  34174. },
  34175. "sizedisplay": {
  34176. "description": "尺寸",
  34177. "type": "string"
  34178. },
  34179. "stonedesc": {
  34180. "description": "配石描述 - 类型:4",
  34181. "type": "string"
  34182. },
  34183. "subnum": {
  34184. "description": "提单子单号",
  34185. "type": "integer"
  34186. },
  34187. "userid": {
  34188. "description": "用户ID",
  34189. "type": "integer"
  34190. },
  34191. "warehouseid": {
  34192. "description": "仓库ID",
  34193. "type": "integer"
  34194. },
  34195. "warehousenamedisplay": {
  34196. "type": "string"
  34197. },
  34198. "weight": {
  34199. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  34200. "type": "number"
  34201. },
  34202. "weightavg": {
  34203. "description": "平均单颗重量 - 类型:1,3",
  34204. "type": "number"
  34205. },
  34206. "wrpath": {
  34207. "description": "仓单扫描件(相对地址)",
  34208. "type": "string"
  34209. },
  34210. "wrstandardid": {
  34211. "description": "现货商品ID",
  34212. "type": "integer"
  34213. },
  34214. "wrtradeorderid": {
  34215. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34216. "type": "string"
  34217. },
  34218. "wruserid": {
  34219. "description": "登录用户ID",
  34220. "type": "integer"
  34221. },
  34222. "zscategory": {
  34223. "description": "钻石分类 - 枚举”ZSCategory“",
  34224. "type": "integer"
  34225. },
  34226. "zscategorydisplay": {
  34227. "type": "string"
  34228. },
  34229. "zscerttype": {
  34230. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  34231. "type": "integer"
  34232. },
  34233. "zscerttypedisplay": {
  34234. "type": "string"
  34235. },
  34236. "zsclaritytype1": {
  34237. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  34238. "type": "integer"
  34239. },
  34240. "zsclaritytype1display": {
  34241. "type": "string"
  34242. },
  34243. "zsclaritytype2": {
  34244. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  34245. "type": "integer"
  34246. },
  34247. "zsclaritytype2display": {
  34248. "type": "string"
  34249. },
  34250. "zscolortype1": {
  34251. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  34252. "type": "integer"
  34253. },
  34254. "zscolortype1display": {
  34255. "type": "string"
  34256. },
  34257. "zscolortype2": {
  34258. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  34259. "type": "integer"
  34260. },
  34261. "zscolortype2display": {
  34262. "type": "string"
  34263. },
  34264. "zscrystaltype": {
  34265. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  34266. "type": "string"
  34267. },
  34268. "zscrystaltypedisplay": {
  34269. "type": "string"
  34270. },
  34271. "zscurrencytype": {
  34272. "description": "货币类型 - 枚举“ZSCurrencyType”",
  34273. "type": "integer"
  34274. },
  34275. "zscurrencytypedisplay": {
  34276. "type": "string"
  34277. },
  34278. "zscurrencytypedisplayunit": {
  34279. "type": "string"
  34280. },
  34281. "zscuttype1": {
  34282. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  34283. "type": "integer"
  34284. },
  34285. "zscuttype1display": {
  34286. "type": "string"
  34287. },
  34288. "zscuttype2": {
  34289. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  34290. "type": "integer"
  34291. },
  34292. "zscuttype2display": {
  34293. "type": "string"
  34294. },
  34295. "zsczcolor1type": {
  34296. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  34297. "type": "integer"
  34298. },
  34299. "zsczcolor1typedisplay": {
  34300. "type": "string"
  34301. },
  34302. "zsczcolor2type": {
  34303. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  34304. "type": "integer"
  34305. },
  34306. "zsczcolor2typedisplay": {
  34307. "type": "string"
  34308. },
  34309. "zsczcolor3type": {
  34310. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  34311. "type": "integer"
  34312. },
  34313. "zsczcolor3typedisplay": {
  34314. "type": "string"
  34315. },
  34316. "zsfluorescencetype1": {
  34317. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  34318. "type": "integer"
  34319. },
  34320. "zsfluorescencetype1display": {
  34321. "type": "string"
  34322. },
  34323. "zsfluorescencetype2": {
  34324. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  34325. "type": "integer"
  34326. },
  34327. "zsfluorescencetype2display": {
  34328. "type": "string"
  34329. },
  34330. "zspolishtype1": {
  34331. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  34332. "type": "integer"
  34333. },
  34334. "zspolishtype1display": {
  34335. "type": "string"
  34336. },
  34337. "zspolishtype2": {
  34338. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  34339. "type": "integer"
  34340. },
  34341. "zspolishtype2display": {
  34342. "type": "string"
  34343. },
  34344. "zsshapetype": {
  34345. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  34346. "type": "string"
  34347. },
  34348. "zsshapetypedisplay": {
  34349. "type": "string"
  34350. },
  34351. "zsstyletype": {
  34352. "description": "款式 - 类型:4",
  34353. "type": "integer"
  34354. },
  34355. "zsstyletypedisplay": {
  34356. "type": "string"
  34357. },
  34358. "zssymmetrytype1": {
  34359. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  34360. "type": "integer"
  34361. },
  34362. "zssymmetrytype1display": {
  34363. "type": "string"
  34364. },
  34365. "zssymmetrytype2": {
  34366. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  34367. "type": "integer"
  34368. },
  34369. "zssymmetrytype2display": {
  34370. "type": "string"
  34371. }
  34372. }
  34373. },
  34374. "models.NewFuncmenulist": {
  34375. "type": "object",
  34376. "required": [
  34377. "resourcecode"
  34378. ],
  34379. "properties": {
  34380. "authtype": {
  34381. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  34382. "type": "integer"
  34383. },
  34384. "buttonname": {
  34385. "description": "按钮名称",
  34386. "type": "string"
  34387. },
  34388. "buttontype": {
  34389. "description": "按钮类型 - 存按钮样式",
  34390. "type": "string"
  34391. },
  34392. "component": {
  34393. "description": "组件名或组件地址",
  34394. "type": "string"
  34395. },
  34396. "hidden": {
  34397. "description": "是否隐藏 - 0:显示 1:隐藏",
  34398. "type": "integer"
  34399. },
  34400. "iconame": {
  34401. "description": "菜单图标",
  34402. "type": "string"
  34403. },
  34404. "menutype": {
  34405. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  34406. "type": "integer"
  34407. },
  34408. "parentcode": {
  34409. "description": "上级资源代码",
  34410. "type": "string"
  34411. },
  34412. "remark": {
  34413. "description": "Remark",
  34414. "type": "string"
  34415. },
  34416. "resourcecode": {
  34417. "description": "资源代码",
  34418. "type": "string"
  34419. },
  34420. "resourcelevel": {
  34421. "description": "级别1-一级 2-二级 3-三级4-四级",
  34422. "type": "integer"
  34423. },
  34424. "resourcename": {
  34425. "description": "资源名(Title)",
  34426. "type": "string"
  34427. },
  34428. "sort": {
  34429. "description": "排序",
  34430. "type": "integer"
  34431. },
  34432. "url": {
  34433. "description": "Url",
  34434. "type": "string"
  34435. },
  34436. "urltype": {
  34437. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  34438. "type": "integer"
  34439. }
  34440. }
  34441. },
  34442. "models.OperationPrimaryMenu": {
  34443. "type": "object",
  34444. "properties": {
  34445. "Children": {
  34446. "description": "二级功能菜单",
  34447. "type": "array",
  34448. "items": {
  34449. "$ref": "#/definitions/models.OperationSecondaryMenu"
  34450. }
  34451. },
  34452. "Key": {
  34453. "description": "菜单KEY",
  34454. "type": "string"
  34455. },
  34456. "Label": {
  34457. "description": "菜单标题",
  34458. "type": "string"
  34459. }
  34460. }
  34461. },
  34462. "models.OperationSecondaryMenu": {
  34463. "type": "object",
  34464. "properties": {
  34465. "Key": {
  34466. "description": "菜单KEY",
  34467. "type": "string"
  34468. },
  34469. "Label": {
  34470. "description": "菜单标题",
  34471. "type": "string"
  34472. },
  34473. "TabList": {
  34474. "description": "三级功能菜单",
  34475. "type": "array",
  34476. "items": {
  34477. "$ref": "#/definitions/models.OperationTabMenu"
  34478. }
  34479. }
  34480. }
  34481. },
  34482. "models.OperationTabMenu": {
  34483. "type": "object",
  34484. "properties": {
  34485. "Key": {
  34486. "description": "菜单KEY",
  34487. "type": "string"
  34488. },
  34489. "Label": {
  34490. "description": "菜单标题",
  34491. "type": "string"
  34492. }
  34493. }
  34494. },
  34495. "models.Patradelinkdetail": {
  34496. "type": "object",
  34497. "properties": {
  34498. "accountname": {
  34499. "description": "套期主体",
  34500. "type": "string"
  34501. },
  34502. "agreeunit": {
  34503. "description": "合约乘数",
  34504. "type": "number"
  34505. },
  34506. "amount": {
  34507. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  34508. "type": "number"
  34509. },
  34510. "areauserid": {
  34511. "description": "所属机构",
  34512. "type": "integer"
  34513. },
  34514. "bizsubjectid": {
  34515. "description": "归属业务部门ID - SubjectID",
  34516. "type": "integer"
  34517. },
  34518. "buyorsell": {
  34519. "description": "方向 - 0:买 1:卖",
  34520. "type": "integer"
  34521. },
  34522. "convertratio": {
  34523. "description": "品种系数",
  34524. "type": "number"
  34525. },
  34526. "convertratiochange": {
  34527. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  34528. "type": "number"
  34529. },
  34530. "createtime": {
  34531. "description": "[日期时间]创建时间",
  34532. "type": "string"
  34533. },
  34534. "creatorid": {
  34535. "description": "创建人ID",
  34536. "type": "integer"
  34537. },
  34538. "creatorsrc": {
  34539. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  34540. "type": "integer"
  34541. },
  34542. "goodscode": {
  34543. "description": "商品代码(内部)",
  34544. "type": "string"
  34545. },
  34546. "goodsgroupid": {
  34547. "description": "对冲品种ID[期货合约商品组ID]",
  34548. "type": "integer"
  34549. },
  34550. "goodsid": {
  34551. "description": "商品ID",
  34552. "type": "integer"
  34553. },
  34554. "hedgeditemid": {
  34555. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  34556. "type": "integer"
  34557. },
  34558. "hedgeflag": {
  34559. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  34560. "type": "integer"
  34561. },
  34562. "linkdetailid": {
  34563. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  34564. "type": "string"
  34565. },
  34566. "linkstatus": {
  34567. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  34568. "type": "integer"
  34569. },
  34570. "middlegoodsid": {
  34571. "description": "套保品种ID",
  34572. "type": "integer"
  34573. },
  34574. "name": {
  34575. "description": "账户名/子账户",
  34576. "type": "string"
  34577. },
  34578. "optioncode": {
  34579. "description": "[期货合约]期权代码 [期权]",
  34580. "type": "string"
  34581. },
  34582. "ordertype": {
  34583. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  34584. "type": "integer"
  34585. },
  34586. "relatedlot": {
  34587. "description": "[数量]关联手数",
  34588. "type": "number"
  34589. },
  34590. "relatedmode": {
  34591. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  34592. "type": "integer"
  34593. },
  34594. "relatedqty": {
  34595. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  34596. "type": "number"
  34597. },
  34598. "retcode": {
  34599. "description": "返回码",
  34600. "type": "integer"
  34601. },
  34602. "saleuserid": {
  34603. "description": "业务员ID",
  34604. "type": "integer"
  34605. },
  34606. "tradedate": {
  34607. "description": "关联交易日(yyyyMMdd)",
  34608. "type": "string"
  34609. },
  34610. "tradeid": {
  34611. "description": "[成交单号]内部成交单ID",
  34612. "type": "string"
  34613. },
  34614. "tradelot": {
  34615. "description": "成交手数",
  34616. "type": "integer"
  34617. },
  34618. "tradeprice": {
  34619. "description": "[价格]成交价格",
  34620. "type": "number"
  34621. },
  34622. "tradetradedate": {
  34623. "description": "成交交易日(yyyyMMdd)",
  34624. "type": "string"
  34625. }
  34626. }
  34627. },
  34628. "models.QhjAccountOutInApply": {
  34629. "type": "object",
  34630. "properties": {
  34631. "accountcode": {
  34632. "description": "资金账号",
  34633. "type": "string"
  34634. },
  34635. "accountname": {
  34636. "description": "用户名称(名称)",
  34637. "type": "string"
  34638. },
  34639. "accountpwd": {
  34640. "description": "资金密码",
  34641. "type": "string"
  34642. },
  34643. "accountticket": {
  34644. "description": "最新账户服务流水号",
  34645. "type": "string"
  34646. },
  34647. "amount": {
  34648. "description": "金额",
  34649. "type": "number"
  34650. },
  34651. "applyremark": {
  34652. "description": "申请备注",
  34653. "type": "string"
  34654. },
  34655. "applystatus": {
  34656. "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: 复审通过,账户冻结金额检查中;",
  34657. "type": "integer"
  34658. },
  34659. "auditid": {
  34660. "description": "审核人",
  34661. "type": "integer"
  34662. },
  34663. "audittime": {
  34664. "description": "审核时间",
  34665. "type": "string"
  34666. },
  34667. "bank_apply_ticket": {
  34668. "description": "银行申请流水",
  34669. "type": "string"
  34670. },
  34671. "bankaccountname": {
  34672. "description": "银行账户名",
  34673. "type": "string"
  34674. },
  34675. "bankaccountno": {
  34676. "description": "银行卡号",
  34677. "type": "string"
  34678. },
  34679. "bankid": {
  34680. "description": "银行编号",
  34681. "type": "string"
  34682. },
  34683. "bankticket": {
  34684. "description": "银行流水",
  34685. "type": "string"
  34686. },
  34687. "branchbankid": {
  34688. "description": "银行支行号",
  34689. "type": "string"
  34690. },
  34691. "branchbankname": {
  34692. "description": "银行支行名称",
  34693. "type": "string"
  34694. },
  34695. "capamountout": {
  34696. "description": "出金(劣后本金) - 外部子账户",
  34697. "type": "number"
  34698. },
  34699. "certificatephotourl": {
  34700. "description": "凭证地址",
  34701. "type": "string"
  34702. },
  34703. "charge": {
  34704. "description": "手续费",
  34705. "type": "number"
  34706. },
  34707. "checkerrorflag": {
  34708. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  34709. "type": "integer"
  34710. },
  34711. "currency": {
  34712. "description": "币种",
  34713. "type": "string"
  34714. },
  34715. "cusbankid": {
  34716. "description": "托管银行编号",
  34717. "type": "string"
  34718. },
  34719. "cusbankname": {
  34720. "description": "托管银行名称",
  34721. "type": "string"
  34722. },
  34723. "cusbankshortname": {
  34724. "description": "托管银行简称",
  34725. "type": "string"
  34726. },
  34727. "exchticket": {
  34728. "description": "银行服务流水号",
  34729. "type": "string"
  34730. },
  34731. "executetype": {
  34732. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34733. "type": "integer"
  34734. },
  34735. "extendinfo": {
  34736. "description": "扩展信息",
  34737. "type": "string"
  34738. },
  34739. "extoperateid": {
  34740. "description": "交易服务流水号",
  34741. "type": "integer"
  34742. },
  34743. "infamount": {
  34744. "description": "劣后金额(自有)",
  34745. "type": "number"
  34746. },
  34747. "logincode": {
  34748. "description": "登录账号(账号)",
  34749. "type": "string"
  34750. },
  34751. "netaddr": {
  34752. "description": "调转网址",
  34753. "type": "string"
  34754. },
  34755. "priamount": {
  34756. "description": "优先金额(授信)",
  34757. "type": "number"
  34758. },
  34759. "reauditid": {
  34760. "description": "复审人",
  34761. "type": "integer"
  34762. },
  34763. "reauditremark": {
  34764. "description": "复审备注",
  34765. "type": "string"
  34766. },
  34767. "reaudittime": {
  34768. "description": "复审时间",
  34769. "type": "string"
  34770. },
  34771. "relatedorderid": {
  34772. "description": "三方关联ID",
  34773. "type": "string"
  34774. },
  34775. "remark": {
  34776. "description": "备注",
  34777. "type": "string"
  34778. },
  34779. "remark2": {
  34780. "description": "备注(失败原因)",
  34781. "type": "string"
  34782. },
  34783. "soucreamount": {
  34784. "description": "原始出入金金额",
  34785. "type": "number"
  34786. },
  34787. "soucrecurrencyid": {
  34788. "description": "原始出入金币种",
  34789. "type": "integer"
  34790. },
  34791. "tradedate": {
  34792. "description": "交易日(yyyyMMdd)",
  34793. "type": "string"
  34794. },
  34795. "updatetime": {
  34796. "description": "更新时间(申请时间)",
  34797. "type": "string"
  34798. },
  34799. "userid": {
  34800. "description": "用户id",
  34801. "type": "integer"
  34802. },
  34803. "userinfotype": {
  34804. "description": "账户类型 1-个人 2-企业",
  34805. "type": "integer"
  34806. }
  34807. }
  34808. },
  34809. "models.QhjAgreementChangeLog": {
  34810. "type": "object",
  34811. "properties": {
  34812. "agreementcontent": {
  34813. "description": "协议内容",
  34814. "type": "string"
  34815. },
  34816. "agreementfrequency": {
  34817. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34818. "type": "integer"
  34819. },
  34820. "agreementid": {
  34821. "description": "协议ID",
  34822. "type": "integer"
  34823. },
  34824. "agreementname": {
  34825. "description": "协议名称",
  34826. "type": "string"
  34827. },
  34828. "agreementno": {
  34829. "description": "协议编号",
  34830. "type": "string"
  34831. },
  34832. "agreementtype": {
  34833. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34834. "type": "integer"
  34835. },
  34836. "agreementversion": {
  34837. "description": "协议版本号",
  34838. "type": "integer"
  34839. },
  34840. "logid": {
  34841. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  34842. "type": "integer"
  34843. },
  34844. "reviserid": {
  34845. "description": "修改人",
  34846. "type": "integer"
  34847. },
  34848. "revisersrc": {
  34849. "description": "修改来源 - 1:管理端 2:终端",
  34850. "type": "integer"
  34851. },
  34852. "updatetime": {
  34853. "description": "更新时间",
  34854. "type": "string"
  34855. }
  34856. }
  34857. },
  34858. "models.QhjAgreementConfig": {
  34859. "type": "object",
  34860. "properties": {
  34861. "agreementcontent": {
  34862. "description": "协议内容",
  34863. "type": "string"
  34864. },
  34865. "agreementfrequency": {
  34866. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34867. "type": "integer"
  34868. },
  34869. "agreementid": {
  34870. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  34871. "type": "integer"
  34872. },
  34873. "agreementname": {
  34874. "description": "协议名称",
  34875. "type": "string"
  34876. },
  34877. "agreementno": {
  34878. "description": "协议编号",
  34879. "type": "string"
  34880. },
  34881. "agreementtype": {
  34882. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34883. "type": "integer"
  34884. },
  34885. "agreementversion": {
  34886. "description": "协议版本号(从1开始每次修改加1)",
  34887. "type": "integer"
  34888. },
  34889. "createtime": {
  34890. "description": "创建时间",
  34891. "type": "string"
  34892. },
  34893. "creatorid": {
  34894. "description": "创建人",
  34895. "type": "integer"
  34896. },
  34897. "creatorsrc": {
  34898. "description": "创建来源 - 1:管理端 2:终端",
  34899. "type": "integer"
  34900. },
  34901. "isvalid": {
  34902. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  34903. "type": "integer"
  34904. },
  34905. "reviserid": {
  34906. "description": "修改人",
  34907. "type": "integer"
  34908. },
  34909. "revisersrc": {
  34910. "description": "修改来源 - 1:管理端 2:终端",
  34911. "type": "integer"
  34912. },
  34913. "updatetime": {
  34914. "description": "更新时间",
  34915. "type": "string"
  34916. }
  34917. }
  34918. },
  34919. "models.QhjAreaFinanceConfig": {
  34920. "type": "object",
  34921. "properties": {
  34922. "additionalratio": {
  34923. "description": "追加款比例",
  34924. "type": "number"
  34925. },
  34926. "advanceratio": {
  34927. "description": "预付款比例",
  34928. "type": "number"
  34929. },
  34930. "alarmratio": {
  34931. "description": "告警比例",
  34932. "type": "number"
  34933. },
  34934. "consumptiondirectreward": {
  34935. "description": "消费直推奖励值",
  34936. "type": "number"
  34937. },
  34938. "consumptionenabled": {
  34939. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  34940. "type": "integer"
  34941. },
  34942. "consumptionindirectreward": {
  34943. "description": "消费间推奖励值",
  34944. "type": "number"
  34945. },
  34946. "consumptionmodel": {
  34947. "description": "消费奖励方式 - 1:比率 2:固定",
  34948. "type": "integer"
  34949. },
  34950. "customerservicenum": {
  34951. "description": "客服电话",
  34952. "type": "string"
  34953. },
  34954. "dayinterestrate": {
  34955. "description": "日利率",
  34956. "type": "number"
  34957. },
  34958. "disableconsumptiontips": {
  34959. "description": "关闭消费奖励提示",
  34960. "type": "string"
  34961. },
  34962. "modifierid": {
  34963. "description": "修改人ID",
  34964. "type": "integer"
  34965. },
  34966. "modifysrc": {
  34967. "description": "审核来源 - 1:管理端 2:终端",
  34968. "type": "integer"
  34969. },
  34970. "modifytime": {
  34971. "description": "修改时间",
  34972. "type": "string"
  34973. },
  34974. "promotionvalue": {
  34975. "description": "推广奖励值(固定)",
  34976. "type": "number"
  34977. },
  34978. "scoreconfigvalue1": {
  34979. "description": "提货积分配置1",
  34980. "type": "integer"
  34981. },
  34982. "scoreconfigvalue2": {
  34983. "description": "提货积分配置2",
  34984. "type": "integer"
  34985. },
  34986. "userid": {
  34987. "description": "机构用户ID其他做市关系,都设置为 1",
  34988. "type": "integer"
  34989. },
  34990. "username": {
  34991. "description": "用户名称",
  34992. "type": "string"
  34993. }
  34994. }
  34995. },
  34996. "models.QhjBankAccountSign": {
  34997. "type": "object",
  34998. "properties": {
  34999. "accountcode": {
  35000. "description": "资金账号",
  35001. "type": "string"
  35002. },
  35003. "accountname": {
  35004. "description": "资金账号对应的账号名(UserName)",
  35005. "type": "string"
  35006. },
  35007. "accountname2": {
  35008. "description": "资金账号对应的账号名(UserName) - 密文",
  35009. "type": "string"
  35010. },
  35011. "accounttype": {
  35012. "description": "账户类型(UserType)",
  35013. "type": "integer"
  35014. },
  35015. "applicationtime": {
  35016. "description": "最后一次更新的时间",
  35017. "type": "string"
  35018. },
  35019. "applyexchticket": {
  35020. "description": "申请流水",
  35021. "type": "string"
  35022. },
  35023. "auditid": {
  35024. "description": "审核人",
  35025. "type": "integer"
  35026. },
  35027. "audittime": {
  35028. "description": "审核时间",
  35029. "type": "string"
  35030. },
  35031. "bankaccountname": {
  35032. "description": "签约银行卡账号名",
  35033. "type": "string"
  35034. },
  35035. "bankaccountname2": {
  35036. "description": "签约银行卡账号名 - 密文",
  35037. "type": "string"
  35038. },
  35039. "bankaccountno": {
  35040. "description": "银行卡号",
  35041. "type": "string"
  35042. },
  35043. "bankaccountno2": {
  35044. "description": "银行卡号 - 密文",
  35045. "type": "string"
  35046. },
  35047. "bankaccounttype": {
  35048. "description": "银行账户类型 - 1-对私; 2-对公",
  35049. "type": "integer"
  35050. },
  35051. "bankcardtype": {
  35052. "description": "银行卡类型",
  35053. "type": "integer"
  35054. },
  35055. "bankchildaccount": {
  35056. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  35057. "type": "string"
  35058. },
  35059. "bankcity": {
  35060. "description": "开户行城市",
  35061. "type": "string"
  35062. },
  35063. "bankid": {
  35064. "description": "签约银行ID",
  35065. "type": "string"
  35066. },
  35067. "bankname": {
  35068. "description": "签约银行名称",
  35069. "type": "string"
  35070. },
  35071. "bankprovince": {
  35072. "description": "开户行省份",
  35073. "type": "string"
  35074. },
  35075. "branchbankid": {
  35076. "description": "签约银行支行号",
  35077. "type": "string"
  35078. },
  35079. "branchbankname": {
  35080. "description": "签约银行支行名称",
  35081. "type": "string"
  35082. },
  35083. "cardno": {
  35084. "description": "证件号码",
  35085. "type": "string"
  35086. },
  35087. "cardno2": {
  35088. "description": "证件号码 - 密文",
  35089. "type": "string"
  35090. },
  35091. "cardtype": {
  35092. "description": "证件类型",
  35093. "type": "string"
  35094. },
  35095. "currency": {
  35096. "description": "币种",
  35097. "type": "string"
  35098. },
  35099. "cusbankid": {
  35100. "description": "托管银行编号",
  35101. "type": "string"
  35102. },
  35103. "direct": {
  35104. "description": "方向(可以判断那方先发起的签约)",
  35105. "type": "integer"
  35106. },
  35107. "exchticket": {
  35108. "description": "最后一次签约成功的流水号",
  35109. "type": "string"
  35110. },
  35111. "extendinfo": {
  35112. "description": "扩展信息(JSON字符串)",
  35113. "type": "string"
  35114. },
  35115. "mobilephone": {
  35116. "description": "手机号",
  35117. "type": "string"
  35118. },
  35119. "mobilephone2": {
  35120. "description": "手机号 - 密文",
  35121. "type": "string"
  35122. },
  35123. "netaddr": {
  35124. "description": "调转网址",
  35125. "type": "string"
  35126. },
  35127. "relateduserid": {
  35128. "description": "关联使用者userid",
  35129. "type": "integer"
  35130. },
  35131. "signstatus": {
  35132. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  35133. "type": "integer"
  35134. },
  35135. "updatetime": {
  35136. "description": "更新时间(签解约更新时间)",
  35137. "type": "string"
  35138. }
  35139. }
  35140. },
  35141. "models.QhjBankInfo": {
  35142. "type": "object",
  35143. "properties": {
  35144. "bankid": {
  35145. "description": "银行ID",
  35146. "type": "string"
  35147. },
  35148. "bankname": {
  35149. "description": "银行名称",
  35150. "type": "string"
  35151. },
  35152. "clearbankno": {
  35153. "description": "清算系统银行编号",
  35154. "type": "string"
  35155. },
  35156. "orderindex": {
  35157. "description": "排序顺序",
  35158. "type": "integer"
  35159. },
  35160. "status": {
  35161. "description": "状态 - 0:正常 1:注销",
  35162. "type": "integer"
  35163. }
  35164. }
  35165. },
  35166. "models.QhjBrokerApply": {
  35167. "type": "object",
  35168. "properties": {
  35169. "applicantid": {
  35170. "description": "申请人",
  35171. "type": "integer"
  35172. },
  35173. "applysrc": {
  35174. "description": "申请来源 - 1:管理端 2:终端",
  35175. "type": "integer"
  35176. },
  35177. "applystatus": {
  35178. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35179. "type": "integer"
  35180. },
  35181. "applytime": {
  35182. "description": "申请时间",
  35183. "type": "string"
  35184. },
  35185. "auditorid": {
  35186. "description": "审核人",
  35187. "type": "integer"
  35188. },
  35189. "auditremark": {
  35190. "description": "审核备注",
  35191. "type": "string"
  35192. },
  35193. "auditsrc": {
  35194. "description": "审核来源 - 1:管理端 2:终端",
  35195. "type": "integer"
  35196. },
  35197. "audittime": {
  35198. "description": "审核时间",
  35199. "type": "string"
  35200. },
  35201. "audittradedate": {
  35202. "description": "审核交易日(yyyyMMdd)",
  35203. "type": "string"
  35204. },
  35205. "brokerapplyid": {
  35206. "description": "申请ID(SEQ_BROKERAPPLY)",
  35207. "type": "integer"
  35208. },
  35209. "cardbackphotourl": {
  35210. "description": "证件背面图片地址",
  35211. "type": "string"
  35212. },
  35213. "cardfrontphotourl": {
  35214. "description": "证件正面图片地址",
  35215. "type": "string"
  35216. },
  35217. "cardnum": {
  35218. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35219. "type": "string"
  35220. },
  35221. "customername": {
  35222. "description": "姓名",
  35223. "type": "string"
  35224. },
  35225. "logincode": {
  35226. "description": "登录代码",
  35227. "type": "string"
  35228. },
  35229. "mobile": {
  35230. "description": "手机号码",
  35231. "type": "string"
  35232. },
  35233. "parentuserid": {
  35234. "description": "所属机构id",
  35235. "type": "integer"
  35236. },
  35237. "parentusername": {
  35238. "description": "所属机构名称",
  35239. "type": "string"
  35240. },
  35241. "refereeuserid": {
  35242. "description": "推荐人id(经纪人)",
  35243. "type": "integer"
  35244. },
  35245. "refernum": {
  35246. "description": "推荐码",
  35247. "type": "string"
  35248. },
  35249. "remark": {
  35250. "description": "备注",
  35251. "type": "string"
  35252. },
  35253. "subarealevelpath": {
  35254. "description": "层级路径",
  35255. "type": "string"
  35256. },
  35257. "tradedate": {
  35258. "description": "交易日(yyyyMMdd)",
  35259. "type": "string"
  35260. },
  35261. "userid": {
  35262. "description": "申请人用户ID",
  35263. "type": "integer"
  35264. },
  35265. "userinfotype": {
  35266. "description": "用户类型 1-个人 2-企业",
  35267. "type": "integer"
  35268. },
  35269. "username": {
  35270. "description": "用户名称",
  35271. "type": "string"
  35272. }
  35273. }
  35274. },
  35275. "models.QhjBrokerApplyEx": {
  35276. "type": "object",
  35277. "properties": {
  35278. "applylist": {
  35279. "description": "经纪人申请记录(只返回最新一条)",
  35280. "type": "array",
  35281. "items": {
  35282. "$ref": "#/definitions/models.QhjBrokerApply"
  35283. }
  35284. },
  35285. "canrecommend": {
  35286. "description": "是否经纪人 0-不是 1-是",
  35287. "type": "integer"
  35288. },
  35289. "refernum": {
  35290. "description": "推荐码",
  35291. "type": "string"
  35292. },
  35293. "userid": {
  35294. "description": "用户id",
  35295. "type": "integer"
  35296. },
  35297. "userinfotype": {
  35298. "description": "用户类型 1-个人 2-企业",
  35299. "type": "integer"
  35300. }
  35301. }
  35302. },
  35303. "models.QhjBrokerRewardLog": {
  35304. "type": "object",
  35305. "properties": {
  35306. "accountid": {
  35307. "description": "资金账号ID",
  35308. "type": "integer"
  35309. },
  35310. "createtime": {
  35311. "description": "创建时间(时间)",
  35312. "type": "string"
  35313. },
  35314. "handlestatus": {
  35315. "description": "处理状态",
  35316. "type": "integer"
  35317. },
  35318. "logid": {
  35319. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35320. "type": "string"
  35321. },
  35322. "marketid": {
  35323. "description": "市场ID",
  35324. "type": "integer"
  35325. },
  35326. "mmaccountid": {
  35327. "description": "做市商资金账号ID",
  35328. "type": "string"
  35329. },
  35330. "mmuserid": {
  35331. "description": "做市商用户ID",
  35332. "type": "string"
  35333. },
  35334. "rewardamount": {
  35335. "description": "奖励金额",
  35336. "type": "number"
  35337. },
  35338. "rewardmodel": {
  35339. "description": "消费奖励方式 - 1:比率 2:固定",
  35340. "type": "integer"
  35341. },
  35342. "rewardtype": {
  35343. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  35344. "type": "integer"
  35345. },
  35346. "rewardvalue": {
  35347. "description": "配置奖励值",
  35348. "type": "number"
  35349. },
  35350. "srcamount": {
  35351. "description": "成交金额 [消费奖励] (金额)",
  35352. "type": "number"
  35353. },
  35354. "srcgoodsid": {
  35355. "description": "来源商品ID [消费奖励]",
  35356. "type": "string"
  35357. },
  35358. "srctime": {
  35359. "description": "来源时间 (成交时间) [消费奖励]",
  35360. "type": "string"
  35361. },
  35362. "srctradeid": {
  35363. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  35364. "type": "string"
  35365. },
  35366. "srcuserid": {
  35367. "description": "来源用户ID(推广账户)",
  35368. "type": "string"
  35369. },
  35370. "srcusername": {
  35371. "description": "推广账户名称",
  35372. "type": "string"
  35373. },
  35374. "tradedate": {
  35375. "description": "交易日(yyyyMMdd)",
  35376. "type": "string"
  35377. },
  35378. "userid": {
  35379. "description": "经纪人用户ID",
  35380. "type": "integer"
  35381. }
  35382. }
  35383. },
  35384. "models.QhjContract": {
  35385. "type": "object",
  35386. "properties": {
  35387. "contractconfirmtime": {
  35388. "description": "合同确认时间(时间)",
  35389. "type": "string"
  35390. },
  35391. "currisklevel": {
  35392. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35393. "type": "integer"
  35394. },
  35395. "decimalplace": {
  35396. "description": "商品报价小数位",
  35397. "type": "integer"
  35398. },
  35399. "enumdicname": {
  35400. "description": "单位名称",
  35401. "type": "string"
  35402. },
  35403. "goodscode": {
  35404. "description": "商品代码",
  35405. "type": "string"
  35406. },
  35407. "goodsid": {
  35408. "description": "商品ID [5:融资单]",
  35409. "type": "integer"
  35410. },
  35411. "goodsname": {
  35412. "description": "商品名称",
  35413. "type": "string"
  35414. },
  35415. "goodunitid": {
  35416. "description": "商品单位id",
  35417. "type": "integer"
  35418. },
  35419. "initmargin": {
  35420. "description": "初始保证金(首付款)",
  35421. "type": "number"
  35422. },
  35423. "lenderamount": {
  35424. "description": "贷款金额(总额|订单总额)",
  35425. "type": "number"
  35426. },
  35427. "marginratio": {
  35428. "description": "保证金比率(首付比例)",
  35429. "type": "number"
  35430. },
  35431. "payamount": {
  35432. "description": "已付(已付货款)",
  35433. "type": "number"
  35434. },
  35435. "reckonrecovermargin": {
  35436. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35437. "type": "number"
  35438. },
  35439. "recoveredmargin": {
  35440. "description": "已追缴保证金",
  35441. "type": "number"
  35442. },
  35443. "remainamount": {
  35444. "description": "合同剩余金额(融资额)",
  35445. "type": "number"
  35446. },
  35447. "scfcontractid": {
  35448. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35449. "type": "string"
  35450. },
  35451. "scfcontractstatus": {
  35452. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35453. "type": "integer"
  35454. },
  35455. "scfcontracttype": {
  35456. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35457. "type": "integer"
  35458. },
  35459. "totalinterest": {
  35460. "description": "已计总利息(利息)",
  35461. "type": "number"
  35462. },
  35463. "tradeprice": {
  35464. "description": "成交价格(成本价格)",
  35465. "type": "number"
  35466. },
  35467. "userid": {
  35468. "description": "用户ID",
  35469. "type": "integer"
  35470. },
  35471. "username": {
  35472. "description": "用户名称",
  35473. "type": "string"
  35474. },
  35475. "wrqty": {
  35476. "description": "仓单数量(数量)",
  35477. "type": "number"
  35478. }
  35479. }
  35480. },
  35481. "models.QhjContractLog": {
  35482. "type": "object",
  35483. "properties": {
  35484. "amount": {
  35485. "description": "支付金额",
  35486. "type": "number"
  35487. },
  35488. "amounttype": {
  35489. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  35490. "type": "integer"
  35491. },
  35492. "logid": {
  35493. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35494. "type": "string"
  35495. },
  35496. "remainamount": {
  35497. "description": "剩余货款",
  35498. "type": "number"
  35499. },
  35500. "scfcontractid": {
  35501. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35502. "type": "integer"
  35503. },
  35504. "updatetime": {
  35505. "description": "更新时间",
  35506. "type": "string"
  35507. }
  35508. }
  35509. },
  35510. "models.QhjCusBankSignBankEx": {
  35511. "type": "object",
  35512. "properties": {
  35513. "banklst": {
  35514. "description": "银行列表",
  35515. "type": "array",
  35516. "items": {
  35517. "$ref": "#/definitions/models.QhjBankInfo"
  35518. }
  35519. },
  35520. "canallot": {
  35521. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  35522. "type": "integer"
  35523. },
  35524. "canallotquery": {
  35525. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  35526. "type": "integer"
  35527. },
  35528. "canbindcard": {
  35529. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  35530. "type": "integer"
  35531. },
  35532. "caninamount": {
  35533. "description": "是否可入金 - 0:不可 1:可以",
  35534. "type": "integer"
  35535. },
  35536. "caninamount2": {
  35537. "description": "是否可入金(网银端) - 0:不可 1:可以",
  35538. "type": "integer"
  35539. },
  35540. "canmodifybankcard": {
  35541. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  35542. "type": "integer"
  35543. },
  35544. "canmodifyphone": {
  35545. "description": "是否可修改手机号 - 0:不可 1:可以",
  35546. "type": "integer"
  35547. },
  35548. "canmodifysigninfo": {
  35549. "description": "是否可修改签约信息 - 0:不可 1:可以",
  35550. "type": "integer"
  35551. },
  35552. "canoutamount": {
  35553. "description": "是否可出金 - 0:不可 1:可以",
  35554. "type": "integer"
  35555. },
  35556. "canoutamount2": {
  35557. "description": "是否可出金(网银端) - 0:不可 1:可以",
  35558. "type": "integer"
  35559. },
  35560. "canrelease": {
  35561. "description": "是否可解约 - 0:不可 1:可以",
  35562. "type": "integer"
  35563. },
  35564. "canrelease2": {
  35565. "description": "是否可解约(网银端) - 0:不可 1:可以",
  35566. "type": "integer"
  35567. },
  35568. "cansign": {
  35569. "description": "是否可签约 - 0:不可 1:可以",
  35570. "type": "integer"
  35571. },
  35572. "cansign2": {
  35573. "description": "是否可签约(网银端) - 0:不可 1:可以",
  35574. "type": "integer"
  35575. },
  35576. "currency": {
  35577. "description": "币种",
  35578. "type": "string"
  35579. },
  35580. "cusbankid": {
  35581. "description": "托管银行编号(对应清算中心TRAN_NO)",
  35582. "type": "string"
  35583. },
  35584. "cusbankname": {
  35585. "description": "银行业务名称",
  35586. "type": "string"
  35587. },
  35588. "cusbankshortname": {
  35589. "description": "银行业务简称",
  35590. "type": "string"
  35591. },
  35592. "exchbankid": {
  35593. "description": "交易所开户银行ID",
  35594. "type": "string"
  35595. },
  35596. "exchpaybankaccname": {
  35597. "description": "交易所支出结算账户户名",
  35598. "type": "string"
  35599. },
  35600. "exchpaybankaccno": {
  35601. "description": "交易所支出结算账户",
  35602. "type": "string"
  35603. },
  35604. "isneedcheck": {
  35605. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  35606. "type": "integer"
  35607. },
  35608. "isneedclear": {
  35609. "description": "是否需要清算 - 0:不需要 1:需要",
  35610. "type": "integer"
  35611. },
  35612. "lastcheckstatus": {
  35613. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  35614. "type": "integer"
  35615. },
  35616. "lastchecktime": {
  35617. "description": "最后对账时间",
  35618. "type": "string"
  35619. },
  35620. "lastclearstatus": {
  35621. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  35622. "type": "integer"
  35623. },
  35624. "lastcleartime": {
  35625. "description": "最后清算时间",
  35626. "type": "string"
  35627. },
  35628. "lastsignintime": {
  35629. "description": "最后签到时间",
  35630. "type": "string"
  35631. },
  35632. "lastsignouttime": {
  35633. "description": "最后签退时间",
  35634. "type": "string"
  35635. },
  35636. "riskinfo": {
  35637. "description": "签约风险提示书",
  35638. "type": "string"
  35639. },
  35640. "signstatus": {
  35641. "description": "当前签到/签退状态 - 1:签到 2:签退",
  35642. "type": "integer"
  35643. },
  35644. "tradedate": {
  35645. "description": "交易日(yyyyMMdd)",
  35646. "type": "string"
  35647. },
  35648. "updatetime": {
  35649. "description": "当前签到/签退更新时间",
  35650. "type": "string"
  35651. }
  35652. }
  35653. },
  35654. "models.QhjCustomer": {
  35655. "type": "object",
  35656. "properties": {
  35657. "address": {
  35658. "description": "通讯地址",
  35659. "type": "string"
  35660. },
  35661. "attachment1": {
  35662. "description": "附件1",
  35663. "type": "string"
  35664. },
  35665. "attachment2": {
  35666. "description": "附件2",
  35667. "type": "string"
  35668. },
  35669. "audittime": {
  35670. "description": "审核时间",
  35671. "type": "string"
  35672. },
  35673. "cardbackphotourl": {
  35674. "description": "证件反面图片地址",
  35675. "type": "string"
  35676. },
  35677. "cardfrontphotourl": {
  35678. "description": "证件正面图片地址",
  35679. "type": "string"
  35680. },
  35681. "cardnum": {
  35682. "description": "证件号码",
  35683. "type": "string"
  35684. },
  35685. "cardtype": {
  35686. "description": "证件类型",
  35687. "type": "integer"
  35688. },
  35689. "cardtypename": {
  35690. "description": "证件类型名称",
  35691. "type": "string"
  35692. },
  35693. "cityid": {
  35694. "description": "市",
  35695. "type": "integer"
  35696. },
  35697. "cityname": {
  35698. "description": "城市名称",
  35699. "type": "string"
  35700. },
  35701. "contactname": {
  35702. "description": "联系人",
  35703. "type": "string"
  35704. },
  35705. "countryid": {
  35706. "description": "国家",
  35707. "type": "integer"
  35708. },
  35709. "countryname": {
  35710. "description": "国家名称",
  35711. "type": "string"
  35712. },
  35713. "createtime": {
  35714. "description": "创建时间",
  35715. "type": "string"
  35716. },
  35717. "customername": {
  35718. "description": "客户名称",
  35719. "type": "string"
  35720. },
  35721. "districtid": {
  35722. "description": "区域",
  35723. "type": "integer"
  35724. },
  35725. "districtname": {
  35726. "description": "地区名称",
  35727. "type": "string"
  35728. },
  35729. "email": {
  35730. "description": "邮件",
  35731. "type": "string"
  35732. },
  35733. "legalpersonname": {
  35734. "description": "法人姓名(企业)",
  35735. "type": "string"
  35736. },
  35737. "logincode": {
  35738. "description": "登录账号(代码)",
  35739. "type": "string"
  35740. },
  35741. "memberuserid": {
  35742. "description": "所属机构ID(所属会员)",
  35743. "type": "integer"
  35744. },
  35745. "memberusername": {
  35746. "description": "所属会员名称",
  35747. "type": "string"
  35748. },
  35749. "mobile": {
  35750. "description": "手机号码",
  35751. "type": "string"
  35752. },
  35753. "modifytime": {
  35754. "description": "修改时间",
  35755. "type": "string"
  35756. },
  35757. "nickname": {
  35758. "description": "昵称",
  35759. "type": "string"
  35760. },
  35761. "parentuserid": {
  35762. "description": "上级机构(所属机构)",
  35763. "type": "integer"
  35764. },
  35765. "parentusername": {
  35766. "description": "所属机构名称",
  35767. "type": "string"
  35768. },
  35769. "provinceid": {
  35770. "description": "省",
  35771. "type": "integer"
  35772. },
  35773. "provincename": {
  35774. "description": "省名称",
  35775. "type": "string"
  35776. },
  35777. "proxystatementurl": {
  35778. "description": "授权委托书",
  35779. "type": "string"
  35780. },
  35781. "remark": {
  35782. "description": "备注",
  35783. "type": "string"
  35784. },
  35785. "status": {
  35786. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  35787. "type": "integer"
  35788. },
  35789. "statusdesc": {
  35790. "description": "账户状态中文描述",
  35791. "type": "string"
  35792. },
  35793. "taxpayernum": {
  35794. "description": "纳税人识别号",
  35795. "type": "string"
  35796. },
  35797. "telphone": {
  35798. "description": "联系电话",
  35799. "type": "string"
  35800. },
  35801. "userid": {
  35802. "description": "用户ID",
  35803. "type": "integer"
  35804. },
  35805. "userinfotype": {
  35806. "description": "客户类型 1-个人 2-企业",
  35807. "type": "integer"
  35808. },
  35809. "username": {
  35810. "description": "用户名称",
  35811. "type": "string"
  35812. }
  35813. }
  35814. },
  35815. "models.QhjCustomerSignLog": {
  35816. "type": "object",
  35817. "properties": {
  35818. "agreementcontent": {
  35819. "description": "协议内容",
  35820. "type": "string"
  35821. },
  35822. "agreementid": {
  35823. "description": "协议ID",
  35824. "type": "integer"
  35825. },
  35826. "agreementname": {
  35827. "description": "协议名称",
  35828. "type": "string"
  35829. },
  35830. "agreementno": {
  35831. "description": "协议编号",
  35832. "type": "string"
  35833. },
  35834. "agreementtype": {
  35835. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35836. "type": "integer"
  35837. },
  35838. "agreementversion": {
  35839. "description": "协议版本号",
  35840. "type": "integer"
  35841. },
  35842. "createtime": {
  35843. "description": "创建时间",
  35844. "type": "string"
  35845. },
  35846. "goodscode": {
  35847. "description": "商品代码",
  35848. "type": "string"
  35849. },
  35850. "goodsid": {
  35851. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35852. "type": "integer"
  35853. },
  35854. "goodsname": {
  35855. "description": "商品名称",
  35856. "type": "string"
  35857. },
  35858. "logid": {
  35859. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  35860. "type": "integer"
  35861. },
  35862. "nodetype": {
  35863. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35864. "type": "integer"
  35865. },
  35866. "signadressurl": {
  35867. "description": "签约文件地址",
  35868. "type": "string"
  35869. },
  35870. "signtimestamp": {
  35871. "description": "签约状态时间戳",
  35872. "type": "string"
  35873. },
  35874. "userid": {
  35875. "description": "客户ID",
  35876. "type": "integer"
  35877. },
  35878. "username": {
  35879. "description": "客户名称",
  35880. "type": "string"
  35881. }
  35882. }
  35883. },
  35884. "models.QhjCustomerSignStatus": {
  35885. "type": "object",
  35886. "properties": {
  35887. "createtime": {
  35888. "description": "创建时间",
  35889. "type": "string"
  35890. },
  35891. "goodscode": {
  35892. "description": "商品代码",
  35893. "type": "string"
  35894. },
  35895. "goodsid": {
  35896. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35897. "type": "integer"
  35898. },
  35899. "goodsname": {
  35900. "description": "商品名称",
  35901. "type": "string"
  35902. },
  35903. "nodetype": {
  35904. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  35905. "type": "integer"
  35906. },
  35907. "signtimestamp": {
  35908. "description": "签约状态时间戳",
  35909. "type": "string"
  35910. },
  35911. "tradedate": {
  35912. "description": "创建交易日(yyyyMMdd)",
  35913. "type": "string"
  35914. },
  35915. "updatetime": {
  35916. "description": "更新时间",
  35917. "type": "string"
  35918. },
  35919. "userid": {
  35920. "description": "客户ID",
  35921. "type": "integer"
  35922. },
  35923. "username": {
  35924. "description": "客户名称",
  35925. "type": "string"
  35926. }
  35927. }
  35928. },
  35929. "models.QhjMgrAccountOutInApply": {
  35930. "type": "object",
  35931. "properties": {
  35932. "accountcode": {
  35933. "description": "资金账号",
  35934. "type": "string"
  35935. },
  35936. "accountname": {
  35937. "description": "用户名称(名称)",
  35938. "type": "string"
  35939. },
  35940. "accountpwd": {
  35941. "description": "资金密码",
  35942. "type": "string"
  35943. },
  35944. "accountticket": {
  35945. "description": "最新账户服务流水号",
  35946. "type": "string"
  35947. },
  35948. "amount": {
  35949. "description": "金额",
  35950. "type": "number"
  35951. },
  35952. "applyremark": {
  35953. "description": "申请备注",
  35954. "type": "string"
  35955. },
  35956. "applystatus": {
  35957. "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: 复审通过,账户冻结金额检查中;",
  35958. "type": "integer"
  35959. },
  35960. "auditid": {
  35961. "description": "审核人",
  35962. "type": "integer"
  35963. },
  35964. "audittime": {
  35965. "description": "审核时间",
  35966. "type": "string"
  35967. },
  35968. "bank_apply_ticket": {
  35969. "description": "银行申请流水",
  35970. "type": "string"
  35971. },
  35972. "bankaccountname": {
  35973. "description": "银行账户名",
  35974. "type": "string"
  35975. },
  35976. "bankaccountno": {
  35977. "description": "银行卡号",
  35978. "type": "string"
  35979. },
  35980. "bankid": {
  35981. "description": "银行编号",
  35982. "type": "string"
  35983. },
  35984. "bankname": {
  35985. "description": "银行名称",
  35986. "type": "string"
  35987. },
  35988. "bankticket": {
  35989. "description": "银行流水",
  35990. "type": "string"
  35991. },
  35992. "branchbankid": {
  35993. "description": "银行支行号",
  35994. "type": "string"
  35995. },
  35996. "branchbankname": {
  35997. "description": "银行支行名称",
  35998. "type": "string"
  35999. },
  36000. "capamountout": {
  36001. "description": "出金(劣后本金) - 外部子账户",
  36002. "type": "number"
  36003. },
  36004. "certificatephotourl": {
  36005. "description": "凭证地址",
  36006. "type": "string"
  36007. },
  36008. "charge": {
  36009. "description": "手续费",
  36010. "type": "number"
  36011. },
  36012. "checkerrorflag": {
  36013. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  36014. "type": "integer"
  36015. },
  36016. "currency": {
  36017. "description": "币种",
  36018. "type": "string"
  36019. },
  36020. "cusbankid": {
  36021. "description": "托管银行编号",
  36022. "type": "string"
  36023. },
  36024. "exchticket": {
  36025. "description": "银行服务流水号",
  36026. "type": "string"
  36027. },
  36028. "executetype": {
  36029. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  36030. "type": "integer"
  36031. },
  36032. "extendinfo": {
  36033. "description": "扩展信息",
  36034. "type": "string"
  36035. },
  36036. "extoperateid": {
  36037. "description": "交易服务流水号",
  36038. "type": "integer"
  36039. },
  36040. "infamount": {
  36041. "description": "劣后金额(自有)",
  36042. "type": "number"
  36043. },
  36044. "logincode": {
  36045. "description": "登录账号(账号)",
  36046. "type": "string"
  36047. },
  36048. "netaddr": {
  36049. "description": "调转网址",
  36050. "type": "string"
  36051. },
  36052. "priamount": {
  36053. "description": "优先金额(授信)",
  36054. "type": "number"
  36055. },
  36056. "reauditid": {
  36057. "description": "复审人",
  36058. "type": "integer"
  36059. },
  36060. "reauditremark": {
  36061. "description": "复审备注",
  36062. "type": "string"
  36063. },
  36064. "reaudittime": {
  36065. "description": "复审时间",
  36066. "type": "string"
  36067. },
  36068. "relatedorderid": {
  36069. "description": "三方关联ID",
  36070. "type": "string"
  36071. },
  36072. "remark": {
  36073. "description": "备注",
  36074. "type": "string"
  36075. },
  36076. "remark2": {
  36077. "description": "备注(失败原因)",
  36078. "type": "string"
  36079. },
  36080. "soucreamount": {
  36081. "description": "原始出入金金额",
  36082. "type": "number"
  36083. },
  36084. "soucrecurrencyid": {
  36085. "description": "原始出入金币种",
  36086. "type": "integer"
  36087. },
  36088. "tradedate": {
  36089. "description": "交易日(yyyyMMdd)",
  36090. "type": "string"
  36091. },
  36092. "updatetime": {
  36093. "description": "更新时间(申请时间)",
  36094. "type": "string"
  36095. },
  36096. "userid": {
  36097. "description": "用户id",
  36098. "type": "integer"
  36099. },
  36100. "userinfotype": {
  36101. "description": "账户类型 1-个人 2-企业",
  36102. "type": "integer"
  36103. }
  36104. }
  36105. },
  36106. "models.QhjMgrBrokerApply": {
  36107. "type": "object",
  36108. "properties": {
  36109. "applicantid": {
  36110. "description": "申请人",
  36111. "type": "integer"
  36112. },
  36113. "applysrc": {
  36114. "description": "申请来源 - 1:管理端 2:终端",
  36115. "type": "integer"
  36116. },
  36117. "applystatus": {
  36118. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  36119. "type": "integer"
  36120. },
  36121. "applytime": {
  36122. "description": "申请时间",
  36123. "type": "string"
  36124. },
  36125. "auditorid": {
  36126. "description": "审核人",
  36127. "type": "integer"
  36128. },
  36129. "auditremark": {
  36130. "description": "审核备注",
  36131. "type": "string"
  36132. },
  36133. "auditsrc": {
  36134. "description": "审核来源 - 1:管理端 2:终端",
  36135. "type": "integer"
  36136. },
  36137. "audittime": {
  36138. "description": "审核时间",
  36139. "type": "string"
  36140. },
  36141. "audittradedate": {
  36142. "description": "审核交易日(yyyyMMdd)",
  36143. "type": "string"
  36144. },
  36145. "brokerapplyid": {
  36146. "description": "申请ID(SEQ_BROKERAPPLY)",
  36147. "type": "integer"
  36148. },
  36149. "cardbackphotourl": {
  36150. "description": "证件背面图片地址",
  36151. "type": "string"
  36152. },
  36153. "cardfrontphotourl": {
  36154. "description": "证件正面图片地址",
  36155. "type": "string"
  36156. },
  36157. "cardnum": {
  36158. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  36159. "type": "string"
  36160. },
  36161. "customername": {
  36162. "description": "姓名",
  36163. "type": "string"
  36164. },
  36165. "filterstatus": {
  36166. "description": "筛选条件",
  36167. "type": "string"
  36168. },
  36169. "logincode": {
  36170. "description": "登录代码",
  36171. "type": "string"
  36172. },
  36173. "mobile": {
  36174. "description": "手机号码",
  36175. "type": "string"
  36176. },
  36177. "parentuserid": {
  36178. "description": "所属机构id",
  36179. "type": "integer"
  36180. },
  36181. "parentusername": {
  36182. "description": "所属机构名称",
  36183. "type": "string"
  36184. },
  36185. "refereeuserid": {
  36186. "description": "推荐人id(经纪人)",
  36187. "type": "integer"
  36188. },
  36189. "refernum": {
  36190. "description": "推荐码",
  36191. "type": "string"
  36192. },
  36193. "remark": {
  36194. "description": "备注",
  36195. "type": "string"
  36196. },
  36197. "subarealevelpath": {
  36198. "description": "层级路径",
  36199. "type": "string"
  36200. },
  36201. "tradedate": {
  36202. "description": "交易日(yyyyMMdd)",
  36203. "type": "string"
  36204. },
  36205. "userid": {
  36206. "description": "申请人用户ID",
  36207. "type": "integer"
  36208. },
  36209. "userinfotype": {
  36210. "description": "用户类型 1-个人 2-企业",
  36211. "type": "integer"
  36212. },
  36213. "username": {
  36214. "description": "用户名称",
  36215. "type": "string"
  36216. }
  36217. }
  36218. },
  36219. "models.QhjMgrBrokerRewardReport": {
  36220. "type": "object",
  36221. "properties": {
  36222. "createtime": {
  36223. "description": "创建时间(注册时间)",
  36224. "type": "string"
  36225. },
  36226. "cycletime": {
  36227. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  36228. "type": "string"
  36229. },
  36230. "cycletype": {
  36231. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  36232. "type": "integer"
  36233. },
  36234. "directtotalnum": {
  36235. "description": "直推总人数【期末】",
  36236. "type": "integer"
  36237. },
  36238. "indirecttotalnum": {
  36239. "description": "间推总人数【期末】",
  36240. "type": "integer"
  36241. },
  36242. "mobile": {
  36243. "description": "电话号码",
  36244. "type": "string"
  36245. },
  36246. "refereeuserid": {
  36247. "description": "推荐人id(经纪人id)",
  36248. "type": "integer"
  36249. },
  36250. "refereeusername": {
  36251. "description": "推荐人名称(经纪人) 上级经纪人名称",
  36252. "type": "string"
  36253. },
  36254. "refernum": {
  36255. "description": "推荐码",
  36256. "type": "string"
  36257. },
  36258. "subarealevelpath": {
  36259. "description": "用户层级路径",
  36260. "type": "string"
  36261. },
  36262. "todayrewardamount": {
  36263. "description": "奖励总金额【汇总】",
  36264. "type": "number"
  36265. },
  36266. "updatetime": {
  36267. "description": "更新时间",
  36268. "type": "string"
  36269. },
  36270. "userid": {
  36271. "description": "经纪人用户ID",
  36272. "type": "integer"
  36273. },
  36274. "userinfotype": {
  36275. "description": "用户类型 1-个人 2-企业",
  36276. "type": "integer"
  36277. },
  36278. "username": {
  36279. "description": "用户名称",
  36280. "type": "string"
  36281. }
  36282. }
  36283. },
  36284. "models.QhjMgrContract": {
  36285. "type": "object",
  36286. "properties": {
  36287. "contractconfirmtime": {
  36288. "description": "合同确认时间(时间)",
  36289. "type": "string"
  36290. },
  36291. "currisklevel": {
  36292. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36293. "type": "integer"
  36294. },
  36295. "decimalplace": {
  36296. "description": "商品报价小数位",
  36297. "type": "integer"
  36298. },
  36299. "enumdicname": {
  36300. "description": "单位名称",
  36301. "type": "string"
  36302. },
  36303. "goodscode": {
  36304. "description": "商品代码",
  36305. "type": "string"
  36306. },
  36307. "goodsid": {
  36308. "description": "商品ID [5:融资单]",
  36309. "type": "integer"
  36310. },
  36311. "goodsname": {
  36312. "description": "商品名称",
  36313. "type": "string"
  36314. },
  36315. "goodunitid": {
  36316. "description": "商品单位id",
  36317. "type": "integer"
  36318. },
  36319. "initmargin": {
  36320. "description": "初始保证金(首付款)",
  36321. "type": "number"
  36322. },
  36323. "lenderamount": {
  36324. "description": "贷款金额(总额|订单总额)",
  36325. "type": "number"
  36326. },
  36327. "logincode": {
  36328. "description": "账号(登录代码)",
  36329. "type": "string"
  36330. },
  36331. "marginratio": {
  36332. "description": "保证金比率(首付比例)",
  36333. "type": "number"
  36334. },
  36335. "mobile": {
  36336. "description": "电话号码(用户资料里的电话)",
  36337. "type": "string"
  36338. },
  36339. "payamount": {
  36340. "description": "已付(已付货款)",
  36341. "type": "number"
  36342. },
  36343. "reckonrecovermargin": {
  36344. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  36345. "type": "number"
  36346. },
  36347. "recoveredmargin": {
  36348. "description": "已追缴保证金",
  36349. "type": "number"
  36350. },
  36351. "remainamount": {
  36352. "description": "合同剩余金额(融资额)",
  36353. "type": "number"
  36354. },
  36355. "scfcontractid": {
  36356. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36357. "type": "string"
  36358. },
  36359. "scfcontractstatus": {
  36360. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36361. "type": "integer"
  36362. },
  36363. "scfcontracttype": {
  36364. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  36365. "type": "integer"
  36366. },
  36367. "totalinterest": {
  36368. "description": "已计总利息(利息)",
  36369. "type": "number"
  36370. },
  36371. "tradedate": {
  36372. "description": "交易日",
  36373. "type": "string"
  36374. },
  36375. "tradeprice": {
  36376. "description": "成交价格(成本价格)",
  36377. "type": "number"
  36378. },
  36379. "userid": {
  36380. "description": "用户ID",
  36381. "type": "integer"
  36382. },
  36383. "userinfotype": {
  36384. "description": "用户类型 1-个人 2-企业",
  36385. "type": "integer"
  36386. },
  36387. "username": {
  36388. "description": "用户名称",
  36389. "type": "string"
  36390. },
  36391. "wrqty": {
  36392. "description": "仓单数量(数量)",
  36393. "type": "number"
  36394. }
  36395. }
  36396. },
  36397. "models.QhjMgrCustomer": {
  36398. "type": "object",
  36399. "properties": {
  36400. "address": {
  36401. "description": "通讯地址",
  36402. "type": "string"
  36403. },
  36404. "attachment1": {
  36405. "description": "附件1",
  36406. "type": "string"
  36407. },
  36408. "audittime": {
  36409. "description": "审核时间",
  36410. "type": "string"
  36411. },
  36412. "birthday": {
  36413. "description": "生日",
  36414. "type": "string"
  36415. },
  36416. "brokerid": {
  36417. "description": "所属客户经理id",
  36418. "type": "integer"
  36419. },
  36420. "brokername": {
  36421. "description": "所属客户经理名称",
  36422. "type": "string"
  36423. },
  36424. "cardbackphotourl": {
  36425. "description": "证件反面图片地址",
  36426. "type": "string"
  36427. },
  36428. "cardfrontphotourl": {
  36429. "description": "证件正面图片地址",
  36430. "type": "string"
  36431. },
  36432. "cardnum": {
  36433. "description": "证件号码",
  36434. "type": "string"
  36435. },
  36436. "cardtype": {
  36437. "description": "证件类型",
  36438. "type": "integer"
  36439. },
  36440. "cardtypename": {
  36441. "description": "证件类型名称",
  36442. "type": "string"
  36443. },
  36444. "cityid": {
  36445. "description": "市",
  36446. "type": "integer"
  36447. },
  36448. "cityname": {
  36449. "description": "城市名称",
  36450. "type": "string"
  36451. },
  36452. "contactname": {
  36453. "description": "联系人",
  36454. "type": "string"
  36455. },
  36456. "countryid": {
  36457. "description": "国家",
  36458. "type": "integer"
  36459. },
  36460. "countryname": {
  36461. "description": "国家名称",
  36462. "type": "string"
  36463. },
  36464. "createtime": {
  36465. "description": "创建时间",
  36466. "type": "string"
  36467. },
  36468. "customername": {
  36469. "description": "客户名称",
  36470. "type": "string"
  36471. },
  36472. "districtid": {
  36473. "description": "区域",
  36474. "type": "integer"
  36475. },
  36476. "districtname": {
  36477. "description": "地区名称",
  36478. "type": "string"
  36479. },
  36480. "email": {
  36481. "description": "邮件",
  36482. "type": "string"
  36483. },
  36484. "legalpersonname": {
  36485. "description": "法人姓名(企业)",
  36486. "type": "string"
  36487. },
  36488. "logincode": {
  36489. "description": "登录账号(代码)",
  36490. "type": "string"
  36491. },
  36492. "memberuserid": {
  36493. "description": "所属机构ID(所属会员)",
  36494. "type": "integer"
  36495. },
  36496. "memberusername": {
  36497. "description": "所属会员名称",
  36498. "type": "string"
  36499. },
  36500. "mobile": {
  36501. "description": "手机号码",
  36502. "type": "string"
  36503. },
  36504. "modifytime": {
  36505. "description": "修改时间",
  36506. "type": "string"
  36507. },
  36508. "nickname": {
  36509. "description": "昵称",
  36510. "type": "string"
  36511. },
  36512. "parentuserid": {
  36513. "description": "上级机构(所属机构)",
  36514. "type": "integer"
  36515. },
  36516. "parentusername": {
  36517. "description": "所属机构名称",
  36518. "type": "string"
  36519. },
  36520. "provinceid": {
  36521. "description": "省",
  36522. "type": "integer"
  36523. },
  36524. "provincename": {
  36525. "description": "省名称",
  36526. "type": "string"
  36527. },
  36528. "proxystatementurl": {
  36529. "description": "授权委托书",
  36530. "type": "string"
  36531. },
  36532. "querytype": {
  36533. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  36534. "type": "integer"
  36535. },
  36536. "remark": {
  36537. "description": "备注",
  36538. "type": "string"
  36539. },
  36540. "sex": {
  36541. "description": "性别 0-女 1-男",
  36542. "type": "integer"
  36543. },
  36544. "status": {
  36545. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36546. "type": "integer"
  36547. },
  36548. "statusdesc": {
  36549. "description": "账户状态中文描述",
  36550. "type": "string"
  36551. },
  36552. "taxpayernum": {
  36553. "description": "纳税人识别号",
  36554. "type": "string"
  36555. },
  36556. "telphone": {
  36557. "description": "联系电话",
  36558. "type": "string"
  36559. },
  36560. "userid": {
  36561. "description": "用户ID",
  36562. "type": "integer"
  36563. },
  36564. "userinfotype": {
  36565. "description": "客户类型 1-个人 2-企业",
  36566. "type": "integer"
  36567. },
  36568. "username": {
  36569. "description": "用户名称",
  36570. "type": "string"
  36571. }
  36572. }
  36573. },
  36574. "models.QhjMgrPickGoods": {
  36575. "type": "object",
  36576. "properties": {
  36577. "enumdicname": {
  36578. "description": "单位名称(提货商品)",
  36579. "type": "string"
  36580. },
  36581. "goodsid": {
  36582. "description": "商品id",
  36583. "type": "integer"
  36584. },
  36585. "imageaddress": {
  36586. "description": "图片",
  36587. "type": "string"
  36588. },
  36589. "modifierid": {
  36590. "description": "修改人",
  36591. "type": "integer"
  36592. },
  36593. "modifiername": {
  36594. "description": "修改人名称",
  36595. "type": "string"
  36596. },
  36597. "modifysrc": {
  36598. "description": "修改来源 - 1:管理端 2:终端",
  36599. "type": "integer"
  36600. },
  36601. "pickupgoodsagreeunit": {
  36602. "description": "合约乘数",
  36603. "type": "number"
  36604. },
  36605. "pickupgoodsdesc": {
  36606. "description": "描述",
  36607. "type": "string"
  36608. },
  36609. "pickupgoodsid": {
  36610. "description": "提货商品ID",
  36611. "type": "string"
  36612. },
  36613. "pickupgoodsname": {
  36614. "description": "提货商品名称",
  36615. "type": "string"
  36616. },
  36617. "pickupgoodsstatus": {
  36618. "description": "状态 - 1:正常 2:停用 3:注销",
  36619. "type": "integer"
  36620. },
  36621. "pickupgoodsunitid": {
  36622. "description": "单位ID",
  36623. "type": "integer"
  36624. },
  36625. "pickupratio": {
  36626. "description": "提货系数",
  36627. "type": "number"
  36628. },
  36629. "preparedays": {
  36630. "description": "备货期(天)",
  36631. "type": "integer"
  36632. },
  36633. "remark": {
  36634. "description": "备注",
  36635. "type": "string"
  36636. },
  36637. "updatetime": {
  36638. "description": "更新时间",
  36639. "type": "string"
  36640. }
  36641. }
  36642. },
  36643. "models.QhjMgrPositionRsp": {
  36644. "type": "object",
  36645. "properties": {
  36646. "accountid": {
  36647. "description": "账号Id",
  36648. "type": "integer"
  36649. },
  36650. "accountname": {
  36651. "description": "用户名称",
  36652. "type": "string"
  36653. },
  36654. "agreeunit": {
  36655. "description": "合约乘数",
  36656. "type": "number"
  36657. },
  36658. "averageprice": {
  36659. "description": "均价",
  36660. "type": "number"
  36661. },
  36662. "avialqty": {
  36663. "description": "可用数量",
  36664. "type": "number"
  36665. },
  36666. "decimalplace": {
  36667. "description": "报价小数位",
  36668. "type": "integer"
  36669. },
  36670. "enumdicname": {
  36671. "description": "单位名称(商品)",
  36672. "type": "string"
  36673. },
  36674. "frozenqty": {
  36675. "description": "冻结数量",
  36676. "type": "number"
  36677. },
  36678. "goodscode": {
  36679. "description": "商品代码(内部)",
  36680. "type": "string"
  36681. },
  36682. "goodsid": {
  36683. "description": "商品Id",
  36684. "type": "integer"
  36685. },
  36686. "goodsname": {
  36687. "description": "商品名称",
  36688. "type": "string"
  36689. },
  36690. "goodunitid": {
  36691. "description": "报价单位ID",
  36692. "type": "integer"
  36693. },
  36694. "holderamount": {
  36695. "description": "金额",
  36696. "type": "number"
  36697. },
  36698. "holderqty": {
  36699. "description": "持有数量",
  36700. "type": "number"
  36701. },
  36702. "holdertype": {
  36703. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  36704. "type": "integer"
  36705. },
  36706. "logincode": {
  36707. "description": "登录代码(账户)",
  36708. "type": "string"
  36709. },
  36710. "marketid": {
  36711. "description": "市场id",
  36712. "type": "integer"
  36713. },
  36714. "qtydecimalplace": {
  36715. "description": "成交量小数位",
  36716. "type": "integer"
  36717. },
  36718. "trademode": {
  36719. "description": "交易模式",
  36720. "type": "integer"
  36721. },
  36722. "userid": {
  36723. "description": "用户id",
  36724. "type": "integer"
  36725. },
  36726. "userinfotype": {
  36727. "description": "账户类型 1-个人 2-企业",
  36728. "type": "integer"
  36729. }
  36730. }
  36731. },
  36732. "models.QhjMgrSubArea": {
  36733. "type": "object",
  36734. "properties": {
  36735. "accountname": {
  36736. "description": "账户名称(机构名称)",
  36737. "type": "string"
  36738. },
  36739. "memberuserid": {
  36740. "description": "所属会员ID",
  36741. "type": "integer"
  36742. },
  36743. "parenttopuser": {
  36744. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  36745. "type": "string"
  36746. },
  36747. "parentuserid": {
  36748. "description": "所属机构ID",
  36749. "type": "integer"
  36750. },
  36751. "rootuserid": {
  36752. "description": "根用户ID",
  36753. "type": "string"
  36754. },
  36755. "subaccountlevel": {
  36756. "description": "子账户层数",
  36757. "type": "integer"
  36758. },
  36759. "subarealevelpath": {
  36760. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  36761. "type": "string"
  36762. },
  36763. "userid": {
  36764. "description": "用户ID",
  36765. "type": "integer"
  36766. },
  36767. "usertype": {
  36768. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36769. "type": "integer"
  36770. }
  36771. }
  36772. },
  36773. "models.QhjMgrTradeDetailRsp": {
  36774. "type": "object",
  36775. "properties": {
  36776. "accountid": {
  36777. "description": "资金账号",
  36778. "type": "integer"
  36779. },
  36780. "accountname": {
  36781. "description": "用户名称",
  36782. "type": "string"
  36783. },
  36784. "agreeunit": {
  36785. "description": "合约乘数",
  36786. "type": "number"
  36787. },
  36788. "buyorsell": {
  36789. "description": "成交类型(方向) 0:买 1:卖",
  36790. "type": "integer"
  36791. },
  36792. "decimalplace": {
  36793. "description": "报价小数位",
  36794. "type": "integer"
  36795. },
  36796. "enumdicname": {
  36797. "description": "单位名称(商品)",
  36798. "type": "string"
  36799. },
  36800. "goodscode": {
  36801. "description": "商品代码(内部)",
  36802. "type": "string"
  36803. },
  36804. "goodsid": {
  36805. "description": "商品id",
  36806. "type": "integer"
  36807. },
  36808. "goodsname": {
  36809. "description": "商品名称",
  36810. "type": "string"
  36811. },
  36812. "goodunitid": {
  36813. "description": "报价单位ID",
  36814. "type": "integer"
  36815. },
  36816. "logincode": {
  36817. "description": "登录代码(账户)",
  36818. "type": "string"
  36819. },
  36820. "marketid": {
  36821. "description": "市场id",
  36822. "type": "integer"
  36823. },
  36824. "orderid": {
  36825. "description": "关联委托单号",
  36826. "type": "string"
  36827. },
  36828. "qtydecimalplace": {
  36829. "description": "成交量小数位",
  36830. "type": "integer"
  36831. },
  36832. "tradeamount": {
  36833. "description": "金额",
  36834. "type": "number"
  36835. },
  36836. "tradedate": {
  36837. "description": "交易日",
  36838. "type": "string"
  36839. },
  36840. "tradeid": {
  36841. "description": "成交单号",
  36842. "type": "string"
  36843. },
  36844. "trademode": {
  36845. "description": "交易模式",
  36846. "type": "integer"
  36847. },
  36848. "tradeprice": {
  36849. "description": "价格",
  36850. "type": "number"
  36851. },
  36852. "tradeqty": {
  36853. "description": "数量",
  36854. "type": "number"
  36855. },
  36856. "tradetime": {
  36857. "description": "成交时间",
  36858. "type": "string"
  36859. },
  36860. "userid": {
  36861. "description": "用户id",
  36862. "type": "integer"
  36863. },
  36864. "userinfotype": {
  36865. "description": "账户类型 1-个人 2-企业",
  36866. "type": "integer"
  36867. }
  36868. }
  36869. },
  36870. "models.QhjMgrTradeOrderDetailRsp": {
  36871. "type": "object",
  36872. "properties": {
  36873. "accountid": {
  36874. "description": "资金账号",
  36875. "type": "integer"
  36876. },
  36877. "accountname": {
  36878. "description": "用户名称",
  36879. "type": "string"
  36880. },
  36881. "agreeunit": {
  36882. "description": "合约乘数",
  36883. "type": "number"
  36884. },
  36885. "amount": {
  36886. "description": "金额",
  36887. "type": "number"
  36888. },
  36889. "decimalplace": {
  36890. "description": "报价小数位",
  36891. "type": "integer"
  36892. },
  36893. "enumdicname": {
  36894. "description": "单位名称(商品)",
  36895. "type": "string"
  36896. },
  36897. "goodscode": {
  36898. "description": "商品代码(内部)",
  36899. "type": "string"
  36900. },
  36901. "goodsid": {
  36902. "description": "商品id",
  36903. "type": "integer"
  36904. },
  36905. "goodsname": {
  36906. "description": "商品名称",
  36907. "type": "string"
  36908. },
  36909. "goodunitid": {
  36910. "description": "报价单位ID",
  36911. "type": "integer"
  36912. },
  36913. "logincode": {
  36914. "description": "登录代码(账户)",
  36915. "type": "string"
  36916. },
  36917. "marketid": {
  36918. "description": "市场id",
  36919. "type": "integer"
  36920. },
  36921. "orderid": {
  36922. "description": "关联委托单号",
  36923. "type": "string"
  36924. },
  36925. "orderprice": {
  36926. "description": "价格",
  36927. "type": "number"
  36928. },
  36929. "orderqty": {
  36930. "description": "数量",
  36931. "type": "number"
  36932. },
  36933. "orderstatus": {
  36934. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36935. "type": "integer"
  36936. },
  36937. "ordertime": {
  36938. "description": "委托时间",
  36939. "type": "string"
  36940. },
  36941. "qtydecimalplace": {
  36942. "description": "成交量小数位",
  36943. "type": "integer"
  36944. },
  36945. "tradedate": {
  36946. "description": "交易日",
  36947. "type": "string"
  36948. },
  36949. "trademode": {
  36950. "description": "交易模式",
  36951. "type": "integer"
  36952. },
  36953. "userid": {
  36954. "description": "用户id",
  36955. "type": "integer"
  36956. },
  36957. "userinfotype": {
  36958. "description": "账户类型 1-个人 2-企业",
  36959. "type": "integer"
  36960. }
  36961. }
  36962. },
  36963. "models.QhjMgrTradePayOrder": {
  36964. "type": "object",
  36965. "properties": {
  36966. "accountname": {
  36967. "description": "用户名称",
  36968. "type": "string"
  36969. },
  36970. "advanceratio": {
  36971. "description": "首付比率",
  36972. "type": "number"
  36973. },
  36974. "agreeunit": {
  36975. "description": "合约乘数",
  36976. "type": "number"
  36977. },
  36978. "buyaccountid": {
  36979. "description": "买方账号ID[报价币种]",
  36980. "type": "integer"
  36981. },
  36982. "buyorderid": {
  36983. "description": "买方委托单号(关联单号)",
  36984. "type": "string"
  36985. },
  36986. "createtime": {
  36987. "description": "创建时间",
  36988. "type": "string"
  36989. },
  36990. "decimalplace": {
  36991. "description": "报价小数位",
  36992. "type": "integer"
  36993. },
  36994. "enumdicname": {
  36995. "description": "单位名称(商品)",
  36996. "type": "string"
  36997. },
  36998. "goodscode": {
  36999. "description": "商品代码(内部)",
  37000. "type": "string"
  37001. },
  37002. "goodsid": {
  37003. "description": "商品ID",
  37004. "type": "integer"
  37005. },
  37006. "goodsname": {
  37007. "description": "商品名称",
  37008. "type": "string"
  37009. },
  37010. "goodunitid": {
  37011. "description": "报价单位ID",
  37012. "type": "integer"
  37013. },
  37014. "logincode": {
  37015. "description": "登录代码(账户)",
  37016. "type": "string"
  37017. },
  37018. "marketid": {
  37019. "description": "市场id",
  37020. "type": "integer"
  37021. },
  37022. "offamount": {
  37023. "description": "优惠金额",
  37024. "type": "number"
  37025. },
  37026. "operatetype": {
  37027. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  37028. "type": "integer"
  37029. },
  37030. "payamount": {
  37031. "description": "支付金额(金额)",
  37032. "type": "number"
  37033. },
  37034. "payflag": {
  37035. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  37036. "type": "integer"
  37037. },
  37038. "paylimitedtime": {
  37039. "description": "支付期限",
  37040. "type": "string"
  37041. },
  37042. "paytime": {
  37043. "description": "付款时间",
  37044. "type": "string"
  37045. },
  37046. "qtydecimalplace": {
  37047. "description": "成交量小数位",
  37048. "type": "integer"
  37049. },
  37050. "sellaccountid": {
  37051. "description": "卖方账号ID[报价币种]",
  37052. "type": "integer"
  37053. },
  37054. "sellorderid": {
  37055. "description": "卖方委托单号",
  37056. "type": "string"
  37057. },
  37058. "tradeamount": {
  37059. "description": "成交金额(优惠后金额)",
  37060. "type": "number"
  37061. },
  37062. "tradecharge": {
  37063. "description": "成交手续费(买方)",
  37064. "type": "number"
  37065. },
  37066. "tradedate": {
  37067. "description": "交易日(yyyyMMdd)",
  37068. "type": "string"
  37069. },
  37070. "tradeid": {
  37071. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37072. "type": "string"
  37073. },
  37074. "trademode": {
  37075. "description": "交易模式",
  37076. "type": "integer"
  37077. },
  37078. "tradeprice": {
  37079. "description": "成交价格(价格)",
  37080. "type": "number"
  37081. },
  37082. "tradeqty": {
  37083. "description": "成交数量(数量)",
  37084. "type": "number"
  37085. },
  37086. "tradetime": {
  37087. "description": "成交时间",
  37088. "type": "string"
  37089. },
  37090. "userid": {
  37091. "description": "用户id",
  37092. "type": "integer"
  37093. },
  37094. "userinfotype": {
  37095. "description": "账户类型 1-个人 2-企业",
  37096. "type": "integer"
  37097. }
  37098. }
  37099. },
  37100. "models.QhjMyTeamEx": {
  37101. "type": "object",
  37102. "properties": {
  37103. "accountname": {
  37104. "description": "用户名称",
  37105. "type": "string"
  37106. },
  37107. "accountstatus": {
  37108. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37109. "type": "integer"
  37110. },
  37111. "createtime": {
  37112. "description": "创建时间",
  37113. "type": "string"
  37114. },
  37115. "mobile": {
  37116. "description": "手机号码",
  37117. "type": "string"
  37118. },
  37119. "refereeuserid": {
  37120. "description": "推荐人id",
  37121. "type": "integer"
  37122. },
  37123. "refernum": {
  37124. "description": "推荐码",
  37125. "type": "string"
  37126. },
  37127. "subList": {
  37128. "type": "array",
  37129. "items": {
  37130. "$ref": "#/definitions/models.QhjMyTeamEx"
  37131. }
  37132. },
  37133. "userid": {
  37134. "description": "用户id",
  37135. "type": "integer"
  37136. },
  37137. "userinfotype": {
  37138. "description": "用户类型 1-个人 2-企业",
  37139. "type": "integer"
  37140. }
  37141. }
  37142. },
  37143. "models.QhjNodeAgreementConfig": {
  37144. "type": "object",
  37145. "properties": {
  37146. "agreementcontent": {
  37147. "description": "协议内容",
  37148. "type": "string"
  37149. },
  37150. "agreementid": {
  37151. "description": "协议ID",
  37152. "type": "integer"
  37153. },
  37154. "agreementname": {
  37155. "description": "协议名称",
  37156. "type": "string"
  37157. },
  37158. "agreementno": {
  37159. "description": "协议编号",
  37160. "type": "string"
  37161. },
  37162. "agreementtype": {
  37163. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37164. "type": "integer"
  37165. },
  37166. "agreementversion": {
  37167. "description": "协议版本号",
  37168. "type": "integer"
  37169. },
  37170. "configid": {
  37171. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37172. "type": "integer"
  37173. },
  37174. "createtime": {
  37175. "description": "创建时间",
  37176. "type": "string"
  37177. },
  37178. "goodsid": {
  37179. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37180. "type": "integer"
  37181. },
  37182. "nodetype": {
  37183. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37184. "type": "integer"
  37185. }
  37186. }
  37187. },
  37188. "models.QhjParentAreaList": {
  37189. "type": "object",
  37190. "properties": {
  37191. "accountname": {
  37192. "description": "账户名称(机构名称)",
  37193. "type": "string"
  37194. },
  37195. "userid": {
  37196. "description": "用户ID",
  37197. "type": "integer"
  37198. },
  37199. "usertype": {
  37200. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37201. "type": "integer"
  37202. }
  37203. }
  37204. },
  37205. "models.QhjPayOrder": {
  37206. "type": "object",
  37207. "properties": {
  37208. "advanceratio": {
  37209. "description": "首付比率",
  37210. "type": "number"
  37211. },
  37212. "buyaccountid": {
  37213. "description": "买方账号ID[报价币种]",
  37214. "type": "integer"
  37215. },
  37216. "buyorderid": {
  37217. "description": "买方委托单号",
  37218. "type": "string"
  37219. },
  37220. "createtime": {
  37221. "description": "创建时间",
  37222. "type": "string"
  37223. },
  37224. "decimalplace": {
  37225. "description": "商品报价小数位",
  37226. "type": "integer"
  37227. },
  37228. "enumdicname": {
  37229. "description": "单位名称",
  37230. "type": "string"
  37231. },
  37232. "goodscode": {
  37233. "description": "商品代码",
  37234. "type": "string"
  37235. },
  37236. "goodsid": {
  37237. "description": "商品ID",
  37238. "type": "integer"
  37239. },
  37240. "goodsname": {
  37241. "description": "商品名称",
  37242. "type": "string"
  37243. },
  37244. "goodunitid": {
  37245. "description": "商品单位id",
  37246. "type": "integer"
  37247. },
  37248. "marketid": {
  37249. "description": "市场ID",
  37250. "type": "integer"
  37251. },
  37252. "offamount": {
  37253. "description": "优惠金额",
  37254. "type": "number"
  37255. },
  37256. "operatetype": {
  37257. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  37258. "type": "integer"
  37259. },
  37260. "payamount": {
  37261. "description": "支付金额",
  37262. "type": "number"
  37263. },
  37264. "payflag": {
  37265. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  37266. "type": "integer"
  37267. },
  37268. "paylimitedtime": {
  37269. "description": "支付期限",
  37270. "type": "string"
  37271. },
  37272. "paytime": {
  37273. "description": "付款时间",
  37274. "type": "string"
  37275. },
  37276. "qtydecimalplace": {
  37277. "description": "成交量小数位",
  37278. "type": "integer"
  37279. },
  37280. "sellaccountid": {
  37281. "description": "卖方账号ID[报价币种]",
  37282. "type": "integer"
  37283. },
  37284. "sellorderid": {
  37285. "description": "卖方委托单号",
  37286. "type": "string"
  37287. },
  37288. "tradeamount": {
  37289. "description": "成交金额(优惠后金额)",
  37290. "type": "number"
  37291. },
  37292. "tradecharge": {
  37293. "description": "成交手续费(买方)",
  37294. "type": "number"
  37295. },
  37296. "tradedate": {
  37297. "description": "交易日(yyyyMMdd)",
  37298. "type": "string"
  37299. },
  37300. "tradeid": {
  37301. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37302. "type": "string"
  37303. },
  37304. "tradeprice": {
  37305. "description": "成交价格",
  37306. "type": "number"
  37307. },
  37308. "tradeqty": {
  37309. "description": "成交数量",
  37310. "type": "number"
  37311. }
  37312. }
  37313. },
  37314. "models.QhjPickArea": {
  37315. "type": "object",
  37316. "properties": {
  37317. "address": {
  37318. "description": "详细地址",
  37319. "type": "string"
  37320. },
  37321. "cityid": {
  37322. "description": "市",
  37323. "type": "integer"
  37324. },
  37325. "cityname": {
  37326. "description": "城市名称",
  37327. "type": "string"
  37328. },
  37329. "countryid": {
  37330. "description": "国家",
  37331. "type": "integer"
  37332. },
  37333. "countryname": {
  37334. "description": "国家名称",
  37335. "type": "string"
  37336. },
  37337. "districtid": {
  37338. "description": "地区",
  37339. "type": "integer"
  37340. },
  37341. "districtname": {
  37342. "description": "地区名称",
  37343. "type": "string"
  37344. },
  37345. "fromuserid": {
  37346. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  37347. "type": "integer"
  37348. },
  37349. "fromusername": {
  37350. "description": "所属机构名称",
  37351. "type": "string"
  37352. },
  37353. "provinceid": {
  37354. "description": "省",
  37355. "type": "integer"
  37356. },
  37357. "provincename": {
  37358. "description": "省名称",
  37359. "type": "string"
  37360. },
  37361. "suborgtype": {
  37362. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  37363. "type": "integer"
  37364. },
  37365. "userid": {
  37366. "description": "机构用户ID 其他做市关系,都设置为 1",
  37367. "type": "integer"
  37368. },
  37369. "username": {
  37370. "description": "机构用户名称(门店门称)",
  37371. "type": "string"
  37372. }
  37373. }
  37374. },
  37375. "models.QhjPickGoods": {
  37376. "type": "object",
  37377. "properties": {
  37378. "enumdicname": {
  37379. "description": "单位名称(提货商品)",
  37380. "type": "string"
  37381. },
  37382. "goodsid": {
  37383. "description": "商品id",
  37384. "type": "integer"
  37385. },
  37386. "imageaddress": {
  37387. "description": "图片",
  37388. "type": "string"
  37389. },
  37390. "modifierid": {
  37391. "description": "修改人",
  37392. "type": "integer"
  37393. },
  37394. "modifiername": {
  37395. "description": "修改人名称",
  37396. "type": "string"
  37397. },
  37398. "modifysrc": {
  37399. "description": "修改来源 - 1:管理端 2:终端",
  37400. "type": "integer"
  37401. },
  37402. "pickupgoodsagreeunit": {
  37403. "description": "合约乘数",
  37404. "type": "number"
  37405. },
  37406. "pickupgoodsdesc": {
  37407. "description": "描述",
  37408. "type": "string"
  37409. },
  37410. "pickupgoodsid": {
  37411. "description": "提货商品ID",
  37412. "type": "string"
  37413. },
  37414. "pickupgoodsname": {
  37415. "description": "提货商品名称",
  37416. "type": "string"
  37417. },
  37418. "pickupgoodsstatus": {
  37419. "description": "状态 - 1:正常 2:停用 3:注销",
  37420. "type": "integer"
  37421. },
  37422. "pickupgoodsunitid": {
  37423. "description": "单位ID",
  37424. "type": "integer"
  37425. },
  37426. "pickupratio": {
  37427. "description": "提货系数",
  37428. "type": "number"
  37429. },
  37430. "preparedays": {
  37431. "description": "备货期(天)",
  37432. "type": "integer"
  37433. },
  37434. "remark": {
  37435. "description": "备注",
  37436. "type": "string"
  37437. },
  37438. "updatetime": {
  37439. "description": "更新时间",
  37440. "type": "string"
  37441. }
  37442. }
  37443. },
  37444. "models.QhjRSTriggerLog": {
  37445. "type": "object",
  37446. "properties": {
  37447. "accountid": {
  37448. "description": "用户资金账户",
  37449. "type": "integer"
  37450. },
  37451. "accountname": {
  37452. "description": "账号名称(ACCOUNTID对应的名称)",
  37453. "type": "string"
  37454. },
  37455. "currencyid": {
  37456. "description": "币种id",
  37457. "type": "integer"
  37458. },
  37459. "currencyname": {
  37460. "description": "币种名称",
  37461. "type": "string"
  37462. },
  37463. "decimalplace": {
  37464. "description": "商品报价小数位",
  37465. "type": "integer"
  37466. },
  37467. "enumdicname": {
  37468. "description": "单位名称",
  37469. "type": "string"
  37470. },
  37471. "goodscode": {
  37472. "description": "定投商品代码",
  37473. "type": "string"
  37474. },
  37475. "goodsid": {
  37476. "description": "定投商品ID",
  37477. "type": "integer"
  37478. },
  37479. "goodsname": {
  37480. "description": "定投商品名称",
  37481. "type": "string"
  37482. },
  37483. "goodunitid": {
  37484. "description": "定投商品单位id",
  37485. "type": "integer"
  37486. },
  37487. "logid": {
  37488. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  37489. "type": "string"
  37490. },
  37491. "logincode": {
  37492. "description": "账号(登录代码)",
  37493. "type": "string"
  37494. },
  37495. "qtydecimalplace": {
  37496. "description": "成交量小数位",
  37497. "type": "integer"
  37498. },
  37499. "regularlycycle": {
  37500. "description": "定投频率 - 1:每周 2:每月",
  37501. "type": "integer"
  37502. },
  37503. "regularlycyclevalue": {
  37504. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  37505. "type": "string"
  37506. },
  37507. "regularlymode": {
  37508. "description": "定投方式 - 1:按数量 2:按金额",
  37509. "type": "integer"
  37510. },
  37511. "regularlymodevalue": {
  37512. "description": "定投方式值 - 数量或金额",
  37513. "type": "number"
  37514. },
  37515. "regularlystrategyid": {
  37516. "description": "定投策略ID",
  37517. "type": "integer"
  37518. },
  37519. "retcode": {
  37520. "description": "错误码",
  37521. "type": "string"
  37522. },
  37523. "tradeid": {
  37524. "description": "成交单ID",
  37525. "type": "string"
  37526. },
  37527. "triggeramount": {
  37528. "description": "触发金额",
  37529. "type": "number"
  37530. },
  37531. "triggerqty": {
  37532. "description": "触发数量",
  37533. "type": "number"
  37534. },
  37535. "triggerstatus": {
  37536. "description": "触发状态 - 1:成功 2:失败",
  37537. "type": "integer"
  37538. },
  37539. "triggertime": {
  37540. "description": "触发时间",
  37541. "type": "string"
  37542. },
  37543. "triggertradedate": {
  37544. "description": "触发交易日",
  37545. "type": "string"
  37546. },
  37547. "userid": {
  37548. "description": "所属用户ID",
  37549. "type": "integer"
  37550. },
  37551. "userinfotype": {
  37552. "description": "用户类型 1-个人 2-企业",
  37553. "type": "integer"
  37554. },
  37555. "username": {
  37556. "description": "用户名称(userid对应的名称)",
  37557. "type": "string"
  37558. }
  37559. }
  37560. },
  37561. "models.QhjRStrategy": {
  37562. "type": "object",
  37563. "properties": {
  37564. "accountid": {
  37565. "description": "用户资金账户",
  37566. "type": "integer"
  37567. },
  37568. "accountname": {
  37569. "description": "账号名称(ACCOUNTID对应的名称)",
  37570. "type": "string"
  37571. },
  37572. "currencyid": {
  37573. "description": "币种id",
  37574. "type": "integer"
  37575. },
  37576. "currencyname": {
  37577. "description": "币种名称",
  37578. "type": "string"
  37579. },
  37580. "decimalplace": {
  37581. "description": "商品报价小数位",
  37582. "type": "integer"
  37583. },
  37584. "enumdicname": {
  37585. "description": "单位名称",
  37586. "type": "string"
  37587. },
  37588. "goodscode": {
  37589. "description": "定投商品代码",
  37590. "type": "string"
  37591. },
  37592. "goodsid": {
  37593. "description": "定投商品ID",
  37594. "type": "integer"
  37595. },
  37596. "goodsname": {
  37597. "description": "定投商品名称",
  37598. "type": "string"
  37599. },
  37600. "goodunitid": {
  37601. "description": "定投商品单位id",
  37602. "type": "integer"
  37603. },
  37604. "lasteffecttradedate": {
  37605. "description": "最新生效交易日",
  37606. "type": "string"
  37607. },
  37608. "laststoptradedate": {
  37609. "description": "最新暂停交易日",
  37610. "type": "string"
  37611. },
  37612. "lasttriggertradedate": {
  37613. "description": "最新触发交易日",
  37614. "type": "string"
  37615. },
  37616. "logincode": {
  37617. "description": "账号(登录代码)",
  37618. "type": "string"
  37619. },
  37620. "nexttriggeramount": {
  37621. "description": "下次触发金额",
  37622. "type": "number"
  37623. },
  37624. "nexttriggerdate": {
  37625. "description": "下次触发日期",
  37626. "type": "string"
  37627. },
  37628. "nexttriggerqty": {
  37629. "description": "下次触发数量 [按小数位放大值]",
  37630. "type": "number"
  37631. },
  37632. "qtydecimalplace": {
  37633. "description": "成交量小数位",
  37634. "type": "integer"
  37635. },
  37636. "regularlycycle": {
  37637. "description": "定投频率 - 1:每周 2:每月",
  37638. "type": "integer"
  37639. },
  37640. "regularlycyclevalue": {
  37641. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  37642. "type": "string"
  37643. },
  37644. "regularlymode": {
  37645. "description": "定投方式 - 1:按数量 2:按金额",
  37646. "type": "integer"
  37647. },
  37648. "regularlymodevalue": {
  37649. "description": "定投方式值 - 数量或金额",
  37650. "type": "number"
  37651. },
  37652. "regularlystrategyid": {
  37653. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  37654. "type": "integer"
  37655. },
  37656. "regularlystrategystatus": {
  37657. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  37658. "type": "integer"
  37659. },
  37660. "remark": {
  37661. "description": "备注",
  37662. "type": "string"
  37663. },
  37664. "triggersuccesstimes": {
  37665. "description": "累计定投成功次数",
  37666. "type": "string"
  37667. },
  37668. "triggertotalamount": {
  37669. "description": "累计定投金额(成功)",
  37670. "type": "number"
  37671. },
  37672. "triggertotalqty": {
  37673. "description": "累计定投数量(成功) [按小数位放大值]",
  37674. "type": "number"
  37675. },
  37676. "triggertotaltimes": {
  37677. "description": "累计定投总次数",
  37678. "type": "string"
  37679. },
  37680. "updatesrc": {
  37681. "description": "更新来源 - 1:管理端 2:终端",
  37682. "type": "integer"
  37683. },
  37684. "updatetime": {
  37685. "description": "更新时间",
  37686. "type": "string"
  37687. },
  37688. "updatorid": {
  37689. "description": "更新人",
  37690. "type": "string"
  37691. },
  37692. "userid": {
  37693. "description": "所属用户ID",
  37694. "type": "integer"
  37695. },
  37696. "userinfotype": {
  37697. "description": "用户类型 1-个人 2-企业",
  37698. "type": "integer"
  37699. },
  37700. "username": {
  37701. "description": "用户名称(userid对应的名称)",
  37702. "type": "string"
  37703. }
  37704. }
  37705. },
  37706. "models.QhjReckonPriceLog": {
  37707. "type": "object",
  37708. "properties": {
  37709. "decimalplace": {
  37710. "description": "商品报价小数位",
  37711. "type": "integer"
  37712. },
  37713. "goodscode": {
  37714. "description": "商品代码",
  37715. "type": "string"
  37716. },
  37717. "goodsid": {
  37718. "description": "商品ID",
  37719. "type": "integer"
  37720. },
  37721. "goodsname": {
  37722. "description": "商品名称",
  37723. "type": "string"
  37724. },
  37725. "lastreckonprice": {
  37726. "description": "上日结算价",
  37727. "type": "number"
  37728. },
  37729. "nextdnlimitprice": {
  37730. "description": "下个交易日跌停价",
  37731. "type": "number"
  37732. },
  37733. "nexttrade": {
  37734. "description": "下个交易日",
  37735. "type": "string"
  37736. },
  37737. "nextuplimitprice": {
  37738. "description": "下个交易日涨停价",
  37739. "type": "number"
  37740. },
  37741. "reckonprice": {
  37742. "description": "今日结算价(定投价)",
  37743. "type": "number"
  37744. },
  37745. "reckontime": {
  37746. "description": "结算时间",
  37747. "type": "string"
  37748. },
  37749. "totalholderqty": {
  37750. "description": "总持仓数",
  37751. "type": "integer"
  37752. },
  37753. "totalstock": {
  37754. "description": "总库存",
  37755. "type": "integer"
  37756. },
  37757. "tradedate": {
  37758. "description": "交易日",
  37759. "type": "string"
  37760. },
  37761. "updowncount": {
  37762. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  37763. "type": "integer"
  37764. },
  37765. "updownflag": {
  37766. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  37767. "type": "integer"
  37768. },
  37769. "updownrate": {
  37770. "description": "今日涨跌幅",
  37771. "type": "number"
  37772. },
  37773. "updownrate_2d": {
  37774. "description": "连续两日涨跌幅",
  37775. "type": "number"
  37776. },
  37777. "updownrate_3d": {
  37778. "description": "连续三日涨跌幅",
  37779. "type": "number"
  37780. }
  37781. }
  37782. },
  37783. "models.QhjScoreLog": {
  37784. "type": "object",
  37785. "properties": {
  37786. "accountid": {
  37787. "description": "账户ID",
  37788. "type": "integer"
  37789. },
  37790. "createtime": {
  37791. "description": "创建时间(时间)",
  37792. "type": "string"
  37793. },
  37794. "goodsid": {
  37795. "description": "商品ID",
  37796. "type": "integer"
  37797. },
  37798. "hasuploaded": {
  37799. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  37800. "type": "integer"
  37801. },
  37802. "logid": {
  37803. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37804. "type": "string"
  37805. },
  37806. "marketid": {
  37807. "description": "市场ID",
  37808. "type": "integer"
  37809. },
  37810. "relatedamount": {
  37811. "description": "关联金额",
  37812. "type": "number"
  37813. },
  37814. "relatedorderid": {
  37815. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  37816. "type": "string"
  37817. },
  37818. "scoreconfigvalue1": {
  37819. "description": "积分配置1",
  37820. "type": "integer"
  37821. },
  37822. "scoreconfigvalue2": {
  37823. "description": "积分配置1",
  37824. "type": "integer"
  37825. },
  37826. "scoretype": {
  37827. "description": "积分类型 - 1:提货积分",
  37828. "type": "integer"
  37829. },
  37830. "scorevalue": {
  37831. "description": "积分",
  37832. "type": "number"
  37833. },
  37834. "tradedate": {
  37835. "description": "交易日(yyyyMMdd)",
  37836. "type": "string"
  37837. },
  37838. "uploadedtime": {
  37839. "description": "同步时间",
  37840. "type": "string"
  37841. },
  37842. "userid": {
  37843. "description": "用户ID",
  37844. "type": "integer"
  37845. }
  37846. }
  37847. },
  37848. "models.QhjSiteColumnDetail": {
  37849. "type": "object",
  37850. "properties": {
  37851. "author": {
  37852. "description": "作者",
  37853. "type": "string"
  37854. },
  37855. "brief": {
  37856. "description": "简介",
  37857. "type": "string"
  37858. },
  37859. "columnid": {
  37860. "description": "所属栏目",
  37861. "type": "integer"
  37862. },
  37863. "context": {
  37864. "description": "内容",
  37865. "type": "string"
  37866. },
  37867. "coverimage": {
  37868. "description": "封面图片",
  37869. "type": "string"
  37870. },
  37871. "creaedate": {
  37872. "description": "创建时间",
  37873. "type": "string"
  37874. },
  37875. "creatorid": {
  37876. "description": "创建人",
  37877. "type": "integer"
  37878. },
  37879. "hits": {
  37880. "description": "点击数",
  37881. "type": "integer"
  37882. },
  37883. "id": {
  37884. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37885. "type": "integer"
  37886. },
  37887. "isshow": {
  37888. "description": "是否展示 - 0:不展示 1:展示",
  37889. "type": "integer"
  37890. },
  37891. "istop": {
  37892. "description": "是否置顶 - 0:不置 1:置顶",
  37893. "type": "integer"
  37894. },
  37895. "modifierid": {
  37896. "description": "操作人",
  37897. "type": "integer"
  37898. },
  37899. "publishdate": {
  37900. "description": "发布日期",
  37901. "type": "string"
  37902. },
  37903. "status": {
  37904. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  37905. "type": "integer"
  37906. },
  37907. "title": {
  37908. "description": "标题",
  37909. "type": "string"
  37910. },
  37911. "updatedate": {
  37912. "description": "修改时间",
  37913. "type": "string"
  37914. },
  37915. "userid": {
  37916. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  37917. "type": "integer"
  37918. },
  37919. "username": {
  37920. "description": "用户名称",
  37921. "type": "string"
  37922. }
  37923. }
  37924. },
  37925. "models.QhjTeamOrder": {
  37926. "type": "object",
  37927. "properties": {
  37928. "accountid": {
  37929. "description": "账户ID[报价币种]",
  37930. "type": "integer"
  37931. },
  37932. "accountname": {
  37933. "description": "账户名称",
  37934. "type": "string"
  37935. },
  37936. "agreeunit": {
  37937. "description": "合约乘数",
  37938. "type": "number"
  37939. },
  37940. "buyorsell": {
  37941. "description": "方向 - 0:买 1:卖",
  37942. "type": "integer"
  37943. },
  37944. "decimalplace": {
  37945. "description": "报价小数位",
  37946. "type": "integer"
  37947. },
  37948. "enumdicname": {
  37949. "description": "单位名称",
  37950. "type": "string"
  37951. },
  37952. "goodscode": {
  37953. "description": "商品代码(内部)",
  37954. "type": "string"
  37955. },
  37956. "goodsid": {
  37957. "description": "商品ID",
  37958. "type": "integer"
  37959. },
  37960. "goodsname": {
  37961. "description": "商品名称",
  37962. "type": "string"
  37963. },
  37964. "goodunitid": {
  37965. "description": "报价单位ID",
  37966. "type": "integer"
  37967. },
  37968. "marketid": {
  37969. "description": "市场ID",
  37970. "type": "integer"
  37971. },
  37972. "marketname": {
  37973. "description": "市场名称",
  37974. "type": "string"
  37975. },
  37976. "qtydecimalplace": {
  37977. "description": "成交量小数位",
  37978. "type": "integer"
  37979. },
  37980. "refereeuserid": {
  37981. "description": "推荐人ID",
  37982. "type": "integer"
  37983. },
  37984. "tradeamount": {
  37985. "description": "成交金额[账户币种,用于所有权]",
  37986. "type": "number"
  37987. },
  37988. "tradedate": {
  37989. "description": "交易日(yyyyMMdd)",
  37990. "type": "string"
  37991. },
  37992. "trademode": {
  37993. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37994. "type": "integer"
  37995. },
  37996. "tradeprice": {
  37997. "description": "成交价格",
  37998. "type": "number"
  37999. },
  38000. "tradeqty": {
  38001. "description": "成交数量",
  38002. "type": "number"
  38003. },
  38004. "tradetime": {
  38005. "description": "成交时间",
  38006. "type": "string"
  38007. },
  38008. "userid": {
  38009. "description": "用户ID",
  38010. "type": "integer"
  38011. }
  38012. }
  38013. },
  38014. "models.QhjTradeGoodsPickup": {
  38015. "type": "object",
  38016. "properties": {
  38017. "accountid": {
  38018. "description": "账户ID",
  38019. "type": "integer"
  38020. },
  38021. "address": {
  38022. "description": "提货人详细地址",
  38023. "type": "string"
  38024. },
  38025. "amount": {
  38026. "description": "提货金额",
  38027. "type": "number"
  38028. },
  38029. "artradedate": {
  38030. "description": "自动收货交易日(yyyyMMdd)",
  38031. "type": "string"
  38032. },
  38033. "auditer": {
  38034. "description": "审核人",
  38035. "type": "integer"
  38036. },
  38037. "auditsrc": {
  38038. "description": "更新来源 - 1:管理端 2:终端",
  38039. "type": "integer"
  38040. },
  38041. "audittime": {
  38042. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  38043. "type": "string"
  38044. },
  38045. "audittradedate": {
  38046. "description": "审核交易日(yyyyMMdd)",
  38047. "type": "string"
  38048. },
  38049. "cardnum": {
  38050. "description": "提货人证件号码",
  38051. "type": "string"
  38052. },
  38053. "cardtypeid": {
  38054. "description": "提货人证件类型",
  38055. "type": "integer"
  38056. },
  38057. "checkremark": {
  38058. "description": "审核备注",
  38059. "type": "string"
  38060. },
  38061. "cityid": {
  38062. "description": "市",
  38063. "type": "integer"
  38064. },
  38065. "cityname": {
  38066. "description": "城市名称",
  38067. "type": "string"
  38068. },
  38069. "confirmtime": {
  38070. "description": "取货时间 或 收货时间",
  38071. "type": "string"
  38072. },
  38073. "countryid": {
  38074. "description": "国家",
  38075. "type": "integer"
  38076. },
  38077. "countryname": {
  38078. "description": "国家名称",
  38079. "type": "string"
  38080. },
  38081. "decimalplace": {
  38082. "description": "商品报价小数位",
  38083. "type": "integer"
  38084. },
  38085. "districtid": {
  38086. "description": "地区",
  38087. "type": "integer"
  38088. },
  38089. "districtname": {
  38090. "description": "地区名称",
  38091. "type": "string"
  38092. },
  38093. "enumdicname": {
  38094. "description": "单位名称(提货商品)",
  38095. "type": "string"
  38096. },
  38097. "expresscompany": {
  38098. "description": "物流公司",
  38099. "type": "string"
  38100. },
  38101. "expressnum": {
  38102. "description": "物流单号",
  38103. "type": "string"
  38104. },
  38105. "goodsagreeunit": {
  38106. "description": "交易商品乘数",
  38107. "type": "number"
  38108. },
  38109. "goodscode": {
  38110. "description": "商品代码",
  38111. "type": "string"
  38112. },
  38113. "goodsid": {
  38114. "description": "商品ID",
  38115. "type": "integer"
  38116. },
  38117. "goodsname": {
  38118. "description": "商品名称",
  38119. "type": "string"
  38120. },
  38121. "goodsqty": {
  38122. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  38123. "type": "number"
  38124. },
  38125. "handlestatus": {
  38126. "description": "处理状态",
  38127. "type": "integer"
  38128. },
  38129. "logincode": {
  38130. "description": "账号(登录代码, 有可能为空)",
  38131. "type": "string"
  38132. },
  38133. "marketid": {
  38134. "description": "市场ID",
  38135. "type": "integer"
  38136. },
  38137. "phonenum": {
  38138. "description": "提货人联系方式",
  38139. "type": "string"
  38140. },
  38141. "pickupgoodsagreeunit": {
  38142. "description": "提货商品合约乘数",
  38143. "type": "number"
  38144. },
  38145. "pickupgoodsid": {
  38146. "description": "提货商品ID",
  38147. "type": "string"
  38148. },
  38149. "pickupgoodsname": {
  38150. "description": "提货商品名称",
  38151. "type": "string"
  38152. },
  38153. "pickupgoodsqty": {
  38154. "description": "提货商品手数(数量)",
  38155. "type": "number"
  38156. },
  38157. "pickupgoodsunitid": {
  38158. "description": "单位ID(提货商品)",
  38159. "type": "integer"
  38160. },
  38161. "pickupratio": {
  38162. "description": "提货系数",
  38163. "type": "number"
  38164. },
  38165. "preparedays": {
  38166. "description": "备货期(天)-提货单明细表",
  38167. "type": "integer"
  38168. },
  38169. "provinceid": {
  38170. "description": "省",
  38171. "type": "integer"
  38172. },
  38173. "provincename": {
  38174. "description": "省名称",
  38175. "type": "string"
  38176. },
  38177. "qty": {
  38178. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  38179. "type": "number"
  38180. },
  38181. "qtydecimalplace": {
  38182. "description": "商品数量小数位",
  38183. "type": "integer"
  38184. },
  38185. "recivername": {
  38186. "description": "提货人姓名",
  38187. "type": "string"
  38188. },
  38189. "reqtime": {
  38190. "description": "提货申请时间",
  38191. "type": "string"
  38192. },
  38193. "storeuserid": {
  38194. "description": "门店用户ID (千海金)",
  38195. "type": "integer"
  38196. },
  38197. "storeusername": {
  38198. "description": "门店用户名称",
  38199. "type": "string"
  38200. },
  38201. "takemode": {
  38202. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  38203. "type": "integer"
  38204. },
  38205. "takeorderid": {
  38206. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38207. "type": "string"
  38208. },
  38209. "takeorderstatus": {
  38210. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  38211. "type": "integer"
  38212. },
  38213. "takeremark": {
  38214. "description": "提货备注",
  38215. "type": "string"
  38216. },
  38217. "tradedate": {
  38218. "description": "交易日(yyyyMMdd)",
  38219. "type": "string"
  38220. },
  38221. "updatetime": {
  38222. "description": "更新时间",
  38223. "type": "string"
  38224. },
  38225. "userid": {
  38226. "description": "用户ID",
  38227. "type": "integer"
  38228. },
  38229. "userinfotype": {
  38230. "description": "客户类型 1-个人 2-企业",
  38231. "type": "integer"
  38232. },
  38233. "username": {
  38234. "description": "用户名称",
  38235. "type": "string"
  38236. }
  38237. }
  38238. },
  38239. "models.QhjUserNodeCfgAndStatus": {
  38240. "type": "object",
  38241. "properties": {
  38242. "agreementcontent": {
  38243. "description": "协议内容",
  38244. "type": "string"
  38245. },
  38246. "agreementid": {
  38247. "description": "协议ID",
  38248. "type": "integer"
  38249. },
  38250. "agreementname": {
  38251. "description": "协议名称",
  38252. "type": "string"
  38253. },
  38254. "agreementno": {
  38255. "description": "协议编号",
  38256. "type": "string"
  38257. },
  38258. "agreementtype": {
  38259. "description": "协议类型 - 1:注册 2:登录 3:交易",
  38260. "type": "integer"
  38261. },
  38262. "agreementversion": {
  38263. "description": "协议版本号",
  38264. "type": "integer"
  38265. },
  38266. "configid": {
  38267. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  38268. "type": "integer"
  38269. },
  38270. "createtime": {
  38271. "description": "创建时间",
  38272. "type": "string"
  38273. },
  38274. "goodsid": {
  38275. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  38276. "type": "integer"
  38277. },
  38278. "nodetype": {
  38279. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  38280. "type": "integer"
  38281. },
  38282. "signtimestamp": {
  38283. "description": "签约状态时间戳(最近一次)",
  38284. "type": "string"
  38285. },
  38286. "tradedate": {
  38287. "description": "签约交易日(yyyyMMdd)",
  38288. "type": "string"
  38289. },
  38290. "userid": {
  38291. "description": "客户ID",
  38292. "type": "integer"
  38293. }
  38294. }
  38295. },
  38296. "models.Qhjgoodsex": {
  38297. "type": "object",
  38298. "properties": {
  38299. "canfinance": {
  38300. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  38301. "type": "integer"
  38302. },
  38303. "canregularlybuy": {
  38304. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  38305. "type": "integer"
  38306. },
  38307. "defaulttradeuserid": {
  38308. "description": "默认交易用户ID",
  38309. "type": "integer"
  38310. },
  38311. "deliverygoodsid": {
  38312. "description": "现货品种ID",
  38313. "type": "integer"
  38314. },
  38315. "goodsid": {
  38316. "description": "商品ID(自增ID SEQ_GOODS)",
  38317. "type": "integer"
  38318. },
  38319. "minamount": {
  38320. "description": "最小购买金额",
  38321. "type": "number"
  38322. },
  38323. "regularlybuyminamount": {
  38324. "description": "定投最小金额",
  38325. "type": "number"
  38326. },
  38327. "regularlybuyminqty": {
  38328. "description": "定投最小数量",
  38329. "type": "number"
  38330. },
  38331. "spotgoodsbrandid": {
  38332. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  38333. "type": "integer"
  38334. },
  38335. "visibilityforenterprise": {
  38336. "description": "企业客户是否可见 - 0:不可见 1:可见",
  38337. "type": "integer"
  38338. },
  38339. "visibilityforpersonal": {
  38340. "description": "个人客户是否可见 - 0:不可见 1:可见",
  38341. "type": "integer"
  38342. },
  38343. "wrstandardid": {
  38344. "description": "现货商品ID",
  38345. "type": "integer"
  38346. }
  38347. }
  38348. },
  38349. "models.QueryErrorInfosRsp": {
  38350. "type": "object",
  38351. "required": [
  38352. "errorid"
  38353. ],
  38354. "properties": {
  38355. "description": {
  38356. "description": "异常描述",
  38357. "type": "string"
  38358. },
  38359. "errorcode": {
  38360. "description": "异常代码",
  38361. "type": "string"
  38362. },
  38363. "errorid": {
  38364. "description": "异常ID",
  38365. "type": "integer"
  38366. },
  38367. "modulecode": {
  38368. "description": "所属模块",
  38369. "type": "string"
  38370. },
  38371. "operatecode": {
  38372. "description": "所属操作",
  38373. "type": "string"
  38374. },
  38375. "rownumber": {
  38376. "description": "行号",
  38377. "type": "string"
  38378. }
  38379. }
  38380. },
  38381. "models.QueryHedgeOrderDetailRsp": {
  38382. "type": "object",
  38383. "properties": {
  38384. "accountid": {
  38385. "description": "账户ID",
  38386. "type": "integer"
  38387. },
  38388. "buyorsell": {
  38389. "description": "买卖 - 0:买 1:卖",
  38390. "type": "integer"
  38391. },
  38392. "cancellogincode": {
  38393. "description": "撤单人",
  38394. "type": "string"
  38395. },
  38396. "channelbuildtype": {
  38397. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  38398. "type": "integer"
  38399. },
  38400. "channelinnerorderstatus": {
  38401. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  38402. "type": "integer"
  38403. },
  38404. "channeloperatetype": {
  38405. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  38406. "type": "integer"
  38407. },
  38408. "closetype": {
  38409. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  38410. "type": "integer"
  38411. },
  38412. "curexchangerate": {
  38413. "description": "当前汇率",
  38414. "type": "number"
  38415. },
  38416. "decimalplace": {
  38417. "description": "商品报价小数位",
  38418. "type": "integer"
  38419. },
  38420. "exchangefullname": {
  38421. "description": "外部交易所全称",
  38422. "type": "string"
  38423. },
  38424. "goodscode": {
  38425. "description": "商品代码(内部)",
  38426. "type": "string"
  38427. },
  38428. "goodsid": {
  38429. "description": "商品ID",
  38430. "type": "integer"
  38431. },
  38432. "goodsname": {
  38433. "description": "商品名称",
  38434. "type": "string"
  38435. },
  38436. "marketid": {
  38437. "description": "市场ID",
  38438. "type": "integer"
  38439. },
  38440. "openfreezemargin": {
  38441. "description": "冻结保证金(冻结交易金额)",
  38442. "type": "number"
  38443. },
  38444. "orderid": {
  38445. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38446. "type": "string"
  38447. },
  38448. "orderlogincode": {
  38449. "description": "委托人",
  38450. "type": "string"
  38451. },
  38452. "orderprice": {
  38453. "description": "委托价格(账户)",
  38454. "type": "number"
  38455. },
  38456. "orderqty": {
  38457. "description": "委托数量",
  38458. "type": "integer"
  38459. },
  38460. "ordertime": {
  38461. "description": "委托时间",
  38462. "type": "string"
  38463. },
  38464. "pricemode": {
  38465. "description": "取价方式 - 1:市价 2: 限价",
  38466. "type": "integer"
  38467. },
  38468. "tradedate": {
  38469. "description": "交易日(yyyyMMdd)",
  38470. "type": "string"
  38471. },
  38472. "tradeqty": {
  38473. "description": "成交数量",
  38474. "type": "integer"
  38475. }
  38476. }
  38477. },
  38478. "models.QueryHedgeTradeDetailRsp": {
  38479. "type": "object",
  38480. "properties": {
  38481. "accountid": {
  38482. "description": "账号ID",
  38483. "type": "integer"
  38484. },
  38485. "buyorsell": {
  38486. "description": "方向 - 0:买 1:卖",
  38487. "type": "integer"
  38488. },
  38489. "channelbuildtype": {
  38490. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  38491. "type": "integer"
  38492. },
  38493. "closecharge": {
  38494. "description": "平仓手续费(账户)",
  38495. "type": "number"
  38496. },
  38497. "closecharge2": {
  38498. "description": "平仓手续费(商品)",
  38499. "type": "number"
  38500. },
  38501. "closepl": {
  38502. "description": "平仓盈亏(账户)",
  38503. "type": "number"
  38504. },
  38505. "closepl2": {
  38506. "description": "平仓盈亏(商品)",
  38507. "type": "number"
  38508. },
  38509. "closepl3": {
  38510. "description": "平仓盈亏(账户)(逐笔)",
  38511. "type": "number"
  38512. },
  38513. "closepl4": {
  38514. "description": "平仓盈亏(商品)(逐笔)",
  38515. "type": "number"
  38516. },
  38517. "closetype": {
  38518. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  38519. "type": "integer"
  38520. },
  38521. "curexchangerate": {
  38522. "description": "当前汇率",
  38523. "type": "number"
  38524. },
  38525. "decimalplace": {
  38526. "description": "商品报价小数位",
  38527. "type": "integer"
  38528. },
  38529. "exchangefullname": {
  38530. "description": "外部交易所全称",
  38531. "type": "string"
  38532. },
  38533. "goodscode": {
  38534. "description": "商品代码(内部)",
  38535. "type": "string"
  38536. },
  38537. "goodsid": {
  38538. "description": "商品ID",
  38539. "type": "integer"
  38540. },
  38541. "goodsname": {
  38542. "description": "商品名称",
  38543. "type": "string"
  38544. },
  38545. "marketid": {
  38546. "description": "市场ID",
  38547. "type": "integer"
  38548. },
  38549. "opencharge": {
  38550. "description": "建仓手续费(账户)",
  38551. "type": "number"
  38552. },
  38553. "opencharge2": {
  38554. "description": "建仓手续费(商品)",
  38555. "type": "number"
  38556. },
  38557. "orderid": {
  38558. "description": "委托单号",
  38559. "type": "string"
  38560. },
  38561. "orderlogincode": {
  38562. "description": "委托人",
  38563. "type": "string"
  38564. },
  38565. "tradeamount": {
  38566. "description": "成交金额(账户)",
  38567. "type": "number"
  38568. },
  38569. "tradedate": {
  38570. "description": "交易日(yyyyMMdd)",
  38571. "type": "string"
  38572. },
  38573. "tradeid": {
  38574. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38575. "type": "string"
  38576. },
  38577. "tradeprice": {
  38578. "description": "成交价格",
  38579. "type": "number"
  38580. },
  38581. "tradeqty": {
  38582. "description": "成交数量",
  38583. "type": "integer"
  38584. },
  38585. "tradetime": {
  38586. "description": "成交时间",
  38587. "type": "string"
  38588. },
  38589. "tradetype": {
  38590. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  38591. "type": "integer"
  38592. }
  38593. }
  38594. },
  38595. "models.QuotePrimaryMenu": {
  38596. "type": "object",
  38597. "properties": {
  38598. "Index": {
  38599. "description": "序号",
  38600. "type": "integer"
  38601. },
  38602. "Key": {
  38603. "description": "键名",
  38604. "type": "string"
  38605. },
  38606. "Name": {
  38607. "description": "菜单名称",
  38608. "type": "string"
  38609. },
  38610. "SubMenus": {
  38611. "description": "子菜单",
  38612. "type": "array",
  38613. "items": {
  38614. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  38615. }
  38616. },
  38617. "SubTitleType": {
  38618. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  38619. "type": "integer"
  38620. },
  38621. "TradeModes": {
  38622. "description": "包含市场交易类型",
  38623. "type": "string"
  38624. }
  38625. }
  38626. },
  38627. "models.QuoteSecondaryMenu": {
  38628. "type": "object",
  38629. "properties": {
  38630. "ExExchangeCode": {
  38631. "description": "外部交易所代码",
  38632. "type": "string"
  38633. },
  38634. "ExExchangeID": {
  38635. "description": "外部交易所ID",
  38636. "type": "integer"
  38637. },
  38638. "GoodsGroupIDs": {
  38639. "description": "商品组ID列表",
  38640. "type": "array",
  38641. "items": {
  38642. "type": "integer"
  38643. }
  38644. },
  38645. "Index": {
  38646. "description": "序号",
  38647. "type": "integer"
  38648. },
  38649. "MarketID": {
  38650. "description": "市场ID",
  38651. "type": "integer"
  38652. },
  38653. "MenuTitle": {
  38654. "description": "菜单标题(市场名称或外部交易所名称)",
  38655. "type": "string"
  38656. },
  38657. "TradeMode": {
  38658. "description": "交易模式",
  38659. "type": "integer"
  38660. }
  38661. }
  38662. },
  38663. "models.Reckondaytaaccount": {
  38664. "type": "object",
  38665. "required": [
  38666. "userid"
  38667. ],
  38668. "properties": {
  38669. "accountid": {
  38670. "description": "资金账户ID",
  38671. "type": "integer"
  38672. },
  38673. "accountname": {
  38674. "description": "账户名称",
  38675. "type": "string"
  38676. },
  38677. "accountpl": {
  38678. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  38679. "type": "number"
  38680. },
  38681. "avaiablemoney": {
  38682. "description": "可用资金",
  38683. "type": "number"
  38684. },
  38685. "avaiableoutmoney": {
  38686. "description": "可出资金",
  38687. "type": "number"
  38688. },
  38689. "balance": {
  38690. "description": "期初余额",
  38691. "type": "number"
  38692. },
  38693. "capitalbalance": {
  38694. "description": "本金余额[外部子账户实际出入金余额]",
  38695. "type": "number"
  38696. },
  38697. "changeflag": {
  38698. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  38699. "type": "integer"
  38700. },
  38701. "clearbalance": {
  38702. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  38703. "type": "number"
  38704. },
  38705. "clearpl": {
  38706. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  38707. "type": "number"
  38708. },
  38709. "closepl": {
  38710. "description": "今日平仓盈亏",
  38711. "type": "number"
  38712. },
  38713. "closepl2": {
  38714. "description": "平仓盈亏(逐笔)",
  38715. "type": "number"
  38716. },
  38717. "creditdecrease": {
  38718. "description": "今日授信减少",
  38719. "type": "number"
  38720. },
  38721. "creditincrease": {
  38722. "description": "今日授信增加",
  38723. "type": "number"
  38724. },
  38725. "curdebt": {
  38726. "description": "期末欠款",
  38727. "type": "number"
  38728. },
  38729. "currencyid": {
  38730. "description": "货币ID",
  38731. "type": "integer"
  38732. },
  38733. "currentbalance": {
  38734. "description": "期末余额",
  38735. "type": "number"
  38736. },
  38737. "cycletype": {
  38738. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  38739. "type": "integer"
  38740. },
  38741. "defercharge": {
  38742. "description": "今日递延费2支出[111, 112]",
  38743. "type": "number"
  38744. },
  38745. "deliveryamountin": {
  38746. "description": "今日交收货款收入",
  38747. "type": "number"
  38748. },
  38749. "deliveryamountout": {
  38750. "description": "今日交收货款支出",
  38751. "type": "number"
  38752. },
  38753. "deliverycharge": {
  38754. "description": "今日交收手续费支出 [105,106]",
  38755. "type": "number"
  38756. },
  38757. "deliverycompensationfeein": {
  38758. "description": "今日交收补偿费收入",
  38759. "type": "number"
  38760. },
  38761. "deliverycompensationfeeout": {
  38762. "description": "今日交收补偿费支出",
  38763. "type": "number"
  38764. },
  38765. "dividedcharge": {
  38766. "description": "今日已收手续费分成",
  38767. "type": "number"
  38768. },
  38769. "floatnetvalue": {
  38770. "description": "浮动净值 = 净值 + 浮动盈亏",
  38771. "type": "number"
  38772. },
  38773. "floatpl": {
  38774. "description": "浮动盈亏 - 每日有负债类商品",
  38775. "type": "number"
  38776. },
  38777. "freezecharge": {
  38778. "description": "手续费冻结",
  38779. "type": "number"
  38780. },
  38781. "freezemargin": {
  38782. "description": "冻结保证金",
  38783. "type": "number"
  38784. },
  38785. "fromaccountid": {
  38786. "description": "所属上级账户",
  38787. "type": "integer"
  38788. },
  38789. "holdcharge": {
  38790. "description": "今日持仓过夜费支出[108,109,110]",
  38791. "type": "number"
  38792. },
  38793. "inamount": {
  38794. "description": "今日入金金额",
  38795. "type": "number"
  38796. },
  38797. "interestcharge": {
  38798. "description": "今日递延费支出[103, 104]",
  38799. "type": "number"
  38800. },
  38801. "ismain": {
  38802. "description": "是否账号 0:不是母账户 1:是母账户",
  38803. "type": "integer"
  38804. },
  38805. "ismarketaccount": {
  38806. "description": "是否机构接单账号 0:不是 1:是",
  38807. "type": "integer"
  38808. },
  38809. "isreckonaccount": {
  38810. "description": "是否机构分润账号 0:不是 1:是",
  38811. "type": "integer"
  38812. },
  38813. "mortgagecredit": {
  38814. "description": "授信金额",
  38815. "type": "number"
  38816. },
  38817. "netvalue": {
  38818. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  38819. "type": "number"
  38820. },
  38821. "oridebt": {
  38822. "description": "期初欠款",
  38823. "type": "number"
  38824. },
  38825. "orifreezecharge": {
  38826. "description": "期初手续费冻结",
  38827. "type": "number"
  38828. },
  38829. "orifreezemargin": {
  38830. "description": "期初冻结保证金",
  38831. "type": "number"
  38832. },
  38833. "orimortgagecredit": {
  38834. "description": "期初授信金额",
  38835. "type": "number"
  38836. },
  38837. "oriothercredit": {
  38838. "description": "期初其它授信金额",
  38839. "type": "number"
  38840. },
  38841. "oriotherfreezemargin": {
  38842. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38843. "type": "number"
  38844. },
  38845. "orioutamountfreeze": {
  38846. "description": "期初出金冻结",
  38847. "type": "number"
  38848. },
  38849. "oriusedmargin": {
  38850. "description": "期初占用保证金",
  38851. "type": "number"
  38852. },
  38853. "othercredit": {
  38854. "description": "其它授信金额",
  38855. "type": "number"
  38856. },
  38857. "othercreditdecrease": {
  38858. "description": "今日其它授信减少",
  38859. "type": "number"
  38860. },
  38861. "othercreditincrease": {
  38862. "description": "今日其它授信增加",
  38863. "type": "number"
  38864. },
  38865. "otherfreezemargin": {
  38866. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38867. "type": "number"
  38868. },
  38869. "otherincome": {
  38870. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  38871. "type": "number"
  38872. },
  38873. "otherpay": {
  38874. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  38875. "type": "number"
  38876. },
  38877. "outamount": {
  38878. "description": "今日出金金额",
  38879. "type": "number"
  38880. },
  38881. "outamountfreeze": {
  38882. "description": "出金冻结",
  38883. "type": "number"
  38884. },
  38885. "outthreshold": {
  38886. "description": "出金阈值",
  38887. "type": "number"
  38888. },
  38889. "ownershipvalue": {
  38890. "description": "所有权市值",
  38891. "type": "number"
  38892. },
  38893. "parentaccountid": {
  38894. "description": "所属根账户",
  38895. "type": "integer"
  38896. },
  38897. "password": {
  38898. "description": "资金密码",
  38899. "type": "string"
  38900. },
  38901. "paycharge": {
  38902. "description": "今日手续费支出",
  38903. "type": "number"
  38904. },
  38905. "paycharge2": {
  38906. "description": "今日手续费支出(外部配置)",
  38907. "type": "number"
  38908. },
  38909. "payexchcharge": {
  38910. "description": "今日应付交易所手续费",
  38911. "type": "number"
  38912. },
  38913. "reckondate": {
  38914. "description": "日照日期(yyyyMMdd)",
  38915. "type": "string"
  38916. },
  38917. "reckonpl": {
  38918. "description": "今日结算盈亏",
  38919. "type": "number"
  38920. },
  38921. "reckonpl2": {
  38922. "description": "结算盈亏(逐笔) - 汇总取期末",
  38923. "type": "number"
  38924. },
  38925. "relatedaccountstatus": {
  38926. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  38927. "type": "integer"
  38928. },
  38929. "relateuserid": {
  38930. "description": "关联用户",
  38931. "type": "integer"
  38932. },
  38933. "riskrate": {
  38934. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  38935. "type": "number"
  38936. },
  38937. "signstatus": {
  38938. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  38939. "type": "integer"
  38940. },
  38941. "spotvalue": {
  38942. "description": "现货市值-统计服务更新",
  38943. "type": "number"
  38944. },
  38945. "sublevelpath": {
  38946. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  38947. "type": "string"
  38948. },
  38949. "taaccounttype": {
  38950. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  38951. "type": "integer"
  38952. },
  38953. "thirdinamount": {
  38954. "description": "今日三方入金",
  38955. "type": "number"
  38956. },
  38957. "thirdoutamount": {
  38958. "description": "今日三方出金",
  38959. "type": "number"
  38960. },
  38961. "tradeamount": {
  38962. "description": "今日成交金额",
  38963. "type": "number"
  38964. },
  38965. "tradecharge": {
  38966. "description": "今日交易手续费支出 [101,102]",
  38967. "type": "number"
  38968. },
  38969. "tradeqty": {
  38970. "description": "今日成交量",
  38971. "type": "integer"
  38972. },
  38973. "tradestatus": {
  38974. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  38975. "type": "integer"
  38976. },
  38977. "transferamount": {
  38978. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  38979. "type": "number"
  38980. },
  38981. "usedmargin": {
  38982. "description": "占用保证金",
  38983. "type": "number"
  38984. },
  38985. "userid": {
  38986. "description": "用户ID",
  38987. "type": "integer"
  38988. }
  38989. }
  38990. },
  38991. "models.Reckongzmemtradesum": {
  38992. "type": "object",
  38993. "required": [
  38994. "userid"
  38995. ],
  38996. "properties": {
  38997. "buylistingamount": {
  38998. "description": "买挂牌金额 - 无数据,预留",
  38999. "type": "number"
  39000. },
  39001. "buylistinglot": {
  39002. "description": "买挂牌宗数",
  39003. "type": "integer"
  39004. },
  39005. "buylistingqty": {
  39006. "description": "买挂牌数量 - 无数据,预留",
  39007. "type": "number"
  39008. },
  39009. "buytradeamount": {
  39010. "description": "购买金额",
  39011. "type": "number"
  39012. },
  39013. "buytradelot": {
  39014. "description": "购买宗数",
  39015. "type": "integer"
  39016. },
  39017. "buytradeqty": {
  39018. "description": "购买数量",
  39019. "type": "number"
  39020. },
  39021. "marketid": {
  39022. "description": "市场ID",
  39023. "type": "integer"
  39024. },
  39025. "reckondate": {
  39026. "description": "日照日期(yyyyMMdd)",
  39027. "type": "string"
  39028. },
  39029. "selllistingamount": {
  39030. "description": "卖挂牌金额",
  39031. "type": "number"
  39032. },
  39033. "selllistinglot": {
  39034. "description": "卖挂牌宗数",
  39035. "type": "integer"
  39036. },
  39037. "selllistingqty": {
  39038. "description": "卖挂牌数量",
  39039. "type": "number"
  39040. },
  39041. "selltradeamount": {
  39042. "description": "销售金额",
  39043. "type": "number"
  39044. },
  39045. "selltradelot": {
  39046. "description": "销售宗数",
  39047. "type": "integer"
  39048. },
  39049. "selltradeqty": {
  39050. "description": "销售数量",
  39051. "type": "number"
  39052. },
  39053. "updatetime": {
  39054. "description": "更新时间",
  39055. "type": "string"
  39056. },
  39057. "userid": {
  39058. "description": "用户ID",
  39059. "type": "integer"
  39060. },
  39061. "zscategory": {
  39062. "description": "钻石分类 - 枚举”ZSCategory“",
  39063. "type": "integer"
  39064. },
  39065. "zscategorydisplay": {
  39066. "type": "string"
  39067. },
  39068. "zscurrencytype": {
  39069. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39070. "type": "integer"
  39071. },
  39072. "zscurrencytypedisplay": {
  39073. "type": "string"
  39074. },
  39075. "zscurrencytypedisplayunit": {
  39076. "type": "string"
  39077. }
  39078. }
  39079. },
  39080. "models.RegisterMoney": {
  39081. "type": "object",
  39082. "properties": {
  39083. "amount": {
  39084. "description": "红包",
  39085. "type": "number"
  39086. }
  39087. }
  39088. },
  39089. "models.RelatedTaAccount": {
  39090. "type": "object",
  39091. "properties": {
  39092. "accountid": {
  39093. "description": "资金账户ID",
  39094. "type": "integer"
  39095. }
  39096. }
  39097. },
  39098. "models.RoleMenu": {
  39099. "type": "object",
  39100. "properties": {
  39101. "hasright": {
  39102. "description": "是否有权限 0-没有权限 1-有权限",
  39103. "type": "integer"
  39104. },
  39105. "iconame": {
  39106. "description": "菜单图标",
  39107. "type": "string"
  39108. },
  39109. "menutype": {
  39110. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  39111. "type": "integer"
  39112. },
  39113. "parentcode": {
  39114. "description": "上级资源代码",
  39115. "type": "string"
  39116. },
  39117. "remark": {
  39118. "description": "菜单备注",
  39119. "type": "string"
  39120. },
  39121. "resourcecode": {
  39122. "description": "菜单代码",
  39123. "type": "string"
  39124. },
  39125. "resourcelevel": {
  39126. "description": "级别",
  39127. "type": "integer"
  39128. },
  39129. "resourcename": {
  39130. "description": "菜单名称",
  39131. "type": "string"
  39132. },
  39133. "roleid": {
  39134. "description": "角色id",
  39135. "type": "integer"
  39136. },
  39137. "sort": {
  39138. "description": "排序",
  39139. "type": "integer"
  39140. },
  39141. "subMenu": {
  39142. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  39143. "type": "array",
  39144. "items": {
  39145. "$ref": "#/definitions/models.RoleMenu"
  39146. }
  39147. },
  39148. "url": {
  39149. "description": "URL",
  39150. "type": "string"
  39151. },
  39152. "userid": {
  39153. "description": "用户id",
  39154. "type": "integer"
  39155. }
  39156. }
  39157. },
  39158. "models.SearchGoods": {
  39159. "type": "object",
  39160. "required": [
  39161. "goodscode",
  39162. "goodsid",
  39163. "goodsname",
  39164. "marketid",
  39165. "trademode"
  39166. ],
  39167. "properties": {
  39168. "goodscode": {
  39169. "description": "商品代码(内部)",
  39170. "type": "string"
  39171. },
  39172. "goodsid": {
  39173. "description": "商品ID(自增ID SEQ_GOODS)",
  39174. "type": "integer"
  39175. },
  39176. "goodsname": {
  39177. "description": "商品名称",
  39178. "type": "string"
  39179. },
  39180. "marketid": {
  39181. "description": "所属市场ID",
  39182. "type": "integer"
  39183. },
  39184. "marketname": {
  39185. "description": "市场名称",
  39186. "type": "string"
  39187. },
  39188. "trademode": {
  39189. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39190. "type": "integer"
  39191. }
  39192. }
  39193. },
  39194. "models.SellOrder": {
  39195. "type": "object",
  39196. "properties": {
  39197. "accountid": {
  39198. "description": "资金账号",
  39199. "type": "integer"
  39200. },
  39201. "applyid": {
  39202. "description": "申请单ID",
  39203. "type": "integer"
  39204. },
  39205. "attachment1": {
  39206. "description": "附件1",
  39207. "type": "string"
  39208. },
  39209. "attachment2": {
  39210. "description": "附件2",
  39211. "type": "string"
  39212. },
  39213. "buyorsell": {
  39214. "description": "买卖 - 0:买 1:卖",
  39215. "type": "integer"
  39216. },
  39217. "canbargain": {
  39218. "description": "是否可议价 - 0:不可 1:可",
  39219. "type": "integer"
  39220. },
  39221. "cancelqty": {
  39222. "description": "撤销数量",
  39223. "type": "integer"
  39224. },
  39225. "canceltime": {
  39226. "description": "撤销时间",
  39227. "type": "string"
  39228. },
  39229. "cerno": {
  39230. "type": "string"
  39231. },
  39232. "chargealgorithm": {
  39233. "description": "手续费收取方式 1:比率 2:固定",
  39234. "type": "integer"
  39235. },
  39236. "chargealgorithmvalue": {
  39237. "description": "手续费设置值(交易所部分)",
  39238. "type": "number"
  39239. },
  39240. "chargealgorithmvalue2": {
  39241. "description": "手续费设置值(会员部分)",
  39242. "type": "number"
  39243. },
  39244. "clientordertime": {
  39245. "description": "客户端委托时间",
  39246. "type": "string"
  39247. },
  39248. "cpcertno": {
  39249. "type": "string"
  39250. },
  39251. "exchangerate": {
  39252. "description": "汇率[67]",
  39253. "type": "number"
  39254. },
  39255. "firstratio": {
  39256. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  39257. "type": "number"
  39258. },
  39259. "fixedprice": {
  39260. "description": "[克拉单价]固定价格 - [挂牌]",
  39261. "type": "number"
  39262. },
  39263. "freezecharge": {
  39264. "description": "冻结手续费",
  39265. "type": "number"
  39266. },
  39267. "freezefirstamount": {
  39268. "description": "冻结首付金额 - [摘牌]",
  39269. "type": "number"
  39270. },
  39271. "freezemargin": {
  39272. "description": "冻结保证金",
  39273. "type": "number"
  39274. },
  39275. "goodsno": {
  39276. "description": "商品编号",
  39277. "type": "string"
  39278. },
  39279. "imagepath": {
  39280. "type": "string"
  39281. },
  39282. "isQueryDiamond": {
  39283. "description": "是否钻石查询",
  39284. "type": "boolean"
  39285. },
  39286. "isspecified": {
  39287. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  39288. "type": "integer"
  39289. },
  39290. "kppath": {
  39291. "type": "string"
  39292. },
  39293. "kpweight": {
  39294. "type": "string"
  39295. },
  39296. "marginalgorithm": {
  39297. "description": "保证金方式 - 1:比率 2:固定",
  39298. "type": "integer"
  39299. },
  39300. "marginvalue": {
  39301. "description": "保证金设置值",
  39302. "type": "number"
  39303. },
  39304. "marketid": {
  39305. "description": "市场ID",
  39306. "type": "integer"
  39307. },
  39308. "marketprice": {
  39309. "type": "string"
  39310. },
  39311. "orderamount": {
  39312. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  39313. "type": "number"
  39314. },
  39315. "ordertime": {
  39316. "description": "委托时间",
  39317. "type": "string"
  39318. },
  39319. "performancetemplateid": {
  39320. "description": "履约计划模板ID",
  39321. "type": "integer"
  39322. },
  39323. "price": {
  39324. "description": "价格",
  39325. "type": "number"
  39326. },
  39327. "pricefactor": {
  39328. "description": "价格系数(浮动价时填写) - [挂牌]",
  39329. "type": "number"
  39330. },
  39331. "pricemove": {
  39332. "description": "升贴水(浮动价时填写) - [挂牌]",
  39333. "type": "number"
  39334. },
  39335. "priceper": {
  39336. "type": "string"
  39337. },
  39338. "relatedwrtradeorderid": {
  39339. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  39340. "type": "integer"
  39341. },
  39342. "remainqty": {
  39343. "description": "剩余重量",
  39344. "type": "number"
  39345. },
  39346. "remark": {
  39347. "type": "string"
  39348. },
  39349. "retcode": {
  39350. "description": "错误代码",
  39351. "type": "integer"
  39352. },
  39353. "sellusername": {
  39354. "description": "卖方(查询字段-模糊查询)",
  39355. "type": "string"
  39356. },
  39357. "settingmaterial": {
  39358. "description": "镶嵌材料",
  39359. "type": "string"
  39360. },
  39361. "size1": {
  39362. "type": "string"
  39363. },
  39364. "size2": {
  39365. "type": "string"
  39366. },
  39367. "size3": {
  39368. "type": "string"
  39369. },
  39370. "sizedisplay": {
  39371. "description": "尺寸",
  39372. "type": "string"
  39373. },
  39374. "stonedesc": {
  39375. "description": "配石描述",
  39376. "type": "string"
  39377. },
  39378. "totalqty": {
  39379. "description": "总重量",
  39380. "type": "number"
  39381. },
  39382. "tradedate": {
  39383. "description": "交易日(yyyyMMdd)",
  39384. "type": "string"
  39385. },
  39386. "tradeprice": {
  39387. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39388. "type": "number"
  39389. },
  39390. "unfreezecharge": {
  39391. "description": "解冻手续费",
  39392. "type": "number"
  39393. },
  39394. "unfreezefirstamount": {
  39395. "description": "解冻首付金额 - [摘牌]",
  39396. "type": "number"
  39397. },
  39398. "unfreezemargin": {
  39399. "description": "解冻保证金",
  39400. "type": "number"
  39401. },
  39402. "userid": {
  39403. "description": "用户ID",
  39404. "type": "integer"
  39405. },
  39406. "uuid": {
  39407. "description": "发起端唯一id",
  39408. "type": "string"
  39409. },
  39410. "validtime": {
  39411. "description": "有效期限",
  39412. "type": "string"
  39413. },
  39414. "validtype": {
  39415. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39416. "type": "integer"
  39417. },
  39418. "warehousenamedisplay": {
  39419. "type": "string"
  39420. },
  39421. "wrbargainid": {
  39422. "description": "议价申请单ID",
  39423. "type": "integer"
  39424. },
  39425. "wrfactortypeid": {
  39426. "description": "仓单要素类型ID/商品ID(77)",
  39427. "type": "integer"
  39428. },
  39429. "wrpath": {
  39430. "type": "string"
  39431. },
  39432. "wrpricetype": {
  39433. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39434. "type": "integer"
  39435. },
  39436. "wrstandardid": {
  39437. "description": "现货商品ID",
  39438. "type": "integer"
  39439. },
  39440. "wrtradeorderid": {
  39441. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39442. "type": "string"
  39443. },
  39444. "wrtradeorderstatus": {
  39445. "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:撤单解冻贷款失败",
  39446. "type": "integer"
  39447. },
  39448. "wrtradetype": {
  39449. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39450. "type": "integer"
  39451. },
  39452. "wrtransferuserid": {
  39453. "description": "仓单受让用户 - [摘牌]",
  39454. "type": "integer"
  39455. },
  39456. "zscategory": {
  39457. "description": "钻石分类 - 枚举”ZSCategory“",
  39458. "type": "integer"
  39459. },
  39460. "zscategorydisplay": {
  39461. "description": "钻石分类 - 描述",
  39462. "type": "string"
  39463. },
  39464. "zscerttypedisplay": {
  39465. "type": "string"
  39466. },
  39467. "zsclaritytype1display": {
  39468. "type": "string"
  39469. },
  39470. "zsclaritytype2display": {
  39471. "type": "string"
  39472. },
  39473. "zscolortype1display": {
  39474. "type": "string"
  39475. },
  39476. "zscolortype2display": {
  39477. "type": "string"
  39478. },
  39479. "zscrystaltype": {
  39480. "type": "string"
  39481. },
  39482. "zscrystaltypedisplay": {
  39483. "type": "string"
  39484. },
  39485. "zscurrencytype": {
  39486. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39487. "type": "integer"
  39488. },
  39489. "zscurrencytypedisplay": {
  39490. "type": "string"
  39491. },
  39492. "zscurrencytypedisplayunit": {
  39493. "type": "string"
  39494. },
  39495. "zscuttype1display": {
  39496. "type": "string"
  39497. },
  39498. "zscuttype2display": {
  39499. "type": "string"
  39500. },
  39501. "zsczcolor1typedisplay": {
  39502. "type": "string"
  39503. },
  39504. "zsczcolor2typedisplay": {
  39505. "type": "string"
  39506. },
  39507. "zsczcolor3typedisplay": {
  39508. "type": "string"
  39509. },
  39510. "zsfluorescencetype1display": {
  39511. "type": "string"
  39512. },
  39513. "zsfluorescencetype2display": {
  39514. "type": "string"
  39515. },
  39516. "zspolishtype1display": {
  39517. "type": "string"
  39518. },
  39519. "zspolishtype2display": {
  39520. "type": "string"
  39521. },
  39522. "zsshapetypedisplay": {
  39523. "type": "string"
  39524. },
  39525. "zsstyletypedisplay": {
  39526. "type": "string"
  39527. },
  39528. "zssymmetrytype1display": {
  39529. "type": "string"
  39530. },
  39531. "zssymmetrytype2display": {
  39532. "type": "string"
  39533. }
  39534. }
  39535. },
  39536. "models.SellOrderQueryReq": {
  39537. "type": "object",
  39538. "required": [
  39539. "zscategory"
  39540. ],
  39541. "properties": {
  39542. "origin": {
  39543. "description": "原产地",
  39544. "type": "string"
  39545. },
  39546. "page": {
  39547. "description": "页码",
  39548. "type": "integer"
  39549. },
  39550. "pagesize": {
  39551. "description": "每页大小",
  39552. "type": "integer"
  39553. },
  39554. "total": {
  39555. "description": "总条数",
  39556. "type": "integer"
  39557. },
  39558. "warehouseid": {
  39559. "description": "仓库ID",
  39560. "type": "integer"
  39561. },
  39562. "weight1": {
  39563. "description": "总重量(克拉重量)-从",
  39564. "type": "number"
  39565. },
  39566. "weight2": {
  39567. "description": "总重量(克拉重量)-至",
  39568. "type": "number"
  39569. },
  39570. "weightavg1": {
  39571. "description": "平均单颗重量-从",
  39572. "type": "number"
  39573. },
  39574. "weightavg2": {
  39575. "description": "平均单颗重量-至",
  39576. "type": "number"
  39577. },
  39578. "zscategory": {
  39579. "description": "钻石分类 - 枚举”ZSCategory“",
  39580. "type": "integer"
  39581. },
  39582. "zscerttype": {
  39583. "description": "证书类型",
  39584. "type": "array",
  39585. "items": {
  39586. "type": "string"
  39587. }
  39588. },
  39589. "zsclaritytype": {
  39590. "description": "净度",
  39591. "type": "array",
  39592. "items": {
  39593. "type": "integer"
  39594. }
  39595. },
  39596. "zscolortype": {
  39597. "description": "颜色",
  39598. "type": "array",
  39599. "items": {
  39600. "type": "integer"
  39601. }
  39602. },
  39603. "zscurrencytype": {
  39604. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39605. "type": "array",
  39606. "items": {
  39607. "type": "string"
  39608. }
  39609. },
  39610. "zscuttype": {
  39611. "description": "切工",
  39612. "type": "array",
  39613. "items": {
  39614. "type": "integer"
  39615. }
  39616. },
  39617. "zsczcolor1type": {
  39618. "description": "彩钻颜色1",
  39619. "type": "array",
  39620. "items": {
  39621. "type": "string"
  39622. }
  39623. },
  39624. "zsfluorescencetype": {
  39625. "description": "荧光",
  39626. "type": "array",
  39627. "items": {
  39628. "type": "integer"
  39629. }
  39630. },
  39631. "zspolishtype": {
  39632. "description": "抛光度",
  39633. "type": "array",
  39634. "items": {
  39635. "type": "integer"
  39636. }
  39637. },
  39638. "zsshapetype": {
  39639. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  39640. "type": "array",
  39641. "items": {
  39642. "type": "string"
  39643. }
  39644. },
  39645. "zsstyletype": {
  39646. "description": "款式",
  39647. "type": "array",
  39648. "items": {
  39649. "type": "string"
  39650. }
  39651. },
  39652. "zssymmetrytype": {
  39653. "description": "对称度",
  39654. "type": "array",
  39655. "items": {
  39656. "type": "integer"
  39657. }
  39658. }
  39659. }
  39660. },
  39661. "models.Systemparam": {
  39662. "type": "object",
  39663. "required": [
  39664. "paramcode"
  39665. ],
  39666. "properties": {
  39667. "loginid": {
  39668. "description": "更新用户账号,登录账号",
  39669. "type": "string"
  39670. },
  39671. "modifyflag": {
  39672. "description": "修改标志0 不允许修改 1 允许修改",
  39673. "type": "integer"
  39674. },
  39675. "paramcode": {
  39676. "description": "参数代码",
  39677. "type": "string"
  39678. },
  39679. "paramname": {
  39680. "description": "参数名",
  39681. "type": "string"
  39682. },
  39683. "paramtype": {
  39684. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  39685. "type": "integer"
  39686. },
  39687. "paramvalue": {
  39688. "description": "参数值",
  39689. "type": "string"
  39690. },
  39691. "paramvalue2": {
  39692. "description": "参数值(CLOB)",
  39693. "type": "string"
  39694. },
  39695. "regexpress": {
  39696. "description": "正则表达式",
  39697. "type": "string"
  39698. },
  39699. "remark": {
  39700. "description": "备注",
  39701. "type": "string"
  39702. },
  39703. "serverip": {
  39704. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  39705. "type": "string"
  39706. },
  39707. "showflag": {
  39708. "description": "是否显示0 不显示 1 显示",
  39709. "type": "integer"
  39710. },
  39711. "updatetime": {
  39712. "description": "更新时间",
  39713. "type": "string"
  39714. },
  39715. "userid": {
  39716. "description": "更新用户ID",
  39717. "type": "integer"
  39718. }
  39719. }
  39720. },
  39721. "models.Szdz3convertconfig": {
  39722. "type": "object",
  39723. "required": [
  39724. "converttype",
  39725. "innergoodsid",
  39726. "outergoodscode"
  39727. ],
  39728. "properties": {
  39729. "canin": {
  39730. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  39731. "type": "integer"
  39732. },
  39733. "canout": {
  39734. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  39735. "type": "integer"
  39736. },
  39737. "converttype": {
  39738. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  39739. "type": "integer"
  39740. },
  39741. "createtime": {
  39742. "description": "创建时间",
  39743. "type": "string"
  39744. },
  39745. "creatorid": {
  39746. "description": "创建人",
  39747. "type": "integer"
  39748. },
  39749. "daymaxvalue": {
  39750. "description": "当日最大转入限制",
  39751. "type": "number"
  39752. },
  39753. "freezedays": {
  39754. "description": "冻结天数 [5:花生米转交易]",
  39755. "type": "integer"
  39756. },
  39757. "innergoodsid": {
  39758. "description": "内部商品ID[交易]",
  39759. "type": "integer"
  39760. },
  39761. "inratio": {
  39762. "description": "目标值",
  39763. "type": "integer"
  39764. },
  39765. "modifierid": {
  39766. "description": "修改人",
  39767. "type": "integer"
  39768. },
  39769. "modifytime": {
  39770. "description": "修改时间",
  39771. "type": "string"
  39772. },
  39773. "outergoodscode": {
  39774. "description": "外部商品代码[JD\\PD]",
  39775. "type": "string"
  39776. },
  39777. "outratio": {
  39778. "description": "源值",
  39779. "type": "integer"
  39780. },
  39781. "pddecimalplace": {
  39782. "description": "PD小数位",
  39783. "type": "integer"
  39784. },
  39785. "timemaxvalue": {
  39786. "description": "单次最大转入限制",
  39787. "type": "number"
  39788. },
  39789. "timeminvalue": {
  39790. "description": "单次最小转入限制",
  39791. "type": "number"
  39792. }
  39793. }
  39794. },
  39795. "models.Szdz3searchwhitelist": {
  39796. "type": "object",
  39797. "required": [
  39798. "userid"
  39799. ],
  39800. "properties": {
  39801. "createtime": {
  39802. "description": "创建时间",
  39803. "type": "string"
  39804. },
  39805. "creatorid": {
  39806. "description": "创建人",
  39807. "type": "integer"
  39808. },
  39809. "modifierid": {
  39810. "description": "修改人",
  39811. "type": "integer"
  39812. },
  39813. "modifytime": {
  39814. "description": "修改时间",
  39815. "type": "string"
  39816. },
  39817. "userid": {
  39818. "description": "用户ID",
  39819. "type": "integer"
  39820. }
  39821. }
  39822. },
  39823. "models.TBGoods": {
  39824. "type": "object",
  39825. "properties": {
  39826. "agreeunit": {
  39827. "description": "合约乘数",
  39828. "type": "number"
  39829. },
  39830. "enumdicname": {
  39831. "description": "单位名称",
  39832. "type": "string"
  39833. },
  39834. "goodscode": {
  39835. "description": "商品代码(内部)",
  39836. "type": "string"
  39837. },
  39838. "goodsid": {
  39839. "description": "商品ID(自增ID SEQ_GOODS)",
  39840. "type": "integer"
  39841. },
  39842. "goodsname": {
  39843. "description": "商品名称",
  39844. "type": "string"
  39845. }
  39846. }
  39847. },
  39848. "models.TBGoodsGroup": {
  39849. "type": "object",
  39850. "properties": {
  39851. "GDLST": {
  39852. "description": "商品列表",
  39853. "type": "array",
  39854. "items": {
  39855. "$ref": "#/definitions/models.TBGoods"
  39856. }
  39857. },
  39858. "convertratio": {
  39859. "description": "折算系数",
  39860. "type": "number"
  39861. },
  39862. "enumdicname": {
  39863. "description": "单位名称",
  39864. "type": "string"
  39865. },
  39866. "exexchangecode": {
  39867. "description": "交易所代码",
  39868. "type": "string"
  39869. },
  39870. "exexchangename": {
  39871. "description": "交易所名称",
  39872. "type": "string"
  39873. },
  39874. "goodsgroupid": {
  39875. "description": "商品组ID(自增ID)",
  39876. "type": "integer"
  39877. },
  39878. "goodsgroupname": {
  39879. "description": "商品组名称",
  39880. "type": "string"
  39881. },
  39882. "goodunitid": {
  39883. "description": "报价单位ID",
  39884. "type": "integer"
  39885. }
  39886. }
  39887. },
  39888. "models.TBMiddleGoods": {
  39889. "type": "object",
  39890. "properties": {
  39891. "GPLST": {
  39892. "description": "期货品种列表",
  39893. "type": "array",
  39894. "items": {
  39895. "$ref": "#/definitions/models.TBGoodsGroup"
  39896. }
  39897. },
  39898. "WDLST": {
  39899. "description": "商品信息列表(现货品类)",
  39900. "type": "array",
  39901. "items": {
  39902. "$ref": "#/definitions/models.TBWrstandard"
  39903. }
  39904. },
  39905. "areauserid": {
  39906. "description": "机构用户ID",
  39907. "type": "integer"
  39908. },
  39909. "enumdicname": {
  39910. "description": "单位名称",
  39911. "type": "string"
  39912. },
  39913. "goodsunitid": {
  39914. "description": "套保品种单位id",
  39915. "type": "integer"
  39916. },
  39917. "middlegoodscode": {
  39918. "description": "套保品种代码",
  39919. "type": "string"
  39920. },
  39921. "middlegoodsid": {
  39922. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  39923. "type": "integer"
  39924. },
  39925. "middlegoodsname": {
  39926. "description": "套保品种名称",
  39927. "type": "string"
  39928. },
  39929. "needarbitrageratio": {
  39930. "description": "套利比率",
  39931. "type": "number"
  39932. },
  39933. "needhedgeratio": {
  39934. "description": "套保比率",
  39935. "type": "number"
  39936. }
  39937. }
  39938. },
  39939. "models.TBWrstandard": {
  39940. "type": "object",
  39941. "properties": {
  39942. "convertratio": {
  39943. "description": "折算系数",
  39944. "type": "number"
  39945. },
  39946. "deliverygoodsname": {
  39947. "description": "品种名称",
  39948. "type": "string"
  39949. },
  39950. "enumdicname": {
  39951. "description": "单位名称",
  39952. "type": "string"
  39953. },
  39954. "vatrate": {
  39955. "description": "增值税率",
  39956. "type": "number"
  39957. },
  39958. "wrstandardcode": {
  39959. "description": "现货商品代码",
  39960. "type": "string"
  39961. },
  39962. "wrstandardid": {
  39963. "description": "现货商品ID(SEQ_WRSTANDARD)",
  39964. "type": "integer"
  39965. },
  39966. "wrstandardname": {
  39967. "description": "现货商品名称",
  39968. "type": "string"
  39969. }
  39970. }
  39971. },
  39972. "models.THJDeliveryMode": {
  39973. "type": "object",
  39974. "properties": {
  39975. "enumdicname": {
  39976. "description": "枚举项名称",
  39977. "type": "string"
  39978. },
  39979. "enumitemname": {
  39980. "description": "枚举项值",
  39981. "type": "integer"
  39982. }
  39983. }
  39984. },
  39985. "models.THJDeliveryMonth": {
  39986. "type": "object",
  39987. "properties": {
  39988. "enddate": {
  39989. "description": "预售结束日期(yyyy-mm-dd)",
  39990. "type": "string"
  39991. },
  39992. "endmonth": {
  39993. "description": "预售结束月份(yyyy-mm)",
  39994. "type": "string"
  39995. },
  39996. "orderqty": {
  39997. "description": "委托数量",
  39998. "type": "integer"
  39999. },
  40000. "presaleapplyid": {
  40001. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40002. "type": "string"
  40003. },
  40004. "remainqty": {
  40005. "description": "可用数量",
  40006. "type": "integer"
  40007. },
  40008. "tradeqty": {
  40009. "description": "成交数量",
  40010. "type": "integer"
  40011. },
  40012. "unitprice": {
  40013. "description": "[参考价]商品单价",
  40014. "type": "number"
  40015. }
  40016. }
  40017. },
  40018. "models.THJGoodsDetailRsp": {
  40019. "type": "object",
  40020. "properties": {
  40021. "goodsinfo": {
  40022. "description": "商品信息",
  40023. "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
  40024. },
  40025. "spotgoodspricelogs": {
  40026. "description": "历史价格走势",
  40027. "type": "array",
  40028. "items": {
  40029. "$ref": "#/definitions/models.THJSpotGoodsPriceLog"
  40030. }
  40031. }
  40032. }
  40033. },
  40034. "models.THJPresaleApplyDeposit": {
  40035. "type": "object",
  40036. "properties": {
  40037. "depositid": {
  40038. "description": "自增ID autoid",
  40039. "type": "integer"
  40040. },
  40041. "depositrate": {
  40042. "description": "定金比例",
  40043. "type": "number"
  40044. },
  40045. "discountamount": {
  40046. "description": "优惠金额(每吨)",
  40047. "type": "number"
  40048. },
  40049. "presaleapplyid": {
  40050. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40051. "type": "string"
  40052. }
  40053. }
  40054. },
  40055. "models.THJProduct": {
  40056. "type": "object",
  40057. "properties": {
  40058. "bannerpicurl": {
  40059. "description": "Banner图(逗号分隔)",
  40060. "type": "string"
  40061. },
  40062. "pictureurls": {
  40063. "description": "详情图片(逗号分隔)",
  40064. "type": "string"
  40065. },
  40066. "wrstandardcode": {
  40067. "description": "现货商品代码",
  40068. "type": "string"
  40069. },
  40070. "wrstandardid": {
  40071. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40072. "type": "string"
  40073. },
  40074. "wrstandardname": {
  40075. "description": "现货商品名称",
  40076. "type": "string"
  40077. }
  40078. }
  40079. },
  40080. "models.THJSigninReq": {
  40081. "type": "object",
  40082. "required": [
  40083. "userid"
  40084. ],
  40085. "properties": {
  40086. "userid": {
  40087. "description": "用户ID",
  40088. "type": "integer"
  40089. }
  40090. }
  40091. },
  40092. "models.THJSigninRsp": {
  40093. "type": "object",
  40094. "properties": {
  40095. "signinstatus": {
  40096. "description": "状态操作标志 1-签到成功 2-当日已签到,不能重复签到",
  40097. "type": "integer"
  40098. }
  40099. }
  40100. },
  40101. "models.THJSpotGoodsPriceLog": {
  40102. "type": "object",
  40103. "properties": {
  40104. "spotgoodsprice": {
  40105. "description": "现货价格",
  40106. "type": "number"
  40107. },
  40108. "tradedate": {
  40109. "description": "交易日(yyyyMMdd)",
  40110. "type": "string"
  40111. }
  40112. }
  40113. },
  40114. "models.THJTradeData": {
  40115. "type": "object",
  40116. "required": [
  40117. "marketid",
  40118. "userid"
  40119. ],
  40120. "properties": {
  40121. "accountname": {
  40122. "description": "被推荐人",
  40123. "type": "string"
  40124. },
  40125. "buytradelot": {
  40126. "description": "购买笔数",
  40127. "type": "integer"
  40128. },
  40129. "buytradeqty": {
  40130. "description": "购买数量",
  40131. "type": "number"
  40132. },
  40133. "marketid": {
  40134. "description": "市场ID 采购-64201 供求-65201",
  40135. "type": "integer"
  40136. },
  40137. "reckondate": {
  40138. "description": "日照日期(yyyyMMdd)日照日期(yyyyMMdd)",
  40139. "type": "string"
  40140. },
  40141. "selltradelot": {
  40142. "description": "销售笔数",
  40143. "type": "integer"
  40144. },
  40145. "selltradeqty": {
  40146. "description": "销售数量",
  40147. "type": "number"
  40148. },
  40149. "userid": {
  40150. "description": "用户ID",
  40151. "type": "integer"
  40152. },
  40153. "wrstandardname": {
  40154. "description": "现货商品名称",
  40155. "type": "string"
  40156. }
  40157. }
  40158. },
  40159. "models.THJWrstandard": {
  40160. "type": "object",
  40161. "properties": {
  40162. "thumurls": {
  40163. "description": "缩略图片(1:1)(逗号分隔)",
  40164. "type": "string"
  40165. },
  40166. "wrstandardcode": {
  40167. "description": "现货商品代码",
  40168. "type": "string"
  40169. },
  40170. "wrstandardid": {
  40171. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40172. "type": "integer"
  40173. },
  40174. "wrstandardname": {
  40175. "description": "现货商品名称(模糊查询)",
  40176. "type": "string"
  40177. }
  40178. }
  40179. },
  40180. "models.THJWrstandardDetailRsp": {
  40181. "type": "object",
  40182. "properties": {
  40183. "deliverymodes": {
  40184. "description": "交割方式",
  40185. "type": "array",
  40186. "items": {
  40187. "$ref": "#/definitions/models.THJDeliveryMode"
  40188. }
  40189. },
  40190. "deliverymonth": {
  40191. "description": "交割月份",
  40192. "type": "array",
  40193. "items": {
  40194. "$ref": "#/definitions/models.THJDeliveryMonth"
  40195. }
  40196. },
  40197. "goodsinfo": {
  40198. "description": "商品信息",
  40199. "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
  40200. },
  40201. "presaleapplydeposits": {
  40202. "description": "支付方式",
  40203. "type": "array",
  40204. "items": {
  40205. "$ref": "#/definitions/models.THJPresaleApplyDeposit"
  40206. }
  40207. },
  40208. "spotgoodspricelogs": {
  40209. "description": "历史价格走势",
  40210. "type": "array",
  40211. "items": {
  40212. "$ref": "#/definitions/models.THJSpotGoodsPriceLog"
  40213. }
  40214. }
  40215. }
  40216. },
  40217. "models.THJWrstandardDetail_GoodsInfo": {
  40218. "type": "object",
  40219. "properties": {
  40220. "pictureurls": {
  40221. "description": "详情图片(逗号分隔)",
  40222. "type": "string"
  40223. },
  40224. "spotgoodsprice": {
  40225. "description": "现货价格",
  40226. "type": "number"
  40227. },
  40228. "unitid": {
  40229. "description": "现货商品单位ID",
  40230. "type": "integer"
  40231. },
  40232. "wrstandardcode": {
  40233. "description": "现货商品代码",
  40234. "type": "string"
  40235. },
  40236. "wrstandardid": {
  40237. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40238. "type": "integer"
  40239. },
  40240. "wrstandardname": {
  40241. "description": "现货商品名称",
  40242. "type": "string"
  40243. }
  40244. }
  40245. },
  40246. "models.Taaccount": {
  40247. "type": "object",
  40248. "required": [
  40249. "accountid",
  40250. "userid"
  40251. ],
  40252. "properties": {
  40253. "accountflag": {
  40254. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  40255. "type": "integer"
  40256. },
  40257. "accountid": {
  40258. "description": "资金账户ID",
  40259. "type": "integer"
  40260. },
  40261. "accountname": {
  40262. "description": "账户名称",
  40263. "type": "string"
  40264. },
  40265. "balance": {
  40266. "description": "期初余额",
  40267. "type": "number"
  40268. },
  40269. "capitalbalance": {
  40270. "description": "本金余额[外部子账户实际出入金余额]",
  40271. "type": "number"
  40272. },
  40273. "changeflag": {
  40274. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  40275. "type": "integer"
  40276. },
  40277. "changetime": {
  40278. "description": "账户状态变更时间",
  40279. "type": "string"
  40280. },
  40281. "closepl": {
  40282. "description": "今日平仓盈亏",
  40283. "type": "number"
  40284. },
  40285. "creditdecrease": {
  40286. "description": "今日授信减少",
  40287. "type": "number"
  40288. },
  40289. "creditincrease": {
  40290. "description": "今日授信增加",
  40291. "type": "number"
  40292. },
  40293. "curamount": {
  40294. "description": "总市值(从持仓中统计)",
  40295. "type": "number"
  40296. },
  40297. "currencyid": {
  40298. "description": "货币ID",
  40299. "type": "integer"
  40300. },
  40301. "currentbalance": {
  40302. "description": "期末余额",
  40303. "type": "number"
  40304. },
  40305. "freezecharge": {
  40306. "description": "手续费冻结",
  40307. "type": "number"
  40308. },
  40309. "freezemargin": {
  40310. "description": "冻结保证金",
  40311. "type": "number"
  40312. },
  40313. "fromaccountid": {
  40314. "description": "所属上级账户",
  40315. "type": "integer"
  40316. },
  40317. "inamount": {
  40318. "description": "今日入金金额(包括三方入金)",
  40319. "type": "number"
  40320. },
  40321. "ismain": {
  40322. "description": "是否母账号 0:不是母账户 1:是母账户",
  40323. "type": "integer"
  40324. },
  40325. "ismarketaccount": {
  40326. "description": "是否机构接单账号 0:不是 1:是",
  40327. "type": "integer"
  40328. },
  40329. "isreckonaccount": {
  40330. "description": "是否机构分润账号 0:不是 1:是",
  40331. "type": "integer"
  40332. },
  40333. "mortgagecredit": {
  40334. "description": "授信金额",
  40335. "type": "number"
  40336. },
  40337. "orifreezecharge": {
  40338. "description": "期初手续费冻结",
  40339. "type": "number"
  40340. },
  40341. "orifreezemargin": {
  40342. "description": "期初冻结保证金",
  40343. "type": "number"
  40344. },
  40345. "orimortgagecredit": {
  40346. "description": "期初授信金额",
  40347. "type": "number"
  40348. },
  40349. "oriothercredit": {
  40350. "description": "期初其它授信金额",
  40351. "type": "number"
  40352. },
  40353. "oriotherfreezemargin": {
  40354. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  40355. "type": "number"
  40356. },
  40357. "orioutamountfreeze": {
  40358. "description": "期初出金冻结",
  40359. "type": "number"
  40360. },
  40361. "oriusedmargin": {
  40362. "description": "期初占用保证金",
  40363. "type": "number"
  40364. },
  40365. "othercredit": {
  40366. "description": "其它授信金额",
  40367. "type": "number"
  40368. },
  40369. "othercreditdecrease": {
  40370. "description": "今日其它授信减少",
  40371. "type": "number"
  40372. },
  40373. "othercreditincrease": {
  40374. "description": "今日其它授信增加",
  40375. "type": "number"
  40376. },
  40377. "otherfreezemargin": {
  40378. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  40379. "type": "number"
  40380. },
  40381. "otherincome": {
  40382. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  40383. "type": "number"
  40384. },
  40385. "otherpay": {
  40386. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  40387. "type": "number"
  40388. },
  40389. "outamount": {
  40390. "description": "今日出金金额(包括三方出金)",
  40391. "type": "number"
  40392. },
  40393. "outamountfreeze": {
  40394. "description": "出金冻结",
  40395. "type": "number"
  40396. },
  40397. "outthreshold": {
  40398. "description": "出金阈值",
  40399. "type": "number"
  40400. },
  40401. "parentaccountid": {
  40402. "description": "所属根账号",
  40403. "type": "integer"
  40404. },
  40405. "paycharge": {
  40406. "description": "今日手续费支出",
  40407. "type": "number"
  40408. },
  40409. "relatedaccountstatus": {
  40410. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  40411. "type": "integer"
  40412. },
  40413. "relateduserid": {
  40414. "description": "关联用户",
  40415. "type": "integer"
  40416. },
  40417. "remainamount": {
  40418. "description": "融资额(从融资合同中统计)",
  40419. "type": "number"
  40420. },
  40421. "serivcegroup": {
  40422. "description": "服务分组",
  40423. "type": "integer"
  40424. },
  40425. "signstatus": {
  40426. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  40427. "type": "integer"
  40428. },
  40429. "sublevelpath": {
  40430. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  40431. "type": "string"
  40432. },
  40433. "taaccounttype": {
  40434. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  40435. "type": "integer"
  40436. },
  40437. "thirdinamount": {
  40438. "description": "今日三方入金",
  40439. "type": "number"
  40440. },
  40441. "thirdoutamount": {
  40442. "description": "今日三方出金",
  40443. "type": "number"
  40444. },
  40445. "tradestatus": {
  40446. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  40447. "type": "integer"
  40448. },
  40449. "tradestatuschangetime": {
  40450. "description": "激活时间",
  40451. "type": "string"
  40452. },
  40453. "transferamount": {
  40454. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  40455. "type": "number"
  40456. },
  40457. "usedmargin": {
  40458. "description": "占用保证金",
  40459. "type": "number"
  40460. },
  40461. "userid": {
  40462. "description": "用户ID",
  40463. "type": "integer"
  40464. }
  40465. }
  40466. },
  40467. "models.Tablecolumnconfig": {
  40468. "type": "object",
  40469. "required": [
  40470. "autoid"
  40471. ],
  40472. "properties": {
  40473. "aligntype": {
  40474. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  40475. "type": "integer"
  40476. },
  40477. "autoid": {
  40478. "description": "AutoID",
  40479. "type": "integer"
  40480. },
  40481. "columnfield": {
  40482. "description": "列字段",
  40483. "type": "string"
  40484. },
  40485. "columntitle": {
  40486. "description": "列Title",
  40487. "type": "string"
  40488. },
  40489. "columnwidth": {
  40490. "description": "列宽",
  40491. "type": "string"
  40492. },
  40493. "fixed": {
  40494. "description": "固定类型 - 空 | left | right",
  40495. "type": "string"
  40496. },
  40497. "formatterstring": {
  40498. "description": "格式化字符",
  40499. "type": "string"
  40500. },
  40501. "formattertype": {
  40502. "description": "格式化类型",
  40503. "type": "string"
  40504. },
  40505. "groupname": {
  40506. "description": "表头分组名称",
  40507. "type": "string"
  40508. },
  40509. "ismerge": {
  40510. "description": "是否合并显示 - 0:不合并 1:合并",
  40511. "type": "integer"
  40512. },
  40513. "isshow": {
  40514. "description": "是否显示 - 0:不显示 1:显示",
  40515. "type": "integer"
  40516. },
  40517. "needsummary": {
  40518. "description": "是否需要汇总 - 0:不需要 1:需要",
  40519. "type": "integer"
  40520. },
  40521. "orderindex": {
  40522. "description": "顺序",
  40523. "type": "integer"
  40524. },
  40525. "remark": {
  40526. "description": "备注",
  40527. "type": "string"
  40528. },
  40529. "summarytype": {
  40530. "description": "汇总类型 - 1:加总 2:最后一个",
  40531. "type": "integer"
  40532. },
  40533. "tablekey": {
  40534. "description": "列表Key",
  40535. "type": "string"
  40536. }
  40537. }
  40538. },
  40539. "models.Thjpurchasetradedetail": {
  40540. "type": "object",
  40541. "required": [
  40542. "buyuserid"
  40543. ],
  40544. "properties": {
  40545. "buyaccountid": {
  40546. "description": "买方账号ID",
  40547. "type": "integer"
  40548. },
  40549. "buychargevalue": {
  40550. "description": "买方到期手续费",
  40551. "type": "number"
  40552. },
  40553. "buyconfirmremark": {
  40554. "description": "买方确认备注",
  40555. "type": "string"
  40556. },
  40557. "buyconfirmtime": {
  40558. "description": "买方确认时间",
  40559. "type": "string"
  40560. },
  40561. "buyfreezecharge": {
  40562. "description": "买方摘牌冻结手续费",
  40563. "type": "number"
  40564. },
  40565. "buyuserid": {
  40566. "description": "买方用户ID",
  40567. "type": "integer"
  40568. },
  40569. "contactinfo": {
  40570. "description": "联系方式",
  40571. "type": "string"
  40572. },
  40573. "contactname": {
  40574. "description": "联系人姓名",
  40575. "type": "string"
  40576. },
  40577. "contractaddrbuy": {
  40578. "description": "贸易合同地址(买家)",
  40579. "type": "string"
  40580. },
  40581. "contractaddrsell": {
  40582. "description": "贸易合同地址(卖家)",
  40583. "type": "string"
  40584. },
  40585. "deliverygoodsid": {
  40586. "description": "现货品种ID",
  40587. "type": "integer"
  40588. },
  40589. "depositrate": {
  40590. "description": "定金比例",
  40591. "type": "number"
  40592. },
  40593. "desaddress": {
  40594. "description": "目的地地址",
  40595. "type": "string"
  40596. },
  40597. "discountamount": {
  40598. "description": "优惠总金额(优惠金额*TradeQty)",
  40599. "type": "number"
  40600. },
  40601. "handlestatus": {
  40602. "description": "处理状态",
  40603. "type": "integer"
  40604. },
  40605. "lastamount": {
  40606. "description": "到期总货款 = 到期价格 * 摘牌数量",
  40607. "type": "number"
  40608. },
  40609. "lastprice": {
  40610. "description": "[实际价]到期价格",
  40611. "type": "number"
  40612. },
  40613. "lastpricedate": {
  40614. "description": "到期价格日期 - 暂不使用",
  40615. "type": "string"
  40616. },
  40617. "marketid": {
  40618. "description": "市场ID",
  40619. "type": "integer"
  40620. },
  40621. "orderstatus": {
  40622. "description": "单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认 (枚举:THJOrderStatus)",
  40623. "type": "integer"
  40624. },
  40625. "payeddeposit": {
  40626. "description": "[定金]买方已付定金",
  40627. "type": "number"
  40628. },
  40629. "payedtradedate": {
  40630. "description": "支付尾款成功交易日",
  40631. "type": "string"
  40632. },
  40633. "presaleapplyid": {
  40634. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40635. "type": "integer"
  40636. },
  40637. "receiptinfo": {
  40638. "description": "发票信息",
  40639. "type": "string"
  40640. },
  40641. "remainamount": {
  40642. "description": "[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额",
  40643. "type": "number"
  40644. },
  40645. "sellaccountid": {
  40646. "description": "卖方账号ID",
  40647. "type": "integer"
  40648. },
  40649. "sellchargevalue": {
  40650. "description": "卖方到期手续费",
  40651. "type": "number"
  40652. },
  40653. "sellconfirmattach": {
  40654. "description": "卖方确认附件",
  40655. "type": "string"
  40656. },
  40657. "sellconfirmremark": {
  40658. "description": "卖方确认备注",
  40659. "type": "string"
  40660. },
  40661. "sellconfirmtime": {
  40662. "description": "卖方确认时间",
  40663. "type": "string"
  40664. },
  40665. "sellconfirmtradedate": {
  40666. "description": "卖方确认交易日",
  40667. "type": "string"
  40668. },
  40669. "selluserid": {
  40670. "description": "卖方用户ID",
  40671. "type": "integer"
  40672. },
  40673. "thjdeliverymode": {
  40674. "description": "交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)",
  40675. "type": "integer"
  40676. },
  40677. "thjdeliverymodedisplay": {
  40678. "description": "提货方式",
  40679. "type": "string"
  40680. },
  40681. "thjorderstatusdisplay": {
  40682. "description": "状态",
  40683. "type": "string"
  40684. },
  40685. "tradeamount": {
  40686. "description": "摘牌总货款",
  40687. "type": "number"
  40688. },
  40689. "tradedate": {
  40690. "description": "交易日(yyyyMMdd)",
  40691. "type": "string"
  40692. },
  40693. "tradeprice": {
  40694. "description": "摘牌价格",
  40695. "type": "number"
  40696. },
  40697. "tradeqty": {
  40698. "description": "[预售价]摘牌数量",
  40699. "type": "integer"
  40700. },
  40701. "tradetime": {
  40702. "description": "摘牌时间",
  40703. "type": "string"
  40704. },
  40705. "warehouseid": {
  40706. "description": "仓库ID",
  40707. "type": "integer"
  40708. },
  40709. "warehousename": {
  40710. "description": "仓库名称",
  40711. "type": "string"
  40712. },
  40713. "wrfactortypeid": {
  40714. "description": "仓单要素类型ID",
  40715. "type": "integer"
  40716. },
  40717. "wrstandardid": {
  40718. "description": "现货商品ID",
  40719. "type": "integer"
  40720. },
  40721. "wrstandardname": {
  40722. "description": "现货商品名称",
  40723. "type": "string"
  40724. },
  40725. "wrtradedetailid": {
  40726. "description": "采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  40727. "type": "integer"
  40728. }
  40729. }
  40730. },
  40731. "models.Thjscoreconfig": {
  40732. "type": "object",
  40733. "properties": {
  40734. "parma1": {
  40735. "description": "参数1",
  40736. "type": "integer"
  40737. },
  40738. "parma2": {
  40739. "description": "参数2",
  40740. "type": "integer"
  40741. },
  40742. "parma3": {
  40743. "description": "参数3",
  40744. "type": "integer"
  40745. },
  40746. "parma4": {
  40747. "description": "参数4",
  40748. "type": "integer"
  40749. },
  40750. "parma5": {
  40751. "description": "参数5",
  40752. "type": "integer"
  40753. },
  40754. "parma6": {
  40755. "description": "参数6",
  40756. "type": "integer"
  40757. },
  40758. "parma7": {
  40759. "description": "参数6",
  40760. "type": "integer"
  40761. },
  40762. "scoreconfigtype": {
  40763. "description": "积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分 7:抽奖得红包",
  40764. "type": "integer"
  40765. }
  40766. }
  40767. },
  40768. "models.TjmdHolderDetailTradeInfo": {
  40769. "type": "object",
  40770. "properties": {
  40771. "agreeunit": {
  40772. "description": "合约乘数",
  40773. "type": "number"
  40774. },
  40775. "buyaccountid": {
  40776. "description": "买方账户",
  40777. "type": "string"
  40778. },
  40779. "buyusername": {
  40780. "description": "买方",
  40781. "type": "string"
  40782. },
  40783. "delistingdate": {
  40784. "description": "最后结算日",
  40785. "type": "string"
  40786. },
  40787. "expiredate": {
  40788. "description": "到期结算价定价日",
  40789. "type": "string"
  40790. },
  40791. "exprieprice": {
  40792. "description": "到期清算价格",
  40793. "type": "string"
  40794. },
  40795. "goodscode": {
  40796. "description": "商品代码",
  40797. "type": "string"
  40798. },
  40799. "goodsid": {
  40800. "description": "商品ID",
  40801. "type": "integer"
  40802. },
  40803. "goodsname": {
  40804. "description": "商品名称(交易标的)",
  40805. "type": "string"
  40806. },
  40807. "lasttradedate": {
  40808. "description": "最后交易日",
  40809. "type": "string"
  40810. },
  40811. "listingdate": {
  40812. "description": "开始交易日",
  40813. "type": "string"
  40814. },
  40815. "openprice": {
  40816. "description": "成交价",
  40817. "type": "number"
  40818. },
  40819. "openqty": {
  40820. "description": "交易数量",
  40821. "type": "integer"
  40822. },
  40823. "sellaccountid": {
  40824. "description": "卖方账户",
  40825. "type": "string"
  40826. },
  40827. "sellusername": {
  40828. "description": "卖方",
  40829. "type": "string"
  40830. },
  40831. "tradeamount": {
  40832. "description": "初始名义价值",
  40833. "type": "number"
  40834. },
  40835. "tradedate": {
  40836. "description": "成交日期",
  40837. "type": "string"
  40838. },
  40839. "tradeid": {
  40840. "description": "成交编号",
  40841. "type": "string"
  40842. }
  40843. }
  40844. },
  40845. "models.TjmdMarketSection": {
  40846. "type": "object",
  40847. "properties": {
  40848. "marketsectionid": {
  40849. "description": "市场版块ID(SEQ_MARKETSECTION)",
  40850. "type": "integer"
  40851. },
  40852. "marketsectionname": {
  40853. "description": "市场版块名称",
  40854. "type": "string"
  40855. },
  40856. "mlist": {
  40857. "description": "市场列表(板块下面有多少个市场)",
  40858. "type": "array",
  40859. "items": {
  40860. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  40861. }
  40862. },
  40863. "orderindex": {
  40864. "description": "排序",
  40865. "type": "integer"
  40866. },
  40867. "pictureurl": {
  40868. "description": "图片url, 规格(90*90)",
  40869. "type": "string"
  40870. },
  40871. "remark": {
  40872. "description": "备注",
  40873. "type": "string"
  40874. }
  40875. }
  40876. },
  40877. "models.TjmdMarketSectionConfig": {
  40878. "type": "object",
  40879. "properties": {
  40880. "auctionwrtype": {
  40881. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  40882. "type": "integer"
  40883. },
  40884. "canacceptquote": {
  40885. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  40886. "type": "integer"
  40887. },
  40888. "cangoodsexercise": {
  40889. "description": "[期权]是否可现货行权- 0:否 1:是",
  40890. "type": "integer"
  40891. },
  40892. "cangoodsexercisetype": {
  40893. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  40894. "type": "integer"
  40895. },
  40896. "canmanualquotestrike": {
  40897. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  40898. "type": "integer"
  40899. },
  40900. "canmutistage": {
  40901. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  40902. "type": "integer"
  40903. },
  40904. "canpreexercise": {
  40905. "description": "[期权]是否可预申报- 0:否 1:是",
  40906. "type": "integer"
  40907. },
  40908. "clearinterval": {
  40909. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  40910. "type": "integer"
  40911. },
  40912. "contracttmp": {
  40913. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  40914. "type": "string"
  40915. },
  40916. "exchareaid": {
  40917. "description": "所属交易所,可以没有",
  40918. "type": "integer"
  40919. },
  40920. "financemarketid": {
  40921. "description": "融资回购市场ID [仓单贸易]",
  40922. "type": "integer"
  40923. },
  40924. "goodstype": {
  40925. "description": "商品类型 - 1:交易商品 2:仓单商品",
  40926. "type": "integer"
  40927. },
  40928. "hasrebate": {
  40929. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  40930. "type": "integer"
  40931. },
  40932. "hastradecredit": {
  40933. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  40934. "type": "integer"
  40935. },
  40936. "haswr": {
  40937. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  40938. "type": "integer"
  40939. },
  40940. "isdeductmargin": {
  40941. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  40942. "type": "integer"
  40943. },
  40944. "isrecordsource": {
  40945. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  40946. "type": "integer"
  40947. },
  40948. "isreleasemargin": {
  40949. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  40950. "type": "integer"
  40951. },
  40952. "isupdatereckonprice": {
  40953. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  40954. "type": "integer"
  40955. },
  40956. "listingmode": {
  40957. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40958. "type": "integer"
  40959. },
  40960. "marginformula": {
  40961. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  40962. "type": "integer"
  40963. },
  40964. "marginformula2": {
  40965. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  40966. "type": "integer"
  40967. },
  40968. "marketid": {
  40969. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  40970. "type": "integer"
  40971. },
  40972. "marketname": {
  40973. "description": "市场名称",
  40974. "type": "string"
  40975. },
  40976. "marketsectionid": {
  40977. "description": "市场版块ID(SEQ_MARKETSECTION)",
  40978. "type": "integer"
  40979. },
  40980. "marketserviceid": {
  40981. "description": "市场服务ID",
  40982. "type": "integer"
  40983. },
  40984. "marketstatus": {
  40985. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  40986. "type": "integer"
  40987. },
  40988. "markettype": {
  40989. "description": "市场类型- 1:非交易服务 2:交易服务",
  40990. "type": "integer"
  40991. },
  40992. "matchermode": {
  40993. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  40994. "type": "integer"
  40995. },
  40996. "nowrquotaflag": {
  40997. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  40998. "type": "integer"
  40999. },
  41000. "openmethod": {
  41001. "description": "开盘模式 - 0 自动 1手动",
  41002. "type": "integer"
  41003. },
  41004. "orderindex": {
  41005. "description": "排序",
  41006. "type": "integer"
  41007. },
  41008. "otcuserid": {
  41009. "description": "场外期权做市商[场外期权]",
  41010. "type": "integer"
  41011. },
  41012. "outersynctime": {
  41013. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  41014. "type": "string"
  41015. },
  41016. "paylaterflag": {
  41017. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  41018. "type": "integer"
  41019. },
  41020. "pendingflag": {
  41021. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  41022. "type": "integer"
  41023. },
  41024. "pendingtime": {
  41025. "description": "待开市时间[通道交易-对冲](HH:mm)",
  41026. "type": "string"
  41027. },
  41028. "performancetempid": {
  41029. "description": "履约计划模板ID - 作废",
  41030. "type": "integer"
  41031. },
  41032. "premiumquotemode": {
  41033. "description": "权利金报价方式 - 1:自动 2:手动",
  41034. "type": "integer"
  41035. },
  41036. "rebateratio": {
  41037. "description": "返利比率[竞价式]",
  41038. "type": "number"
  41039. },
  41040. "reckonorder": {
  41041. "description": "结算顺序",
  41042. "type": "integer"
  41043. },
  41044. "reckonpricealgorithm": {
  41045. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  41046. "type": "integer"
  41047. },
  41048. "reckonpriceparam": {
  41049. "description": "结算价参数",
  41050. "type": "integer"
  41051. },
  41052. "reckontime": {
  41053. "description": "结算时间[通道交易-对冲](HH:mm)",
  41054. "type": "string"
  41055. },
  41056. "roleprioritytype": {
  41057. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  41058. "type": "integer"
  41059. },
  41060. "selllistingauditflag": {
  41061. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  41062. "type": "integer"
  41063. },
  41064. "trademarkettype": {
  41065. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  41066. "type": "integer"
  41067. },
  41068. "trademode": {
  41069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  41070. "type": "integer"
  41071. },
  41072. "tradeproperty": {
  41073. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  41074. "type": "integer"
  41075. },
  41076. "tradetype": {
  41077. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  41078. "type": "integer"
  41079. },
  41080. "updatereckonpriceinterval": {
  41081. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  41082. "type": "integer"
  41083. }
  41084. }
  41085. },
  41086. "models.TjmdQuoteGoods": {
  41087. "type": "object",
  41088. "properties": {
  41089. "buyqty": {
  41090. "description": "买量(暂不做, 无值, 保留字段)",
  41091. "type": "number"
  41092. },
  41093. "decimalplace": {
  41094. "description": "报价小数位",
  41095. "type": "integer"
  41096. },
  41097. "goodscode": {
  41098. "description": "合约代码",
  41099. "type": "string"
  41100. },
  41101. "goodsgroupid": {
  41102. "description": "商品组ID(自增ID)",
  41103. "type": "integer"
  41104. },
  41105. "goodsgroupname": {
  41106. "description": "商品组名称",
  41107. "type": "string"
  41108. },
  41109. "goodsid": {
  41110. "description": "合约id",
  41111. "type": "integer"
  41112. },
  41113. "goodsname": {
  41114. "description": "合约名称",
  41115. "type": "string"
  41116. },
  41117. "refgoodscode": {
  41118. "description": "标的合约代码",
  41119. "type": "string"
  41120. },
  41121. "refgoodsid": {
  41122. "description": "标的合约id",
  41123. "type": "integer"
  41124. },
  41125. "refgoodsname": {
  41126. "description": "标的合约名称",
  41127. "type": "string"
  41128. },
  41129. "sellqty": {
  41130. "description": "卖量(暂不做, 无值, 保留字段)",
  41131. "type": "number"
  41132. }
  41133. }
  41134. },
  41135. "models.TjmdTodayAccountMargin": {
  41136. "type": "object",
  41137. "properties": {
  41138. "accountid": {
  41139. "description": "账号ID",
  41140. "type": "integer"
  41141. },
  41142. "goodsid": {
  41143. "description": "商品ID",
  41144. "type": "integer"
  41145. },
  41146. "infoc": {
  41147. "description": "配置参数",
  41148. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  41149. },
  41150. "marketid": {
  41151. "description": "市场ID",
  41152. "type": "integer"
  41153. }
  41154. }
  41155. },
  41156. "models.TjmdTradeOrderDetail": {
  41157. "type": "object",
  41158. "properties": {
  41159. "buyorsell": {
  41160. "description": "买卖方向 0-买 1-卖",
  41161. "type": "integer"
  41162. },
  41163. "goodsid": {
  41164. "description": "商品id",
  41165. "type": "integer"
  41166. },
  41167. "marketmaxsub": {
  41168. "description": "市价最大偏移范围 [浮动价 - 点差]",
  41169. "type": "number"
  41170. },
  41171. "orderid": {
  41172. "description": "委托单号",
  41173. "type": "string"
  41174. },
  41175. "orderprice": {
  41176. "description": "期初均价",
  41177. "type": "number"
  41178. },
  41179. "orderqty": {
  41180. "description": "委托数量",
  41181. "type": "integer"
  41182. },
  41183. "pricemode": {
  41184. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  41185. "type": "integer"
  41186. },
  41187. "userid": {
  41188. "description": "用户id",
  41189. "type": "integer"
  41190. },
  41191. "username": {
  41192. "description": "用户名称(已脱敏)",
  41193. "type": "string"
  41194. }
  41195. }
  41196. },
  41197. "models.TjmdTransferApply": {
  41198. "type": "object",
  41199. "properties": {
  41200. "applyid": {
  41201. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  41202. "type": "integer"
  41203. },
  41204. "applystatus": {
  41205. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  41206. "type": "integer"
  41207. },
  41208. "applytime": {
  41209. "description": "申请时间(时间)",
  41210. "type": "string"
  41211. },
  41212. "auditremark": {
  41213. "description": "审核备注(拒绝原因?)",
  41214. "type": "string"
  41215. },
  41216. "begindate": {
  41217. "description": "开始交易日(yyyymmdd)",
  41218. "type": "string"
  41219. },
  41220. "buyorsell": {
  41221. "description": "买卖 - 0:买 1:卖",
  41222. "type": "integer"
  41223. },
  41224. "enddate": {
  41225. "description": "结束交易日(yyyymmdd)",
  41226. "type": "string"
  41227. },
  41228. "goodscode": {
  41229. "description": "商品代码",
  41230. "type": "string"
  41231. },
  41232. "goodsid": {
  41233. "description": "商品ID",
  41234. "type": "integer"
  41235. },
  41236. "goodsname": {
  41237. "description": "商品名称",
  41238. "type": "string"
  41239. },
  41240. "marketid": {
  41241. "description": "市场ID",
  41242. "type": "integer"
  41243. },
  41244. "qty": {
  41245. "description": "期初均价",
  41246. "type": "number"
  41247. },
  41248. "tradeid": {
  41249. "description": "成交单号(关联持仓)",
  41250. "type": "string"
  41251. },
  41252. "transferamount": {
  41253. "description": "转让总金额(金额)",
  41254. "type": "number"
  41255. },
  41256. "transferprice": {
  41257. "description": "转让价格(协议价格)",
  41258. "type": "number"
  41259. }
  41260. }
  41261. },
  41262. "models.TradeHolderDetail": {
  41263. "type": "object",
  41264. "properties": {
  41265. "accountid": {
  41266. "description": "账号ID",
  41267. "type": "integer"
  41268. },
  41269. "agreeunit": {
  41270. "description": "合约乘数",
  41271. "type": "number"
  41272. },
  41273. "buyorsell": {
  41274. "description": "方向 - 0:买 1:卖",
  41275. "type": "integer"
  41276. },
  41277. "currencyid": {
  41278. "description": "商品币种id",
  41279. "type": "integer"
  41280. },
  41281. "currencyname": {
  41282. "description": "币种名称",
  41283. "type": "string"
  41284. },
  41285. "decimalplace": {
  41286. "description": "商品价格小数位",
  41287. "type": "integer"
  41288. },
  41289. "enumdicname": {
  41290. "description": "商品单位名称",
  41291. "type": "string"
  41292. },
  41293. "expirecycle": {
  41294. "description": "行权周期(天) - 1:滚动行权时填写",
  41295. "type": "integer"
  41296. },
  41297. "expiredate": {
  41298. "description": "行权日(yyyyMMdd) - 到期日",
  41299. "type": "string"
  41300. },
  41301. "expiretype": {
  41302. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  41303. "type": "integer"
  41304. },
  41305. "freezeqty": {
  41306. "description": "期初均价",
  41307. "type": "number"
  41308. },
  41309. "goodscode": {
  41310. "description": "商品代码",
  41311. "type": "string"
  41312. },
  41313. "goodsid": {
  41314. "description": "商品ID",
  41315. "type": "integer"
  41316. },
  41317. "goodsname": {
  41318. "description": "商品名称",
  41319. "type": "string"
  41320. },
  41321. "goodunitid": {
  41322. "description": "商品单位id",
  41323. "type": "integer"
  41324. },
  41325. "holderamount": {
  41326. "description": "持仓金额",
  41327. "type": "number"
  41328. },
  41329. "holdercredit": {
  41330. "description": "持仓授信金额",
  41331. "type": "number"
  41332. },
  41333. "holderdays": {
  41334. "description": "剩余冻结天数",
  41335. "type": "integer"
  41336. },
  41337. "holderprice": {
  41338. "description": "持仓价格",
  41339. "type": "number"
  41340. },
  41341. "holderqty": {
  41342. "description": "期初均价",
  41343. "type": "number"
  41344. },
  41345. "isconfirmexercise": {
  41346. "description": "是否确认行权- 0:否 1:是",
  41347. "type": "integer"
  41348. },
  41349. "ispreexercise": {
  41350. "description": "是否预申报- 0:否 1:是 2:不可行权",
  41351. "type": "integer"
  41352. },
  41353. "marketid": {
  41354. "description": "市场id",
  41355. "type": "integer"
  41356. },
  41357. "marketname": {
  41358. "description": "市场名称",
  41359. "type": "string"
  41360. },
  41361. "openprice": {
  41362. "description": "建仓价格",
  41363. "type": "number"
  41364. },
  41365. "openqty": {
  41366. "description": "期初均价",
  41367. "type": "number"
  41368. },
  41369. "optiontype": {
  41370. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  41371. "type": "integer"
  41372. },
  41373. "preexerciseprice": {
  41374. "description": "预申报价格",
  41375. "type": "number"
  41376. },
  41377. "premium": {
  41378. "description": "权利金",
  41379. "type": "number"
  41380. },
  41381. "qtydecimalplace": {
  41382. "description": "商品成交量小数位",
  41383. "type": "integer"
  41384. },
  41385. "refgoodscode": {
  41386. "description": "标的合约代码",
  41387. "type": "string"
  41388. },
  41389. "refgoodsid": {
  41390. "description": "标的合约id",
  41391. "type": "integer"
  41392. },
  41393. "releaseamount": {
  41394. "description": "释放持仓金额",
  41395. "type": "number"
  41396. },
  41397. "releaseholdercredit": {
  41398. "description": "释放持仓授信金额",
  41399. "type": "number"
  41400. },
  41401. "taname": {
  41402. "description": "资金账号名称",
  41403. "type": "string"
  41404. },
  41405. "tradeamount": {
  41406. "description": "成交金额",
  41407. "type": "number"
  41408. },
  41409. "tradedate": {
  41410. "description": "交易日(yyyyMMdd)",
  41411. "type": "string"
  41412. },
  41413. "tradeid": {
  41414. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41415. "type": "string"
  41416. },
  41417. "trademode": {
  41418. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  41419. "type": "integer"
  41420. },
  41421. "tradeproperty": {
  41422. "description": "交易属性",
  41423. "type": "integer"
  41424. },
  41425. "tradetime": {
  41426. "description": "交易时间",
  41427. "type": "string"
  41428. },
  41429. "userid": {
  41430. "description": "用户id",
  41431. "type": "integer"
  41432. },
  41433. "username": {
  41434. "description": "用户名称",
  41435. "type": "string"
  41436. }
  41437. }
  41438. },
  41439. "models.Unlinkermcphedgeplan": {
  41440. "type": "object",
  41441. "required": [
  41442. "areauserid"
  41443. ],
  41444. "properties": {
  41445. "accountid": {
  41446. "description": "期货账户ID - 作废",
  41447. "type": "integer"
  41448. },
  41449. "accountname": {
  41450. "description": "交易用户",
  41451. "type": "string"
  41452. },
  41453. "applyid": {
  41454. "description": "申请人",
  41455. "type": "integer"
  41456. },
  41457. "applysrc": {
  41458. "description": "申请来源 - 1:管理端 2:终端",
  41459. "type": "integer"
  41460. },
  41461. "applytime": {
  41462. "description": "申请时间",
  41463. "type": "string"
  41464. },
  41465. "areauserid": {
  41466. "description": "[企业ID]机构ID",
  41467. "type": "integer"
  41468. },
  41469. "auditid": {
  41470. "description": "审核人",
  41471. "type": "integer"
  41472. },
  41473. "auditremark": {
  41474. "description": "审核备注",
  41475. "type": "string"
  41476. },
  41477. "auditsrc": {
  41478. "description": "审核来源 - 1:管理端 2:终端",
  41479. "type": "integer"
  41480. },
  41481. "audittime": {
  41482. "description": "审核时间",
  41483. "type": "string"
  41484. },
  41485. "audittradedate": {
  41486. "description": "审核交易日(yyyyMMdd)",
  41487. "type": "string"
  41488. },
  41489. "biztype": {
  41490. "description": "业务类型 - 1:套保",
  41491. "type": "integer"
  41492. },
  41493. "contracttype": {
  41494. "description": "计划类型 - 1:采购 -1:销售",
  41495. "type": "integer"
  41496. },
  41497. "convertfactor": {
  41498. "description": "标仓系数 - 作废",
  41499. "type": "number"
  41500. },
  41501. "createtime": {
  41502. "description": "创建时间",
  41503. "type": "string"
  41504. },
  41505. "currencyid": {
  41506. "description": "结算币种ID - 作废",
  41507. "type": "integer"
  41508. },
  41509. "deliverygoodsid": {
  41510. "description": "现货品种ID",
  41511. "type": "integer"
  41512. },
  41513. "enumdicname": {
  41514. "description": "结算币种",
  41515. "type": "string"
  41516. },
  41517. "hedgeplanid": {
  41518. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  41519. "type": "string"
  41520. },
  41521. "hedgeplanno": {
  41522. "description": "[计划编号]套保计划编号,模糊查询",
  41523. "type": "string"
  41524. },
  41525. "hedgeplanstatus": {
  41526. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  41527. "type": "integer"
  41528. },
  41529. "isrelated": {
  41530. "description": "是否已关联计划项目 - 0:否 1:是",
  41531. "type": "integer"
  41532. },
  41533. "planqty": {
  41534. "description": "[计划量]计划数量",
  41535. "type": "number"
  41536. },
  41537. "plantime": {
  41538. "description": "计划时间",
  41539. "type": "string"
  41540. },
  41541. "producttype": {
  41542. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  41543. "type": "integer"
  41544. },
  41545. "remark": {
  41546. "description": "备注",
  41547. "type": "string"
  41548. },
  41549. "spotgoodsdesc": {
  41550. "description": "商品型号",
  41551. "type": "string"
  41552. },
  41553. "tradedate": {
  41554. "description": "交易日(yyyyMMdd)",
  41555. "type": "string"
  41556. },
  41557. "tradeuserid": {
  41558. "description": "交易用户ID",
  41559. "type": "integer"
  41560. },
  41561. "updatetime": {
  41562. "description": "更新时间",
  41563. "type": "string"
  41564. },
  41565. "wrstandardid": {
  41566. "description": "现货商品ID",
  41567. "type": "integer"
  41568. },
  41569. "wrstandardname": {
  41570. "description": "现货商品,模糊查询",
  41571. "type": "string"
  41572. }
  41573. }
  41574. },
  41575. "models.UserCollectConfig": {
  41576. "type": "object",
  41577. "properties": {
  41578. "accountstatus": {
  41579. "description": "账户状态 - 1:正常 2:停用 3:注销",
  41580. "type": "integer"
  41581. },
  41582. "collectaccountname": {
  41583. "description": "收款人账户名称",
  41584. "type": "string"
  41585. },
  41586. "collectaccountno": {
  41587. "description": "收款人账户",
  41588. "type": "string"
  41589. },
  41590. "collectbankname": {
  41591. "description": "收款人开户行",
  41592. "type": "string"
  41593. },
  41594. "collectbranchbankname": {
  41595. "description": "收款人开户支行",
  41596. "type": "string"
  41597. },
  41598. "collectconfigid": {
  41599. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  41600. "type": "string"
  41601. },
  41602. "remark": {
  41603. "description": "备注",
  41604. "type": "string"
  41605. },
  41606. "userid": {
  41607. "description": "收款人用户ID",
  41608. "type": "integer"
  41609. }
  41610. }
  41611. },
  41612. "models.UserReceiveInfo": {
  41613. "type": "object",
  41614. "properties": {
  41615. "address": {
  41616. "description": "提货人详细地址",
  41617. "type": "string"
  41618. },
  41619. "autoid": {
  41620. "description": "AutoID",
  41621. "type": "integer"
  41622. },
  41623. "cardnum": {
  41624. "description": "证件号码(加密存储)",
  41625. "type": "string"
  41626. },
  41627. "cardtypeid": {
  41628. "description": "证件类型",
  41629. "type": "integer"
  41630. },
  41631. "cityid": {
  41632. "description": "市",
  41633. "type": "integer"
  41634. },
  41635. "cityname": {
  41636. "description": "城市名称",
  41637. "type": "string"
  41638. },
  41639. "countryid": {
  41640. "description": "国家",
  41641. "type": "integer"
  41642. },
  41643. "countryname": {
  41644. "description": "国家名称",
  41645. "type": "string"
  41646. },
  41647. "districtid": {
  41648. "description": "地区",
  41649. "type": "integer"
  41650. },
  41651. "districtname": {
  41652. "description": "地区名称",
  41653. "type": "string"
  41654. },
  41655. "hasencrypt": {
  41656. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41657. "type": "integer"
  41658. },
  41659. "isdefault": {
  41660. "description": "是否默认地址 - 0:否 1:是",
  41661. "type": "integer"
  41662. },
  41663. "phonenum": {
  41664. "description": "提货人联系方式(加密存储)",
  41665. "type": "string"
  41666. },
  41667. "provinceid": {
  41668. "description": "省",
  41669. "type": "integer"
  41670. },
  41671. "provincename": {
  41672. "description": "省名称",
  41673. "type": "string"
  41674. },
  41675. "receivername": {
  41676. "description": "提货人姓名",
  41677. "type": "string"
  41678. },
  41679. "takeremark": {
  41680. "description": "提货备注",
  41681. "type": "string"
  41682. },
  41683. "userid": {
  41684. "description": "用户ID",
  41685. "type": "integer"
  41686. }
  41687. }
  41688. },
  41689. "models.Useraccount": {
  41690. "type": "object",
  41691. "required": [
  41692. "userid"
  41693. ],
  41694. "properties": {
  41695. "accountname": {
  41696. "description": "账户名称(机构名称)",
  41697. "type": "string"
  41698. },
  41699. "accountstatus": {
  41700. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  41701. "type": "integer"
  41702. },
  41703. "applysrc": {
  41704. "description": "申请来源 - 1:管理端 2:终端",
  41705. "type": "integer"
  41706. },
  41707. "auditremark": {
  41708. "description": "审核备注",
  41709. "type": "string"
  41710. },
  41711. "auditsrc": {
  41712. "description": "审核来源 - 1:管理端 2:终端",
  41713. "type": "integer"
  41714. },
  41715. "audittime": {
  41716. "description": "审核时间",
  41717. "type": "string"
  41718. },
  41719. "audituserid": {
  41720. "description": "审核人",
  41721. "type": "integer"
  41722. },
  41723. "broker": {
  41724. "description": "所属经纪人ID",
  41725. "type": "integer"
  41726. },
  41727. "canceltime": {
  41728. "description": "销户时间",
  41729. "type": "string"
  41730. },
  41731. "canceluserid": {
  41732. "description": "销户人",
  41733. "type": "integer"
  41734. },
  41735. "canrecommend": {
  41736. "description": "是否可推荐 - 0:不可 1;可",
  41737. "type": "integer"
  41738. },
  41739. "createtime": {
  41740. "description": "创建时间",
  41741. "type": "string"
  41742. },
  41743. "creatorid": {
  41744. "description": "创建人",
  41745. "type": "integer"
  41746. },
  41747. "curscore": {
  41748. "description": "积分",
  41749. "type": "integer"
  41750. },
  41751. "hasauth": {
  41752. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  41753. "type": "integer"
  41754. },
  41755. "isanonymous": {
  41756. "description": "是否匿名下单 - 0:否 1:是",
  41757. "type": "integer"
  41758. },
  41759. "issigned": {
  41760. "description": "今日是否已签到",
  41761. "type": "boolean"
  41762. },
  41763. "maxinvestornum": {
  41764. "description": "最大用户数(经纪会员下投资者个数)",
  41765. "type": "integer"
  41766. },
  41767. "memberuserid": {
  41768. "description": "所属会员ID",
  41769. "type": "integer"
  41770. },
  41771. "modifierid": {
  41772. "description": "修改人",
  41773. "type": "integer"
  41774. },
  41775. "modifyremark": {
  41776. "description": "变更备注",
  41777. "type": "string"
  41778. },
  41779. "modifystatus": {
  41780. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  41781. "type": "integer"
  41782. },
  41783. "modifytime": {
  41784. "description": "修改时间",
  41785. "type": "string"
  41786. },
  41787. "parenttopuser": {
  41788. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  41789. "type": "string"
  41790. },
  41791. "parentuserid": {
  41792. "description": "所属机构ID",
  41793. "type": "integer"
  41794. },
  41795. "reckonaccountid": {
  41796. "description": "默认结算资金账号ID(机构分润使用) 作废",
  41797. "type": "integer"
  41798. },
  41799. "refercount": {
  41800. "description": "推荐总人数",
  41801. "type": "integer"
  41802. },
  41803. "refereeuserid": {
  41804. "description": "推荐人ID",
  41805. "type": "integer"
  41806. },
  41807. "refernum": {
  41808. "description": "推荐码",
  41809. "type": "string"
  41810. },
  41811. "rootuserid": {
  41812. "description": "根用户ID",
  41813. "type": "integer"
  41814. },
  41815. "subaccountlevel": {
  41816. "description": "子账户层数",
  41817. "type": "integer"
  41818. },
  41819. "subarealevelpath": {
  41820. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  41821. "type": "string"
  41822. },
  41823. "todayrefercount": {
  41824. "description": "今日推荐人数",
  41825. "type": "integer"
  41826. },
  41827. "userid": {
  41828. "description": "用户ID",
  41829. "type": "integer"
  41830. },
  41831. "usertype": {
  41832. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41833. "type": "integer"
  41834. }
  41835. }
  41836. },
  41837. "models.Userfavoritegoods": {
  41838. "type": "object",
  41839. "required": [
  41840. "goodsid"
  41841. ],
  41842. "properties": {
  41843. "goodsid": {
  41844. "description": "商品ID",
  41845. "type": "integer"
  41846. }
  41847. }
  41848. },
  41849. "models.Userinfo": {
  41850. "type": "object",
  41851. "required": [
  41852. "userid"
  41853. ],
  41854. "properties": {
  41855. "address": {
  41856. "description": "地址",
  41857. "type": "string"
  41858. },
  41859. "attachment1": {
  41860. "description": "附件1",
  41861. "type": "string"
  41862. },
  41863. "attachment2": {
  41864. "description": "附件2",
  41865. "type": "string"
  41866. },
  41867. "bankaccount": {
  41868. "description": "银行帐号 (加密存储)",
  41869. "type": "string"
  41870. },
  41871. "bankaccountname": {
  41872. "description": "收款人名称",
  41873. "type": "string"
  41874. },
  41875. "bankcardfrontphotourl": {
  41876. "description": "银行卡正面照地址",
  41877. "type": "string"
  41878. },
  41879. "bankid": {
  41880. "description": "银行编码",
  41881. "type": "string"
  41882. },
  41883. "bankname": {
  41884. "description": "银行名称",
  41885. "type": "string"
  41886. },
  41887. "biznature": {
  41888. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  41889. "type": "integer"
  41890. },
  41891. "bizscope": {
  41892. "description": "企业经营范围(企业)",
  41893. "type": "string"
  41894. },
  41895. "cardbackphotourl": {
  41896. "description": "证件背面图片地址",
  41897. "type": "string"
  41898. },
  41899. "cardfrontphotourl": {
  41900. "description": "证件正面图片地址",
  41901. "type": "string"
  41902. },
  41903. "cardnum": {
  41904. "description": "证件号码(加密存储)",
  41905. "type": "string"
  41906. },
  41907. "cardtypeid": {
  41908. "description": "证件类型ID",
  41909. "type": "integer"
  41910. },
  41911. "cityid": {
  41912. "description": "市",
  41913. "type": "integer"
  41914. },
  41915. "company": {
  41916. "description": "公司(个人)",
  41917. "type": "string"
  41918. },
  41919. "contactname": {
  41920. "description": "联系人",
  41921. "type": "string"
  41922. },
  41923. "countryid": {
  41924. "description": "国家",
  41925. "type": "integer"
  41926. },
  41927. "createtime": {
  41928. "description": "创建时间",
  41929. "type": "string"
  41930. },
  41931. "creatorid": {
  41932. "description": "创建人",
  41933. "type": "integer"
  41934. },
  41935. "customername": {
  41936. "description": "客户名称(企业名称)",
  41937. "type": "string"
  41938. },
  41939. "districtid": {
  41940. "description": "地区",
  41941. "type": "integer"
  41942. },
  41943. "email": {
  41944. "description": "邮件(加密存储)",
  41945. "type": "string"
  41946. },
  41947. "fax": {
  41948. "description": "传真(加密存储)",
  41949. "type": "string"
  41950. },
  41951. "halfbodyphotourl": {
  41952. "description": "半身照地址",
  41953. "type": "string"
  41954. },
  41955. "hasencrypt": {
  41956. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41957. "type": "integer"
  41958. },
  41959. "headurl": {
  41960. "description": "头像地址",
  41961. "type": "string"
  41962. },
  41963. "legalcardbackphotourl": {
  41964. "description": "法人身份证背面照地址",
  41965. "type": "string"
  41966. },
  41967. "legalcardfrontphotourl": {
  41968. "description": "法人身份证正面照地址",
  41969. "type": "string"
  41970. },
  41971. "legalpersonname": {
  41972. "description": "法人姓名(企业)",
  41973. "type": "string"
  41974. },
  41975. "mobile": {
  41976. "description": "手机号码(加密存储)",
  41977. "type": "string"
  41978. },
  41979. "mobile2": {
  41980. "description": "手机号码[明文-尚志]",
  41981. "type": "string"
  41982. },
  41983. "modifierid": {
  41984. "description": "修改人",
  41985. "type": "integer"
  41986. },
  41987. "modifiertime": {
  41988. "description": "修改时间",
  41989. "type": "string"
  41990. },
  41991. "needinvoice": {
  41992. "description": "是否需要发票 - 0:不需要 1:需要",
  41993. "type": "integer"
  41994. },
  41995. "nickname": {
  41996. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  41997. "type": "string"
  41998. },
  41999. "openmode": {
  42000. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  42001. "type": "integer"
  42002. },
  42003. "otherurl": {
  42004. "description": "其它图片地址[使用分号分隔]",
  42005. "type": "string"
  42006. },
  42007. "postalcode": {
  42008. "description": "邮政编码",
  42009. "type": "string"
  42010. },
  42011. "provinceid": {
  42012. "description": "省",
  42013. "type": "integer"
  42014. },
  42015. "qq": {
  42016. "description": "QQ(加密存储",
  42017. "type": "string"
  42018. },
  42019. "remark": {
  42020. "description": "备注",
  42021. "type": "string"
  42022. },
  42023. "sex": {
  42024. "description": "用户性别 0: 女 1: 男",
  42025. "type": "integer"
  42026. },
  42027. "signpdfurl": {
  42028. "description": "签约pdf文件",
  42029. "type": "string"
  42030. },
  42031. "telphone": {
  42032. "description": "联系电话(加密存储)",
  42033. "type": "string"
  42034. },
  42035. "userid": {
  42036. "description": "用户ID",
  42037. "type": "integer"
  42038. },
  42039. "userinfotype": {
  42040. "description": "用户信息类型 - 1:个人 2:企业",
  42041. "type": "integer"
  42042. },
  42043. "userstatus": {
  42044. "description": "用户状态 - 1:正常 2:注销",
  42045. "type": "integer"
  42046. },
  42047. "usertype": {
  42048. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  42049. "type": "integer"
  42050. },
  42051. "wechat": {
  42052. "description": "微信(加密存储)",
  42053. "type": "string"
  42054. },
  42055. "wskhinfo": {
  42056. "description": "开户申请信息(JSON)",
  42057. "type": "string"
  42058. }
  42059. }
  42060. },
  42061. "models.WRPositionReport": {
  42062. "type": "object",
  42063. "properties": {
  42064. "accountid": {
  42065. "description": "帐户ID",
  42066. "type": "integer"
  42067. },
  42068. "brandid": {
  42069. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  42070. "type": "integer"
  42071. },
  42072. "buylistinglot": {
  42073. "description": "买挂牌宗数",
  42074. "type": "integer"
  42075. },
  42076. "buytradeamount": {
  42077. "description": "购买金额",
  42078. "type": "number"
  42079. },
  42080. "buytradelot": {
  42081. "description": "购买宗数",
  42082. "type": "integer"
  42083. },
  42084. "buytradeqty": {
  42085. "description": "购买数量",
  42086. "type": "number"
  42087. },
  42088. "creditcurqty": {
  42089. "description": "授信当前数量",
  42090. "type": "integer"
  42091. },
  42092. "creditfreezeqty": {
  42093. "description": "授信冻结数量",
  42094. "type": "integer"
  42095. },
  42096. "credittotalqty": {
  42097. "description": "授信总数量",
  42098. "type": "integer"
  42099. },
  42100. "credittradeqty": {
  42101. "description": "授信成交数量",
  42102. "type": "integer"
  42103. },
  42104. "decreaseqty": {
  42105. "description": "今日减少数量",
  42106. "type": "integer"
  42107. },
  42108. "deliverygoodsid": {
  42109. "description": "交割商品ID",
  42110. "type": "integer"
  42111. },
  42112. "deliverymonthid": {
  42113. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  42114. "type": "integer"
  42115. },
  42116. "freezeqty": {
  42117. "description": "总冻结数量",
  42118. "type": "integer"
  42119. },
  42120. "increaseqty": {
  42121. "description": "今日增加数量",
  42122. "type": "integer"
  42123. },
  42124. "marketvalue": {
  42125. "description": "市值",
  42126. "type": "number"
  42127. },
  42128. "pickupqty": {
  42129. "description": "今日提货数量",
  42130. "type": "integer"
  42131. },
  42132. "qualityid": {
  42133. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  42134. "type": "integer"
  42135. },
  42136. "reckondate": {
  42137. "description": "日照时期(yyyyMMdd)",
  42138. "type": "string"
  42139. },
  42140. "relatedqty": {
  42141. "description": "关联数量",
  42142. "type": "integer"
  42143. },
  42144. "selllistingamount": {
  42145. "description": "卖挂牌金额",
  42146. "type": "number"
  42147. },
  42148. "selllistinglot": {
  42149. "description": "卖挂牌宗数",
  42150. "type": "integer"
  42151. },
  42152. "selllistingqty": {
  42153. "description": "卖挂牌数量",
  42154. "type": "number"
  42155. },
  42156. "selltradeamount": {
  42157. "description": "销售金额",
  42158. "type": "number"
  42159. },
  42160. "selltradelot": {
  42161. "description": "销售宗数",
  42162. "type": "integer"
  42163. },
  42164. "selltradeqty": {
  42165. "description": "销售数量",
  42166. "type": "number"
  42167. },
  42168. "specid": {
  42169. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  42170. "type": "integer"
  42171. },
  42172. "totalprice": {
  42173. "description": "销售金额(¥)",
  42174. "type": "number"
  42175. },
  42176. "totalqty": {
  42177. "description": "总数量",
  42178. "type": "integer"
  42179. },
  42180. "totalweight": {
  42181. "description": "销售重量(ct)",
  42182. "type": "number"
  42183. },
  42184. "tradewrqty": {
  42185. "description": "订单仓单头寸总数量",
  42186. "type": "integer"
  42187. },
  42188. "transfertradewrqty": {
  42189. "description": "今日转订单数量",
  42190. "type": "integer"
  42191. },
  42192. "warehouseid": {
  42193. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  42194. "type": "integer"
  42195. },
  42196. "wrfactortypeid": {
  42197. "description": "仓单要素类型ID",
  42198. "type": "integer"
  42199. },
  42200. "wrpositionid": {
  42201. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  42202. "type": "integer"
  42203. },
  42204. "wrstandardcode": {
  42205. "description": "现货商品代码",
  42206. "type": "string"
  42207. },
  42208. "wrstandardid": {
  42209. "description": "现货商品ID",
  42210. "type": "integer"
  42211. },
  42212. "wruserid": {
  42213. "description": "持有人ID",
  42214. "type": "integer"
  42215. },
  42216. "zscategory": {
  42217. "description": "商品分类",
  42218. "type": "integer"
  42219. },
  42220. "zscategorydisplay": {
  42221. "type": "string"
  42222. },
  42223. "zscurrencytype": {
  42224. "description": "商品币种",
  42225. "type": "integer"
  42226. },
  42227. "zscurrencytypedisplay": {
  42228. "type": "string"
  42229. },
  42230. "zscurrencytypedisplayunit": {
  42231. "type": "string"
  42232. }
  42233. }
  42234. },
  42235. "models.WRSConverTDetail": {
  42236. "type": "object",
  42237. "properties": {
  42238. "convertratio": {
  42239. "description": "套保系数",
  42240. "type": "number"
  42241. },
  42242. "deliverygoodscode": {
  42243. "description": "现货商品代码",
  42244. "type": "string"
  42245. },
  42246. "deliverygoodsid": {
  42247. "description": "现货品种ID",
  42248. "type": "integer"
  42249. },
  42250. "deliverygoodsname": {
  42251. "description": "现货商品名称",
  42252. "type": "string"
  42253. },
  42254. "enumdicname": {
  42255. "description": "单位名称",
  42256. "type": "string"
  42257. },
  42258. "goodsunitid": {
  42259. "description": "套保品种单位id",
  42260. "type": "integer"
  42261. },
  42262. "middlegoodscode": {
  42263. "description": "套保品种代码",
  42264. "type": "string"
  42265. },
  42266. "middlegoodsid": {
  42267. "description": "套保品种ID",
  42268. "type": "integer"
  42269. },
  42270. "middlegoodsname": {
  42271. "description": "套保品种名称",
  42272. "type": "string"
  42273. },
  42274. "modifytime": {
  42275. "description": "修改时间",
  42276. "type": "string"
  42277. },
  42278. "wrstandardid": {
  42279. "description": "品类ID",
  42280. "type": "integer"
  42281. }
  42282. }
  42283. },
  42284. "models.WRStandardInfo": {
  42285. "type": "object",
  42286. "required": [
  42287. "wrstandardid"
  42288. ],
  42289. "properties": {
  42290. "areauserid": {
  42291. "description": "所属机构",
  42292. "type": "integer"
  42293. },
  42294. "convertfactor": {
  42295. "description": "标仓系数",
  42296. "type": "number"
  42297. },
  42298. "createtime": {
  42299. "description": "创建时间",
  42300. "type": "string"
  42301. },
  42302. "creatorid": {
  42303. "description": "创建人",
  42304. "type": "integer"
  42305. },
  42306. "deliverygoodsid": {
  42307. "description": "品种ID",
  42308. "type": "integer"
  42309. },
  42310. "deliverygoodsname": {
  42311. "description": "交割商品名称",
  42312. "type": "string"
  42313. },
  42314. "factoryitemjson": {
  42315. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  42316. "type": "string"
  42317. },
  42318. "isvalid": {
  42319. "description": "是否有效 - 0:无效 1:有效",
  42320. "type": "integer"
  42321. },
  42322. "minivalue": {
  42323. "description": "最小变动值",
  42324. "type": "integer"
  42325. },
  42326. "minivaluedp": {
  42327. "description": "最小变动值小数位",
  42328. "type": "integer"
  42329. },
  42330. "realminivalue": {
  42331. "description": "实际最小变动值",
  42332. "type": "integer"
  42333. },
  42334. "realminivaluedp": {
  42335. "description": "实际最小变动值小数位",
  42336. "type": "integer"
  42337. },
  42338. "remark": {
  42339. "description": "备注",
  42340. "type": "string"
  42341. },
  42342. "unitid": {
  42343. "description": "单位ID",
  42344. "type": "integer"
  42345. },
  42346. "unitname": {
  42347. "description": "单位",
  42348. "type": "string"
  42349. },
  42350. "updatetime": {
  42351. "description": "更新时间",
  42352. "type": "string"
  42353. },
  42354. "updatorid": {
  42355. "description": "更新人",
  42356. "type": "integer"
  42357. },
  42358. "wrsstatus": {
  42359. "description": "状态 - 作废 - 0:未激活 1:正常",
  42360. "type": "integer"
  42361. },
  42362. "wrstandardcode": {
  42363. "description": "现货品类代码",
  42364. "type": "string"
  42365. },
  42366. "wrstandardid": {
  42367. "description": "现货品类ID(SEQ_WRSTANDARD)",
  42368. "type": "integer"
  42369. },
  42370. "wrstandardname": {
  42371. "description": "现货品类名称",
  42372. "type": "string"
  42373. }
  42374. }
  42375. },
  42376. "models.WRTradeBargainApply": {
  42377. "type": "object",
  42378. "properties": {
  42379. "accountid": {
  42380. "description": "摘牌资金账号",
  42381. "type": "integer"
  42382. },
  42383. "applyprice": {
  42384. "description": "申请价格(议价价格)",
  42385. "type": "string"
  42386. },
  42387. "applyqty": {
  42388. "description": "摘牌数量(议价数量)",
  42389. "type": "number"
  42390. },
  42391. "applyremark": {
  42392. "description": "申请备注",
  42393. "type": "string"
  42394. },
  42395. "applystatus": {
  42396. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  42397. "type": "integer"
  42398. },
  42399. "applytime": {
  42400. "description": "申请时间(议价时间)",
  42401. "type": "string"
  42402. },
  42403. "begindate": {
  42404. "description": "开始交易日(yyyymmdd)",
  42405. "type": "string"
  42406. },
  42407. "buyorsell": {
  42408. "description": "买卖(挂牌类型) - 0:买 1:卖",
  42409. "type": "integer"
  42410. },
  42411. "confirmremark": {
  42412. "description": "确认备注",
  42413. "type": "string"
  42414. },
  42415. "confirmtime": {
  42416. "description": "确认时间",
  42417. "type": "string"
  42418. },
  42419. "confirmuserid": {
  42420. "description": "确认人",
  42421. "type": "integer"
  42422. },
  42423. "deliverygoodscode": {
  42424. "description": "品种代码",
  42425. "type": "string"
  42426. },
  42427. "deliverygoodsid": {
  42428. "description": "品种ID",
  42429. "type": "integer"
  42430. },
  42431. "deliverygoodsname": {
  42432. "description": "品种名称",
  42433. "type": "string"
  42434. },
  42435. "deliverymonth": {
  42436. "description": "交收月",
  42437. "type": "string"
  42438. },
  42439. "enddate": {
  42440. "description": "结束交易日(yyyymmdd)",
  42441. "type": "string"
  42442. },
  42443. "enumdicname": {
  42444. "description": "单位名称",
  42445. "type": "string"
  42446. },
  42447. "fixedprice": {
  42448. "description": "期初均价",
  42449. "type": "number"
  42450. },
  42451. "handlestatus": {
  42452. "description": "处理状态",
  42453. "type": "integer"
  42454. },
  42455. "marginvalue": {
  42456. "description": "期初均价",
  42457. "type": "number"
  42458. },
  42459. "marketid": {
  42460. "description": "市场ID",
  42461. "type": "integer"
  42462. },
  42463. "matchaccountid": {
  42464. "description": "挂牌方资金账号",
  42465. "type": "integer"
  42466. },
  42467. "matchuserid": {
  42468. "description": "挂牌方用户id",
  42469. "type": "integer"
  42470. },
  42471. "matchusername": {
  42472. "description": "挂牌方用户名称(已脱敏)",
  42473. "type": "string"
  42474. },
  42475. "minivalue": {
  42476. "description": "现货商品最小变动值",
  42477. "type": "integer"
  42478. },
  42479. "optioncompare": {
  42480. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42481. "type": "string"
  42482. },
  42483. "orderqty": {
  42484. "description": "挂牌数量",
  42485. "type": "integer"
  42486. },
  42487. "refprice": {
  42488. "description": "参考价格",
  42489. "type": "string"
  42490. },
  42491. "retcode": {
  42492. "description": "委托返回代码",
  42493. "type": "integer"
  42494. },
  42495. "templatename": {
  42496. "description": "履约方式(履约模板名称)",
  42497. "type": "string"
  42498. },
  42499. "tradedate": {
  42500. "description": "交易日(yyyyMMdd)",
  42501. "type": "string"
  42502. },
  42503. "userid": {
  42504. "description": "摘牌人用户ID(议价人ID)",
  42505. "type": "integer"
  42506. },
  42507. "username": {
  42508. "description": "议价人名字(已脱敏)",
  42509. "type": "string"
  42510. },
  42511. "validtime": {
  42512. "description": "有效期限",
  42513. "type": "string"
  42514. },
  42515. "warehouseid": {
  42516. "description": "仓库ID",
  42517. "type": "integer"
  42518. },
  42519. "warehousename": {
  42520. "description": "仓库名称",
  42521. "type": "string"
  42522. },
  42523. "wrbargainid": {
  42524. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  42525. "type": "string"
  42526. },
  42527. "wrfactortypeid": {
  42528. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42529. "type": "string"
  42530. },
  42531. "wrfactortypename": {
  42532. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42533. "type": "string"
  42534. },
  42535. "wrstandardcode": {
  42536. "description": "现货商品代码",
  42537. "type": "string"
  42538. },
  42539. "wrstandardid": {
  42540. "description": "现货商品ID",
  42541. "type": "integer"
  42542. },
  42543. "wrstandardname": {
  42544. "description": "商品名称",
  42545. "type": "string"
  42546. },
  42547. "wrtradeorderid": {
  42548. "description": "关联委托单ID",
  42549. "type": "string"
  42550. },
  42551. "wrtypename": {
  42552. "description": "商品",
  42553. "type": "string"
  42554. }
  42555. }
  42556. },
  42557. "models.Warehouseinfo": {
  42558. "type": "object",
  42559. "required": [
  42560. "autoid",
  42561. "warehousecode"
  42562. ],
  42563. "properties": {
  42564. "address": {
  42565. "description": "详细地址",
  42566. "type": "string"
  42567. },
  42568. "areauserid": {
  42569. "description": "所属机构",
  42570. "type": "integer"
  42571. },
  42572. "autoid": {
  42573. "description": "自增ID",
  42574. "type": "integer"
  42575. },
  42576. "cityid": {
  42577. "description": "市",
  42578. "type": "integer"
  42579. },
  42580. "contactname": {
  42581. "description": "联系人",
  42582. "type": "string"
  42583. },
  42584. "contactnum": {
  42585. "description": "联系电话",
  42586. "type": "string"
  42587. },
  42588. "countryid": {
  42589. "description": "国家",
  42590. "type": "integer"
  42591. },
  42592. "createtime": {
  42593. "description": "创建时间",
  42594. "type": "string"
  42595. },
  42596. "districtid": {
  42597. "description": "区",
  42598. "type": "integer"
  42599. },
  42600. "hasvideo": {
  42601. "description": "是否有视频 - 0:无 1:有",
  42602. "type": "integer"
  42603. },
  42604. "provinceid": {
  42605. "description": "省",
  42606. "type": "integer"
  42607. },
  42608. "remark": {
  42609. "description": "审核备注",
  42610. "type": "string"
  42611. },
  42612. "videourl": {
  42613. "description": "视频地址",
  42614. "type": "string"
  42615. },
  42616. "warehousecode": {
  42617. "description": "仓库代码",
  42618. "type": "string"
  42619. },
  42620. "warehousename": {
  42621. "description": "仓库名称",
  42622. "type": "string"
  42623. },
  42624. "warehousestatus": {
  42625. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  42626. "type": "integer"
  42627. },
  42628. "warehousetype": {
  42629. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  42630. "type": "integer"
  42631. }
  42632. }
  42633. },
  42634. "models.WrAverageTradePrice": {
  42635. "type": "object",
  42636. "properties": {
  42637. "averageprice": {
  42638. "description": "期初均价",
  42639. "type": "number"
  42640. },
  42641. "tradedate": {
  42642. "description": "交易日yyyymm",
  42643. "type": "string"
  42644. }
  42645. }
  42646. },
  42647. "models.WrBrandAndYears": {
  42648. "type": "object",
  42649. "properties": {
  42650. "brandlst": {
  42651. "description": "品牌列表",
  42652. "type": "array",
  42653. "items": {
  42654. "$ref": "#/definitions/models.DgFactoryItem"
  42655. }
  42656. },
  42657. "yearslst": {
  42658. "description": "年份列表",
  42659. "type": "array",
  42660. "items": {
  42661. "$ref": "#/definitions/models.DgFactoryItem"
  42662. }
  42663. }
  42664. }
  42665. },
  42666. "models.WrBsGoodsInfo": {
  42667. "type": "object",
  42668. "properties": {
  42669. "buyorsell": {
  42670. "description": "买卖方向 0-买 1-卖",
  42671. "type": "integer"
  42672. },
  42673. "goodsid": {
  42674. "description": "交易合约ID",
  42675. "type": "integer"
  42676. },
  42677. "lstitem": {
  42678. "description": "商品信息项",
  42679. "type": "array",
  42680. "items": {
  42681. "$ref": "#/definitions/models.WrTypeItem"
  42682. }
  42683. },
  42684. "lststep": {
  42685. "description": "履约规则",
  42686. "type": "array",
  42687. "items": {
  42688. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42689. }
  42690. }
  42691. }
  42692. },
  42693. "models.WrBuybackDetail": {
  42694. "type": "object",
  42695. "properties": {
  42696. "buybackamount": {
  42697. "description": "回购金额",
  42698. "type": "number"
  42699. },
  42700. "buybackqty": {
  42701. "description": "回购数量",
  42702. "type": "number"
  42703. },
  42704. "buybackreleasemargin": {
  42705. "description": "回购释放保证金",
  42706. "type": "number"
  42707. },
  42708. "buybacktime": {
  42709. "description": "回购时间",
  42710. "type": "string"
  42711. },
  42712. "errordesc": {
  42713. "description": "错误描述",
  42714. "type": "string"
  42715. },
  42716. "handlestatus": {
  42717. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  42718. "type": "integer"
  42719. },
  42720. "relatedwrid": {
  42721. "description": "关联仓单ID",
  42722. "type": "integer"
  42723. },
  42724. "scfcontractid": {
  42725. "description": "SCF合同ID",
  42726. "type": "string"
  42727. },
  42728. "scfwrbuybackid": {
  42729. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  42730. "type": "integer"
  42731. },
  42732. "tradedate": {
  42733. "description": "交易日(yyyyMMdd)",
  42734. "type": "string"
  42735. }
  42736. }
  42737. },
  42738. "models.WrClientAdSpaceConfig": {
  42739. "type": "object",
  42740. "properties": {
  42741. "adspaceid": {
  42742. "description": "广告位ID",
  42743. "type": "integer"
  42744. },
  42745. "adspacename": {
  42746. "description": "广告位名称",
  42747. "type": "string"
  42748. },
  42749. "adspacetype": {
  42750. "description": "广告位类型 - 1:固定广告位",
  42751. "type": "integer"
  42752. },
  42753. "areauserid": {
  42754. "description": "所属机构ID",
  42755. "type": "integer"
  42756. },
  42757. "createdate": {
  42758. "description": "创建时间",
  42759. "type": "string"
  42760. },
  42761. "imagepath": {
  42762. "description": "图片",
  42763. "type": "string"
  42764. },
  42765. "modifierid": {
  42766. "description": "操作人",
  42767. "type": "integer"
  42768. },
  42769. "recsize": {
  42770. "description": "推荐尺寸",
  42771. "type": "string"
  42772. },
  42773. "title": {
  42774. "description": "标题",
  42775. "type": "string"
  42776. },
  42777. "updatedate": {
  42778. "description": "更新时间",
  42779. "type": "string"
  42780. },
  42781. "urlcontent": {
  42782. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  42783. "type": "string"
  42784. },
  42785. "urltype": {
  42786. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  42787. "type": "integer"
  42788. }
  42789. }
  42790. },
  42791. "models.WrDeliveryAvalidHoldLB": {
  42792. "type": "object",
  42793. "properties": {
  42794. "accountid": {
  42795. "description": "资金账号",
  42796. "type": "integer"
  42797. },
  42798. "avalidqty": {
  42799. "description": "数量(可点选数量)",
  42800. "type": "number"
  42801. },
  42802. "deliverygoodsid": {
  42803. "description": "品种id",
  42804. "type": "integer"
  42805. },
  42806. "enumdicname": {
  42807. "description": "单位名称",
  42808. "type": "string"
  42809. },
  42810. "goodsid": {
  42811. "description": "x合约商品id",
  42812. "type": "integer"
  42813. },
  42814. "ladingbillid": {
  42815. "description": "提单id",
  42816. "type": "string"
  42817. },
  42818. "pgoodscode": {
  42819. "description": "p商品代码(点价合约)",
  42820. "type": "string"
  42821. },
  42822. "pgoodsid": {
  42823. "description": "p商品id(点价合约)",
  42824. "type": "integer"
  42825. },
  42826. "pgoodsname": {
  42827. "description": "p商品名称(点价合约)",
  42828. "type": "string"
  42829. },
  42830. "pricemove": {
  42831. "description": "升贴水",
  42832. "type": "number"
  42833. },
  42834. "subnum": {
  42835. "description": "提单子id",
  42836. "type": "integer"
  42837. },
  42838. "userid": {
  42839. "description": "用户id",
  42840. "type": "integer"
  42841. },
  42842. "username": {
  42843. "description": "仓单持有人",
  42844. "type": "string"
  42845. },
  42846. "warehousecode": {
  42847. "description": "仓库代码",
  42848. "type": "string"
  42849. },
  42850. "warehouseid": {
  42851. "description": "仓库id",
  42852. "type": "integer"
  42853. },
  42854. "warehousename": {
  42855. "description": "仓库名称",
  42856. "type": "string"
  42857. },
  42858. "wrfactortypeid": {
  42859. "description": "仓单要素id",
  42860. "type": "string"
  42861. },
  42862. "wrstandardcode": {
  42863. "description": "品代码",
  42864. "type": "string"
  42865. },
  42866. "wrstandardid": {
  42867. "description": "品类d",
  42868. "type": "integer"
  42869. },
  42870. "wrstandardname": {
  42871. "description": "品类名称",
  42872. "type": "string"
  42873. },
  42874. "wrtypename": {
  42875. "description": "商品",
  42876. "type": "string"
  42877. },
  42878. "xgoodscode": {
  42879. "description": "x合约代码",
  42880. "type": "string"
  42881. },
  42882. "xgoodsname": {
  42883. "description": "x合约名称",
  42884. "type": "string"
  42885. }
  42886. }
  42887. },
  42888. "models.WrDeliveryDetail": {
  42889. "type": "object",
  42890. "properties": {
  42891. "accountid": {
  42892. "description": "账号ID",
  42893. "type": "integer"
  42894. },
  42895. "averageprice": {
  42896. "description": "期初均价",
  42897. "type": "number"
  42898. },
  42899. "begindate": {
  42900. "description": "开始交易日(yyyymmdd)",
  42901. "type": "string"
  42902. },
  42903. "buyorsell": {
  42904. "description": "方向 - 0:买 1:卖",
  42905. "type": "integer"
  42906. },
  42907. "deliveryamount": {
  42908. "description": "货款金额(X总货款+P总货款)",
  42909. "type": "number"
  42910. },
  42911. "deliveryid": {
  42912. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  42913. "type": "string"
  42914. },
  42915. "deliveryorderid": {
  42916. "description": "申报单号",
  42917. "type": "string"
  42918. },
  42919. "deliverypricemove": {
  42920. "description": "升贴水(升贴水总额)",
  42921. "type": "number"
  42922. },
  42923. "deliveryqty": {
  42924. "description": "交收数量(点选数量)",
  42925. "type": "number"
  42926. },
  42927. "deliverystatus": {
  42928. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  42929. "type": "integer"
  42930. },
  42931. "deliverytime": {
  42932. "description": "交割时间",
  42933. "type": "string"
  42934. },
  42935. "deliverytotalamount": {
  42936. "description": "交收金额",
  42937. "type": "number"
  42938. },
  42939. "enddate": {
  42940. "description": "结束交易日(yyyymmdd)",
  42941. "type": "string"
  42942. },
  42943. "enumdicname": {
  42944. "description": "单位名称",
  42945. "type": "string"
  42946. },
  42947. "matchaccountid": {
  42948. "description": "对手账号ID",
  42949. "type": "integer"
  42950. },
  42951. "matchusername": {
  42952. "description": "对手方名称(仓单持有人)",
  42953. "type": "string"
  42954. },
  42955. "p1goodsremainamount": {
  42956. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42957. "type": "number"
  42958. },
  42959. "pdeliverycloseqty": {
  42960. "description": "p合约平仓数量",
  42961. "type": "number"
  42962. },
  42963. "pdeliveryprice": {
  42964. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42965. "type": "number"
  42966. },
  42967. "pgoodscode": {
  42968. "description": "商品代码",
  42969. "type": "string"
  42970. },
  42971. "pgoodsid": {
  42972. "description": "p点选合约id",
  42973. "type": "integer"
  42974. },
  42975. "pgoodsname": {
  42976. "description": "商品名称",
  42977. "type": "string"
  42978. },
  42979. "ppricemode": {
  42980. "description": "点价价格方式 - 1:商品价 2:固定值",
  42981. "type": "integer"
  42982. },
  42983. "tradedate": {
  42984. "description": "交易日(yyyymmdd)",
  42985. "type": "string"
  42986. },
  42987. "userid": {
  42988. "description": "用户id",
  42989. "type": "integer"
  42990. },
  42991. "username": {
  42992. "description": "用户名称",
  42993. "type": "string"
  42994. },
  42995. "warehousename": {
  42996. "description": "仓库名称",
  42997. "type": "string"
  42998. },
  42999. "wrfactortypeid": {
  43000. "description": "仓单要素类型ID",
  43001. "type": "string"
  43002. },
  43003. "wrtypename": {
  43004. "description": "商品",
  43005. "type": "string"
  43006. },
  43007. "xdeliverycloseqty": {
  43008. "description": "合约数量",
  43009. "type": "number"
  43010. },
  43011. "xgoodsamount": {
  43012. "description": "期初均价",
  43013. "type": "number"
  43014. },
  43015. "xgoodscode": {
  43016. "description": "商品代码",
  43017. "type": "string"
  43018. },
  43019. "xgoodsid": {
  43020. "description": "x交易合约ID",
  43021. "type": "integer"
  43022. },
  43023. "xgoodsname": {
  43024. "description": "商品名称",
  43025. "type": "string"
  43026. }
  43027. }
  43028. },
  43029. "models.WrDeliveryGoodsSection": {
  43030. "type": "object",
  43031. "properties": {
  43032. "dglst": {
  43033. "description": "板块商品列表",
  43034. "type": "array",
  43035. "items": {
  43036. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  43037. }
  43038. },
  43039. "imagepath": {
  43040. "description": "图片地址",
  43041. "type": "string"
  43042. },
  43043. "orderindex": {
  43044. "description": "排序",
  43045. "type": "integer"
  43046. },
  43047. "sectionid": {
  43048. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  43049. "type": "integer"
  43050. },
  43051. "sectionname": {
  43052. "description": "版块名称",
  43053. "type": "string"
  43054. },
  43055. "sectiontype": {
  43056. "description": "版块类型 - 1:指数版块 2:普通版块",
  43057. "type": "integer"
  43058. }
  43059. }
  43060. },
  43061. "models.WrDeliveryGoodsSectionConfig": {
  43062. "type": "object",
  43063. "properties": {
  43064. "deliverygoodscode": {
  43065. "description": "现货商品代码",
  43066. "type": "string"
  43067. },
  43068. "deliverygoodsid": {
  43069. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43070. "type": "integer"
  43071. },
  43072. "deliverygoodsname": {
  43073. "description": "现货商品名称",
  43074. "type": "string"
  43075. },
  43076. "orderindex": {
  43077. "description": "排序",
  43078. "type": "integer"
  43079. }
  43080. }
  43081. },
  43082. "models.WrDraftUserInfo": {
  43083. "type": "object",
  43084. "properties": {
  43085. "address": {
  43086. "description": "地址",
  43087. "type": "string"
  43088. },
  43089. "attachment1": {
  43090. "description": "附件1",
  43091. "type": "string"
  43092. },
  43093. "attachment2": {
  43094. "description": "附件2",
  43095. "type": "string"
  43096. },
  43097. "attachment3": {
  43098. "description": "附件3",
  43099. "type": "string"
  43100. },
  43101. "attachment4": {
  43102. "description": "附件4",
  43103. "type": "string"
  43104. },
  43105. "attachment5": {
  43106. "description": "附件5",
  43107. "type": "string"
  43108. },
  43109. "bankaccount": {
  43110. "description": "银行帐号 (加密存储)",
  43111. "type": "string"
  43112. },
  43113. "bankaccountname": {
  43114. "description": "收款人名称",
  43115. "type": "string"
  43116. },
  43117. "bankcardfrontphotourl": {
  43118. "description": "银行卡正面照地址",
  43119. "type": "string"
  43120. },
  43121. "bankid": {
  43122. "description": "银行编码",
  43123. "type": "string"
  43124. },
  43125. "bankname": {
  43126. "description": "银行名称",
  43127. "type": "string"
  43128. },
  43129. "birthday": {
  43130. "description": "生日(个人:年月日)",
  43131. "type": "string"
  43132. },
  43133. "biznature": {
  43134. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  43135. "type": "integer"
  43136. },
  43137. "bizscope": {
  43138. "description": "企业经营范围(企业)",
  43139. "type": "string"
  43140. },
  43141. "biztype": {
  43142. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  43143. "type": "integer"
  43144. },
  43145. "cardbackphotourl": {
  43146. "description": "证件背面图片地址",
  43147. "type": "string"
  43148. },
  43149. "cardfrontphotourl": {
  43150. "description": "证件正面图片地址",
  43151. "type": "string"
  43152. },
  43153. "cardnum": {
  43154. "description": "证件号码(加密存储)",
  43155. "type": "string"
  43156. },
  43157. "cardtypeid": {
  43158. "description": "证件类型ID",
  43159. "type": "integer"
  43160. },
  43161. "cityid": {
  43162. "description": "市",
  43163. "type": "integer"
  43164. },
  43165. "company": {
  43166. "description": "公司(个人)",
  43167. "type": "string"
  43168. },
  43169. "contactcardbackphotourl": {
  43170. "description": "联系人证件背面图片地址",
  43171. "type": "string"
  43172. },
  43173. "contactcardfrontphotourl": {
  43174. "description": "联系人证件正面图片地址",
  43175. "type": "string"
  43176. },
  43177. "contactname": {
  43178. "description": "联系人",
  43179. "type": "string"
  43180. },
  43181. "countryid": {
  43182. "description": "国家",
  43183. "type": "integer"
  43184. },
  43185. "createtime": {
  43186. "description": "创建时间",
  43187. "type": "string"
  43188. },
  43189. "creatorid": {
  43190. "description": "创建人",
  43191. "type": "integer"
  43192. },
  43193. "creditquota": {
  43194. "description": "授信额度(金瑞)",
  43195. "type": "number"
  43196. },
  43197. "customername": {
  43198. "description": "客户名称(企业名称)",
  43199. "type": "string"
  43200. },
  43201. "districtid": {
  43202. "description": "地区",
  43203. "type": "integer"
  43204. },
  43205. "email": {
  43206. "description": "邮件(加密存储)",
  43207. "type": "string"
  43208. },
  43209. "fax": {
  43210. "description": "传真(加密存储)",
  43211. "type": "string"
  43212. },
  43213. "halfbodyphotourl": {
  43214. "description": "半身照地址",
  43215. "type": "string"
  43216. },
  43217. "hasencrypt": {
  43218. "description": "数据是否已加密 - 0:未加密 1:已加密",
  43219. "type": "integer"
  43220. },
  43221. "headurl": {
  43222. "description": "头像地址",
  43223. "type": "string"
  43224. },
  43225. "legalcardbackphotourl": {
  43226. "description": "法人身份证背面照地址",
  43227. "type": "string"
  43228. },
  43229. "legalcardfrontphotourl": {
  43230. "description": "法人身份证正面照地址",
  43231. "type": "string"
  43232. },
  43233. "legalpersonname": {
  43234. "description": "法人姓名(企业)",
  43235. "type": "string"
  43236. },
  43237. "mobile": {
  43238. "description": "手机号码(加密存储)",
  43239. "type": "string"
  43240. },
  43241. "mobile2": {
  43242. "description": "手机号码[明文-尚志]",
  43243. "type": "string"
  43244. },
  43245. "modifierid": {
  43246. "description": "修改人",
  43247. "type": "integer"
  43248. },
  43249. "modifiertime": {
  43250. "description": "修改时间",
  43251. "type": "string"
  43252. },
  43253. "needinvoice": {
  43254. "description": "是否需要发票 - 0:不需要 1:需要",
  43255. "type": "integer"
  43256. },
  43257. "nickname": {
  43258. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  43259. "type": "string"
  43260. },
  43261. "openmode": {
  43262. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  43263. "type": "integer"
  43264. },
  43265. "otherurl": {
  43266. "description": "其它图片地址[使用分号分隔]",
  43267. "type": "string"
  43268. },
  43269. "postalcode": {
  43270. "description": "邮政编码",
  43271. "type": "string"
  43272. },
  43273. "provinceid": {
  43274. "description": "省",
  43275. "type": "integer"
  43276. },
  43277. "proxystatementurl": {
  43278. "description": "授权委托书",
  43279. "type": "string"
  43280. },
  43281. "qq": {
  43282. "description": "QQ(加密存储",
  43283. "type": "string"
  43284. },
  43285. "remark": {
  43286. "description": "备注",
  43287. "type": "string"
  43288. },
  43289. "sex": {
  43290. "description": "用户性别 0: 女 1: 男",
  43291. "type": "integer"
  43292. },
  43293. "signpdfurl": {
  43294. "description": "签约pdf文件",
  43295. "type": "string"
  43296. },
  43297. "taxpayernum": {
  43298. "description": "纳税人识别号",
  43299. "type": "string"
  43300. },
  43301. "telphone": {
  43302. "description": "联系电话(加密存储)",
  43303. "type": "string"
  43304. },
  43305. "userid": {
  43306. "description": "用户ID",
  43307. "type": "integer"
  43308. },
  43309. "userinfotype": {
  43310. "description": "用户信息类型 - 1:个人 2:企业",
  43311. "type": "integer"
  43312. },
  43313. "userstatus": {
  43314. "description": "用户状态 - 1:正常 2:注销",
  43315. "type": "integer"
  43316. },
  43317. "usertype": {
  43318. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  43319. "type": "integer"
  43320. },
  43321. "wechat": {
  43322. "description": "微信(加密存储)",
  43323. "type": "string"
  43324. },
  43325. "wskhinfo": {
  43326. "description": "开户申请信息(JSON)",
  43327. "type": "string"
  43328. }
  43329. }
  43330. },
  43331. "models.WrFAProductDetail": {
  43332. "type": "object",
  43333. "properties": {
  43334. "accountid": {
  43335. "description": "资金账号",
  43336. "type": "integer"
  43337. },
  43338. "areauserid": {
  43339. "description": "金融机构ID",
  43340. "type": "integer"
  43341. },
  43342. "financingdays": {
  43343. "description": "天数(天)",
  43344. "type": "integer"
  43345. },
  43346. "interestminlen": {
  43347. "description": "最小起息天数",
  43348. "type": "integer"
  43349. },
  43350. "interestrate": {
  43351. "description": "利率",
  43352. "type": "number"
  43353. },
  43354. "interestratemode": {
  43355. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  43356. "type": "integer"
  43357. },
  43358. "interestsettlemode": {
  43359. "description": "结息方式 - 1:按日结息 3:按月结息",
  43360. "type": "integer"
  43361. },
  43362. "interestsettlevalue": {
  43363. "description": "结息方式值",
  43364. "type": "integer"
  43365. },
  43366. "isautoloan": {
  43367. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  43368. "type": "integer"
  43369. },
  43370. "loantag": {
  43371. "description": "放款标识: \"放款快\" 或者为空",
  43372. "type": "string"
  43373. },
  43374. "marginratio": {
  43375. "description": "保证金比率质押率 - [仓单质押]",
  43376. "type": "number"
  43377. },
  43378. "productdetailid": {
  43379. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  43380. "type": "integer"
  43381. },
  43382. "productid": {
  43383. "description": "金融产品ID",
  43384. "type": "integer"
  43385. },
  43386. "productname": {
  43387. "description": "产品名称",
  43388. "type": "string"
  43389. },
  43390. "updatetime": {
  43391. "description": "更新时间",
  43392. "type": "string"
  43393. },
  43394. "username": {
  43395. "description": "融出方",
  43396. "type": "string"
  43397. }
  43398. }
  43399. },
  43400. "models.WrFactorTypeInfo": {
  43401. "type": "object",
  43402. "properties": {
  43403. "deliverygoodscode": {
  43404. "description": "品种代码",
  43405. "type": "string"
  43406. },
  43407. "deliverygoodsname": {
  43408. "description": "品种名称",
  43409. "type": "string"
  43410. },
  43411. "dgfactoryitemid": {
  43412. "description": "选择项id",
  43413. "type": "integer"
  43414. },
  43415. "dgfactoryitemtypeid": {
  43416. "description": "要素选择项ID (1-仓库 2-品牌)",
  43417. "type": "integer"
  43418. },
  43419. "dgfactoryitemvalue": {
  43420. "description": "要素项值",
  43421. "type": "string"
  43422. },
  43423. "itemtypename": {
  43424. "description": "要素项名称",
  43425. "type": "string"
  43426. },
  43427. "optioncompare": {
  43428. "description": "选择比较串",
  43429. "type": "string"
  43430. },
  43431. "warehouseid": {
  43432. "description": "仓库id",
  43433. "type": "integer"
  43434. },
  43435. "wrfactortypeid": {
  43436. "description": "仓单要素ID",
  43437. "type": "string"
  43438. },
  43439. "wrfactortypename": {
  43440. "description": "要素名称",
  43441. "type": "string"
  43442. },
  43443. "wrfactortypename2": {
  43444. "description": "要素名称(不含仓库)",
  43445. "type": "string"
  43446. },
  43447. "wrstandardcode": {
  43448. "description": "品类代码",
  43449. "type": "string"
  43450. },
  43451. "wrstandardid": {
  43452. "description": "品类id",
  43453. "type": "integer"
  43454. },
  43455. "wrstandardname": {
  43456. "description": "品类名称",
  43457. "type": "string"
  43458. }
  43459. }
  43460. },
  43461. "models.WrFilterItem": {
  43462. "type": "object",
  43463. "properties": {
  43464. "itemcode": {
  43465. "description": "代码",
  43466. "type": "string"
  43467. },
  43468. "itemid": {
  43469. "description": "项id",
  43470. "type": "integer"
  43471. },
  43472. "itemname": {
  43473. "description": "名称",
  43474. "type": "string"
  43475. },
  43476. "itemtype": {
  43477. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  43478. "type": "integer"
  43479. }
  43480. }
  43481. },
  43482. "models.WrFinanceBuyApply": {
  43483. "type": "object",
  43484. "properties": {
  43485. "applydate": {
  43486. "description": "申请时间",
  43487. "type": "string"
  43488. },
  43489. "applystatus": {
  43490. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  43491. "type": "integer"
  43492. },
  43493. "applyuserid": {
  43494. "description": "申请人",
  43495. "type": "integer"
  43496. },
  43497. "auditdate": {
  43498. "description": "审核时间",
  43499. "type": "string"
  43500. },
  43501. "auditremark": {
  43502. "description": "审核备注",
  43503. "type": "string"
  43504. },
  43505. "audituserid": {
  43506. "description": "审核人",
  43507. "type": "integer"
  43508. },
  43509. "buyaccountid": {
  43510. "description": "买方资金账号",
  43511. "type": "integer"
  43512. },
  43513. "buyorsell": {
  43514. "description": "买卖 - 0:买 1:卖",
  43515. "type": "integer"
  43516. },
  43517. "buyuserid": {
  43518. "description": "买方用户ID",
  43519. "type": "integer"
  43520. },
  43521. "buyusername": {
  43522. "description": "买方名称",
  43523. "type": "string"
  43524. },
  43525. "buywrtradeorderid": {
  43526. "description": "融资方买委托单ID",
  43527. "type": "string"
  43528. },
  43529. "deliverygoodscode": {
  43530. "description": "品种代码",
  43531. "type": "string"
  43532. },
  43533. "deliverygoodsid": {
  43534. "description": "品种ID",
  43535. "type": "integer"
  43536. },
  43537. "deliverygoodsname": {
  43538. "description": "品种名称",
  43539. "type": "string"
  43540. },
  43541. "deliverymonth": {
  43542. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  43543. "type": "string"
  43544. },
  43545. "enumdicname": {
  43546. "description": "单位名称",
  43547. "type": "string"
  43548. },
  43549. "financeaccountid": {
  43550. "description": "融资方资金帐户ID",
  43551. "type": "integer"
  43552. },
  43553. "financeapplyid": {
  43554. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43555. "type": "string"
  43556. },
  43557. "financeareauserid": {
  43558. "description": "融资方用户ID",
  43559. "type": "string"
  43560. },
  43561. "financename": {
  43562. "description": "融出方名称",
  43563. "type": "string"
  43564. },
  43565. "financetype": {
  43566. "description": "融资类型 1-融资回购",
  43567. "type": "integer"
  43568. },
  43569. "financingdays": {
  43570. "description": "天数(天)",
  43571. "type": "integer"
  43572. },
  43573. "freezebuymargin": {
  43574. "description": "冻结融资保证金(买方)",
  43575. "type": "number"
  43576. },
  43577. "handleremark": {
  43578. "description": "处理备注",
  43579. "type": "string"
  43580. },
  43581. "handlestatus": {
  43582. "description": "处理状态",
  43583. "type": "integer"
  43584. },
  43585. "interestminlen": {
  43586. "description": "最小起息天数",
  43587. "type": "integer"
  43588. },
  43589. "interestrate": {
  43590. "description": "利率",
  43591. "type": "number"
  43592. },
  43593. "interestratemode": {
  43594. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  43595. "type": "integer"
  43596. },
  43597. "interestsettlemode": {
  43598. "description": "结息方式 - 1:按日结息 3:按月结息",
  43599. "type": "integer"
  43600. },
  43601. "interestsettlevalue": {
  43602. "description": "结息方式值",
  43603. "type": "integer"
  43604. },
  43605. "isautoloan": {
  43606. "description": "是否自动放款 - 0:手动 1:自动",
  43607. "type": "integer"
  43608. },
  43609. "marginratio": {
  43610. "description": "保证金比率质押率 - [仓单质押]",
  43611. "type": "number"
  43612. },
  43613. "marketid": {
  43614. "description": "市场ID",
  43615. "type": "integer"
  43616. },
  43617. "minivalue": {
  43618. "description": "现货商品最小变动值",
  43619. "type": "integer"
  43620. },
  43621. "optioncompare": {
  43622. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43623. "type": "string"
  43624. },
  43625. "orderqty": {
  43626. "description": "委托数量(商品数量)",
  43627. "type": "number"
  43628. },
  43629. "productdetailid": {
  43630. "description": "产品组合ID",
  43631. "type": "integer"
  43632. },
  43633. "productid": {
  43634. "description": "金融产品ID",
  43635. "type": "integer"
  43636. },
  43637. "productname": {
  43638. "description": "产品名称",
  43639. "type": "string"
  43640. },
  43641. "remark": {
  43642. "description": "备注",
  43643. "type": "string"
  43644. },
  43645. "scfcontractid": {
  43646. "description": "仓单回购合同ID",
  43647. "type": "string"
  43648. },
  43649. "sellaccountid": {
  43650. "description": "卖方资金账号",
  43651. "type": "integer"
  43652. },
  43653. "selluserid": {
  43654. "description": "卖方用户ID",
  43655. "type": "integer"
  43656. },
  43657. "sellwrtradeorderid": {
  43658. "description": "卖方委托单ID",
  43659. "type": "string"
  43660. },
  43661. "tradeamount": {
  43662. "description": "成交金额(借款金额)",
  43663. "type": "number"
  43664. },
  43665. "tradedate": {
  43666. "description": "交易日(yyyyMMdd)",
  43667. "type": "string"
  43668. },
  43669. "tradeprice": {
  43670. "description": "成交价格",
  43671. "type": "number"
  43672. },
  43673. "warehouseid": {
  43674. "description": "仓库ID",
  43675. "type": "integer"
  43676. },
  43677. "warehousename": {
  43678. "description": "仓库名称",
  43679. "type": "string"
  43680. },
  43681. "wrfactortypeid": {
  43682. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43683. "type": "string"
  43684. },
  43685. "wrfactortypename": {
  43686. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43687. "type": "string"
  43688. },
  43689. "wrpricetype": {
  43690. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  43691. "type": "integer"
  43692. },
  43693. "wrstandardcode": {
  43694. "description": "现货商品代码",
  43695. "type": "string"
  43696. },
  43697. "wrstandardid": {
  43698. "description": "现货商品ID",
  43699. "type": "integer"
  43700. },
  43701. "wrstandardname": {
  43702. "description": "商品名称",
  43703. "type": "string"
  43704. },
  43705. "wrtypename": {
  43706. "description": "商品",
  43707. "type": "string"
  43708. }
  43709. }
  43710. },
  43711. "models.WrFriendApply": {
  43712. "type": "object",
  43713. "properties": {
  43714. "applicantid": {
  43715. "description": "申请人",
  43716. "type": "integer"
  43717. },
  43718. "applyname": {
  43719. "description": "申请人名称",
  43720. "type": "string"
  43721. },
  43722. "applysrc": {
  43723. "description": "申请来源 - 1:管理端 2:终端",
  43724. "type": "integer"
  43725. },
  43726. "applystatus": {
  43727. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  43728. "type": "integer"
  43729. },
  43730. "applytime": {
  43731. "description": "申请时间",
  43732. "type": "string"
  43733. },
  43734. "auditname": {
  43735. "description": "审核人名称",
  43736. "type": "string"
  43737. },
  43738. "auditorid": {
  43739. "description": "审核人",
  43740. "type": "integer"
  43741. },
  43742. "auditremark": {
  43743. "description": "审核备注",
  43744. "type": "string"
  43745. },
  43746. "auditsrc": {
  43747. "description": "审核来源 - 1:管理端 2:终端",
  43748. "type": "integer"
  43749. },
  43750. "audittime": {
  43751. "description": "审核时间",
  43752. "type": "string"
  43753. },
  43754. "friendapplyid": {
  43755. "description": "申请ID(SEQ_FRIENDAPPLY)",
  43756. "type": "string"
  43757. },
  43758. "friendname": {
  43759. "description": "好友名字(已脱敏)",
  43760. "type": "string"
  43761. },
  43762. "frienduserid": {
  43763. "description": "好友用户ID",
  43764. "type": "string"
  43765. },
  43766. "remark": {
  43767. "description": "备注",
  43768. "type": "string"
  43769. },
  43770. "userid": {
  43771. "description": "申请人用户ID",
  43772. "type": "integer"
  43773. }
  43774. }
  43775. },
  43776. "models.WrFtDeliveryGoods": {
  43777. "type": "object",
  43778. "properties": {
  43779. "deliverygoodscode": {
  43780. "description": "品种代码",
  43781. "type": "string"
  43782. },
  43783. "deliverygoodsid": {
  43784. "description": "品种ID",
  43785. "type": "integer"
  43786. },
  43787. "deliverygoodsname": {
  43788. "description": "品种名称",
  43789. "type": "string"
  43790. },
  43791. "wdlst": {
  43792. "description": "商品列表",
  43793. "type": "array",
  43794. "items": {
  43795. "$ref": "#/definitions/models.WrFtWrstandard"
  43796. }
  43797. }
  43798. }
  43799. },
  43800. "models.WrFtWrstandard": {
  43801. "type": "object",
  43802. "properties": {
  43803. "enumdicname": {
  43804. "description": "单位名称",
  43805. "type": "string"
  43806. },
  43807. "minivalue": {
  43808. "description": "最小变动值",
  43809. "type": "integer"
  43810. },
  43811. "wrstandardcode": {
  43812. "description": "现货商品代码",
  43813. "type": "string"
  43814. },
  43815. "wrstandardid": {
  43816. "description": "现货商品ID",
  43817. "type": "integer"
  43818. },
  43819. "wrstandardname": {
  43820. "description": "商品名称",
  43821. "type": "string"
  43822. }
  43823. }
  43824. },
  43825. "models.WrGoodsInfo": {
  43826. "type": "object",
  43827. "properties": {
  43828. "haswr": {
  43829. "description": "0:仓单预售 1:仓单贸易",
  43830. "type": "integer"
  43831. },
  43832. "lstitem": {
  43833. "description": "商品信息项",
  43834. "type": "array",
  43835. "items": {
  43836. "$ref": "#/definitions/models.WrTypeItem"
  43837. }
  43838. },
  43839. "lststep": {
  43840. "description": "履约规则",
  43841. "type": "array",
  43842. "items": {
  43843. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  43844. }
  43845. },
  43846. "marketid": {
  43847. "description": "市场id",
  43848. "type": "integer"
  43849. }
  43850. }
  43851. },
  43852. "models.WrGoodsPerformanceStep": {
  43853. "type": "object",
  43854. "properties": {
  43855. "autoid": {
  43856. "description": "AutoID",
  43857. "type": "integer"
  43858. },
  43859. "isauto": {
  43860. "description": "是否自动 - 0:不自动 1:自动",
  43861. "type": "integer"
  43862. },
  43863. "remark": {
  43864. "description": "备注",
  43865. "type": "string"
  43866. },
  43867. "stepdate": {
  43868. "description": "天数信息(T+N)",
  43869. "type": "string"
  43870. },
  43871. "stepdays": {
  43872. "description": "距离上一步天数",
  43873. "type": "integer"
  43874. },
  43875. "stepindex": {
  43876. "description": "步骤序号",
  43877. "type": "integer"
  43878. },
  43879. "stepinfo": {
  43880. "description": "步骤信息(步骤名称+步骤值)",
  43881. "type": "string"
  43882. },
  43883. "steptypeid": {
  43884. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43885. "type": "integer"
  43886. },
  43887. "steptypename": {
  43888. "description": "步骤名称",
  43889. "type": "string"
  43890. },
  43891. "stepvalue": {
  43892. "description": "期初均价",
  43893. "type": "number"
  43894. },
  43895. "templateid": {
  43896. "description": "履约计划模板ID",
  43897. "type": "integer"
  43898. }
  43899. }
  43900. },
  43901. "models.WrHoldLB": {
  43902. "type": "object",
  43903. "properties": {
  43904. "accountid": {
  43905. "description": "持有人帐户ID",
  43906. "type": "integer"
  43907. },
  43908. "bannerpicurl": {
  43909. "description": "Banner图",
  43910. "type": "string"
  43911. },
  43912. "createtime": {
  43913. "description": "创建时间(过户时间)",
  43914. "type": "string"
  43915. },
  43916. "deliverygoodscode": {
  43917. "description": "品种代码",
  43918. "type": "string"
  43919. },
  43920. "deliverygoodsid": {
  43921. "description": "品种ID",
  43922. "type": "integer"
  43923. },
  43924. "deliverygoodsname": {
  43925. "description": "品种名称",
  43926. "type": "string"
  43927. },
  43928. "enableqty": {
  43929. "description": "可用数量",
  43930. "type": "number"
  43931. },
  43932. "enumdicname": {
  43933. "description": "单位名称",
  43934. "type": "string"
  43935. },
  43936. "freezerqty": {
  43937. "description": "冻结数量",
  43938. "type": "number"
  43939. },
  43940. "ladingbillid": {
  43941. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43942. "type": "string"
  43943. },
  43944. "minivalue": {
  43945. "description": "现货商品最小变动值",
  43946. "type": "integer"
  43947. },
  43948. "optioncompare": {
  43949. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43950. "type": "string"
  43951. },
  43952. "parentsubnum": {
  43953. "description": "拆分父子单号",
  43954. "type": "integer"
  43955. },
  43956. "pledgeqty": {
  43957. "description": "质押数量",
  43958. "type": "number"
  43959. },
  43960. "qty": {
  43961. "description": "数量",
  43962. "type": "number"
  43963. },
  43964. "subnum": {
  43965. "description": "提单子单号",
  43966. "type": "integer"
  43967. },
  43968. "thumurls": {
  43969. "description": "缩略图",
  43970. "type": "string"
  43971. },
  43972. "tradedate": {
  43973. "description": "交易日(yyyyMMdd)",
  43974. "type": "string"
  43975. },
  43976. "userid": {
  43977. "description": "持有人ID",
  43978. "type": "integer"
  43979. },
  43980. "warehouseid": {
  43981. "description": "仓库ID",
  43982. "type": "integer"
  43983. },
  43984. "warehousename": {
  43985. "description": "仓库名称",
  43986. "type": "string"
  43987. },
  43988. "wrfactortypeid": {
  43989. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43990. "type": "string"
  43991. },
  43992. "wrfactortypename": {
  43993. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43994. "type": "string"
  43995. },
  43996. "wrholdeno": {
  43997. "description": "仓单编号",
  43998. "type": "string"
  43999. },
  44000. "wrid": {
  44001. "description": "仓单变更ID",
  44002. "type": "string"
  44003. },
  44004. "wrstandardcode": {
  44005. "description": "现货商品代码",
  44006. "type": "string"
  44007. },
  44008. "wrstandardid": {
  44009. "description": "现货商品ID",
  44010. "type": "integer"
  44011. },
  44012. "wrstandardname": {
  44013. "description": "商品名称",
  44014. "type": "string"
  44015. },
  44016. "wrtypename": {
  44017. "description": "商品",
  44018. "type": "string"
  44019. }
  44020. }
  44021. },
  44022. "models.WrMarketTradeConfig": {
  44023. "type": "object",
  44024. "properties": {
  44025. "basisdownratio": {
  44026. "description": "浮动价基差下限比例(仓单贸易)",
  44027. "type": "number"
  44028. },
  44029. "basisupratio": {
  44030. "description": "浮动价基差上限比例(仓单贸易)",
  44031. "type": "number"
  44032. },
  44033. "buychargealgorithm": {
  44034. "description": "买方手续费收取方式 1:比率 2:固定",
  44035. "type": "integer"
  44036. },
  44037. "buychargealgorithm2": {
  44038. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  44039. "type": "integer"
  44040. },
  44041. "buychargealgorithmvalue": {
  44042. "description": "买方手续费设置值(交易所部分)",
  44043. "type": "number"
  44044. },
  44045. "buychargealgorithmvalue2": {
  44046. "description": "买方手续费设置值(会员部分)",
  44047. "type": "number"
  44048. },
  44049. "buychargealgorithmvalue3": {
  44050. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  44051. "type": "number"
  44052. },
  44053. "buychargealgorithmvalue4": {
  44054. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  44055. "type": "number"
  44056. },
  44057. "buyfirstmarginalgorithm": {
  44058. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  44059. "type": "integer"
  44060. },
  44061. "buyfirstmarginvalue": {
  44062. "description": "买方出价保证金设置值 - [竞拍]",
  44063. "type": "number"
  44064. },
  44065. "buymarginalgorithm": {
  44066. "description": "买方保证金方式 - 1:比率 2:固定",
  44067. "type": "integer"
  44068. },
  44069. "buymarginvalue": {
  44070. "description": "买方保证金设置值",
  44071. "type": "number"
  44072. },
  44073. "buyreleaseratio": {
  44074. "description": "买方释放比率[2:分步履约]",
  44075. "type": "number"
  44076. },
  44077. "executemode": {
  44078. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  44079. "type": "integer"
  44080. },
  44081. "executeside": {
  44082. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  44083. "type": "integer"
  44084. },
  44085. "failedchargealgorithm": {
  44086. "description": "流拍手续费收取方式 1:比率 2:固定",
  44087. "type": "integer"
  44088. },
  44089. "failedchargevalue": {
  44090. "description": "流拍手续费设置值",
  44091. "type": "number"
  44092. },
  44093. "failedchargevalue2": {
  44094. "description": "流拍卖方手续费设置值",
  44095. "type": "number"
  44096. },
  44097. "holddays": {
  44098. "description": "合同期限[2:分步履约]",
  44099. "type": "integer"
  44100. },
  44101. "listingmode": {
  44102. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  44103. "type": "integer"
  44104. },
  44105. "marketid": {
  44106. "description": "市场ID-仓单贸易、竞拍、预售",
  44107. "type": "integer"
  44108. },
  44109. "minqty": {
  44110. "description": "最小执行量[2:分步履约]",
  44111. "type": "number"
  44112. },
  44113. "modifierid": {
  44114. "description": "修改人",
  44115. "type": "integer"
  44116. },
  44117. "nowrquotaflag": {
  44118. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  44119. "type": "integer"
  44120. },
  44121. "performancetempid": {
  44122. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  44123. "type": "integer"
  44124. },
  44125. "performancetempid2": {
  44126. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  44127. "type": "integer"
  44128. },
  44129. "performancetempid2s": {
  44130. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  44131. "type": "string"
  44132. },
  44133. "performancetempids": {
  44134. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  44135. "type": "string"
  44136. },
  44137. "performanceway": {
  44138. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  44139. "type": "integer"
  44140. },
  44141. "sellchargealgorithm": {
  44142. "description": "卖方手续费收取方式 1:比率 2:固定",
  44143. "type": "integer"
  44144. },
  44145. "sellchargealgorithm2": {
  44146. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  44147. "type": "integer"
  44148. },
  44149. "sellchargealgorithmvalue": {
  44150. "description": "卖方手续费设置值(交易所部分)",
  44151. "type": "number"
  44152. },
  44153. "sellchargealgorithmvalue2": {
  44154. "description": "卖方手续费设置值(会员部分)",
  44155. "type": "number"
  44156. },
  44157. "sellchargealgorithmvalue3": {
  44158. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  44159. "type": "number"
  44160. },
  44161. "sellchargealgorithmvalue4": {
  44162. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  44163. "type": "number"
  44164. },
  44165. "sellmarginalgorithm": {
  44166. "description": "卖方保证金方式 - 1:比率 2:固定",
  44167. "type": "integer"
  44168. },
  44169. "sellmarginvalue": {
  44170. "description": "卖方保证金设置值",
  44171. "type": "number"
  44172. },
  44173. "sellmarginvalue2": {
  44174. "description": "卖方保证金设置值(无仓单)",
  44175. "type": "number"
  44176. },
  44177. "sellreleaseratio": {
  44178. "description": "卖方释放比率[2:分步履约]",
  44179. "type": "number"
  44180. },
  44181. "updatetime": {
  44182. "description": "更新时间",
  44183. "type": "string"
  44184. }
  44185. }
  44186. },
  44187. "models.WrOrderDetail": {
  44188. "type": "object",
  44189. "properties": {
  44190. "accountid": {
  44191. "description": "交易账号(资金账号)",
  44192. "type": "integer"
  44193. },
  44194. "allfriendsflag": {
  44195. "description": "是否全好友可见 - 0:否 1:是",
  44196. "type": "integer"
  44197. },
  44198. "amount": {
  44199. "description": "期初均价",
  44200. "type": "number"
  44201. },
  44202. "bannerpicurl": {
  44203. "description": "Banner图",
  44204. "type": "string"
  44205. },
  44206. "begindate": {
  44207. "description": "开始交易日(yyyymmdd)",
  44208. "type": "string"
  44209. },
  44210. "buyorsell": {
  44211. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44212. "type": "integer"
  44213. },
  44214. "canbargain": {
  44215. "description": "是否可议价 - 0:不可 1:可",
  44216. "type": "integer"
  44217. },
  44218. "cancelqty": {
  44219. "description": "撤销数量",
  44220. "type": "number"
  44221. },
  44222. "canpart": {
  44223. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  44224. "type": "integer"
  44225. },
  44226. "delistminqty": {
  44227. "description": "起摘数量",
  44228. "type": "integer"
  44229. },
  44230. "deliverygoodscode": {
  44231. "description": "品种代码",
  44232. "type": "string"
  44233. },
  44234. "deliverygoodsid": {
  44235. "description": "品种ID",
  44236. "type": "integer"
  44237. },
  44238. "deliverygoodsname": {
  44239. "description": "品种名称",
  44240. "type": "string"
  44241. },
  44242. "deliverymonth": {
  44243. "description": "交收月",
  44244. "type": "string"
  44245. },
  44246. "enddate": {
  44247. "description": "结束交易日(yyyymmdd)",
  44248. "type": "string"
  44249. },
  44250. "enumdicname": {
  44251. "description": "单位名称",
  44252. "type": "string"
  44253. },
  44254. "fixedprice": {
  44255. "description": "固定价格 - [挂牌]",
  44256. "type": "number"
  44257. },
  44258. "freezecharge": {
  44259. "description": "期初均价",
  44260. "type": "number"
  44261. },
  44262. "freezemargin": {
  44263. "description": "期初均价",
  44264. "type": "number"
  44265. },
  44266. "futupricemove": {
  44267. "description": "期货升贴水",
  44268. "type": "number"
  44269. },
  44270. "futushow": {
  44271. "description": "期货合约/升贴水",
  44272. "type": "string"
  44273. },
  44274. "goodscode": {
  44275. "description": "期货合约",
  44276. "type": "string"
  44277. },
  44278. "goodsid": {
  44279. "description": "期货商品id",
  44280. "type": "integer"
  44281. },
  44282. "goodsname": {
  44283. "description": "商品名称",
  44284. "type": "string"
  44285. },
  44286. "haswr": {
  44287. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44288. "type": "integer"
  44289. },
  44290. "isspecified": {
  44291. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  44292. "type": "integer"
  44293. },
  44294. "ladingbillid": {
  44295. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  44296. "type": "string"
  44297. },
  44298. "marginvalue": {
  44299. "description": "期初均价",
  44300. "type": "number"
  44301. },
  44302. "marketid": {
  44303. "description": "市场ID",
  44304. "type": "integer"
  44305. },
  44306. "matchusername": {
  44307. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  44308. "type": "string"
  44309. },
  44310. "minivalue": {
  44311. "description": "现货商品最小变动值",
  44312. "type": "integer"
  44313. },
  44314. "optioncompare": {
  44315. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44316. "type": "string"
  44317. },
  44318. "orderqty": {
  44319. "description": "委托数量",
  44320. "type": "number"
  44321. },
  44322. "ordertime": {
  44323. "description": "委托时间(挂牌时间)",
  44324. "type": "string"
  44325. },
  44326. "performancetemplateid": {
  44327. "description": "履约模板id",
  44328. "type": "integer"
  44329. },
  44330. "pricemove": {
  44331. "description": "升贴水(浮动价时填写) - [挂牌]",
  44332. "type": "number"
  44333. },
  44334. "taname": {
  44335. "description": "交易用户名称(资金账号名称)",
  44336. "type": "string"
  44337. },
  44338. "thumurls": {
  44339. "description": "缩略图",
  44340. "type": "string"
  44341. },
  44342. "tradedate": {
  44343. "description": "交易日(yyyyMMdd)",
  44344. "type": "string"
  44345. },
  44346. "tradeprice": {
  44347. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  44348. "type": "number"
  44349. },
  44350. "tradeqty": {
  44351. "description": "成交数量",
  44352. "type": "number"
  44353. },
  44354. "userid": {
  44355. "description": "用户ID",
  44356. "type": "integer"
  44357. },
  44358. "validtime": {
  44359. "description": "挂牌有效期",
  44360. "type": "string"
  44361. },
  44362. "validtype": {
  44363. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  44364. "type": "integer"
  44365. },
  44366. "warehouseid": {
  44367. "description": "仓库ID",
  44368. "type": "integer"
  44369. },
  44370. "warehousename": {
  44371. "description": "仓库名称",
  44372. "type": "string"
  44373. },
  44374. "wrfactortypeid": {
  44375. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44376. "type": "string"
  44377. },
  44378. "wrfactortypename": {
  44379. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44380. "type": "string"
  44381. },
  44382. "wrpricetype": {
  44383. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  44384. "type": "integer"
  44385. },
  44386. "wrstandardcode": {
  44387. "description": "现货商品代码",
  44388. "type": "string"
  44389. },
  44390. "wrstandardid": {
  44391. "description": "现货商品ID",
  44392. "type": "integer"
  44393. },
  44394. "wrstandardname": {
  44395. "description": "商品名称",
  44396. "type": "string"
  44397. },
  44398. "wrtradeorderid": {
  44399. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44400. "type": "string"
  44401. },
  44402. "wrtradeorderstatus": {
  44403. "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:撤单解冻贷款失败",
  44404. "type": "integer"
  44405. },
  44406. "wrtradetype": {
  44407. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  44408. "type": "integer"
  44409. },
  44410. "wrtypename": {
  44411. "description": "商品",
  44412. "type": "string"
  44413. }
  44414. }
  44415. },
  44416. "models.WrOrderQuote": {
  44417. "type": "object",
  44418. "properties": {
  44419. "bannerpicurl": {
  44420. "description": "Banner图",
  44421. "type": "string"
  44422. },
  44423. "buyprice": {
  44424. "description": "买价",
  44425. "type": "number"
  44426. },
  44427. "buypricemove": {
  44428. "description": "买升贴水(基差)",
  44429. "type": "number"
  44430. },
  44431. "buyqty": {
  44432. "description": "买量",
  44433. "type": "number"
  44434. },
  44435. "deliverygoodscode": {
  44436. "description": "品种代码",
  44437. "type": "string"
  44438. },
  44439. "deliverygoodsid": {
  44440. "description": "品种id",
  44441. "type": "integer"
  44442. },
  44443. "deliverygoodsname": {
  44444. "description": "品种名称",
  44445. "type": "string"
  44446. },
  44447. "deliverymonth": {
  44448. "description": "交收月",
  44449. "type": "string"
  44450. },
  44451. "enumdicname": {
  44452. "description": "单位名称",
  44453. "type": "string"
  44454. },
  44455. "goodscode": {
  44456. "description": "商品合约(浮动价列表才有)",
  44457. "type": "string"
  44458. },
  44459. "goodsid": {
  44460. "description": "商品id(浮动价列表才有)",
  44461. "type": "integer"
  44462. },
  44463. "minivalue": {
  44464. "description": "现货商品最小变动值",
  44465. "type": "integer"
  44466. },
  44467. "pictureurls": {
  44468. "description": "详情图片(逗号分隔)",
  44469. "type": "string"
  44470. },
  44471. "sellprice": {
  44472. "description": "卖价",
  44473. "type": "number"
  44474. },
  44475. "sellpricemove": {
  44476. "description": "卖升贴水(基差)",
  44477. "type": "number"
  44478. },
  44479. "sellqty": {
  44480. "description": "卖量",
  44481. "type": "number"
  44482. },
  44483. "thumurls": {
  44484. "description": "缩略图片(1:1)(逗号分隔)",
  44485. "type": "string"
  44486. },
  44487. "warehousecode": {
  44488. "description": "仓库代码",
  44489. "type": "string"
  44490. },
  44491. "warehouseid": {
  44492. "description": "仓库id",
  44493. "type": "integer"
  44494. },
  44495. "warehousename": {
  44496. "description": "仓库名称",
  44497. "type": "string"
  44498. },
  44499. "wrfactortypeid": {
  44500. "description": "仓单要素id",
  44501. "type": "string"
  44502. },
  44503. "wrfactortypename": {
  44504. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44505. "type": "string"
  44506. },
  44507. "wrgoodsname": {
  44508. "description": "商品(商品名称+仓库要素名称 拼接)",
  44509. "type": "string"
  44510. },
  44511. "wrstandardcode": {
  44512. "description": "商品代码",
  44513. "type": "string"
  44514. },
  44515. "wrstandardid": {
  44516. "description": "商品id",
  44517. "type": "integer"
  44518. },
  44519. "wrstandardname": {
  44520. "description": "商品名称",
  44521. "type": "string"
  44522. }
  44523. }
  44524. },
  44525. "models.WrOrderQuoteDetail": {
  44526. "type": "object",
  44527. "properties": {
  44528. "buyorsell": {
  44529. "description": "买卖 - 0:买 1:卖",
  44530. "type": "integer"
  44531. },
  44532. "delistminqty": {
  44533. "description": "期初均价",
  44534. "type": "number"
  44535. },
  44536. "deliverymonth": {
  44537. "description": "交收月",
  44538. "type": "string"
  44539. },
  44540. "enumdicname": {
  44541. "description": "单位名称",
  44542. "type": "string"
  44543. },
  44544. "fixedprice": {
  44545. "description": "买(卖)价",
  44546. "type": "number"
  44547. },
  44548. "marketid": {
  44549. "description": "市场id",
  44550. "type": "integer"
  44551. },
  44552. "minivalue": {
  44553. "description": "现货商品最小变动值",
  44554. "type": "integer"
  44555. },
  44556. "orderqty": {
  44557. "description": "买(卖)量(=委托量-成交量)",
  44558. "type": "number"
  44559. },
  44560. "ordertime": {
  44561. "description": "委托时间",
  44562. "type": "string"
  44563. },
  44564. "pricemove": {
  44565. "description": "买(卖)升贴水- 基差",
  44566. "type": "number"
  44567. },
  44568. "userid": {
  44569. "description": "购买方(销售方)用户ID",
  44570. "type": "integer"
  44571. },
  44572. "username": {
  44573. "description": "购买方(销售方)",
  44574. "type": "string"
  44575. },
  44576. "wrtradeorderid": {
  44577. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44578. "type": "string"
  44579. }
  44580. }
  44581. },
  44582. "models.WrOutInApply": {
  44583. "type": "object",
  44584. "properties": {
  44585. "applyid": {
  44586. "description": "申请单id",
  44587. "type": "string"
  44588. },
  44589. "applystatus": {
  44590. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  44591. "type": "integer"
  44592. },
  44593. "applytime": {
  44594. "description": "申请时间",
  44595. "type": "string"
  44596. },
  44597. "applytype": {
  44598. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  44599. "type": "integer"
  44600. },
  44601. "bannerpicurl": {
  44602. "description": "Banner图",
  44603. "type": "string"
  44604. },
  44605. "begindate": {
  44606. "description": "开始交易日(yyyymmdd)",
  44607. "type": "string"
  44608. },
  44609. "deliverygoodscode": {
  44610. "description": "品种代码",
  44611. "type": "string"
  44612. },
  44613. "deliverygoodsid": {
  44614. "description": "品种ID",
  44615. "type": "integer"
  44616. },
  44617. "deliverygoodsname": {
  44618. "description": "品种名称",
  44619. "type": "string"
  44620. },
  44621. "enddate": {
  44622. "description": "结束交易日(yyyymmdd)",
  44623. "type": "string"
  44624. },
  44625. "enumdicname": {
  44626. "description": "单位名称",
  44627. "type": "string"
  44628. },
  44629. "expresscompany": {
  44630. "description": "物流公司",
  44631. "type": "string"
  44632. },
  44633. "expressnum": {
  44634. "description": "物流单号",
  44635. "type": "string"
  44636. },
  44637. "minivalue": {
  44638. "description": "现货商品最小变动值",
  44639. "type": "integer"
  44640. },
  44641. "optioncompare": {
  44642. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44643. "type": "string"
  44644. },
  44645. "qty": {
  44646. "description": "数量",
  44647. "type": "integer"
  44648. },
  44649. "userid": {
  44650. "description": "用户id",
  44651. "type": "integer"
  44652. },
  44653. "warehouseid": {
  44654. "description": "仓库ID",
  44655. "type": "integer"
  44656. },
  44657. "warehousename": {
  44658. "description": "仓库名称",
  44659. "type": "string"
  44660. },
  44661. "wrfactortypeid": {
  44662. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44663. "type": "string"
  44664. },
  44665. "wrfactortypename": {
  44666. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44667. "type": "string"
  44668. },
  44669. "wrstandardcode": {
  44670. "description": "现货商品代码",
  44671. "type": "string"
  44672. },
  44673. "wrstandardid": {
  44674. "description": "现货商品ID",
  44675. "type": "integer"
  44676. },
  44677. "wrstandardname": {
  44678. "description": "商品名称",
  44679. "type": "string"
  44680. },
  44681. "wrtypename": {
  44682. "description": "商品",
  44683. "type": "string"
  44684. }
  44685. }
  44686. },
  44687. "models.WrPerformancePlan": {
  44688. "type": "object",
  44689. "required": [
  44690. "userid"
  44691. ],
  44692. "properties": {
  44693. "activatemonth": {
  44694. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  44695. "type": "string"
  44696. },
  44697. "amount": {
  44698. "description": "履约金额(总金额)",
  44699. "type": "number"
  44700. },
  44701. "begindate": {
  44702. "description": "开始交易日(yyyymmdd)",
  44703. "type": "string"
  44704. },
  44705. "buyaccountid": {
  44706. "description": "买方账号",
  44707. "type": "integer"
  44708. },
  44709. "buyerfreezeamount": {
  44710. "description": "履约冻结(买履约)",
  44711. "type": "number"
  44712. },
  44713. "buyerfreezeamountremain": {
  44714. "description": "履约冻结剩余(买履约)",
  44715. "type": "number"
  44716. },
  44717. "buyorsell": {
  44718. "description": "买卖方向 0-买 1-卖",
  44719. "type": "integer"
  44720. },
  44721. "buypaidamount": {
  44722. "description": "买方已冻/已扣金额 (已付金额)",
  44723. "type": "number"
  44724. },
  44725. "buyusername": {
  44726. "description": "买方名字",
  44727. "type": "string"
  44728. },
  44729. "contractid": {
  44730. "description": "合同ID",
  44731. "type": "integer"
  44732. },
  44733. "createtime": {
  44734. "description": "创建时间",
  44735. "type": "string"
  44736. },
  44737. "creatorid": {
  44738. "description": "创建人",
  44739. "type": "integer"
  44740. },
  44741. "curstepdeadline": {
  44742. "description": "当前步骤到期时间",
  44743. "type": "string"
  44744. },
  44745. "curstepid": {
  44746. "description": "当前步骤ID",
  44747. "type": "string"
  44748. },
  44749. "curstepname": {
  44750. "description": "当前步骤名称",
  44751. "type": "string"
  44752. },
  44753. "deliverygoodscode": {
  44754. "description": "品种代码",
  44755. "type": "string"
  44756. },
  44757. "deliverygoodsid": {
  44758. "description": "品种ID",
  44759. "type": "integer"
  44760. },
  44761. "deliverygoodsname": {
  44762. "description": "品种名称",
  44763. "type": "string"
  44764. },
  44765. "enddate": {
  44766. "description": "结束交易日(yyyymmdd)",
  44767. "type": "string"
  44768. },
  44769. "enumdicname": {
  44770. "description": "单位名称",
  44771. "type": "string"
  44772. },
  44773. "expressfee": {
  44774. "description": "运费",
  44775. "type": "number"
  44776. },
  44777. "expressfeeconfirmed": {
  44778. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  44779. "type": "integer"
  44780. },
  44781. "hasovershort": {
  44782. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  44783. "type": "integer"
  44784. },
  44785. "haswr": {
  44786. "description": "类型 0-仓单预售 1-仓单贸易",
  44787. "type": "integer"
  44788. },
  44789. "marketid": {
  44790. "description": "市场ID",
  44791. "type": "integer"
  44792. },
  44793. "middleaccountid": {
  44794. "description": "中间商资金账号ID",
  44795. "type": "integer"
  44796. },
  44797. "middleuserid": {
  44798. "description": "中间商用户ID",
  44799. "type": "integer"
  44800. },
  44801. "minivalue": {
  44802. "description": "现货商品最小变动值",
  44803. "type": "integer"
  44804. },
  44805. "optioncompare": {
  44806. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44807. "type": "string"
  44808. },
  44809. "overshortamount": {
  44810. "description": "溢短金额",
  44811. "type": "number"
  44812. },
  44813. "overshortqty": {
  44814. "description": "溢短数量",
  44815. "type": "number"
  44816. },
  44817. "paymenttype": {
  44818. "description": "付款方式 - 1:冻结 2:扣款",
  44819. "type": "integer"
  44820. },
  44821. "performanceplanid": {
  44822. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  44823. "type": "string"
  44824. },
  44825. "performancestatus": {
  44826. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  44827. "type": "integer"
  44828. },
  44829. "performancetype": {
  44830. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  44831. "type": "integer"
  44832. },
  44833. "qty": {
  44834. "description": "履约数量",
  44835. "type": "number"
  44836. },
  44837. "relatedorderid": {
  44838. "description": "关联单号(履约类型的关联单号)",
  44839. "type": "string"
  44840. },
  44841. "remark": {
  44842. "description": "备注",
  44843. "type": "string"
  44844. },
  44845. "sellaccountid": {
  44846. "description": "卖方账号",
  44847. "type": "integer"
  44848. },
  44849. "sellerfreezeamount": {
  44850. "description": "履约冻结(卖履约)",
  44851. "type": "number"
  44852. },
  44853. "sellerfreezeamountremain": {
  44854. "description": "履约冻结剩余(卖履约)",
  44855. "type": "number"
  44856. },
  44857. "sellreceivedamount": {
  44858. "description": "卖方已收金额",
  44859. "type": "number"
  44860. },
  44861. "sellusername": {
  44862. "description": "卖方名字",
  44863. "type": "string"
  44864. },
  44865. "shipremark": {
  44866. "description": "发货备注[物流单号]",
  44867. "type": "string"
  44868. },
  44869. "starttime": {
  44870. "description": "开始时间",
  44871. "type": "string"
  44872. },
  44873. "steptypeid": {
  44874. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44875. "type": "integer"
  44876. },
  44877. "typename": {
  44878. "description": "履约类型 名称",
  44879. "type": "string"
  44880. },
  44881. "unpaidamount": {
  44882. "description": "期初均价",
  44883. "type": "number"
  44884. },
  44885. "userid": {
  44886. "description": "用户id",
  44887. "type": "integer"
  44888. },
  44889. "warehouseid": {
  44890. "description": "仓库ID",
  44891. "type": "integer"
  44892. },
  44893. "warehousename": {
  44894. "description": "仓库名称",
  44895. "type": "string"
  44896. },
  44897. "wrfactortypeid": {
  44898. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44899. "type": "string"
  44900. },
  44901. "wrfactortypename": {
  44902. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44903. "type": "string"
  44904. },
  44905. "wrstandardcode": {
  44906. "description": "现货商品代码",
  44907. "type": "string"
  44908. },
  44909. "wrstandardid": {
  44910. "description": "现货商品ID",
  44911. "type": "integer"
  44912. },
  44913. "wrstandardname": {
  44914. "description": "商品名称",
  44915. "type": "string"
  44916. },
  44917. "wrtransferuserid": {
  44918. "description": "仓单受让用户",
  44919. "type": "integer"
  44920. },
  44921. "wrtypename": {
  44922. "description": "商品",
  44923. "type": "string"
  44924. }
  44925. }
  44926. },
  44927. "models.WrPerformancePlanStep": {
  44928. "type": "object",
  44929. "properties": {
  44930. "delaydays": {
  44931. "description": "延期申请天数",
  44932. "type": "integer"
  44933. },
  44934. "deliverygoodscode": {
  44935. "description": "品种代码",
  44936. "type": "string"
  44937. },
  44938. "deliverygoodsid": {
  44939. "description": "品种ID",
  44940. "type": "integer"
  44941. },
  44942. "deliverygoodsname": {
  44943. "description": "品种名称",
  44944. "type": "string"
  44945. },
  44946. "endtime": {
  44947. "description": "结束日期",
  44948. "type": "string"
  44949. },
  44950. "enumdicname": {
  44951. "description": "单位名称",
  44952. "type": "string"
  44953. },
  44954. "executeside": {
  44955. "description": "步骤执行方 - 1:买方 2:卖方",
  44956. "type": "integer"
  44957. },
  44958. "handlestatus": {
  44959. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  44960. "type": "integer"
  44961. },
  44962. "isauto": {
  44963. "description": "是否自动 - 0:不自动 1:自动",
  44964. "type": "integer"
  44965. },
  44966. "islastreceivestep": {
  44967. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  44968. "type": "integer"
  44969. },
  44970. "minivalue": {
  44971. "description": "现货商品最小变动值",
  44972. "type": "integer"
  44973. },
  44974. "optioncompare": {
  44975. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44976. "type": "string"
  44977. },
  44978. "overdays": {
  44979. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  44980. "type": "integer"
  44981. },
  44982. "performancestepid": {
  44983. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  44984. "type": "string"
  44985. },
  44986. "planid": {
  44987. "description": "所属履约计划ID",
  44988. "type": "string"
  44989. },
  44990. "realamount": {
  44991. "description": "实际完成金额",
  44992. "type": "number"
  44993. },
  44994. "relatedorderid": {
  44995. "description": "关联单号",
  44996. "type": "string"
  44997. },
  44998. "remaindays": {
  44999. "description": "剩余天数",
  45000. "type": "integer"
  45001. },
  45002. "remark": {
  45003. "description": "错误备注",
  45004. "type": "string"
  45005. },
  45006. "starttime": {
  45007. "description": "开始日期",
  45008. "type": "string"
  45009. },
  45010. "stepamount": {
  45011. "description": "步骤金额",
  45012. "type": "number"
  45013. },
  45014. "stepdays": {
  45015. "description": "距离上一步天数(分钟)",
  45016. "type": "integer"
  45017. },
  45018. "stepindex": {
  45019. "description": "步骤序号",
  45020. "type": "integer"
  45021. },
  45022. "steplanchtype": {
  45023. "description": "步骤启动类型 - 1:系统自动 2:手动",
  45024. "type": "integer"
  45025. },
  45026. "stepremark": {
  45027. "description": "步骤备注",
  45028. "type": "string"
  45029. },
  45030. "stepstatus": {
  45031. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  45032. "type": "integer"
  45033. },
  45034. "steptypeid": {
  45035. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  45036. "type": "integer"
  45037. },
  45038. "steptypename": {
  45039. "description": "步骤名称",
  45040. "type": "string"
  45041. },
  45042. "stepvalue": {
  45043. "description": "步骤值",
  45044. "type": "number"
  45045. },
  45046. "warehouseid": {
  45047. "description": "仓库ID",
  45048. "type": "integer"
  45049. },
  45050. "warehousename": {
  45051. "description": "仓库名称",
  45052. "type": "string"
  45053. },
  45054. "wrfactortypeid": {
  45055. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45056. "type": "string"
  45057. },
  45058. "wrfactortypename": {
  45059. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45060. "type": "string"
  45061. },
  45062. "wrstandardcode": {
  45063. "description": "现货商品代码",
  45064. "type": "string"
  45065. },
  45066. "wrstandardid": {
  45067. "description": "现货商品ID",
  45068. "type": "integer"
  45069. },
  45070. "wrstandardname": {
  45071. "description": "商品名称",
  45072. "type": "string"
  45073. },
  45074. "wrtypename": {
  45075. "description": "商品",
  45076. "type": "string"
  45077. }
  45078. }
  45079. },
  45080. "models.WrPerformanceStepType": {
  45081. "type": "object",
  45082. "properties": {
  45083. "canauto": {
  45084. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  45085. "type": "integer"
  45086. },
  45087. "steptypeid": {
  45088. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  45089. "type": "integer"
  45090. },
  45091. "steptypename": {
  45092. "description": "步骤类型名称",
  45093. "type": "string"
  45094. }
  45095. }
  45096. },
  45097. "models.WrPerformanceTemplateEx": {
  45098. "type": "object",
  45099. "properties": {
  45100. "autoid": {
  45101. "description": "AutoID 模板id",
  45102. "type": "integer"
  45103. },
  45104. "createtime": {
  45105. "description": "创建时间",
  45106. "type": "string"
  45107. },
  45108. "creatorid": {
  45109. "description": "创建人",
  45110. "type": "integer"
  45111. },
  45112. "lstStep": {
  45113. "description": "步骤信息列表",
  45114. "type": "array",
  45115. "items": {
  45116. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  45117. }
  45118. },
  45119. "paymenttype": {
  45120. "description": "支付方式 - 1:冻结 2:扣款",
  45121. "type": "integer"
  45122. },
  45123. "takemode": {
  45124. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  45125. "type": "integer"
  45126. },
  45127. "templatename": {
  45128. "description": "模板名称",
  45129. "type": "string"
  45130. },
  45131. "templatetype": {
  45132. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  45133. "type": "integer"
  45134. },
  45135. "userid": {
  45136. "description": "所属用户",
  45137. "type": "integer"
  45138. }
  45139. }
  45140. },
  45141. "models.WrPosition": {
  45142. "type": "object",
  45143. "properties": {
  45144. "accountid": {
  45145. "description": "帐户ID",
  45146. "type": "integer"
  45147. },
  45148. "buyexcuteqty": {
  45149. "description": "采购履约中数量",
  45150. "type": "number"
  45151. },
  45152. "creditcurqty": {
  45153. "description": "授信当前数量(预售仓单:预售当前量)",
  45154. "type": "number"
  45155. },
  45156. "creditenableqty": {
  45157. "description": "授信可用数量(预售仓单: 可用数量)",
  45158. "type": "number"
  45159. },
  45160. "creditfreezeqty": {
  45161. "description": "授信冻结数量(预售仓单: 当前数量)",
  45162. "type": "number"
  45163. },
  45164. "credittotalqty": {
  45165. "description": "授信总数量(预售仓单:预售总量)",
  45166. "type": "number"
  45167. },
  45168. "credittradeqty": {
  45169. "description": "授信成交数量(预售仓单:成交总量)",
  45170. "type": "number"
  45171. },
  45172. "deliverygoodscode": {
  45173. "description": "品种代码",
  45174. "type": "string"
  45175. },
  45176. "deliverygoodsid": {
  45177. "description": "品种ID",
  45178. "type": "integer"
  45179. },
  45180. "deliverygoodsname": {
  45181. "description": "品种名称",
  45182. "type": "string"
  45183. },
  45184. "enalbeqty": {
  45185. "description": "可用数量",
  45186. "type": "number"
  45187. },
  45188. "enumdicname": {
  45189. "description": "单位名称",
  45190. "type": "string"
  45191. },
  45192. "freezeqty": {
  45193. "description": "总冻结数量",
  45194. "type": "number"
  45195. },
  45196. "haswr": {
  45197. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45198. "type": "integer"
  45199. },
  45200. "minivalue": {
  45201. "description": "现货商品最小变动值",
  45202. "type": "integer"
  45203. },
  45204. "modifytime": {
  45205. "description": "修改时间(过户时间)",
  45206. "type": "string"
  45207. },
  45208. "optioncompare": {
  45209. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45210. "type": "string"
  45211. },
  45212. "pledgeqty": {
  45213. "description": "质押数量",
  45214. "type": "number"
  45215. },
  45216. "querytype": {
  45217. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  45218. "type": "integer"
  45219. },
  45220. "sellexcuteqty": {
  45221. "description": "销售履约中数量",
  45222. "type": "number"
  45223. },
  45224. "totalqty": {
  45225. "description": "总数量(库存数量)",
  45226. "type": "number"
  45227. },
  45228. "warehouseid": {
  45229. "description": "仓库ID",
  45230. "type": "integer"
  45231. },
  45232. "warehousename": {
  45233. "description": "仓库名称",
  45234. "type": "string"
  45235. },
  45236. "wrfactortypeid": {
  45237. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45238. "type": "string"
  45239. },
  45240. "wrfactortypename": {
  45241. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45242. "type": "string"
  45243. },
  45244. "wrpositionid": {
  45245. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  45246. "type": "string"
  45247. },
  45248. "wrpositionno": {
  45249. "description": "仓单编号",
  45250. "type": "string"
  45251. },
  45252. "wrstandardcode": {
  45253. "description": "现货商品代码",
  45254. "type": "string"
  45255. },
  45256. "wrstandardid": {
  45257. "description": "现货商品ID",
  45258. "type": "integer"
  45259. },
  45260. "wrstandardname": {
  45261. "description": "商品名称",
  45262. "type": "string"
  45263. },
  45264. "wrtypename": {
  45265. "description": "商品",
  45266. "type": "string"
  45267. },
  45268. "wruserid": {
  45269. "description": "持有人ID",
  45270. "type": "integer"
  45271. }
  45272. }
  45273. },
  45274. "models.WrPreSaleInfo": {
  45275. "type": "object",
  45276. "properties": {
  45277. "bannerpicurl": {
  45278. "description": "Banner图",
  45279. "type": "string"
  45280. },
  45281. "baseqty": {
  45282. "description": "中签基数",
  45283. "type": "number"
  45284. },
  45285. "createtime": {
  45286. "description": "创建时间",
  45287. "type": "string"
  45288. },
  45289. "deliverygoodsid": {
  45290. "description": "现货品种ID",
  45291. "type": "integer"
  45292. },
  45293. "enddate": {
  45294. "description": "预售结束日期",
  45295. "type": "string"
  45296. },
  45297. "enumdicname": {
  45298. "description": "单位名称",
  45299. "type": "string"
  45300. },
  45301. "lotteryflag": {
  45302. "description": "摇号标识 - 0:未摇号 1:已摇号",
  45303. "type": "integer"
  45304. },
  45305. "lotteryqty": {
  45306. "description": "摇号总量",
  45307. "type": "number"
  45308. },
  45309. "luckyqty": {
  45310. "description": "已中签量",
  45311. "type": "number"
  45312. },
  45313. "marketid": {
  45314. "description": "市场ID",
  45315. "type": "integer"
  45316. },
  45317. "maxbuyqty": {
  45318. "description": "单人最大申购量",
  45319. "type": "number"
  45320. },
  45321. "maxluckyqty": {
  45322. "description": "单人最大中签量",
  45323. "type": "number"
  45324. },
  45325. "pictureurls": {
  45326. "description": "详情图片(逗号分隔)",
  45327. "type": "string"
  45328. },
  45329. "placeqty": {
  45330. "description": "已配售量",
  45331. "type": "number"
  45332. },
  45333. "presaleapplyid": {
  45334. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  45335. "type": "string",
  45336. "example": "0"
  45337. },
  45338. "presaleqty": {
  45339. "description": "预售总量",
  45340. "type": "number"
  45341. },
  45342. "presalestatus": {
  45343. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  45344. "type": "integer"
  45345. },
  45346. "sellaccountid": {
  45347. "description": "发行方资金账户ID",
  45348. "type": "integer"
  45349. },
  45350. "selluserid": {
  45351. "description": "发行方用户ID",
  45352. "type": "integer"
  45353. },
  45354. "sellwrtradeorderid": {
  45355. "description": "发行方卖委托单ID",
  45356. "type": "string"
  45357. },
  45358. "startdate": {
  45359. "description": "预售开始日期",
  45360. "type": "string"
  45361. },
  45362. "takestartdate": {
  45363. "description": "提货开始日期",
  45364. "type": "string"
  45365. },
  45366. "thumurls": {
  45367. "description": "缩略图片(1:1)(逗号分隔)",
  45368. "type": "string"
  45369. },
  45370. "tradedate": {
  45371. "description": "交易日",
  45372. "type": "string"
  45373. },
  45374. "unitid": {
  45375. "description": "单位ID",
  45376. "type": "integer"
  45377. },
  45378. "unitprice": {
  45379. "description": "商品单价",
  45380. "type": "number"
  45381. },
  45382. "username": {
  45383. "description": "发行方用户名称",
  45384. "type": "string"
  45385. },
  45386. "warehousecode": {
  45387. "description": "仓库代码(仓库简称)",
  45388. "type": "string"
  45389. },
  45390. "warehouseid": {
  45391. "description": "仓库ID",
  45392. "type": "integer"
  45393. },
  45394. "warehousename": {
  45395. "description": "仓库名称",
  45396. "type": "string"
  45397. },
  45398. "wrfactortypeid": {
  45399. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  45400. "type": "string",
  45401. "example": "0"
  45402. },
  45403. "wrstandardid": {
  45404. "description": "现货商品ID",
  45405. "type": "integer"
  45406. },
  45407. "wrstandardname": {
  45408. "description": "现货商品名称",
  45409. "type": "string"
  45410. }
  45411. }
  45412. },
  45413. "models.WrQuoteOrderMyq": {
  45414. "type": "object",
  45415. "properties": {
  45416. "buyorsell": {
  45417. "description": "买卖 - 0:买 1:卖",
  45418. "type": "integer"
  45419. },
  45420. "canbargain": {
  45421. "description": "是否可议价 - 0:不可 1:可",
  45422. "type": "integer"
  45423. },
  45424. "canpart": {
  45425. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  45426. "type": "integer"
  45427. },
  45428. "delistminqty": {
  45429. "description": "期初均价",
  45430. "type": "number"
  45431. },
  45432. "deliverygoodscode": {
  45433. "description": "品种代码",
  45434. "type": "string"
  45435. },
  45436. "deliverygoodsid": {
  45437. "description": "品种ID",
  45438. "type": "integer"
  45439. },
  45440. "deliverygoodsname": {
  45441. "description": "品种名称",
  45442. "type": "string"
  45443. },
  45444. "deliverymonth": {
  45445. "description": "交收月",
  45446. "type": "string"
  45447. },
  45448. "enumdicname": {
  45449. "description": "单位名称",
  45450. "type": "string"
  45451. },
  45452. "fixedprice": {
  45453. "description": "买(卖)价",
  45454. "type": "number"
  45455. },
  45456. "goodscode": {
  45457. "description": "商品合约代码",
  45458. "type": "string"
  45459. },
  45460. "marginflag": {
  45461. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  45462. "type": "integer"
  45463. },
  45464. "marginvalue": {
  45465. "description": "保证金设置值",
  45466. "type": "number"
  45467. },
  45468. "minivalue": {
  45469. "description": "现货商品最小变动值",
  45470. "type": "integer"
  45471. },
  45472. "orderqty": {
  45473. "description": "买(卖)量(=委托量-成交量)",
  45474. "type": "number"
  45475. },
  45476. "ordertime": {
  45477. "description": "委托时间",
  45478. "type": "string"
  45479. },
  45480. "performancetemplateid": {
  45481. "description": "履约模板id",
  45482. "type": "integer"
  45483. },
  45484. "pricemove": {
  45485. "description": "买(卖)升贴水- 基差",
  45486. "type": "number"
  45487. },
  45488. "templatename": {
  45489. "description": "履约模板名称",
  45490. "type": "string"
  45491. },
  45492. "userid": {
  45493. "description": "购买方(销售方)用户ID",
  45494. "type": "integer"
  45495. },
  45496. "username": {
  45497. "description": "购买方(销售方)",
  45498. "type": "string"
  45499. },
  45500. "validtime": {
  45501. "description": "有效期限",
  45502. "type": "string"
  45503. },
  45504. "validtype": {
  45505. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  45506. "type": "integer"
  45507. },
  45508. "warehousename": {
  45509. "description": "仓库名称",
  45510. "type": "string"
  45511. },
  45512. "wrfactortypeid": {
  45513. "description": "仓单要素id",
  45514. "type": "string"
  45515. },
  45516. "wrstandardcode": {
  45517. "description": "现货商品代码",
  45518. "type": "string"
  45519. },
  45520. "wrstandardid": {
  45521. "description": "现货商品ID",
  45522. "type": "integer"
  45523. },
  45524. "wrstandardname": {
  45525. "description": "商品名称",
  45526. "type": "string"
  45527. },
  45528. "wrtradeorderid": {
  45529. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45530. "type": "string"
  45531. },
  45532. "wrtypename": {
  45533. "description": "商品",
  45534. "type": "string"
  45535. }
  45536. }
  45537. },
  45538. "models.WrReckonSpotGoodsTradeSum": {
  45539. "type": "object",
  45540. "properties": {
  45541. "begindate": {
  45542. "description": "开始日期(结果含开始日期) yyyymmdd",
  45543. "type": "string"
  45544. },
  45545. "enddate": {
  45546. "description": "结束日期(结果含结束日期) yyyymmdd",
  45547. "type": "string"
  45548. },
  45549. "istoday": {
  45550. "description": "是否当日",
  45551. "type": "boolean"
  45552. },
  45553. "marketid": {
  45554. "description": "市场ID",
  45555. "type": "integer"
  45556. },
  45557. "price": {
  45558. "description": "价格 = 日成交金额 / 日成交数量",
  45559. "type": "string"
  45560. },
  45561. "reckondate": {
  45562. "description": "日期 格式 yyyymmdd",
  45563. "type": "string"
  45564. },
  45565. "tradeamount": {
  45566. "description": "期初均价",
  45567. "type": "number"
  45568. },
  45569. "tradeqty": {
  45570. "description": "期初均价",
  45571. "type": "number"
  45572. },
  45573. "wrstandardid": {
  45574. "description": "现货商品ID",
  45575. "type": "integer"
  45576. }
  45577. }
  45578. },
  45579. "models.WrScfContract": {
  45580. "type": "object",
  45581. "properties": {
  45582. "borroweruserid": {
  45583. "description": "借款用户ID",
  45584. "type": "integer"
  45585. },
  45586. "buybackwrpositionqty": {
  45587. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  45588. "type": "number"
  45589. },
  45590. "closeinterest": {
  45591. "description": "已结利息 -\u003e 已结费用",
  45592. "type": "number"
  45593. },
  45594. "currisklevel": {
  45595. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  45596. "type": "integer"
  45597. },
  45598. "deadline": {
  45599. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  45600. "type": "string"
  45601. },
  45602. "deliverygoodscode": {
  45603. "description": "品种代码",
  45604. "type": "string"
  45605. },
  45606. "deliverygoodsid": {
  45607. "description": "品种ID",
  45608. "type": "integer"
  45609. },
  45610. "deliverygoodsname": {
  45611. "description": "品种名称",
  45612. "type": "string"
  45613. },
  45614. "enumdicname": {
  45615. "description": "单位名称",
  45616. "type": "string"
  45617. },
  45618. "financingdays": {
  45619. "description": "天数(天)",
  45620. "type": "integer"
  45621. },
  45622. "initmargin": {
  45623. "description": "保证金 - [仓单回购]",
  45624. "type": "number"
  45625. },
  45626. "interestamount": {
  45627. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  45628. "type": "number"
  45629. },
  45630. "interestdebt": {
  45631. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  45632. "type": "number"
  45633. },
  45634. "interestminlen": {
  45635. "description": "最小起息天数",
  45636. "type": "integer"
  45637. },
  45638. "interestrate": {
  45639. "description": "利率",
  45640. "type": "number"
  45641. },
  45642. "interestratemode": {
  45643. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  45644. "type": "integer"
  45645. },
  45646. "interestsettlemode": {
  45647. "description": "结息方式 - 1:按日结息 3:按月结息",
  45648. "type": "integer"
  45649. },
  45650. "interestsettlevalue": {
  45651. "description": "结息方式值",
  45652. "type": "integer"
  45653. },
  45654. "isautoloan": {
  45655. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  45656. "type": "integer"
  45657. },
  45658. "lastcloseinterestday": {
  45659. "description": "最近结息日(yyyyMMdd)",
  45660. "type": "string"
  45661. },
  45662. "lenderamount": {
  45663. "description": "贷款金额 -\u003e 借款金额",
  45664. "type": "number"
  45665. },
  45666. "lenderuserid": {
  45667. "description": "贷款方用户ID -\u003e 融出方用户ID",
  45668. "type": "integer"
  45669. },
  45670. "lenderusername": {
  45671. "description": "融出方",
  45672. "type": "string"
  45673. },
  45674. "marginratio": {
  45675. "description": "保证金比率质押率 - [仓单质押]",
  45676. "type": "number"
  45677. },
  45678. "marketid": {
  45679. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  45680. "type": "integer"
  45681. },
  45682. "minivalue": {
  45683. "description": "现货商品最小变动值",
  45684. "type": "integer"
  45685. },
  45686. "optioncompare": {
  45687. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45688. "type": "string"
  45689. },
  45690. "pricemove": {
  45691. "description": "估值升贴水值",
  45692. "type": "number"
  45693. },
  45694. "productdetailid": {
  45695. "description": "产品组合ID",
  45696. "type": "integer"
  45697. },
  45698. "productid": {
  45699. "description": "金融产品ID",
  45700. "type": "integer"
  45701. },
  45702. "productname": {
  45703. "description": "产品名称",
  45704. "type": "string"
  45705. },
  45706. "remainamount": {
  45707. "description": "合同剩余金额 -\u003e 剩余金额",
  45708. "type": "number"
  45709. },
  45710. "remainwrpositionqty": {
  45711. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  45712. "type": "number"
  45713. },
  45714. "remark": {
  45715. "description": "备注",
  45716. "type": "string"
  45717. },
  45718. "scfcontractid": {
  45719. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  45720. "type": "string"
  45721. },
  45722. "scfcontractstatus": {
  45723. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  45724. "type": "integer"
  45725. },
  45726. "scfcontracttype": {
  45727. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  45728. "type": "integer"
  45729. },
  45730. "startinterestday": {
  45731. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  45732. "type": "string"
  45733. },
  45734. "totalinterest": {
  45735. "description": "已计利息 -\u003e 已计费用",
  45736. "type": "number"
  45737. },
  45738. "unpaidinterest": {
  45739. "description": "期初均价",
  45740. "type": "number"
  45741. },
  45742. "updatetime": {
  45743. "description": "更新时间",
  45744. "type": "string"
  45745. },
  45746. "warehouseid": {
  45747. "description": "仓库ID",
  45748. "type": "integer"
  45749. },
  45750. "warehousename": {
  45751. "description": "仓库名称",
  45752. "type": "string"
  45753. },
  45754. "wrfactortypeid": {
  45755. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45756. "type": "string"
  45757. },
  45758. "wrfactortypename": {
  45759. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45760. "type": "string"
  45761. },
  45762. "wrqty": {
  45763. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  45764. "type": "number"
  45765. },
  45766. "wrstandardcode": {
  45767. "description": "现货商品代码",
  45768. "type": "string"
  45769. },
  45770. "wrstandardid": {
  45771. "description": "现货商品ID",
  45772. "type": "integer"
  45773. },
  45774. "wrstandardname": {
  45775. "description": "商品名称",
  45776. "type": "string"
  45777. },
  45778. "wrtypename": {
  45779. "description": "商品",
  45780. "type": "string"
  45781. }
  45782. }
  45783. },
  45784. "models.WrScfContractInterest": {
  45785. "type": "object",
  45786. "properties": {
  45787. "closeinterest": {
  45788. "description": "已结利息",
  45789. "type": "number"
  45790. },
  45791. "closeintereststatus": {
  45792. "description": "结息状态 - 1:未结 2:已结",
  45793. "type": "integer"
  45794. },
  45795. "closetime": {
  45796. "description": "结息时间",
  45797. "type": "string"
  45798. },
  45799. "closetradedate": {
  45800. "description": "结息交易日",
  45801. "type": "string"
  45802. },
  45803. "creatorid": {
  45804. "description": "操作人ID",
  45805. "type": "integer"
  45806. },
  45807. "dayrate": {
  45808. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  45809. "type": "number"
  45810. },
  45811. "interest": {
  45812. "description": "利息",
  45813. "type": "number"
  45814. },
  45815. "interestamount": {
  45816. "description": "计息金额",
  45817. "type": "number"
  45818. },
  45819. "interestday": {
  45820. "description": "计息日(yyyyMMdd)",
  45821. "type": "string"
  45822. },
  45823. "scfcontractid": {
  45824. "description": "SCF合同ID",
  45825. "type": "string"
  45826. },
  45827. "scfcontractinterestid": {
  45828. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  45829. "type": "integer"
  45830. },
  45831. "updatetime": {
  45832. "description": "更新时间",
  45833. "type": "string"
  45834. }
  45835. }
  45836. },
  45837. "models.WrSearchUser": {
  45838. "type": "object",
  45839. "required": [
  45840. "username"
  45841. ],
  45842. "properties": {
  45843. "userid": {
  45844. "description": "用户ID",
  45845. "type": "integer"
  45846. },
  45847. "username": {
  45848. "description": "用户名称(已脱敏)",
  45849. "type": "string"
  45850. },
  45851. "username2": {
  45852. "description": "用户名称(未脱敏)",
  45853. "type": "string"
  45854. },
  45855. "usertype": {
  45856. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  45857. "type": "integer"
  45858. }
  45859. }
  45860. },
  45861. "models.WrSiteColumnDetail": {
  45862. "type": "object",
  45863. "properties": {
  45864. "author": {
  45865. "description": "作者",
  45866. "type": "string"
  45867. },
  45868. "brief": {
  45869. "description": "简介",
  45870. "type": "string"
  45871. },
  45872. "context": {
  45873. "description": "内容",
  45874. "type": "string"
  45875. },
  45876. "coverimage": {
  45877. "description": "封面图片",
  45878. "type": "string"
  45879. },
  45880. "creaedate": {
  45881. "description": "创建时间",
  45882. "type": "string"
  45883. },
  45884. "id": {
  45885. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  45886. "type": "integer"
  45887. },
  45888. "istop": {
  45889. "description": "是否置顶 - 0:不置 1:置顶",
  45890. "type": "integer"
  45891. },
  45892. "publishdate": {
  45893. "description": "发布日期",
  45894. "type": "string"
  45895. },
  45896. "title": {
  45897. "description": "标题",
  45898. "type": "string"
  45899. },
  45900. "updatedate": {
  45901. "description": "修改时间",
  45902. "type": "string"
  45903. }
  45904. }
  45905. },
  45906. "models.WrSpecialMatchOrder": {
  45907. "type": "object",
  45908. "properties": {
  45909. "amount": {
  45910. "description": "金额 = 数量 * 价格",
  45911. "type": "number"
  45912. },
  45913. "buyorsell": {
  45914. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  45915. "type": "integer"
  45916. },
  45917. "cancelqty": {
  45918. "description": "撤销数量",
  45919. "type": "number"
  45920. },
  45921. "deliverygoodscode": {
  45922. "description": "品种代码",
  45923. "type": "string"
  45924. },
  45925. "deliverygoodsid": {
  45926. "description": "品种ID",
  45927. "type": "integer"
  45928. },
  45929. "deliverygoodsname": {
  45930. "description": "品种名称",
  45931. "type": "string"
  45932. },
  45933. "enumdicname": {
  45934. "description": "单位名称",
  45935. "type": "string"
  45936. },
  45937. "fixedprice": {
  45938. "description": "固定价格(价格)",
  45939. "type": "number"
  45940. },
  45941. "haswr": {
  45942. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45943. "type": "integer"
  45944. },
  45945. "isspecified": {
  45946. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  45947. "type": "integer"
  45948. },
  45949. "marketid": {
  45950. "description": "市场ID",
  45951. "type": "integer"
  45952. },
  45953. "matchuserid": {
  45954. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  45955. "type": "integer"
  45956. },
  45957. "matchusername": {
  45958. "description": "指定方",
  45959. "type": "string"
  45960. },
  45961. "minivalue": {
  45962. "description": "现货商品最小变动值",
  45963. "type": "integer"
  45964. },
  45965. "optioncompare": {
  45966. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45967. "type": "string"
  45968. },
  45969. "orderqty": {
  45970. "description": "委托数量",
  45971. "type": "number"
  45972. },
  45973. "ordertime": {
  45974. "description": "委托时间",
  45975. "type": "string"
  45976. },
  45977. "pricemove": {
  45978. "description": "升贴水(浮动价时填写) - [挂牌]",
  45979. "type": "number"
  45980. },
  45981. "tradedate": {
  45982. "description": "交易日(yyyyMMdd)",
  45983. "type": "string"
  45984. },
  45985. "tradeprice": {
  45986. "description": "成交价格",
  45987. "type": "number"
  45988. },
  45989. "tradeqty": {
  45990. "description": "成交数量",
  45991. "type": "number"
  45992. },
  45993. "userid": {
  45994. "description": "用户ID",
  45995. "type": "integer"
  45996. },
  45997. "username": {
  45998. "description": "发起方",
  45999. "type": "string"
  46000. },
  46001. "warehouseid": {
  46002. "description": "仓库ID",
  46003. "type": "integer"
  46004. },
  46005. "warehousename": {
  46006. "description": "仓库名称",
  46007. "type": "string"
  46008. },
  46009. "wrfactortypeid": {
  46010. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  46011. "type": "string"
  46012. },
  46013. "wrfactortypename": {
  46014. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46015. "type": "string"
  46016. },
  46017. "wrpricetype": {
  46018. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  46019. "type": "integer"
  46020. },
  46021. "wrstandardcode": {
  46022. "description": "现货商品代码",
  46023. "type": "string"
  46024. },
  46025. "wrstandardid": {
  46026. "description": "现货商品ID",
  46027. "type": "integer"
  46028. },
  46029. "wrstandardname": {
  46030. "description": "商品名称",
  46031. "type": "string"
  46032. },
  46033. "wrtradeorderid": {
  46034. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  46035. "type": "string"
  46036. },
  46037. "wrtradeorderstatus": {
  46038. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  46039. "type": "integer"
  46040. },
  46041. "wrtradetype": {
  46042. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  46043. "type": "integer"
  46044. },
  46045. "wrtypename": {
  46046. "description": "商品",
  46047. "type": "string"
  46048. }
  46049. }
  46050. },
  46051. "models.WrSpotGroupTradeSum": {
  46052. "type": "object",
  46053. "properties": {
  46054. "deliverygoodscode": {
  46055. "description": "现货品种代码",
  46056. "type": "string"
  46057. },
  46058. "deliverygoodsid": {
  46059. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  46060. "type": "integer"
  46061. },
  46062. "deliverygoodsname": {
  46063. "description": "现货品种名称",
  46064. "type": "string"
  46065. },
  46066. "lastavgprice": {
  46067. "description": "上上个交易日价格(前2天价格)",
  46068. "type": "string"
  46069. },
  46070. "lastreckondate": {
  46071. "description": "上上个交易日(前2天交易日)",
  46072. "type": "string"
  46073. },
  46074. "reckondate": {
  46075. "description": "上个交易日(前1天交易日)",
  46076. "type": "string"
  46077. },
  46078. "todayavgprice": {
  46079. "description": "上个交易日价格(前1天价格)",
  46080. "type": "string"
  46081. },
  46082. "updown": {
  46083. "description": "涨跌",
  46084. "type": "string"
  46085. },
  46086. "updownratio": {
  46087. "description": "涨幅(已格式化, 直接显示即可)",
  46088. "type": "string"
  46089. }
  46090. }
  46091. },
  46092. "models.WrSpotGroupTradeSumDetail": {
  46093. "type": "object",
  46094. "properties": {
  46095. "deliverygoodsid": {
  46096. "description": "现货商品id",
  46097. "type": "integer"
  46098. },
  46099. "price": {
  46100. "description": "价格",
  46101. "type": "number"
  46102. },
  46103. "reckondate": {
  46104. "description": "日期(yyymmdd, 如:20211031)",
  46105. "type": "string"
  46106. }
  46107. }
  46108. },
  46109. "models.WrSpotGroupTradeSumEx": {
  46110. "type": "object",
  46111. "properties": {
  46112. "lst": {
  46113. "description": "指数列表",
  46114. "type": "array",
  46115. "items": {
  46116. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  46117. }
  46118. },
  46119. "prereckondate": {
  46120. "description": "上上个交易日(yyymmdd)",
  46121. "type": "string"
  46122. },
  46123. "reckondate": {
  46124. "description": "上个交易日(yyyymmdd)",
  46125. "type": "string"
  46126. }
  46127. }
  46128. },
  46129. "models.WrStandardFactoryItem": {
  46130. "type": "object",
  46131. "properties": {
  46132. "dgfactoryitemid": {
  46133. "description": "选择项id",
  46134. "type": "integer"
  46135. },
  46136. "dgfactoryitemvalue": {
  46137. "description": "要素项值",
  46138. "type": "string"
  46139. },
  46140. "warehouseid": {
  46141. "description": "仓库id",
  46142. "type": "integer"
  46143. }
  46144. }
  46145. },
  46146. "models.WrStandardFactoryItemEx": {
  46147. "type": "object",
  46148. "properties": {
  46149. "dgfactoryitemtypeid": {
  46150. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  46151. "type": "integer"
  46152. },
  46153. "itemlst": {
  46154. "description": "要素项列表",
  46155. "type": "array",
  46156. "items": {
  46157. "$ref": "#/definitions/models.WrStandardFactoryItem"
  46158. }
  46159. },
  46160. "itemtypename": {
  46161. "description": "要素项类型名称",
  46162. "type": "string"
  46163. },
  46164. "wrstandardid": {
  46165. "description": "品类",
  46166. "type": "integer"
  46167. }
  46168. }
  46169. },
  46170. "models.WrTradeDetail": {
  46171. "type": "object",
  46172. "properties": {
  46173. "accountid": {
  46174. "description": "资金账号",
  46175. "type": "integer"
  46176. },
  46177. "bannerpicurl": {
  46178. "description": "Banner图",
  46179. "type": "string"
  46180. },
  46181. "begindate": {
  46182. "description": "开始交易日(yyyymmdd)",
  46183. "type": "string"
  46184. },
  46185. "buyorsell": {
  46186. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  46187. "type": "integer"
  46188. },
  46189. "chargevalue": {
  46190. "description": "手续费",
  46191. "type": "number"
  46192. },
  46193. "deliverygoodscode": {
  46194. "description": "品种代码",
  46195. "type": "string"
  46196. },
  46197. "deliverygoodsid": {
  46198. "description": "品种ID",
  46199. "type": "integer"
  46200. },
  46201. "deliverygoodsname": {
  46202. "description": "品种名称",
  46203. "type": "string"
  46204. },
  46205. "deliverymonth": {
  46206. "description": "交收月",
  46207. "type": "string"
  46208. },
  46209. "enddate": {
  46210. "description": "结束交易日(yyyymmdd)",
  46211. "type": "string"
  46212. },
  46213. "enumdicname": {
  46214. "description": "单位名称",
  46215. "type": "string"
  46216. },
  46217. "haswr": {
  46218. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  46219. "type": "integer"
  46220. },
  46221. "marketid": {
  46222. "description": "市场ID",
  46223. "type": "integer"
  46224. },
  46225. "matchaccountid": {
  46226. "description": "对手账号",
  46227. "type": "integer"
  46228. },
  46229. "matchusername": {
  46230. "description": "对手方",
  46231. "type": "string"
  46232. },
  46233. "minivalue": {
  46234. "description": "现货商品最小变动值",
  46235. "type": "integer"
  46236. },
  46237. "optioncompare": {
  46238. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  46239. "type": "string"
  46240. },
  46241. "thumurls": {
  46242. "description": "缩略图",
  46243. "type": "string"
  46244. },
  46245. "tradedate": {
  46246. "description": "交易日(yyyyMMdd)",
  46247. "type": "string"
  46248. },
  46249. "tradeprice": {
  46250. "description": "成交价格",
  46251. "type": "number"
  46252. },
  46253. "tradeqty": {
  46254. "description": "成交数量",
  46255. "type": "number"
  46256. },
  46257. "tradetime": {
  46258. "description": "成交时间",
  46259. "type": "string"
  46260. },
  46261. "userid": {
  46262. "description": "用户ID",
  46263. "type": "integer"
  46264. },
  46265. "warehouseid": {
  46266. "description": "仓库ID",
  46267. "type": "integer"
  46268. },
  46269. "warehousename": {
  46270. "description": "仓库名称",
  46271. "type": "string"
  46272. },
  46273. "wrfactortypeid": {
  46274. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  46275. "type": "string"
  46276. },
  46277. "wrfactortypename": {
  46278. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46279. "type": "string"
  46280. },
  46281. "wrstandardcode": {
  46282. "description": "现货商品代码",
  46283. "type": "string"
  46284. },
  46285. "wrstandardid": {
  46286. "description": "现货商品ID",
  46287. "type": "integer"
  46288. },
  46289. "wrstandardname": {
  46290. "description": "商品名称",
  46291. "type": "string"
  46292. },
  46293. "wrtradedetailid": {
  46294. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  46295. "type": "string"
  46296. },
  46297. "wrtradetype": {
  46298. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  46299. "type": "integer"
  46300. },
  46301. "wrtypename": {
  46302. "description": "商品",
  46303. "type": "string"
  46304. }
  46305. }
  46306. },
  46307. "models.WrTradeOrderDetail": {
  46308. "type": "object",
  46309. "properties": {
  46310. "buyorsell": {
  46311. "description": "买卖方向 0-买 1-卖",
  46312. "type": "integer"
  46313. },
  46314. "goodsid": {
  46315. "description": "商品id",
  46316. "type": "integer"
  46317. },
  46318. "orderid": {
  46319. "description": "委托单号",
  46320. "type": "string"
  46321. },
  46322. "orderprice": {
  46323. "description": "期初均价",
  46324. "type": "number"
  46325. },
  46326. "orderqty": {
  46327. "description": "委托数量",
  46328. "type": "integer"
  46329. },
  46330. "userid": {
  46331. "description": "用户id",
  46332. "type": "integer"
  46333. },
  46334. "username": {
  46335. "description": "用户名称(已脱敏)",
  46336. "type": "string"
  46337. }
  46338. }
  46339. },
  46340. "models.WrTypeItem": {
  46341. "type": "object",
  46342. "properties": {
  46343. "name": {
  46344. "description": "名称",
  46345. "type": "string"
  46346. },
  46347. "value": {
  46348. "description": "值",
  46349. "type": "string"
  46350. }
  46351. }
  46352. },
  46353. "models.WrUserFriend": {
  46354. "type": "object",
  46355. "properties": {
  46356. "friendname": {
  46357. "description": "朋友名称(已脱敏)",
  46358. "type": "string"
  46359. },
  46360. "frienduserid": {
  46361. "description": "朋友id",
  46362. "type": "integer"
  46363. },
  46364. "isfriend": {
  46365. "description": "是否好友 0-不是 1-是",
  46366. "type": "integer"
  46367. },
  46368. "userid": {
  46369. "description": "用户id",
  46370. "type": "integer"
  46371. }
  46372. }
  46373. },
  46374. "models.WrUserReceiptInfo": {
  46375. "type": "object",
  46376. "properties": {
  46377. "address": {
  46378. "description": "地址[发票类型:企业]",
  46379. "type": "string"
  46380. },
  46381. "autoid": {
  46382. "description": "AutoID",
  46383. "type": "integer"
  46384. },
  46385. "contactinfo": {
  46386. "description": "联系方式",
  46387. "type": "string"
  46388. },
  46389. "idnum": {
  46390. "description": "身份证号码[发票类型:个人]",
  46391. "type": "string"
  46392. },
  46393. "isdefault": {
  46394. "description": "是否默认地址 - 0:否 1:是",
  46395. "type": "integer"
  46396. },
  46397. "receiptaccount": {
  46398. "description": "发票帐号[发票类型:企业]",
  46399. "type": "string"
  46400. },
  46401. "receiptbank": {
  46402. "description": "发票开户行[发票类型:企业]",
  46403. "type": "string"
  46404. },
  46405. "receipttype": {
  46406. "description": "发票类型 - 1:个人 2:企业",
  46407. "type": "integer"
  46408. },
  46409. "taxpayerid": {
  46410. "description": "纳税人识别号",
  46411. "type": "string"
  46412. },
  46413. "userid": {
  46414. "description": "用户ID",
  46415. "type": "integer"
  46416. },
  46417. "username": {
  46418. "description": "户名(个人姓名或企业名称)",
  46419. "type": "string"
  46420. }
  46421. }
  46422. },
  46423. "models.Wrtradetradequote": {
  46424. "type": "object",
  46425. "properties": {
  46426. "buyaccountid": {
  46427. "description": "买方账号ID",
  46428. "type": "integer"
  46429. },
  46430. "buychargevalue": {
  46431. "description": "买方手续费",
  46432. "type": "number"
  46433. },
  46434. "buyuserid": {
  46435. "description": "买方用户ID",
  46436. "type": "integer"
  46437. },
  46438. "deliverygoodsid": {
  46439. "description": "现货品种ID",
  46440. "type": "integer"
  46441. },
  46442. "exchangerate": {
  46443. "description": "汇率",
  46444. "type": "number"
  46445. },
  46446. "marketid": {
  46447. "description": "市场ID",
  46448. "type": "integer"
  46449. },
  46450. "oritradeamount": {
  46451. "description": "成交金额[商品币种]",
  46452. "type": "number"
  46453. },
  46454. "performanceplanid": {
  46455. "description": "履约计划ID/合同ID",
  46456. "type": "integer"
  46457. },
  46458. "sellaccountid": {
  46459. "description": "卖方账号ID",
  46460. "type": "integer"
  46461. },
  46462. "sellchargevalue": {
  46463. "description": "卖方手续费",
  46464. "type": "number"
  46465. },
  46466. "selluserid": {
  46467. "description": "卖方用户ID",
  46468. "type": "integer"
  46469. },
  46470. "tradeamount": {
  46471. "description": "成交金额",
  46472. "type": "number"
  46473. },
  46474. "tradedate": {
  46475. "description": "交易日(yyyyMMdd)",
  46476. "type": "string"
  46477. },
  46478. "tradeprice": {
  46479. "description": "成交价格",
  46480. "type": "number"
  46481. },
  46482. "tradeqty": {
  46483. "description": "成交数量",
  46484. "type": "integer"
  46485. },
  46486. "tradetime": {
  46487. "description": "成交时间",
  46488. "type": "string"
  46489. },
  46490. "wrfactortypeid": {
  46491. "description": "仓单要素类型ID",
  46492. "type": "integer"
  46493. },
  46494. "wrstandardid": {
  46495. "description": "现货商品ID",
  46496. "type": "integer"
  46497. },
  46498. "wrtradedetailid": {
  46499. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  46500. "type": "integer"
  46501. }
  46502. }
  46503. },
  46504. "models.XHBRAND": {
  46505. "type": "object",
  46506. "properties": {
  46507. "brandid": {
  46508. "description": "品牌id",
  46509. "type": "integer"
  46510. },
  46511. "brandname": {
  46512. "description": "品牌名称",
  46513. "type": "string"
  46514. },
  46515. "isvalid": {
  46516. "description": "是否有效 0-无效 1-有效",
  46517. "type": "integer"
  46518. }
  46519. }
  46520. },
  46521. "models.XHDeliveryGoods": {
  46522. "type": "object",
  46523. "properties": {
  46524. "areauserid": {
  46525. "description": "所属机构",
  46526. "type": "integer"
  46527. },
  46528. "bdlst": {
  46529. "description": "品牌列表",
  46530. "type": "array",
  46531. "items": {
  46532. "$ref": "#/definitions/models.XHBRAND"
  46533. }
  46534. },
  46535. "deliverygoodscode": {
  46536. "description": "现货品种代码",
  46537. "type": "string"
  46538. },
  46539. "deliverygoodsid": {
  46540. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  46541. "type": "integer"
  46542. },
  46543. "deliverygoodsname": {
  46544. "description": "现货品种名称",
  46545. "type": "string"
  46546. },
  46547. "dgstatus": {
  46548. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  46549. "type": "integer"
  46550. },
  46551. "filterSubEmpty": {
  46552. "description": "过滤下级为空的",
  46553. "type": "integer"
  46554. },
  46555. "isvalid": {
  46556. "description": "是否有效 - 0:无效 1:有效",
  46557. "type": "integer"
  46558. },
  46559. "remark": {
  46560. "description": "备注",
  46561. "type": "string"
  46562. },
  46563. "unitid": {
  46564. "description": "单位id(目前看,数据库中是空值)",
  46565. "type": "integer"
  46566. },
  46567. "wdlst": {
  46568. "description": "品类(现货商品)列表",
  46569. "type": "array",
  46570. "items": {
  46571. "$ref": "#/definitions/models.XHWrstandard"
  46572. }
  46573. }
  46574. }
  46575. },
  46576. "models.XHMiddleGoods": {
  46577. "type": "object",
  46578. "properties": {
  46579. "GPLST": {
  46580. "description": "期货品种列表",
  46581. "type": "array",
  46582. "items": {
  46583. "$ref": "#/definitions/models.TBGoodsGroup"
  46584. }
  46585. },
  46586. "convertratio": {
  46587. "description": "拆算系数",
  46588. "type": "number"
  46589. },
  46590. "costratio": {
  46591. "description": "成本权重",
  46592. "type": "number"
  46593. },
  46594. "deliverygoodsid": {
  46595. "description": "现货商品id",
  46596. "type": "integer"
  46597. },
  46598. "enumdicname": {
  46599. "description": "单位名称",
  46600. "type": "string"
  46601. },
  46602. "middlegoodscode": {
  46603. "description": "套保品种代码",
  46604. "type": "string"
  46605. },
  46606. "middlegoodsid": {
  46607. "description": "套保品种id",
  46608. "type": "integer"
  46609. },
  46610. "middlegoodsname": {
  46611. "description": "套保品种名称",
  46612. "type": "string"
  46613. },
  46614. "unitid": {
  46615. "description": "单位id",
  46616. "type": "integer"
  46617. }
  46618. }
  46619. },
  46620. "models.XHWrstandard": {
  46621. "type": "object",
  46622. "properties": {
  46623. "bannerpicurl": {
  46624. "description": "banner图",
  46625. "type": "string"
  46626. },
  46627. "deliverygoodsid": {
  46628. "description": "品种ID",
  46629. "type": "integer"
  46630. },
  46631. "enumdicname": {
  46632. "description": "单位名称",
  46633. "type": "string"
  46634. },
  46635. "mglst": {
  46636. "description": "套保品列表",
  46637. "type": "array",
  46638. "items": {
  46639. "$ref": "#/definitions/models.XHMiddleGoods"
  46640. }
  46641. },
  46642. "pictureurls": {
  46643. "description": "详情图片(逗号分隔)",
  46644. "type": "string"
  46645. },
  46646. "thumurls": {
  46647. "description": "缩略图片(1:1)(逗号分隔)",
  46648. "type": "string"
  46649. },
  46650. "unitid": {
  46651. "description": "单位id",
  46652. "type": "integer"
  46653. },
  46654. "vatrate": {
  46655. "description": "增值税率",
  46656. "type": "number"
  46657. },
  46658. "wrstandardcode": {
  46659. "description": "现货商品代码",
  46660. "type": "string"
  46661. },
  46662. "wrstandardid": {
  46663. "description": "现货商品ID(SEQ_WRSTANDARD)",
  46664. "type": "integer"
  46665. },
  46666. "wrstandardname": {
  46667. "description": "现货商品名称",
  46668. "type": "string"
  46669. }
  46670. }
  46671. },
  46672. "models.XhcpSellBackApplyEx": {
  46673. "type": "object",
  46674. "required": [
  46675. "userid"
  46676. ],
  46677. "properties": {
  46678. "applyremark": {
  46679. "description": "申请备注",
  46680. "type": "string"
  46681. },
  46682. "expirytype": {
  46683. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  46684. "type": "integer"
  46685. },
  46686. "goodsspec": {
  46687. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  46688. "type": "integer"
  46689. },
  46690. "holeflag": {
  46691. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  46692. "type": "integer"
  46693. },
  46694. "isunopened": {
  46695. "description": "是否原封 - 1:否 2:是",
  46696. "type": "integer"
  46697. },
  46698. "mpflag": {
  46699. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  46700. "type": "integer"
  46701. },
  46702. "openflag": {
  46703. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  46704. "type": "integer"
  46705. },
  46706. "phonenum": {
  46707. "description": "联系电话",
  46708. "type": "string"
  46709. },
  46710. "userid": {
  46711. "description": "所属用户ID",
  46712. "type": "integer"
  46713. },
  46714. "zpflag": {
  46715. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  46716. "type": "integer"
  46717. }
  46718. }
  46719. },
  46720. "models.Xhcpsellbackapply": {
  46721. "type": "object",
  46722. "required": [
  46723. "userid"
  46724. ],
  46725. "properties": {
  46726. "applyid": {
  46727. "description": "申请人",
  46728. "type": "integer"
  46729. },
  46730. "applyremark": {
  46731. "description": "申请备注",
  46732. "type": "string"
  46733. },
  46734. "applysrc": {
  46735. "description": "申请来源 - 1:管理端 2:终端",
  46736. "type": "integer"
  46737. },
  46738. "applystatus": {
  46739. "description": "申请状态 - 1:待确认 2:已处理",
  46740. "type": "integer"
  46741. },
  46742. "applytime": {
  46743. "description": "申请时间",
  46744. "type": "string"
  46745. },
  46746. "auditremark": {
  46747. "description": "审核备注",
  46748. "type": "string"
  46749. },
  46750. "auditsrc": {
  46751. "description": "审核来源 - 1:管理端 2:终端",
  46752. "type": "integer"
  46753. },
  46754. "expirytype": {
  46755. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  46756. "type": "integer"
  46757. },
  46758. "goodsspec": {
  46759. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  46760. "type": "integer"
  46761. },
  46762. "holeflag": {
  46763. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  46764. "type": "integer"
  46765. },
  46766. "isunopened": {
  46767. "description": "是否原封 - 1:否 2:是",
  46768. "type": "integer"
  46769. },
  46770. "mpflag": {
  46771. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  46772. "type": "integer"
  46773. },
  46774. "openflag": {
  46775. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  46776. "type": "integer"
  46777. },
  46778. "phonenum": {
  46779. "description": "联系电话",
  46780. "type": "string"
  46781. },
  46782. "sellbackapplyid": {
  46783. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  46784. "type": "string"
  46785. },
  46786. "userid": {
  46787. "description": "所属用户ID",
  46788. "type": "integer"
  46789. },
  46790. "zpflag": {
  46791. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  46792. "type": "integer"
  46793. }
  46794. }
  46795. },
  46796. "order.QueryHisTradeDetailRsp": {
  46797. "type": "object",
  46798. "required": [
  46799. "accountid",
  46800. "buyorsell",
  46801. "goodsid",
  46802. "histradedate",
  46803. "marketid",
  46804. "memberuserid",
  46805. "orderid",
  46806. "tradeamount",
  46807. "tradedate",
  46808. "tradeid",
  46809. "tradeprice",
  46810. "tradeqty",
  46811. "tradetime"
  46812. ],
  46813. "properties": {
  46814. "accountid": {
  46815. "description": "账户ID[报价币种]",
  46816. "type": "integer"
  46817. },
  46818. "advanceratio": {
  46819. "description": "首付比率",
  46820. "type": "number"
  46821. },
  46822. "buildtype": {
  46823. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  46824. "type": "integer"
  46825. },
  46826. "buyorsell": {
  46827. "description": "方向 - 0:买 1:卖",
  46828. "type": "integer"
  46829. },
  46830. "charge": {
  46831. "description": "手续费",
  46832. "type": "number"
  46833. },
  46834. "closecharge": {
  46835. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46836. "type": "number"
  46837. },
  46838. "closeexchagechargevalue": {
  46839. "description": "平仓交易所手续费设置值",
  46840. "type": "number"
  46841. },
  46842. "closefeealgorithm": {
  46843. "description": "平仓手续费收取方式 1:比率 2:固定",
  46844. "type": "integer"
  46845. },
  46846. "closememberchargevalue": {
  46847. "description": "平仓会员手续费设置值",
  46848. "type": "number"
  46849. },
  46850. "closepl": {
  46851. "description": "平仓盈亏",
  46852. "type": "number"
  46853. },
  46854. "closepl2": {
  46855. "description": "平仓盈亏[逐笔]",
  46856. "type": "number"
  46857. },
  46858. "closeqty": {
  46859. "description": "平仓数量(先建后平操作 需要记录)",
  46860. "type": "number"
  46861. },
  46862. "creditamount": {
  46863. "description": "授信金额",
  46864. "type": "number"
  46865. },
  46866. "decimalplace": {
  46867. "description": "商品报价小数位",
  46868. "type": "integer"
  46869. },
  46870. "enumdicname": {
  46871. "description": "单位名称",
  46872. "type": "string"
  46873. },
  46874. "gcaccountid": {
  46875. "description": "账户ID[合约币种]",
  46876. "type": "integer"
  46877. },
  46878. "goodscode": {
  46879. "description": "商品代码",
  46880. "type": "string"
  46881. },
  46882. "goodsid": {
  46883. "description": "商品ID",
  46884. "type": "integer"
  46885. },
  46886. "goodsname": {
  46887. "description": "商品名称",
  46888. "type": "string"
  46889. },
  46890. "goodunitid": {
  46891. "description": "商品单位id",
  46892. "type": "integer"
  46893. },
  46894. "histradedate": {
  46895. "description": "历史交易日",
  46896. "type": "string"
  46897. },
  46898. "intclosepl": {
  46899. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46900. "type": "integer"
  46901. },
  46902. "isconfirmexercise": {
  46903. "description": "是否确认行权- 0:否 1:是",
  46904. "type": "integer"
  46905. },
  46906. "ismain": {
  46907. "description": "是否主单 - 0:不是 1:是",
  46908. "type": "integer"
  46909. },
  46910. "ispreexercise": {
  46911. "description": "是否预申报- 0:否 1:是",
  46912. "type": "integer"
  46913. },
  46914. "isreckoned": {
  46915. "description": "是否结算 - 0:未结算 1:已结算",
  46916. "type": "integer"
  46917. },
  46918. "isvaliddata": {
  46919. "description": "是否有效 - 0:无效 1:有效",
  46920. "type": "integer"
  46921. },
  46922. "listingselecttype": {
  46923. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46924. "type": "integer"
  46925. },
  46926. "marketid": {
  46927. "description": "市场ID",
  46928. "type": "integer"
  46929. },
  46930. "marketname": {
  46931. "description": "市场名称",
  46932. "type": "string"
  46933. },
  46934. "matchaccountid": {
  46935. "description": "对手账号id",
  46936. "type": "integer"
  46937. },
  46938. "memberuserid": {
  46939. "description": "会员id 个人投资者 需要填写",
  46940. "type": "integer"
  46941. },
  46942. "opencharge": {
  46943. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46944. "type": "number"
  46945. },
  46946. "openexchagechargevalue": {
  46947. "description": "建仓交易所手续费设置值",
  46948. "type": "number"
  46949. },
  46950. "openfeealgorithm": {
  46951. "description": "建仓手续费收取方式 1:比率 2:固定",
  46952. "type": "integer"
  46953. },
  46954. "openmemberchargevalue": {
  46955. "description": "建仓会员手续费设置值",
  46956. "type": "number"
  46957. },
  46958. "openqty": {
  46959. "description": "开仓数量(先建后平操作 需要记录)",
  46960. "type": "number"
  46961. },
  46962. "optiontype": {
  46963. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46964. "type": "integer"
  46965. },
  46966. "orderid": {
  46967. "description": "委托单号",
  46968. "type": "string"
  46969. },
  46970. "payamount": {
  46971. "description": "支付金额(付款金额)",
  46972. "type": "number"
  46973. },
  46974. "performanceplanid": {
  46975. "description": "履约计划ID[期权]",
  46976. "type": "integer"
  46977. },
  46978. "performancestatus": {
  46979. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46980. "type": "integer"
  46981. },
  46982. "preexerciseprice": {
  46983. "description": "预申报价格",
  46984. "type": "number"
  46985. },
  46986. "premium": {
  46987. "description": "权利金 - [持仓单的权利金]",
  46988. "type": "number"
  46989. },
  46990. "qtydecimalplace": {
  46991. "description": "商品报价小数位",
  46992. "type": "integer"
  46993. },
  46994. "recvamount": {
  46995. "description": "到账金额 = 成交金额 - 手续费",
  46996. "type": "number"
  46997. },
  46998. "relatedouttradeid": {
  46999. "description": "关联外部成交单ID",
  47000. "type": "integer"
  47001. },
  47002. "status": {
  47003. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  47004. "type": "integer"
  47005. },
  47006. "totalamount": {
  47007. "description": "订单总额 = 成交金额 + 手续费",
  47008. "type": "number"
  47009. },
  47010. "tradeamount": {
  47011. "description": "成交金额[账户币种,用于所有权]",
  47012. "type": "number"
  47013. },
  47014. "tradedate": {
  47015. "description": "交易日(yyyyMMdd)",
  47016. "type": "string"
  47017. },
  47018. "tradeid": {
  47019. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47020. "type": "string"
  47021. },
  47022. "trademode": {
  47023. "description": "交易模式",
  47024. "type": "integer"
  47025. },
  47026. "tradeprice": {
  47027. "description": "成交价格",
  47028. "type": "number"
  47029. },
  47030. "tradeproperty": {
  47031. "description": "交易属性",
  47032. "type": "integer"
  47033. },
  47034. "tradeqty": {
  47035. "description": "成交数量",
  47036. "type": "number"
  47037. },
  47038. "tradetime": {
  47039. "description": "成交时间",
  47040. "type": "string"
  47041. },
  47042. "tradetype": {
  47043. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  47044. "type": "integer"
  47045. }
  47046. }
  47047. },
  47048. "order.QueryHisTradeOrderDetailRsp": {
  47049. "type": "object",
  47050. "required": [
  47051. "accountid",
  47052. "buildtype",
  47053. "buyorsell",
  47054. "goodsid",
  47055. "histradedate",
  47056. "marketid",
  47057. "memberuserid",
  47058. "operatetype",
  47059. "orderid",
  47060. "orderqty",
  47061. "ordertime",
  47062. "pricemode",
  47063. "tradedate",
  47064. "validtype"
  47065. ],
  47066. "properties": {
  47067. "accountid": {
  47068. "description": "账户ID[报价币种]",
  47069. "type": "integer"
  47070. },
  47071. "buildtype": {
  47072. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  47073. "type": "integer"
  47074. },
  47075. "buyorsell": {
  47076. "description": "买卖 - 0:买 1:卖",
  47077. "type": "integer"
  47078. },
  47079. "cancelorderid": {
  47080. "description": "撤单单号(撤单时填写)",
  47081. "type": "string"
  47082. },
  47083. "cancelqty": {
  47084. "description": "撤单数量",
  47085. "type": "number"
  47086. },
  47087. "clientordertime": {
  47088. "description": "客户端委托时间",
  47089. "type": "string"
  47090. },
  47091. "clientticket": {
  47092. "description": "客户端流水号",
  47093. "type": "string"
  47094. },
  47095. "clienttype": {
  47096. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  47097. "type": "integer"
  47098. },
  47099. "closeexchagechargevalue": {
  47100. "description": "平仓交易所手续费设置值",
  47101. "type": "number"
  47102. },
  47103. "closefeealgorithm": {
  47104. "description": "平仓手续费收取方式 1:比率 2:固定",
  47105. "type": "integer"
  47106. },
  47107. "closefreezecharge": {
  47108. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  47109. "type": "number"
  47110. },
  47111. "closememberchargevalue": {
  47112. "description": "平仓会员手续费设置值",
  47113. "type": "number"
  47114. },
  47115. "closeqty": {
  47116. "description": "平仓数量(先建后平操作 需要记录)",
  47117. "type": "number"
  47118. },
  47119. "closetradeqty": {
  47120. "description": "平仓成交数量(先建后平操作,需要记录)",
  47121. "type": "number"
  47122. },
  47123. "closeunfreezecharge": {
  47124. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  47125. "type": "number"
  47126. },
  47127. "decimalplace": {
  47128. "description": "商品报价小数位",
  47129. "type": "integer"
  47130. },
  47131. "delistingtype": {
  47132. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  47133. "type": "integer"
  47134. },
  47135. "enumdicname": {
  47136. "description": "单位名称",
  47137. "type": "string"
  47138. },
  47139. "freezecharge": {
  47140. "description": "冻结手续费",
  47141. "type": "number"
  47142. },
  47143. "freezemargin": {
  47144. "description": "冻结保证金(冻结交易金额)",
  47145. "type": "number"
  47146. },
  47147. "gcaccountid": {
  47148. "description": "账户ID[合约币种]",
  47149. "type": "integer"
  47150. },
  47151. "goodscode": {
  47152. "description": "商品代码",
  47153. "type": "string"
  47154. },
  47155. "goodsid": {
  47156. "description": "商品ID",
  47157. "type": "integer"
  47158. },
  47159. "goodsname": {
  47160. "description": "商品名称",
  47161. "type": "string"
  47162. },
  47163. "goodunitid": {
  47164. "description": "商品单位id",
  47165. "type": "integer"
  47166. },
  47167. "histradedate": {
  47168. "description": "历史交易日",
  47169. "type": "string"
  47170. },
  47171. "isconfirmexercise": {
  47172. "description": "是否确认行权- 0:否 1:是",
  47173. "type": "integer"
  47174. },
  47175. "ispreexercise": {
  47176. "description": "是否预申报- 0:否 1:是",
  47177. "type": "integer"
  47178. },
  47179. "isvaliddata": {
  47180. "description": "是否有效 - 0:无效 1:有效",
  47181. "type": "integer"
  47182. },
  47183. "listingselecttype": {
  47184. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47185. "type": "integer"
  47186. },
  47187. "marginalgorithm": {
  47188. "description": "保证金收取方式 1:比率 2:固定",
  47189. "type": "integer"
  47190. },
  47191. "marginvalue": {
  47192. "description": "即市保证金设置值",
  47193. "type": "number"
  47194. },
  47195. "marketid": {
  47196. "description": "市场ID",
  47197. "type": "integer"
  47198. },
  47199. "marketmaxsub": {
  47200. "description": "市价最大偏移范围",
  47201. "type": "number"
  47202. },
  47203. "marketname": {
  47204. "description": "市场名称",
  47205. "type": "string"
  47206. },
  47207. "memberuserid": {
  47208. "description": "所属会员UserID",
  47209. "type": "integer"
  47210. },
  47211. "openexchagechargevalue": {
  47212. "description": "建仓交易所手续费设置值",
  47213. "type": "number"
  47214. },
  47215. "openfeealgorithm": {
  47216. "description": "建仓手续费收取方式 1:比率 2:固定",
  47217. "type": "integer"
  47218. },
  47219. "openfreezecharge": {
  47220. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  47221. "type": "number"
  47222. },
  47223. "openmemberchargevalue": {
  47224. "description": "建仓会员手续费设置值",
  47225. "type": "number"
  47226. },
  47227. "openqty": {
  47228. "description": "开仓数量(先建后平操作,需要记录)",
  47229. "type": "number"
  47230. },
  47231. "opentradeqty": {
  47232. "description": "开仓成交数量(先建后平操作,需要记录)",
  47233. "type": "number"
  47234. },
  47235. "openunfreezecharge": {
  47236. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  47237. "type": "number"
  47238. },
  47239. "operatetype": {
  47240. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  47241. "type": "integer"
  47242. },
  47243. "operatorid": {
  47244. "description": "登录账号(LoginID)",
  47245. "type": "integer"
  47246. },
  47247. "optiontype": {
  47248. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  47249. "type": "integer"
  47250. },
  47251. "orderid": {
  47252. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47253. "type": "string"
  47254. },
  47255. "orderprice": {
  47256. "description": "委托价格",
  47257. "type": "number"
  47258. },
  47259. "orderqty": {
  47260. "description": "委托数量",
  47261. "type": "number"
  47262. },
  47263. "ordersrc": {
  47264. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  47265. "type": "integer"
  47266. },
  47267. "orderstatus": {
  47268. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  47269. "type": "integer"
  47270. },
  47271. "ordertime": {
  47272. "description": "委托时间",
  47273. "type": "string"
  47274. },
  47275. "preexerciseprice": {
  47276. "description": "预申报价格",
  47277. "type": "number"
  47278. },
  47279. "premium": {
  47280. "description": "权利金",
  47281. "type": "number"
  47282. },
  47283. "preorderid": {
  47284. "description": "关联预埋单号(止盈止损单时填写)",
  47285. "type": "string"
  47286. },
  47287. "pricemode": {
  47288. "description": "取价方式 - 1:市价 2: 限价",
  47289. "type": "integer"
  47290. },
  47291. "qtydecimalplace": {
  47292. "description": "成交量小数位",
  47293. "type": "integer"
  47294. },
  47295. "quoteid": {
  47296. "description": "报价单ID",
  47297. "type": "integer"
  47298. },
  47299. "relatedid": {
  47300. "description": "关联单号(交割单)",
  47301. "type": "string"
  47302. },
  47303. "retcode": {
  47304. "description": "错误代码",
  47305. "type": "integer"
  47306. },
  47307. "sessionid": {
  47308. "description": "会话ID",
  47309. "type": "integer"
  47310. },
  47311. "tradedate": {
  47312. "description": "交易日(yyyyMMdd)",
  47313. "type": "string"
  47314. },
  47315. "trademode": {
  47316. "description": "交易模式",
  47317. "type": "integer"
  47318. },
  47319. "tradeproperty": {
  47320. "description": "交易属性",
  47321. "type": "integer"
  47322. },
  47323. "tradeqty": {
  47324. "description": "成交数量",
  47325. "type": "number"
  47326. },
  47327. "unfreezecharge": {
  47328. "description": "解冻手续费",
  47329. "type": "number"
  47330. },
  47331. "unfreezemargin": {
  47332. "description": "解冻保证金",
  47333. "type": "number"
  47334. },
  47335. "updatetime": {
  47336. "description": "更新时间",
  47337. "type": "string"
  47338. },
  47339. "uuid": {
  47340. "description": "发起端唯一id",
  47341. "type": "string"
  47342. },
  47343. "validtime": {
  47344. "description": "有效期限",
  47345. "type": "string"
  47346. },
  47347. "validtype": {
  47348. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  47349. "type": "integer"
  47350. },
  47351. "volumetype": {
  47352. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  47353. "type": "integer"
  47354. }
  47355. }
  47356. },
  47357. "order.QueryTradeDetailRsp": {
  47358. "type": "object",
  47359. "required": [
  47360. "accountid",
  47361. "buyorsell",
  47362. "goodsid",
  47363. "marketid",
  47364. "memberuserid",
  47365. "orderid",
  47366. "tradeamount",
  47367. "tradedate",
  47368. "tradeid",
  47369. "tradeprice",
  47370. "tradeqty",
  47371. "tradetime"
  47372. ],
  47373. "properties": {
  47374. "accountid": {
  47375. "description": "账户ID[报价币种]",
  47376. "type": "integer"
  47377. },
  47378. "advanceratio": {
  47379. "description": "首付比率",
  47380. "type": "number"
  47381. },
  47382. "buildtype": {
  47383. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  47384. "type": "integer"
  47385. },
  47386. "buyorsell": {
  47387. "description": "方向 - 0:买 1:卖",
  47388. "type": "integer"
  47389. },
  47390. "charge": {
  47391. "description": "手续费",
  47392. "type": "number"
  47393. },
  47394. "closecharge": {
  47395. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  47396. "type": "number"
  47397. },
  47398. "closeexchagechargevalue": {
  47399. "description": "平仓交易所手续费设置值",
  47400. "type": "number"
  47401. },
  47402. "closefeealgorithm": {
  47403. "description": "平仓手续费收取方式 1:比率 2:固定",
  47404. "type": "integer"
  47405. },
  47406. "closememberchargevalue": {
  47407. "description": "平仓会员手续费设置值",
  47408. "type": "number"
  47409. },
  47410. "closepl": {
  47411. "description": "平仓盈亏",
  47412. "type": "number"
  47413. },
  47414. "closepl2": {
  47415. "description": "平仓盈亏[逐笔]",
  47416. "type": "number"
  47417. },
  47418. "closeqty": {
  47419. "description": "平仓数量(先建后平操作 需要记录)",
  47420. "type": "number"
  47421. },
  47422. "creditamount": {
  47423. "description": "授信金额",
  47424. "type": "number"
  47425. },
  47426. "decimalplace": {
  47427. "description": "商品报价小数位",
  47428. "type": "integer"
  47429. },
  47430. "enumdicname": {
  47431. "description": "单位名称",
  47432. "type": "string"
  47433. },
  47434. "gcaccountid": {
  47435. "description": "账户ID[合约币种]",
  47436. "type": "integer"
  47437. },
  47438. "goodscode": {
  47439. "description": "商品代码",
  47440. "type": "string"
  47441. },
  47442. "goodsid": {
  47443. "description": "商品ID",
  47444. "type": "integer"
  47445. },
  47446. "goodsname": {
  47447. "description": "商品名称",
  47448. "type": "string"
  47449. },
  47450. "goodunitid": {
  47451. "description": "商品单位id",
  47452. "type": "integer"
  47453. },
  47454. "intclosepl": {
  47455. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  47456. "type": "integer"
  47457. },
  47458. "isconfirmexercise": {
  47459. "description": "是否确认行权- 0:否 1:是",
  47460. "type": "integer"
  47461. },
  47462. "ismain": {
  47463. "description": "是否主单 - 0:不是 1:是",
  47464. "type": "integer"
  47465. },
  47466. "ispreexercise": {
  47467. "description": "是否预申报- 0:否 1:是",
  47468. "type": "integer"
  47469. },
  47470. "isreckoned": {
  47471. "description": "是否结算 - 0:未结算 1:已结算",
  47472. "type": "integer"
  47473. },
  47474. "listingselecttype": {
  47475. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47476. "type": "integer"
  47477. },
  47478. "marketid": {
  47479. "description": "市场ID",
  47480. "type": "integer"
  47481. },
  47482. "marketname": {
  47483. "description": "市场名称",
  47484. "type": "string"
  47485. },
  47486. "matchaccountid": {
  47487. "description": "对手账号id",
  47488. "type": "integer"
  47489. },
  47490. "memberuserid": {
  47491. "description": "会员id 个人投资者 需要填写",
  47492. "type": "integer"
  47493. },
  47494. "opencharge": {
  47495. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  47496. "type": "number"
  47497. },
  47498. "openexchagechargevalue": {
  47499. "description": "建仓交易所手续费设置值",
  47500. "type": "number"
  47501. },
  47502. "openfeealgorithm": {
  47503. "description": "建仓手续费收取方式 1:比率 2:固定",
  47504. "type": "integer"
  47505. },
  47506. "openmemberchargevalue": {
  47507. "description": "建仓会员手续费设置值",
  47508. "type": "number"
  47509. },
  47510. "openqty": {
  47511. "description": "开仓数量(先建后平操作 需要记录)",
  47512. "type": "number"
  47513. },
  47514. "optiontype": {
  47515. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  47516. "type": "integer"
  47517. },
  47518. "orderid": {
  47519. "description": "委托单号",
  47520. "type": "string"
  47521. },
  47522. "payamount": {
  47523. "description": "支付金额(付款金额)",
  47524. "type": "number"
  47525. },
  47526. "performanceplanid": {
  47527. "description": "履约计划ID[期权]",
  47528. "type": "integer"
  47529. },
  47530. "performancestatus": {
  47531. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  47532. "type": "integer"
  47533. },
  47534. "preexerciseprice": {
  47535. "description": "预申报价格",
  47536. "type": "number"
  47537. },
  47538. "premium": {
  47539. "description": "权利金 - [持仓单的权利金]",
  47540. "type": "number"
  47541. },
  47542. "qtydecimalplace": {
  47543. "description": "商品报价小数位",
  47544. "type": "integer"
  47545. },
  47546. "recvamount": {
  47547. "description": "到账金额 = 成交金额 - 手续费",
  47548. "type": "number"
  47549. },
  47550. "relatedouttradeid": {
  47551. "description": "关联外部成交单ID",
  47552. "type": "integer"
  47553. },
  47554. "status": {
  47555. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  47556. "type": "integer"
  47557. },
  47558. "totalamount": {
  47559. "description": "订单总额 = 成交金额 + 手续费",
  47560. "type": "number"
  47561. },
  47562. "tradeamount": {
  47563. "description": "成交金额[账户币种,用于所有权]",
  47564. "type": "number"
  47565. },
  47566. "tradedate": {
  47567. "description": "交易日(yyyyMMdd)",
  47568. "type": "string"
  47569. },
  47570. "tradeid": {
  47571. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47572. "type": "string"
  47573. },
  47574. "trademode": {
  47575. "description": "交易模式",
  47576. "type": "integer"
  47577. },
  47578. "tradeprice": {
  47579. "description": "成交价格",
  47580. "type": "number"
  47581. },
  47582. "tradeproperty": {
  47583. "description": "交易属性",
  47584. "type": "integer"
  47585. },
  47586. "tradeqty": {
  47587. "description": "成交数量",
  47588. "type": "number"
  47589. },
  47590. "tradetime": {
  47591. "description": "成交时间",
  47592. "type": "string"
  47593. },
  47594. "tradetype": {
  47595. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  47596. "type": "integer"
  47597. }
  47598. }
  47599. },
  47600. "order.QueryTradeOrderDetailRsp": {
  47601. "type": "object",
  47602. "required": [
  47603. "accountid",
  47604. "buildtype",
  47605. "buyorsell",
  47606. "goodsid",
  47607. "marketid",
  47608. "operatetype",
  47609. "orderqty",
  47610. "ordertime",
  47611. "pricemode",
  47612. "tradedate",
  47613. "validtype"
  47614. ],
  47615. "properties": {
  47616. "accountid": {
  47617. "description": "账户ID[报价币种]",
  47618. "type": "integer"
  47619. },
  47620. "buildtype": {
  47621. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  47622. "type": "integer"
  47623. },
  47624. "buyorsell": {
  47625. "description": "买卖 - 0:买 1:卖",
  47626. "type": "integer"
  47627. },
  47628. "cancelorderid": {
  47629. "description": "撤单单号(撤单时填写)",
  47630. "type": "string"
  47631. },
  47632. "cancelqty": {
  47633. "description": "撤单数量",
  47634. "type": "number"
  47635. },
  47636. "clienttype": {
  47637. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  47638. "type": "integer"
  47639. },
  47640. "closefreezecharge": {
  47641. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  47642. "type": "number"
  47643. },
  47644. "closeqty": {
  47645. "description": "平仓数量(先建后平操作 需要记录)",
  47646. "type": "number"
  47647. },
  47648. "closetradeqty": {
  47649. "description": "平仓成交数量(先建后平操作,需要记录)",
  47650. "type": "number"
  47651. },
  47652. "closeunfreezecharge": {
  47653. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  47654. "type": "number"
  47655. },
  47656. "decimalplace": {
  47657. "description": "商品报价小数位",
  47658. "type": "integer"
  47659. },
  47660. "delistingtype": {
  47661. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  47662. "type": "integer"
  47663. },
  47664. "enableqty": {
  47665. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  47666. "type": "number"
  47667. },
  47668. "enumdicname": {
  47669. "description": "单位名称",
  47670. "type": "string"
  47671. },
  47672. "freezecharge": {
  47673. "description": "冻结手续费",
  47674. "type": "number"
  47675. },
  47676. "freezemargin": {
  47677. "description": "冻结保证金(冻结交易金额)",
  47678. "type": "number"
  47679. },
  47680. "goodscode": {
  47681. "description": "商品代码",
  47682. "type": "string"
  47683. },
  47684. "goodsid": {
  47685. "description": "商品ID",
  47686. "type": "integer"
  47687. },
  47688. "goodsname": {
  47689. "description": "商品名称",
  47690. "type": "string"
  47691. },
  47692. "goodunitid": {
  47693. "description": "商品单位id",
  47694. "type": "integer"
  47695. },
  47696. "listingselecttype": {
  47697. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47698. "type": "integer"
  47699. },
  47700. "marketid": {
  47701. "description": "市场ID",
  47702. "type": "integer"
  47703. },
  47704. "marketname": {
  47705. "description": "市场名称",
  47706. "type": "string"
  47707. },
  47708. "openfreezecharge": {
  47709. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  47710. "type": "number"
  47711. },
  47712. "openqty": {
  47713. "description": "开仓数量(先建后平操作,需要记录)",
  47714. "type": "number"
  47715. },
  47716. "opentradeqty": {
  47717. "description": "开仓成交数量(先建后平操作,需要记录)",
  47718. "type": "number"
  47719. },
  47720. "openunfreezecharge": {
  47721. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  47722. "type": "number"
  47723. },
  47724. "operatetype": {
  47725. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  47726. "type": "integer"
  47727. },
  47728. "operatorid": {
  47729. "description": "登录账号(LoginID)",
  47730. "type": "integer"
  47731. },
  47732. "orderid": {
  47733. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47734. "type": "string"
  47735. },
  47736. "orderprice": {
  47737. "description": "委托价格",
  47738. "type": "number"
  47739. },
  47740. "orderqty": {
  47741. "description": "委托数量",
  47742. "type": "number"
  47743. },
  47744. "ordersrc": {
  47745. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  47746. "type": "integer"
  47747. },
  47748. "orderstatus": {
  47749. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  47750. "type": "integer"
  47751. },
  47752. "ordertime": {
  47753. "description": "委托时间",
  47754. "type": "string"
  47755. },
  47756. "preorderid": {
  47757. "description": "关联预埋单号(止盈止损单时填写)",
  47758. "type": "string"
  47759. },
  47760. "pricemode": {
  47761. "description": "取价方式 - 1:市价 2: 限价",
  47762. "type": "integer"
  47763. },
  47764. "qtydecimalplace": {
  47765. "description": "商品报价小数位",
  47766. "type": "integer"
  47767. },
  47768. "relatedid": {
  47769. "description": "关联单号(交割单)",
  47770. "type": "string"
  47771. },
  47772. "tradedate": {
  47773. "description": "交易日(yyyyMMdd)",
  47774. "type": "string"
  47775. },
  47776. "trademode": {
  47777. "description": "交易模式",
  47778. "type": "integer"
  47779. },
  47780. "tradeqty": {
  47781. "description": "成交数量",
  47782. "type": "number"
  47783. },
  47784. "unfreezecharge": {
  47785. "description": "解冻手续费",
  47786. "type": "number"
  47787. },
  47788. "unfreezemargin": {
  47789. "description": "解冻保证金",
  47790. "type": "number"
  47791. },
  47792. "validtime": {
  47793. "description": "有效期限",
  47794. "type": "string"
  47795. },
  47796. "validtype": {
  47797. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  47798. "type": "integer"
  47799. },
  47800. "volumetype": {
  47801. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  47802. "type": "integer"
  47803. }
  47804. }
  47805. },
  47806. "order.QueryTradePositionRsp": {
  47807. "type": "object",
  47808. "required": [
  47809. "goodsid"
  47810. ],
  47811. "properties": {
  47812. "accountid": {
  47813. "description": "资金账户",
  47814. "type": "integer"
  47815. },
  47816. "agreeunit": {
  47817. "description": "合约单位",
  47818. "type": "number"
  47819. },
  47820. "averageprice": {
  47821. "description": "持仓均价",
  47822. "type": "number"
  47823. },
  47824. "buyorsell": {
  47825. "description": "方向 - 0:买 1:卖",
  47826. "type": "integer"
  47827. },
  47828. "closetotalqty": {
  47829. "description": "平仓总数量",
  47830. "type": "number"
  47831. },
  47832. "curholderamount": {
  47833. "description": "当前持仓总金额[商品币种]",
  47834. "type": "number"
  47835. },
  47836. "curpositionqty": {
  47837. "description": "当前持仓总数量",
  47838. "type": "number"
  47839. },
  47840. "currencyid": {
  47841. "description": "报价货币ID",
  47842. "type": "integer"
  47843. },
  47844. "curtdposition": {
  47845. "description": "期末今日头寸",
  47846. "type": "number"
  47847. },
  47848. "decimalplace": {
  47849. "description": "报价小数位",
  47850. "type": "integer"
  47851. },
  47852. "enableqty": {
  47853. "description": "可用量",
  47854. "type": "number"
  47855. },
  47856. "fretdposition": {
  47857. "description": "冻结今日头寸",
  47858. "type": "number"
  47859. },
  47860. "frozenqty": {
  47861. "description": "持仓冻结数量",
  47862. "type": "number"
  47863. },
  47864. "goodscode": {
  47865. "description": "商品代码",
  47866. "type": "string"
  47867. },
  47868. "goodsid": {
  47869. "description": "商品Id",
  47870. "type": "integer"
  47871. },
  47872. "goodsname": {
  47873. "description": "商品名称",
  47874. "type": "string"
  47875. },
  47876. "goodunit": {
  47877. "description": "报价单位",
  47878. "type": "string"
  47879. },
  47880. "goodunitid": {
  47881. "description": "报价单位ID",
  47882. "type": "integer"
  47883. },
  47884. "holderamount": {
  47885. "description": "期初持仓总金额[商品币种]",
  47886. "type": "number"
  47887. },
  47888. "lastprice": {
  47889. "description": "最新价",
  47890. "type": "number"
  47891. },
  47892. "marketamount": {
  47893. "description": "市值",
  47894. "type": "number"
  47895. },
  47896. "marketid": {
  47897. "description": "所属市场ID",
  47898. "type": "integer"
  47899. },
  47900. "openreqqty": {
  47901. "description": "开仓申请数量(用于比较最大持仓数量)",
  47902. "type": "number"
  47903. },
  47904. "opentotalqty": {
  47905. "description": "开仓总数量",
  47906. "type": "number"
  47907. },
  47908. "otherfrozenqty": {
  47909. "description": "持仓其他冻结数量(交割冻结)",
  47910. "type": "number"
  47911. },
  47912. "positionpl": {
  47913. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  47914. "type": "number"
  47915. },
  47916. "positionplrate": {
  47917. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  47918. "type": "number"
  47919. },
  47920. "positionqty": {
  47921. "description": "期初持仓数量",
  47922. "type": "number"
  47923. },
  47924. "qtydecimalplace": {
  47925. "description": "成交量小数位",
  47926. "type": "integer"
  47927. },
  47928. "refgoodscode": {
  47929. "description": "参考商品代码",
  47930. "type": "string"
  47931. },
  47932. "refgoodsid": {
  47933. "description": "参考商品ID",
  47934. "type": "integer"
  47935. },
  47936. "tnqty": {
  47937. "description": "T+N冻结总量",
  47938. "type": "number"
  47939. },
  47940. "tnusedqty": {
  47941. "description": "T+N使用量(可以使用T+N的冻结数量)",
  47942. "type": "number"
  47943. },
  47944. "trademode": {
  47945. "description": "交易模式",
  47946. "type": "integer"
  47947. },
  47948. "tradeproperty": {
  47949. "description": "交易属性",
  47950. "type": "integer"
  47951. },
  47952. "usedmargin": {
  47953. "description": "占用保证金[商品币种]",
  47954. "type": "number"
  47955. }
  47956. }
  47957. },
  47958. "pb.GoodsMarginCfgStruct": {
  47959. "type": "object",
  47960. "properties": {
  47961. "CustomerTypeID": {
  47962. "description": "投资者客户类型",
  47963. "type": "integer"
  47964. },
  47965. "GoodsID": {
  47966. "description": "商品ID",
  47967. "type": "integer"
  47968. },
  47969. "IsDefault": {
  47970. "description": "是否默认标志位",
  47971. "type": "integer"
  47972. },
  47973. "LockMarginValue": {
  47974. "description": "锁仓保证金",
  47975. "type": "number"
  47976. },
  47977. "MarginAlgorithm": {
  47978. "description": "保证金计算方式",
  47979. "type": "integer"
  47980. },
  47981. "MarketMarginValue": {
  47982. "description": "即市保证金值",
  47983. "type": "number"
  47984. },
  47985. "RealMarginAlgorithm": {
  47986. "description": "实付保证金计算方式",
  47987. "type": "integer"
  47988. },
  47989. "RealMarginValue": {
  47990. "description": "实付比例",
  47991. "type": "number"
  47992. },
  47993. "ReckonMarginValue": {
  47994. "description": "结算保证金值",
  47995. "type": "number"
  47996. }
  47997. }
  47998. },
  47999. "quote.HistoryData": {
  48000. "type": "object",
  48001. "properties": {
  48002. "c": {
  48003. "description": "收盘价",
  48004. "type": "number"
  48005. },
  48006. "f": {
  48007. "description": "是否补充数据",
  48008. "type": "boolean"
  48009. },
  48010. "h": {
  48011. "description": "最高价",
  48012. "type": "number"
  48013. },
  48014. "hv": {
  48015. "description": "持仓量",
  48016. "type": "integer"
  48017. },
  48018. "l": {
  48019. "description": "最低价",
  48020. "type": "number"
  48021. },
  48022. "o": {
  48023. "description": "开盘价",
  48024. "type": "number"
  48025. },
  48026. "s": {
  48027. "description": "结算价,日线周期(包括)以上才有",
  48028. "type": "number"
  48029. },
  48030. "ts": {
  48031. "description": "时间",
  48032. "type": "string"
  48033. },
  48034. "tt": {
  48035. "description": "总金额",
  48036. "type": "number"
  48037. },
  48038. "tv": {
  48039. "description": "总量(成交量)",
  48040. "type": "integer"
  48041. }
  48042. }
  48043. },
  48044. "quote.HistoryTikData": {
  48045. "type": "object",
  48046. "properties": {
  48047. "AV": {
  48048. "description": "卖量",
  48049. "type": "integer"
  48050. },
  48051. "Ask": {
  48052. "description": "卖价",
  48053. "type": "number"
  48054. },
  48055. "BV": {
  48056. "description": "买量",
  48057. "type": "integer"
  48058. },
  48059. "Bid": {
  48060. "description": "买价",
  48061. "type": "number"
  48062. },
  48063. "HI": {
  48064. "description": "单笔持仓",
  48065. "type": "integer"
  48066. },
  48067. "HV": {
  48068. "description": "持仓量",
  48069. "type": "integer"
  48070. },
  48071. "PE": {
  48072. "description": "现价",
  48073. "type": "number"
  48074. },
  48075. "TDR": {
  48076. "description": "交易方向,0:买 1:卖",
  48077. "type": "integer"
  48078. },
  48079. "TK": {
  48080. "description": "交易类型",
  48081. "type": "integer"
  48082. },
  48083. "TS": {
  48084. "description": "行情时间文本",
  48085. "type": "string"
  48086. },
  48087. "TT": {
  48088. "description": "现金额",
  48089. "type": "number"
  48090. },
  48091. "Vol": {
  48092. "description": "现量",
  48093. "type": "integer"
  48094. }
  48095. }
  48096. },
  48097. "quote.QueryQuoteDayRsp": {
  48098. "type": "object",
  48099. "properties": {
  48100. "ask": {
  48101. "description": "卖1",
  48102. "type": "number"
  48103. },
  48104. "ask10": {
  48105. "description": "卖10",
  48106. "type": "number"
  48107. },
  48108. "ask2": {
  48109. "description": "卖2",
  48110. "type": "number"
  48111. },
  48112. "ask3": {
  48113. "description": "卖3",
  48114. "type": "number"
  48115. },
  48116. "ask4": {
  48117. "description": "卖4",
  48118. "type": "number"
  48119. },
  48120. "ask5": {
  48121. "description": "卖5",
  48122. "type": "number"
  48123. },
  48124. "ask6": {
  48125. "description": "卖6",
  48126. "type": "number"
  48127. },
  48128. "ask7": {
  48129. "description": "卖7",
  48130. "type": "number"
  48131. },
  48132. "ask8": {
  48133. "description": "卖8",
  48134. "type": "number"
  48135. },
  48136. "ask9": {
  48137. "description": "卖9",
  48138. "type": "number"
  48139. },
  48140. "askorderid": {
  48141. "description": "卖单号1",
  48142. "type": "integer"
  48143. },
  48144. "askorderid2": {
  48145. "description": "卖单号2",
  48146. "type": "integer"
  48147. },
  48148. "askorderid3": {
  48149. "description": "卖单号3",
  48150. "type": "integer"
  48151. },
  48152. "askorderid4": {
  48153. "description": "卖单号4",
  48154. "type": "integer"
  48155. },
  48156. "askorderid5": {
  48157. "description": "卖单号5",
  48158. "type": "integer"
  48159. },
  48160. "askordervolume": {
  48161. "description": "卖单量1",
  48162. "type": "integer"
  48163. },
  48164. "askordervolume10": {
  48165. "description": "卖单量10",
  48166. "type": "integer"
  48167. },
  48168. "askordervolume2": {
  48169. "description": "卖单量2",
  48170. "type": "integer"
  48171. },
  48172. "askordervolume3": {
  48173. "description": "卖单量3",
  48174. "type": "integer"
  48175. },
  48176. "askordervolume4": {
  48177. "description": "卖单量4",
  48178. "type": "integer"
  48179. },
  48180. "askordervolume5": {
  48181. "description": "卖单量5",
  48182. "type": "integer"
  48183. },
  48184. "askordervolume6": {
  48185. "description": "卖单量6",
  48186. "type": "integer"
  48187. },
  48188. "askordervolume7": {
  48189. "description": "卖单量7",
  48190. "type": "integer"
  48191. },
  48192. "askordervolume8": {
  48193. "description": "卖单量8",
  48194. "type": "integer"
  48195. },
  48196. "askordervolume9": {
  48197. "description": "卖单量9",
  48198. "type": "integer"
  48199. },
  48200. "askqueueinfo": {
  48201. "description": "大利市卖港股用",
  48202. "type": "string"
  48203. },
  48204. "askvolume": {
  48205. "description": "卖量1",
  48206. "type": "integer"
  48207. },
  48208. "askvolume10": {
  48209. "description": "卖量10",
  48210. "type": "integer"
  48211. },
  48212. "askvolume2": {
  48213. "description": "卖量2",
  48214. "type": "integer"
  48215. },
  48216. "askvolume3": {
  48217. "description": "卖量3",
  48218. "type": "integer"
  48219. },
  48220. "askvolume4": {
  48221. "description": "卖量4",
  48222. "type": "integer"
  48223. },
  48224. "askvolume5": {
  48225. "description": "卖量5",
  48226. "type": "integer"
  48227. },
  48228. "askvolume6": {
  48229. "description": "卖量6",
  48230. "type": "integer"
  48231. },
  48232. "askvolume7": {
  48233. "description": "卖量7",
  48234. "type": "integer"
  48235. },
  48236. "askvolume8": {
  48237. "description": "卖量8",
  48238. "type": "integer"
  48239. },
  48240. "askvolume9": {
  48241. "description": "卖量9",
  48242. "type": "integer"
  48243. },
  48244. "averageprice": {
  48245. "description": "均价",
  48246. "type": "number"
  48247. },
  48248. "bid": {
  48249. "description": "买1",
  48250. "type": "number"
  48251. },
  48252. "bid10": {
  48253. "description": "买10",
  48254. "type": "number"
  48255. },
  48256. "bid2": {
  48257. "description": "买2",
  48258. "type": "number"
  48259. },
  48260. "bid3": {
  48261. "description": "买3",
  48262. "type": "number"
  48263. },
  48264. "bid4": {
  48265. "description": "买4",
  48266. "type": "number"
  48267. },
  48268. "bid5": {
  48269. "description": "买5",
  48270. "type": "number"
  48271. },
  48272. "bid6": {
  48273. "description": "买6",
  48274. "type": "number"
  48275. },
  48276. "bid7": {
  48277. "description": "买7",
  48278. "type": "number"
  48279. },
  48280. "bid8": {
  48281. "description": "买8",
  48282. "type": "number"
  48283. },
  48284. "bid9": {
  48285. "description": "买9",
  48286. "type": "number"
  48287. },
  48288. "bidorderid": {
  48289. "description": "买单号1",
  48290. "type": "integer"
  48291. },
  48292. "bidorderid2": {
  48293. "description": "买单号2",
  48294. "type": "integer"
  48295. },
  48296. "bidorderid3": {
  48297. "description": "买单号3",
  48298. "type": "integer"
  48299. },
  48300. "bidorderid4": {
  48301. "description": "买单号4",
  48302. "type": "integer"
  48303. },
  48304. "bidorderid5": {
  48305. "description": "买单号5",
  48306. "type": "integer"
  48307. },
  48308. "bidordervolume": {
  48309. "description": "买单量1",
  48310. "type": "integer"
  48311. },
  48312. "bidordervolume10": {
  48313. "description": "买单量10",
  48314. "type": "integer"
  48315. },
  48316. "bidordervolume2": {
  48317. "description": "买单量2",
  48318. "type": "integer"
  48319. },
  48320. "bidordervolume3": {
  48321. "description": "买单量3",
  48322. "type": "integer"
  48323. },
  48324. "bidordervolume4": {
  48325. "description": "买单量4",
  48326. "type": "integer"
  48327. },
  48328. "bidordervolume5": {
  48329. "description": "买单量5",
  48330. "type": "integer"
  48331. },
  48332. "bidordervolume6": {
  48333. "description": "买单量6",
  48334. "type": "integer"
  48335. },
  48336. "bidordervolume7": {
  48337. "description": "买单量7",
  48338. "type": "integer"
  48339. },
  48340. "bidordervolume8": {
  48341. "description": "买单量8",
  48342. "type": "integer"
  48343. },
  48344. "bidordervolume9": {
  48345. "description": "买单量9",
  48346. "type": "integer"
  48347. },
  48348. "bidqueueinfo": {
  48349. "description": "大利市买港股用",
  48350. "type": "string"
  48351. },
  48352. "bidvolume": {
  48353. "description": "买量1",
  48354. "type": "integer"
  48355. },
  48356. "bidvolume10": {
  48357. "description": "买量10",
  48358. "type": "integer"
  48359. },
  48360. "bidvolume2": {
  48361. "description": "买量2",
  48362. "type": "integer"
  48363. },
  48364. "bidvolume3": {
  48365. "description": "买量3",
  48366. "type": "integer"
  48367. },
  48368. "bidvolume4": {
  48369. "description": "买量4",
  48370. "type": "integer"
  48371. },
  48372. "bidvolume5": {
  48373. "description": "买量5",
  48374. "type": "integer"
  48375. },
  48376. "bidvolume6": {
  48377. "description": "买量6",
  48378. "type": "integer"
  48379. },
  48380. "bidvolume7": {
  48381. "description": "买量7",
  48382. "type": "integer"
  48383. },
  48384. "bidvolume8": {
  48385. "description": "买量8",
  48386. "type": "integer"
  48387. },
  48388. "bidvolume9": {
  48389. "description": "买量9",
  48390. "type": "integer"
  48391. },
  48392. "calloptionpremiums": {
  48393. "description": "认购期权1",
  48394. "type": "integer"
  48395. },
  48396. "calloptionpremiums2": {
  48397. "description": "认购期权2",
  48398. "type": "integer"
  48399. },
  48400. "calloptionpremiums3": {
  48401. "description": "认购期权3",
  48402. "type": "integer"
  48403. },
  48404. "calloptionpremiums4": {
  48405. "description": "认购期权4",
  48406. "type": "integer"
  48407. },
  48408. "calloptionpremiums5": {
  48409. "description": "认购期权5",
  48410. "type": "integer"
  48411. },
  48412. "cleartime": {
  48413. "description": "清盘时间",
  48414. "type": "integer"
  48415. },
  48416. "exchangecode": {
  48417. "description": "交易所代码",
  48418. "type": "integer"
  48419. },
  48420. "exchangedate": {
  48421. "description": "交易日",
  48422. "type": "integer"
  48423. },
  48424. "goodscode": {
  48425. "description": "商品代码",
  48426. "type": "string"
  48427. },
  48428. "grepmarketprice": {
  48429. "description": "暗盘价 港股专用",
  48430. "type": "number"
  48431. },
  48432. "highest": {
  48433. "description": "最高价",
  48434. "type": "number"
  48435. },
  48436. "holdincrement": {
  48437. "description": "单笔持仓",
  48438. "type": "integer"
  48439. },
  48440. "holdvolume": {
  48441. "description": "持仓",
  48442. "type": "integer"
  48443. },
  48444. "iep": {
  48445. "description": "平衡价 港股专用",
  48446. "type": "number"
  48447. },
  48448. "iev": {
  48449. "description": "平衡量 港股专用",
  48450. "type": "number"
  48451. },
  48452. "inventory": {
  48453. "description": "库存",
  48454. "type": "integer"
  48455. },
  48456. "iscleared": {
  48457. "description": "是否清盘标志",
  48458. "type": "integer"
  48459. },
  48460. "issettled": {
  48461. "description": "是否结算标志",
  48462. "type": "integer"
  48463. },
  48464. "last": {
  48465. "description": "最新价",
  48466. "type": "number"
  48467. },
  48468. "lastlot": {
  48469. "description": "最新成交手数",
  48470. "type": "integer"
  48471. },
  48472. "lasttime": {
  48473. "description": "行情时间(只有现价变化行情时间才变化)",
  48474. "type": "string"
  48475. },
  48476. "lastturnover": {
  48477. "description": "最新成交金额",
  48478. "type": "number"
  48479. },
  48480. "lastvolume": {
  48481. "description": "最新成交量",
  48482. "type": "integer"
  48483. },
  48484. "limitdown": {
  48485. "description": "跌停价",
  48486. "type": "number"
  48487. },
  48488. "limitup": {
  48489. "description": "涨停价",
  48490. "type": "number"
  48491. },
  48492. "lowest": {
  48493. "description": "最低价",
  48494. "type": "number"
  48495. },
  48496. "nontotalholdervolume": {
  48497. "description": "非交易持仓量",
  48498. "type": "integer"
  48499. },
  48500. "nontotallot": {
  48501. "description": "非交易总手数",
  48502. "type": "integer"
  48503. },
  48504. "nontotalturnover": {
  48505. "description": "非交易总金额",
  48506. "type": "integer"
  48507. },
  48508. "nontotalvolume": {
  48509. "description": "非交易总量",
  48510. "type": "integer"
  48511. },
  48512. "opened": {
  48513. "description": "开盘价",
  48514. "type": "number"
  48515. },
  48516. "opentime": {
  48517. "description": "开盘时间",
  48518. "type": "string"
  48519. },
  48520. "orderid": {
  48521. "description": "序号",
  48522. "type": "integer"
  48523. },
  48524. "preclose": {
  48525. "description": "昨收",
  48526. "type": "number"
  48527. },
  48528. "preholdvolume": {
  48529. "description": "昨持仓",
  48530. "type": "integer"
  48531. },
  48532. "presettle": {
  48533. "description": "昨结价",
  48534. "type": "number"
  48535. },
  48536. "publictradetype": {
  48537. "description": "公共交易标志类型 港股专用",
  48538. "type": "string"
  48539. },
  48540. "putoptionpremiums": {
  48541. "description": "认沽期权1",
  48542. "type": "integer"
  48543. },
  48544. "putoptionpremiums2": {
  48545. "description": "认沽期权2",
  48546. "type": "integer"
  48547. },
  48548. "putoptionpremiums3": {
  48549. "description": "认沽期权3",
  48550. "type": "integer"
  48551. },
  48552. "putoptionpremiums4": {
  48553. "description": "认沽期权4",
  48554. "type": "integer"
  48555. },
  48556. "putoptionpremiums5": {
  48557. "description": "认沽期权5",
  48558. "type": "integer"
  48559. },
  48560. "settle": {
  48561. "description": "结算价",
  48562. "type": "number"
  48563. },
  48564. "strikeprice": {
  48565. "description": "发行价",
  48566. "type": "number"
  48567. },
  48568. "totalaskvolume": {
  48569. "description": "内盘",
  48570. "type": "integer"
  48571. },
  48572. "totalbidvolume": {
  48573. "description": "外盘",
  48574. "type": "integer"
  48575. },
  48576. "totallot": {
  48577. "description": "总手数",
  48578. "type": "integer"
  48579. },
  48580. "totalturnover": {
  48581. "description": "总金额",
  48582. "type": "number"
  48583. },
  48584. "totalvolume": {
  48585. "description": "总量",
  48586. "type": "integer"
  48587. },
  48588. "utclasttime": {
  48589. "description": "utc的行情时间",
  48590. "type": "string"
  48591. }
  48592. }
  48593. },
  48594. "quote.QueryTSDataRsp": {
  48595. "type": "object",
  48596. "properties": {
  48597. "Count": {
  48598. "description": "交易日应有数据个数",
  48599. "type": "integer"
  48600. },
  48601. "decimalPlace": {
  48602. "description": "小数位",
  48603. "type": "integer"
  48604. },
  48605. "endTime": {
  48606. "description": "结束时间",
  48607. "type": "string"
  48608. },
  48609. "goodsCode": {
  48610. "description": "商品代码",
  48611. "type": "string"
  48612. },
  48613. "historyDatas": {
  48614. "description": "历史数据",
  48615. "type": "array",
  48616. "items": {
  48617. "$ref": "#/definitions/quote.HistoryData"
  48618. }
  48619. },
  48620. "outGoodsCode": {
  48621. "description": "外部商品代码",
  48622. "type": "string"
  48623. },
  48624. "preSettle": {
  48625. "description": "昨结价",
  48626. "type": "number"
  48627. },
  48628. "runSteps": {
  48629. "description": "交易日开休市计划",
  48630. "type": "array",
  48631. "items": {
  48632. "$ref": "#/definitions/quote.TSDataRunStep"
  48633. }
  48634. },
  48635. "startTime": {
  48636. "description": "开始时间",
  48637. "type": "string"
  48638. },
  48639. "tradeDate": {
  48640. "description": "交易日",
  48641. "type": "string"
  48642. }
  48643. }
  48644. },
  48645. "quote.TSDataRunStep": {
  48646. "type": "object",
  48647. "properties": {
  48648. "end": {
  48649. "description": "真实结束时间",
  48650. "type": "string"
  48651. },
  48652. "endflag": {
  48653. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  48654. "type": "integer"
  48655. },
  48656. "endtime": {
  48657. "description": "结束时间(HH:mm)",
  48658. "type": "string"
  48659. },
  48660. "endweekday": {
  48661. "description": "结束周几",
  48662. "type": "integer"
  48663. },
  48664. "groupid": {
  48665. "description": "分组ID",
  48666. "type": "integer"
  48667. },
  48668. "runstep": {
  48669. "description": "运行阶段 - 2:连续交易",
  48670. "type": "integer"
  48671. },
  48672. "sectionid": {
  48673. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  48674. "type": "integer"
  48675. },
  48676. "start": {
  48677. "description": "真实开始时间",
  48678. "type": "string"
  48679. },
  48680. "startflag": {
  48681. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  48682. "type": "integer"
  48683. },
  48684. "starttime": {
  48685. "description": "起始时间(HH:mm)",
  48686. "type": "string"
  48687. },
  48688. "startweekday": {
  48689. "description": "起始周几",
  48690. "type": "integer"
  48691. },
  48692. "tradeweekday": {
  48693. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  48694. "type": "integer"
  48695. }
  48696. }
  48697. },
  48698. "szdz.QueryConvertLogRsp": {
  48699. "type": "object",
  48700. "required": [
  48701. "logid"
  48702. ],
  48703. "properties": {
  48704. "accountid": {
  48705. "description": "资金账户ID",
  48706. "type": "integer"
  48707. },
  48708. "clientticket": {
  48709. "description": "客户端流水号",
  48710. "type": "string"
  48711. },
  48712. "converttype": {
  48713. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  48714. "type": "integer"
  48715. },
  48716. "createtime": {
  48717. "description": "记账时间",
  48718. "type": "string"
  48719. },
  48720. "daymaxvalue": {
  48721. "description": "配置当日最大转入限制",
  48722. "type": "number"
  48723. },
  48724. "daymaxvalue2": {
  48725. "description": "配置当日最大转入限制(转入)",
  48726. "type": "number"
  48727. },
  48728. "goodscode": {
  48729. "description": "商品代码",
  48730. "type": "string"
  48731. },
  48732. "goodsname": {
  48733. "description": "商品名称",
  48734. "type": "string"
  48735. },
  48736. "handlestatus": {
  48737. "description": "处理状态",
  48738. "type": "integer"
  48739. },
  48740. "innergoodsid": {
  48741. "description": "内部商品ID",
  48742. "type": "integer"
  48743. },
  48744. "inratio": {
  48745. "description": "配置转入比值",
  48746. "type": "integer"
  48747. },
  48748. "invalue": {
  48749. "description": "目标值",
  48750. "type": "number"
  48751. },
  48752. "logid": {
  48753. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  48754. "type": "integer"
  48755. },
  48756. "mobile": {
  48757. "description": "手机号码(加密存储)",
  48758. "type": "string"
  48759. },
  48760. "outergoodscode": {
  48761. "description": "外部商品代码[JD\\PD]",
  48762. "type": "string"
  48763. },
  48764. "outratio": {
  48765. "description": "配置转出比值",
  48766. "type": "integer"
  48767. },
  48768. "outvalue": {
  48769. "description": "源值",
  48770. "type": "number"
  48771. },
  48772. "pddecimalplace": {
  48773. "description": "PD小数位",
  48774. "type": "integer"
  48775. },
  48776. "qty": {
  48777. "description": "数量",
  48778. "type": "string"
  48779. },
  48780. "remark": {
  48781. "description": "备注",
  48782. "type": "string"
  48783. },
  48784. "sessionid": {
  48785. "description": "会话ID",
  48786. "type": "integer"
  48787. },
  48788. "timemaxvalue": {
  48789. "description": "配置单次最大转入限制",
  48790. "type": "number"
  48791. },
  48792. "timemaxvalue2": {
  48793. "description": "配置单次最大转入限制(转入)",
  48794. "type": "number"
  48795. },
  48796. "timeminvalue": {
  48797. "description": "配置单次最小数量限制",
  48798. "type": "number"
  48799. },
  48800. "timeminvalue2": {
  48801. "description": "配置单次最小数量限制(转入)",
  48802. "type": "number"
  48803. },
  48804. "tradedate": {
  48805. "description": "交易日(yyyyMMdd)",
  48806. "type": "string"
  48807. },
  48808. "userid": {
  48809. "description": "用户ID",
  48810. "type": "integer"
  48811. }
  48812. }
  48813. },
  48814. "szdz.QueryGoodsPickupRsp": {
  48815. "type": "object",
  48816. "required": [
  48817. "takeorderid"
  48818. ],
  48819. "properties": {
  48820. "accountid": {
  48821. "description": "账户ID",
  48822. "type": "integer"
  48823. },
  48824. "address": {
  48825. "description": "提货人详细地址",
  48826. "type": "string"
  48827. },
  48828. "auditer": {
  48829. "description": "审核人",
  48830. "type": "integer"
  48831. },
  48832. "audittime": {
  48833. "description": "审核时间",
  48834. "type": "string"
  48835. },
  48836. "cardnum": {
  48837. "description": "提货人证件号码",
  48838. "type": "string"
  48839. },
  48840. "cardtypeid": {
  48841. "description": "提货人证件类型",
  48842. "type": "integer"
  48843. },
  48844. "checkremark": {
  48845. "description": "审核备注",
  48846. "type": "string"
  48847. },
  48848. "goodscode": {
  48849. "description": "商品代码",
  48850. "type": "string"
  48851. },
  48852. "goodsid": {
  48853. "description": "商品ID",
  48854. "type": "integer"
  48855. },
  48856. "goodsname": {
  48857. "description": "商品名称",
  48858. "type": "string"
  48859. },
  48860. "handlestatus": {
  48861. "description": "处理状态",
  48862. "type": "integer"
  48863. },
  48864. "marketid": {
  48865. "description": "市场ID",
  48866. "type": "integer"
  48867. },
  48868. "phonenum": {
  48869. "description": "提货人联系方式",
  48870. "type": "string"
  48871. },
  48872. "qty": {
  48873. "description": "提货数量",
  48874. "type": "number"
  48875. },
  48876. "recivername": {
  48877. "description": "提货人姓名",
  48878. "type": "string"
  48879. },
  48880. "reqtime": {
  48881. "description": "更新时间",
  48882. "type": "string"
  48883. },
  48884. "takemode": {
  48885. "description": "提货方式 - 2:自提 3:配送",
  48886. "type": "integer"
  48887. },
  48888. "takeorderid": {
  48889. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  48890. "type": "string"
  48891. },
  48892. "takeorderstatus": {
  48893. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  48894. "type": "integer"
  48895. },
  48896. "takeremark": {
  48897. "description": "提货备注",
  48898. "type": "string"
  48899. },
  48900. "tradedate": {
  48901. "description": "交易日(yyyyMMdd)",
  48902. "type": "string"
  48903. },
  48904. "userid": {
  48905. "description": "用户ID",
  48906. "type": "integer"
  48907. }
  48908. }
  48909. },
  48910. "szdz.QueryRecieptOrderRsp": {
  48911. "type": "object",
  48912. "required": [
  48913. "ordertime"
  48914. ],
  48915. "properties": {
  48916. "accountName": {
  48917. "description": "所属账号名称(已脱敏)",
  48918. "type": "string"
  48919. },
  48920. "accountid": {
  48921. "description": "资金账号",
  48922. "type": "integer"
  48923. },
  48924. "buyorsell": {
  48925. "description": "方向 - 0:买 1:卖",
  48926. "type": "integer"
  48927. },
  48928. "enableqty": {
  48929. "description": "可摘数量",
  48930. "type": "integer"
  48931. },
  48932. "goodscode": {
  48933. "description": "商品代码",
  48934. "type": "string"
  48935. },
  48936. "goodsid": {
  48937. "description": "商品ID",
  48938. "type": "integer"
  48939. },
  48940. "goodsname": {
  48941. "description": "商品名称",
  48942. "type": "string"
  48943. },
  48944. "orderid": {
  48945. "description": "委托单号",
  48946. "type": "string"
  48947. },
  48948. "orderprice": {
  48949. "description": "委托价格",
  48950. "type": "number"
  48951. },
  48952. "ordertime": {
  48953. "description": "委托时间",
  48954. "type": "string"
  48955. },
  48956. "tradedate": {
  48957. "description": "交易日(yyyyMMdd)",
  48958. "type": "string"
  48959. }
  48960. }
  48961. },
  48962. "szdz.QuerySZDZTradePositionRsp": {
  48963. "type": "object",
  48964. "properties": {
  48965. "accountid": {
  48966. "description": "账号Id",
  48967. "type": "integer"
  48968. },
  48969. "agreeunit": {
  48970. "description": "合约单位",
  48971. "type": "number"
  48972. },
  48973. "averageprice": {
  48974. "description": "持仓均价",
  48975. "type": "number"
  48976. },
  48977. "buyorsell": {
  48978. "description": "方向 - 0:买 1:卖",
  48979. "type": "integer"
  48980. },
  48981. "closetotalqty": {
  48982. "description": "平仓总数量",
  48983. "type": "integer"
  48984. },
  48985. "curholderamount": {
  48986. "description": "当前持仓总金额",
  48987. "type": "number"
  48988. },
  48989. "curpositionqty": {
  48990. "description": "当前持仓总数量",
  48991. "type": "integer"
  48992. },
  48993. "currencyid": {
  48994. "description": "报价货币ID",
  48995. "type": "integer"
  48996. },
  48997. "curtdposition": {
  48998. "description": "期末今日头寸",
  48999. "type": "integer"
  49000. },
  49001. "decimalplace": {
  49002. "description": "报价小数位",
  49003. "type": "integer"
  49004. },
  49005. "enableqty": {
  49006. "description": "可用量",
  49007. "type": "integer"
  49008. },
  49009. "fretdposition": {
  49010. "description": "冻结今日头寸",
  49011. "type": "integer"
  49012. },
  49013. "frozenqty": {
  49014. "description": "持仓冻结数量",
  49015. "type": "integer"
  49016. },
  49017. "goodscode": {
  49018. "description": "商品代码(内部)",
  49019. "type": "string"
  49020. },
  49021. "goodsid": {
  49022. "description": "商品Id",
  49023. "type": "integer"
  49024. },
  49025. "goodsname": {
  49026. "description": "商品名称",
  49027. "type": "string"
  49028. },
  49029. "goodunit": {
  49030. "description": "报价单位",
  49031. "type": "string"
  49032. },
  49033. "goodunitid": {
  49034. "description": "报价单位ID",
  49035. "type": "integer"
  49036. },
  49037. "holderamount": {
  49038. "description": "期初持仓总金额",
  49039. "type": "number"
  49040. },
  49041. "marketid": {
  49042. "description": "市场ID",
  49043. "type": "integer"
  49044. },
  49045. "openreqqty": {
  49046. "description": "开仓申请数量",
  49047. "type": "integer"
  49048. },
  49049. "opentotalqty": {
  49050. "description": "开仓总数量",
  49051. "type": "integer"
  49052. },
  49053. "otherfrozenqty": {
  49054. "description": "持仓其他冻结数量(交割冻结)",
  49055. "type": "integer"
  49056. },
  49057. "positionqty": {
  49058. "description": "期初持仓数量",
  49059. "type": "integer"
  49060. },
  49061. "szdz3freezqty": {
  49062. "description": "尚志大宗转换冻结总数量",
  49063. "type": "integer"
  49064. },
  49065. "tnqty": {
  49066. "description": "T+N冻结总量",
  49067. "type": "integer"
  49068. },
  49069. "tnusedqty": {
  49070. "description": "T+N使用量",
  49071. "type": "integer"
  49072. },
  49073. "trademode": {
  49074. "description": "交易模式",
  49075. "type": "integer"
  49076. },
  49077. "usedmargin": {
  49078. "description": "占用保证金",
  49079. "type": "number"
  49080. }
  49081. }
  49082. },
  49083. "taaccount.QueryAmountLogRsp": {
  49084. "type": "object",
  49085. "required": [
  49086. "accountid",
  49087. "amount",
  49088. "amountadjusttype",
  49089. "autoid",
  49090. "balance",
  49091. "createtime",
  49092. "currentbalance",
  49093. "operatetype"
  49094. ],
  49095. "properties": {
  49096. "accountid": {
  49097. "description": "资金账户ID",
  49098. "type": "integer"
  49099. },
  49100. "agoodscode": {
  49101. "description": "竞拍商品代码",
  49102. "type": "string"
  49103. },
  49104. "agoodsname": {
  49105. "description": "竞拍商品名称",
  49106. "type": "string"
  49107. },
  49108. "amount": {
  49109. "description": "资金金额",
  49110. "type": "number"
  49111. },
  49112. "amountadjusttype": {
  49113. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  49114. "type": "integer"
  49115. },
  49116. "autoid": {
  49117. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  49118. "type": "integer"
  49119. },
  49120. "balance": {
  49121. "description": "期初余额",
  49122. "type": "number"
  49123. },
  49124. "businesscode": {
  49125. "description": "业务编号",
  49126. "type": "integer"
  49127. },
  49128. "createtime": {
  49129. "description": "发生时间",
  49130. "type": "string"
  49131. },
  49132. "currencyid": {
  49133. "description": "币种ID",
  49134. "type": "integer"
  49135. },
  49136. "currentbalance": {
  49137. "description": "期末余额(变动后金额)",
  49138. "type": "number"
  49139. },
  49140. "dgoodscode": {
  49141. "description": "交割商品代码",
  49142. "type": "string"
  49143. },
  49144. "dgoodsname": {
  49145. "description": "交割商品名称",
  49146. "type": "string"
  49147. },
  49148. "goodscode": {
  49149. "description": "商品代码",
  49150. "type": "string"
  49151. },
  49152. "goodsid": {
  49153. "description": "商品ID",
  49154. "type": "integer"
  49155. },
  49156. "goodsname": {
  49157. "description": "商品名称",
  49158. "type": "string"
  49159. },
  49160. "marketid": {
  49161. "description": "市场ID",
  49162. "type": "integer"
  49163. },
  49164. "marketname": {
  49165. "description": "市场名称",
  49166. "type": "string"
  49167. },
  49168. "moneyticket": {
  49169. "description": "资金流水号:银行端流水号",
  49170. "type": "integer"
  49171. },
  49172. "operatetype": {
  49173. "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:营销收款",
  49174. "type": "integer"
  49175. },
  49176. "relationorderid": {
  49177. "description": "关联单号",
  49178. "type": "string"
  49179. },
  49180. "remark": {
  49181. "description": "备注",
  49182. "type": "string"
  49183. },
  49184. "trademode": {
  49185. "description": "交易模式",
  49186. "type": "integer"
  49187. }
  49188. }
  49189. },
  49190. "taaccount.QueryHisAmountLogRsp": {
  49191. "type": "object",
  49192. "required": [
  49193. "accountid",
  49194. "amount",
  49195. "amountadjusttype",
  49196. "autoid",
  49197. "balance",
  49198. "createtime",
  49199. "currentbalance",
  49200. "histradedate",
  49201. "operatetype"
  49202. ],
  49203. "properties": {
  49204. "accountid": {
  49205. "description": "资金账户ID",
  49206. "type": "integer"
  49207. },
  49208. "agoodscode": {
  49209. "description": "竞拍商品代码",
  49210. "type": "string"
  49211. },
  49212. "agoodsname": {
  49213. "description": "竞拍商品名称",
  49214. "type": "string"
  49215. },
  49216. "amount": {
  49217. "description": "资金金额",
  49218. "type": "number"
  49219. },
  49220. "amountadjusttype": {
  49221. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  49222. "type": "integer"
  49223. },
  49224. "autoid": {
  49225. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  49226. "type": "integer"
  49227. },
  49228. "balance": {
  49229. "description": "期初余额",
  49230. "type": "number"
  49231. },
  49232. "businesscode": {
  49233. "description": "业务编号",
  49234. "type": "integer"
  49235. },
  49236. "createtime": {
  49237. "description": "发生时间",
  49238. "type": "string"
  49239. },
  49240. "currencyid": {
  49241. "description": "币种ID",
  49242. "type": "integer"
  49243. },
  49244. "currentbalance": {
  49245. "description": "期末余额(变动后金额)",
  49246. "type": "number"
  49247. },
  49248. "dgoodscode": {
  49249. "description": "交割商品代码",
  49250. "type": "string"
  49251. },
  49252. "dgoodsname": {
  49253. "description": "交割商品名称",
  49254. "type": "string"
  49255. },
  49256. "goodscode": {
  49257. "description": "商品代码",
  49258. "type": "string"
  49259. },
  49260. "goodsid": {
  49261. "description": "商品ID",
  49262. "type": "integer"
  49263. },
  49264. "goodsname": {
  49265. "description": "商品名称",
  49266. "type": "string"
  49267. },
  49268. "histradedate": {
  49269. "description": "历史交易日",
  49270. "type": "string"
  49271. },
  49272. "isvaliddata": {
  49273. "description": "是否有效 - 0:无效 1:有效",
  49274. "type": "integer"
  49275. },
  49276. "marketid": {
  49277. "description": "市场ID",
  49278. "type": "integer"
  49279. },
  49280. "marketname": {
  49281. "description": "市场名称",
  49282. "type": "string"
  49283. },
  49284. "moneyticket": {
  49285. "description": "资金流水号:银行端流水号",
  49286. "type": "integer"
  49287. },
  49288. "operatetype": {
  49289. "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:营销收款",
  49290. "type": "integer"
  49291. },
  49292. "relationorderid": {
  49293. "description": "关联单号",
  49294. "type": "string"
  49295. },
  49296. "remark": {
  49297. "description": "备注",
  49298. "type": "string"
  49299. },
  49300. "trademode": {
  49301. "description": "交易模式",
  49302. "type": "integer"
  49303. }
  49304. }
  49305. },
  49306. "trade.QueryRecieptOrderRsp": {
  49307. "type": "object",
  49308. "required": [
  49309. "ordertime"
  49310. ],
  49311. "properties": {
  49312. "accountName": {
  49313. "description": "所属账号名称(已脱敏)",
  49314. "type": "string"
  49315. },
  49316. "accountid": {
  49317. "description": "资金账号",
  49318. "type": "integer"
  49319. },
  49320. "buyorsell": {
  49321. "description": "方向 - 0:买 1:卖",
  49322. "type": "integer"
  49323. },
  49324. "enableqty": {
  49325. "description": "可摘数量",
  49326. "type": "integer"
  49327. },
  49328. "goodscode": {
  49329. "description": "商品代码",
  49330. "type": "string"
  49331. },
  49332. "goodsid": {
  49333. "description": "商品ID",
  49334. "type": "integer"
  49335. },
  49336. "goodsname": {
  49337. "description": "商品名称",
  49338. "type": "string"
  49339. },
  49340. "orderid": {
  49341. "description": "委托单号",
  49342. "type": "string"
  49343. },
  49344. "orderprice": {
  49345. "description": "委托价格",
  49346. "type": "number"
  49347. },
  49348. "ordertime": {
  49349. "description": "委托时间",
  49350. "type": "string"
  49351. },
  49352. "tradedate": {
  49353. "description": "交易日(yyyyMMdd)",
  49354. "type": "string"
  49355. }
  49356. }
  49357. },
  49358. "user.LoginQueryRsp": {
  49359. "type": "object",
  49360. "properties": {
  49361. "areaRoles": {
  49362. "description": "所属角色信息",
  49363. "type": "array",
  49364. "items": {
  49365. "$ref": "#/definitions/models.Arearole"
  49366. }
  49367. },
  49368. "exchangeRateConfigs": {
  49369. "description": "汇率信息",
  49370. "type": "array",
  49371. "items": {
  49372. "$ref": "#/definitions/models.Exchangerateconfig"
  49373. }
  49374. },
  49375. "externalExchanges": {
  49376. "description": "外部交易所",
  49377. "type": "array",
  49378. "items": {
  49379. "$ref": "#/definitions/models.Externalexchange"
  49380. }
  49381. },
  49382. "goodsgroups": {
  49383. "description": "商品组",
  49384. "type": "array",
  49385. "items": {
  49386. "$ref": "#/definitions/models.Goodsgroup"
  49387. }
  49388. },
  49389. "loginAccount": {
  49390. "description": "登录账号",
  49391. "$ref": "#/definitions/models.Loginaccount"
  49392. },
  49393. "markets": {
  49394. "description": "市场",
  49395. "type": "array",
  49396. "items": {
  49397. "$ref": "#/definitions/models.Market"
  49398. }
  49399. },
  49400. "systemParams": {
  49401. "description": "系统参数",
  49402. "type": "array",
  49403. "items": {
  49404. "$ref": "#/definitions/models.Systemparam"
  49405. }
  49406. },
  49407. "userAccount": {
  49408. "description": "用户账号",
  49409. "$ref": "#/definitions/models.Useraccount"
  49410. },
  49411. "userInfo": {
  49412. "description": "用户信息",
  49413. "$ref": "#/definitions/models.Userinfo"
  49414. },
  49415. "username": {
  49416. "description": "用户姓名",
  49417. "type": "string"
  49418. }
  49419. }
  49420. }
  49421. },
  49422. "securityDefinitions": {
  49423. "ApiKeyAuth": {
  49424. "type": "apiKey",
  49425. "name": "Authorization",
  49426. "in": "header"
  49427. },
  49428. "Group": {
  49429. "type": "apiKey",
  49430. "name": "Group",
  49431. "in": "header"
  49432. },
  49433. "LoginID": {
  49434. "type": "apiKey",
  49435. "name": "LoginID",
  49436. "in": "header"
  49437. }
  49438. }
  49439. }`
  49440. // SwaggerInfo holds exported Swagger Info so clients can modify it
  49441. var SwaggerInfo = &swag.Spec{
  49442. Version: "1.0",
  49443. Host: "",
  49444. BasePath: "",
  49445. Schemes: []string{},
  49446. Title: "MTP2.0 查询服务 API",
  49447. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  49448. InfoInstanceName: "swagger",
  49449. SwaggerTemplate: docTemplate,
  49450. }
  49451. func init() {
  49452. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  49453. }