docs.go 1.9 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365513665136751368513695137051371513725137351374513755137651377513785137951380513815138251383513845138551386513875138851389513905139151392513935139451395513965139751398513995140051401514025140351404514055140651407514085140951410514115141251413514145141551416514175141851419514205142151422514235142451425514265142751428514295143051431514325143351434514355143651437514385143951440514415144251443514445144551446514475144851449514505145151452514535145451455514565145751458514595146051461514625146351464514655146651467514685146951470514715147251473514745147551476514775147851479514805148151482514835148451485514865148751488514895149051491514925149351494514955149651497514985149951500515015150251503515045150551506515075150851509515105151151512515135151451515515165151751518515195152051521515225152351524515255152651527515285152951530515315153251533515345153551536515375153851539515405154151542515435154451545515465154751548515495155051551515525155351554515555155651557515585155951560515615156251563515645156551566515675156851569515705157151572515735157451575515765157751578515795158051581515825158351584515855158651587515885158951590515915159251593515945159551596515975159851599516005160151602516035160451605516065160751608516095161051611516125161351614516155161651617516185161951620516215162251623516245162551626516275162851629516305163151632516335163451635516365163751638516395164051641516425164351644516455164651647516485164951650516515165251653516545165551656516575165851659516605166151662516635166451665516665166751668516695167051671516725167351674516755167651677516785167951680516815168251683516845168551686516875168851689516905169151692516935169451695516965169751698516995170051701517025170351704517055170651707517085170951710517115171251713517145171551716517175171851719517205172151722517235172451725517265172751728517295173051731517325173351734517355173651737517385173951740517415174251743517445174551746517475174851749517505175151752517535175451755517565175751758517595176051761517625176351764517655176651767517685176951770517715177251773517745177551776517775177851779517805178151782517835178451785517865178751788517895179051791517925179351794517955179651797517985179951800518015180251803518045180551806518075180851809518105181151812518135181451815518165181751818518195182051821518225182351824518255182651827518285182951830518315183251833518345183551836518375183851839518405184151842518435184451845518465184751848518495185051851518525185351854518555185651857518585185951860518615186251863518645186551866518675186851869518705187151872518735187451875518765187751878518795188051881518825188351884518855188651887518885188951890518915189251893518945189551896518975189851899519005190151902519035190451905519065190751908519095191051911519125191351914519155191651917519185191951920519215192251923519245192551926519275192851929519305193151932519335193451935519365193751938519395194051941519425194351944519455194651947519485194951950519515195251953519545195551956519575195851959519605196151962519635196451965519665196751968519695197051971519725197351974519755197651977519785197951980519815198251983519845198551986519875198851989519905199151992519935199451995519965199751998519995200052001520025200352004520055200652007520085200952010520115201252013520145201552016520175201852019520205202152022520235202452025520265202752028520295203052031520325203352034520355203652037520385203952040520415204252043520445204552046520475204852049520505205152052520535205452055520565205752058520595206052061520625206352064520655206652067520685206952070520715207252073520745207552076520775207852079520805208152082520835208452085520865208752088520895209052091520925209352094520955209652097520985209952100521015210252103521045210552106521075210852109521105211152112521135211452115521165211752118521195212052121521225212352124521255212652127521285212952130521315213252133521345213552136521375213852139521405214152142521435214452145521465214752148521495215052151521525215352154521555215652157521585215952160521615216252163521645216552166521675216852169521705217152172521735217452175521765217752178521795218052181521825218352184521855218652187521885218952190521915219252193521945219552196521975219852199522005220152202522035220452205522065220752208522095221052211522125221352214522155221652217522185221952220522215222252223522245222552226522275222852229522305223152232522335223452235522365223752238522395224052241522425224352244522455224652247522485224952250522515225252253522545225552256522575225852259522605226152262522635226452265522665226752268522695227052271522725227352274522755227652277522785227952280522815228252283522845228552286522875228852289522905229152292522935229452295522965229752298522995230052301523025230352304523055230652307523085230952310523115231252313523145231552316523175231852319523205232152322523235232452325523265232752328523295233052331523325233352334523355233652337523385233952340523415234252343523445234552346523475234852349523505235152352523535235452355523565235752358523595236052361523625236352364523655236652367523685236952370523715237252373523745237552376523775237852379523805238152382523835238452385523865238752388523895239052391523925239352394523955239652397523985239952400524015240252403524045240552406524075240852409524105241152412524135241452415524165241752418524195242052421524225242352424524255242652427524285242952430524315243252433524345243552436524375243852439524405244152442524435244452445524465244752448524495245052451524525245352454524555245652457524585245952460524615246252463524645246552466524675246852469524705247152472524735247452475524765247752478524795248052481524825248352484524855248652487524885248952490524915249252493524945249552496524975249852499525005250152502525035250452505525065250752508525095251052511525125251352514525155251652517525185251952520525215252252523525245252552526525275252852529525305253152532525335253452535525365253752538525395254052541525425254352544525455254652547525485254952550525515255252553525545255552556525575255852559525605256152562525635256452565525665256752568525695257052571525725257352574525755257652577525785257952580525815258252583525845258552586525875258852589525905259152592525935259452595525965259752598525995260052601526025260352604526055260652607526085260952610526115261252613526145261552616526175261852619526205262152622526235262452625526265262752628526295263052631526325263352634526355263652637526385263952640526415264252643526445264552646526475264852649526505265152652526535265452655526565265752658526595266052661526625266352664526655266652667526685266952670526715267252673526745267552676526775267852679526805268152682526835268452685526865268752688526895269052691526925269352694526955269652697526985269952700527015270252703527045270552706527075270852709527105271152712527135271452715527165271752718527195272052721527225272352724527255272652727527285272952730527315273252733527345273552736527375273852739527405274152742527435274452745527465274752748527495275052751527525275352754527555275652757527585275952760527615276252763527645276552766527675276852769527705277152772527735277452775527765277752778527795278052781527825278352784527855278652787527885278952790527915279252793527945279552796527975279852799528005280152802528035280452805528065280752808528095281052811528125281352814528155281652817528185281952820528215282252823528245282552826528275282852829528305283152832528335283452835528365283752838528395284052841528425284352844528455284652847528485284952850528515285252853528545285552856528575285852859528605286152862528635286452865528665286752868528695287052871528725287352874528755287652877528785287952880528815288252883528845288552886528875288852889528905289152892528935289452895528965289752898528995290052901529025290352904529055290652907529085290952910529115291252913529145291552916529175291852919529205292152922529235292452925529265292752928529295293052931529325293352934529355293652937529385293952940529415294252943529445294552946529475294852949529505295152952529535295452955529565295752958529595296052961529625296352964529655296652967529685296952970529715297252973529745297552976529775297852979529805298152982529835298452985529865298752988529895299052991529925299352994529955299652997529985299953000530015300253003530045300553006530075300853009530105301153012530135301453015530165301753018530195302053021530225302353024530255302653027530285302953030530315303253033530345303553036530375303853039530405304153042530435304453045530465304753048530495305053051530525305353054530555305653057530585305953060530615306253063530645306553066530675306853069530705307153072530735307453075530765307753078530795308053081530825308353084530855308653087530885308953090530915309253093530945309553096530975309853099531005310153102531035310453105531065310753108531095311053111531125311353114531155311653117531185311953120531215312253123531245312553126531275312853129531305313153132531335313453135531365313753138531395314053141531425314353144531455314653147531485314953150531515315253153531545315553156531575315853159531605316153162531635316453165531665316753168531695317053171531725317353174531755317653177531785317953180531815318253183531845318553186531875318853189531905319153192531935319453195531965319753198531995320053201532025320353204532055320653207532085320953210532115321253213532145321553216532175321853219532205322153222532235322453225532265322753228532295323053231532325323353234532355323653237532385323953240532415324253243532445324553246532475324853249532505325153252532535325453255532565325753258532595326053261532625326353264532655326653267532685326953270532715327253273532745327553276532775327853279532805328153282532835328453285532865328753288532895329053291532925329353294532955329653297532985329953300533015330253303533045330553306533075330853309533105331153312533135331453315533165331753318533195332053321533225332353324533255332653327533285332953330533315333253333533345333553336533375333853339533405334153342533435334453345533465334753348533495335053351533525335353354533555335653357533585335953360533615336253363533645336553366533675336853369533705337153372533735337453375533765337753378533795338053381533825338353384533855338653387533885338953390533915339253393533945339553396533975339853399534005340153402534035340453405534065340753408534095341053411534125341353414534155341653417534185341953420534215342253423534245342553426534275342853429534305343153432534335343453435534365343753438534395344053441534425344353444534455344653447534485344953450534515345253453534545345553456534575345853459534605346153462534635346453465534665346753468534695347053471534725347353474534755347653477534785347953480534815348253483534845348553486534875348853489534905349153492534935349453495534965349753498534995350053501535025350353504535055350653507535085350953510535115351253513535145351553516535175351853519535205352153522535235352453525535265352753528535295353053531535325353353534535355353653537535385353953540535415354253543535445354553546535475354853549535505355153552535535355453555535565355753558535595356053561535625356353564535655356653567535685356953570535715357253573535745357553576535775357853579535805358153582535835358453585535865358753588535895359053591535925359353594535955359653597535985359953600536015360253603536045360553606536075360853609536105361153612536135361453615536165361753618536195362053621536225362353624536255362653627536285362953630536315363253633536345363553636536375363853639536405364153642536435364453645536465364753648536495365053651536525365353654536555365653657536585365953660536615366253663536645366553666536675366853669536705367153672536735367453675536765367753678536795368053681536825368353684536855368653687536885368953690536915369253693536945369553696536975369853699537005370153702537035370453705537065370753708537095371053711537125371353714537155371653717537185371953720537215372253723537245372553726537275372853729537305373153732537335373453735537365373753738537395374053741537425374353744537455374653747537485374953750537515375253753537545375553756537575375853759537605376153762537635376453765537665376753768537695377053771537725377353774537755377653777537785377953780537815378253783537845378553786537875378853789537905379153792537935379453795537965379753798537995380053801538025380353804538055380653807538085380953810538115381253813538145381553816538175381853819538205382153822538235382453825538265382753828538295383053831538325383353834538355383653837538385383953840538415384253843538445384553846538475384853849538505385153852538535385453855538565385753858538595386053861538625386353864538655386653867538685386953870538715387253873538745387553876538775387853879538805388153882538835388453885538865388753888538895389053891538925389353894538955389653897538985389953900539015390253903539045390553906539075390853909539105391153912539135391453915539165391753918539195392053921539225392353924539255392653927539285392953930539315393253933539345393553936539375393853939539405394153942539435394453945539465394753948539495395053951539525395353954539555395653957539585395953960539615396253963539645396553966539675396853969539705397153972539735397453975539765397753978539795398053981539825398353984539855398653987539885398953990539915399253993539945399553996539975399853999540005400154002540035400454005540065400754008540095401054011540125401354014540155401654017540185401954020540215402254023540245402554026540275402854029540305403154032540335403454035540365403754038540395404054041540425404354044540455404654047540485404954050540515405254053540545405554056
  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/QuerySpotgoodsPrice": {
  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": "页码",
  7712. "name": "page",
  7713. "in": "query"
  7714. },
  7715. {
  7716. "type": "integer",
  7717. "description": "每页条数",
  7718. "name": "pagesize",
  7719. "in": "query"
  7720. }
  7721. ],
  7722. "responses": {
  7723. "200": {
  7724. "description": "OK",
  7725. "schema": {
  7726. "type": "array",
  7727. "items": {
  7728. "$ref": "#/definitions/models.Spotgoodsprice"
  7729. }
  7730. }
  7731. },
  7732. "500": {
  7733. "description": "Internal Server Error",
  7734. "schema": {
  7735. "$ref": "#/definitions/app.Response"
  7736. }
  7737. }
  7738. }
  7739. }
  7740. },
  7741. "/Ferroalloy/QueryTHJGoodsDetail": {
  7742. "get": {
  7743. "security": [
  7744. {
  7745. "ApiKeyAuth": []
  7746. }
  7747. ],
  7748. "produces": [
  7749. "application/json"
  7750. ],
  7751. "tags": [
  7752. "铁合金"
  7753. ],
  7754. "summary": "查询商品详情",
  7755. "parameters": [
  7756. {
  7757. "type": "integer",
  7758. "description": "现货商品ID",
  7759. "name": "wrstandardid",
  7760. "in": "query",
  7761. "required": true
  7762. }
  7763. ],
  7764. "responses": {
  7765. "200": {
  7766. "description": "OK",
  7767. "schema": {
  7768. "type": "array",
  7769. "items": {
  7770. "$ref": "#/definitions/models.THJGoodsDetailRsp"
  7771. }
  7772. }
  7773. },
  7774. "500": {
  7775. "description": "Internal Server Error",
  7776. "schema": {
  7777. "$ref": "#/definitions/app.Response"
  7778. }
  7779. }
  7780. }
  7781. }
  7782. },
  7783. "/Ferroalloy/QueryTHJListing": {
  7784. "get": {
  7785. "security": [
  7786. {
  7787. "ApiKeyAuth": []
  7788. }
  7789. ],
  7790. "produces": [
  7791. "application/json"
  7792. ],
  7793. "tags": [
  7794. "铁合金"
  7795. ],
  7796. "summary": "查询供求列表",
  7797. "parameters": [
  7798. {
  7799. "type": "string",
  7800. "description": "现货商品名称(模糊查询)",
  7801. "name": "wrstandardname",
  7802. "in": "query"
  7803. },
  7804. {
  7805. "type": "integer",
  7806. "description": "页码",
  7807. "name": "page",
  7808. "in": "query"
  7809. },
  7810. {
  7811. "type": "integer",
  7812. "description": "每页条数",
  7813. "name": "pagesize",
  7814. "in": "query"
  7815. }
  7816. ],
  7817. "responses": {
  7818. "200": {
  7819. "description": "OK",
  7820. "schema": {
  7821. "type": "array",
  7822. "items": {
  7823. "$ref": "#/definitions/models.THJWrstandard"
  7824. }
  7825. }
  7826. },
  7827. "500": {
  7828. "description": "Internal Server Error",
  7829. "schema": {
  7830. "$ref": "#/definitions/app.Response"
  7831. }
  7832. }
  7833. }
  7834. }
  7835. },
  7836. "/Ferroalloy/QueryTHJProduct": {
  7837. "get": {
  7838. "security": [
  7839. {
  7840. "ApiKeyAuth": []
  7841. }
  7842. ],
  7843. "produces": [
  7844. "application/json"
  7845. ],
  7846. "tags": [
  7847. "铁合金"
  7848. ],
  7849. "summary": "获取产品介绍列表",
  7850. "parameters": [
  7851. {
  7852. "type": "integer",
  7853. "description": "用户ID",
  7854. "name": "userid",
  7855. "in": "query",
  7856. "required": true
  7857. },
  7858. {
  7859. "type": "boolean",
  7860. "description": "关注标志 true-已关注 false-未关注",
  7861. "name": "favoriteflag",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "integer",
  7866. "description": "页码",
  7867. "name": "page",
  7868. "in": "query"
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "每页条数",
  7873. "name": "pagesize",
  7874. "in": "query"
  7875. }
  7876. ],
  7877. "responses": {
  7878. "200": {
  7879. "description": "OK",
  7880. "schema": {
  7881. "type": "array",
  7882. "items": {
  7883. "$ref": "#/definitions/models.THJProduct"
  7884. }
  7885. }
  7886. },
  7887. "500": {
  7888. "description": "Internal Server Error",
  7889. "schema": {
  7890. "$ref": "#/definitions/app.Response"
  7891. }
  7892. }
  7893. }
  7894. }
  7895. },
  7896. "/Ferroalloy/QueryTHJPromotionIncome": {
  7897. "get": {
  7898. "security": [
  7899. {
  7900. "ApiKeyAuth": []
  7901. }
  7902. ],
  7903. "produces": [
  7904. "application/json"
  7905. ],
  7906. "tags": [
  7907. "铁合金"
  7908. ],
  7909. "summary": "查询我的推广-推广收益",
  7910. "parameters": [
  7911. {
  7912. "type": "integer",
  7913. "description": "用户ID",
  7914. "name": "userid",
  7915. "in": "query",
  7916. "required": true
  7917. },
  7918. {
  7919. "type": "integer",
  7920. "description": "状态 - 0:全部 1:已支付 2:未支付",
  7921. "name": "profitstatus",
  7922. "in": "query"
  7923. },
  7924. {
  7925. "type": "integer",
  7926. "description": "页码",
  7927. "name": "page",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "每页条数",
  7933. "name": "pagesize",
  7934. "in": "query"
  7935. }
  7936. ],
  7937. "responses": {
  7938. "200": {
  7939. "description": "OK",
  7940. "schema": {
  7941. "type": "array",
  7942. "items": {
  7943. "$ref": "#/definitions/models.PromotionIncome"
  7944. }
  7945. }
  7946. },
  7947. "500": {
  7948. "description": "Internal Server Error",
  7949. "schema": {
  7950. "$ref": "#/definitions/app.Response"
  7951. }
  7952. }
  7953. }
  7954. }
  7955. },
  7956. "/Ferroalloy/QueryTHJPromotionIncomeDetail": {
  7957. "get": {
  7958. "security": [
  7959. {
  7960. "ApiKeyAuth": []
  7961. }
  7962. ],
  7963. "produces": [
  7964. "application/json"
  7965. ],
  7966. "tags": [
  7967. "铁合金"
  7968. ],
  7969. "summary": "查询我的推广-推广收益-明细",
  7970. "parameters": [
  7971. {
  7972. "type": "integer",
  7973. "description": "用户ID",
  7974. "name": "userid",
  7975. "in": "query",
  7976. "required": true
  7977. },
  7978. {
  7979. "type": "string",
  7980. "description": "月份,格式:yyyymm",
  7981. "name": "mouth",
  7982. "in": "query",
  7983. "required": true
  7984. },
  7985. {
  7986. "type": "integer",
  7987. "description": "页码",
  7988. "name": "page",
  7989. "in": "query"
  7990. },
  7991. {
  7992. "type": "integer",
  7993. "description": "每页条数",
  7994. "name": "pagesize",
  7995. "in": "query"
  7996. }
  7997. ],
  7998. "responses": {
  7999. "200": {
  8000. "description": "OK",
  8001. "schema": {
  8002. "type": "array",
  8003. "items": {
  8004. "$ref": "#/definitions/models.PromotionIncomeDetail"
  8005. }
  8006. }
  8007. },
  8008. "500": {
  8009. "description": "Internal Server Error",
  8010. "schema": {
  8011. "$ref": "#/definitions/app.Response"
  8012. }
  8013. }
  8014. }
  8015. }
  8016. },
  8017. "/Ferroalloy/QueryTHJPurchaseTradeDetail": {
  8018. "get": {
  8019. "security": [
  8020. {
  8021. "ApiKeyAuth": []
  8022. }
  8023. ],
  8024. "produces": [
  8025. "application/json"
  8026. ],
  8027. "tags": [
  8028. "铁合金"
  8029. ],
  8030. "summary": "查询我的订单-采购订单",
  8031. "parameters": [
  8032. {
  8033. "type": "integer",
  8034. "description": "用户ID",
  8035. "name": "userid",
  8036. "in": "query",
  8037. "required": true
  8038. },
  8039. {
  8040. "type": "integer",
  8041. "description": "类型 - 0:未完成 1:已完成",
  8042. "name": "type",
  8043. "in": "query"
  8044. },
  8045. {
  8046. "type": "integer",
  8047. "description": "页码",
  8048. "name": "page",
  8049. "in": "query"
  8050. },
  8051. {
  8052. "type": "integer",
  8053. "description": "每页条数",
  8054. "name": "pagesize",
  8055. "in": "query"
  8056. }
  8057. ],
  8058. "responses": {
  8059. "200": {
  8060. "description": "OK",
  8061. "schema": {
  8062. "type": "array",
  8063. "items": {
  8064. "$ref": "#/definitions/models.Thjpurchasetradedetail"
  8065. }
  8066. }
  8067. },
  8068. "500": {
  8069. "description": "Internal Server Error",
  8070. "schema": {
  8071. "$ref": "#/definitions/app.Response"
  8072. }
  8073. }
  8074. }
  8075. }
  8076. },
  8077. "/Ferroalloy/QueryTHJPurchaseTransfer": {
  8078. "get": {
  8079. "security": [
  8080. {
  8081. "ApiKeyAuth": []
  8082. }
  8083. ],
  8084. "produces": [
  8085. "application/json"
  8086. ],
  8087. "tags": [
  8088. "铁合金"
  8089. ],
  8090. "summary": "查询合同转让列表",
  8091. "parameters": [
  8092. {
  8093. "type": "string",
  8094. "description": "现货商品名称(模糊查询)",
  8095. "name": "wrstandardname",
  8096. "in": "query"
  8097. },
  8098. {
  8099. "type": "integer",
  8100. "description": "页码",
  8101. "name": "page",
  8102. "in": "query"
  8103. },
  8104. {
  8105. "type": "integer",
  8106. "description": "每页条数",
  8107. "name": "pagesize",
  8108. "in": "query"
  8109. }
  8110. ],
  8111. "responses": {
  8112. "200": {
  8113. "description": "OK",
  8114. "schema": {
  8115. "type": "array",
  8116. "items": {
  8117. "$ref": "#/definitions/models.PurchaseTransfer"
  8118. }
  8119. }
  8120. },
  8121. "500": {
  8122. "description": "Internal Server Error",
  8123. "schema": {
  8124. "$ref": "#/definitions/app.Response"
  8125. }
  8126. }
  8127. }
  8128. }
  8129. },
  8130. "/Ferroalloy/QueryTHJPurchaseTransferDetail": {
  8131. "get": {
  8132. "security": [
  8133. {
  8134. "ApiKeyAuth": []
  8135. }
  8136. ],
  8137. "produces": [
  8138. "application/json"
  8139. ],
  8140. "tags": [
  8141. "铁合金"
  8142. ],
  8143. "summary": "查询合同转让详情",
  8144. "parameters": [
  8145. {
  8146. "type": "integer",
  8147. "description": "现货商品ID",
  8148. "name": "wrstandardid",
  8149. "in": "query",
  8150. "required": true
  8151. }
  8152. ],
  8153. "responses": {
  8154. "200": {
  8155. "description": "OK",
  8156. "schema": {
  8157. "type": "array",
  8158. "items": {
  8159. "$ref": "#/definitions/models.THJPurchaseTradeDetailRsp"
  8160. }
  8161. }
  8162. },
  8163. "500": {
  8164. "description": "Internal Server Error",
  8165. "schema": {
  8166. "$ref": "#/definitions/app.Response"
  8167. }
  8168. }
  8169. }
  8170. }
  8171. },
  8172. "/Ferroalloy/QueryTHJPurchaseTransferOrder": {
  8173. "get": {
  8174. "security": [
  8175. {
  8176. "ApiKeyAuth": []
  8177. }
  8178. ],
  8179. "produces": [
  8180. "application/json"
  8181. ],
  8182. "tags": [
  8183. "铁合金"
  8184. ],
  8185. "summary": "查询我的订单-转让/受让订单",
  8186. "parameters": [
  8187. {
  8188. "type": "integer",
  8189. "description": "用户ID",
  8190. "name": "userid",
  8191. "in": "query",
  8192. "required": true
  8193. },
  8194. {
  8195. "type": "integer",
  8196. "description": "类型 - 1:转让 2:受让 3:转让委托已完成",
  8197. "name": "ordertype",
  8198. "in": "query",
  8199. "required": true
  8200. },
  8201. {
  8202. "type": "integer",
  8203. "description": "页码",
  8204. "name": "page",
  8205. "in": "query"
  8206. },
  8207. {
  8208. "type": "integer",
  8209. "description": "每页条数",
  8210. "name": "pagesize",
  8211. "in": "query"
  8212. }
  8213. ],
  8214. "responses": {
  8215. "200": {
  8216. "description": "OK",
  8217. "schema": {
  8218. "type": "array",
  8219. "items": {
  8220. "$ref": "#/definitions/models.Thjpurchasetransfer"
  8221. }
  8222. }
  8223. },
  8224. "500": {
  8225. "description": "Internal Server Error",
  8226. "schema": {
  8227. "$ref": "#/definitions/app.Response"
  8228. }
  8229. }
  8230. }
  8231. }
  8232. },
  8233. "/Ferroalloy/QueryTHJPurchaseTransferOrderDetail": {
  8234. "get": {
  8235. "security": [
  8236. {
  8237. "ApiKeyAuth": []
  8238. }
  8239. ],
  8240. "produces": [
  8241. "application/json"
  8242. ],
  8243. "tags": [
  8244. "铁合金"
  8245. ],
  8246. "summary": "查询我的订单-转让/受让订单-详情",
  8247. "parameters": [
  8248. {
  8249. "type": "string",
  8250. "description": "转让单号",
  8251. "name": "transferid",
  8252. "in": "query",
  8253. "required": true
  8254. }
  8255. ],
  8256. "responses": {
  8257. "200": {
  8258. "description": "OK",
  8259. "schema": {
  8260. "type": "array",
  8261. "items": {
  8262. "$ref": "#/definitions/models.ThjpurchasetransferDetail"
  8263. }
  8264. }
  8265. },
  8266. "500": {
  8267. "description": "Internal Server Error",
  8268. "schema": {
  8269. "$ref": "#/definitions/app.Response"
  8270. }
  8271. }
  8272. }
  8273. }
  8274. },
  8275. "/Ferroalloy/QueryTHJScoreConfig": {
  8276. "get": {
  8277. "security": [
  8278. {
  8279. "ApiKeyAuth": []
  8280. }
  8281. ],
  8282. "produces": [
  8283. "application/json"
  8284. ],
  8285. "tags": [
  8286. "铁合金"
  8287. ],
  8288. "summary": "查询积分配置",
  8289. "parameters": [
  8290. {
  8291. "type": "string",
  8292. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  8293. "name": "stype",
  8294. "in": "query"
  8295. }
  8296. ],
  8297. "responses": {
  8298. "200": {
  8299. "description": "OK",
  8300. "schema": {
  8301. "type": "array",
  8302. "items": {
  8303. "$ref": "#/definitions/models.Thjscoreconfig"
  8304. }
  8305. }
  8306. },
  8307. "500": {
  8308. "description": "Internal Server Error",
  8309. "schema": {
  8310. "$ref": "#/definitions/app.Response"
  8311. }
  8312. }
  8313. }
  8314. }
  8315. },
  8316. "/Ferroalloy/QueryTHJTradeData": {
  8317. "get": {
  8318. "security": [
  8319. {
  8320. "ApiKeyAuth": []
  8321. }
  8322. ],
  8323. "produces": [
  8324. "application/json"
  8325. ],
  8326. "tags": [
  8327. "铁合金"
  8328. ],
  8329. "summary": "获取我的推广-交易数据",
  8330. "parameters": [
  8331. {
  8332. "type": "integer",
  8333. "description": "用户ID",
  8334. "name": "userid",
  8335. "in": "query",
  8336. "required": true
  8337. },
  8338. {
  8339. "type": "integer",
  8340. "description": "市场ID 采购-64201 供求-65201",
  8341. "name": "marketid",
  8342. "in": "query",
  8343. "required": true
  8344. },
  8345. {
  8346. "type": "integer",
  8347. "description": "页码",
  8348. "name": "page",
  8349. "in": "query"
  8350. },
  8351. {
  8352. "type": "integer",
  8353. "description": "每页条数",
  8354. "name": "pagesize",
  8355. "in": "query"
  8356. }
  8357. ],
  8358. "responses": {
  8359. "200": {
  8360. "description": "OK",
  8361. "schema": {
  8362. "type": "array",
  8363. "items": {
  8364. "$ref": "#/definitions/models.THJTradeData"
  8365. }
  8366. }
  8367. },
  8368. "500": {
  8369. "description": "Internal Server Error",
  8370. "schema": {
  8371. "$ref": "#/definitions/app.Response"
  8372. }
  8373. }
  8374. }
  8375. }
  8376. },
  8377. "/Ferroalloy/QueryTHJWrstandard": {
  8378. "get": {
  8379. "security": [
  8380. {
  8381. "ApiKeyAuth": []
  8382. }
  8383. ],
  8384. "produces": [
  8385. "application/json"
  8386. ],
  8387. "tags": [
  8388. "铁合金"
  8389. ],
  8390. "summary": "查询采购列表",
  8391. "parameters": [
  8392. {
  8393. "type": "string",
  8394. "description": "现货商品名称(模糊查询)",
  8395. "name": "wrstandardname",
  8396. "in": "query"
  8397. },
  8398. {
  8399. "type": "integer",
  8400. "description": "页码",
  8401. "name": "page",
  8402. "in": "query"
  8403. },
  8404. {
  8405. "type": "integer",
  8406. "description": "每页条数",
  8407. "name": "pagesize",
  8408. "in": "query"
  8409. }
  8410. ],
  8411. "responses": {
  8412. "200": {
  8413. "description": "OK",
  8414. "schema": {
  8415. "type": "array",
  8416. "items": {
  8417. "$ref": "#/definitions/models.THJWrstandard"
  8418. }
  8419. }
  8420. },
  8421. "500": {
  8422. "description": "Internal Server Error",
  8423. "schema": {
  8424. "$ref": "#/definitions/app.Response"
  8425. }
  8426. }
  8427. }
  8428. }
  8429. },
  8430. "/Ferroalloy/QueryTHJWrstandardDetail": {
  8431. "get": {
  8432. "security": [
  8433. {
  8434. "ApiKeyAuth": []
  8435. }
  8436. ],
  8437. "produces": [
  8438. "application/json"
  8439. ],
  8440. "tags": [
  8441. "铁合金"
  8442. ],
  8443. "summary": "查询采购详情",
  8444. "parameters": [
  8445. {
  8446. "type": "integer",
  8447. "description": "现货商品ID",
  8448. "name": "wrstandardid",
  8449. "in": "query",
  8450. "required": true
  8451. }
  8452. ],
  8453. "responses": {
  8454. "200": {
  8455. "description": "OK",
  8456. "schema": {
  8457. "type": "array",
  8458. "items": {
  8459. "$ref": "#/definitions/models.THJWrstandardDetailRsp"
  8460. }
  8461. }
  8462. },
  8463. "500": {
  8464. "description": "Internal Server Error",
  8465. "schema": {
  8466. "$ref": "#/definitions/app.Response"
  8467. }
  8468. }
  8469. }
  8470. }
  8471. },
  8472. "/Ferroalloy/QueryUserLevelInfo": {
  8473. "get": {
  8474. "security": [
  8475. {
  8476. "ApiKeyAuth": []
  8477. }
  8478. ],
  8479. "produces": [
  8480. "application/json"
  8481. ],
  8482. "tags": [
  8483. "铁合金"
  8484. ],
  8485. "summary": "查询用户等级信息",
  8486. "parameters": [
  8487. {
  8488. "type": "integer",
  8489. "description": "用户ID",
  8490. "name": "userid",
  8491. "in": "query",
  8492. "required": true
  8493. }
  8494. ],
  8495. "responses": {
  8496. "200": {
  8497. "description": "OK",
  8498. "schema": {
  8499. "type": "array",
  8500. "items": {
  8501. "$ref": "#/definitions/models.THJUserLevelInfo"
  8502. }
  8503. }
  8504. },
  8505. "500": {
  8506. "description": "Internal Server Error",
  8507. "schema": {
  8508. "$ref": "#/definitions/app.Response"
  8509. }
  8510. }
  8511. }
  8512. }
  8513. },
  8514. "/Ferroalloy/QueryUserScoreLog": {
  8515. "get": {
  8516. "security": [
  8517. {
  8518. "ApiKeyAuth": []
  8519. }
  8520. ],
  8521. "produces": [
  8522. "application/json"
  8523. ],
  8524. "tags": [
  8525. "铁合金"
  8526. ],
  8527. "summary": "查询我的积分流水",
  8528. "parameters": [
  8529. {
  8530. "type": "integer",
  8531. "description": "用户ID",
  8532. "name": "userid",
  8533. "in": "query",
  8534. "required": true
  8535. },
  8536. {
  8537. "type": "string",
  8538. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  8539. "name": "stype",
  8540. "in": "query"
  8541. },
  8542. {
  8543. "type": "integer",
  8544. "description": "页码",
  8545. "name": "page",
  8546. "in": "query"
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "每页条数",
  8551. "name": "pagesize",
  8552. "in": "query"
  8553. }
  8554. ],
  8555. "responses": {
  8556. "200": {
  8557. "description": "OK",
  8558. "schema": {
  8559. "type": "array",
  8560. "items": {
  8561. "$ref": "#/definitions/models.GThjuserscorelog"
  8562. }
  8563. }
  8564. },
  8565. "500": {
  8566. "description": "Internal Server Error",
  8567. "schema": {
  8568. "$ref": "#/definitions/app.Response"
  8569. }
  8570. }
  8571. }
  8572. }
  8573. },
  8574. "/Ferroalloy/Signin": {
  8575. "post": {
  8576. "security": [
  8577. {
  8578. "ApiKeyAuth": []
  8579. }
  8580. ],
  8581. "produces": [
  8582. "application/json"
  8583. ],
  8584. "tags": [
  8585. "铁合金"
  8586. ],
  8587. "summary": "用户签到",
  8588. "parameters": [
  8589. {
  8590. "description": "用户签到请求",
  8591. "name": "jsonBody",
  8592. "in": "body",
  8593. "required": true,
  8594. "schema": {
  8595. "$ref": "#/definitions/models.THJSigninReq"
  8596. }
  8597. }
  8598. ],
  8599. "responses": {
  8600. "200": {
  8601. "description": "OK",
  8602. "schema": {
  8603. "$ref": "#/definitions/models.THJSigninRsp"
  8604. }
  8605. },
  8606. "500": {
  8607. "description": "Internal Server Error",
  8608. "schema": {
  8609. "$ref": "#/definitions/app.Response"
  8610. }
  8611. }
  8612. }
  8613. }
  8614. },
  8615. "/Guangzuan/GZBSFWOrderOperate": {
  8616. "get": {
  8617. "security": [
  8618. {
  8619. "ApiKeyAuth": []
  8620. },
  8621. {
  8622. "LoginID": []
  8623. },
  8624. {
  8625. "Group": []
  8626. }
  8627. ],
  8628. "produces": [
  8629. "application/json"
  8630. ],
  8631. "tags": [
  8632. "广钻"
  8633. ],
  8634. "summary": "保税服务单据操作信息",
  8635. "parameters": [
  8636. {
  8637. "type": "integer",
  8638. "description": "单据ID",
  8639. "name": "orderid",
  8640. "in": "query",
  8641. "required": true
  8642. }
  8643. ],
  8644. "responses": {
  8645. "200": {
  8646. "description": "OK",
  8647. "schema": {
  8648. "type": "array",
  8649. "items": {
  8650. "$ref": "#/definitions/models.Gzbsfworderoperate"
  8651. }
  8652. }
  8653. },
  8654. "500": {
  8655. "description": "Internal Server Error",
  8656. "schema": {
  8657. "$ref": "#/definitions/app.Response"
  8658. }
  8659. }
  8660. }
  8661. }
  8662. },
  8663. "/Guangzuan/GetGoods": {
  8664. "get": {
  8665. "security": [
  8666. {
  8667. "ApiKeyAuth": []
  8668. },
  8669. {
  8670. "LoginID": []
  8671. },
  8672. {
  8673. "Group": []
  8674. }
  8675. ],
  8676. "produces": [
  8677. "application/json"
  8678. ],
  8679. "tags": [
  8680. "广钻"
  8681. ],
  8682. "summary": "获取钻石详情",
  8683. "parameters": [
  8684. {
  8685. "type": "string",
  8686. "description": "商品编号",
  8687. "name": "goodsno",
  8688. "in": "query",
  8689. "required": true
  8690. }
  8691. ],
  8692. "responses": {
  8693. "200": {
  8694. "description": "OK",
  8695. "schema": {
  8696. "$ref": "#/definitions/models.GZGoods"
  8697. }
  8698. },
  8699. "500": {
  8700. "description": "Internal Server Error",
  8701. "schema": {
  8702. "$ref": "#/definitions/app.Response"
  8703. }
  8704. }
  8705. }
  8706. }
  8707. },
  8708. "/Guangzuan/GzCertAddressConfig": {
  8709. "get": {
  8710. "security": [
  8711. {
  8712. "ApiKeyAuth": []
  8713. },
  8714. {
  8715. "LoginID": []
  8716. },
  8717. {
  8718. "Group": []
  8719. }
  8720. ],
  8721. "produces": [
  8722. "application/json"
  8723. ],
  8724. "tags": [
  8725. "广钻"
  8726. ],
  8727. "summary": "Rapaport最新报价表(广钻)",
  8728. "responses": {
  8729. "200": {
  8730. "description": "OK",
  8731. "schema": {
  8732. "type": "array",
  8733. "items": {
  8734. "$ref": "#/definitions/models.Gzcertaddressconfig"
  8735. }
  8736. }
  8737. },
  8738. "500": {
  8739. "description": "Internal Server Error",
  8740. "schema": {
  8741. "$ref": "#/definitions/app.Response"
  8742. }
  8743. }
  8744. }
  8745. }
  8746. },
  8747. "/Guangzuan/GzCertAddressParam": {
  8748. "get": {
  8749. "security": [
  8750. {
  8751. "ApiKeyAuth": []
  8752. },
  8753. {
  8754. "LoginID": []
  8755. },
  8756. {
  8757. "Group": []
  8758. }
  8759. ],
  8760. "produces": [
  8761. "application/json"
  8762. ],
  8763. "tags": [
  8764. "广钻"
  8765. ],
  8766. "summary": "钻石证书地址参数",
  8767. "responses": {
  8768. "200": {
  8769. "description": "OK",
  8770. "schema": {
  8771. "type": "array",
  8772. "items": {
  8773. "$ref": "#/definitions/models.Gzcertaddressparam"
  8774. }
  8775. }
  8776. },
  8777. "500": {
  8778. "description": "Internal Server Error",
  8779. "schema": {
  8780. "$ref": "#/definitions/app.Response"
  8781. }
  8782. }
  8783. }
  8784. }
  8785. },
  8786. "/Guangzuan/HomeData": {
  8787. "get": {
  8788. "security": [
  8789. {
  8790. "ApiKeyAuth": []
  8791. },
  8792. {
  8793. "LoginID": []
  8794. },
  8795. {
  8796. "Group": []
  8797. }
  8798. ],
  8799. "produces": [
  8800. "application/json"
  8801. ],
  8802. "tags": [
  8803. "广钻"
  8804. ],
  8805. "summary": "首页统计数据",
  8806. "parameters": [
  8807. {
  8808. "type": "integer",
  8809. "description": "用户ID",
  8810. "name": "userid",
  8811. "in": "query",
  8812. "required": true
  8813. }
  8814. ],
  8815. "responses": {
  8816. "200": {
  8817. "description": "OK",
  8818. "schema": {
  8819. "$ref": "#/definitions/models.GZHomeData"
  8820. }
  8821. },
  8822. "500": {
  8823. "description": "Internal Server Error",
  8824. "schema": {
  8825. "$ref": "#/definitions/app.Response"
  8826. }
  8827. }
  8828. }
  8829. }
  8830. },
  8831. "/Guangzuan/PriceCalc": {
  8832. "get": {
  8833. "security": [
  8834. {
  8835. "ApiKeyAuth": []
  8836. },
  8837. {
  8838. "LoginID": []
  8839. },
  8840. {
  8841. "Group": []
  8842. }
  8843. ],
  8844. "produces": [
  8845. "application/json"
  8846. ],
  8847. "tags": [
  8848. "广钻"
  8849. ],
  8850. "summary": "钻石价格计算器",
  8851. "parameters": [
  8852. {
  8853. "type": "integer",
  8854. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  8855. "name": "zsshape",
  8856. "in": "query",
  8857. "required": true
  8858. },
  8859. {
  8860. "type": "string",
  8861. "description": "颜色(D-M)",
  8862. "name": "zscolor",
  8863. "in": "query",
  8864. "required": true
  8865. },
  8866. {
  8867. "type": "string",
  8868. "description": "净度",
  8869. "name": "zsclarity",
  8870. "in": "query",
  8871. "required": true
  8872. },
  8873. {
  8874. "type": "number",
  8875. "description": "重量",
  8876. "name": "weight",
  8877. "in": "query",
  8878. "required": true
  8879. },
  8880. {
  8881. "type": "number",
  8882. "description": "汇率",
  8883. "name": "rate",
  8884. "in": "query",
  8885. "required": true
  8886. },
  8887. {
  8888. "type": "number",
  8889. "description": "折扣(%), 方向(加:10, 减:-10 )",
  8890. "name": "discount",
  8891. "in": "query"
  8892. }
  8893. ],
  8894. "responses": {
  8895. "200": {
  8896. "description": "OK",
  8897. "schema": {
  8898. "type": "array",
  8899. "items": {
  8900. "$ref": "#/definitions/models.Gzrapaportprice"
  8901. }
  8902. }
  8903. },
  8904. "500": {
  8905. "description": "Internal Server Error",
  8906. "schema": {
  8907. "$ref": "#/definitions/app.Response"
  8908. }
  8909. }
  8910. }
  8911. }
  8912. },
  8913. "/Guangzuan/QueryBuyOrder": {
  8914. "get": {
  8915. "security": [
  8916. {
  8917. "ApiKeyAuth": []
  8918. },
  8919. {
  8920. "LoginID": []
  8921. },
  8922. {
  8923. "Group": []
  8924. }
  8925. ],
  8926. "produces": [
  8927. "application/json"
  8928. ],
  8929. "tags": [
  8930. "广钻"
  8931. ],
  8932. "summary": "查询求购大厅委托单",
  8933. "parameters": [
  8934. {
  8935. "type": "integer",
  8936. "description": "页码",
  8937. "name": "page",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "每页条数",
  8943. "name": "pagesize",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "商品(查询字段-模糊查询)",
  8949. "name": "zsallproperties",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "钻石分类, 格式:1,2,3",
  8955. "name": "zscategorys",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "integer",
  8960. "description": "委托单号",
  8961. "name": "wrtradeorderid",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "买方(查询字段-模糊查询)",
  8967. "name": "buyusername",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "type": "array",
  8976. "items": {
  8977. "$ref": "#/definitions/models.BuyOrder"
  8978. }
  8979. }
  8980. },
  8981. "500": {
  8982. "description": "Internal Server Error",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. }
  8987. }
  8988. }
  8989. },
  8990. "/Guangzuan/QueryDiamond": {
  8991. "post": {
  8992. "security": [
  8993. {
  8994. "ApiKeyAuth": []
  8995. },
  8996. {
  8997. "LoginID": []
  8998. },
  8999. {
  9000. "Group": []
  9001. }
  9002. ],
  9003. "produces": [
  9004. "application/json"
  9005. ],
  9006. "tags": [
  9007. "广钻"
  9008. ],
  9009. "summary": "钻石搜索",
  9010. "parameters": [
  9011. {
  9012. "description": "钻石搜索入参",
  9013. "name": "data",
  9014. "in": "body",
  9015. "required": true,
  9016. "schema": {
  9017. "$ref": "#/definitions/models.SellOrderQueryReq"
  9018. }
  9019. }
  9020. ],
  9021. "responses": {
  9022. "200": {
  9023. "description": "OK",
  9024. "schema": {
  9025. "type": "array",
  9026. "items": {
  9027. "$ref": "#/definitions/models.SellOrder"
  9028. }
  9029. }
  9030. },
  9031. "500": {
  9032. "description": "Internal Server Error",
  9033. "schema": {
  9034. "$ref": "#/definitions/app.Response"
  9035. }
  9036. }
  9037. }
  9038. }
  9039. },
  9040. "/Guangzuan/QueryFworderoperate": {
  9041. "get": {
  9042. "security": [
  9043. {
  9044. "ApiKeyAuth": []
  9045. },
  9046. {
  9047. "LoginID": []
  9048. },
  9049. {
  9050. "Group": []
  9051. }
  9052. ],
  9053. "produces": [
  9054. "application/json"
  9055. ],
  9056. "tags": [
  9057. "广钻"
  9058. ],
  9059. "summary": "查询保税服务单据操作",
  9060. "parameters": [
  9061. {
  9062. "type": "string",
  9063. "description": "单据ID",
  9064. "name": "orderid",
  9065. "in": "query",
  9066. "required": true
  9067. },
  9068. {
  9069. "type": "integer",
  9070. "description": "操作后单据状态",
  9071. "name": "status",
  9072. "in": "query",
  9073. "required": true
  9074. }
  9075. ],
  9076. "responses": {
  9077. "200": {
  9078. "description": "OK",
  9079. "schema": {
  9080. "type": "array",
  9081. "items": {
  9082. "$ref": "#/definitions/models.Fworderoperate"
  9083. }
  9084. }
  9085. },
  9086. "500": {
  9087. "description": "Internal Server Error",
  9088. "schema": {
  9089. "$ref": "#/definitions/app.Response"
  9090. }
  9091. }
  9092. }
  9093. }
  9094. },
  9095. "/Guangzuan/QueryGZBSFWOrder": {
  9096. "get": {
  9097. "security": [
  9098. {
  9099. "ApiKeyAuth": []
  9100. },
  9101. {
  9102. "LoginID": []
  9103. },
  9104. {
  9105. "Group": []
  9106. }
  9107. ],
  9108. "produces": [
  9109. "application/json"
  9110. ],
  9111. "tags": [
  9112. "广钻"
  9113. ],
  9114. "summary": "查询保税服务单据",
  9115. "parameters": [
  9116. {
  9117. "type": "integer",
  9118. "description": "用户ID",
  9119. "name": "userid",
  9120. "in": "query",
  9121. "required": true
  9122. },
  9123. {
  9124. "type": "integer",
  9125. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  9126. "name": "executestatus",
  9127. "in": "query"
  9128. },
  9129. {
  9130. "type": "integer",
  9131. "description": "页码",
  9132. "name": "page",
  9133. "in": "query"
  9134. },
  9135. {
  9136. "type": "integer",
  9137. "description": "每页条数",
  9138. "name": "pagesize",
  9139. "in": "query"
  9140. }
  9141. ],
  9142. "responses": {
  9143. "200": {
  9144. "description": "OK",
  9145. "schema": {
  9146. "type": "array",
  9147. "items": {
  9148. "$ref": "#/definitions/models.GzbsfworderM"
  9149. }
  9150. }
  9151. },
  9152. "500": {
  9153. "description": "Internal Server Error",
  9154. "schema": {
  9155. "$ref": "#/definitions/app.Response"
  9156. }
  9157. }
  9158. }
  9159. }
  9160. },
  9161. "/Guangzuan/QueryGZBSFWOrderDetail": {
  9162. "get": {
  9163. "security": [
  9164. {
  9165. "ApiKeyAuth": []
  9166. },
  9167. {
  9168. "LoginID": []
  9169. },
  9170. {
  9171. "Group": []
  9172. }
  9173. ],
  9174. "produces": [
  9175. "application/json"
  9176. ],
  9177. "tags": [
  9178. "广钻"
  9179. ],
  9180. "summary": "查询保税服务单据明细",
  9181. "parameters": [
  9182. {
  9183. "type": "integer",
  9184. "description": "用户ID",
  9185. "name": "userid",
  9186. "in": "query",
  9187. "required": true
  9188. },
  9189. {
  9190. "type": "integer",
  9191. "description": "单据ID",
  9192. "name": "orderid",
  9193. "in": "query"
  9194. },
  9195. {
  9196. "type": "integer",
  9197. "description": "页码",
  9198. "name": "page",
  9199. "in": "query"
  9200. },
  9201. {
  9202. "type": "integer",
  9203. "description": "每页条数",
  9204. "name": "pagesize",
  9205. "in": "query"
  9206. }
  9207. ],
  9208. "responses": {
  9209. "200": {
  9210. "description": "OK",
  9211. "schema": {
  9212. "type": "array",
  9213. "items": {
  9214. "$ref": "#/definitions/models.GzbsfworderdetailM"
  9215. }
  9216. }
  9217. },
  9218. "500": {
  9219. "description": "Internal Server Error",
  9220. "schema": {
  9221. "$ref": "#/definitions/app.Response"
  9222. }
  9223. }
  9224. }
  9225. }
  9226. },
  9227. "/Guangzuan/QueryGZCJBSOrderFile": {
  9228. "get": {
  9229. "security": [
  9230. {
  9231. "ApiKeyAuth": []
  9232. },
  9233. {
  9234. "LoginID": []
  9235. },
  9236. {
  9237. "Group": []
  9238. }
  9239. ],
  9240. "produces": [
  9241. "application/json"
  9242. ],
  9243. "tags": [
  9244. "广钻"
  9245. ],
  9246. "summary": "出境保税单据文件",
  9247. "parameters": [
  9248. {
  9249. "type": "integer",
  9250. "description": "单据ID",
  9251. "name": "orderid",
  9252. "in": "query",
  9253. "required": true
  9254. },
  9255. {
  9256. "type": "integer",
  9257. "description": "页码",
  9258. "name": "page",
  9259. "in": "query"
  9260. },
  9261. {
  9262. "type": "integer",
  9263. "description": "每页条数",
  9264. "name": "pagesize",
  9265. "in": "query"
  9266. }
  9267. ],
  9268. "responses": {
  9269. "200": {
  9270. "description": "OK",
  9271. "schema": {
  9272. "type": "array",
  9273. "items": {
  9274. "$ref": "#/definitions/models.GzcjbsorderfileM"
  9275. }
  9276. }
  9277. },
  9278. "500": {
  9279. "description": "Internal Server Error",
  9280. "schema": {
  9281. "$ref": "#/definitions/app.Response"
  9282. }
  9283. }
  9284. }
  9285. }
  9286. },
  9287. "/Guangzuan/QueryGZCJJCOrder": {
  9288. "get": {
  9289. "security": [
  9290. {
  9291. "ApiKeyAuth": []
  9292. },
  9293. {
  9294. "LoginID": []
  9295. },
  9296. {
  9297. "Group": []
  9298. }
  9299. ],
  9300. "produces": [
  9301. "application/json"
  9302. ],
  9303. "tags": [
  9304. "广钻"
  9305. ],
  9306. "summary": "查询出境检测单据",
  9307. "parameters": [
  9308. {
  9309. "type": "integer",
  9310. "description": "用户ID",
  9311. "name": "userid",
  9312. "in": "query",
  9313. "required": true
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  9318. "name": "executestatus",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "integer",
  9323. "description": "页码",
  9324. "name": "page",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "integer",
  9329. "description": "每页条数",
  9330. "name": "pagesize",
  9331. "in": "query"
  9332. }
  9333. ],
  9334. "responses": {
  9335. "200": {
  9336. "description": "OK",
  9337. "schema": {
  9338. "type": "array",
  9339. "items": {
  9340. "$ref": "#/definitions/models.GzcjjcorderM"
  9341. }
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/Guangzuan/QueryGZCJJCOrderDetail": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. },
  9359. {
  9360. "LoginID": []
  9361. },
  9362. {
  9363. "Group": []
  9364. }
  9365. ],
  9366. "produces": [
  9367. "application/json"
  9368. ],
  9369. "tags": [
  9370. "广钻"
  9371. ],
  9372. "summary": "查询出境检测单据明细(批次信息)",
  9373. "parameters": [
  9374. {
  9375. "type": "integer",
  9376. "description": "用户ID",
  9377. "name": "userid",
  9378. "in": "query",
  9379. "required": true
  9380. },
  9381. {
  9382. "type": "integer",
  9383. "description": "单据ID",
  9384. "name": "orderid",
  9385. "in": "query"
  9386. },
  9387. {
  9388. "type": "integer",
  9389. "description": "页码",
  9390. "name": "page",
  9391. "in": "query"
  9392. },
  9393. {
  9394. "type": "integer",
  9395. "description": "每页条数",
  9396. "name": "pagesize",
  9397. "in": "query"
  9398. }
  9399. ],
  9400. "responses": {
  9401. "200": {
  9402. "description": "OK",
  9403. "schema": {
  9404. "type": "array",
  9405. "items": {
  9406. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  9407. }
  9408. }
  9409. },
  9410. "500": {
  9411. "description": "Internal Server Error",
  9412. "schema": {
  9413. "$ref": "#/definitions/app.Response"
  9414. }
  9415. }
  9416. }
  9417. }
  9418. },
  9419. "/Guangzuan/QueryGzcjjcorderoperate": {
  9420. "get": {
  9421. "security": [
  9422. {
  9423. "ApiKeyAuth": []
  9424. },
  9425. {
  9426. "LoginID": []
  9427. },
  9428. {
  9429. "Group": []
  9430. }
  9431. ],
  9432. "produces": [
  9433. "application/json"
  9434. ],
  9435. "tags": [
  9436. "广钻"
  9437. ],
  9438. "summary": "查询出境检测单据操作",
  9439. "parameters": [
  9440. {
  9441. "type": "string",
  9442. "description": "单据ID",
  9443. "name": "orderid",
  9444. "in": "query",
  9445. "required": true
  9446. },
  9447. {
  9448. "type": "integer",
  9449. "description": "操作后单据状态",
  9450. "name": "status",
  9451. "in": "query",
  9452. "required": true
  9453. }
  9454. ],
  9455. "responses": {
  9456. "200": {
  9457. "description": "OK",
  9458. "schema": {
  9459. "type": "array",
  9460. "items": {
  9461. "$ref": "#/definitions/models.Gzcjjcorderoperate"
  9462. }
  9463. }
  9464. },
  9465. "500": {
  9466. "description": "Internal Server Error",
  9467. "schema": {
  9468. "$ref": "#/definitions/app.Response"
  9469. }
  9470. }
  9471. }
  9472. }
  9473. },
  9474. "/Guangzuan/QueryMemberReport": {
  9475. "get": {
  9476. "security": [
  9477. {
  9478. "ApiKeyAuth": []
  9479. },
  9480. {
  9481. "LoginID": []
  9482. },
  9483. {
  9484. "Group": []
  9485. }
  9486. ],
  9487. "produces": [
  9488. "application/json"
  9489. ],
  9490. "tags": [
  9491. "广钻"
  9492. ],
  9493. "summary": "查询会员报表",
  9494. "parameters": [
  9495. {
  9496. "type": "integer",
  9497. "description": "用户ID",
  9498. "name": "userid",
  9499. "in": "query",
  9500. "required": true
  9501. },
  9502. {
  9503. "type": "integer",
  9504. "description": "页码",
  9505. "name": "page",
  9506. "in": "query"
  9507. },
  9508. {
  9509. "type": "integer",
  9510. "description": "每页条数",
  9511. "name": "pagesize",
  9512. "in": "query"
  9513. },
  9514. {
  9515. "type": "string",
  9516. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9517. "name": "cycletype",
  9518. "in": "query"
  9519. },
  9520. {
  9521. "type": "string",
  9522. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9523. "name": "begindate",
  9524. "in": "query",
  9525. "required": true
  9526. },
  9527. {
  9528. "type": "string",
  9529. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9530. "name": "enddate",
  9531. "in": "query",
  9532. "required": true
  9533. }
  9534. ],
  9535. "responses": {
  9536. "200": {
  9537. "description": "OK",
  9538. "schema": {
  9539. "type": "array",
  9540. "items": {
  9541. "$ref": "#/definitions/models.Reckondaytaaccount"
  9542. }
  9543. }
  9544. },
  9545. "500": {
  9546. "description": "Internal Server Error",
  9547. "schema": {
  9548. "$ref": "#/definitions/app.Response"
  9549. }
  9550. }
  9551. }
  9552. }
  9553. },
  9554. "/Guangzuan/QueryMyBargainApply": {
  9555. "get": {
  9556. "security": [
  9557. {
  9558. "ApiKeyAuth": []
  9559. },
  9560. {
  9561. "LoginID": []
  9562. },
  9563. {
  9564. "Group": []
  9565. }
  9566. ],
  9567. "produces": [
  9568. "application/json"
  9569. ],
  9570. "tags": [
  9571. "广钻"
  9572. ],
  9573. "summary": "查询询价-求购",
  9574. "parameters": [
  9575. {
  9576. "type": "integer",
  9577. "description": "用户ID",
  9578. "name": "userid",
  9579. "in": "query",
  9580. "required": true
  9581. },
  9582. {
  9583. "type": "integer",
  9584. "description": "页码",
  9585. "name": "page",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "integer",
  9590. "description": "每页条数",
  9591. "name": "pagesize",
  9592. "in": "query"
  9593. },
  9594. {
  9595. "type": "integer",
  9596. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  9597. "name": "applystatus",
  9598. "in": "query"
  9599. },
  9600. {
  9601. "type": "integer",
  9602. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  9603. "name": "type",
  9604. "in": "query"
  9605. },
  9606. {
  9607. "type": "string",
  9608. "description": "关联委托单ID",
  9609. "name": "wrtradeorderid",
  9610. "in": "query"
  9611. }
  9612. ],
  9613. "responses": {
  9614. "200": {
  9615. "description": "OK",
  9616. "schema": {
  9617. "type": "array",
  9618. "items": {
  9619. "$ref": "#/definitions/models.MyBargainApply"
  9620. }
  9621. }
  9622. },
  9623. "500": {
  9624. "description": "Internal Server Error",
  9625. "schema": {
  9626. "$ref": "#/definitions/app.Response"
  9627. }
  9628. }
  9629. }
  9630. }
  9631. },
  9632. "/Guangzuan/QueryMyBuyOrder": {
  9633. "get": {
  9634. "security": [
  9635. {
  9636. "ApiKeyAuth": []
  9637. },
  9638. {
  9639. "LoginID": []
  9640. },
  9641. {
  9642. "Group": []
  9643. }
  9644. ],
  9645. "produces": [
  9646. "application/json"
  9647. ],
  9648. "tags": [
  9649. "广钻"
  9650. ],
  9651. "summary": "查询我的求购",
  9652. "parameters": [
  9653. {
  9654. "type": "integer",
  9655. "description": "用户ID",
  9656. "name": "userid",
  9657. "in": "query",
  9658. "required": true
  9659. },
  9660. {
  9661. "type": "integer",
  9662. "description": "页码",
  9663. "name": "page",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "每页条数",
  9669. "name": "pagesize",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "string",
  9674. "description": "商品(查询字段-模糊查询)",
  9675. "name": "zsallproperties",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "string",
  9680. "description": "钻石分类, 格式:1,2,3",
  9681. "name": "zscategorys",
  9682. "in": "query"
  9683. },
  9684. {
  9685. "type": "integer",
  9686. "description": "委托单号",
  9687. "name": "wrtradeorderid",
  9688. "in": "query"
  9689. },
  9690. {
  9691. "type": "boolean",
  9692. "description": "是否历史查询",
  9693. "name": "ishis",
  9694. "in": "query"
  9695. },
  9696. {
  9697. "type": "string",
  9698. "description": "开始交易日(yyyymmdd)",
  9699. "name": "begindate",
  9700. "in": "query"
  9701. },
  9702. {
  9703. "type": "string",
  9704. "description": "结束交易日(yyyymmdd)",
  9705. "name": "enddate",
  9706. "in": "query"
  9707. }
  9708. ],
  9709. "responses": {
  9710. "200": {
  9711. "description": "OK",
  9712. "schema": {
  9713. "type": "array",
  9714. "items": {
  9715. "$ref": "#/definitions/models.MyBuyOrder"
  9716. }
  9717. }
  9718. },
  9719. "500": {
  9720. "description": "Internal Server Error",
  9721. "schema": {
  9722. "$ref": "#/definitions/app.Response"
  9723. }
  9724. }
  9725. }
  9726. }
  9727. },
  9728. "/Guangzuan/QueryMyDeListing": {
  9729. "get": {
  9730. "security": [
  9731. {
  9732. "ApiKeyAuth": []
  9733. },
  9734. {
  9735. "LoginID": []
  9736. },
  9737. {
  9738. "Group": []
  9739. }
  9740. ],
  9741. "produces": [
  9742. "application/json"
  9743. ],
  9744. "tags": [
  9745. "广钻"
  9746. ],
  9747. "summary": "查询我的摘牌",
  9748. "parameters": [
  9749. {
  9750. "type": "integer",
  9751. "description": "用户ID",
  9752. "name": "userid",
  9753. "in": "query",
  9754. "required": true
  9755. },
  9756. {
  9757. "type": "integer",
  9758. "description": "页码",
  9759. "name": "page",
  9760. "in": "query"
  9761. },
  9762. {
  9763. "type": "integer",
  9764. "description": "每页条数",
  9765. "name": "pagesize",
  9766. "in": "query"
  9767. },
  9768. {
  9769. "type": "string",
  9770. "description": "商品(查询字段-模糊查询)",
  9771. "name": "zsallproperties",
  9772. "in": "query"
  9773. },
  9774. {
  9775. "type": "string",
  9776. "description": "钻石分类, 格式:1,2,3",
  9777. "name": "zscategorys",
  9778. "in": "query"
  9779. },
  9780. {
  9781. "type": "integer",
  9782. "description": "成交单号",
  9783. "name": "wrtradedetailid",
  9784. "in": "query"
  9785. },
  9786. {
  9787. "type": "integer",
  9788. "description": "方向,0-购买 1-出售",
  9789. "name": "buyorsell",
  9790. "in": "query"
  9791. },
  9792. {
  9793. "type": "string",
  9794. "description": "对手方(模糊匹配)",
  9795. "name": "matchusername",
  9796. "in": "query"
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "开始交易日(yyyymmdd)",
  9801. "name": "begindate",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "string",
  9806. "description": "结束交易日(yyyymmdd)",
  9807. "name": "enddate",
  9808. "in": "query"
  9809. }
  9810. ],
  9811. "responses": {
  9812. "200": {
  9813. "description": "OK",
  9814. "schema": {
  9815. "type": "array",
  9816. "items": {
  9817. "$ref": "#/definitions/models.MyDeListing"
  9818. }
  9819. }
  9820. },
  9821. "500": {
  9822. "description": "Internal Server Error",
  9823. "schema": {
  9824. "$ref": "#/definitions/app.Response"
  9825. }
  9826. }
  9827. }
  9828. }
  9829. },
  9830. "/Guangzuan/QueryMyDelistingApply": {
  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": "integer",
  9872. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  9873. "name": "applystatus",
  9874. "in": "query"
  9875. },
  9876. {
  9877. "type": "integer",
  9878. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  9879. "name": "type",
  9880. "in": "query"
  9881. },
  9882. {
  9883. "type": "string",
  9884. "description": "买委托单ID",
  9885. "name": "buywrtradeorderid",
  9886. "in": "query"
  9887. }
  9888. ],
  9889. "responses": {
  9890. "200": {
  9891. "description": "OK",
  9892. "schema": {
  9893. "type": "array",
  9894. "items": {
  9895. "$ref": "#/definitions/models.MyDelistingApply"
  9896. }
  9897. }
  9898. },
  9899. "500": {
  9900. "description": "Internal Server Error",
  9901. "schema": {
  9902. "$ref": "#/definitions/app.Response"
  9903. }
  9904. }
  9905. }
  9906. }
  9907. },
  9908. "/Guangzuan/QueryMyFavorite": {
  9909. "get": {
  9910. "security": [
  9911. {
  9912. "ApiKeyAuth": []
  9913. },
  9914. {
  9915. "LoginID": []
  9916. },
  9917. {
  9918. "Group": []
  9919. }
  9920. ],
  9921. "produces": [
  9922. "application/json"
  9923. ],
  9924. "tags": [
  9925. "广钻"
  9926. ],
  9927. "summary": "查询我的收藏",
  9928. "parameters": [
  9929. {
  9930. "type": "integer",
  9931. "description": "用户ID",
  9932. "name": "userid",
  9933. "in": "query",
  9934. "required": true
  9935. },
  9936. {
  9937. "type": "integer",
  9938. "description": "页码",
  9939. "name": "page",
  9940. "in": "query"
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "每页条数",
  9945. "name": "pagesize",
  9946. "in": "query"
  9947. },
  9948. {
  9949. "type": "string",
  9950. "description": "钻石分类, 格式:1,2,3",
  9951. "name": "zscategorys",
  9952. "in": "query"
  9953. }
  9954. ],
  9955. "responses": {
  9956. "200": {
  9957. "description": "OK",
  9958. "schema": {
  9959. "type": "array",
  9960. "items": {
  9961. "$ref": "#/definitions/models.MyFavorite"
  9962. }
  9963. }
  9964. },
  9965. "500": {
  9966. "description": "Internal Server Error",
  9967. "schema": {
  9968. "$ref": "#/definitions/app.Response"
  9969. }
  9970. }
  9971. }
  9972. }
  9973. },
  9974. "/Guangzuan/QueryMyPerformanc": {
  9975. "get": {
  9976. "security": [
  9977. {
  9978. "ApiKeyAuth": []
  9979. },
  9980. {
  9981. "LoginID": []
  9982. },
  9983. {
  9984. "Group": []
  9985. }
  9986. ],
  9987. "produces": [
  9988. "application/json"
  9989. ],
  9990. "tags": [
  9991. "广钻"
  9992. ],
  9993. "summary": "查询我的履约",
  9994. "parameters": [
  9995. {
  9996. "type": "integer",
  9997. "description": "用户ID",
  9998. "name": "userid",
  9999. "in": "query",
  10000. "required": true
  10001. },
  10002. {
  10003. "type": "integer",
  10004. "description": "页码",
  10005. "name": "page",
  10006. "in": "query"
  10007. },
  10008. {
  10009. "type": "integer",
  10010. "description": "每页条数",
  10011. "name": "pagesize",
  10012. "in": "query"
  10013. },
  10014. {
  10015. "type": "string",
  10016. "description": "商品(查询字段-模糊查询)",
  10017. "name": "zsallproperties",
  10018. "in": "query"
  10019. },
  10020. {
  10021. "type": "integer",
  10022. "description": "方向,0-买 1-卖",
  10023. "name": "buyorsell",
  10024. "in": "query"
  10025. },
  10026. {
  10027. "type": "boolean",
  10028. "description": "是否历史查询",
  10029. "name": "ishis",
  10030. "in": "query"
  10031. },
  10032. {
  10033. "type": "string",
  10034. "description": "开始交易日(yyyymmdd)",
  10035. "name": "begindate",
  10036. "in": "query"
  10037. },
  10038. {
  10039. "type": "string",
  10040. "description": "结束交易日(yyyymmdd)",
  10041. "name": "enddate",
  10042. "in": "query"
  10043. }
  10044. ],
  10045. "responses": {
  10046. "200": {
  10047. "description": "OK",
  10048. "schema": {
  10049. "type": "array",
  10050. "items": {
  10051. "$ref": "#/definitions/models.MyPerformanc"
  10052. }
  10053. }
  10054. },
  10055. "500": {
  10056. "description": "Internal Server Error",
  10057. "schema": {
  10058. "$ref": "#/definitions/app.Response"
  10059. }
  10060. }
  10061. }
  10062. }
  10063. },
  10064. "/Guangzuan/QueryMySellOrder": {
  10065. "get": {
  10066. "security": [
  10067. {
  10068. "ApiKeyAuth": []
  10069. },
  10070. {
  10071. "LoginID": []
  10072. },
  10073. {
  10074. "Group": []
  10075. }
  10076. ],
  10077. "produces": [
  10078. "application/json"
  10079. ],
  10080. "tags": [
  10081. "广钻"
  10082. ],
  10083. "summary": "查询我的出售",
  10084. "parameters": [
  10085. {
  10086. "type": "integer",
  10087. "description": "用户ID",
  10088. "name": "userid",
  10089. "in": "query",
  10090. "required": true
  10091. },
  10092. {
  10093. "type": "integer",
  10094. "description": "页码",
  10095. "name": "page",
  10096. "in": "query"
  10097. },
  10098. {
  10099. "type": "integer",
  10100. "description": "每页条数",
  10101. "name": "pagesize",
  10102. "in": "query"
  10103. },
  10104. {
  10105. "type": "string",
  10106. "description": "商品(查询字段-模糊查询)",
  10107. "name": "zsallproperties",
  10108. "in": "query"
  10109. },
  10110. {
  10111. "type": "string",
  10112. "description": "钻石分类, 格式:1,2,3",
  10113. "name": "zscategorys",
  10114. "in": "query"
  10115. },
  10116. {
  10117. "type": "integer",
  10118. "description": "委托单号",
  10119. "name": "wrtradeorderid",
  10120. "in": "query"
  10121. },
  10122. {
  10123. "type": "boolean",
  10124. "description": "是否历史查询",
  10125. "name": "ishis",
  10126. "in": "query"
  10127. },
  10128. {
  10129. "type": "string",
  10130. "description": "开始交易日(yyyymmdd)",
  10131. "name": "begindate",
  10132. "in": "query"
  10133. },
  10134. {
  10135. "type": "string",
  10136. "description": "结束交易日(yyyymmdd)",
  10137. "name": "enddate",
  10138. "in": "query"
  10139. }
  10140. ],
  10141. "responses": {
  10142. "200": {
  10143. "description": "OK",
  10144. "schema": {
  10145. "type": "array",
  10146. "items": {
  10147. "$ref": "#/definitions/models.MySellOrder"
  10148. }
  10149. }
  10150. },
  10151. "500": {
  10152. "description": "Internal Server Error",
  10153. "schema": {
  10154. "$ref": "#/definitions/app.Response"
  10155. }
  10156. }
  10157. }
  10158. }
  10159. },
  10160. "/Guangzuan/QueryMyWRPosition": {
  10161. "get": {
  10162. "security": [
  10163. {
  10164. "ApiKeyAuth": []
  10165. },
  10166. {
  10167. "LoginID": []
  10168. },
  10169. {
  10170. "Group": []
  10171. }
  10172. ],
  10173. "produces": [
  10174. "application/json"
  10175. ],
  10176. "tags": [
  10177. "广钻"
  10178. ],
  10179. "summary": "查询我的库存",
  10180. "parameters": [
  10181. {
  10182. "type": "integer",
  10183. "description": "页码",
  10184. "name": "page",
  10185. "in": "query"
  10186. },
  10187. {
  10188. "type": "integer",
  10189. "description": "每页条数",
  10190. "name": "pagesize",
  10191. "in": "query"
  10192. },
  10193. {
  10194. "type": "integer",
  10195. "description": "登录用户ID",
  10196. "name": "wruserid",
  10197. "in": "query",
  10198. "required": true
  10199. },
  10200. {
  10201. "type": "string",
  10202. "description": "商品(查询字段-模糊查询)",
  10203. "name": "zsallproperties",
  10204. "in": "query"
  10205. },
  10206. {
  10207. "type": "string",
  10208. "description": "钻石分类, 格式:1,2,3",
  10209. "name": "zscategorys",
  10210. "in": "query"
  10211. },
  10212. {
  10213. "type": "integer",
  10214. "description": "仓库ID",
  10215. "name": "warehouseid",
  10216. "in": "query"
  10217. },
  10218. {
  10219. "type": "integer",
  10220. "description": "是否上架,0-全部 1-是 2-否",
  10221. "name": "marketflag",
  10222. "in": "query"
  10223. }
  10224. ],
  10225. "responses": {
  10226. "200": {
  10227. "description": "OK",
  10228. "schema": {
  10229. "type": "array",
  10230. "items": {
  10231. "$ref": "#/definitions/models.MyWRPosition"
  10232. }
  10233. }
  10234. },
  10235. "500": {
  10236. "description": "Internal Server Error",
  10237. "schema": {
  10238. "$ref": "#/definitions/app.Response"
  10239. }
  10240. }
  10241. }
  10242. }
  10243. },
  10244. "/Guangzuan/QuerySellOrder": {
  10245. "get": {
  10246. "security": [
  10247. {
  10248. "ApiKeyAuth": []
  10249. },
  10250. {
  10251. "LoginID": []
  10252. },
  10253. {
  10254. "Group": []
  10255. }
  10256. ],
  10257. "produces": [
  10258. "application/json"
  10259. ],
  10260. "tags": [
  10261. "广钻"
  10262. ],
  10263. "summary": "查询出售大厅委托单",
  10264. "parameters": [
  10265. {
  10266. "type": "integer",
  10267. "description": "页码",
  10268. "name": "page",
  10269. "in": "query"
  10270. },
  10271. {
  10272. "type": "integer",
  10273. "description": "每页条数",
  10274. "name": "pagesize",
  10275. "in": "query"
  10276. },
  10277. {
  10278. "type": "string",
  10279. "description": "商品(查询字段-模糊查询)",
  10280. "name": "zsallproperties",
  10281. "in": "query"
  10282. },
  10283. {
  10284. "type": "string",
  10285. "description": "钻石分类, 格式:1,2,3",
  10286. "name": "zscategorys",
  10287. "in": "query"
  10288. },
  10289. {
  10290. "type": "integer",
  10291. "description": "委托单号",
  10292. "name": "wrtradeorderid",
  10293. "in": "query"
  10294. },
  10295. {
  10296. "type": "string",
  10297. "description": "卖方(查询字段-模糊查询)",
  10298. "name": "buyusername",
  10299. "in": "query"
  10300. }
  10301. ],
  10302. "responses": {
  10303. "200": {
  10304. "description": "OK",
  10305. "schema": {
  10306. "type": "array",
  10307. "items": {
  10308. "$ref": "#/definitions/models.SellOrder"
  10309. }
  10310. }
  10311. },
  10312. "500": {
  10313. "description": "Internal Server Error",
  10314. "schema": {
  10315. "$ref": "#/definitions/app.Response"
  10316. }
  10317. }
  10318. }
  10319. }
  10320. },
  10321. "/Guangzuan/QueryTradeReport": {
  10322. "get": {
  10323. "security": [
  10324. {
  10325. "ApiKeyAuth": []
  10326. },
  10327. {
  10328. "LoginID": []
  10329. },
  10330. {
  10331. "Group": []
  10332. }
  10333. ],
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "广钻"
  10339. ],
  10340. "summary": "查询交易报表",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "用户ID",
  10345. "name": "userid",
  10346. "in": "query",
  10347. "required": true
  10348. },
  10349. {
  10350. "type": "integer",
  10351. "description": "页码",
  10352. "name": "page",
  10353. "in": "query"
  10354. },
  10355. {
  10356. "type": "integer",
  10357. "description": "每页条数",
  10358. "name": "pagesize",
  10359. "in": "query"
  10360. },
  10361. {
  10362. "type": "string",
  10363. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  10364. "name": "cycletype",
  10365. "in": "query"
  10366. },
  10367. {
  10368. "type": "string",
  10369. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10370. "name": "begindate",
  10371. "in": "query",
  10372. "required": true
  10373. },
  10374. {
  10375. "type": "string",
  10376. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10377. "name": "enddate",
  10378. "in": "query",
  10379. "required": true
  10380. },
  10381. {
  10382. "type": "integer",
  10383. "description": "商品分类",
  10384. "name": "zscategory",
  10385. "in": "query"
  10386. },
  10387. {
  10388. "type": "integer",
  10389. "description": "商品币种",
  10390. "name": "zscurrencytype",
  10391. "in": "query"
  10392. }
  10393. ],
  10394. "responses": {
  10395. "200": {
  10396. "description": "OK",
  10397. "schema": {
  10398. "type": "array",
  10399. "items": {
  10400. "$ref": "#/definitions/models.Reckongzmemtradesum"
  10401. }
  10402. }
  10403. },
  10404. "500": {
  10405. "description": "Internal Server Error",
  10406. "schema": {
  10407. "$ref": "#/definitions/app.Response"
  10408. }
  10409. }
  10410. }
  10411. }
  10412. },
  10413. "/Guangzuan/QueryWRPositionReport": {
  10414. "get": {
  10415. "security": [
  10416. {
  10417. "ApiKeyAuth": []
  10418. },
  10419. {
  10420. "LoginID": []
  10421. },
  10422. {
  10423. "Group": []
  10424. }
  10425. ],
  10426. "produces": [
  10427. "application/json"
  10428. ],
  10429. "tags": [
  10430. "广钻"
  10431. ],
  10432. "summary": "查询仓储报表",
  10433. "parameters": [
  10434. {
  10435. "type": "integer",
  10436. "description": "用户ID",
  10437. "name": "userid",
  10438. "in": "query",
  10439. "required": true
  10440. },
  10441. {
  10442. "type": "integer",
  10443. "description": "页码",
  10444. "name": "page",
  10445. "in": "query"
  10446. },
  10447. {
  10448. "type": "integer",
  10449. "description": "每页条数",
  10450. "name": "pagesize",
  10451. "in": "query"
  10452. },
  10453. {
  10454. "type": "string",
  10455. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  10456. "name": "cycletype",
  10457. "in": "query"
  10458. },
  10459. {
  10460. "type": "string",
  10461. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10462. "name": "begindate",
  10463. "in": "query",
  10464. "required": true
  10465. },
  10466. {
  10467. "type": "string",
  10468. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10469. "name": "enddate",
  10470. "in": "query",
  10471. "required": true
  10472. },
  10473. {
  10474. "type": "integer",
  10475. "description": "商品分类",
  10476. "name": "zscategory",
  10477. "in": "query"
  10478. },
  10479. {
  10480. "type": "integer",
  10481. "description": "商品币种",
  10482. "name": "zscurrencytype",
  10483. "in": "query"
  10484. }
  10485. ],
  10486. "responses": {
  10487. "200": {
  10488. "description": "OK",
  10489. "schema": {
  10490. "type": "array",
  10491. "items": {
  10492. "$ref": "#/definitions/models.WRPositionReport"
  10493. }
  10494. }
  10495. },
  10496. "500": {
  10497. "description": "Internal Server Error",
  10498. "schema": {
  10499. "$ref": "#/definitions/app.Response"
  10500. }
  10501. }
  10502. }
  10503. }
  10504. },
  10505. "/Guangzuan/QueryWarehouseInfo": {
  10506. "get": {
  10507. "security": [
  10508. {
  10509. "ApiKeyAuth": []
  10510. },
  10511. {
  10512. "LoginID": []
  10513. },
  10514. {
  10515. "Group": []
  10516. }
  10517. ],
  10518. "produces": [
  10519. "application/json"
  10520. ],
  10521. "tags": [
  10522. "广钻"
  10523. ],
  10524. "summary": "查询仓库信息",
  10525. "parameters": [
  10526. {
  10527. "type": "integer",
  10528. "description": "页码",
  10529. "name": "page",
  10530. "in": "query"
  10531. },
  10532. {
  10533. "type": "integer",
  10534. "description": "每页条数",
  10535. "name": "pagesize",
  10536. "in": "query"
  10537. },
  10538. {
  10539. "type": "integer",
  10540. "description": "用户ID",
  10541. "name": "userid",
  10542. "in": "query",
  10543. "required": true
  10544. },
  10545. {
  10546. "type": "string",
  10547. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  10548. "name": "status",
  10549. "in": "query"
  10550. },
  10551. {
  10552. "type": "boolean",
  10553. "description": "是返回交易所仓库",
  10554. "name": "isincludeexchange",
  10555. "in": "query"
  10556. }
  10557. ],
  10558. "responses": {
  10559. "200": {
  10560. "description": "OK",
  10561. "schema": {
  10562. "type": "array",
  10563. "items": {
  10564. "$ref": "#/definitions/models.GZWarehouseinfo"
  10565. }
  10566. }
  10567. },
  10568. "500": {
  10569. "description": "Internal Server Error",
  10570. "schema": {
  10571. "$ref": "#/definitions/app.Response"
  10572. }
  10573. }
  10574. }
  10575. }
  10576. },
  10577. "/HSBY/GetHsbyMyCount": {
  10578. "get": {
  10579. "security": [
  10580. {
  10581. "ApiKeyAuth": []
  10582. }
  10583. ],
  10584. "description": "说明: 不包括已完成的数量。",
  10585. "produces": [
  10586. "application/json"
  10587. ],
  10588. "tags": [
  10589. "定制【海商报业】"
  10590. ],
  10591. "summary": "获取我的订单与包裹数量",
  10592. "parameters": [
  10593. {
  10594. "type": "string",
  10595. "description": "资金账户列表,格式:1,2,3",
  10596. "name": "accountIDs",
  10597. "in": "query",
  10598. "required": true
  10599. }
  10600. ],
  10601. "responses": {
  10602. "200": {
  10603. "description": "OK",
  10604. "schema": {
  10605. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  10606. }
  10607. },
  10608. "500": {
  10609. "description": "Internal Server Error",
  10610. "schema": {
  10611. "$ref": "#/definitions/app.Response"
  10612. }
  10613. }
  10614. }
  10615. }
  10616. },
  10617. "/HSBY/QueryClientFixedADConfigs": {
  10618. "get": {
  10619. "security": [
  10620. {
  10621. "ApiKeyAuth": []
  10622. }
  10623. ],
  10624. "produces": [
  10625. "application/json"
  10626. ],
  10627. "tags": [
  10628. "定制【海商报业】"
  10629. ],
  10630. "summary": "获取终端固定广告配置",
  10631. "responses": {
  10632. "200": {
  10633. "description": "OK",
  10634. "schema": {
  10635. "$ref": "#/definitions/models.Clientfixedadconfig"
  10636. }
  10637. },
  10638. "500": {
  10639. "description": "Internal Server Error",
  10640. "schema": {
  10641. "$ref": "#/definitions/app.Response"
  10642. }
  10643. }
  10644. }
  10645. }
  10646. },
  10647. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  10648. "get": {
  10649. "security": [
  10650. {
  10651. "ApiKeyAuth": []
  10652. }
  10653. ],
  10654. "produces": [
  10655. "application/json"
  10656. ],
  10657. "tags": [
  10658. "定制【海商报业】"
  10659. ],
  10660. "summary": "查询\"我的订单 - 已完成\"单据信息",
  10661. "parameters": [
  10662. {
  10663. "type": "integer",
  10664. "description": "页码",
  10665. "name": "page",
  10666. "in": "query"
  10667. },
  10668. {
  10669. "type": "integer",
  10670. "description": "每页条数",
  10671. "name": "pagesize",
  10672. "in": "query"
  10673. },
  10674. {
  10675. "type": "string",
  10676. "description": "资金账户列表,格式:1,2,3",
  10677. "name": "accountIDs",
  10678. "in": "query",
  10679. "required": true
  10680. }
  10681. ],
  10682. "responses": {
  10683. "200": {
  10684. "description": "OK",
  10685. "schema": {
  10686. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  10687. }
  10688. },
  10689. "500": {
  10690. "description": "Internal Server Error",
  10691. "schema": {
  10692. "$ref": "#/definitions/app.Response"
  10693. }
  10694. }
  10695. }
  10696. }
  10697. },
  10698. "/HSBY/QueryHsbyGoodsOrderDetails": {
  10699. "get": {
  10700. "security": [
  10701. {
  10702. "ApiKeyAuth": []
  10703. }
  10704. ],
  10705. "description": "说明:查询结果已按委托价格和委托时间排序",
  10706. "produces": [
  10707. "application/json"
  10708. ],
  10709. "tags": [
  10710. "定制【海商报业】"
  10711. ],
  10712. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  10713. "parameters": [
  10714. {
  10715. "type": "integer",
  10716. "description": "商品ID",
  10717. "name": "goodsID",
  10718. "in": "query",
  10719. "required": true
  10720. },
  10721. {
  10722. "type": "string",
  10723. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  10724. "name": "accountIDs",
  10725. "in": "query"
  10726. },
  10727. {
  10728. "type": "integer",
  10729. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  10730. "name": "buyOrSell",
  10731. "in": "query"
  10732. },
  10733. {
  10734. "type": "number",
  10735. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  10736. "name": "price",
  10737. "in": "query"
  10738. },
  10739. {
  10740. "type": "integer",
  10741. "description": "档位,不传则默认为3档",
  10742. "name": "speed",
  10743. "in": "query"
  10744. }
  10745. ],
  10746. "responses": {
  10747. "200": {
  10748. "description": "OK",
  10749. "schema": {
  10750. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  10751. }
  10752. },
  10753. "500": {
  10754. "description": "Internal Server Error",
  10755. "schema": {
  10756. "$ref": "#/definitions/app.Response"
  10757. }
  10758. }
  10759. }
  10760. }
  10761. },
  10762. "/HSBY/QueryHsbyListingGoodsDetail": {
  10763. "get": {
  10764. "security": [
  10765. {
  10766. "ApiKeyAuth": []
  10767. }
  10768. ],
  10769. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  10770. "produces": [
  10771. "application/json"
  10772. ],
  10773. "tags": [
  10774. "定制【海商报业】"
  10775. ],
  10776. "summary": "查询二级市场(挂牌点选)商品信息详情",
  10777. "parameters": [
  10778. {
  10779. "type": "integer",
  10780. "description": "商品ID",
  10781. "name": "goodsID",
  10782. "in": "query",
  10783. "required": true
  10784. },
  10785. {
  10786. "type": "integer",
  10787. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  10788. "name": "accountID",
  10789. "in": "query"
  10790. }
  10791. ],
  10792. "responses": {
  10793. "200": {
  10794. "description": "OK",
  10795. "schema": {
  10796. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  10797. }
  10798. },
  10799. "500": {
  10800. "description": "Internal Server Error",
  10801. "schema": {
  10802. "$ref": "#/definitions/app.Response"
  10803. }
  10804. }
  10805. }
  10806. }
  10807. },
  10808. "/HSBY/QueryHsbyMarketGoodsDetail": {
  10809. "get": {
  10810. "security": [
  10811. {
  10812. "ApiKeyAuth": []
  10813. }
  10814. ],
  10815. "produces": [
  10816. "application/json"
  10817. ],
  10818. "tags": [
  10819. "定制【海商报业】"
  10820. ],
  10821. "summary": "查询三级市场(商城)商品信息详情",
  10822. "parameters": [
  10823. {
  10824. "type": "integer",
  10825. "description": "委托单号",
  10826. "name": "orderID",
  10827. "in": "query",
  10828. "required": true
  10829. },
  10830. {
  10831. "type": "integer",
  10832. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  10833. "name": "accountID",
  10834. "in": "query"
  10835. }
  10836. ],
  10837. "responses": {
  10838. "200": {
  10839. "description": "OK",
  10840. "schema": {
  10841. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  10842. }
  10843. },
  10844. "500": {
  10845. "description": "Internal Server Error",
  10846. "schema": {
  10847. "$ref": "#/definitions/app.Response"
  10848. }
  10849. }
  10850. }
  10851. }
  10852. },
  10853. "/HSBY/QueryHsbyMarketGoodses": {
  10854. "get": {
  10855. "security": [
  10856. {
  10857. "ApiKeyAuth": []
  10858. }
  10859. ],
  10860. "produces": [
  10861. "application/json"
  10862. ],
  10863. "tags": [
  10864. "定制【海商报业】"
  10865. ],
  10866. "summary": "查询特卖商品列表(三级商城)",
  10867. "parameters": [
  10868. {
  10869. "type": "integer",
  10870. "description": "页码",
  10871. "name": "page",
  10872. "in": "query"
  10873. },
  10874. {
  10875. "type": "integer",
  10876. "description": "每页条数",
  10877. "name": "pagesize",
  10878. "in": "query"
  10879. },
  10880. {
  10881. "type": "string",
  10882. "description": "市场ID列表,格式:1,2,3",
  10883. "name": "marketIDs",
  10884. "in": "query",
  10885. "required": true
  10886. },
  10887. {
  10888. "type": "integer",
  10889. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  10890. "name": "accountID",
  10891. "in": "query",
  10892. "required": true
  10893. },
  10894. {
  10895. "type": "integer",
  10896. "description": "类别ID",
  10897. "name": "categoryID",
  10898. "in": "query"
  10899. },
  10900. {
  10901. "type": "string",
  10902. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  10903. "name": "goodsIDs",
  10904. "in": "query"
  10905. },
  10906. {
  10907. "type": "integer",
  10908. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  10909. "name": "couponTypeID",
  10910. "in": "query"
  10911. }
  10912. ],
  10913. "responses": {
  10914. "200": {
  10915. "description": "OK",
  10916. "schema": {
  10917. "$ref": "#/definitions/models.HsbyMarketGoods"
  10918. }
  10919. },
  10920. "500": {
  10921. "description": "Internal Server Error",
  10922. "schema": {
  10923. "$ref": "#/definitions/app.Response"
  10924. }
  10925. }
  10926. }
  10927. }
  10928. },
  10929. "/HSBY/QueryHsbyMarkets": {
  10930. "get": {
  10931. "security": [
  10932. {
  10933. "ApiKeyAuth": []
  10934. }
  10935. ],
  10936. "produces": [
  10937. "application/json"
  10938. ],
  10939. "tags": [
  10940. "定制【海商报业】"
  10941. ],
  10942. "summary": "查询海商报业相关市场信息",
  10943. "responses": {
  10944. "200": {
  10945. "description": "OK",
  10946. "schema": {
  10947. "$ref": "#/definitions/models.HsbyMarketInfo"
  10948. }
  10949. },
  10950. "500": {
  10951. "description": "Internal Server Error",
  10952. "schema": {
  10953. "$ref": "#/definitions/app.Response"
  10954. }
  10955. }
  10956. }
  10957. }
  10958. },
  10959. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  10960. "get": {
  10961. "security": [
  10962. {
  10963. "ApiKeyAuth": []
  10964. }
  10965. ],
  10966. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  10967. "produces": [
  10968. "application/json"
  10969. ],
  10970. "tags": [
  10971. "定制【海商报业】"
  10972. ],
  10973. "summary": "查询“我的订单”信息",
  10974. "parameters": [
  10975. {
  10976. "type": "string",
  10977. "description": "资金账户列表,格式:1,2,3",
  10978. "name": "accountIDs",
  10979. "in": "query",
  10980. "required": true
  10981. }
  10982. ],
  10983. "responses": {
  10984. "200": {
  10985. "description": "OK",
  10986. "schema": {
  10987. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  10988. }
  10989. },
  10990. "500": {
  10991. "description": "Internal Server Error",
  10992. "schema": {
  10993. "$ref": "#/definitions/app.Response"
  10994. }
  10995. }
  10996. }
  10997. }
  10998. },
  10999. "/HSBY/QueryHsbyMyGoods": {
  11000. "get": {
  11001. "security": [
  11002. {
  11003. "ApiKeyAuth": []
  11004. }
  11005. ],
  11006. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  11007. "produces": [
  11008. "application/json"
  11009. ],
  11010. "tags": [
  11011. "定制【海商报业】"
  11012. ],
  11013. "summary": "查询“我的商品”信息",
  11014. "parameters": [
  11015. {
  11016. "type": "string",
  11017. "description": "资金账户列表,格式:1,2,3",
  11018. "name": "accountIDs",
  11019. "in": "query",
  11020. "required": true
  11021. }
  11022. ],
  11023. "responses": {
  11024. "200": {
  11025. "description": "OK",
  11026. "schema": {
  11027. "$ref": "#/definitions/models.HsbyMyGoods"
  11028. }
  11029. },
  11030. "500": {
  11031. "description": "Internal Server Error",
  11032. "schema": {
  11033. "$ref": "#/definitions/app.Response"
  11034. }
  11035. }
  11036. }
  11037. }
  11038. },
  11039. "/HSBY/QueryHsbyMyPackages": {
  11040. "get": {
  11041. "security": [
  11042. {
  11043. "ApiKeyAuth": []
  11044. }
  11045. ],
  11046. "produces": [
  11047. "application/json"
  11048. ],
  11049. "tags": [
  11050. "定制【海商报业】"
  11051. ],
  11052. "summary": "查询我的包裹信息",
  11053. "parameters": [
  11054. {
  11055. "type": "string",
  11056. "description": "资金账户列表,格式:1,2,3",
  11057. "name": "accountIDs",
  11058. "in": "query",
  11059. "required": true
  11060. },
  11061. {
  11062. "type": "integer",
  11063. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11064. "name": "takeOrderStatus",
  11065. "in": "query"
  11066. }
  11067. ],
  11068. "responses": {
  11069. "200": {
  11070. "description": "OK",
  11071. "schema": {
  11072. "$ref": "#/definitions/models.HsbyMyPackage"
  11073. }
  11074. },
  11075. "500": {
  11076. "description": "Internal Server Error",
  11077. "schema": {
  11078. "$ref": "#/definitions/app.Response"
  11079. }
  11080. }
  11081. }
  11082. }
  11083. },
  11084. "/HSBY/QueryHsbyPreGoodsDetail": {
  11085. "get": {
  11086. "security": [
  11087. {
  11088. "ApiKeyAuth": []
  11089. }
  11090. ],
  11091. "produces": [
  11092. "application/json"
  11093. ],
  11094. "tags": [
  11095. "定制【海商报业】"
  11096. ],
  11097. "summary": "查询一级市场(预售)商品信息详情",
  11098. "parameters": [
  11099. {
  11100. "type": "integer",
  11101. "description": "商品ID",
  11102. "name": "goodsID",
  11103. "in": "query",
  11104. "required": true
  11105. },
  11106. {
  11107. "type": "integer",
  11108. "description": "资金账户,主要用于获取预售商品购买上限",
  11109. "name": "accountID",
  11110. "in": "query"
  11111. }
  11112. ],
  11113. "responses": {
  11114. "200": {
  11115. "description": "OK",
  11116. "schema": {
  11117. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  11118. }
  11119. },
  11120. "500": {
  11121. "description": "Internal Server Error",
  11122. "schema": {
  11123. "$ref": "#/definitions/app.Response"
  11124. }
  11125. }
  11126. }
  11127. }
  11128. },
  11129. "/HSBY/QueryHsbyPreGoodses": {
  11130. "get": {
  11131. "security": [
  11132. {
  11133. "ApiKeyAuth": []
  11134. }
  11135. ],
  11136. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  11137. "produces": [
  11138. "application/json"
  11139. ],
  11140. "tags": [
  11141. "定制【海商报业】"
  11142. ],
  11143. "summary": "查询新品上市商品列表(一级市场预售)",
  11144. "parameters": [
  11145. {
  11146. "type": "integer",
  11147. "description": "页码",
  11148. "name": "page",
  11149. "in": "query"
  11150. },
  11151. {
  11152. "type": "integer",
  11153. "description": "每页条数",
  11154. "name": "pagesize",
  11155. "in": "query"
  11156. },
  11157. {
  11158. "type": "string",
  11159. "description": "市场ID列表,格式:1,2,3",
  11160. "name": "marketIDs",
  11161. "in": "query",
  11162. "required": true
  11163. },
  11164. {
  11165. "type": "integer",
  11166. "description": "目的地(省)ID",
  11167. "name": "descProvinceID",
  11168. "in": "query"
  11169. },
  11170. {
  11171. "type": "integer",
  11172. "description": "目的地(市)ID",
  11173. "name": "descCityID",
  11174. "in": "query"
  11175. }
  11176. ],
  11177. "responses": {
  11178. "200": {
  11179. "description": "OK",
  11180. "schema": {
  11181. "$ref": "#/definitions/models.HsbyPreGoods"
  11182. }
  11183. },
  11184. "500": {
  11185. "description": "Internal Server Error",
  11186. "schema": {
  11187. "$ref": "#/definitions/app.Response"
  11188. }
  11189. }
  11190. }
  11191. }
  11192. },
  11193. "/HSBY/QueryHsbySellMyDetails": {
  11194. "get": {
  11195. "security": [
  11196. {
  11197. "ApiKeyAuth": []
  11198. }
  11199. ],
  11200. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  11201. "produces": [
  11202. "application/json"
  11203. ],
  11204. "tags": [
  11205. "定制【海商报业】"
  11206. ],
  11207. "summary": "查询\"我的闲置\"单据信息",
  11208. "parameters": [
  11209. {
  11210. "type": "integer",
  11211. "description": "页码",
  11212. "name": "page",
  11213. "in": "query"
  11214. },
  11215. {
  11216. "type": "integer",
  11217. "description": "每页条数",
  11218. "name": "pagesize",
  11219. "in": "query"
  11220. },
  11221. {
  11222. "type": "string",
  11223. "description": "资金账户列表,格式:1,2,3",
  11224. "name": "accountIDs",
  11225. "in": "query",
  11226. "required": true
  11227. },
  11228. {
  11229. "type": "integer",
  11230. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  11231. "name": "orderType",
  11232. "in": "query"
  11233. }
  11234. ],
  11235. "responses": {
  11236. "200": {
  11237. "description": "OK",
  11238. "schema": {
  11239. "$ref": "#/definitions/models.HsbySellMyDetail"
  11240. }
  11241. },
  11242. "500": {
  11243. "description": "Internal Server Error",
  11244. "schema": {
  11245. "$ref": "#/definitions/app.Response"
  11246. }
  11247. }
  11248. }
  11249. }
  11250. },
  11251. "/HSBY/QueryHsbyTopGoodses": {
  11252. "get": {
  11253. "security": [
  11254. {
  11255. "ApiKeyAuth": []
  11256. }
  11257. ],
  11258. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  11259. "produces": [
  11260. "application/json"
  11261. ],
  11262. "tags": [
  11263. "定制【海商报业】"
  11264. ],
  11265. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  11266. "parameters": [
  11267. {
  11268. "type": "integer",
  11269. "description": "页码",
  11270. "name": "page",
  11271. "in": "query"
  11272. },
  11273. {
  11274. "type": "integer",
  11275. "description": "每页条数",
  11276. "name": "pagesize",
  11277. "in": "query"
  11278. },
  11279. {
  11280. "type": "string",
  11281. "description": "市场ID列表,格式:1,2,3",
  11282. "name": "marketIDs",
  11283. "in": "query",
  11284. "required": true
  11285. },
  11286. {
  11287. "type": "integer",
  11288. "description": "目的地(省)ID",
  11289. "name": "descProvinceID",
  11290. "in": "query"
  11291. },
  11292. {
  11293. "type": "integer",
  11294. "description": "目的地(市)ID",
  11295. "name": "descCityID",
  11296. "in": "query"
  11297. }
  11298. ],
  11299. "responses": {
  11300. "200": {
  11301. "description": "OK",
  11302. "schema": {
  11303. "$ref": "#/definitions/models.HsbyTopGoods"
  11304. }
  11305. },
  11306. "500": {
  11307. "description": "Internal Server Error",
  11308. "schema": {
  11309. "$ref": "#/definitions/app.Response"
  11310. }
  11311. }
  11312. }
  11313. }
  11314. },
  11315. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  11316. "get": {
  11317. "security": [
  11318. {
  11319. "ApiKeyAuth": []
  11320. }
  11321. ],
  11322. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  11323. "produces": [
  11324. "application/json"
  11325. ],
  11326. "tags": [
  11327. "定制【海商报业】"
  11328. ],
  11329. "summary": "查询游客三级市场(商城)商品信息详情",
  11330. "parameters": [
  11331. {
  11332. "type": "integer",
  11333. "description": "商品ID",
  11334. "name": "goodsID",
  11335. "in": "query",
  11336. "required": true
  11337. }
  11338. ],
  11339. "responses": {
  11340. "200": {
  11341. "description": "OK",
  11342. "schema": {
  11343. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  11344. }
  11345. },
  11346. "500": {
  11347. "description": "Internal Server Error",
  11348. "schema": {
  11349. "$ref": "#/definitions/app.Response"
  11350. }
  11351. }
  11352. }
  11353. }
  11354. },
  11355. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  11356. "get": {
  11357. "security": [
  11358. {
  11359. "ApiKeyAuth": []
  11360. }
  11361. ],
  11362. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  11363. "produces": [
  11364. "application/json"
  11365. ],
  11366. "tags": [
  11367. "定制【海商报业】"
  11368. ],
  11369. "summary": "查询游客特卖商品列表(三级商城)",
  11370. "parameters": [
  11371. {
  11372. "type": "integer",
  11373. "description": "页码",
  11374. "name": "page",
  11375. "in": "query"
  11376. },
  11377. {
  11378. "type": "integer",
  11379. "description": "每页条数",
  11380. "name": "pagesize",
  11381. "in": "query"
  11382. },
  11383. {
  11384. "type": "string",
  11385. "description": "市场ID列表,格式:1,2,3",
  11386. "name": "marketIDs",
  11387. "in": "query",
  11388. "required": true
  11389. },
  11390. {
  11391. "type": "integer",
  11392. "description": "类别ID",
  11393. "name": "categoryID",
  11394. "in": "query"
  11395. },
  11396. {
  11397. "type": "string",
  11398. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  11399. "name": "goodsIDs",
  11400. "in": "query"
  11401. }
  11402. ],
  11403. "responses": {
  11404. "200": {
  11405. "description": "OK",
  11406. "schema": {
  11407. "$ref": "#/definitions/models.HsbyMarketGoods"
  11408. }
  11409. },
  11410. "500": {
  11411. "description": "Internal Server Error",
  11412. "schema": {
  11413. "$ref": "#/definitions/app.Response"
  11414. }
  11415. }
  11416. }
  11417. }
  11418. },
  11419. "/HSBY/QueryMyCollectionOrders": {
  11420. "get": {
  11421. "security": [
  11422. {
  11423. "ApiKeyAuth": []
  11424. }
  11425. ],
  11426. "produces": [
  11427. "application/json"
  11428. ],
  11429. "tags": [
  11430. "定制【海商报业】"
  11431. ],
  11432. "summary": "我的闲置中收款信息查询",
  11433. "parameters": [
  11434. {
  11435. "type": "integer",
  11436. "description": "页码",
  11437. "name": "page",
  11438. "in": "query"
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "每页条数",
  11443. "name": "pagesize",
  11444. "in": "query"
  11445. },
  11446. {
  11447. "type": "string",
  11448. "description": "资金账户,格式:1,2,3",
  11449. "name": "accountIDs",
  11450. "in": "query",
  11451. "required": true
  11452. }
  11453. ],
  11454. "responses": {
  11455. "200": {
  11456. "description": "OK",
  11457. "schema": {
  11458. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  11459. }
  11460. },
  11461. "500": {
  11462. "description": "Internal Server Error",
  11463. "schema": {
  11464. "$ref": "#/definitions/app.Response"
  11465. }
  11466. }
  11467. }
  11468. }
  11469. },
  11470. "/HSBY/QueryMyCouponHolds": {
  11471. "get": {
  11472. "security": [
  11473. {
  11474. "ApiKeyAuth": []
  11475. }
  11476. ],
  11477. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  11478. "produces": [
  11479. "application/json"
  11480. ],
  11481. "tags": [
  11482. "定制【海商报业】"
  11483. ],
  11484. "summary": "我的优惠卷持仓查询",
  11485. "parameters": [
  11486. {
  11487. "type": "string",
  11488. "description": "资金账户列表,格式:1,2,3",
  11489. "name": "accountIDs",
  11490. "in": "query",
  11491. "required": true
  11492. },
  11493. {
  11494. "type": "string",
  11495. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  11496. "name": "holdStatus",
  11497. "in": "query"
  11498. }
  11499. ],
  11500. "responses": {
  11501. "200": {
  11502. "description": "OK",
  11503. "schema": {
  11504. "$ref": "#/definitions/models.MyCouponHold"
  11505. }
  11506. },
  11507. "500": {
  11508. "description": "Internal Server Error",
  11509. "schema": {
  11510. "$ref": "#/definitions/app.Response"
  11511. }
  11512. }
  11513. }
  11514. }
  11515. },
  11516. "/HSBY/QueryMyCoupons": {
  11517. "get": {
  11518. "security": [
  11519. {
  11520. "ApiKeyAuth": []
  11521. }
  11522. ],
  11523. "produces": [
  11524. "application/json"
  11525. ],
  11526. "tags": [
  11527. "定制【海商报业】"
  11528. ],
  11529. "summary": "我的优惠卷查询",
  11530. "parameters": [
  11531. {
  11532. "type": "string",
  11533. "description": "资金账户列表,格式:1,2,3",
  11534. "name": "accountIDs",
  11535. "in": "query",
  11536. "required": true
  11537. },
  11538. {
  11539. "type": "integer",
  11540. "description": "商品ID, 一般与sellUserID配套传入",
  11541. "name": "goodsID",
  11542. "in": "query"
  11543. },
  11544. {
  11545. "type": "integer",
  11546. "description": "卖方UserID",
  11547. "name": "sellUserID",
  11548. "in": "query"
  11549. }
  11550. ],
  11551. "responses": {
  11552. "200": {
  11553. "description": "OK",
  11554. "schema": {
  11555. "$ref": "#/definitions/models.MyCoupon"
  11556. }
  11557. },
  11558. "500": {
  11559. "description": "Internal Server Error",
  11560. "schema": {
  11561. "$ref": "#/definitions/app.Response"
  11562. }
  11563. }
  11564. }
  11565. }
  11566. },
  11567. "/HSBY/QueryMyPayOrders": {
  11568. "get": {
  11569. "security": [
  11570. {
  11571. "ApiKeyAuth": []
  11572. }
  11573. ],
  11574. "produces": [
  11575. "application/json"
  11576. ],
  11577. "tags": [
  11578. "定制【海商报业】"
  11579. ],
  11580. "summary": "获取我的订单中待付款信息",
  11581. "parameters": [
  11582. {
  11583. "type": "integer",
  11584. "description": "页码",
  11585. "name": "page",
  11586. "in": "query"
  11587. },
  11588. {
  11589. "type": "integer",
  11590. "description": "每页条数",
  11591. "name": "pagesize",
  11592. "in": "query"
  11593. },
  11594. {
  11595. "type": "string",
  11596. "description": "资金账户列表,格式:1,2,3",
  11597. "name": "accountIDs",
  11598. "in": "query",
  11599. "required": true
  11600. },
  11601. {
  11602. "type": "integer",
  11603. "description": "买方委托单号",
  11604. "name": "buyOrderID",
  11605. "in": "query"
  11606. },
  11607. {
  11608. "type": "integer",
  11609. "description": "卖方委托单号",
  11610. "name": "sellOrderID",
  11611. "in": "query"
  11612. }
  11613. ],
  11614. "responses": {
  11615. "200": {
  11616. "description": "OK",
  11617. "schema": {
  11618. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  11619. }
  11620. },
  11621. "500": {
  11622. "description": "Internal Server Error",
  11623. "schema": {
  11624. "$ref": "#/definitions/app.Response"
  11625. }
  11626. }
  11627. }
  11628. }
  11629. },
  11630. "/HSBY/QueryMyUsedCoupon": {
  11631. "get": {
  11632. "security": [
  11633. {
  11634. "ApiKeyAuth": []
  11635. }
  11636. ],
  11637. "produces": [
  11638. "application/json"
  11639. ],
  11640. "tags": [
  11641. "定制【海商报业】"
  11642. ],
  11643. "summary": "已使用优惠卷查询",
  11644. "parameters": [
  11645. {
  11646. "type": "string",
  11647. "description": "资金账户列表,格式:1,2,3",
  11648. "name": "accountIDs",
  11649. "in": "query",
  11650. "required": true
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "$ref": "#/definitions/models.MyUsedCoupon"
  11658. }
  11659. },
  11660. "500": {
  11661. "description": "Internal Server Error",
  11662. "schema": {
  11663. "$ref": "#/definitions/app.Response"
  11664. }
  11665. }
  11666. }
  11667. }
  11668. },
  11669. "/HSBY/QueryProvincesAndCities": {
  11670. "get": {
  11671. "security": [
  11672. {
  11673. "ApiKeyAuth": []
  11674. }
  11675. ],
  11676. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  11677. "produces": [
  11678. "application/json"
  11679. ],
  11680. "tags": [
  11681. "定制【海商报业】"
  11682. ],
  11683. "summary": "查询省市信息(不包括区)",
  11684. "parameters": [
  11685. {
  11686. "type": "integer",
  11687. "description": "省ID",
  11688. "name": "provinceID",
  11689. "in": "query"
  11690. }
  11691. ],
  11692. "responses": {
  11693. "200": {
  11694. "description": "OK",
  11695. "schema": {
  11696. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  11697. }
  11698. },
  11699. "500": {
  11700. "description": "Internal Server Error",
  11701. "schema": {
  11702. "$ref": "#/definitions/app.Response"
  11703. }
  11704. }
  11705. }
  11706. }
  11707. },
  11708. "/HSBY/SetHsbyMyPackagesStatus": {
  11709. "post": {
  11710. "security": [
  11711. {
  11712. "ApiKeyAuth": []
  11713. }
  11714. ],
  11715. "produces": [
  11716. "application/json"
  11717. ],
  11718. "tags": [
  11719. "定制【海商报业】"
  11720. ],
  11721. "summary": "设置我的包裹已收货状态",
  11722. "parameters": [
  11723. {
  11724. "type": "string",
  11725. "description": "提货单号",
  11726. "name": "takeOrderID",
  11727. "in": "query",
  11728. "required": true
  11729. },
  11730. {
  11731. "type": "integer",
  11732. "description": "资金账号",
  11733. "name": "accountID",
  11734. "in": "query",
  11735. "required": true
  11736. }
  11737. ],
  11738. "responses": {
  11739. "200": {
  11740. "description": "OK",
  11741. "schema": {
  11742. "$ref": "#/definitions/app.Response"
  11743. }
  11744. },
  11745. "500": {
  11746. "description": "Internal Server Error",
  11747. "schema": {
  11748. "$ref": "#/definitions/app.Response"
  11749. }
  11750. }
  11751. }
  11752. }
  11753. },
  11754. "/Market/GetAllExExchanges": {
  11755. "get": {
  11756. "security": [
  11757. {
  11758. "ApiKeyAuth": []
  11759. }
  11760. ],
  11761. "produces": [
  11762. "application/json"
  11763. ],
  11764. "tags": [
  11765. "通用市场"
  11766. ],
  11767. "summary": "获取所有外部交易所信息",
  11768. "responses": {
  11769. "200": {
  11770. "description": "OK",
  11771. "schema": {
  11772. "$ref": "#/definitions/models.Goods"
  11773. }
  11774. },
  11775. "500": {
  11776. "description": "Internal Server Error",
  11777. "schema": {
  11778. "$ref": "#/definitions/app.Response"
  11779. }
  11780. }
  11781. }
  11782. }
  11783. },
  11784. "/Market/QueryGoodsesByLoginID": {
  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": "登录账号",
  11802. "name": "loginID",
  11803. "in": "query",
  11804. "required": true
  11805. },
  11806. {
  11807. "type": "string",
  11808. "description": "市场ID列表,格式:1,2,3",
  11809. "name": "marketIDs",
  11810. "in": "query"
  11811. }
  11812. ],
  11813. "responses": {
  11814. "200": {
  11815. "description": "OK",
  11816. "schema": {
  11817. "$ref": "#/definitions/models.Goods"
  11818. }
  11819. },
  11820. "500": {
  11821. "description": "Internal Server Error",
  11822. "schema": {
  11823. "$ref": "#/definitions/app.Response"
  11824. }
  11825. }
  11826. }
  11827. }
  11828. },
  11829. "/Market/QueryMarketRun": {
  11830. "get": {
  11831. "security": [
  11832. {
  11833. "ApiKeyAuth": []
  11834. }
  11835. ],
  11836. "produces": [
  11837. "application/json"
  11838. ],
  11839. "tags": [
  11840. "通用市场"
  11841. ],
  11842. "summary": "查询市场运行信息",
  11843. "parameters": [
  11844. {
  11845. "type": "integer",
  11846. "description": "市场ID,不传返回所有",
  11847. "name": "marketID",
  11848. "in": "query"
  11849. }
  11850. ],
  11851. "responses": {
  11852. "200": {
  11853. "description": "OK",
  11854. "schema": {
  11855. "$ref": "#/definitions/models.Marketrun"
  11856. }
  11857. },
  11858. "500": {
  11859. "description": "Internal Server Error",
  11860. "schema": {
  11861. "$ref": "#/definitions/app.Response"
  11862. }
  11863. }
  11864. }
  11865. }
  11866. },
  11867. "/Market/QueryMarketsByLoginID": {
  11868. "get": {
  11869. "security": [
  11870. {
  11871. "ApiKeyAuth": []
  11872. }
  11873. ],
  11874. "produces": [
  11875. "application/json"
  11876. ],
  11877. "tags": [
  11878. "通用市场"
  11879. ],
  11880. "summary": "获取登录账号有权限的市场信息",
  11881. "parameters": [
  11882. {
  11883. "type": "integer",
  11884. "description": "登录账号",
  11885. "name": "loginID",
  11886. "in": "query",
  11887. "required": true
  11888. }
  11889. ],
  11890. "responses": {
  11891. "200": {
  11892. "description": "OK",
  11893. "schema": {
  11894. "$ref": "#/definitions/models.Market"
  11895. }
  11896. },
  11897. "500": {
  11898. "description": "Internal Server Error",
  11899. "schema": {
  11900. "$ref": "#/definitions/app.Response"
  11901. }
  11902. }
  11903. }
  11904. }
  11905. },
  11906. "/Order/QueryHisTradeDetail": {
  11907. "get": {
  11908. "security": [
  11909. {
  11910. "ApiKeyAuth": []
  11911. }
  11912. ],
  11913. "produces": [
  11914. "application/json"
  11915. ],
  11916. "tags": [
  11917. "通用单据"
  11918. ],
  11919. "summary": "历史成交单查询(合约市场)",
  11920. "parameters": [
  11921. {
  11922. "type": "string",
  11923. "description": "资金账户 - 格式:1,2,3",
  11924. "name": "accountID",
  11925. "in": "query",
  11926. "required": true
  11927. },
  11928. {
  11929. "type": "integer",
  11930. "description": "成交单号",
  11931. "name": "tradeID",
  11932. "in": "query"
  11933. },
  11934. {
  11935. "type": "integer",
  11936. "description": "委托单号",
  11937. "name": "orderID",
  11938. "in": "query"
  11939. },
  11940. {
  11941. "type": "integer",
  11942. "description": "商品ID",
  11943. "name": "goodsID",
  11944. "in": "query"
  11945. },
  11946. {
  11947. "type": "string",
  11948. "description": "交易模式 - 格式:1,2,3",
  11949. "name": "tradeMode",
  11950. "in": "query"
  11951. },
  11952. {
  11953. "type": "integer",
  11954. "description": "委托单据类型",
  11955. "name": "buildType",
  11956. "in": "query"
  11957. },
  11958. {
  11959. "type": "string",
  11960. "description": "成交类别 - 格式:1,2,3",
  11961. "name": "tradeType",
  11962. "in": "query"
  11963. },
  11964. {
  11965. "type": "string",
  11966. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11967. "name": "startDate",
  11968. "in": "query"
  11969. },
  11970. {
  11971. "type": "string",
  11972. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11973. "name": "endDate",
  11974. "in": "query"
  11975. }
  11976. ],
  11977. "responses": {
  11978. "200": {
  11979. "description": "OK",
  11980. "schema": {
  11981. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  11982. }
  11983. },
  11984. "500": {
  11985. "description": "Internal Server Error",
  11986. "schema": {
  11987. "$ref": "#/definitions/app.Response"
  11988. }
  11989. }
  11990. }
  11991. }
  11992. },
  11993. "/Order/QueryHisTradeOrderDetail": {
  11994. "get": {
  11995. "security": [
  11996. {
  11997. "ApiKeyAuth": []
  11998. }
  11999. ],
  12000. "produces": [
  12001. "application/json"
  12002. ],
  12003. "tags": [
  12004. "通用单据"
  12005. ],
  12006. "summary": "历史委托单查询请求(合约市场)",
  12007. "parameters": [
  12008. {
  12009. "type": "string",
  12010. "description": "资金账户 - 格式:1,2,3",
  12011. "name": "accountID",
  12012. "in": "query",
  12013. "required": true
  12014. },
  12015. {
  12016. "type": "string",
  12017. "description": "交易模式 - 格式:1,2,3",
  12018. "name": "tradeMode",
  12019. "in": "query"
  12020. },
  12021. {
  12022. "type": "string",
  12023. "description": "委托状态 - 格式:1,2,3",
  12024. "name": "orderStatus",
  12025. "in": "query"
  12026. },
  12027. {
  12028. "type": "integer",
  12029. "description": "委托单号",
  12030. "name": "orderID",
  12031. "in": "query"
  12032. },
  12033. {
  12034. "type": "string",
  12035. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12036. "name": "startDate",
  12037. "in": "query"
  12038. },
  12039. {
  12040. "type": "string",
  12041. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12042. "name": "endDate",
  12043. "in": "query"
  12044. }
  12045. ],
  12046. "responses": {
  12047. "200": {
  12048. "description": "OK",
  12049. "schema": {
  12050. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  12051. }
  12052. },
  12053. "500": {
  12054. "description": "Internal Server Error",
  12055. "schema": {
  12056. "$ref": "#/definitions/app.Response"
  12057. }
  12058. }
  12059. }
  12060. }
  12061. },
  12062. "/Order/QueryTradeDetail": {
  12063. "get": {
  12064. "security": [
  12065. {
  12066. "ApiKeyAuth": []
  12067. }
  12068. ],
  12069. "produces": [
  12070. "application/json"
  12071. ],
  12072. "tags": [
  12073. "通用单据"
  12074. ],
  12075. "summary": "成交单查询(合约市场)",
  12076. "parameters": [
  12077. {
  12078. "type": "string",
  12079. "description": "资金账户 - 格式:1,2,3",
  12080. "name": "accountID",
  12081. "in": "query",
  12082. "required": true
  12083. },
  12084. {
  12085. "type": "integer",
  12086. "description": "成交单号",
  12087. "name": "tradeID",
  12088. "in": "query"
  12089. },
  12090. {
  12091. "type": "integer",
  12092. "description": "委托单号",
  12093. "name": "orderID",
  12094. "in": "query"
  12095. },
  12096. {
  12097. "type": "string",
  12098. "description": "交易模式 - 格式:1,2,3",
  12099. "name": "tradeMode",
  12100. "in": "query"
  12101. },
  12102. {
  12103. "type": "integer",
  12104. "description": "委托单据类型",
  12105. "name": "buildType",
  12106. "in": "query"
  12107. },
  12108. {
  12109. "type": "string",
  12110. "description": "成交类别 - 格式:1,2,3",
  12111. "name": "tradeType",
  12112. "in": "query"
  12113. },
  12114. {
  12115. "type": "integer",
  12116. "description": "商品ID",
  12117. "name": "goodsID",
  12118. "in": "query"
  12119. }
  12120. ],
  12121. "responses": {
  12122. "200": {
  12123. "description": "OK",
  12124. "schema": {
  12125. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  12126. }
  12127. },
  12128. "500": {
  12129. "description": "Internal Server Error",
  12130. "schema": {
  12131. "$ref": "#/definitions/app.Response"
  12132. }
  12133. }
  12134. }
  12135. }
  12136. },
  12137. "/Order/QueryTradeHolderDetail": {
  12138. "get": {
  12139. "security": [
  12140. {
  12141. "ApiKeyAuth": []
  12142. }
  12143. ],
  12144. "produces": [
  12145. "application/json"
  12146. ],
  12147. "tags": [
  12148. "通用单据"
  12149. ],
  12150. "summary": "查询持仓明细",
  12151. "parameters": [
  12152. {
  12153. "type": "integer",
  12154. "description": "用户id",
  12155. "name": "userid",
  12156. "in": "query"
  12157. },
  12158. {
  12159. "type": "string",
  12160. "description": "资金账号, 格式 1,2,3",
  12161. "name": "accids",
  12162. "in": "query"
  12163. },
  12164. {
  12165. "type": "string",
  12166. "description": "交易模式, 格式 1,2,3",
  12167. "name": "trademodes",
  12168. "in": "query"
  12169. },
  12170. {
  12171. "type": "string",
  12172. "description": "市场id, 格式 1,2,3",
  12173. "name": "marketids",
  12174. "in": "query"
  12175. },
  12176. {
  12177. "type": "integer",
  12178. "description": "商品id",
  12179. "name": "goodsid",
  12180. "in": "query"
  12181. },
  12182. {
  12183. "type": "integer",
  12184. "description": "买卖方向 0-买 1-卖",
  12185. "name": "buyorsell",
  12186. "in": "query"
  12187. }
  12188. ],
  12189. "responses": {
  12190. "200": {
  12191. "description": "OK",
  12192. "schema": {
  12193. "type": "array",
  12194. "items": {
  12195. "$ref": "#/definitions/models.TradeHolderDetail"
  12196. }
  12197. }
  12198. },
  12199. "500": {
  12200. "description": "Internal Server Error",
  12201. "schema": {
  12202. "$ref": "#/definitions/app.Response"
  12203. }
  12204. }
  12205. }
  12206. }
  12207. },
  12208. "/Order/QueryTradeOrderDetail": {
  12209. "get": {
  12210. "security": [
  12211. {
  12212. "ApiKeyAuth": []
  12213. }
  12214. ],
  12215. "produces": [
  12216. "application/json"
  12217. ],
  12218. "tags": [
  12219. "通用单据"
  12220. ],
  12221. "summary": "委托单查询请求(合约市场)",
  12222. "parameters": [
  12223. {
  12224. "type": "string",
  12225. "description": "资金账户 - 格式:1,2,3",
  12226. "name": "accountID",
  12227. "in": "query",
  12228. "required": true
  12229. },
  12230. {
  12231. "type": "string",
  12232. "description": "交易模式 - 格式:1,2,3",
  12233. "name": "tradeMode",
  12234. "in": "query"
  12235. },
  12236. {
  12237. "type": "string",
  12238. "description": "委托状态 - 格式:1,2,3",
  12239. "name": "orderStatus",
  12240. "in": "query"
  12241. },
  12242. {
  12243. "type": "integer",
  12244. "description": "委托单号",
  12245. "name": "orderID",
  12246. "in": "query"
  12247. }
  12248. ],
  12249. "responses": {
  12250. "200": {
  12251. "description": "OK",
  12252. "schema": {
  12253. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  12254. }
  12255. },
  12256. "500": {
  12257. "description": "Internal Server Error",
  12258. "schema": {
  12259. "$ref": "#/definitions/app.Response"
  12260. }
  12261. }
  12262. }
  12263. }
  12264. },
  12265. "/Order/QueryTradePosition": {
  12266. "get": {
  12267. "security": [
  12268. {
  12269. "ApiKeyAuth": []
  12270. }
  12271. ],
  12272. "produces": [
  12273. "application/json"
  12274. ],
  12275. "tags": [
  12276. "通用单据"
  12277. ],
  12278. "summary": "持仓汇总查询(合约市场)",
  12279. "parameters": [
  12280. {
  12281. "type": "string",
  12282. "description": "资金账户 - 格式:1,2,3",
  12283. "name": "accountID",
  12284. "in": "query",
  12285. "required": true
  12286. },
  12287. {
  12288. "type": "string",
  12289. "description": "交易模式 - 格式:1,2,3",
  12290. "name": "tradeMode",
  12291. "in": "query"
  12292. }
  12293. ],
  12294. "responses": {
  12295. "200": {
  12296. "description": "OK",
  12297. "schema": {
  12298. "$ref": "#/definitions/order.QueryTradePositionRsp"
  12299. }
  12300. },
  12301. "500": {
  12302. "description": "Internal Server Error",
  12303. "schema": {
  12304. "$ref": "#/definitions/app.Response"
  12305. }
  12306. }
  12307. }
  12308. }
  12309. },
  12310. "/Qhj/QueryAccountInOutApply": {
  12311. "get": {
  12312. "security": [
  12313. {
  12314. "ApiKeyAuth": []
  12315. }
  12316. ],
  12317. "produces": [
  12318. "application/json"
  12319. ],
  12320. "tags": [
  12321. "大连千海金"
  12322. ],
  12323. "summary": "查询充值提现",
  12324. "parameters": [
  12325. {
  12326. "type": "integer",
  12327. "description": "用户ID",
  12328. "name": "userid",
  12329. "in": "query",
  12330. "required": true
  12331. },
  12332. {
  12333. "type": "string",
  12334. "description": "申请起始日期(格式yyyymmdd)",
  12335. "name": "begindate",
  12336. "in": "query"
  12337. },
  12338. {
  12339. "type": "string",
  12340. "description": "申请截止日期(格式yyyymmdd)",
  12341. "name": "enddate",
  12342. "in": "query"
  12343. },
  12344. {
  12345. "type": "string",
  12346. "description": "模糊搜索名称",
  12347. "name": "likename",
  12348. "in": "query"
  12349. },
  12350. {
  12351. "type": "integer",
  12352. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  12353. "name": "applystatus",
  12354. "in": "query"
  12355. },
  12356. {
  12357. "type": "integer",
  12358. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  12359. "name": "querytype",
  12360. "in": "query"
  12361. }
  12362. ],
  12363. "responses": {
  12364. "200": {
  12365. "description": "OK",
  12366. "schema": {
  12367. "type": "array",
  12368. "items": {
  12369. "$ref": "#/definitions/models.QhjAccountOutInApply"
  12370. }
  12371. }
  12372. },
  12373. "500": {
  12374. "description": "Internal Server Error",
  12375. "schema": {
  12376. "$ref": "#/definitions/app.Response"
  12377. }
  12378. }
  12379. }
  12380. }
  12381. },
  12382. "/Qhj/QueryAreaFinanceConfig": {
  12383. "get": {
  12384. "security": [
  12385. {
  12386. "ApiKeyAuth": []
  12387. }
  12388. ],
  12389. "produces": [
  12390. "application/json"
  12391. ],
  12392. "tags": [
  12393. "大连千海金"
  12394. ],
  12395. "summary": "查询企业配置表",
  12396. "parameters": [
  12397. {
  12398. "type": "integer",
  12399. "description": "机构用户ID 其他做市关系,都设置为 1",
  12400. "name": "userid",
  12401. "in": "query"
  12402. }
  12403. ],
  12404. "responses": {
  12405. "200": {
  12406. "description": "OK",
  12407. "schema": {
  12408. "type": "array",
  12409. "items": {
  12410. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  12411. }
  12412. }
  12413. },
  12414. "500": {
  12415. "description": "Internal Server Error",
  12416. "schema": {
  12417. "$ref": "#/definitions/app.Response"
  12418. }
  12419. }
  12420. }
  12421. }
  12422. },
  12423. "/Qhj/QueryBankAccountSign": {
  12424. "get": {
  12425. "security": [
  12426. {
  12427. "ApiKeyAuth": []
  12428. }
  12429. ],
  12430. "produces": [
  12431. "application/json"
  12432. ],
  12433. "tags": [
  12434. "大连千海金"
  12435. ],
  12436. "summary": "查询签约银行信息(提现账户管理)",
  12437. "parameters": [
  12438. {
  12439. "type": "integer",
  12440. "description": "用户ID",
  12441. "name": "userid",
  12442. "in": "query",
  12443. "required": true
  12444. }
  12445. ],
  12446. "responses": {
  12447. "200": {
  12448. "description": "OK",
  12449. "schema": {
  12450. "type": "array",
  12451. "items": {
  12452. "$ref": "#/definitions/models.QhjBankAccountSign"
  12453. }
  12454. }
  12455. },
  12456. "500": {
  12457. "description": "Internal Server Error",
  12458. "schema": {
  12459. "$ref": "#/definitions/app.Response"
  12460. }
  12461. }
  12462. }
  12463. }
  12464. },
  12465. "/Qhj/QueryBankInfo": {
  12466. "get": {
  12467. "security": [
  12468. {
  12469. "ApiKeyAuth": []
  12470. }
  12471. ],
  12472. "produces": [
  12473. "application/json"
  12474. ],
  12475. "tags": [
  12476. "大连千海金"
  12477. ],
  12478. "summary": "查询开户行",
  12479. "responses": {
  12480. "200": {
  12481. "description": "OK",
  12482. "schema": {
  12483. "type": "array",
  12484. "items": {
  12485. "$ref": "#/definitions/models.QhjBankInfo"
  12486. }
  12487. }
  12488. },
  12489. "500": {
  12490. "description": "Internal Server Error",
  12491. "schema": {
  12492. "$ref": "#/definitions/app.Response"
  12493. }
  12494. }
  12495. }
  12496. }
  12497. },
  12498. "/Qhj/QueryBrokerApply": {
  12499. "get": {
  12500. "security": [
  12501. {
  12502. "ApiKeyAuth": []
  12503. }
  12504. ],
  12505. "produces": [
  12506. "application/json"
  12507. ],
  12508. "tags": [
  12509. "大连千海金"
  12510. ],
  12511. "summary": "查询经纪人申请",
  12512. "parameters": [
  12513. {
  12514. "type": "integer",
  12515. "description": "所属机构ID",
  12516. "name": "userid",
  12517. "in": "query"
  12518. },
  12519. {
  12520. "type": "string",
  12521. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12522. "name": "filterstatus",
  12523. "in": "query"
  12524. }
  12525. ],
  12526. "responses": {
  12527. "200": {
  12528. "description": "OK",
  12529. "schema": {
  12530. "type": "array",
  12531. "items": {
  12532. "$ref": "#/definitions/models.QhjBrokerApply"
  12533. }
  12534. }
  12535. },
  12536. "500": {
  12537. "description": "Internal Server Error",
  12538. "schema": {
  12539. "$ref": "#/definitions/app.Response"
  12540. }
  12541. }
  12542. }
  12543. }
  12544. },
  12545. "/Qhj/QueryBrokerApplyEx": {
  12546. "get": {
  12547. "security": [
  12548. {
  12549. "ApiKeyAuth": []
  12550. }
  12551. ],
  12552. "produces": [
  12553. "application/json"
  12554. ],
  12555. "tags": [
  12556. "大连千海金"
  12557. ],
  12558. "summary": "查询经纪人信息和申请记录",
  12559. "parameters": [
  12560. {
  12561. "type": "integer",
  12562. "description": "所属机构ID",
  12563. "name": "userid",
  12564. "in": "query"
  12565. }
  12566. ],
  12567. "responses": {
  12568. "200": {
  12569. "description": "OK",
  12570. "schema": {
  12571. "type": "array",
  12572. "items": {
  12573. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  12574. }
  12575. }
  12576. },
  12577. "500": {
  12578. "description": "Internal Server Error",
  12579. "schema": {
  12580. "$ref": "#/definitions/app.Response"
  12581. }
  12582. }
  12583. }
  12584. }
  12585. },
  12586. "/Qhj/QueryBrokerRewardLog": {
  12587. "get": {
  12588. "security": [
  12589. {
  12590. "ApiKeyAuth": []
  12591. }
  12592. ],
  12593. "produces": [
  12594. "application/json"
  12595. ],
  12596. "tags": [
  12597. "大连千海金"
  12598. ],
  12599. "summary": "查询奖励流水(我的奖励)",
  12600. "parameters": [
  12601. {
  12602. "type": "integer",
  12603. "description": "用户ID",
  12604. "name": "userid",
  12605. "in": "query",
  12606. "required": true
  12607. },
  12608. {
  12609. "type": "string",
  12610. "description": "开始交易日(yyyymmdd)",
  12611. "name": "begindate",
  12612. "in": "query"
  12613. },
  12614. {
  12615. "type": "string",
  12616. "description": "结束交易日(yyyymmdd)",
  12617. "name": "enddate",
  12618. "in": "query"
  12619. }
  12620. ],
  12621. "responses": {
  12622. "200": {
  12623. "description": "OK",
  12624. "schema": {
  12625. "type": "array",
  12626. "items": {
  12627. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  12628. }
  12629. }
  12630. },
  12631. "500": {
  12632. "description": "Internal Server Error",
  12633. "schema": {
  12634. "$ref": "#/definitions/app.Response"
  12635. }
  12636. }
  12637. }
  12638. }
  12639. },
  12640. "/Qhj/QueryContract": {
  12641. "get": {
  12642. "security": [
  12643. {
  12644. "ApiKeyAuth": []
  12645. }
  12646. ],
  12647. "produces": [
  12648. "application/json"
  12649. ],
  12650. "tags": [
  12651. "大连千海金"
  12652. ],
  12653. "summary": "查询融资明细(合同)",
  12654. "parameters": [
  12655. {
  12656. "type": "integer",
  12657. "description": "用户ID",
  12658. "name": "userid",
  12659. "in": "query"
  12660. },
  12661. {
  12662. "type": "integer",
  12663. "description": "scf合同id",
  12664. "name": "scfcontractid",
  12665. "in": "query"
  12666. }
  12667. ],
  12668. "responses": {
  12669. "200": {
  12670. "description": "OK",
  12671. "schema": {
  12672. "type": "array",
  12673. "items": {
  12674. "$ref": "#/definitions/models.QhjContract"
  12675. }
  12676. }
  12677. },
  12678. "500": {
  12679. "description": "Internal Server Error",
  12680. "schema": {
  12681. "$ref": "#/definitions/app.Response"
  12682. }
  12683. }
  12684. }
  12685. }
  12686. },
  12687. "/Qhj/QueryContractLog": {
  12688. "get": {
  12689. "security": [
  12690. {
  12691. "ApiKeyAuth": []
  12692. }
  12693. ],
  12694. "produces": [
  12695. "application/json"
  12696. ],
  12697. "tags": [
  12698. "大连千海金"
  12699. ],
  12700. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  12701. "parameters": [
  12702. {
  12703. "type": "integer",
  12704. "description": "scf合同id",
  12705. "name": "scfcontractid",
  12706. "in": "query",
  12707. "required": true
  12708. },
  12709. {
  12710. "type": "string",
  12711. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  12712. "name": "amounttype",
  12713. "in": "query"
  12714. }
  12715. ],
  12716. "responses": {
  12717. "200": {
  12718. "description": "OK",
  12719. "schema": {
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.QhjContractLog"
  12723. }
  12724. }
  12725. },
  12726. "500": {
  12727. "description": "Internal Server Error",
  12728. "schema": {
  12729. "$ref": "#/definitions/app.Response"
  12730. }
  12731. }
  12732. }
  12733. }
  12734. },
  12735. "/Qhj/QueryCusBankSignBank": {
  12736. "get": {
  12737. "security": [
  12738. {
  12739. "ApiKeyAuth": []
  12740. }
  12741. ],
  12742. "produces": [
  12743. "application/json"
  12744. ],
  12745. "tags": [
  12746. "大连千海金"
  12747. ],
  12748. "summary": "查询托管银行",
  12749. "responses": {
  12750. "200": {
  12751. "description": "OK",
  12752. "schema": {
  12753. "type": "array",
  12754. "items": {
  12755. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  12756. }
  12757. }
  12758. },
  12759. "500": {
  12760. "description": "Internal Server Error",
  12761. "schema": {
  12762. "$ref": "#/definitions/app.Response"
  12763. }
  12764. }
  12765. }
  12766. }
  12767. },
  12768. "/Qhj/QueryCustomerInfo": {
  12769. "get": {
  12770. "security": [
  12771. {
  12772. "ApiKeyAuth": []
  12773. }
  12774. ],
  12775. "produces": [
  12776. "application/json"
  12777. ],
  12778. "tags": [
  12779. "大连千海金"
  12780. ],
  12781. "summary": "查询客户资料",
  12782. "parameters": [
  12783. {
  12784. "type": "integer",
  12785. "description": "用户ID",
  12786. "name": "userid",
  12787. "in": "query",
  12788. "required": true
  12789. },
  12790. {
  12791. "type": "integer",
  12792. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  12793. "name": "querytype",
  12794. "in": "query",
  12795. "required": true
  12796. },
  12797. {
  12798. "type": "integer",
  12799. "description": "客户类型 1-个人 2-企业",
  12800. "name": "userinfotype",
  12801. "in": "query"
  12802. },
  12803. {
  12804. "type": "string",
  12805. "description": "客户名称(模糊匹配)",
  12806. "name": "customername",
  12807. "in": "query"
  12808. },
  12809. {
  12810. "type": "string",
  12811. "description": "昵称(模糊匹配)",
  12812. "name": "nickname",
  12813. "in": "query"
  12814. },
  12815. {
  12816. "type": "integer",
  12817. "description": "是否包含子级 1-包含",
  12818. "name": "includesub",
  12819. "in": "query"
  12820. }
  12821. ],
  12822. "responses": {
  12823. "200": {
  12824. "description": "OK",
  12825. "schema": {
  12826. "type": "array",
  12827. "items": {
  12828. "$ref": "#/definitions/models.QhjCustomer"
  12829. }
  12830. }
  12831. },
  12832. "500": {
  12833. "description": "Internal Server Error",
  12834. "schema": {
  12835. "$ref": "#/definitions/app.Response"
  12836. }
  12837. }
  12838. }
  12839. }
  12840. },
  12841. "/Qhj/QueryGoodsEx": {
  12842. "get": {
  12843. "security": [
  12844. {
  12845. "ApiKeyAuth": []
  12846. }
  12847. ],
  12848. "produces": [
  12849. "application/json"
  12850. ],
  12851. "tags": [
  12852. "大连千海金"
  12853. ],
  12854. "summary": "交易商品扩展表",
  12855. "parameters": [
  12856. {
  12857. "type": "integer",
  12858. "description": "商品id",
  12859. "name": "goodsid",
  12860. "in": "query"
  12861. }
  12862. ],
  12863. "responses": {
  12864. "200": {
  12865. "description": "OK",
  12866. "schema": {
  12867. "type": "array",
  12868. "items": {
  12869. "$ref": "#/definitions/models.Qhjgoodsex"
  12870. }
  12871. }
  12872. },
  12873. "500": {
  12874. "description": "Internal Server Error",
  12875. "schema": {
  12876. "$ref": "#/definitions/app.Response"
  12877. }
  12878. }
  12879. }
  12880. }
  12881. },
  12882. "/Qhj/QueryMyTeam": {
  12883. "get": {
  12884. "security": [
  12885. {
  12886. "ApiKeyAuth": []
  12887. }
  12888. ],
  12889. "produces": [
  12890. "application/json"
  12891. ],
  12892. "tags": [
  12893. "大连千海金"
  12894. ],
  12895. "summary": "查询我的团队",
  12896. "parameters": [
  12897. {
  12898. "type": "integer",
  12899. "description": "用户ID",
  12900. "name": "userid",
  12901. "in": "query",
  12902. "required": true
  12903. }
  12904. ],
  12905. "responses": {
  12906. "200": {
  12907. "description": "OK",
  12908. "schema": {
  12909. "type": "array",
  12910. "items": {
  12911. "$ref": "#/definitions/models.QhjMyTeamEx"
  12912. }
  12913. }
  12914. },
  12915. "500": {
  12916. "description": "Internal Server Error",
  12917. "schema": {
  12918. "$ref": "#/definitions/app.Response"
  12919. }
  12920. }
  12921. }
  12922. }
  12923. },
  12924. "/Qhj/QueryMyTeamOrder": {
  12925. "get": {
  12926. "security": [
  12927. {
  12928. "ApiKeyAuth": []
  12929. }
  12930. ],
  12931. "produces": [
  12932. "application/json"
  12933. ],
  12934. "tags": [
  12935. "大连千海金"
  12936. ],
  12937. "summary": "查询团队订单(我的团队/团队订单)",
  12938. "parameters": [
  12939. {
  12940. "type": "integer",
  12941. "description": "页码",
  12942. "name": "page",
  12943. "in": "query"
  12944. },
  12945. {
  12946. "type": "integer",
  12947. "description": "每页条数",
  12948. "name": "pagesize",
  12949. "in": "query"
  12950. },
  12951. {
  12952. "type": "integer",
  12953. "description": "用户ID",
  12954. "name": "userid",
  12955. "in": "query",
  12956. "required": true
  12957. },
  12958. {
  12959. "type": "integer",
  12960. "description": "交易模式",
  12961. "name": "trademode",
  12962. "in": "query"
  12963. },
  12964. {
  12965. "type": "string",
  12966. "description": "名称(模糊搜索账户)",
  12967. "name": "filtername",
  12968. "in": "query"
  12969. }
  12970. ],
  12971. "responses": {
  12972. "200": {
  12973. "description": "OK",
  12974. "schema": {
  12975. "type": "array",
  12976. "items": {
  12977. "$ref": "#/definitions/models.QhjTeamOrder"
  12978. }
  12979. }
  12980. },
  12981. "500": {
  12982. "description": "Internal Server Error",
  12983. "schema": {
  12984. "$ref": "#/definitions/app.Response"
  12985. }
  12986. }
  12987. }
  12988. }
  12989. },
  12990. "/Qhj/QueryParentAreaList": {
  12991. "get": {
  12992. "security": [
  12993. {
  12994. "ApiKeyAuth": []
  12995. }
  12996. ],
  12997. "produces": [
  12998. "application/json"
  12999. ],
  13000. "tags": [
  13001. "大连千海金"
  13002. ],
  13003. "summary": "查询所属机构列表",
  13004. "parameters": [
  13005. {
  13006. "type": "integer",
  13007. "description": "用户ID",
  13008. "name": "userid",
  13009. "in": "query",
  13010. "required": true
  13011. }
  13012. ],
  13013. "responses": {
  13014. "200": {
  13015. "description": "OK",
  13016. "schema": {
  13017. "type": "array",
  13018. "items": {
  13019. "$ref": "#/definitions/models.QhjParentAreaList"
  13020. }
  13021. }
  13022. },
  13023. "500": {
  13024. "description": "Internal Server Error",
  13025. "schema": {
  13026. "$ref": "#/definitions/app.Response"
  13027. }
  13028. }
  13029. }
  13030. }
  13031. },
  13032. "/Qhj/QueryPayOrder": {
  13033. "get": {
  13034. "security": [
  13035. {
  13036. "ApiKeyAuth": []
  13037. }
  13038. ],
  13039. "produces": [
  13040. "application/json"
  13041. ],
  13042. "tags": [
  13043. "大连千海金"
  13044. ],
  13045. "summary": "查询待付款单据",
  13046. "parameters": [
  13047. {
  13048. "type": "integer",
  13049. "description": "资金账号id",
  13050. "name": "accountid",
  13051. "in": "query",
  13052. "required": true
  13053. },
  13054. {
  13055. "type": "integer",
  13056. "description": "成交单号",
  13057. "name": "tradeid",
  13058. "in": "query"
  13059. },
  13060. {
  13061. "type": "string",
  13062. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13063. "name": "payflag",
  13064. "in": "query"
  13065. }
  13066. ],
  13067. "responses": {
  13068. "200": {
  13069. "description": "OK",
  13070. "schema": {
  13071. "type": "array",
  13072. "items": {
  13073. "$ref": "#/definitions/models.QhjPayOrder"
  13074. }
  13075. }
  13076. },
  13077. "500": {
  13078. "description": "Internal Server Error",
  13079. "schema": {
  13080. "$ref": "#/definitions/app.Response"
  13081. }
  13082. }
  13083. }
  13084. }
  13085. },
  13086. "/Qhj/QueryPickArea": {
  13087. "get": {
  13088. "security": [
  13089. {
  13090. "ApiKeyAuth": []
  13091. }
  13092. ],
  13093. "produces": [
  13094. "application/json"
  13095. ],
  13096. "tags": [
  13097. "大连千海金"
  13098. ],
  13099. "summary": "查询提货门店",
  13100. "parameters": [
  13101. {
  13102. "type": "integer",
  13103. "description": "用户ID",
  13104. "name": "userid",
  13105. "in": "query"
  13106. }
  13107. ],
  13108. "responses": {
  13109. "200": {
  13110. "description": "OK",
  13111. "schema": {
  13112. "type": "array",
  13113. "items": {
  13114. "$ref": "#/definitions/models.QhjPickArea"
  13115. }
  13116. }
  13117. },
  13118. "500": {
  13119. "description": "Internal Server Error",
  13120. "schema": {
  13121. "$ref": "#/definitions/app.Response"
  13122. }
  13123. }
  13124. }
  13125. }
  13126. },
  13127. "/Qhj/QueryPickGoods": {
  13128. "get": {
  13129. "security": [
  13130. {
  13131. "ApiKeyAuth": []
  13132. }
  13133. ],
  13134. "produces": [
  13135. "application/json"
  13136. ],
  13137. "tags": [
  13138. "大连千海金"
  13139. ],
  13140. "summary": "查询提货商品",
  13141. "parameters": [
  13142. {
  13143. "type": "integer",
  13144. "description": "交易商品id",
  13145. "name": "goodsid",
  13146. "in": "query",
  13147. "required": true
  13148. },
  13149. {
  13150. "type": "string",
  13151. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  13152. "name": "status",
  13153. "in": "query"
  13154. }
  13155. ],
  13156. "responses": {
  13157. "200": {
  13158. "description": "OK",
  13159. "schema": {
  13160. "type": "array",
  13161. "items": {
  13162. "$ref": "#/definitions/models.QhjPickGoods"
  13163. }
  13164. }
  13165. },
  13166. "500": {
  13167. "description": "Internal Server Error",
  13168. "schema": {
  13169. "$ref": "#/definitions/app.Response"
  13170. }
  13171. }
  13172. }
  13173. }
  13174. },
  13175. "/Qhj/QueryRSTriggerLog": {
  13176. "get": {
  13177. "security": [
  13178. {
  13179. "ApiKeyAuth": []
  13180. }
  13181. ],
  13182. "produces": [
  13183. "application/json"
  13184. ],
  13185. "tags": [
  13186. "大连千海金"
  13187. ],
  13188. "summary": "查询定投记录(定投管理/详情/定投记录)",
  13189. "parameters": [
  13190. {
  13191. "type": "integer",
  13192. "description": "用户ID",
  13193. "name": "userid",
  13194. "in": "query"
  13195. },
  13196. {
  13197. "type": "integer",
  13198. "description": "定投策略id",
  13199. "name": "regularlystrategyid",
  13200. "in": "query"
  13201. },
  13202. {
  13203. "type": "integer",
  13204. "description": "商品id",
  13205. "name": "goodsid",
  13206. "in": "query"
  13207. },
  13208. {
  13209. "type": "string",
  13210. "description": "开始交易日(yyyymmdd)",
  13211. "name": "begindate",
  13212. "in": "query"
  13213. },
  13214. {
  13215. "type": "string",
  13216. "description": "结束交易日(yyyymmdd)",
  13217. "name": "enddate",
  13218. "in": "query"
  13219. },
  13220. {
  13221. "type": "string",
  13222. "description": "名称(模糊搜索账户)",
  13223. "name": "filtername",
  13224. "in": "query"
  13225. }
  13226. ],
  13227. "responses": {
  13228. "200": {
  13229. "description": "OK",
  13230. "schema": {
  13231. "type": "array",
  13232. "items": {
  13233. "$ref": "#/definitions/models.QhjRSTriggerLog"
  13234. }
  13235. }
  13236. },
  13237. "500": {
  13238. "description": "Internal Server Error",
  13239. "schema": {
  13240. "$ref": "#/definitions/app.Response"
  13241. }
  13242. }
  13243. }
  13244. }
  13245. },
  13246. "/Qhj/QueryRStrategy": {
  13247. "get": {
  13248. "security": [
  13249. {
  13250. "ApiKeyAuth": []
  13251. }
  13252. ],
  13253. "produces": [
  13254. "application/json"
  13255. ],
  13256. "tags": [
  13257. "大连千海金"
  13258. ],
  13259. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  13260. "parameters": [
  13261. {
  13262. "type": "integer",
  13263. "description": "用户ID",
  13264. "name": "userid",
  13265. "in": "query"
  13266. },
  13267. {
  13268. "type": "integer",
  13269. "description": "商品id",
  13270. "name": "goodsid",
  13271. "in": "query"
  13272. },
  13273. {
  13274. "type": "string",
  13275. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  13276. "name": "status",
  13277. "in": "query"
  13278. },
  13279. {
  13280. "type": "string",
  13281. "description": "名称(模糊搜索账户)",
  13282. "name": "filtername",
  13283. "in": "query"
  13284. }
  13285. ],
  13286. "responses": {
  13287. "200": {
  13288. "description": "OK",
  13289. "schema": {
  13290. "type": "array",
  13291. "items": {
  13292. "$ref": "#/definitions/models.QhjRStrategy"
  13293. }
  13294. }
  13295. },
  13296. "500": {
  13297. "description": "Internal Server Error",
  13298. "schema": {
  13299. "$ref": "#/definitions/app.Response"
  13300. }
  13301. }
  13302. }
  13303. }
  13304. },
  13305. "/Qhj/QueryReckonPriceLog": {
  13306. "get": {
  13307. "security": [
  13308. {
  13309. "ApiKeyAuth": []
  13310. }
  13311. ],
  13312. "produces": [
  13313. "application/json"
  13314. ],
  13315. "tags": [
  13316. "大连千海金"
  13317. ],
  13318. "summary": "查询定投价(结算价)",
  13319. "parameters": [
  13320. {
  13321. "type": "integer",
  13322. "description": "商品ID",
  13323. "name": "goodsid",
  13324. "in": "query"
  13325. },
  13326. {
  13327. "type": "string",
  13328. "description": "交易日 格式(yyyymmdd)",
  13329. "name": "tradedate",
  13330. "in": "query"
  13331. }
  13332. ],
  13333. "responses": {
  13334. "200": {
  13335. "description": "OK",
  13336. "schema": {
  13337. "type": "array",
  13338. "items": {
  13339. "$ref": "#/definitions/models.QhjReckonPriceLog"
  13340. }
  13341. }
  13342. },
  13343. "500": {
  13344. "description": "Internal Server Error",
  13345. "schema": {
  13346. "$ref": "#/definitions/app.Response"
  13347. }
  13348. }
  13349. }
  13350. }
  13351. },
  13352. "/Qhj/QueryScoreLog": {
  13353. "get": {
  13354. "security": [
  13355. {
  13356. "ApiKeyAuth": []
  13357. }
  13358. ],
  13359. "produces": [
  13360. "application/json"
  13361. ],
  13362. "tags": [
  13363. "大连千海金"
  13364. ],
  13365. "summary": "查询积分流水(我的积分)",
  13366. "parameters": [
  13367. {
  13368. "type": "integer",
  13369. "description": "用户ID",
  13370. "name": "userid",
  13371. "in": "query",
  13372. "required": true
  13373. },
  13374. {
  13375. "type": "string",
  13376. "description": "开始交易日(yyyymmdd)",
  13377. "name": "begindate",
  13378. "in": "query"
  13379. },
  13380. {
  13381. "type": "string",
  13382. "description": "结束交易日(yyyymmdd)",
  13383. "name": "enddate",
  13384. "in": "query"
  13385. },
  13386. {
  13387. "type": "integer",
  13388. "description": "最近多少条",
  13389. "name": "lastnum",
  13390. "in": "query"
  13391. }
  13392. ],
  13393. "responses": {
  13394. "200": {
  13395. "description": "OK",
  13396. "schema": {
  13397. "type": "array",
  13398. "items": {
  13399. "$ref": "#/definitions/models.QhjScoreLog"
  13400. }
  13401. }
  13402. },
  13403. "500": {
  13404. "description": "Internal Server Error",
  13405. "schema": {
  13406. "$ref": "#/definitions/app.Response"
  13407. }
  13408. }
  13409. }
  13410. }
  13411. },
  13412. "/Qhj/QuerySiteColumnDetail": {
  13413. "get": {
  13414. "security": [
  13415. {
  13416. "ApiKeyAuth": []
  13417. }
  13418. ],
  13419. "produces": [
  13420. "application/json"
  13421. ],
  13422. "tags": [
  13423. "大连千海金"
  13424. ],
  13425. "summary": "查询资讯",
  13426. "parameters": [
  13427. {
  13428. "type": "integer",
  13429. "description": "用户ID",
  13430. "name": "userid",
  13431. "in": "query",
  13432. "required": true
  13433. }
  13434. ],
  13435. "responses": {
  13436. "200": {
  13437. "description": "OK",
  13438. "schema": {
  13439. "type": "array",
  13440. "items": {
  13441. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  13442. }
  13443. }
  13444. },
  13445. "500": {
  13446. "description": "Internal Server Error",
  13447. "schema": {
  13448. "$ref": "#/definitions/app.Response"
  13449. }
  13450. }
  13451. }
  13452. }
  13453. },
  13454. "/Qhj/QueryTradeGoodsPickup": {
  13455. "get": {
  13456. "security": [
  13457. {
  13458. "ApiKeyAuth": []
  13459. }
  13460. ],
  13461. "produces": [
  13462. "application/json"
  13463. ],
  13464. "tags": [
  13465. "大连千海金"
  13466. ],
  13467. "summary": "查询提货",
  13468. "parameters": [
  13469. {
  13470. "type": "integer",
  13471. "description": "用户ID",
  13472. "name": "userid",
  13473. "in": "query",
  13474. "required": true
  13475. },
  13476. {
  13477. "type": "integer",
  13478. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  13479. "name": "takeorderstatus",
  13480. "in": "query"
  13481. }
  13482. ],
  13483. "responses": {
  13484. "200": {
  13485. "description": "OK",
  13486. "schema": {
  13487. "type": "array",
  13488. "items": {
  13489. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  13490. }
  13491. }
  13492. },
  13493. "500": {
  13494. "description": "Internal Server Error",
  13495. "schema": {
  13496. "$ref": "#/definitions/app.Response"
  13497. }
  13498. }
  13499. }
  13500. }
  13501. },
  13502. "/Qhj/QueryUserCollectConfig": {
  13503. "get": {
  13504. "security": [
  13505. {
  13506. "ApiKeyAuth": []
  13507. }
  13508. ],
  13509. "produces": [
  13510. "application/json"
  13511. ],
  13512. "tags": [
  13513. "大连千海金"
  13514. ],
  13515. "summary": "查询提现账户设置",
  13516. "parameters": [
  13517. {
  13518. "type": "integer",
  13519. "description": "用户ID",
  13520. "name": "userid",
  13521. "in": "query",
  13522. "required": true
  13523. }
  13524. ],
  13525. "responses": {
  13526. "200": {
  13527. "description": "OK",
  13528. "schema": {
  13529. "type": "array",
  13530. "items": {
  13531. "$ref": "#/definitions/models.UserCollectConfig"
  13532. }
  13533. }
  13534. },
  13535. "500": {
  13536. "description": "Internal Server Error",
  13537. "schema": {
  13538. "$ref": "#/definitions/app.Response"
  13539. }
  13540. }
  13541. }
  13542. }
  13543. },
  13544. "/Qhj/QueryUserReceiveInfo": {
  13545. "get": {
  13546. "security": [
  13547. {
  13548. "ApiKeyAuth": []
  13549. }
  13550. ],
  13551. "produces": [
  13552. "application/json"
  13553. ],
  13554. "tags": [
  13555. "大连千海金"
  13556. ],
  13557. "summary": "查询收货地址信息",
  13558. "parameters": [
  13559. {
  13560. "type": "integer",
  13561. "description": "用户ID",
  13562. "name": "userid",
  13563. "in": "query",
  13564. "required": true
  13565. }
  13566. ],
  13567. "responses": {
  13568. "200": {
  13569. "description": "OK",
  13570. "schema": {
  13571. "type": "array",
  13572. "items": {
  13573. "$ref": "#/definitions/models.UserReceiveInfo"
  13574. }
  13575. }
  13576. },
  13577. "500": {
  13578. "description": "Internal Server Error",
  13579. "schema": {
  13580. "$ref": "#/definitions/app.Response"
  13581. }
  13582. }
  13583. }
  13584. }
  13585. },
  13586. "/QhjMgr/QueryAccountInOutApply": {
  13587. "get": {
  13588. "security": [
  13589. {
  13590. "ApiKeyAuth": []
  13591. }
  13592. ],
  13593. "produces": [
  13594. "application/json"
  13595. ],
  13596. "tags": [
  13597. "大连千海金(PCWeb)"
  13598. ],
  13599. "summary": "查询充值提现",
  13600. "parameters": [
  13601. {
  13602. "type": "integer",
  13603. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  13604. "name": "querytype",
  13605. "in": "query",
  13606. "required": true
  13607. },
  13608. {
  13609. "type": "integer",
  13610. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  13611. "name": "applystatus",
  13612. "in": "query"
  13613. },
  13614. {
  13615. "type": "string",
  13616. "description": "申请起始日期(格式yyyymmdd)",
  13617. "name": "begindate",
  13618. "in": "query"
  13619. },
  13620. {
  13621. "type": "string",
  13622. "description": "申请截止日期(格式yyyymmdd)",
  13623. "name": "enddate",
  13624. "in": "query"
  13625. },
  13626. {
  13627. "type": "string",
  13628. "description": "模糊搜索名称",
  13629. "name": "likename",
  13630. "in": "query"
  13631. }
  13632. ],
  13633. "responses": {
  13634. "200": {
  13635. "description": "OK",
  13636. "schema": {
  13637. "type": "array",
  13638. "items": {
  13639. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  13640. }
  13641. }
  13642. },
  13643. "500": {
  13644. "description": "Internal Server Error",
  13645. "schema": {
  13646. "$ref": "#/definitions/app.Response"
  13647. }
  13648. }
  13649. }
  13650. }
  13651. },
  13652. "/QhjMgr/QueryBrokerApply": {
  13653. "get": {
  13654. "security": [
  13655. {
  13656. "ApiKeyAuth": []
  13657. }
  13658. ],
  13659. "produces": [
  13660. "application/json"
  13661. ],
  13662. "tags": [
  13663. "大连千海金(PCWeb)"
  13664. ],
  13665. "summary": "查询经纪人申请",
  13666. "parameters": [
  13667. {
  13668. "type": "integer",
  13669. "description": "所属机构ID",
  13670. "name": "userid",
  13671. "in": "query"
  13672. },
  13673. {
  13674. "type": "string",
  13675. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13676. "name": "filterstatus",
  13677. "in": "query"
  13678. },
  13679. {
  13680. "type": "string",
  13681. "description": "名称(模糊匹配)",
  13682. "name": "filtername",
  13683. "in": "query"
  13684. },
  13685. {
  13686. "type": "integer",
  13687. "description": "是否包含子级 1-包含",
  13688. "name": "includesub",
  13689. "in": "query"
  13690. }
  13691. ],
  13692. "responses": {
  13693. "200": {
  13694. "description": "OK",
  13695. "schema": {
  13696. "type": "array",
  13697. "items": {
  13698. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  13699. }
  13700. }
  13701. },
  13702. "500": {
  13703. "description": "Internal Server Error",
  13704. "schema": {
  13705. "$ref": "#/definitions/app.Response"
  13706. }
  13707. }
  13708. }
  13709. }
  13710. },
  13711. "/QhjMgr/QueryBrokerRewardReport": {
  13712. "get": {
  13713. "security": [
  13714. {
  13715. "ApiKeyAuth": []
  13716. }
  13717. ],
  13718. "produces": [
  13719. "application/json"
  13720. ],
  13721. "tags": [
  13722. "大连千海金(PCWeb)"
  13723. ],
  13724. "summary": "查询经纪人奖励报表(废弃)",
  13725. "parameters": [
  13726. {
  13727. "type": "integer",
  13728. "description": "所属机构ID",
  13729. "name": "userid",
  13730. "in": "query",
  13731. "required": true
  13732. },
  13733. {
  13734. "type": "integer",
  13735. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13736. "name": "cycletype",
  13737. "in": "query",
  13738. "required": true
  13739. },
  13740. {
  13741. "type": "string",
  13742. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  13743. "name": "cycletime",
  13744. "in": "query",
  13745. "required": true
  13746. },
  13747. {
  13748. "type": "string",
  13749. "description": "名称(模糊匹配)",
  13750. "name": "filtername",
  13751. "in": "query"
  13752. },
  13753. {
  13754. "type": "integer",
  13755. "description": "是否包含子级 1-包含",
  13756. "name": "includesub",
  13757. "in": "query"
  13758. }
  13759. ],
  13760. "responses": {
  13761. "200": {
  13762. "description": "OK",
  13763. "schema": {
  13764. "type": "array",
  13765. "items": {
  13766. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  13767. }
  13768. }
  13769. },
  13770. "500": {
  13771. "description": "Internal Server Error",
  13772. "schema": {
  13773. "$ref": "#/definitions/app.Response"
  13774. }
  13775. }
  13776. }
  13777. }
  13778. },
  13779. "/QhjMgr/QueryContract": {
  13780. "get": {
  13781. "security": [
  13782. {
  13783. "ApiKeyAuth": []
  13784. }
  13785. ],
  13786. "produces": [
  13787. "application/json"
  13788. ],
  13789. "tags": [
  13790. "大连千海金(PCWeb)"
  13791. ],
  13792. "summary": "查询融资信息(合同)",
  13793. "parameters": [
  13794. {
  13795. "type": "integer",
  13796. "description": "用户ID",
  13797. "name": "userid",
  13798. "in": "query"
  13799. },
  13800. {
  13801. "type": "integer",
  13802. "description": "商品id",
  13803. "name": "goodsid",
  13804. "in": "query"
  13805. },
  13806. {
  13807. "type": "string",
  13808. "description": "名称(模糊搜索账户)",
  13809. "name": "filtername",
  13810. "in": "query"
  13811. },
  13812. {
  13813. "type": "string",
  13814. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  13815. "name": "risklevel",
  13816. "in": "query"
  13817. },
  13818. {
  13819. "type": "string",
  13820. "description": "开始交易日(yyyymmdd)",
  13821. "name": "begindate",
  13822. "in": "query"
  13823. },
  13824. {
  13825. "type": "string",
  13826. "description": "结束交易日(yyyymmdd)",
  13827. "name": "enddate",
  13828. "in": "query"
  13829. }
  13830. ],
  13831. "responses": {
  13832. "200": {
  13833. "description": "OK",
  13834. "schema": {
  13835. "type": "array",
  13836. "items": {
  13837. "$ref": "#/definitions/models.QhjMgrContract"
  13838. }
  13839. }
  13840. },
  13841. "500": {
  13842. "description": "Internal Server Error",
  13843. "schema": {
  13844. "$ref": "#/definitions/app.Response"
  13845. }
  13846. }
  13847. }
  13848. }
  13849. },
  13850. "/QhjMgr/QueryCustomerInfo": {
  13851. "get": {
  13852. "security": [
  13853. {
  13854. "ApiKeyAuth": []
  13855. }
  13856. ],
  13857. "produces": [
  13858. "application/json"
  13859. ],
  13860. "tags": [
  13861. "大连千海金(PCWeb)"
  13862. ],
  13863. "summary": "查询客户资料",
  13864. "parameters": [
  13865. {
  13866. "type": "integer",
  13867. "description": "用户ID",
  13868. "name": "userid",
  13869. "in": "query",
  13870. "required": true
  13871. },
  13872. {
  13873. "type": "integer",
  13874. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  13875. "name": "querytype",
  13876. "in": "query",
  13877. "required": true
  13878. },
  13879. {
  13880. "type": "integer",
  13881. "description": "客户类型 1-个人 2-企业",
  13882. "name": "userinfotype",
  13883. "in": "query"
  13884. },
  13885. {
  13886. "type": "string",
  13887. "description": "客户名称(模糊匹配)",
  13888. "name": "customername",
  13889. "in": "query"
  13890. },
  13891. {
  13892. "type": "string",
  13893. "description": "昵称(模糊匹配)",
  13894. "name": "nickname",
  13895. "in": "query"
  13896. },
  13897. {
  13898. "type": "string",
  13899. "description": "所属客户经理(模糊匹配)",
  13900. "name": "brokername",
  13901. "in": "query"
  13902. },
  13903. {
  13904. "type": "string",
  13905. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  13906. "name": "birthday",
  13907. "in": "query"
  13908. },
  13909. {
  13910. "type": "integer",
  13911. "description": "是否包含子级 1-包含",
  13912. "name": "includesub",
  13913. "in": "query"
  13914. }
  13915. ],
  13916. "responses": {
  13917. "200": {
  13918. "description": "OK",
  13919. "schema": {
  13920. "type": "array",
  13921. "items": {
  13922. "$ref": "#/definitions/models.QhjMgrCustomer"
  13923. }
  13924. }
  13925. },
  13926. "500": {
  13927. "description": "Internal Server Error",
  13928. "schema": {
  13929. "$ref": "#/definitions/app.Response"
  13930. }
  13931. }
  13932. }
  13933. }
  13934. },
  13935. "/QhjMgr/QueryPickGoods": {
  13936. "get": {
  13937. "security": [
  13938. {
  13939. "ApiKeyAuth": []
  13940. }
  13941. ],
  13942. "produces": [
  13943. "application/json"
  13944. ],
  13945. "tags": [
  13946. "大连千海金(PCWeb)"
  13947. ],
  13948. "summary": "查询提货商品",
  13949. "parameters": [
  13950. {
  13951. "type": "string",
  13952. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  13953. "name": "status",
  13954. "in": "query"
  13955. }
  13956. ],
  13957. "responses": {
  13958. "200": {
  13959. "description": "OK",
  13960. "schema": {
  13961. "type": "array",
  13962. "items": {
  13963. "$ref": "#/definitions/models.QhjMgrPickGoods"
  13964. }
  13965. }
  13966. },
  13967. "500": {
  13968. "description": "Internal Server Error",
  13969. "schema": {
  13970. "$ref": "#/definitions/app.Response"
  13971. }
  13972. }
  13973. }
  13974. }
  13975. },
  13976. "/QhjMgr/QuerySubArea": {
  13977. "get": {
  13978. "security": [
  13979. {
  13980. "ApiKeyAuth": []
  13981. }
  13982. ],
  13983. "produces": [
  13984. "application/json"
  13985. ],
  13986. "tags": [
  13987. "大连千海金(PCWeb)"
  13988. ],
  13989. "summary": "查询子机构列表",
  13990. "parameters": [
  13991. {
  13992. "type": "integer",
  13993. "description": "用户ID",
  13994. "name": "userid",
  13995. "in": "query",
  13996. "required": true
  13997. }
  13998. ],
  13999. "responses": {
  14000. "200": {
  14001. "description": "OK",
  14002. "schema": {
  14003. "type": "array",
  14004. "items": {
  14005. "$ref": "#/definitions/models.QhjMgrSubArea"
  14006. }
  14007. }
  14008. },
  14009. "500": {
  14010. "description": "Internal Server Error",
  14011. "schema": {
  14012. "$ref": "#/definitions/app.Response"
  14013. }
  14014. }
  14015. }
  14016. }
  14017. },
  14018. "/QhjMgr/QueryTradeDetail": {
  14019. "get": {
  14020. "security": [
  14021. {
  14022. "ApiKeyAuth": []
  14023. }
  14024. ],
  14025. "produces": [
  14026. "application/json"
  14027. ],
  14028. "tags": [
  14029. "大连千海金(PCWeb)"
  14030. ],
  14031. "summary": "查询成交明细",
  14032. "parameters": [
  14033. {
  14034. "type": "integer",
  14035. "description": "用户ID",
  14036. "name": "userid",
  14037. "in": "query",
  14038. "required": true
  14039. },
  14040. {
  14041. "type": "integer",
  14042. "description": "用户类型 1-个人 2-企业",
  14043. "name": "userinfotype",
  14044. "in": "query"
  14045. },
  14046. {
  14047. "type": "integer",
  14048. "description": "交易模式",
  14049. "name": "trademode",
  14050. "in": "query"
  14051. },
  14052. {
  14053. "type": "integer",
  14054. "description": "商品id",
  14055. "name": "goodsid",
  14056. "in": "query"
  14057. },
  14058. {
  14059. "type": "string",
  14060. "description": "名称(模糊搜索账户)",
  14061. "name": "filtername",
  14062. "in": "query"
  14063. },
  14064. {
  14065. "type": "string",
  14066. "description": "开始交易日(yyyymmdd)",
  14067. "name": "begindate",
  14068. "in": "query"
  14069. },
  14070. {
  14071. "type": "string",
  14072. "description": "结束交易日(yyyymmdd)",
  14073. "name": "enddate",
  14074. "in": "query"
  14075. },
  14076. {
  14077. "type": "integer",
  14078. "description": "是否包含子级 1-包含",
  14079. "name": "includesub",
  14080. "in": "query"
  14081. }
  14082. ],
  14083. "responses": {
  14084. "200": {
  14085. "description": "OK",
  14086. "schema": {
  14087. "type": "array",
  14088. "items": {
  14089. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  14090. }
  14091. }
  14092. },
  14093. "500": {
  14094. "description": "Internal Server Error",
  14095. "schema": {
  14096. "$ref": "#/definitions/app.Response"
  14097. }
  14098. }
  14099. }
  14100. }
  14101. },
  14102. "/QhjMgr/QueryTradeOrderDetail": {
  14103. "get": {
  14104. "security": [
  14105. {
  14106. "ApiKeyAuth": []
  14107. }
  14108. ],
  14109. "produces": [
  14110. "application/json"
  14111. ],
  14112. "tags": [
  14113. "大连千海金(PCWeb)"
  14114. ],
  14115. "summary": "查询委托明细",
  14116. "parameters": [
  14117. {
  14118. "type": "integer",
  14119. "description": "用户ID",
  14120. "name": "userid",
  14121. "in": "query",
  14122. "required": true
  14123. },
  14124. {
  14125. "type": "integer",
  14126. "description": "用户类型 1-个人 2-企业",
  14127. "name": "userinfotype",
  14128. "in": "query"
  14129. },
  14130. {
  14131. "type": "integer",
  14132. "description": "交易模式",
  14133. "name": "trademode",
  14134. "in": "query"
  14135. },
  14136. {
  14137. "type": "integer",
  14138. "description": "商品id",
  14139. "name": "goodsid",
  14140. "in": "query"
  14141. },
  14142. {
  14143. "type": "string",
  14144. "description": "名称(模糊搜索账户)",
  14145. "name": "filtername",
  14146. "in": "query"
  14147. },
  14148. {
  14149. "type": "string",
  14150. "description": "开始交易日(yyyymmdd)",
  14151. "name": "begindate",
  14152. "in": "query"
  14153. },
  14154. {
  14155. "type": "string",
  14156. "description": "结束交易日(yyyymmdd)",
  14157. "name": "enddate",
  14158. "in": "query"
  14159. },
  14160. {
  14161. "type": "integer",
  14162. "description": "是否包含子级 1-包含",
  14163. "name": "includesub",
  14164. "in": "query"
  14165. }
  14166. ],
  14167. "responses": {
  14168. "200": {
  14169. "description": "OK",
  14170. "schema": {
  14171. "type": "array",
  14172. "items": {
  14173. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  14174. }
  14175. }
  14176. },
  14177. "500": {
  14178. "description": "Internal Server Error",
  14179. "schema": {
  14180. "$ref": "#/definitions/app.Response"
  14181. }
  14182. }
  14183. }
  14184. }
  14185. },
  14186. "/QhjMgr/QueryTradePayOrder": {
  14187. "get": {
  14188. "security": [
  14189. {
  14190. "ApiKeyAuth": []
  14191. }
  14192. ],
  14193. "produces": [
  14194. "application/json"
  14195. ],
  14196. "tags": [
  14197. "大连千海金(PCWeb)"
  14198. ],
  14199. "summary": "查询待付款单",
  14200. "parameters": [
  14201. {
  14202. "type": "integer",
  14203. "description": "用户ID",
  14204. "name": "userid",
  14205. "in": "query",
  14206. "required": true
  14207. },
  14208. {
  14209. "type": "string",
  14210. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  14211. "name": "payflag",
  14212. "in": "query"
  14213. },
  14214. {
  14215. "type": "integer",
  14216. "description": "用户类型 1-个人 2-企业",
  14217. "name": "userinfotype",
  14218. "in": "query"
  14219. },
  14220. {
  14221. "type": "integer",
  14222. "description": "交易模式",
  14223. "name": "trademode",
  14224. "in": "query"
  14225. },
  14226. {
  14227. "type": "integer",
  14228. "description": "商品id",
  14229. "name": "goodsid",
  14230. "in": "query"
  14231. },
  14232. {
  14233. "type": "string",
  14234. "description": "名称(模糊搜索账户)",
  14235. "name": "filtername",
  14236. "in": "query"
  14237. },
  14238. {
  14239. "type": "string",
  14240. "description": "开始交易日(yyyymmdd)",
  14241. "name": "begindate",
  14242. "in": "query"
  14243. },
  14244. {
  14245. "type": "string",
  14246. "description": "结束交易日(yyyymmdd)",
  14247. "name": "enddate",
  14248. "in": "query"
  14249. },
  14250. {
  14251. "type": "integer",
  14252. "description": "是否包含子级 1-包含",
  14253. "name": "includesub",
  14254. "in": "query"
  14255. }
  14256. ],
  14257. "responses": {
  14258. "200": {
  14259. "description": "OK",
  14260. "schema": {
  14261. "type": "array",
  14262. "items": {
  14263. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  14264. }
  14265. }
  14266. },
  14267. "500": {
  14268. "description": "Internal Server Error",
  14269. "schema": {
  14270. "$ref": "#/definitions/app.Response"
  14271. }
  14272. }
  14273. }
  14274. }
  14275. },
  14276. "/QhjMgr/QueryTradePosition": {
  14277. "get": {
  14278. "security": [
  14279. {
  14280. "ApiKeyAuth": []
  14281. }
  14282. ],
  14283. "produces": [
  14284. "application/json"
  14285. ],
  14286. "tags": [
  14287. "大连千海金(PCWeb)"
  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": "用户类型 1-个人 2-企业",
  14301. "name": "userinfotype",
  14302. "in": "query"
  14303. },
  14304. {
  14305. "type": "integer",
  14306. "description": "交易模式",
  14307. "name": "trademode",
  14308. "in": "query"
  14309. },
  14310. {
  14311. "type": "integer",
  14312. "description": "商品id",
  14313. "name": "goodsid",
  14314. "in": "query"
  14315. },
  14316. {
  14317. "type": "string",
  14318. "description": "名称(模糊搜索账户)",
  14319. "name": "filtername",
  14320. "in": "query"
  14321. },
  14322. {
  14323. "type": "integer",
  14324. "description": "是否包含子级 1-包含",
  14325. "name": "includesub",
  14326. "in": "query"
  14327. }
  14328. ],
  14329. "responses": {
  14330. "200": {
  14331. "description": "OK",
  14332. "schema": {
  14333. "type": "array",
  14334. "items": {
  14335. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  14336. }
  14337. }
  14338. },
  14339. "500": {
  14340. "description": "Internal Server Error",
  14341. "schema": {
  14342. "$ref": "#/definitions/app.Response"
  14343. }
  14344. }
  14345. }
  14346. }
  14347. },
  14348. "/QhjSys/QueryAgreementChangeLog": {
  14349. "get": {
  14350. "security": [
  14351. {
  14352. "ApiKeyAuth": []
  14353. }
  14354. ],
  14355. "produces": [
  14356. "application/json"
  14357. ],
  14358. "tags": [
  14359. "大连千海金(协议和签约信息)"
  14360. ],
  14361. "summary": "查询协议配置变更流水",
  14362. "parameters": [
  14363. {
  14364. "type": "integer",
  14365. "description": "协议ID",
  14366. "name": "agreementid",
  14367. "in": "query"
  14368. },
  14369. {
  14370. "type": "integer",
  14371. "description": "协议版本号",
  14372. "name": "agreementversion",
  14373. "in": "query"
  14374. },
  14375. {
  14376. "type": "integer",
  14377. "description": "协议类型 - 1:注册 2:登录 3:交易",
  14378. "name": "agreementtype",
  14379. "in": "query"
  14380. },
  14381. {
  14382. "type": "string",
  14383. "description": "协议编号(模糊匹配)",
  14384. "name": "agreementno",
  14385. "in": "query"
  14386. },
  14387. {
  14388. "type": "string",
  14389. "description": "协议名称(模糊匹配)",
  14390. "name": "agreementname",
  14391. "in": "query"
  14392. }
  14393. ],
  14394. "responses": {
  14395. "200": {
  14396. "description": "OK",
  14397. "schema": {
  14398. "type": "array",
  14399. "items": {
  14400. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  14401. }
  14402. }
  14403. },
  14404. "500": {
  14405. "description": "Internal Server Error",
  14406. "schema": {
  14407. "$ref": "#/definitions/app.Response"
  14408. }
  14409. }
  14410. }
  14411. }
  14412. },
  14413. "/QhjSys/QueryAgreementConfig": {
  14414. "get": {
  14415. "security": [
  14416. {
  14417. "ApiKeyAuth": []
  14418. }
  14419. ],
  14420. "produces": [
  14421. "application/json"
  14422. ],
  14423. "tags": [
  14424. "大连千海金(协议和签约信息)"
  14425. ],
  14426. "summary": "查询协议配置",
  14427. "parameters": [
  14428. {
  14429. "type": "integer",
  14430. "description": "协议ID",
  14431. "name": "agreementid",
  14432. "in": "query"
  14433. },
  14434. {
  14435. "type": "integer",
  14436. "description": "协议版本号",
  14437. "name": "agreementversion",
  14438. "in": "query"
  14439. },
  14440. {
  14441. "type": "integer",
  14442. "description": "协议类型 - 1:注册 2:登录 3:交易",
  14443. "name": "agreementtype",
  14444. "in": "query"
  14445. },
  14446. {
  14447. "type": "integer",
  14448. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  14449. "name": "isvalid",
  14450. "in": "query"
  14451. },
  14452. {
  14453. "type": "string",
  14454. "description": "协议编号(模糊匹配)",
  14455. "name": "agreementno",
  14456. "in": "query"
  14457. },
  14458. {
  14459. "type": "string",
  14460. "description": "协议名称(模糊匹配)",
  14461. "name": "agreementname",
  14462. "in": "query"
  14463. }
  14464. ],
  14465. "responses": {
  14466. "200": {
  14467. "description": "OK",
  14468. "schema": {
  14469. "type": "array",
  14470. "items": {
  14471. "$ref": "#/definitions/models.QhjAgreementConfig"
  14472. }
  14473. }
  14474. },
  14475. "500": {
  14476. "description": "Internal Server Error",
  14477. "schema": {
  14478. "$ref": "#/definitions/app.Response"
  14479. }
  14480. }
  14481. }
  14482. }
  14483. },
  14484. "/QhjSys/QueryCustomerSignStatus": {
  14485. "get": {
  14486. "security": [
  14487. {
  14488. "ApiKeyAuth": []
  14489. }
  14490. ],
  14491. "produces": [
  14492. "application/json"
  14493. ],
  14494. "tags": [
  14495. "大连千海金(协议和签约信息)"
  14496. ],
  14497. "summary": "查询客户协议签约状态",
  14498. "parameters": [
  14499. {
  14500. "type": "integer",
  14501. "description": "客户ID",
  14502. "name": "userid",
  14503. "in": "query"
  14504. },
  14505. {
  14506. "type": "integer",
  14507. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  14508. "name": "nodetype",
  14509. "in": "query"
  14510. },
  14511. {
  14512. "type": "integer",
  14513. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  14514. "name": "goodsid",
  14515. "in": "query"
  14516. },
  14517. {
  14518. "type": "string",
  14519. "description": "创建交易日(yyyyMMdd)",
  14520. "name": "tradedate",
  14521. "in": "query"
  14522. },
  14523. {
  14524. "type": "string",
  14525. "description": "用户名称(模糊匹配)",
  14526. "name": "username",
  14527. "in": "query"
  14528. }
  14529. ],
  14530. "responses": {
  14531. "200": {
  14532. "description": "OK",
  14533. "schema": {
  14534. "type": "array",
  14535. "items": {
  14536. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  14537. }
  14538. }
  14539. },
  14540. "500": {
  14541. "description": "Internal Server Error",
  14542. "schema": {
  14543. "$ref": "#/definitions/app.Response"
  14544. }
  14545. }
  14546. }
  14547. }
  14548. },
  14549. "/QhjSys/QueryNodeAgreementConfig": {
  14550. "get": {
  14551. "security": [
  14552. {
  14553. "ApiKeyAuth": []
  14554. }
  14555. ],
  14556. "produces": [
  14557. "application/json"
  14558. ],
  14559. "tags": [
  14560. "大连千海金(协议和签约信息)"
  14561. ],
  14562. "summary": "查询协议节点配置",
  14563. "parameters": [
  14564. {
  14565. "type": "integer",
  14566. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  14567. "name": "configid",
  14568. "in": "query"
  14569. },
  14570. {
  14571. "type": "integer",
  14572. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  14573. "name": "nodetype",
  14574. "in": "query"
  14575. },
  14576. {
  14577. "type": "integer",
  14578. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  14579. "name": "goodsid",
  14580. "in": "query"
  14581. },
  14582. {
  14583. "type": "integer",
  14584. "description": "协议ID",
  14585. "name": "agreementid",
  14586. "in": "query"
  14587. },
  14588. {
  14589. "type": "integer",
  14590. "description": "协议类型 - 1:注册 2:登录 3:交易",
  14591. "name": "agreementtype",
  14592. "in": "query"
  14593. },
  14594. {
  14595. "type": "integer",
  14596. "description": "协议版本号",
  14597. "name": "agreementversion",
  14598. "in": "query"
  14599. },
  14600. {
  14601. "type": "string",
  14602. "description": "协议编号(模糊匹配)",
  14603. "name": "agreementno",
  14604. "in": "query"
  14605. },
  14606. {
  14607. "type": "string",
  14608. "description": "协议名称(模糊匹配)",
  14609. "name": "agreementname",
  14610. "in": "query"
  14611. }
  14612. ],
  14613. "responses": {
  14614. "200": {
  14615. "description": "OK",
  14616. "schema": {
  14617. "type": "array",
  14618. "items": {
  14619. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  14620. }
  14621. }
  14622. },
  14623. "500": {
  14624. "description": "Internal Server Error",
  14625. "schema": {
  14626. "$ref": "#/definitions/app.Response"
  14627. }
  14628. }
  14629. }
  14630. }
  14631. },
  14632. "/QhjSys/QueryQhjCustomerSignLog": {
  14633. "get": {
  14634. "security": [
  14635. {
  14636. "ApiKeyAuth": []
  14637. }
  14638. ],
  14639. "produces": [
  14640. "application/json"
  14641. ],
  14642. "tags": [
  14643. "大连千海金(协议和签约信息)"
  14644. ],
  14645. "summary": "查询客户协议签约流水",
  14646. "parameters": [
  14647. {
  14648. "type": "integer",
  14649. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  14650. "name": "logid",
  14651. "in": "query"
  14652. },
  14653. {
  14654. "type": "integer",
  14655. "description": "客户ID",
  14656. "name": "userid",
  14657. "in": "query"
  14658. },
  14659. {
  14660. "type": "integer",
  14661. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  14662. "name": "nodetype",
  14663. "in": "query"
  14664. },
  14665. {
  14666. "type": "integer",
  14667. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  14668. "name": "goodsid",
  14669. "in": "query"
  14670. },
  14671. {
  14672. "type": "integer",
  14673. "description": "协议ID",
  14674. "name": "agreementid",
  14675. "in": "query"
  14676. },
  14677. {
  14678. "type": "string",
  14679. "description": "用户名称(模糊匹配)",
  14680. "name": "username",
  14681. "in": "query"
  14682. },
  14683. {
  14684. "type": "string",
  14685. "description": "协议编号(模糊匹配)",
  14686. "name": "agreementno",
  14687. "in": "query"
  14688. },
  14689. {
  14690. "type": "string",
  14691. "description": "协议名称(模糊匹配)",
  14692. "name": "agreementname",
  14693. "in": "query"
  14694. }
  14695. ],
  14696. "responses": {
  14697. "200": {
  14698. "description": "OK",
  14699. "schema": {
  14700. "type": "array",
  14701. "items": {
  14702. "$ref": "#/definitions/models.QhjCustomerSignLog"
  14703. }
  14704. }
  14705. },
  14706. "500": {
  14707. "description": "Internal Server Error",
  14708. "schema": {
  14709. "$ref": "#/definitions/app.Response"
  14710. }
  14711. }
  14712. }
  14713. }
  14714. },
  14715. "/QhjSys/QueryUserNodeCfgAndStatus": {
  14716. "get": {
  14717. "security": [
  14718. {
  14719. "ApiKeyAuth": []
  14720. }
  14721. ],
  14722. "produces": [
  14723. "application/json"
  14724. ],
  14725. "tags": [
  14726. "大连千海金(协议和签约信息)"
  14727. ],
  14728. "summary": "查询用户协议节点配置和状态",
  14729. "parameters": [
  14730. {
  14731. "type": "integer",
  14732. "description": "客户ID",
  14733. "name": "userid",
  14734. "in": "query"
  14735. },
  14736. {
  14737. "type": "integer",
  14738. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  14739. "name": "configid",
  14740. "in": "query"
  14741. },
  14742. {
  14743. "type": "string",
  14744. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  14745. "name": "nodetype",
  14746. "in": "query"
  14747. },
  14748. {
  14749. "type": "integer",
  14750. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  14751. "name": "goodsid",
  14752. "in": "query"
  14753. },
  14754. {
  14755. "type": "integer",
  14756. "description": "协议ID",
  14757. "name": "agreementid",
  14758. "in": "query"
  14759. },
  14760. {
  14761. "type": "integer",
  14762. "description": "协议类型 - 1:注册 2:登录 3:交易",
  14763. "name": "agreementtype",
  14764. "in": "query"
  14765. },
  14766. {
  14767. "type": "integer",
  14768. "description": "协议版本号",
  14769. "name": "agreementversion",
  14770. "in": "query"
  14771. },
  14772. {
  14773. "type": "string",
  14774. "description": "协议编号(模糊匹配)",
  14775. "name": "agreementno",
  14776. "in": "query"
  14777. },
  14778. {
  14779. "type": "string",
  14780. "description": "协议名称(模糊匹配)",
  14781. "name": "agreementname",
  14782. "in": "query"
  14783. }
  14784. ],
  14785. "responses": {
  14786. "200": {
  14787. "description": "OK",
  14788. "schema": {
  14789. "type": "array",
  14790. "items": {
  14791. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  14792. }
  14793. }
  14794. },
  14795. "500": {
  14796. "description": "Internal Server Error",
  14797. "schema": {
  14798. "$ref": "#/definitions/app.Response"
  14799. }
  14800. }
  14801. }
  14802. }
  14803. },
  14804. "/Quote/QueryHistoryDatas": {
  14805. "get": {
  14806. "security": [
  14807. {
  14808. "ApiKeyAuth": []
  14809. }
  14810. ],
  14811. "produces": [
  14812. "application/json"
  14813. ],
  14814. "tags": [
  14815. "行情服务"
  14816. ],
  14817. "summary": "查询行情历史数据",
  14818. "parameters": [
  14819. {
  14820. "type": "integer",
  14821. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  14822. "name": "cycleType",
  14823. "in": "query",
  14824. "required": true
  14825. },
  14826. {
  14827. "type": "string",
  14828. "description": "商品代码",
  14829. "name": "goodsCode",
  14830. "in": "query",
  14831. "required": true
  14832. },
  14833. {
  14834. "type": "string",
  14835. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  14836. "name": "startTime",
  14837. "in": "query"
  14838. },
  14839. {
  14840. "type": "string",
  14841. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  14842. "name": "endTime",
  14843. "in": "query"
  14844. },
  14845. {
  14846. "type": "integer",
  14847. "description": "条数",
  14848. "name": "count",
  14849. "in": "query"
  14850. },
  14851. {
  14852. "type": "boolean",
  14853. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  14854. "name": "isAsc",
  14855. "in": "query"
  14856. }
  14857. ],
  14858. "responses": {
  14859. "200": {
  14860. "description": "OK",
  14861. "schema": {
  14862. "$ref": "#/definitions/quote.HistoryData"
  14863. }
  14864. },
  14865. "500": {
  14866. "description": "Internal Server Error",
  14867. "schema": {
  14868. "$ref": "#/definitions/app.Response"
  14869. }
  14870. }
  14871. }
  14872. }
  14873. },
  14874. "/Quote/QueryHistoryTikDatas": {
  14875. "get": {
  14876. "security": [
  14877. {
  14878. "ApiKeyAuth": []
  14879. }
  14880. ],
  14881. "produces": [
  14882. "application/json"
  14883. ],
  14884. "tags": [
  14885. "行情服务"
  14886. ],
  14887. "summary": "查询行情Tik数据",
  14888. "parameters": [
  14889. {
  14890. "type": "string",
  14891. "description": "商品代码",
  14892. "name": "goodsCode",
  14893. "in": "query",
  14894. "required": true
  14895. },
  14896. {
  14897. "type": "string",
  14898. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  14899. "name": "startTime",
  14900. "in": "query"
  14901. },
  14902. {
  14903. "type": "string",
  14904. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  14905. "name": "endTime",
  14906. "in": "query"
  14907. },
  14908. {
  14909. "type": "integer",
  14910. "description": "条数",
  14911. "name": "count",
  14912. "in": "query"
  14913. },
  14914. {
  14915. "type": "boolean",
  14916. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  14917. "name": "isAsc",
  14918. "in": "query"
  14919. }
  14920. ],
  14921. "responses": {
  14922. "200": {
  14923. "description": "OK",
  14924. "schema": {
  14925. "$ref": "#/definitions/quote.HistoryTikData"
  14926. }
  14927. },
  14928. "500": {
  14929. "description": "Internal Server Error",
  14930. "schema": {
  14931. "$ref": "#/definitions/app.Response"
  14932. }
  14933. }
  14934. }
  14935. }
  14936. },
  14937. "/Quote/QueryQuoteDay": {
  14938. "get": {
  14939. "security": [
  14940. {
  14941. "ApiKeyAuth": []
  14942. }
  14943. ],
  14944. "produces": [
  14945. "application/json"
  14946. ],
  14947. "tags": [
  14948. "行情服务"
  14949. ],
  14950. "summary": "获取商品盘面信息",
  14951. "parameters": [
  14952. {
  14953. "type": "string",
  14954. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  14955. "name": "goodsCodes",
  14956. "in": "query"
  14957. }
  14958. ],
  14959. "responses": {
  14960. "200": {
  14961. "description": "OK",
  14962. "schema": {
  14963. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  14964. }
  14965. },
  14966. "500": {
  14967. "description": "Internal Server Error",
  14968. "schema": {
  14969. "$ref": "#/definitions/app.Response"
  14970. }
  14971. }
  14972. }
  14973. }
  14974. },
  14975. "/Quote/QueryTSData": {
  14976. "get": {
  14977. "security": [
  14978. {
  14979. "ApiKeyAuth": []
  14980. }
  14981. ],
  14982. "produces": [
  14983. "application/json"
  14984. ],
  14985. "tags": [
  14986. "行情服务"
  14987. ],
  14988. "summary": "分时图数据查询",
  14989. "parameters": [
  14990. {
  14991. "type": "string",
  14992. "description": "商品代码",
  14993. "name": "goodsCode",
  14994. "in": "query",
  14995. "required": true
  14996. }
  14997. ],
  14998. "responses": {
  14999. "200": {
  15000. "description": "OK",
  15001. "schema": {
  15002. "$ref": "#/definitions/quote.QueryTSDataRsp"
  15003. }
  15004. },
  15005. "500": {
  15006. "description": "Internal Server Error",
  15007. "schema": {
  15008. "$ref": "#/definitions/app.Response"
  15009. }
  15010. }
  15011. }
  15012. }
  15013. },
  15014. "/SZDZ/QueryConvertConfig": {
  15015. "get": {
  15016. "security": [
  15017. {
  15018. "ApiKeyAuth": []
  15019. }
  15020. ],
  15021. "produces": [
  15022. "application/json"
  15023. ],
  15024. "tags": [
  15025. "定制【尚志大宗】"
  15026. ],
  15027. "summary": "查询交易系统转换设置",
  15028. "parameters": [
  15029. {
  15030. "type": "integer",
  15031. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15032. "name": "convertType",
  15033. "in": "query"
  15034. },
  15035. {
  15036. "type": "string",
  15037. "description": "外部商品代码[JD\\PD]",
  15038. "name": "outerGoodsCode",
  15039. "in": "query"
  15040. },
  15041. {
  15042. "type": "string",
  15043. "description": "内部商品ID列表[交易],格式:1,2,3",
  15044. "name": "innerGoodsIDs",
  15045. "in": "query"
  15046. }
  15047. ],
  15048. "responses": {
  15049. "200": {
  15050. "description": "OK",
  15051. "schema": {
  15052. "$ref": "#/definitions/models.Szdz3convertconfig"
  15053. }
  15054. },
  15055. "500": {
  15056. "description": "Internal Server Error",
  15057. "schema": {
  15058. "$ref": "#/definitions/app.Response"
  15059. }
  15060. }
  15061. }
  15062. }
  15063. },
  15064. "/SZDZ/QueryConvertLog": {
  15065. "get": {
  15066. "security": [
  15067. {
  15068. "ApiKeyAuth": []
  15069. }
  15070. ],
  15071. "produces": [
  15072. "application/json"
  15073. ],
  15074. "tags": [
  15075. "定制【尚志大宗】"
  15076. ],
  15077. "summary": "交易系统转换流水查询",
  15078. "parameters": [
  15079. {
  15080. "type": "string",
  15081. "description": "资金账户 - 格式:1,2,3",
  15082. "name": "accountID",
  15083. "in": "query",
  15084. "required": true
  15085. },
  15086. {
  15087. "type": "string",
  15088. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  15089. "name": "startDate",
  15090. "in": "query"
  15091. },
  15092. {
  15093. "type": "string",
  15094. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  15095. "name": "endDate",
  15096. "in": "query"
  15097. }
  15098. ],
  15099. "responses": {
  15100. "200": {
  15101. "description": "OK",
  15102. "schema": {
  15103. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  15104. }
  15105. },
  15106. "500": {
  15107. "description": "Internal Server Error",
  15108. "schema": {
  15109. "$ref": "#/definitions/app.Response"
  15110. }
  15111. }
  15112. }
  15113. }
  15114. },
  15115. "/SZDZ/QueryGoodsPickup": {
  15116. "get": {
  15117. "security": [
  15118. {
  15119. "ApiKeyAuth": []
  15120. }
  15121. ],
  15122. "produces": [
  15123. "application/json"
  15124. ],
  15125. "tags": [
  15126. "定制【尚志大宗】"
  15127. ],
  15128. "summary": "商品提货单查询",
  15129. "parameters": [
  15130. {
  15131. "type": "string",
  15132. "description": "资金账户 - 格式:1,2,3",
  15133. "name": "accountID",
  15134. "in": "query",
  15135. "required": true
  15136. },
  15137. {
  15138. "type": "integer",
  15139. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  15140. "name": "takeOrderStatus",
  15141. "in": "query"
  15142. }
  15143. ],
  15144. "responses": {
  15145. "200": {
  15146. "description": "OK",
  15147. "schema": {
  15148. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  15149. }
  15150. },
  15151. "500": {
  15152. "description": "Internal Server Error",
  15153. "schema": {
  15154. "$ref": "#/definitions/app.Response"
  15155. }
  15156. }
  15157. }
  15158. }
  15159. },
  15160. "/SZDZ/QueryRecieptOrder": {
  15161. "get": {
  15162. "security": [
  15163. {
  15164. "ApiKeyAuth": []
  15165. }
  15166. ],
  15167. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  15168. "produces": [
  15169. "application/json"
  15170. ],
  15171. "tags": [
  15172. "定制【尚志大宗】"
  15173. ],
  15174. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  15175. "parameters": [
  15176. {
  15177. "type": "integer",
  15178. "description": "页码",
  15179. "name": "page",
  15180. "in": "query"
  15181. },
  15182. {
  15183. "type": "integer",
  15184. "description": "每页条数",
  15185. "name": "pagesize",
  15186. "in": "query"
  15187. },
  15188. {
  15189. "type": "integer",
  15190. "description": "商品ID",
  15191. "name": "goodsID",
  15192. "in": "query",
  15193. "required": true
  15194. },
  15195. {
  15196. "type": "string",
  15197. "description": "所属账户名称",
  15198. "name": "accountName",
  15199. "in": "query"
  15200. },
  15201. {
  15202. "type": "integer",
  15203. "description": "市场ID",
  15204. "name": "marketID",
  15205. "in": "query"
  15206. },
  15207. {
  15208. "type": "integer",
  15209. "description": "方向 - 0:买 1:卖",
  15210. "name": "buyorsell",
  15211. "in": "query",
  15212. "required": true
  15213. }
  15214. ],
  15215. "responses": {
  15216. "200": {
  15217. "description": "OK",
  15218. "schema": {
  15219. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  15220. }
  15221. },
  15222. "500": {
  15223. "description": "Internal Server Error",
  15224. "schema": {
  15225. "$ref": "#/definitions/app.Response"
  15226. }
  15227. }
  15228. }
  15229. }
  15230. },
  15231. "/SZDZ/QuerySZDZTradePosition": {
  15232. "get": {
  15233. "security": [
  15234. {
  15235. "ApiKeyAuth": []
  15236. }
  15237. ],
  15238. "produces": [
  15239. "application/json"
  15240. ],
  15241. "tags": [
  15242. "定制【尚志大宗】"
  15243. ],
  15244. "summary": "持仓汇总查询(尚志大宗)",
  15245. "parameters": [
  15246. {
  15247. "type": "integer",
  15248. "description": "资金账户",
  15249. "name": "accountID",
  15250. "in": "query",
  15251. "required": true
  15252. }
  15253. ],
  15254. "responses": {
  15255. "200": {
  15256. "description": "OK",
  15257. "schema": {
  15258. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  15259. }
  15260. },
  15261. "500": {
  15262. "description": "Internal Server Error",
  15263. "schema": {
  15264. "$ref": "#/definitions/app.Response"
  15265. }
  15266. }
  15267. }
  15268. }
  15269. },
  15270. "/SZDZ/SearchWhite": {
  15271. "get": {
  15272. "security": [
  15273. {
  15274. "ApiKeyAuth": []
  15275. }
  15276. ],
  15277. "produces": [
  15278. "application/json"
  15279. ],
  15280. "tags": [
  15281. "定制【尚志大宗】"
  15282. ],
  15283. "summary": "搜索白名单",
  15284. "parameters": [
  15285. {
  15286. "type": "integer",
  15287. "description": "用户ID",
  15288. "name": "userID",
  15289. "in": "query",
  15290. "required": true
  15291. }
  15292. ],
  15293. "responses": {
  15294. "200": {
  15295. "description": "OK",
  15296. "schema": {
  15297. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  15298. }
  15299. },
  15300. "500": {
  15301. "description": "Internal Server Error",
  15302. "schema": {
  15303. "$ref": "#/definitions/app.Response"
  15304. }
  15305. }
  15306. }
  15307. }
  15308. },
  15309. "/Search/SearchGoodses": {
  15310. "get": {
  15311. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  15312. "produces": [
  15313. "application/json"
  15314. ],
  15315. "tags": [
  15316. "检索服务"
  15317. ],
  15318. "summary": "检索商品信息",
  15319. "parameters": [
  15320. {
  15321. "type": "string",
  15322. "description": "检索内容",
  15323. "name": "content",
  15324. "in": "query",
  15325. "required": true
  15326. },
  15327. {
  15328. "type": "string",
  15329. "description": "交易模式,格式:1,2,3",
  15330. "name": "tradeModes",
  15331. "in": "query"
  15332. }
  15333. ],
  15334. "responses": {
  15335. "200": {
  15336. "description": "OK",
  15337. "schema": {
  15338. "$ref": "#/definitions/models.SearchGoods"
  15339. }
  15340. },
  15341. "500": {
  15342. "description": "Internal Server Error",
  15343. "schema": {
  15344. "$ref": "#/definitions/app.Response"
  15345. }
  15346. }
  15347. }
  15348. }
  15349. },
  15350. "/TaAccount/GetTaAccounts": {
  15351. "get": {
  15352. "security": [
  15353. {
  15354. "ApiKeyAuth": []
  15355. }
  15356. ],
  15357. "produces": [
  15358. "application/json"
  15359. ],
  15360. "tags": [
  15361. "资金账户"
  15362. ],
  15363. "summary": "获取资金账户信息",
  15364. "parameters": [
  15365. {
  15366. "type": "integer",
  15367. "description": "登录账户",
  15368. "name": "loginID",
  15369. "in": "query",
  15370. "required": true
  15371. },
  15372. {
  15373. "type": "integer",
  15374. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15375. "name": "taAccountType",
  15376. "in": "query"
  15377. }
  15378. ],
  15379. "responses": {
  15380. "200": {
  15381. "description": "OK",
  15382. "schema": {
  15383. "$ref": "#/definitions/models.Taaccount"
  15384. }
  15385. },
  15386. "500": {
  15387. "description": "Internal Server Error",
  15388. "schema": {
  15389. "$ref": "#/definitions/app.Response"
  15390. }
  15391. }
  15392. }
  15393. }
  15394. },
  15395. "/TaAccount/QueryAmountLog": {
  15396. "get": {
  15397. "security": [
  15398. {
  15399. "ApiKeyAuth": []
  15400. }
  15401. ],
  15402. "produces": [
  15403. "application/json"
  15404. ],
  15405. "tags": [
  15406. "资金账户"
  15407. ],
  15408. "summary": "资金流水查询(当前)",
  15409. "parameters": [
  15410. {
  15411. "type": "integer",
  15412. "description": "页码",
  15413. "name": "page",
  15414. "in": "query"
  15415. },
  15416. {
  15417. "type": "integer",
  15418. "description": "每页条数",
  15419. "name": "pagesize",
  15420. "in": "query"
  15421. },
  15422. {
  15423. "type": "integer",
  15424. "description": "分页标志 0-page从0开始 1-page从1开始",
  15425. "name": "pageflag",
  15426. "in": "query"
  15427. },
  15428. {
  15429. "type": "string",
  15430. "description": "资金账户 - 格式:1,2,3",
  15431. "name": "accountID",
  15432. "in": "query",
  15433. "required": true
  15434. },
  15435. {
  15436. "type": "string",
  15437. "description": "资金操作类型 - 格式:1,2,3",
  15438. "name": "OperateType",
  15439. "in": "query"
  15440. }
  15441. ],
  15442. "responses": {
  15443. "200": {
  15444. "description": "OK",
  15445. "schema": {
  15446. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  15447. }
  15448. },
  15449. "500": {
  15450. "description": "Internal Server Error",
  15451. "schema": {
  15452. "$ref": "#/definitions/app.Response"
  15453. }
  15454. }
  15455. }
  15456. }
  15457. },
  15458. "/TaAccount/QueryHisAmountLog": {
  15459. "get": {
  15460. "security": [
  15461. {
  15462. "ApiKeyAuth": []
  15463. }
  15464. ],
  15465. "produces": [
  15466. "application/json"
  15467. ],
  15468. "tags": [
  15469. "资金账户"
  15470. ],
  15471. "summary": "资金流水查询(历史)",
  15472. "parameters": [
  15473. {
  15474. "type": "integer",
  15475. "description": "页码",
  15476. "name": "page",
  15477. "in": "query"
  15478. },
  15479. {
  15480. "type": "integer",
  15481. "description": "每页条数",
  15482. "name": "pagesize",
  15483. "in": "query"
  15484. },
  15485. {
  15486. "type": "integer",
  15487. "description": "分页标志 0-page从0开始 1-page从1开始",
  15488. "name": "pageflag",
  15489. "in": "query"
  15490. },
  15491. {
  15492. "type": "string",
  15493. "description": "资金账户 - 格式:1,2,3",
  15494. "name": "accountID",
  15495. "in": "query",
  15496. "required": true
  15497. },
  15498. {
  15499. "type": "string",
  15500. "description": "资金操作类型 - 格式:1,2,3",
  15501. "name": "OperateType",
  15502. "in": "query"
  15503. },
  15504. {
  15505. "type": "string",
  15506. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  15507. "name": "startDate",
  15508. "in": "query"
  15509. },
  15510. {
  15511. "type": "string",
  15512. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  15513. "name": "endDate",
  15514. "in": "query"
  15515. }
  15516. ],
  15517. "responses": {
  15518. "200": {
  15519. "description": "OK",
  15520. "schema": {
  15521. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  15522. }
  15523. },
  15524. "500": {
  15525. "description": "Internal Server Error",
  15526. "schema": {
  15527. "$ref": "#/definitions/app.Response"
  15528. }
  15529. }
  15530. }
  15531. }
  15532. },
  15533. "/TaAccount/QueryRelatedTaAccount": {
  15534. "get": {
  15535. "security": [
  15536. {
  15537. "ApiKeyAuth": []
  15538. }
  15539. ],
  15540. "produces": [
  15541. "application/json"
  15542. ],
  15543. "tags": [
  15544. "资金账户"
  15545. ],
  15546. "summary": "查询关联资金账户信息",
  15547. "parameters": [
  15548. {
  15549. "type": "integer",
  15550. "description": "关联UserID",
  15551. "name": "relateduserid",
  15552. "in": "query",
  15553. "required": true
  15554. }
  15555. ],
  15556. "responses": {
  15557. "200": {
  15558. "description": "OK",
  15559. "schema": {
  15560. "type": "array",
  15561. "items": {
  15562. "$ref": "#/definitions/models.RelatedTaAccount"
  15563. }
  15564. }
  15565. },
  15566. "500": {
  15567. "description": "Internal Server Error",
  15568. "schema": {
  15569. "$ref": "#/definitions/app.Response"
  15570. }
  15571. }
  15572. }
  15573. }
  15574. },
  15575. "/Tjmd/QueryQuoteGoodsList": {
  15576. "get": {
  15577. "security": [
  15578. {
  15579. "ApiKeyAuth": []
  15580. }
  15581. ],
  15582. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  15583. "produces": [
  15584. "application/json"
  15585. ],
  15586. "tags": [
  15587. "天津麦顿"
  15588. ],
  15589. "summary": "查询掉期报价列表",
  15590. "parameters": [
  15591. {
  15592. "type": "integer",
  15593. "description": "用户类型",
  15594. "name": "usertype",
  15595. "in": "query",
  15596. "required": true
  15597. },
  15598. {
  15599. "type": "string",
  15600. "description": "市场id, 格式 1,2,3",
  15601. "name": "marketids",
  15602. "in": "query"
  15603. },
  15604. {
  15605. "type": "integer",
  15606. "description": "商品组id",
  15607. "name": "goodsgroupid",
  15608. "in": "query"
  15609. },
  15610. {
  15611. "type": "integer",
  15612. "description": "商品id",
  15613. "name": "goodsid",
  15614. "in": "query"
  15615. }
  15616. ],
  15617. "responses": {
  15618. "200": {
  15619. "description": "OK",
  15620. "schema": {
  15621. "type": "array",
  15622. "items": {
  15623. "$ref": "#/definitions/models.TjmdQuoteGoods"
  15624. }
  15625. }
  15626. },
  15627. "500": {
  15628. "description": "Internal Server Error",
  15629. "schema": {
  15630. "$ref": "#/definitions/app.Response"
  15631. }
  15632. }
  15633. }
  15634. }
  15635. },
  15636. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  15637. "get": {
  15638. "security": [
  15639. {
  15640. "ApiKeyAuth": []
  15641. }
  15642. ],
  15643. "produces": [
  15644. "application/json"
  15645. ],
  15646. "tags": [
  15647. "天津麦顿"
  15648. ],
  15649. "summary": "掉期商品订单详情(交易确认书)",
  15650. "parameters": [
  15651. {
  15652. "type": "string",
  15653. "description": "成交单号",
  15654. "name": "tradeid",
  15655. "in": "query",
  15656. "required": true
  15657. }
  15658. ],
  15659. "responses": {
  15660. "200": {
  15661. "description": "OK",
  15662. "schema": {
  15663. "type": "array",
  15664. "items": {
  15665. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  15666. }
  15667. }
  15668. },
  15669. "500": {
  15670. "description": "Internal Server Error",
  15671. "schema": {
  15672. "$ref": "#/definitions/app.Response"
  15673. }
  15674. }
  15675. }
  15676. }
  15677. },
  15678. "/Tjmd/QueryTjmdMarketSection": {
  15679. "get": {
  15680. "security": [
  15681. {
  15682. "ApiKeyAuth": []
  15683. }
  15684. ],
  15685. "produces": [
  15686. "application/json"
  15687. ],
  15688. "tags": [
  15689. "天津麦顿"
  15690. ],
  15691. "summary": "查询市场板块",
  15692. "responses": {
  15693. "200": {
  15694. "description": "OK",
  15695. "schema": {
  15696. "type": "array",
  15697. "items": {
  15698. "$ref": "#/definitions/models.TjmdMarketSection"
  15699. }
  15700. }
  15701. },
  15702. "500": {
  15703. "description": "Internal Server Error",
  15704. "schema": {
  15705. "$ref": "#/definitions/app.Response"
  15706. }
  15707. }
  15708. }
  15709. }
  15710. },
  15711. "/Tjmd/QueryTjmdTodayAccountMargin": {
  15712. "get": {
  15713. "security": [
  15714. {
  15715. "ApiKeyAuth": []
  15716. }
  15717. ],
  15718. "produces": [
  15719. "application/json"
  15720. ],
  15721. "tags": [
  15722. "天津麦顿"
  15723. ],
  15724. "summary": "查询今日账户保证金配置",
  15725. "parameters": [
  15726. {
  15727. "type": "string",
  15728. "description": "市场id",
  15729. "name": "marketid",
  15730. "in": "query"
  15731. },
  15732. {
  15733. "type": "string",
  15734. "description": "商品id",
  15735. "name": "goodsid",
  15736. "in": "query"
  15737. },
  15738. {
  15739. "type": "string",
  15740. "description": "资金账号",
  15741. "name": "accountid",
  15742. "in": "query"
  15743. }
  15744. ],
  15745. "responses": {
  15746. "200": {
  15747. "description": "OK",
  15748. "schema": {
  15749. "type": "array",
  15750. "items": {
  15751. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  15752. }
  15753. }
  15754. },
  15755. "500": {
  15756. "description": "Internal Server Error",
  15757. "schema": {
  15758. "$ref": "#/definitions/app.Response"
  15759. }
  15760. }
  15761. }
  15762. }
  15763. },
  15764. "/Tjmd/QueryTjmdTradeOrderDetail": {
  15765. "get": {
  15766. "security": [
  15767. {
  15768. "ApiKeyAuth": []
  15769. }
  15770. ],
  15771. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  15772. "produces": [
  15773. "application/json"
  15774. ],
  15775. "tags": [
  15776. "天津麦顿"
  15777. ],
  15778. "summary": "查询掉期买卖大厅",
  15779. "parameters": [
  15780. {
  15781. "type": "integer",
  15782. "description": "页码",
  15783. "name": "page",
  15784. "in": "query"
  15785. },
  15786. {
  15787. "type": "integer",
  15788. "description": "每页条数",
  15789. "name": "pagesize",
  15790. "in": "query"
  15791. },
  15792. {
  15793. "type": "integer",
  15794. "description": "用户id",
  15795. "name": "userid",
  15796. "in": "query",
  15797. "required": true
  15798. },
  15799. {
  15800. "type": "integer",
  15801. "description": "用户类型",
  15802. "name": "usertype",
  15803. "in": "query",
  15804. "required": true
  15805. },
  15806. {
  15807. "type": "string",
  15808. "description": "市场id, 格式 1,2,3",
  15809. "name": "marketids",
  15810. "in": "query"
  15811. },
  15812. {
  15813. "type": "integer",
  15814. "description": "商品id",
  15815. "name": "goodsid",
  15816. "in": "query",
  15817. "required": true
  15818. },
  15819. {
  15820. "type": "integer",
  15821. "description": "买卖方向 0-买 1-卖",
  15822. "name": "buyorsell",
  15823. "in": "query",
  15824. "required": true
  15825. }
  15826. ],
  15827. "responses": {
  15828. "200": {
  15829. "description": "OK",
  15830. "schema": {
  15831. "type": "array",
  15832. "items": {
  15833. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  15834. }
  15835. }
  15836. },
  15837. "500": {
  15838. "description": "Internal Server Error",
  15839. "schema": {
  15840. "$ref": "#/definitions/app.Response"
  15841. }
  15842. }
  15843. }
  15844. }
  15845. },
  15846. "/Tjmd/QueryTjmdTransferApply": {
  15847. "get": {
  15848. "security": [
  15849. {
  15850. "ApiKeyAuth": []
  15851. }
  15852. ],
  15853. "produces": [
  15854. "application/json"
  15855. ],
  15856. "tags": [
  15857. "天津麦顿"
  15858. ],
  15859. "summary": "查询掉期协议单",
  15860. "parameters": [
  15861. {
  15862. "type": "integer",
  15863. "description": "类型 1-我的申请 2-对方申请",
  15864. "name": "applytype",
  15865. "in": "query",
  15866. "required": true
  15867. },
  15868. {
  15869. "type": "string",
  15870. "description": "市场id, 格式 1,2,3",
  15871. "name": "marketids",
  15872. "in": "query"
  15873. },
  15874. {
  15875. "type": "string",
  15876. "description": "资金账号, 格式 25000000001,25000000003",
  15877. "name": "accountids",
  15878. "in": "query"
  15879. },
  15880. {
  15881. "type": "string",
  15882. "description": "开始交易日(yyyymmdd)",
  15883. "name": "begindate",
  15884. "in": "query"
  15885. },
  15886. {
  15887. "type": "string",
  15888. "description": "结束交易日(yyyymmdd)",
  15889. "name": "enddate",
  15890. "in": "query"
  15891. }
  15892. ],
  15893. "responses": {
  15894. "200": {
  15895. "description": "OK",
  15896. "schema": {
  15897. "type": "array",
  15898. "items": {
  15899. "$ref": "#/definitions/models.TjmdTransferApply"
  15900. }
  15901. }
  15902. },
  15903. "500": {
  15904. "description": "Internal Server Error",
  15905. "schema": {
  15906. "$ref": "#/definitions/app.Response"
  15907. }
  15908. }
  15909. }
  15910. }
  15911. },
  15912. "/Trade/QueryRecieptOrder": {
  15913. "get": {
  15914. "security": [
  15915. {
  15916. "ApiKeyAuth": []
  15917. }
  15918. ],
  15919. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  15920. "produces": [
  15921. "application/json"
  15922. ],
  15923. "tags": [
  15924. "通用交易"
  15925. ],
  15926. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  15927. "parameters": [
  15928. {
  15929. "type": "integer",
  15930. "description": "页码",
  15931. "name": "page",
  15932. "in": "query"
  15933. },
  15934. {
  15935. "type": "integer",
  15936. "description": "每页条数",
  15937. "name": "pagesize",
  15938. "in": "query"
  15939. },
  15940. {
  15941. "type": "integer",
  15942. "description": "商品ID",
  15943. "name": "goodsID",
  15944. "in": "query",
  15945. "required": true
  15946. },
  15947. {
  15948. "type": "string",
  15949. "description": "所属账户名称",
  15950. "name": "accountName",
  15951. "in": "query"
  15952. },
  15953. {
  15954. "type": "integer",
  15955. "description": "市场ID",
  15956. "name": "marketID",
  15957. "in": "query"
  15958. },
  15959. {
  15960. "type": "integer",
  15961. "description": "方向 - 0:买 1:卖",
  15962. "name": "buyorsell",
  15963. "in": "query",
  15964. "required": true
  15965. }
  15966. ],
  15967. "responses": {
  15968. "200": {
  15969. "description": "OK",
  15970. "schema": {
  15971. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  15972. }
  15973. },
  15974. "500": {
  15975. "description": "Internal Server Error",
  15976. "schema": {
  15977. "$ref": "#/definitions/app.Response"
  15978. }
  15979. }
  15980. }
  15981. }
  15982. },
  15983. "/User/AddMessageBoard": {
  15984. "post": {
  15985. "security": [
  15986. {
  15987. "ApiKeyAuth": []
  15988. }
  15989. ],
  15990. "produces": [
  15991. "application/json"
  15992. ],
  15993. "tags": [
  15994. "用户信息"
  15995. ],
  15996. "summary": "添加用户留言板信息",
  15997. "parameters": [
  15998. {
  15999. "type": "integer",
  16000. "description": "用户ID",
  16001. "name": "userID",
  16002. "in": "query",
  16003. "required": true
  16004. },
  16005. {
  16006. "type": "string",
  16007. "description": "留言信息",
  16008. "name": "message",
  16009. "in": "query",
  16010. "required": true
  16011. },
  16012. {
  16013. "type": "string",
  16014. "description": "联系电话",
  16015. "name": "contactNum",
  16016. "in": "query",
  16017. "required": true
  16018. }
  16019. ],
  16020. "responses": {
  16021. "200": {
  16022. "description": "OK",
  16023. "schema": {
  16024. "$ref": "#/definitions/app.Response"
  16025. }
  16026. },
  16027. "500": {
  16028. "description": "Internal Server Error",
  16029. "schema": {
  16030. "$ref": "#/definitions/app.Response"
  16031. }
  16032. }
  16033. }
  16034. }
  16035. },
  16036. "/User/AddUserFavoriteGoods": {
  16037. "post": {
  16038. "security": [
  16039. {
  16040. "ApiKeyAuth": []
  16041. }
  16042. ],
  16043. "produces": [
  16044. "application/json"
  16045. ],
  16046. "tags": [
  16047. "用户信息"
  16048. ],
  16049. "summary": "添加用户商品收藏信息",
  16050. "parameters": [
  16051. {
  16052. "type": "integer",
  16053. "description": "用户ID",
  16054. "name": "userID",
  16055. "in": "query",
  16056. "required": true
  16057. },
  16058. {
  16059. "type": "integer",
  16060. "description": "商品ID",
  16061. "name": "goodsID",
  16062. "in": "query",
  16063. "required": true
  16064. }
  16065. ],
  16066. "responses": {
  16067. "200": {
  16068. "description": "OK",
  16069. "schema": {
  16070. "$ref": "#/definitions/app.Response"
  16071. }
  16072. },
  16073. "500": {
  16074. "description": "Internal Server Error",
  16075. "schema": {
  16076. "$ref": "#/definitions/app.Response"
  16077. }
  16078. }
  16079. }
  16080. }
  16081. },
  16082. "/User/GetLoginID": {
  16083. "get": {
  16084. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  16085. "produces": [
  16086. "application/json"
  16087. ],
  16088. "tags": [
  16089. "用户信息"
  16090. ],
  16091. "summary": "获取登录ID",
  16092. "parameters": [
  16093. {
  16094. "type": "string",
  16095. "description": "登录代码",
  16096. "name": "username",
  16097. "in": "query",
  16098. "required": true
  16099. }
  16100. ],
  16101. "responses": {
  16102. "200": {
  16103. "description": "OK",
  16104. "schema": {
  16105. "$ref": "#/definitions/app.Response"
  16106. }
  16107. },
  16108. "500": {
  16109. "description": "Internal Server Error",
  16110. "schema": {
  16111. "$ref": "#/definitions/app.Response"
  16112. }
  16113. }
  16114. }
  16115. }
  16116. },
  16117. "/User/GetUserAccount": {
  16118. "get": {
  16119. "security": [
  16120. {
  16121. "ApiKeyAuth": []
  16122. }
  16123. ],
  16124. "produces": [
  16125. "application/json"
  16126. ],
  16127. "tags": [
  16128. "用户信息"
  16129. ],
  16130. "summary": "获取用户账号信息",
  16131. "parameters": [
  16132. {
  16133. "type": "integer",
  16134. "description": "用户ID",
  16135. "name": "userID",
  16136. "in": "query",
  16137. "required": true
  16138. }
  16139. ],
  16140. "responses": {
  16141. "200": {
  16142. "description": "OK",
  16143. "schema": {
  16144. "$ref": "#/definitions/models.Useraccount"
  16145. }
  16146. },
  16147. "500": {
  16148. "description": "Internal Server Error",
  16149. "schema": {
  16150. "$ref": "#/definitions/app.Response"
  16151. }
  16152. }
  16153. }
  16154. }
  16155. },
  16156. "/User/GetUserAuthStatus": {
  16157. "get": {
  16158. "security": [
  16159. {
  16160. "ApiKeyAuth": []
  16161. }
  16162. ],
  16163. "produces": [
  16164. "application/json"
  16165. ],
  16166. "tags": [
  16167. "用户信息"
  16168. ],
  16169. "summary": "获取用户实名认证状态",
  16170. "parameters": [
  16171. {
  16172. "type": "integer",
  16173. "description": "用户ID",
  16174. "name": "userID",
  16175. "in": "query",
  16176. "required": true
  16177. }
  16178. ],
  16179. "responses": {
  16180. "200": {
  16181. "description": "OK",
  16182. "schema": {
  16183. "$ref": "#/definitions/app.Response"
  16184. }
  16185. },
  16186. "500": {
  16187. "description": "Internal Server Error",
  16188. "schema": {
  16189. "$ref": "#/definitions/app.Response"
  16190. }
  16191. }
  16192. }
  16193. }
  16194. },
  16195. "/User/LoginQuery": {
  16196. "get": {
  16197. "security": [
  16198. {
  16199. "ApiKeyAuth": []
  16200. }
  16201. ],
  16202. "produces": [
  16203. "application/json"
  16204. ],
  16205. "tags": [
  16206. "用户信息"
  16207. ],
  16208. "summary": "账户登录后信息查询",
  16209. "parameters": [
  16210. {
  16211. "type": "integer",
  16212. "description": "登录账号",
  16213. "name": "loginID",
  16214. "in": "query",
  16215. "required": true
  16216. }
  16217. ],
  16218. "responses": {
  16219. "200": {
  16220. "description": "OK",
  16221. "schema": {
  16222. "$ref": "#/definitions/user.LoginQueryRsp"
  16223. }
  16224. },
  16225. "500": {
  16226. "description": "Internal Server Error",
  16227. "schema": {
  16228. "$ref": "#/definitions/app.Response"
  16229. }
  16230. }
  16231. }
  16232. }
  16233. },
  16234. "/User/QueryMessageBoard": {
  16235. "get": {
  16236. "security": [
  16237. {
  16238. "ApiKeyAuth": []
  16239. }
  16240. ],
  16241. "produces": [
  16242. "application/json"
  16243. ],
  16244. "tags": [
  16245. "用户信息"
  16246. ],
  16247. "summary": "获取用户留言板信息",
  16248. "parameters": [
  16249. {
  16250. "type": "integer",
  16251. "description": "用户ID",
  16252. "name": "userID",
  16253. "in": "query",
  16254. "required": true
  16255. }
  16256. ],
  16257. "responses": {
  16258. "200": {
  16259. "description": "OK",
  16260. "schema": {
  16261. "$ref": "#/definitions/models.Messageboard"
  16262. }
  16263. },
  16264. "500": {
  16265. "description": "Internal Server Error",
  16266. "schema": {
  16267. "$ref": "#/definitions/app.Response"
  16268. }
  16269. }
  16270. }
  16271. }
  16272. },
  16273. "/User/QueryUserFavoriteGoodses": {
  16274. "get": {
  16275. "security": [
  16276. {
  16277. "ApiKeyAuth": []
  16278. }
  16279. ],
  16280. "produces": [
  16281. "application/json"
  16282. ],
  16283. "tags": [
  16284. "用户信息"
  16285. ],
  16286. "summary": "获取用户商品收藏信息",
  16287. "parameters": [
  16288. {
  16289. "type": "integer",
  16290. "description": "用户ID",
  16291. "name": "userID",
  16292. "in": "query",
  16293. "required": true
  16294. }
  16295. ],
  16296. "responses": {
  16297. "200": {
  16298. "description": "OK",
  16299. "schema": {
  16300. "$ref": "#/definitions/models.Userfavoritegoods"
  16301. }
  16302. },
  16303. "500": {
  16304. "description": "Internal Server Error",
  16305. "schema": {
  16306. "$ref": "#/definitions/app.Response"
  16307. }
  16308. }
  16309. }
  16310. }
  16311. },
  16312. "/User/QueryUserInfo": {
  16313. "get": {
  16314. "security": [
  16315. {
  16316. "ApiKeyAuth": []
  16317. }
  16318. ],
  16319. "produces": [
  16320. "application/json"
  16321. ],
  16322. "tags": [
  16323. "用户信息"
  16324. ],
  16325. "summary": "获取用户信息",
  16326. "parameters": [
  16327. {
  16328. "type": "integer",
  16329. "description": "用户ID",
  16330. "name": "userID",
  16331. "in": "query",
  16332. "required": true
  16333. },
  16334. {
  16335. "type": "boolean",
  16336. "description": "是否解密",
  16337. "name": "isDecrypt",
  16338. "in": "query"
  16339. }
  16340. ],
  16341. "responses": {
  16342. "200": {
  16343. "description": "OK",
  16344. "schema": {
  16345. "$ref": "#/definitions/models.Userinfo"
  16346. }
  16347. },
  16348. "500": {
  16349. "description": "Internal Server Error",
  16350. "schema": {
  16351. "$ref": "#/definitions/app.Response"
  16352. }
  16353. }
  16354. }
  16355. }
  16356. },
  16357. "/User/QueryUserReferNum": {
  16358. "get": {
  16359. "produces": [
  16360. "application/json"
  16361. ],
  16362. "tags": [
  16363. "用户信息"
  16364. ],
  16365. "summary": "获取用户邀请码",
  16366. "parameters": [
  16367. {
  16368. "type": "integer",
  16369. "description": "用户ID",
  16370. "name": "userID",
  16371. "in": "query",
  16372. "required": true
  16373. }
  16374. ],
  16375. "responses": {
  16376. "200": {
  16377. "description": "OK",
  16378. "schema": {
  16379. "$ref": "#/definitions/app.Response"
  16380. }
  16381. },
  16382. "500": {
  16383. "description": "Internal Server Error",
  16384. "schema": {
  16385. "$ref": "#/definitions/app.Response"
  16386. }
  16387. }
  16388. }
  16389. }
  16390. },
  16391. "/User/RemoveUserFavoriteGoods": {
  16392. "post": {
  16393. "security": [
  16394. {
  16395. "ApiKeyAuth": []
  16396. }
  16397. ],
  16398. "produces": [
  16399. "application/json"
  16400. ],
  16401. "tags": [
  16402. "用户信息"
  16403. ],
  16404. "summary": "移除用户商品收藏信息",
  16405. "parameters": [
  16406. {
  16407. "type": "integer",
  16408. "description": "用户ID",
  16409. "name": "userID",
  16410. "in": "query",
  16411. "required": true
  16412. },
  16413. {
  16414. "type": "integer",
  16415. "description": "商品ID",
  16416. "name": "goodsID",
  16417. "in": "query",
  16418. "required": true
  16419. }
  16420. ],
  16421. "responses": {
  16422. "200": {
  16423. "description": "OK",
  16424. "schema": {
  16425. "$ref": "#/definitions/app.Response"
  16426. }
  16427. },
  16428. "500": {
  16429. "description": "Internal Server Error",
  16430. "schema": {
  16431. "$ref": "#/definitions/app.Response"
  16432. }
  16433. }
  16434. }
  16435. }
  16436. },
  16437. "/User/UpdateUserAccountStatus": {
  16438. "post": {
  16439. "security": [
  16440. {
  16441. "ApiKeyAuth": []
  16442. }
  16443. ],
  16444. "produces": [
  16445. "application/json"
  16446. ],
  16447. "tags": [
  16448. "用户信息"
  16449. ],
  16450. "summary": "更新用户状态",
  16451. "parameters": [
  16452. {
  16453. "type": "integer",
  16454. "description": "用户ID",
  16455. "name": "userID",
  16456. "in": "query",
  16457. "required": true
  16458. },
  16459. {
  16460. "type": "integer",
  16461. "description": "账户状态 - 4:正常 6:注销(停用)",
  16462. "name": "accountStatus",
  16463. "in": "query",
  16464. "required": true
  16465. }
  16466. ],
  16467. "responses": {
  16468. "200": {
  16469. "description": "OK",
  16470. "schema": {
  16471. "$ref": "#/definitions/app.Response"
  16472. }
  16473. },
  16474. "500": {
  16475. "description": "Internal Server Error",
  16476. "schema": {
  16477. "$ref": "#/definitions/app.Response"
  16478. }
  16479. }
  16480. }
  16481. }
  16482. },
  16483. "/WRTrade/GetAllDeliveryGoods": {
  16484. "get": {
  16485. "security": [
  16486. {
  16487. "ApiKeyAuth": []
  16488. }
  16489. ],
  16490. "produces": [
  16491. "application/json"
  16492. ],
  16493. "tags": [
  16494. "仓单贸易",
  16495. "仓单贸易"
  16496. ],
  16497. "summary": "获取带仓单分类的种类信息",
  16498. "responses": {
  16499. "200": {
  16500. "description": "OK",
  16501. "schema": {
  16502. "$ref": "#/definitions/app.Response"
  16503. }
  16504. },
  16505. "500": {
  16506. "description": "Internal Server Error",
  16507. "schema": {
  16508. "$ref": "#/definitions/app.Response"
  16509. }
  16510. }
  16511. }
  16512. }
  16513. },
  16514. "/WrTrade2/InsertXhcpSellBackApply": {
  16515. "post": {
  16516. "security": [
  16517. {
  16518. "ApiKeyAuth": []
  16519. }
  16520. ],
  16521. "produces": [
  16522. "application/json"
  16523. ],
  16524. "tags": [
  16525. "仓单贸易v2"
  16526. ],
  16527. "summary": "新增回收申请(新会陈皮)",
  16528. "parameters": [
  16529. {
  16530. "description": "回收申请",
  16531. "name": "jsonBody",
  16532. "in": "body",
  16533. "required": true,
  16534. "schema": {
  16535. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  16536. }
  16537. }
  16538. ],
  16539. "responses": {
  16540. "200": {
  16541. "description": "OK",
  16542. "schema": {
  16543. "$ref": "#/definitions/app.Response"
  16544. }
  16545. },
  16546. "500": {
  16547. "description": "Internal Server Error",
  16548. "schema": {
  16549. "$ref": "#/definitions/app.Response"
  16550. }
  16551. }
  16552. }
  16553. }
  16554. },
  16555. "/WrTrade2/QueryDeliveryGoodsSection": {
  16556. "get": {
  16557. "security": [
  16558. {
  16559. "ApiKeyAuth": []
  16560. }
  16561. ],
  16562. "produces": [
  16563. "application/json"
  16564. ],
  16565. "tags": [
  16566. "仓单贸易v2"
  16567. ],
  16568. "summary": "查询板块(分类)",
  16569. "responses": {
  16570. "200": {
  16571. "description": "OK",
  16572. "schema": {
  16573. "type": "array",
  16574. "items": {
  16575. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  16576. }
  16577. }
  16578. },
  16579. "500": {
  16580. "description": "Internal Server Error",
  16581. "schema": {
  16582. "$ref": "#/definitions/app.Response"
  16583. }
  16584. }
  16585. }
  16586. }
  16587. },
  16588. "/WrTrade2/QueryFaProductDetail": {
  16589. "get": {
  16590. "security": [
  16591. {
  16592. "ApiKeyAuth": []
  16593. }
  16594. ],
  16595. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  16596. "produces": [
  16597. "application/json"
  16598. ],
  16599. "tags": [
  16600. "仓单贸易v2"
  16601. ],
  16602. "summary": "查询融资产品列表",
  16603. "parameters": [
  16604. {
  16605. "type": "integer",
  16606. "description": "仓单要素id",
  16607. "name": "wrfactortypeid",
  16608. "in": "query",
  16609. "required": true
  16610. }
  16611. ],
  16612. "responses": {
  16613. "200": {
  16614. "description": "OK",
  16615. "schema": {
  16616. "type": "array",
  16617. "items": {
  16618. "$ref": "#/definitions/models.WrFAProductDetail"
  16619. }
  16620. }
  16621. },
  16622. "500": {
  16623. "description": "Internal Server Error",
  16624. "schema": {
  16625. "$ref": "#/definitions/app.Response"
  16626. }
  16627. }
  16628. }
  16629. }
  16630. },
  16631. "/WrTrade2/QueryFilterItem": {
  16632. "get": {
  16633. "security": [
  16634. {
  16635. "ApiKeyAuth": []
  16636. }
  16637. ],
  16638. "produces": [
  16639. "application/json"
  16640. ],
  16641. "tags": [
  16642. "仓单贸易v2"
  16643. ],
  16644. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  16645. "parameters": [
  16646. {
  16647. "type": "string",
  16648. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  16649. "name": "itype",
  16650. "in": "query",
  16651. "required": true
  16652. }
  16653. ],
  16654. "responses": {
  16655. "200": {
  16656. "description": "OK",
  16657. "schema": {
  16658. "type": "array",
  16659. "items": {
  16660. "$ref": "#/definitions/models.WrFilterItem"
  16661. }
  16662. }
  16663. },
  16664. "500": {
  16665. "description": "Internal Server Error",
  16666. "schema": {
  16667. "$ref": "#/definitions/app.Response"
  16668. }
  16669. }
  16670. }
  16671. }
  16672. },
  16673. "/WrTrade2/QueryFtDeliveryGoods": {
  16674. "get": {
  16675. "security": [
  16676. {
  16677. "ApiKeyAuth": []
  16678. }
  16679. ],
  16680. "produces": [
  16681. "application/json"
  16682. ],
  16683. "tags": [
  16684. "仓单贸易v2"
  16685. ],
  16686. "summary": "查询品种品类筛选框列表",
  16687. "responses": {
  16688. "200": {
  16689. "description": "OK",
  16690. "schema": {
  16691. "type": "array",
  16692. "items": {
  16693. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  16694. }
  16695. }
  16696. },
  16697. "500": {
  16698. "description": "Internal Server Error",
  16699. "schema": {
  16700. "$ref": "#/definitions/app.Response"
  16701. }
  16702. }
  16703. }
  16704. }
  16705. },
  16706. "/WrTrade2/QueryHoldLB": {
  16707. "get": {
  16708. "security": [
  16709. {
  16710. "ApiKeyAuth": []
  16711. }
  16712. ],
  16713. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  16714. "produces": [
  16715. "application/json"
  16716. ],
  16717. "tags": [
  16718. "仓单贸易v2"
  16719. ],
  16720. "summary": "查询仓单持有记录",
  16721. "parameters": [
  16722. {
  16723. "type": "integer",
  16724. "description": "资金账号",
  16725. "name": "accountid",
  16726. "in": "query",
  16727. "required": true
  16728. },
  16729. {
  16730. "type": "integer",
  16731. "description": "仓库id",
  16732. "name": "warehouseid",
  16733. "in": "query"
  16734. },
  16735. {
  16736. "type": "integer",
  16737. "description": "品种id",
  16738. "name": "deliverygoodsid",
  16739. "in": "query"
  16740. },
  16741. {
  16742. "type": "integer",
  16743. "description": "品类id",
  16744. "name": "wrstandardid",
  16745. "in": "query"
  16746. },
  16747. {
  16748. "type": "integer",
  16749. "description": "仓单要素id",
  16750. "name": "wrfactortypeid",
  16751. "in": "query"
  16752. },
  16753. {
  16754. "type": "string",
  16755. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16756. "name": "dgitemname",
  16757. "in": "query"
  16758. }
  16759. ],
  16760. "responses": {
  16761. "200": {
  16762. "description": "OK",
  16763. "schema": {
  16764. "type": "array",
  16765. "items": {
  16766. "$ref": "#/definitions/models.WrHoldLB"
  16767. }
  16768. }
  16769. },
  16770. "500": {
  16771. "description": "Internal Server Error",
  16772. "schema": {
  16773. "$ref": "#/definitions/app.Response"
  16774. }
  16775. }
  16776. }
  16777. }
  16778. },
  16779. "/WrTrade2/QueryOrderQuote": {
  16780. "get": {
  16781. "security": [
  16782. {
  16783. "ApiKeyAuth": []
  16784. }
  16785. ],
  16786. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  16787. "produces": [
  16788. "application/json"
  16789. ],
  16790. "tags": [
  16791. "仓单贸易v2"
  16792. ],
  16793. "summary": "查询大厅行情列表",
  16794. "parameters": [
  16795. {
  16796. "type": "integer",
  16797. "description": "页码",
  16798. "name": "page",
  16799. "in": "query"
  16800. },
  16801. {
  16802. "type": "integer",
  16803. "description": "每页条数",
  16804. "name": "pagesize",
  16805. "in": "query"
  16806. },
  16807. {
  16808. "type": "integer",
  16809. "description": "仓单贸易市场id",
  16810. "name": "marketid",
  16811. "in": "query"
  16812. },
  16813. {
  16814. "type": "integer",
  16815. "description": "价格方式 - 1:固定价 2-浮动价",
  16816. "name": "wrpricetype",
  16817. "in": "query",
  16818. "required": true
  16819. },
  16820. {
  16821. "type": "integer",
  16822. "description": "0:仓单预售 1:仓单贸易",
  16823. "name": "haswr",
  16824. "in": "query"
  16825. },
  16826. {
  16827. "type": "string",
  16828. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16829. "name": "dgitemname",
  16830. "in": "query"
  16831. },
  16832. {
  16833. "type": "integer",
  16834. "description": "仓库id(筛选条件)",
  16835. "name": "warehouseid",
  16836. "in": "query"
  16837. },
  16838. {
  16839. "type": "integer",
  16840. "description": "品种id",
  16841. "name": "deliverygoodsid",
  16842. "in": "query"
  16843. },
  16844. {
  16845. "type": "integer",
  16846. "description": "品类id",
  16847. "name": "wrstandardid",
  16848. "in": "query"
  16849. },
  16850. {
  16851. "type": "integer",
  16852. "description": "品牌id(dgfactoryitemid)",
  16853. "name": "brandid",
  16854. "in": "query"
  16855. },
  16856. {
  16857. "type": "integer",
  16858. "description": "年份id(dgfactoryitemid)",
  16859. "name": "yearsid",
  16860. "in": "query"
  16861. },
  16862. {
  16863. "type": "integer",
  16864. "description": "仓单要素id",
  16865. "name": "wrfactortypeid",
  16866. "in": "query"
  16867. },
  16868. {
  16869. "type": "string",
  16870. "description": "交收月(yyyy-mm) 仓单预售填写",
  16871. "name": "deliverymonth",
  16872. "in": "query"
  16873. }
  16874. ],
  16875. "responses": {
  16876. "200": {
  16877. "description": "OK",
  16878. "schema": {
  16879. "type": "array",
  16880. "items": {
  16881. "$ref": "#/definitions/models.WrOrderQuote"
  16882. }
  16883. }
  16884. },
  16885. "500": {
  16886. "description": "Internal Server Error",
  16887. "schema": {
  16888. "$ref": "#/definitions/app.Response"
  16889. }
  16890. }
  16891. }
  16892. }
  16893. },
  16894. "/WrTrade2/QueryOrderQuoteDetail": {
  16895. "get": {
  16896. "security": [
  16897. {
  16898. "ApiKeyAuth": []
  16899. }
  16900. ],
  16901. "produces": [
  16902. "application/json"
  16903. ],
  16904. "tags": [
  16905. "仓单贸易v2"
  16906. ],
  16907. "summary": "查询买卖大厅",
  16908. "parameters": [
  16909. {
  16910. "type": "integer",
  16911. "description": "页码",
  16912. "name": "page",
  16913. "in": "query"
  16914. },
  16915. {
  16916. "type": "integer",
  16917. "description": "每页条数",
  16918. "name": "pagesize",
  16919. "in": "query"
  16920. },
  16921. {
  16922. "type": "integer",
  16923. "description": "仓单贸易市场id",
  16924. "name": "marketid",
  16925. "in": "query"
  16926. },
  16927. {
  16928. "type": "integer",
  16929. "description": "价格方式 - 1:固定价 2-浮动价",
  16930. "name": "wrpricetype",
  16931. "in": "query",
  16932. "required": true
  16933. },
  16934. {
  16935. "type": "integer",
  16936. "description": "0:仓单预售 1:仓单贸易",
  16937. "name": "haswr",
  16938. "in": "query"
  16939. },
  16940. {
  16941. "type": "integer",
  16942. "description": "仓单要素id",
  16943. "name": "wrfactortypeid",
  16944. "in": "query",
  16945. "required": true
  16946. },
  16947. {
  16948. "type": "integer",
  16949. "description": "期货商品id(浮动价方式时填)",
  16950. "name": "goodsid",
  16951. "in": "query"
  16952. },
  16953. {
  16954. "type": "integer",
  16955. "description": "买卖方向 0-买 1-卖",
  16956. "name": "buyorsell",
  16957. "in": "query",
  16958. "required": true
  16959. },
  16960. {
  16961. "type": "string",
  16962. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  16963. "name": "deliverymonth",
  16964. "in": "query"
  16965. }
  16966. ],
  16967. "responses": {
  16968. "200": {
  16969. "description": "OK",
  16970. "schema": {
  16971. "type": "array",
  16972. "items": {
  16973. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  16974. }
  16975. }
  16976. },
  16977. "500": {
  16978. "description": "Internal Server Error",
  16979. "schema": {
  16980. "$ref": "#/definitions/app.Response"
  16981. }
  16982. }
  16983. }
  16984. }
  16985. },
  16986. "/WrTrade2/QueryOrderQuoteMyq": {
  16987. "get": {
  16988. "security": [
  16989. {
  16990. "ApiKeyAuth": []
  16991. }
  16992. ],
  16993. "produces": [
  16994. "application/json"
  16995. ],
  16996. "tags": [
  16997. "仓单贸易v2"
  16998. ],
  16999. "summary": "查询贸易圈挂牌大厅",
  17000. "parameters": [
  17001. {
  17002. "type": "integer",
  17003. "description": "页码",
  17004. "name": "page",
  17005. "in": "query"
  17006. },
  17007. {
  17008. "type": "integer",
  17009. "description": "每页条数",
  17010. "name": "pagesize",
  17011. "in": "query"
  17012. },
  17013. {
  17014. "type": "integer",
  17015. "description": "用户id",
  17016. "name": "userid",
  17017. "in": "query",
  17018. "required": true
  17019. },
  17020. {
  17021. "type": "integer",
  17022. "description": "仓单贸易市场id",
  17023. "name": "marketid",
  17024. "in": "query"
  17025. },
  17026. {
  17027. "type": "integer",
  17028. "description": "0:仓单预售 1:仓单贸易",
  17029. "name": "haswr",
  17030. "in": "query"
  17031. },
  17032. {
  17033. "type": "integer",
  17034. "description": "买卖方向 0-买 1-卖",
  17035. "name": "buyorsell",
  17036. "in": "query",
  17037. "required": true
  17038. },
  17039. {
  17040. "type": "integer",
  17041. "description": "品种id",
  17042. "name": "deliverygoodsid",
  17043. "in": "query"
  17044. },
  17045. {
  17046. "type": "integer",
  17047. "description": "品类id",
  17048. "name": "wrstandardid",
  17049. "in": "query"
  17050. },
  17051. {
  17052. "type": "string",
  17053. "description": "交收月(yyyy-mm) 仓单预售填写",
  17054. "name": "deliverymonth",
  17055. "in": "query"
  17056. },
  17057. {
  17058. "type": "string",
  17059. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  17060. "name": "dgitemname",
  17061. "in": "query"
  17062. }
  17063. ],
  17064. "responses": {
  17065. "200": {
  17066. "description": "OK",
  17067. "schema": {
  17068. "type": "array",
  17069. "items": {
  17070. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  17071. }
  17072. }
  17073. },
  17074. "500": {
  17075. "description": "Internal Server Error",
  17076. "schema": {
  17077. "$ref": "#/definitions/app.Response"
  17078. }
  17079. }
  17080. }
  17081. }
  17082. },
  17083. "/WrTrade2/QueryPerformancePlan": {
  17084. "get": {
  17085. "security": [
  17086. {
  17087. "ApiKeyAuth": []
  17088. }
  17089. ],
  17090. "produces": [
  17091. "application/json"
  17092. ],
  17093. "tags": [
  17094. "仓单贸易v2"
  17095. ],
  17096. "summary": "查询履约信息",
  17097. "parameters": [
  17098. {
  17099. "type": "integer",
  17100. "description": "用户id",
  17101. "name": "userid",
  17102. "in": "query",
  17103. "required": true
  17104. },
  17105. {
  17106. "type": "integer",
  17107. "description": "买卖方向 0-买 1-卖",
  17108. "name": "buyorsell",
  17109. "in": "query",
  17110. "required": true
  17111. },
  17112. {
  17113. "type": "string",
  17114. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  17115. "name": "status",
  17116. "in": "query"
  17117. },
  17118. {
  17119. "type": "string",
  17120. "description": "开始交易日(yyyymmdd)",
  17121. "name": "begindate",
  17122. "in": "query"
  17123. },
  17124. {
  17125. "type": "string",
  17126. "description": "结束交易日(yyyymmdd)",
  17127. "name": "enddate",
  17128. "in": "query"
  17129. }
  17130. ],
  17131. "responses": {
  17132. "200": {
  17133. "description": "OK",
  17134. "schema": {
  17135. "type": "array",
  17136. "items": {
  17137. "$ref": "#/definitions/models.WrPerformancePlan"
  17138. }
  17139. }
  17140. },
  17141. "500": {
  17142. "description": "Internal Server Error",
  17143. "schema": {
  17144. "$ref": "#/definitions/app.Response"
  17145. }
  17146. }
  17147. }
  17148. }
  17149. },
  17150. "/WrTrade2/QueryPermancePlanTmp": {
  17151. "get": {
  17152. "security": [
  17153. {
  17154. "ApiKeyAuth": []
  17155. }
  17156. ],
  17157. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  17158. "produces": [
  17159. "application/json"
  17160. ],
  17161. "tags": [
  17162. "仓单贸易v2"
  17163. ],
  17164. "summary": "查询履约模板",
  17165. "parameters": [
  17166. {
  17167. "type": "integer",
  17168. "description": "用户id",
  17169. "name": "userid",
  17170. "in": "query"
  17171. },
  17172. {
  17173. "type": "string",
  17174. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  17175. "name": "tmptype",
  17176. "in": "query"
  17177. },
  17178. {
  17179. "type": "integer",
  17180. "description": "是否包含公共模板(用户id为空的) 1-包含",
  17181. "name": "includepub",
  17182. "in": "query"
  17183. },
  17184. {
  17185. "type": "integer",
  17186. "description": "市场id(天津麦顿指定此参数,其它不用)",
  17187. "name": "marketid",
  17188. "in": "query"
  17189. }
  17190. ],
  17191. "responses": {
  17192. "200": {
  17193. "description": "OK",
  17194. "schema": {
  17195. "type": "array",
  17196. "items": {
  17197. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  17198. }
  17199. }
  17200. },
  17201. "500": {
  17202. "description": "Internal Server Error",
  17203. "schema": {
  17204. "$ref": "#/definitions/app.Response"
  17205. }
  17206. }
  17207. }
  17208. }
  17209. },
  17210. "/WrTrade2/QuerySiteColumnConfig": {
  17211. "get": {
  17212. "security": [
  17213. {
  17214. "ApiKeyAuth": []
  17215. }
  17216. ],
  17217. "produces": [
  17218. "application/json"
  17219. ],
  17220. "tags": [
  17221. "仓单贸易v2"
  17222. ],
  17223. "summary": "查询资讯栏目配置",
  17224. "parameters": [
  17225. {
  17226. "type": "integer",
  17227. "description": "页码",
  17228. "name": "page",
  17229. "in": "query"
  17230. },
  17231. {
  17232. "type": "integer",
  17233. "description": "每页条数",
  17234. "name": "pagesize",
  17235. "in": "query"
  17236. },
  17237. {
  17238. "type": "integer",
  17239. "description": "栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色",
  17240. "name": "columntype",
  17241. "in": "query"
  17242. }
  17243. ],
  17244. "responses": {
  17245. "200": {
  17246. "description": "OK",
  17247. "schema": {
  17248. "type": "array",
  17249. "items": {
  17250. "$ref": "#/definitions/models.Sitecolumnconfig"
  17251. }
  17252. }
  17253. },
  17254. "500": {
  17255. "description": "Internal Server Error",
  17256. "schema": {
  17257. "$ref": "#/definitions/app.Response"
  17258. }
  17259. }
  17260. }
  17261. }
  17262. },
  17263. "/WrTrade2/QuerySiteColumnDetail": {
  17264. "get": {
  17265. "security": [
  17266. {
  17267. "ApiKeyAuth": []
  17268. }
  17269. ],
  17270. "produces": [
  17271. "application/json"
  17272. ],
  17273. "tags": [
  17274. "仓单贸易v2"
  17275. ],
  17276. "summary": "查询资讯",
  17277. "parameters": [
  17278. {
  17279. "type": "integer",
  17280. "description": "页码",
  17281. "name": "page",
  17282. "in": "query"
  17283. },
  17284. {
  17285. "type": "integer",
  17286. "description": "每页条数",
  17287. "name": "pagesize",
  17288. "in": "query"
  17289. },
  17290. {
  17291. "type": "integer",
  17292. "description": "所属栏目id",
  17293. "name": "columnid",
  17294. "in": "query"
  17295. }
  17296. ],
  17297. "responses": {
  17298. "200": {
  17299. "description": "OK",
  17300. "schema": {
  17301. "type": "array",
  17302. "items": {
  17303. "$ref": "#/definitions/models.WrSiteColumnDetail"
  17304. }
  17305. }
  17306. },
  17307. "500": {
  17308. "description": "Internal Server Error",
  17309. "schema": {
  17310. "$ref": "#/definitions/app.Response"
  17311. }
  17312. }
  17313. }
  17314. }
  17315. },
  17316. "/WrTrade2/QuerySpotGroupTradeSum": {
  17317. "get": {
  17318. "security": [
  17319. {
  17320. "ApiKeyAuth": []
  17321. }
  17322. ],
  17323. "produces": [
  17324. "application/json"
  17325. ],
  17326. "tags": [
  17327. "仓单贸易v2"
  17328. ],
  17329. "summary": "查询指数",
  17330. "responses": {
  17331. "200": {
  17332. "description": "OK",
  17333. "schema": {
  17334. "type": "array",
  17335. "items": {
  17336. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  17337. }
  17338. }
  17339. },
  17340. "500": {
  17341. "description": "Internal Server Error",
  17342. "schema": {
  17343. "$ref": "#/definitions/app.Response"
  17344. }
  17345. }
  17346. }
  17347. }
  17348. },
  17349. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  17350. "get": {
  17351. "security": [
  17352. {
  17353. "ApiKeyAuth": []
  17354. }
  17355. ],
  17356. "description": "查询的结果将会按日期 从小到大 排序",
  17357. "produces": [
  17358. "application/json"
  17359. ],
  17360. "tags": [
  17361. "仓单贸易v2"
  17362. ],
  17363. "summary": "查询指数详细(价格走势图)",
  17364. "parameters": [
  17365. {
  17366. "type": "integer",
  17367. "description": "现货商品id",
  17368. "name": "deliverygoodsid",
  17369. "in": "query",
  17370. "required": true
  17371. },
  17372. {
  17373. "type": "integer",
  17374. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  17375. "name": "lastnum",
  17376. "in": "query"
  17377. }
  17378. ],
  17379. "responses": {
  17380. "200": {
  17381. "description": "OK",
  17382. "schema": {
  17383. "type": "array",
  17384. "items": {
  17385. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  17386. }
  17387. }
  17388. },
  17389. "500": {
  17390. "description": "Internal Server Error",
  17391. "schema": {
  17392. "$ref": "#/definitions/app.Response"
  17393. }
  17394. }
  17395. }
  17396. }
  17397. },
  17398. "/WrTrade2/QueryWrAverageTradePrice": {
  17399. "get": {
  17400. "security": [
  17401. {
  17402. "ApiKeyAuth": []
  17403. }
  17404. ],
  17405. "produces": [
  17406. "application/json"
  17407. ],
  17408. "tags": [
  17409. "仓单贸易v2"
  17410. ],
  17411. "summary": "查询成交价(历史走势)",
  17412. "parameters": [
  17413. {
  17414. "type": "integer",
  17415. "description": "页码",
  17416. "name": "page",
  17417. "in": "query"
  17418. },
  17419. {
  17420. "type": "integer",
  17421. "description": "每页条数",
  17422. "name": "pagesize",
  17423. "in": "query"
  17424. },
  17425. {
  17426. "type": "integer",
  17427. "description": "0:仓单预售 1:仓单贸易",
  17428. "name": "haswr",
  17429. "in": "query",
  17430. "required": true
  17431. },
  17432. {
  17433. "type": "integer",
  17434. "description": "仓单要素id",
  17435. "name": "wrfactortypeid",
  17436. "in": "query",
  17437. "required": true
  17438. }
  17439. ],
  17440. "responses": {
  17441. "200": {
  17442. "description": "OK",
  17443. "schema": {
  17444. "type": "array",
  17445. "items": {
  17446. "$ref": "#/definitions/models.WrAverageTradePrice"
  17447. }
  17448. }
  17449. },
  17450. "500": {
  17451. "description": "Internal Server Error",
  17452. "schema": {
  17453. "$ref": "#/definitions/app.Response"
  17454. }
  17455. }
  17456. }
  17457. }
  17458. },
  17459. "/WrTrade2/QueryWrBrandAndYears": {
  17460. "get": {
  17461. "security": [
  17462. {
  17463. "ApiKeyAuth": []
  17464. }
  17465. ],
  17466. "produces": [
  17467. "application/json"
  17468. ],
  17469. "tags": [
  17470. "仓单贸易v2"
  17471. ],
  17472. "summary": "查询品牌和年份",
  17473. "responses": {
  17474. "200": {
  17475. "description": "OK",
  17476. "schema": {
  17477. "type": "array",
  17478. "items": {
  17479. "$ref": "#/definitions/models.WrBrandAndYears"
  17480. }
  17481. }
  17482. },
  17483. "500": {
  17484. "description": "Internal Server Error",
  17485. "schema": {
  17486. "$ref": "#/definitions/app.Response"
  17487. }
  17488. }
  17489. }
  17490. }
  17491. },
  17492. "/WrTrade2/QueryWrBsGoodsInfo": {
  17493. "get": {
  17494. "security": [
  17495. {
  17496. "ApiKeyAuth": []
  17497. }
  17498. ],
  17499. "description": "合约交易/买卖大厅/详情",
  17500. "produces": [
  17501. "application/json"
  17502. ],
  17503. "tags": [
  17504. "仓单贸易v2"
  17505. ],
  17506. "summary": "查询合约交易买卖大厅详情",
  17507. "parameters": [
  17508. {
  17509. "type": "integer",
  17510. "description": "商品id",
  17511. "name": "goodsid",
  17512. "in": "query",
  17513. "required": true
  17514. }
  17515. ],
  17516. "responses": {
  17517. "200": {
  17518. "description": "OK",
  17519. "schema": {
  17520. "type": "array",
  17521. "items": {
  17522. "$ref": "#/definitions/models.WrBsGoodsInfo"
  17523. }
  17524. }
  17525. },
  17526. "500": {
  17527. "description": "Internal Server Error",
  17528. "schema": {
  17529. "$ref": "#/definitions/app.Response"
  17530. }
  17531. }
  17532. }
  17533. }
  17534. },
  17535. "/WrTrade2/QueryWrBuybackDetail": {
  17536. "get": {
  17537. "security": [
  17538. {
  17539. "ApiKeyAuth": []
  17540. }
  17541. ],
  17542. "produces": [
  17543. "application/json"
  17544. ],
  17545. "tags": [
  17546. "仓单贸易v2"
  17547. ],
  17548. "summary": "查询仓单回购明细",
  17549. "parameters": [
  17550. {
  17551. "type": "integer",
  17552. "description": "融资合同id",
  17553. "name": "scfcontractid",
  17554. "in": "query"
  17555. }
  17556. ],
  17557. "responses": {
  17558. "200": {
  17559. "description": "OK",
  17560. "schema": {
  17561. "type": "array",
  17562. "items": {
  17563. "$ref": "#/definitions/models.WrBuybackDetail"
  17564. }
  17565. }
  17566. },
  17567. "500": {
  17568. "description": "Internal Server Error",
  17569. "schema": {
  17570. "$ref": "#/definitions/app.Response"
  17571. }
  17572. }
  17573. }
  17574. }
  17575. },
  17576. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  17577. "get": {
  17578. "security": [
  17579. {
  17580. "ApiKeyAuth": []
  17581. }
  17582. ],
  17583. "produces": [
  17584. "application/json"
  17585. ],
  17586. "tags": [
  17587. "仓单贸易v2"
  17588. ],
  17589. "summary": "查询固定广告配置",
  17590. "responses": {
  17591. "200": {
  17592. "description": "OK",
  17593. "schema": {
  17594. "type": "array",
  17595. "items": {
  17596. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  17597. }
  17598. }
  17599. },
  17600. "500": {
  17601. "description": "Internal Server Error",
  17602. "schema": {
  17603. "$ref": "#/definitions/app.Response"
  17604. }
  17605. }
  17606. }
  17607. }
  17608. },
  17609. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  17610. "get": {
  17611. "security": [
  17612. {
  17613. "ApiKeyAuth": []
  17614. }
  17615. ],
  17616. "produces": [
  17617. "application/json"
  17618. ],
  17619. "tags": [
  17620. "仓单贸易v2"
  17621. ],
  17622. "summary": "查询合约交收可点选仓单",
  17623. "parameters": [
  17624. {
  17625. "type": "integer",
  17626. "description": "资金账号",
  17627. "name": "accountid",
  17628. "in": "query",
  17629. "required": true
  17630. },
  17631. {
  17632. "type": "integer",
  17633. "description": "商品id",
  17634. "name": "goodsid",
  17635. "in": "query",
  17636. "required": true
  17637. }
  17638. ],
  17639. "responses": {
  17640. "200": {
  17641. "description": "OK",
  17642. "schema": {
  17643. "type": "array",
  17644. "items": {
  17645. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  17646. }
  17647. }
  17648. },
  17649. "500": {
  17650. "description": "Internal Server Error",
  17651. "schema": {
  17652. "$ref": "#/definitions/app.Response"
  17653. }
  17654. }
  17655. }
  17656. }
  17657. },
  17658. "/WrTrade2/QueryWrDeliveryDetail": {
  17659. "get": {
  17660. "security": [
  17661. {
  17662. "ApiKeyAuth": []
  17663. }
  17664. ],
  17665. "produces": [
  17666. "application/json"
  17667. ],
  17668. "tags": [
  17669. "仓单贸易v2"
  17670. ],
  17671. "summary": "查询交收",
  17672. "parameters": [
  17673. {
  17674. "type": "integer",
  17675. "description": "用户id",
  17676. "name": "userid",
  17677. "in": "query",
  17678. "required": true
  17679. },
  17680. {
  17681. "type": "integer",
  17682. "description": "资金账号id",
  17683. "name": "accountid",
  17684. "in": "query"
  17685. },
  17686. {
  17687. "type": "string",
  17688. "description": "开始交易日(yyyymmdd)",
  17689. "name": "begindate",
  17690. "in": "query"
  17691. },
  17692. {
  17693. "type": "string",
  17694. "description": "结束交易日(yyyymmdd)",
  17695. "name": "enddate",
  17696. "in": "query"
  17697. }
  17698. ],
  17699. "responses": {
  17700. "200": {
  17701. "description": "OK",
  17702. "schema": {
  17703. "type": "array",
  17704. "items": {
  17705. "$ref": "#/definitions/models.WrDeliveryDetail"
  17706. }
  17707. }
  17708. },
  17709. "500": {
  17710. "description": "Internal Server Error",
  17711. "schema": {
  17712. "$ref": "#/definitions/app.Response"
  17713. }
  17714. }
  17715. }
  17716. }
  17717. },
  17718. "/WrTrade2/QueryWrDraftUserInfo": {
  17719. "get": {
  17720. "security": [
  17721. {
  17722. "ApiKeyAuth": []
  17723. }
  17724. ],
  17725. "produces": [
  17726. "application/json"
  17727. ],
  17728. "tags": [
  17729. "仓单贸易v2"
  17730. ],
  17731. "summary": "查询实名认证信息",
  17732. "parameters": [
  17733. {
  17734. "type": "integer",
  17735. "description": "用户ID",
  17736. "name": "userid",
  17737. "in": "query",
  17738. "required": true
  17739. },
  17740. {
  17741. "type": "integer",
  17742. "description": "用户状态 1:正常 2:注销",
  17743. "name": "userstatus",
  17744. "in": "query"
  17745. }
  17746. ],
  17747. "responses": {
  17748. "200": {
  17749. "description": "OK",
  17750. "schema": {
  17751. "type": "array",
  17752. "items": {
  17753. "$ref": "#/definitions/models.WrDraftUserInfo"
  17754. }
  17755. }
  17756. },
  17757. "500": {
  17758. "description": "Internal Server Error",
  17759. "schema": {
  17760. "$ref": "#/definitions/app.Response"
  17761. }
  17762. }
  17763. }
  17764. }
  17765. },
  17766. "/WrTrade2/QueryWrFactorTypeInfo": {
  17767. "get": {
  17768. "security": [
  17769. {
  17770. "ApiKeyAuth": []
  17771. }
  17772. ],
  17773. "produces": [
  17774. "application/json"
  17775. ],
  17776. "tags": [
  17777. "仓单贸易v2"
  17778. ],
  17779. "summary": "查询仓单要素详细信息",
  17780. "parameters": [
  17781. {
  17782. "type": "integer",
  17783. "description": "仓单要素id",
  17784. "name": "wrfactortypeid",
  17785. "in": "query",
  17786. "required": true
  17787. }
  17788. ],
  17789. "responses": {
  17790. "200": {
  17791. "description": "OK",
  17792. "schema": {
  17793. "type": "array",
  17794. "items": {
  17795. "$ref": "#/definitions/models.WrFactorTypeInfo"
  17796. }
  17797. }
  17798. },
  17799. "500": {
  17800. "description": "Internal Server Error",
  17801. "schema": {
  17802. "$ref": "#/definitions/app.Response"
  17803. }
  17804. }
  17805. }
  17806. }
  17807. },
  17808. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  17809. "get": {
  17810. "security": [
  17811. {
  17812. "ApiKeyAuth": []
  17813. }
  17814. ],
  17815. "produces": [
  17816. "application/json"
  17817. ],
  17818. "tags": [
  17819. "仓单贸易v2"
  17820. ],
  17821. "summary": "查询仓单要素详细信息列表项",
  17822. "parameters": [
  17823. {
  17824. "type": "integer",
  17825. "description": "仓单要素id",
  17826. "name": "wrfactortypeid",
  17827. "in": "query",
  17828. "required": true
  17829. }
  17830. ],
  17831. "responses": {
  17832. "200": {
  17833. "description": "OK",
  17834. "schema": {
  17835. "type": "array",
  17836. "items": {
  17837. "$ref": "#/definitions/models.WrTypeItem"
  17838. }
  17839. }
  17840. },
  17841. "500": {
  17842. "description": "Internal Server Error",
  17843. "schema": {
  17844. "$ref": "#/definitions/app.Response"
  17845. }
  17846. }
  17847. }
  17848. }
  17849. },
  17850. "/WrTrade2/QueryWrFinanceBuyApply": {
  17851. "get": {
  17852. "security": [
  17853. {
  17854. "ApiKeyAuth": []
  17855. }
  17856. ],
  17857. "description": "页面 融资信息+ / 申请单",
  17858. "produces": [
  17859. "application/json"
  17860. ],
  17861. "tags": [
  17862. "仓单贸易v2"
  17863. ],
  17864. "summary": "查询融资购买申请",
  17865. "parameters": [
  17866. {
  17867. "type": "integer",
  17868. "description": "用户id",
  17869. "name": "userid",
  17870. "in": "query",
  17871. "required": true
  17872. }
  17873. ],
  17874. "responses": {
  17875. "200": {
  17876. "description": "OK",
  17877. "schema": {
  17878. "type": "array",
  17879. "items": {
  17880. "$ref": "#/definitions/models.WrFinanceBuyApply"
  17881. }
  17882. }
  17883. },
  17884. "500": {
  17885. "description": "Internal Server Error",
  17886. "schema": {
  17887. "$ref": "#/definitions/app.Response"
  17888. }
  17889. }
  17890. }
  17891. }
  17892. },
  17893. "/WrTrade2/QueryWrFriendApply": {
  17894. "get": {
  17895. "security": [
  17896. {
  17897. "ApiKeyAuth": []
  17898. }
  17899. ],
  17900. "produces": [
  17901. "application/json"
  17902. ],
  17903. "tags": [
  17904. "仓单贸易v2"
  17905. ],
  17906. "summary": "查询好友申请记录",
  17907. "parameters": [
  17908. {
  17909. "type": "integer",
  17910. "description": "用户id",
  17911. "name": "userid",
  17912. "in": "query",
  17913. "required": true
  17914. }
  17915. ],
  17916. "responses": {
  17917. "200": {
  17918. "description": "OK",
  17919. "schema": {
  17920. "type": "array",
  17921. "items": {
  17922. "$ref": "#/definitions/models.WrFriendApply"
  17923. }
  17924. }
  17925. },
  17926. "500": {
  17927. "description": "Internal Server Error",
  17928. "schema": {
  17929. "$ref": "#/definitions/app.Response"
  17930. }
  17931. }
  17932. }
  17933. }
  17934. },
  17935. "/WrTrade2/QueryWrGoodsInfo": {
  17936. "get": {
  17937. "security": [
  17938. {
  17939. "ApiKeyAuth": []
  17940. }
  17941. ],
  17942. "produces": [
  17943. "application/json"
  17944. ],
  17945. "tags": [
  17946. "仓单贸易v2"
  17947. ],
  17948. "summary": "查询仓单商品信息",
  17949. "parameters": [
  17950. {
  17951. "type": "integer",
  17952. "description": "仓单贸易市场id",
  17953. "name": "marketid",
  17954. "in": "query"
  17955. },
  17956. {
  17957. "type": "integer",
  17958. "description": "0:仓单预售 1:仓单贸易",
  17959. "name": "haswr",
  17960. "in": "query",
  17961. "required": true
  17962. },
  17963. {
  17964. "type": "integer",
  17965. "description": "仓单要素id",
  17966. "name": "wrfactortypeid",
  17967. "in": "query",
  17968. "required": true
  17969. },
  17970. {
  17971. "type": "integer",
  17972. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  17973. "name": "tmplateid",
  17974. "in": "query"
  17975. }
  17976. ],
  17977. "responses": {
  17978. "200": {
  17979. "description": "OK",
  17980. "schema": {
  17981. "type": "array",
  17982. "items": {
  17983. "$ref": "#/definitions/models.WrGoodsInfo"
  17984. }
  17985. }
  17986. },
  17987. "500": {
  17988. "description": "Internal Server Error",
  17989. "schema": {
  17990. "$ref": "#/definitions/app.Response"
  17991. }
  17992. }
  17993. }
  17994. }
  17995. },
  17996. "/WrTrade2/QueryWrMarketTradeConfig": {
  17997. "get": {
  17998. "security": [
  17999. {
  18000. "ApiKeyAuth": []
  18001. }
  18002. ],
  18003. "produces": [
  18004. "application/json"
  18005. ],
  18006. "tags": [
  18007. "仓单贸易v2"
  18008. ],
  18009. "summary": "查询市场交易参数配置",
  18010. "parameters": [
  18011. {
  18012. "type": "integer",
  18013. "description": "市场id",
  18014. "name": "marketid",
  18015. "in": "query"
  18016. }
  18017. ],
  18018. "responses": {
  18019. "200": {
  18020. "description": "OK",
  18021. "schema": {
  18022. "type": "array",
  18023. "items": {
  18024. "$ref": "#/definitions/models.WrMarketTradeConfig"
  18025. }
  18026. }
  18027. },
  18028. "500": {
  18029. "description": "Internal Server Error",
  18030. "schema": {
  18031. "$ref": "#/definitions/app.Response"
  18032. }
  18033. }
  18034. }
  18035. }
  18036. },
  18037. "/WrTrade2/QueryWrOrderDetail": {
  18038. "get": {
  18039. "security": [
  18040. {
  18041. "ApiKeyAuth": []
  18042. }
  18043. ],
  18044. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  18045. "produces": [
  18046. "application/json"
  18047. ],
  18048. "tags": [
  18049. "仓单贸易v2"
  18050. ],
  18051. "summary": "查询仓单委托单",
  18052. "parameters": [
  18053. {
  18054. "type": "integer",
  18055. "description": "页码",
  18056. "name": "page",
  18057. "in": "query"
  18058. },
  18059. {
  18060. "type": "integer",
  18061. "description": "每页条数",
  18062. "name": "pagesize",
  18063. "in": "query"
  18064. },
  18065. {
  18066. "type": "integer",
  18067. "description": "用户id",
  18068. "name": "userid",
  18069. "in": "query",
  18070. "required": true
  18071. },
  18072. {
  18073. "type": "integer",
  18074. "description": "仓单贸易市场id",
  18075. "name": "marketid",
  18076. "in": "query"
  18077. },
  18078. {
  18079. "type": "integer",
  18080. "description": "0:仓单预售 1:仓单贸易",
  18081. "name": "haswr",
  18082. "in": "query",
  18083. "required": true
  18084. },
  18085. {
  18086. "type": "integer",
  18087. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  18088. "name": "bcancel",
  18089. "in": "query"
  18090. },
  18091. {
  18092. "type": "integer",
  18093. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  18094. "name": "wrtradetype",
  18095. "in": "query"
  18096. },
  18097. {
  18098. "type": "string",
  18099. "description": "开始交易日(yyyymmdd)",
  18100. "name": "begindate",
  18101. "in": "query"
  18102. },
  18103. {
  18104. "type": "string",
  18105. "description": "结束交易日(yyyymmdd)",
  18106. "name": "enddate",
  18107. "in": "query"
  18108. }
  18109. ],
  18110. "responses": {
  18111. "200": {
  18112. "description": "OK",
  18113. "schema": {
  18114. "type": "array",
  18115. "items": {
  18116. "$ref": "#/definitions/models.WrOrderDetail"
  18117. }
  18118. }
  18119. },
  18120. "500": {
  18121. "description": "Internal Server Error",
  18122. "schema": {
  18123. "$ref": "#/definitions/app.Response"
  18124. }
  18125. }
  18126. }
  18127. }
  18128. },
  18129. "/WrTrade2/QueryWrOutInApply": {
  18130. "get": {
  18131. "security": [
  18132. {
  18133. "ApiKeyAuth": []
  18134. }
  18135. ],
  18136. "produces": [
  18137. "application/json"
  18138. ],
  18139. "tags": [
  18140. "仓单贸易v2"
  18141. ],
  18142. "summary": "查询提货申请",
  18143. "parameters": [
  18144. {
  18145. "type": "integer",
  18146. "description": "页码",
  18147. "name": "page",
  18148. "in": "query"
  18149. },
  18150. {
  18151. "type": "integer",
  18152. "description": "每页条数",
  18153. "name": "pagesize",
  18154. "in": "query"
  18155. },
  18156. {
  18157. "type": "integer",
  18158. "description": "用户id",
  18159. "name": "userid",
  18160. "in": "query",
  18161. "required": true
  18162. },
  18163. {
  18164. "type": "string",
  18165. "description": "开始交易日(yyyymmdd)",
  18166. "name": "begindate",
  18167. "in": "query"
  18168. },
  18169. {
  18170. "type": "string",
  18171. "description": "结束交易日(yyyymmdd)",
  18172. "name": "enddate",
  18173. "in": "query"
  18174. }
  18175. ],
  18176. "responses": {
  18177. "200": {
  18178. "description": "OK",
  18179. "schema": {
  18180. "type": "array",
  18181. "items": {
  18182. "$ref": "#/definitions/models.WrOutInApply"
  18183. }
  18184. }
  18185. },
  18186. "500": {
  18187. "description": "Internal Server Error",
  18188. "schema": {
  18189. "$ref": "#/definitions/app.Response"
  18190. }
  18191. }
  18192. }
  18193. }
  18194. },
  18195. "/WrTrade2/QueryWrPerformancePlanStep": {
  18196. "get": {
  18197. "security": [
  18198. {
  18199. "ApiKeyAuth": []
  18200. }
  18201. ],
  18202. "produces": [
  18203. "application/json"
  18204. ],
  18205. "tags": [
  18206. "仓单贸易v2"
  18207. ],
  18208. "summary": "查询履约信息详情",
  18209. "parameters": [
  18210. {
  18211. "type": "integer",
  18212. "description": "履约计划id(performanceplanid)",
  18213. "name": "planid",
  18214. "in": "query",
  18215. "required": true
  18216. },
  18217. {
  18218. "type": "integer",
  18219. "description": "当前步骤id",
  18220. "name": "curstepid",
  18221. "in": "query"
  18222. }
  18223. ],
  18224. "responses": {
  18225. "200": {
  18226. "description": "OK",
  18227. "schema": {
  18228. "type": "array",
  18229. "items": {
  18230. "$ref": "#/definitions/models.WrPerformancePlanStep"
  18231. }
  18232. }
  18233. },
  18234. "500": {
  18235. "description": "Internal Server Error",
  18236. "schema": {
  18237. "$ref": "#/definitions/app.Response"
  18238. }
  18239. }
  18240. }
  18241. }
  18242. },
  18243. "/WrTrade2/QueryWrPerformanceStepType": {
  18244. "get": {
  18245. "security": [
  18246. {
  18247. "ApiKeyAuth": []
  18248. }
  18249. ],
  18250. "produces": [
  18251. "application/json"
  18252. ],
  18253. "tags": [
  18254. "仓单贸易v2"
  18255. ],
  18256. "summary": "查询履约步骤枚举",
  18257. "responses": {
  18258. "200": {
  18259. "description": "OK",
  18260. "schema": {
  18261. "type": "array",
  18262. "items": {
  18263. "$ref": "#/definitions/models.WrPerformanceStepType"
  18264. }
  18265. }
  18266. },
  18267. "500": {
  18268. "description": "Internal Server Error",
  18269. "schema": {
  18270. "$ref": "#/definitions/app.Response"
  18271. }
  18272. }
  18273. }
  18274. }
  18275. },
  18276. "/WrTrade2/QueryWrPosition": {
  18277. "get": {
  18278. "security": [
  18279. {
  18280. "ApiKeyAuth": []
  18281. }
  18282. ],
  18283. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  18284. "produces": [
  18285. "application/json"
  18286. ],
  18287. "tags": [
  18288. "仓单贸易v2"
  18289. ],
  18290. "summary": "查询现货(预售)仓单持仓",
  18291. "parameters": [
  18292. {
  18293. "type": "integer",
  18294. "description": "用户id",
  18295. "name": "userid",
  18296. "in": "query",
  18297. "required": true
  18298. },
  18299. {
  18300. "type": "integer",
  18301. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  18302. "name": "querytype",
  18303. "in": "query",
  18304. "required": true
  18305. },
  18306. {
  18307. "type": "integer",
  18308. "description": "0:仓单预售 1:仓单贸易",
  18309. "name": "haswr",
  18310. "in": "query",
  18311. "required": true
  18312. },
  18313. {
  18314. "type": "string",
  18315. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  18316. "name": "dgitemname",
  18317. "in": "query"
  18318. },
  18319. {
  18320. "type": "integer",
  18321. "description": "仓库id(筛选条件)",
  18322. "name": "warehouseid",
  18323. "in": "query"
  18324. },
  18325. {
  18326. "type": "integer",
  18327. "description": "品种id",
  18328. "name": "deliverygoodsid",
  18329. "in": "query"
  18330. },
  18331. {
  18332. "type": "integer",
  18333. "description": "品类id",
  18334. "name": "wrstandardid",
  18335. "in": "query"
  18336. }
  18337. ],
  18338. "responses": {
  18339. "200": {
  18340. "description": "OK",
  18341. "schema": {
  18342. "type": "array",
  18343. "items": {
  18344. "$ref": "#/definitions/models.WrPosition"
  18345. }
  18346. }
  18347. },
  18348. "500": {
  18349. "description": "Internal Server Error",
  18350. "schema": {
  18351. "$ref": "#/definitions/app.Response"
  18352. }
  18353. }
  18354. }
  18355. }
  18356. },
  18357. "/WrTrade2/QueryWrPreSaleInfo": {
  18358. "get": {
  18359. "security": [
  18360. {
  18361. "ApiKeyAuth": []
  18362. }
  18363. ],
  18364. "produces": [
  18365. "application/json"
  18366. ],
  18367. "tags": [
  18368. "仓单贸易v2"
  18369. ],
  18370. "summary": "查询新品发布",
  18371. "parameters": [
  18372. {
  18373. "type": "integer",
  18374. "description": "市场id",
  18375. "name": "marketid",
  18376. "in": "query"
  18377. },
  18378. {
  18379. "type": "string",
  18380. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  18381. "name": "presalestatus",
  18382. "in": "query"
  18383. },
  18384. {
  18385. "type": "integer",
  18386. "description": "摇号标识 - 0:未摇号 1:已摇号",
  18387. "name": "lotteryflag",
  18388. "in": "query"
  18389. },
  18390. {
  18391. "type": "integer",
  18392. "description": "最近多少条记录(按创建时间倒序)",
  18393. "name": "lastnum",
  18394. "in": "query"
  18395. }
  18396. ],
  18397. "responses": {
  18398. "200": {
  18399. "description": "OK",
  18400. "schema": {
  18401. "type": "array",
  18402. "items": {
  18403. "$ref": "#/definitions/models.WrPreSaleInfo"
  18404. }
  18405. }
  18406. },
  18407. "500": {
  18408. "description": "Internal Server Error",
  18409. "schema": {
  18410. "$ref": "#/definitions/app.Response"
  18411. }
  18412. }
  18413. }
  18414. }
  18415. },
  18416. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  18417. "get": {
  18418. "security": [
  18419. {
  18420. "ApiKeyAuth": []
  18421. }
  18422. ],
  18423. "produces": [
  18424. "application/json"
  18425. ],
  18426. "tags": [
  18427. "仓单贸易v2"
  18428. ],
  18429. "summary": "查询价格走势",
  18430. "parameters": [
  18431. {
  18432. "type": "integer",
  18433. "description": "市场id",
  18434. "name": "marketid",
  18435. "in": "query",
  18436. "required": true
  18437. },
  18438. {
  18439. "type": "integer",
  18440. "description": "现货商品id",
  18441. "name": "wrstandardid",
  18442. "in": "query",
  18443. "required": true
  18444. },
  18445. {
  18446. "type": "string",
  18447. "description": "开始交易日(yyyymmdd)",
  18448. "name": "begindate",
  18449. "in": "query"
  18450. },
  18451. {
  18452. "type": "string",
  18453. "description": "结束交易日(yyyymmdd)",
  18454. "name": "enddate",
  18455. "in": "query"
  18456. },
  18457. {
  18458. "type": "integer",
  18459. "description": "最近多少条记录(按交易日倒序)",
  18460. "name": "lastnum",
  18461. "in": "query"
  18462. },
  18463. {
  18464. "type": "boolean",
  18465. "description": "是否今日",
  18466. "name": "istoday",
  18467. "in": "query"
  18468. }
  18469. ],
  18470. "responses": {
  18471. "200": {
  18472. "description": "OK",
  18473. "schema": {
  18474. "type": "array",
  18475. "items": {
  18476. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  18477. }
  18478. }
  18479. },
  18480. "500": {
  18481. "description": "Internal Server Error",
  18482. "schema": {
  18483. "$ref": "#/definitions/app.Response"
  18484. }
  18485. }
  18486. }
  18487. }
  18488. },
  18489. "/WrTrade2/QueryWrScfContract": {
  18490. "get": {
  18491. "security": [
  18492. {
  18493. "ApiKeyAuth": []
  18494. }
  18495. ],
  18496. "produces": [
  18497. "application/json"
  18498. ],
  18499. "tags": [
  18500. "仓单贸易v2"
  18501. ],
  18502. "summary": "查询仓单贸易融资合同",
  18503. "parameters": [
  18504. {
  18505. "type": "integer",
  18506. "description": "用户id",
  18507. "name": "userid",
  18508. "in": "query",
  18509. "required": true
  18510. },
  18511. {
  18512. "type": "integer",
  18513. "description": "融资合同id",
  18514. "name": "scfcontractid",
  18515. "in": "query"
  18516. }
  18517. ],
  18518. "responses": {
  18519. "200": {
  18520. "description": "OK",
  18521. "schema": {
  18522. "type": "array",
  18523. "items": {
  18524. "$ref": "#/definitions/models.WrScfContract"
  18525. }
  18526. }
  18527. },
  18528. "500": {
  18529. "description": "Internal Server Error",
  18530. "schema": {
  18531. "$ref": "#/definitions/app.Response"
  18532. }
  18533. }
  18534. }
  18535. }
  18536. },
  18537. "/WrTrade2/QueryWrScfContractInterest": {
  18538. "get": {
  18539. "security": [
  18540. {
  18541. "ApiKeyAuth": []
  18542. }
  18543. ],
  18544. "produces": [
  18545. "application/json"
  18546. ],
  18547. "tags": [
  18548. "仓单贸易v2"
  18549. ],
  18550. "summary": "查询融资合同费用明细",
  18551. "parameters": [
  18552. {
  18553. "type": "integer",
  18554. "description": "融资合同id",
  18555. "name": "scfcontractid",
  18556. "in": "query"
  18557. }
  18558. ],
  18559. "responses": {
  18560. "200": {
  18561. "description": "OK",
  18562. "schema": {
  18563. "type": "array",
  18564. "items": {
  18565. "$ref": "#/definitions/models.WrScfContractInterest"
  18566. }
  18567. }
  18568. },
  18569. "500": {
  18570. "description": "Internal Server Error",
  18571. "schema": {
  18572. "$ref": "#/definitions/app.Response"
  18573. }
  18574. }
  18575. }
  18576. }
  18577. },
  18578. "/WrTrade2/QueryWrSearchUser": {
  18579. "get": {
  18580. "security": [
  18581. {
  18582. "ApiKeyAuth": []
  18583. }
  18584. ],
  18585. "produces": [
  18586. "application/json"
  18587. ],
  18588. "tags": [
  18589. "仓单贸易v2"
  18590. ],
  18591. "summary": "查询用户",
  18592. "parameters": [
  18593. {
  18594. "type": "string",
  18595. "description": "用户名称(模糊匹配)",
  18596. "name": "username",
  18597. "in": "query",
  18598. "required": true
  18599. }
  18600. ],
  18601. "responses": {
  18602. "200": {
  18603. "description": "OK",
  18604. "schema": {
  18605. "type": "array",
  18606. "items": {
  18607. "$ref": "#/definitions/models.WrSearchUser"
  18608. }
  18609. }
  18610. },
  18611. "500": {
  18612. "description": "Internal Server Error",
  18613. "schema": {
  18614. "$ref": "#/definitions/app.Response"
  18615. }
  18616. }
  18617. }
  18618. }
  18619. },
  18620. "/WrTrade2/QueryWrSpecialMatchOrder": {
  18621. "get": {
  18622. "security": [
  18623. {
  18624. "ApiKeyAuth": []
  18625. }
  18626. ],
  18627. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  18628. "produces": [
  18629. "application/json"
  18630. ],
  18631. "tags": [
  18632. "仓单贸易v2"
  18633. ],
  18634. "summary": "查询指定成交",
  18635. "parameters": [
  18636. {
  18637. "type": "integer",
  18638. "description": "页码",
  18639. "name": "page",
  18640. "in": "query"
  18641. },
  18642. {
  18643. "type": "integer",
  18644. "description": "每页条数",
  18645. "name": "pagesize",
  18646. "in": "query"
  18647. },
  18648. {
  18649. "type": "integer",
  18650. "description": "用户id",
  18651. "name": "userid",
  18652. "in": "query",
  18653. "required": true
  18654. },
  18655. {
  18656. "type": "integer",
  18657. "description": "仓单贸易市场id",
  18658. "name": "marketid",
  18659. "in": "query"
  18660. },
  18661. {
  18662. "type": "integer",
  18663. "description": "0:仓单预售 1:仓单贸易",
  18664. "name": "haswr",
  18665. "in": "query",
  18666. "required": true
  18667. },
  18668. {
  18669. "type": "integer",
  18670. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  18671. "name": "isspecified",
  18672. "in": "query"
  18673. }
  18674. ],
  18675. "responses": {
  18676. "200": {
  18677. "description": "OK",
  18678. "schema": {
  18679. "type": "array",
  18680. "items": {
  18681. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  18682. }
  18683. }
  18684. },
  18685. "500": {
  18686. "description": "Internal Server Error",
  18687. "schema": {
  18688. "$ref": "#/definitions/app.Response"
  18689. }
  18690. }
  18691. }
  18692. }
  18693. },
  18694. "/WrTrade2/QueryWrStandardFactoryItem": {
  18695. "get": {
  18696. "security": [
  18697. {
  18698. "ApiKeyAuth": []
  18699. }
  18700. ],
  18701. "produces": [
  18702. "application/json"
  18703. ],
  18704. "tags": [
  18705. "仓单贸易v2"
  18706. ],
  18707. "summary": "查询品类要素定义项",
  18708. "parameters": [
  18709. {
  18710. "type": "integer",
  18711. "description": "品类id",
  18712. "name": "wrstandardid",
  18713. "in": "query",
  18714. "required": true
  18715. }
  18716. ],
  18717. "responses": {
  18718. "200": {
  18719. "description": "OK",
  18720. "schema": {
  18721. "type": "array",
  18722. "items": {
  18723. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  18724. }
  18725. }
  18726. },
  18727. "500": {
  18728. "description": "Internal Server Error",
  18729. "schema": {
  18730. "$ref": "#/definitions/app.Response"
  18731. }
  18732. }
  18733. }
  18734. }
  18735. },
  18736. "/WrTrade2/QueryWrTradeBargainApply": {
  18737. "get": {
  18738. "security": [
  18739. {
  18740. "ApiKeyAuth": []
  18741. }
  18742. ],
  18743. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  18744. "produces": [
  18745. "application/json"
  18746. ],
  18747. "tags": [
  18748. "仓单贸易v2"
  18749. ],
  18750. "summary": "查询议价单",
  18751. "parameters": [
  18752. {
  18753. "type": "integer",
  18754. "description": "议价人id(摘牌方)",
  18755. "name": "userid",
  18756. "in": "query"
  18757. },
  18758. {
  18759. "type": "integer",
  18760. "description": "挂牌方id(查对方议价时,填写此项)",
  18761. "name": "matchuserid",
  18762. "in": "query"
  18763. },
  18764. {
  18765. "type": "integer",
  18766. "description": "关联委托单id",
  18767. "name": "wrtradeorderid",
  18768. "in": "query"
  18769. },
  18770. {
  18771. "type": "integer",
  18772. "description": "0:仓单预售 1:仓单贸易",
  18773. "name": "haswr",
  18774. "in": "query",
  18775. "required": true
  18776. },
  18777. {
  18778. "type": "string",
  18779. "description": "开始交易日(yyyymmdd)",
  18780. "name": "begindate",
  18781. "in": "query"
  18782. },
  18783. {
  18784. "type": "string",
  18785. "description": "结束交易日(yyyymmdd)",
  18786. "name": "enddate",
  18787. "in": "query"
  18788. }
  18789. ],
  18790. "responses": {
  18791. "200": {
  18792. "description": "OK",
  18793. "schema": {
  18794. "type": "array",
  18795. "items": {
  18796. "$ref": "#/definitions/models.WRTradeBargainApply"
  18797. }
  18798. }
  18799. },
  18800. "500": {
  18801. "description": "Internal Server Error",
  18802. "schema": {
  18803. "$ref": "#/definitions/app.Response"
  18804. }
  18805. }
  18806. }
  18807. }
  18808. },
  18809. "/WrTrade2/QueryWrTradeDetail": {
  18810. "get": {
  18811. "security": [
  18812. {
  18813. "ApiKeyAuth": []
  18814. }
  18815. ],
  18816. "produces": [
  18817. "application/json"
  18818. ],
  18819. "tags": [
  18820. "仓单贸易v2"
  18821. ],
  18822. "summary": "查询仓单成交明细",
  18823. "parameters": [
  18824. {
  18825. "type": "integer",
  18826. "description": "页码",
  18827. "name": "page",
  18828. "in": "query"
  18829. },
  18830. {
  18831. "type": "integer",
  18832. "description": "每页条数",
  18833. "name": "pagesize",
  18834. "in": "query"
  18835. },
  18836. {
  18837. "type": "integer",
  18838. "description": "用户id",
  18839. "name": "userid",
  18840. "in": "query",
  18841. "required": true
  18842. },
  18843. {
  18844. "type": "integer",
  18845. "description": "仓单贸易市场id",
  18846. "name": "marketid",
  18847. "in": "query"
  18848. },
  18849. {
  18850. "type": "integer",
  18851. "description": "0:仓单预售 1:仓单贸易",
  18852. "name": "haswr",
  18853. "in": "query",
  18854. "required": true
  18855. },
  18856. {
  18857. "type": "string",
  18858. "description": "开始交易日(yyyymmdd)",
  18859. "name": "begindate",
  18860. "in": "query"
  18861. },
  18862. {
  18863. "type": "string",
  18864. "description": "结束交易日(yyyymmdd)",
  18865. "name": "enddate",
  18866. "in": "query"
  18867. }
  18868. ],
  18869. "responses": {
  18870. "200": {
  18871. "description": "OK",
  18872. "schema": {
  18873. "type": "array",
  18874. "items": {
  18875. "$ref": "#/definitions/models.WrTradeDetail"
  18876. }
  18877. }
  18878. },
  18879. "500": {
  18880. "description": "Internal Server Error",
  18881. "schema": {
  18882. "$ref": "#/definitions/app.Response"
  18883. }
  18884. }
  18885. }
  18886. }
  18887. },
  18888. "/WrTrade2/QueryWrTradeOrderDetail": {
  18889. "get": {
  18890. "security": [
  18891. {
  18892. "ApiKeyAuth": []
  18893. }
  18894. ],
  18895. "produces": [
  18896. "application/json"
  18897. ],
  18898. "tags": [
  18899. "仓单贸易v2"
  18900. ],
  18901. "summary": "查询合约交易买卖大厅",
  18902. "parameters": [
  18903. {
  18904. "type": "integer",
  18905. "description": "页码",
  18906. "name": "page",
  18907. "in": "query"
  18908. },
  18909. {
  18910. "type": "integer",
  18911. "description": "每页条数",
  18912. "name": "pagesize",
  18913. "in": "query"
  18914. },
  18915. {
  18916. "type": "integer",
  18917. "description": "商品id",
  18918. "name": "goodsid",
  18919. "in": "query",
  18920. "required": true
  18921. },
  18922. {
  18923. "type": "integer",
  18924. "description": "买卖方向 0-买 1-卖",
  18925. "name": "buyorsell",
  18926. "in": "query",
  18927. "required": true
  18928. }
  18929. ],
  18930. "responses": {
  18931. "200": {
  18932. "description": "OK",
  18933. "schema": {
  18934. "type": "array",
  18935. "items": {
  18936. "$ref": "#/definitions/models.WrTradeOrderDetail"
  18937. }
  18938. }
  18939. },
  18940. "500": {
  18941. "description": "Internal Server Error",
  18942. "schema": {
  18943. "$ref": "#/definitions/app.Response"
  18944. }
  18945. }
  18946. }
  18947. }
  18948. },
  18949. "/WrTrade2/QueryWrTradeQuote": {
  18950. "get": {
  18951. "security": [
  18952. {
  18953. "ApiKeyAuth": []
  18954. }
  18955. ],
  18956. "produces": [
  18957. "application/json"
  18958. ],
  18959. "tags": [
  18960. "仓单贸易v2"
  18961. ],
  18962. "summary": "查询仓单贸易成交行情",
  18963. "parameters": [
  18964. {
  18965. "type": "integer",
  18966. "description": "现货商品id",
  18967. "name": "wrstandardid",
  18968. "in": "query",
  18969. "required": true
  18970. },
  18971. {
  18972. "type": "string",
  18973. "description": "开始日期(yyyymmdd)",
  18974. "name": "begindate",
  18975. "in": "query",
  18976. "required": true
  18977. },
  18978. {
  18979. "type": "string",
  18980. "description": "结束日期(yyyymmdd)",
  18981. "name": "enddate",
  18982. "in": "query",
  18983. "required": true
  18984. },
  18985. {
  18986. "type": "integer",
  18987. "description": "市场id",
  18988. "name": "marketid",
  18989. "in": "query"
  18990. }
  18991. ],
  18992. "responses": {
  18993. "200": {
  18994. "description": "OK",
  18995. "schema": {
  18996. "type": "array",
  18997. "items": {
  18998. "$ref": "#/definitions/models.Wrtradetradequote"
  18999. }
  19000. }
  19001. },
  19002. "500": {
  19003. "description": "Internal Server Error",
  19004. "schema": {
  19005. "$ref": "#/definitions/app.Response"
  19006. }
  19007. }
  19008. }
  19009. }
  19010. },
  19011. "/WrTrade2/QueryWrUserFriend": {
  19012. "get": {
  19013. "security": [
  19014. {
  19015. "ApiKeyAuth": []
  19016. }
  19017. ],
  19018. "produces": [
  19019. "application/json"
  19020. ],
  19021. "tags": [
  19022. "仓单贸易v2"
  19023. ],
  19024. "summary": "查询我的朋友",
  19025. "parameters": [
  19026. {
  19027. "type": "integer",
  19028. "description": "用户id",
  19029. "name": "userid",
  19030. "in": "query",
  19031. "required": true
  19032. },
  19033. {
  19034. "type": "integer",
  19035. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  19036. "name": "newuserid",
  19037. "in": "query"
  19038. }
  19039. ],
  19040. "responses": {
  19041. "200": {
  19042. "description": "OK",
  19043. "schema": {
  19044. "type": "array",
  19045. "items": {
  19046. "$ref": "#/definitions/models.WrUserFriend"
  19047. }
  19048. }
  19049. },
  19050. "500": {
  19051. "description": "Internal Server Error",
  19052. "schema": {
  19053. "$ref": "#/definitions/app.Response"
  19054. }
  19055. }
  19056. }
  19057. }
  19058. },
  19059. "/WrTrade2/QueryWrUserReceiptInfo": {
  19060. "get": {
  19061. "security": [
  19062. {
  19063. "ApiKeyAuth": []
  19064. }
  19065. ],
  19066. "produces": [
  19067. "application/json"
  19068. ],
  19069. "tags": [
  19070. "仓单贸易v2"
  19071. ],
  19072. "summary": "查询发票信息",
  19073. "parameters": [
  19074. {
  19075. "type": "integer",
  19076. "description": "用户id",
  19077. "name": "userid",
  19078. "in": "query"
  19079. },
  19080. {
  19081. "type": "integer",
  19082. "description": "发票类型 - 1:个人 2:企业",
  19083. "name": "receipttype",
  19084. "in": "query"
  19085. }
  19086. ],
  19087. "responses": {
  19088. "200": {
  19089. "description": "OK",
  19090. "schema": {
  19091. "type": "array",
  19092. "items": {
  19093. "$ref": "#/definitions/models.WrUserReceiptInfo"
  19094. }
  19095. }
  19096. },
  19097. "500": {
  19098. "description": "Internal Server Error",
  19099. "schema": {
  19100. "$ref": "#/definitions/app.Response"
  19101. }
  19102. }
  19103. }
  19104. }
  19105. },
  19106. "/WrTrade2/QueryXhcpSellBackApply": {
  19107. "get": {
  19108. "security": [
  19109. {
  19110. "ApiKeyAuth": []
  19111. }
  19112. ],
  19113. "produces": [
  19114. "application/json"
  19115. ],
  19116. "tags": [
  19117. "仓单贸易v2"
  19118. ],
  19119. "summary": "查询我的回收申请(新会陈皮)",
  19120. "parameters": [
  19121. {
  19122. "type": "integer",
  19123. "description": "用户ID",
  19124. "name": "userid",
  19125. "in": "query",
  19126. "required": true
  19127. }
  19128. ],
  19129. "responses": {
  19130. "200": {
  19131. "description": "OK",
  19132. "schema": {
  19133. "type": "array",
  19134. "items": {
  19135. "$ref": "#/definitions/models.Xhcpsellbackapply"
  19136. }
  19137. }
  19138. },
  19139. "500": {
  19140. "description": "Internal Server Error",
  19141. "schema": {
  19142. "$ref": "#/definitions/app.Response"
  19143. }
  19144. }
  19145. }
  19146. }
  19147. },
  19148. "/ZJ/GetBankTip": {
  19149. "get": {
  19150. "produces": [
  19151. "application/json"
  19152. ],
  19153. "tags": [
  19154. "中江"
  19155. ],
  19156. "summary": "获取中江网银端出入金提示信息",
  19157. "responses": {
  19158. "200": {
  19159. "description": "OK",
  19160. "schema": {
  19161. "type": "string"
  19162. }
  19163. },
  19164. "500": {
  19165. "description": "Internal Server Error",
  19166. "schema": {
  19167. "$ref": "#/definitions/app.Response"
  19168. }
  19169. }
  19170. }
  19171. }
  19172. },
  19173. "/ZJ/GetCusBankChannels": {
  19174. "get": {
  19175. "produces": [
  19176. "application/json"
  19177. ],
  19178. "tags": [
  19179. "中江"
  19180. ],
  19181. "summary": "获取中江出入金渠道显示列表",
  19182. "responses": {
  19183. "200": {
  19184. "description": "OK",
  19185. "schema": {
  19186. "type": "array",
  19187. "items": {
  19188. "type": "string"
  19189. }
  19190. }
  19191. },
  19192. "500": {
  19193. "description": "Internal Server Error",
  19194. "schema": {
  19195. "$ref": "#/definitions/app.Response"
  19196. }
  19197. }
  19198. }
  19199. }
  19200. }
  19201. },
  19202. "definitions": {
  19203. "app.Response": {
  19204. "type": "object",
  19205. "properties": {
  19206. "code": {
  19207. "type": "integer"
  19208. },
  19209. "data": {},
  19210. "msg": {
  19211. "type": "string"
  19212. },
  19213. "page": {
  19214. "description": "页码",
  19215. "type": "integer"
  19216. },
  19217. "pagesize": {
  19218. "description": "每页条数",
  19219. "type": "integer"
  19220. },
  19221. "total": {
  19222. "description": "总条数",
  19223. "type": "integer"
  19224. }
  19225. }
  19226. },
  19227. "common.ClientMenu": {
  19228. "type": "object",
  19229. "properties": {
  19230. "children": {
  19231. "description": "子菜单列表",
  19232. "type": "array",
  19233. "items": {
  19234. "$ref": "#/definitions/common.ClientMenu"
  19235. }
  19236. },
  19237. "code": {
  19238. "description": "ID",
  19239. "type": "string"
  19240. },
  19241. "isshow": {
  19242. "description": "是否显示",
  19243. "type": "boolean"
  19244. },
  19245. "remark": {
  19246. "description": "备注",
  19247. "type": "string"
  19248. },
  19249. "rulekey": {
  19250. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  19251. "type": "string"
  19252. },
  19253. "sort": {
  19254. "description": "排序",
  19255. "type": "integer"
  19256. },
  19257. "title": {
  19258. "description": "标题",
  19259. "type": "string"
  19260. },
  19261. "type": {
  19262. "description": "类型,1:菜单 2:按钮",
  19263. "type": "integer"
  19264. },
  19265. "url": {
  19266. "description": "URL",
  19267. "type": "string"
  19268. }
  19269. }
  19270. },
  19271. "common.PCWebMenu": {
  19272. "type": "object",
  19273. "properties": {
  19274. "auth": {
  19275. "description": "页面权限列表",
  19276. "type": "array",
  19277. "items": {
  19278. "$ref": "#/definitions/common.PCWebMenuAuth"
  19279. }
  19280. },
  19281. "children": {
  19282. "description": "子菜单列表",
  19283. "type": "array",
  19284. "items": {
  19285. "$ref": "#/definitions/common.PCWebMenu"
  19286. }
  19287. },
  19288. "code": {
  19289. "description": "ID,新版本中权限KEY也是这个字段",
  19290. "type": "string"
  19291. },
  19292. "component": {
  19293. "description": "路由组件",
  19294. "type": "string"
  19295. },
  19296. "isshow": {
  19297. "description": "是否显示",
  19298. "type": "boolean"
  19299. },
  19300. "path": {
  19301. "description": "路由路径",
  19302. "type": "string"
  19303. },
  19304. "remark": {
  19305. "description": "备注",
  19306. "type": "string"
  19307. },
  19308. "rulekey": {
  19309. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  19310. "type": "string"
  19311. },
  19312. "sort": {
  19313. "description": "排序",
  19314. "type": "integer"
  19315. },
  19316. "title": {
  19317. "description": "标题",
  19318. "type": "string"
  19319. },
  19320. "url": {
  19321. "description": "URL",
  19322. "type": "string"
  19323. }
  19324. }
  19325. },
  19326. "common.PCWebMenuAuth": {
  19327. "type": "object",
  19328. "properties": {
  19329. "code": {
  19330. "description": "ID,新版本中权限KEY也是这个字段",
  19331. "type": "string"
  19332. },
  19333. "isshow": {
  19334. "description": "是否显示",
  19335. "type": "boolean"
  19336. },
  19337. "label": {
  19338. "description": "标题",
  19339. "type": "string"
  19340. },
  19341. "remark": {
  19342. "description": "备注",
  19343. "type": "string"
  19344. },
  19345. "rulekey": {
  19346. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  19347. "type": "string"
  19348. }
  19349. }
  19350. },
  19351. "common.QueryImageConfigsRsp": {
  19352. "type": "object",
  19353. "required": [
  19354. "configid"
  19355. ],
  19356. "properties": {
  19357. "areauserid": {
  19358. "description": "所属机构ID",
  19359. "type": "integer"
  19360. },
  19361. "configid": {
  19362. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  19363. "type": "integer"
  19364. },
  19365. "createdate": {
  19366. "description": "创建时间",
  19367. "type": "string"
  19368. },
  19369. "creatorid": {
  19370. "description": "创建人",
  19371. "type": "integer"
  19372. },
  19373. "imagedetailpath": {
  19374. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  19375. "type": "string"
  19376. },
  19377. "imagepath": {
  19378. "description": "图片",
  19379. "type": "string"
  19380. },
  19381. "imagetype": {
  19382. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  19383. "type": "integer"
  19384. },
  19385. "isshow": {
  19386. "description": "是否展示 - 0:不展示 1:展示",
  19387. "type": "integer"
  19388. },
  19389. "marketid": {
  19390. "description": "市场ID",
  19391. "type": "integer"
  19392. },
  19393. "modifierid": {
  19394. "description": "操作人",
  19395. "type": "integer"
  19396. },
  19397. "sort": {
  19398. "description": "排序",
  19399. "type": "integer"
  19400. },
  19401. "title": {
  19402. "description": "标题",
  19403. "type": "string"
  19404. },
  19405. "trademode": {
  19406. "description": "交易模式",
  19407. "type": "integer"
  19408. },
  19409. "updatedate": {
  19410. "description": "修改时间",
  19411. "type": "string"
  19412. },
  19413. "url": {
  19414. "description": "链接(地址或商品ID)",
  19415. "type": "string"
  19416. },
  19417. "urltype": {
  19418. "description": "链接类型 - 1:直接地址 2:商品ID",
  19419. "type": "integer"
  19420. }
  19421. }
  19422. },
  19423. "common.QueryNoticeRsp": {
  19424. "type": "object",
  19425. "required": [
  19426. "autoid"
  19427. ],
  19428. "properties": {
  19429. "auditoruserid": {
  19430. "description": "审核人",
  19431. "type": "integer"
  19432. },
  19433. "auditremark": {
  19434. "description": "审核备注",
  19435. "type": "string"
  19436. },
  19437. "audittime": {
  19438. "description": "审核日期",
  19439. "type": "string"
  19440. },
  19441. "autoid": {
  19442. "description": "自增ID",
  19443. "type": "integer"
  19444. },
  19445. "content": {
  19446. "description": "内容",
  19447. "type": "string"
  19448. },
  19449. "createtime": {
  19450. "description": "创建时间",
  19451. "type": "string"
  19452. },
  19453. "creatorid": {
  19454. "description": "建仓人",
  19455. "type": "integer"
  19456. },
  19457. "endtime": {
  19458. "description": "结束时间",
  19459. "type": "string"
  19460. },
  19461. "istop": {
  19462. "description": "是否置顶 - 0:不置顶 1:置顶",
  19463. "type": "integer"
  19464. },
  19465. "msgiconurl": {
  19466. "description": "消息图标Url",
  19467. "type": "string"
  19468. },
  19469. "msgtype": {
  19470. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  19471. "type": "integer"
  19472. },
  19473. "publisher": {
  19474. "description": "消息发布者",
  19475. "type": "string"
  19476. },
  19477. "readed": {
  19478. "description": "是否已读",
  19479. "type": "boolean"
  19480. },
  19481. "scheduletime": {
  19482. "description": "计划发送时间",
  19483. "type": "string"
  19484. },
  19485. "sendtype": {
  19486. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  19487. "type": "integer"
  19488. },
  19489. "sentstatus": {
  19490. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  19491. "type": "integer"
  19492. },
  19493. "title": {
  19494. "description": "标题",
  19495. "type": "string"
  19496. },
  19497. "userid": {
  19498. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  19499. "type": "integer"
  19500. }
  19501. }
  19502. },
  19503. "common.QueryProvincesAndCitiesRsp": {
  19504. "type": "object",
  19505. "properties": {
  19506. "cities": {
  19507. "description": "市",
  19508. "type": "array",
  19509. "items": {
  19510. "$ref": "#/definitions/models.Division"
  19511. }
  19512. },
  19513. "province": {
  19514. "description": "省",
  19515. "$ref": "#/definitions/models.Division"
  19516. }
  19517. }
  19518. },
  19519. "common.QueryTableDefineRsp": {
  19520. "type": "object",
  19521. "required": [
  19522. "tablekey"
  19523. ],
  19524. "properties": {
  19525. "columns": {
  19526. "description": "列头信息数组",
  19527. "type": "array",
  19528. "items": {
  19529. "$ref": "#/definitions/models.Tablecolumnconfig"
  19530. }
  19531. },
  19532. "remark": {
  19533. "description": "Remark",
  19534. "type": "string"
  19535. },
  19536. "tabelmenu": {
  19537. "description": "列表菜单",
  19538. "type": "string"
  19539. },
  19540. "tablekey": {
  19541. "description": "列表Key",
  19542. "type": "string"
  19543. },
  19544. "tablename": {
  19545. "description": "列表名称",
  19546. "type": "string"
  19547. },
  19548. "tabletype": {
  19549. "description": "列表类型 - 1:管理端 2:终端",
  19550. "type": "integer"
  19551. }
  19552. }
  19553. },
  19554. "common.QueryTraderMenuRsp": {
  19555. "type": "object",
  19556. "properties": {
  19557. "OperationMenu": {
  19558. "description": "功能菜单",
  19559. "type": "array",
  19560. "items": {
  19561. "$ref": "#/definitions/models.OperationPrimaryMenu"
  19562. }
  19563. },
  19564. "QuoteMenu": {
  19565. "description": "报价牌分类菜单",
  19566. "type": "array",
  19567. "items": {
  19568. "$ref": "#/definitions/models.QuotePrimaryMenu"
  19569. }
  19570. }
  19571. }
  19572. },
  19573. "cptrade.Cptradepositioncancel": {
  19574. "type": "object",
  19575. "required": [
  19576. "cancelid"
  19577. ],
  19578. "properties": {
  19579. "accountid": {
  19580. "description": "申请人账户ID",
  19581. "type": "integer"
  19582. },
  19583. "applystatus": {
  19584. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  19585. "type": "integer"
  19586. },
  19587. "applytime": {
  19588. "description": "申请时间",
  19589. "type": "string"
  19590. },
  19591. "cancelid": {
  19592. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  19593. "type": "integer"
  19594. },
  19595. "cancelqty": {
  19596. "description": "注销数量",
  19597. "type": "integer"
  19598. },
  19599. "createtime": {
  19600. "description": "创建时间",
  19601. "type": "string"
  19602. },
  19603. "creatorid": {
  19604. "description": "创建人ID",
  19605. "type": "integer"
  19606. },
  19607. "creatorname": {
  19608. "description": "创建人",
  19609. "type": "string"
  19610. },
  19611. "goodscode": {
  19612. "description": "订单商品代码",
  19613. "type": "string"
  19614. },
  19615. "goodsid": {
  19616. "description": "商品ID",
  19617. "type": "integer"
  19618. },
  19619. "goodsname": {
  19620. "description": "订单商品名称",
  19621. "type": "string"
  19622. },
  19623. "goodunit": {
  19624. "description": "报价单位",
  19625. "type": "string"
  19626. },
  19627. "handlestatus": {
  19628. "description": "处理状态",
  19629. "type": "integer"
  19630. },
  19631. "marketid": {
  19632. "description": "市场ID",
  19633. "type": "integer"
  19634. },
  19635. "marketname": {
  19636. "description": "市场名称",
  19637. "type": "string"
  19638. },
  19639. "tradedate": {
  19640. "description": "交易日(yyyyMMdd)",
  19641. "type": "string"
  19642. },
  19643. "userid": {
  19644. "description": "申请人ID",
  19645. "type": "integer"
  19646. }
  19647. }
  19648. },
  19649. "cptrade.Cptradepresaleapply": {
  19650. "type": "object",
  19651. "required": [
  19652. "applyid"
  19653. ],
  19654. "properties": {
  19655. "accountid": {
  19656. "description": "申请人账户ID",
  19657. "type": "integer"
  19658. },
  19659. "applyid": {
  19660. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  19661. "type": "integer"
  19662. },
  19663. "applyremark": {
  19664. "description": "申请备注",
  19665. "type": "string"
  19666. },
  19667. "applystatus": {
  19668. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  19669. "type": "integer"
  19670. },
  19671. "applytime": {
  19672. "description": "申请时间",
  19673. "type": "string"
  19674. },
  19675. "attachmenturl": {
  19676. "description": "附件地址",
  19677. "type": "string"
  19678. },
  19679. "endtime": {
  19680. "description": "预售结束时间",
  19681. "type": "string"
  19682. },
  19683. "goodscode": {
  19684. "description": "商品代码",
  19685. "type": "string"
  19686. },
  19687. "goodsid": {
  19688. "description": "商品ID",
  19689. "type": "integer"
  19690. },
  19691. "goodsname": {
  19692. "description": "商品名称",
  19693. "type": "string"
  19694. },
  19695. "goodunit": {
  19696. "description": "报价单位",
  19697. "type": "string"
  19698. },
  19699. "handlestatus": {
  19700. "description": "处理状态",
  19701. "type": "integer"
  19702. },
  19703. "marketid": {
  19704. "description": "预售市场ID",
  19705. "type": "integer"
  19706. },
  19707. "marketname": {
  19708. "description": "预售市场名称",
  19709. "type": "string"
  19710. },
  19711. "presaleqty": {
  19712. "description": "预售数量",
  19713. "type": "integer"
  19714. },
  19715. "relatedgoodscode": {
  19716. "description": "关联交易合约代码",
  19717. "type": "string"
  19718. },
  19719. "relatedgoodsid": {
  19720. "description": "关联交易合约ID",
  19721. "type": "integer"
  19722. },
  19723. "relatedgoodsname": {
  19724. "description": "关联交易合约名称",
  19725. "type": "string"
  19726. },
  19727. "starttime": {
  19728. "description": "预售开始时间",
  19729. "type": "string"
  19730. },
  19731. "tradedate": {
  19732. "description": "交易日(yyyyMMdd)",
  19733. "type": "string"
  19734. },
  19735. "trademode": {
  19736. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  19737. "type": "integer"
  19738. },
  19739. "userid": {
  19740. "description": "申请人ID",
  19741. "type": "integer"
  19742. }
  19743. }
  19744. },
  19745. "cptrade.Cptradeusergoodsdata": {
  19746. "type": "object",
  19747. "required": [
  19748. "accountid",
  19749. "goodsid"
  19750. ],
  19751. "properties": {
  19752. "EnabledQty": {
  19753. "description": "可用量",
  19754. "type": "integer"
  19755. },
  19756. "GoodsCode": {
  19757. "description": "订单商品代码",
  19758. "type": "string"
  19759. },
  19760. "GoodsName": {
  19761. "description": "订单商品名称",
  19762. "type": "string"
  19763. },
  19764. "WRStandardCode": {
  19765. "description": "仓单标准代码",
  19766. "type": "string"
  19767. },
  19768. "WRStandardName": {
  19769. "description": "仓单标准名称",
  19770. "type": "string"
  19771. },
  19772. "accountid": {
  19773. "description": "账户ID",
  19774. "type": "integer"
  19775. },
  19776. "cancelqty": {
  19777. "description": "注销量",
  19778. "type": "integer"
  19779. },
  19780. "curpresaleqty": {
  19781. "description": "当前预售量",
  19782. "type": "integer"
  19783. },
  19784. "deliveryqty": {
  19785. "description": "交割量",
  19786. "type": "integer"
  19787. },
  19788. "freezeamount": {
  19789. "description": "冻结金额",
  19790. "type": "number"
  19791. },
  19792. "goodsid": {
  19793. "description": "商品ID",
  19794. "type": "integer"
  19795. },
  19796. "goodunit": {
  19797. "description": "报价单位",
  19798. "type": "string"
  19799. },
  19800. "hasspotfreeze": {
  19801. "description": "是否有现货冻结 - 0:否 1:有",
  19802. "type": "integer"
  19803. },
  19804. "inqty": {
  19805. "description": "转入量(总数量)",
  19806. "type": "integer"
  19807. },
  19808. "marketid": {
  19809. "description": "市场ID",
  19810. "type": "integer"
  19811. },
  19812. "presaledamount": {
  19813. "description": "已预售总金额",
  19814. "type": "integer"
  19815. },
  19816. "presaledqty": {
  19817. "description": "已预售量",
  19818. "type": "integer"
  19819. },
  19820. "userid": {
  19821. "description": "用户ID",
  19822. "type": "integer"
  19823. },
  19824. "wrstandardid": {
  19825. "description": "仓单标准ID",
  19826. "type": "integer"
  19827. }
  19828. }
  19829. },
  19830. "cptrade.QueryCPTradeMyBidRsp": {
  19831. "type": "object",
  19832. "required": [
  19833. "accountid",
  19834. "goodsid",
  19835. "marketid",
  19836. "orderid",
  19837. "orderqty",
  19838. "ordertime",
  19839. "tradeprice",
  19840. "tradeqty"
  19841. ],
  19842. "properties": {
  19843. "accountid": {
  19844. "description": "账户ID[报价币种]",
  19845. "type": "integer"
  19846. },
  19847. "goodsid": {
  19848. "description": "商品ID",
  19849. "type": "integer"
  19850. },
  19851. "goodunit": {
  19852. "description": "报价单位",
  19853. "type": "string"
  19854. },
  19855. "marketid": {
  19856. "description": "市场ID",
  19857. "type": "integer"
  19858. },
  19859. "orderid": {
  19860. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19861. "type": "integer"
  19862. },
  19863. "orderprice": {
  19864. "description": "委托价格",
  19865. "type": "number"
  19866. },
  19867. "orderqty": {
  19868. "description": "委托数量",
  19869. "type": "integer"
  19870. },
  19871. "ordertime": {
  19872. "description": "委托时间",
  19873. "type": "string"
  19874. },
  19875. "ordertotalprice": {
  19876. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  19877. "type": "number"
  19878. },
  19879. "ordertotalweight": {
  19880. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  19881. "type": "integer"
  19882. },
  19883. "totaltotalprice": {
  19884. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  19885. "type": "number"
  19886. },
  19887. "tradeprice": {
  19888. "description": "成交价格",
  19889. "type": "number"
  19890. },
  19891. "tradeqty": {
  19892. "description": "成交数量",
  19893. "type": "integer"
  19894. }
  19895. }
  19896. },
  19897. "cptrade.QueryCPTradeOrderDetailRsq": {
  19898. "type": "object",
  19899. "required": [
  19900. "accountid",
  19901. "buildtype",
  19902. "buyorsell",
  19903. "goodsid",
  19904. "marketid",
  19905. "memberuserid",
  19906. "operatetype",
  19907. "orderqty",
  19908. "ordertime",
  19909. "pricemode",
  19910. "strorderid",
  19911. "tradedate",
  19912. "validtype"
  19913. ],
  19914. "properties": {
  19915. "accountid": {
  19916. "description": "账户ID[报价币种]",
  19917. "type": "integer"
  19918. },
  19919. "buildtype": {
  19920. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19921. "type": "integer"
  19922. },
  19923. "buyorsell": {
  19924. "description": "买卖 - 0:买 1:卖",
  19925. "type": "integer"
  19926. },
  19927. "cancelorderid": {
  19928. "description": "撤单单号(撤单时填写)",
  19929. "type": "integer"
  19930. },
  19931. "cancelqty": {
  19932. "description": "撤单数量",
  19933. "type": "integer"
  19934. },
  19935. "clientordertime": {
  19936. "description": "客户端委托时间",
  19937. "type": "string"
  19938. },
  19939. "clientticket": {
  19940. "description": "客户端流水号",
  19941. "type": "string"
  19942. },
  19943. "clienttype": {
  19944. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19945. "type": "integer"
  19946. },
  19947. "closeexchagechargevalue": {
  19948. "description": "平仓交易所手续费设置值",
  19949. "type": "number"
  19950. },
  19951. "closefeealgorithm": {
  19952. "description": "平仓手续费收取方式 1:比率 2:固定",
  19953. "type": "integer"
  19954. },
  19955. "closefreezecharge": {
  19956. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  19957. "type": "number"
  19958. },
  19959. "closememberchargevalue": {
  19960. "description": "平仓会员手续费设置值",
  19961. "type": "number"
  19962. },
  19963. "closeqty": {
  19964. "description": "平仓数量(先建后平操作 需要记录)",
  19965. "type": "integer"
  19966. },
  19967. "closetradeqty": {
  19968. "description": "平仓成交数量(先建后平操作,需要记录)",
  19969. "type": "integer"
  19970. },
  19971. "closeunfreezecharge": {
  19972. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  19973. "type": "number"
  19974. },
  19975. "delistingtype": {
  19976. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  19977. "type": "integer"
  19978. },
  19979. "freezecharge": {
  19980. "description": "冻结手续费",
  19981. "type": "number"
  19982. },
  19983. "freezemargin": {
  19984. "description": "冻结保证金(冻结交易金额)",
  19985. "type": "number"
  19986. },
  19987. "gcaccountid": {
  19988. "description": "账户ID[合约币种]",
  19989. "type": "integer"
  19990. },
  19991. "goodsid": {
  19992. "description": "商品ID",
  19993. "type": "integer"
  19994. },
  19995. "isconfirmexercise": {
  19996. "description": "是否确认行权- 0:否 1:是",
  19997. "type": "integer"
  19998. },
  19999. "ispreexercise": {
  20000. "description": "是否预申报- 0:否 1:是",
  20001. "type": "integer"
  20002. },
  20003. "listingselecttype": {
  20004. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20005. "type": "integer"
  20006. },
  20007. "marginalgorithm": {
  20008. "description": "保证金收取方式 1:比率 2:固定",
  20009. "type": "integer"
  20010. },
  20011. "marginvalue": {
  20012. "description": "即市保证金设置值",
  20013. "type": "number"
  20014. },
  20015. "marketid": {
  20016. "description": "市场ID",
  20017. "type": "integer"
  20018. },
  20019. "marketmaxsub": {
  20020. "description": "市价最大偏移范围",
  20021. "type": "number"
  20022. },
  20023. "memberuserid": {
  20024. "description": "所属会员UserID",
  20025. "type": "integer"
  20026. },
  20027. "openexchagechargevalue": {
  20028. "description": "建仓交易所手续费设置值",
  20029. "type": "number"
  20030. },
  20031. "openfeealgorithm": {
  20032. "description": "建仓手续费收取方式 1:比率 2:固定",
  20033. "type": "integer"
  20034. },
  20035. "openfreezecharge": {
  20036. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20037. "type": "number"
  20038. },
  20039. "openmemberchargevalue": {
  20040. "description": "建仓会员手续费设置值",
  20041. "type": "number"
  20042. },
  20043. "openqty": {
  20044. "description": "开仓数量(先建后平操作,需要记录)",
  20045. "type": "integer"
  20046. },
  20047. "opentradeqty": {
  20048. "description": "开仓成交数量(先建后平操作,需要记录)",
  20049. "type": "integer"
  20050. },
  20051. "openunfreezecharge": {
  20052. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20053. "type": "number"
  20054. },
  20055. "operatetype": {
  20056. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20057. "type": "integer"
  20058. },
  20059. "operatorid": {
  20060. "description": "登录账号(LoginID)",
  20061. "type": "integer"
  20062. },
  20063. "optiontype": {
  20064. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20065. "type": "integer"
  20066. },
  20067. "orderprice": {
  20068. "description": "委托价格",
  20069. "type": "number"
  20070. },
  20071. "orderqty": {
  20072. "description": "委托数量",
  20073. "type": "integer"
  20074. },
  20075. "ordersrc": {
  20076. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20077. "type": "integer"
  20078. },
  20079. "orderstatus": {
  20080. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20081. "type": "integer"
  20082. },
  20083. "ordertime": {
  20084. "description": "委托时间",
  20085. "type": "string"
  20086. },
  20087. "preexerciseprice": {
  20088. "description": "预申报价格",
  20089. "type": "number"
  20090. },
  20091. "premium": {
  20092. "description": "权利金",
  20093. "type": "number"
  20094. },
  20095. "preorderid": {
  20096. "description": "关联预埋单号(止盈止损单时填写)",
  20097. "type": "integer"
  20098. },
  20099. "pricemode": {
  20100. "description": "取价方式 - 1:市价 2: 限价",
  20101. "type": "integer"
  20102. },
  20103. "quoteid": {
  20104. "description": "报价单ID",
  20105. "type": "integer"
  20106. },
  20107. "relatedid": {
  20108. "description": "关联单号(交割单)",
  20109. "type": "integer"
  20110. },
  20111. "retcode": {
  20112. "description": "错误代码",
  20113. "type": "integer"
  20114. },
  20115. "sessionid": {
  20116. "description": "会话ID",
  20117. "type": "integer"
  20118. },
  20119. "strorderid": {
  20120. "description": "委托单号",
  20121. "type": "string"
  20122. },
  20123. "tradedate": {
  20124. "description": "交易日(yyyyMMdd)",
  20125. "type": "string"
  20126. },
  20127. "tradeproperty": {
  20128. "description": "交易属性",
  20129. "type": "integer"
  20130. },
  20131. "tradeqty": {
  20132. "description": "成交数量",
  20133. "type": "integer"
  20134. },
  20135. "unfreezecharge": {
  20136. "description": "解冻手续费",
  20137. "type": "number"
  20138. },
  20139. "unfreezemargin": {
  20140. "description": "解冻保证金",
  20141. "type": "number"
  20142. },
  20143. "updatetime": {
  20144. "description": "更新时间",
  20145. "type": "string"
  20146. },
  20147. "uuid": {
  20148. "description": "发起端唯一id",
  20149. "type": "string"
  20150. },
  20151. "validtime": {
  20152. "description": "有效期限",
  20153. "type": "string"
  20154. },
  20155. "validtype": {
  20156. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20157. "type": "integer"
  20158. },
  20159. "volumetype": {
  20160. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20161. "type": "integer"
  20162. }
  20163. }
  20164. },
  20165. "cptrade.QueryMyCPTradeGoodsRsp": {
  20166. "type": "object",
  20167. "required": [
  20168. "goodscode",
  20169. "goodsid",
  20170. "goodsname",
  20171. "marketid",
  20172. "relatedgoodscode",
  20173. "relatedgoodsname"
  20174. ],
  20175. "properties": {
  20176. "accountid": {
  20177. "description": "卖方账户ID",
  20178. "type": "integer"
  20179. },
  20180. "agreeunit": {
  20181. "description": "合约单位",
  20182. "type": "number"
  20183. },
  20184. "applyid": {
  20185. "description": "关联申请ID",
  20186. "type": "integer"
  20187. },
  20188. "attachmenturl": {
  20189. "description": "附件地址",
  20190. "type": "string"
  20191. },
  20192. "createtime": {
  20193. "description": "创建时间",
  20194. "type": "string"
  20195. },
  20196. "currencyid": {
  20197. "description": "报价货币ID",
  20198. "type": "integer"
  20199. },
  20200. "decimalplace": {
  20201. "description": "报价小数位",
  20202. "type": "integer"
  20203. },
  20204. "endtime": {
  20205. "description": "预售结束时间",
  20206. "type": "string"
  20207. },
  20208. "floorprice": {
  20209. "description": "底价[大宗式竞拍]",
  20210. "type": "number"
  20211. },
  20212. "goodscode": {
  20213. "description": "商品代码(预售)",
  20214. "type": "string"
  20215. },
  20216. "goodsdetail": {
  20217. "description": "详情[大宗]",
  20218. "type": "string"
  20219. },
  20220. "goodsid": {
  20221. "description": "商品ID(自增ID SEQ_GOODS)",
  20222. "type": "integer"
  20223. },
  20224. "goodsname": {
  20225. "description": "商品名称(预售)",
  20226. "type": "string"
  20227. },
  20228. "goodunit": {
  20229. "description": "报价单位",
  20230. "type": "string"
  20231. },
  20232. "goodunitid": {
  20233. "description": "报价单位ID",
  20234. "type": "integer"
  20235. },
  20236. "marketid": {
  20237. "description": "所属市场ID",
  20238. "type": "integer"
  20239. },
  20240. "marketname": {
  20241. "description": "预售市场名称",
  20242. "type": "string"
  20243. },
  20244. "presaledamount": {
  20245. "description": "已预售总金额(预售结束时更新)",
  20246. "type": "number"
  20247. },
  20248. "presaledqty": {
  20249. "description": "已预售量(预售结束时更新)",
  20250. "type": "integer"
  20251. },
  20252. "presalemode": {
  20253. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  20254. "type": "integer"
  20255. },
  20256. "presaleqty": {
  20257. "description": "预售数量",
  20258. "type": "integer"
  20259. },
  20260. "refprice": {
  20261. "description": "参考价格[一口价]",
  20262. "type": "number"
  20263. },
  20264. "relatedgoodscode": {
  20265. "description": "商品代码(订单)",
  20266. "type": "string"
  20267. },
  20268. "relatedgoodsid": {
  20269. "description": "关联交易合约ID",
  20270. "type": "integer"
  20271. },
  20272. "relatedgoodsname": {
  20273. "description": "商品名称(订单)",
  20274. "type": "string"
  20275. },
  20276. "relatedmarketid": {
  20277. "description": "关联交易合约市场ID",
  20278. "type": "integer"
  20279. },
  20280. "sellstatus": {
  20281. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  20282. "type": "integer"
  20283. },
  20284. "startprice": {
  20285. "description": "起拍价[大宗式竞拍]",
  20286. "type": "number"
  20287. },
  20288. "starttime": {
  20289. "description": "预售开始时间",
  20290. "type": "string"
  20291. },
  20292. "tradedate": {
  20293. "description": "交易日(yyyyMMdd)",
  20294. "type": "string"
  20295. },
  20296. "tradeprice": {
  20297. "description": "成交价[大宗]",
  20298. "type": "number"
  20299. },
  20300. "userid": {
  20301. "description": "卖方用户ID",
  20302. "type": "integer"
  20303. }
  20304. }
  20305. },
  20306. "cptrade.QueryPresaleGoodsExRsp": {
  20307. "type": "object",
  20308. "required": [
  20309. "goodsid"
  20310. ],
  20311. "properties": {
  20312. "attachmenturl": {
  20313. "description": "附件地址",
  20314. "type": "string"
  20315. },
  20316. "createtime": {
  20317. "description": "创建时间",
  20318. "type": "string"
  20319. },
  20320. "endtime": {
  20321. "description": "预售结束时间",
  20322. "type": "string"
  20323. },
  20324. "floorprice": {
  20325. "description": "底价[大宗式竞拍]",
  20326. "type": "number"
  20327. },
  20328. "goodsdetail": {
  20329. "description": "详情[大宗]",
  20330. "type": "string"
  20331. },
  20332. "goodsid": {
  20333. "description": "商品ID(预售)",
  20334. "type": "integer"
  20335. },
  20336. "goodunit": {
  20337. "description": "报价单位",
  20338. "type": "string"
  20339. },
  20340. "marketid": {
  20341. "description": "预售市场ID - 根据预售模式选择市场",
  20342. "type": "integer"
  20343. },
  20344. "presaledamount": {
  20345. "description": "已预售总金额(预售结束时更新)",
  20346. "type": "number"
  20347. },
  20348. "presaledqty": {
  20349. "description": "已预售量(预售结束时更新)",
  20350. "type": "integer"
  20351. },
  20352. "presalemode": {
  20353. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  20354. "type": "integer"
  20355. },
  20356. "presaleqty": {
  20357. "description": "预售数量",
  20358. "type": "integer"
  20359. },
  20360. "refprice": {
  20361. "description": "参考价格[一口价]",
  20362. "type": "number"
  20363. },
  20364. "relatedgoodsid": {
  20365. "description": "关联交易合约ID",
  20366. "type": "integer"
  20367. },
  20368. "relatedmarketid": {
  20369. "description": "关联交易合约市场ID",
  20370. "type": "integer"
  20371. },
  20372. "sellstatus": {
  20373. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  20374. "type": "integer"
  20375. },
  20376. "startprice": {
  20377. "description": "起拍价[大宗式竞拍]",
  20378. "type": "number"
  20379. },
  20380. "starttime": {
  20381. "description": "预售开始时间",
  20382. "type": "string"
  20383. },
  20384. "tradedate": {
  20385. "description": "交易日(yyyyMMdd)",
  20386. "type": "string"
  20387. },
  20388. "tradeprice": {
  20389. "description": "成交价[大宗]",
  20390. "type": "number"
  20391. }
  20392. }
  20393. },
  20394. "delivery.QueryDeliveryRelationRsp": {
  20395. "type": "object",
  20396. "required": [
  20397. "begindate",
  20398. "enddate",
  20399. "goodsid",
  20400. "mindeliveryqty",
  20401. "xdeliveryratio"
  20402. ],
  20403. "properties": {
  20404. "begindate": {
  20405. "description": "起始日期(yyyyMMdd)",
  20406. "type": "string"
  20407. },
  20408. "buytemplateid": {
  20409. "description": "买履约计划模板ID",
  20410. "type": "integer"
  20411. },
  20412. "deliverygoodscode": {
  20413. "description": "品种代码",
  20414. "type": "string"
  20415. },
  20416. "deliverygoodsid": {
  20417. "description": "交割商品",
  20418. "type": "integer"
  20419. },
  20420. "deliverygoodsname": {
  20421. "description": "品种名称",
  20422. "type": "string"
  20423. },
  20424. "deliverymode": {
  20425. "description": "交割方式 - 1:点选式 2:申报式",
  20426. "type": "integer"
  20427. },
  20428. "deliverypricerule": {
  20429. "description": "交割价规则- 1:行情价 2:建仓价",
  20430. "type": "integer"
  20431. },
  20432. "deliverytype": {
  20433. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  20434. "type": "integer"
  20435. },
  20436. "enddate": {
  20437. "description": "结束日期(yyyyMMdd)",
  20438. "type": "string"
  20439. },
  20440. "enumdicname": {
  20441. "description": "品类单位名称",
  20442. "type": "string"
  20443. },
  20444. "goodscode": {
  20445. "description": "商品代码",
  20446. "type": "string"
  20447. },
  20448. "goodsid": {
  20449. "description": "交易合约ID",
  20450. "type": "integer"
  20451. },
  20452. "goodsname": {
  20453. "description": "商品名称",
  20454. "type": "string"
  20455. },
  20456. "marketid": {
  20457. "description": "市场ID",
  20458. "type": "integer"
  20459. },
  20460. "mindeliveryqty": {
  20461. "description": "最小交割系数(K)",
  20462. "type": "integer"
  20463. },
  20464. "p2deliveryprice": {
  20465. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  20466. "type": "number"
  20467. },
  20468. "p2deliveryratio": {
  20469. "description": "P2合约系数(p)",
  20470. "type": "integer"
  20471. },
  20472. "p2goodsid": {
  20473. "description": "P2合约ID",
  20474. "type": "integer"
  20475. },
  20476. "p2pricemode": {
  20477. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  20478. "type": "integer"
  20479. },
  20480. "pdeliveryprice": {
  20481. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  20482. "type": "number"
  20483. },
  20484. "pdeliveryratio": {
  20485. "description": "P合约系数(n)",
  20486. "type": "integer"
  20487. },
  20488. "pgoodscode": {
  20489. "description": "p合约代码",
  20490. "type": "string"
  20491. },
  20492. "pgoodsid": {
  20493. "description": "P合约ID",
  20494. "type": "integer"
  20495. },
  20496. "ppricemode": {
  20497. "description": "P合约价格方式 - 1:商品价 2:固定值",
  20498. "type": "integer"
  20499. },
  20500. "rratio": {
  20501. "description": "兑换系数(R)",
  20502. "type": "integer"
  20503. },
  20504. "rratio1": {
  20505. "description": "兑换系数(交易合约)(R1)",
  20506. "type": "integer"
  20507. },
  20508. "rratio2": {
  20509. "description": "兑换系数(仓单标准)(R2)",
  20510. "type": "integer"
  20511. },
  20512. "selltemplateid": {
  20513. "description": "卖履约计划模板ID",
  20514. "type": "integer"
  20515. },
  20516. "wrstandardid": {
  20517. "description": "仓单标准ID",
  20518. "type": "integer"
  20519. },
  20520. "xdeliveryratio": {
  20521. "description": "交易合约系数(m)",
  20522. "type": "integer"
  20523. }
  20524. }
  20525. },
  20526. "ermcp.ExposureDetailRsp": {
  20527. "type": "object",
  20528. "properties": {
  20529. "areauserid": {
  20530. "description": "机构ID",
  20531. "type": "integer"
  20532. },
  20533. "changeQty": {
  20534. "description": "套保变动量",
  20535. "type": "number"
  20536. },
  20537. "contracttype": {
  20538. "description": "现货合同类型 - 1:采购 -1:销售",
  20539. "type": "integer"
  20540. },
  20541. "convertfactor": {
  20542. "description": "标仓系数",
  20543. "type": "number"
  20544. },
  20545. "convertratio": {
  20546. "description": "套保系数",
  20547. "type": "number"
  20548. },
  20549. "createtime": {
  20550. "description": "时间",
  20551. "type": "string"
  20552. },
  20553. "enumdicname": {
  20554. "description": "现货商品单位名称",
  20555. "type": "string"
  20556. },
  20557. "logtype": {
  20558. "description": "类型 - 1:套保计划 2:现货合同",
  20559. "type": "integer"
  20560. },
  20561. "middlegoodsId": {
  20562. "description": "套保商品id",
  20563. "type": "integer"
  20564. },
  20565. "middlegoodscode": {
  20566. "description": "套保商品代码",
  20567. "type": "string"
  20568. },
  20569. "middlegoodsname": {
  20570. "description": "套保商品名称",
  20571. "type": "string"
  20572. },
  20573. "qty": {
  20574. "description": "数量",
  20575. "type": "number"
  20576. },
  20577. "relateNo": {
  20578. "description": "现货合同/套保计划编号",
  20579. "type": "string"
  20580. },
  20581. "wrstandardcode": {
  20582. "description": "现货商品代码",
  20583. "type": "string"
  20584. },
  20585. "wrstandardid": {
  20586. "description": "现货商品ID",
  20587. "type": "integer"
  20588. },
  20589. "wrstandardname": {
  20590. "description": "现货商品名称",
  20591. "type": "string"
  20592. }
  20593. }
  20594. },
  20595. "ermcp.ExposureHedgePosDetailRsp": {
  20596. "type": "object",
  20597. "properties": {
  20598. "buyorsell": {
  20599. "description": "买卖方向 0-买 1-卖",
  20600. "type": "integer"
  20601. },
  20602. "channelbuildtype": {
  20603. "description": "开平方向 1-建仓 2-平仓",
  20604. "type": "integer"
  20605. },
  20606. "goodscode": {
  20607. "description": "商品代码",
  20608. "type": "string"
  20609. },
  20610. "goodsname": {
  20611. "description": "商品名称",
  20612. "type": "string"
  20613. },
  20614. "hedgegoodsid": {
  20615. "description": "商品id",
  20616. "type": "integer"
  20617. },
  20618. "tradeqty": {
  20619. "description": "数量(成交数量)",
  20620. "type": "integer"
  20621. },
  20622. "tradetime": {
  20623. "description": "时间(成交时间)",
  20624. "type": "string"
  20625. }
  20626. }
  20627. },
  20628. "ermcp.ExposureHedgePositionRsp": {
  20629. "type": "object",
  20630. "properties": {
  20631. "accountid": {
  20632. "description": "资金账号[外部母账户]",
  20633. "type": "integer"
  20634. },
  20635. "curbuyposition": {
  20636. "description": "期末买头寸",
  20637. "type": "integer"
  20638. },
  20639. "cursellposition": {
  20640. "description": "期末卖头寸",
  20641. "type": "integer"
  20642. },
  20643. "curtdbuyposition": {
  20644. "description": "期末今日买头寸",
  20645. "type": "integer"
  20646. },
  20647. "curtdsellposition": {
  20648. "description": "期末今日卖头寸",
  20649. "type": "integer"
  20650. },
  20651. "curydbuyposition": {
  20652. "description": "期末上日买头寸",
  20653. "type": "integer"
  20654. },
  20655. "curydsellposition": {
  20656. "description": "期末上日卖头寸",
  20657. "type": "integer"
  20658. },
  20659. "decreaseqty": {
  20660. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20661. "type": "integer"
  20662. },
  20663. "fretdbuyposition": {
  20664. "description": "冻结今日买头寸",
  20665. "type": "integer"
  20666. },
  20667. "fretdsellposition": {
  20668. "description": "冻结今日卖头寸",
  20669. "type": "integer"
  20670. },
  20671. "freydbuyposition": {
  20672. "description": "冻结上日买头寸",
  20673. "type": "integer"
  20674. },
  20675. "freydsellposition": {
  20676. "description": "冻结上日卖头寸",
  20677. "type": "integer"
  20678. },
  20679. "goodscode": {
  20680. "description": "商品代码",
  20681. "type": "string"
  20682. },
  20683. "goodsid": {
  20684. "description": "商品id",
  20685. "type": "integer"
  20686. },
  20687. "goodsname": {
  20688. "description": "商品名称",
  20689. "type": "string"
  20690. },
  20691. "hedgeaccountcode": {
  20692. "description": "对冲账号",
  20693. "type": "string"
  20694. },
  20695. "hedgegoodsid": {
  20696. "description": "对冲合约ID",
  20697. "type": "integer"
  20698. },
  20699. "increaseqty": {
  20700. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20701. "type": "integer"
  20702. },
  20703. "marketid": {
  20704. "description": "市场ID",
  20705. "type": "integer"
  20706. },
  20707. "relateduserid": {
  20708. "description": "关联用户id",
  20709. "type": "integer"
  20710. },
  20711. "totalcurqty": {
  20712. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20713. "type": "integer"
  20714. },
  20715. "totalydqty": {
  20716. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20717. "type": "integer"
  20718. },
  20719. "tradedate": {
  20720. "description": "交易日(yyyyMMdd)",
  20721. "type": "string"
  20722. },
  20723. "ydbuyposition": {
  20724. "description": "期初买头寸",
  20725. "type": "integer"
  20726. },
  20727. "ydsellposition": {
  20728. "description": "期初卖头寸",
  20729. "type": "integer"
  20730. }
  20731. }
  20732. },
  20733. "ermcp.ExposureSpotDetailRsp": {
  20734. "type": "object",
  20735. "properties": {
  20736. "contracttype": {
  20737. "description": "合同类型 1-采购 -1-销售",
  20738. "type": "integer"
  20739. },
  20740. "createtime": {
  20741. "description": "创建时间",
  20742. "type": "string"
  20743. },
  20744. "enumdicname": {
  20745. "description": "现货商品单位名称",
  20746. "type": "string"
  20747. },
  20748. "logtype": {
  20749. "description": "记录类型 1-套保 2-现货合同",
  20750. "type": "integer"
  20751. },
  20752. "qty": {
  20753. "description": "数量",
  20754. "type": "number"
  20755. },
  20756. "recordname": {
  20757. "description": "类型名称",
  20758. "type": "string"
  20759. },
  20760. "relatedid": {
  20761. "description": "套保计划ID/现货合同ID",
  20762. "type": "string"
  20763. },
  20764. "relatedno": {
  20765. "description": "编号",
  20766. "type": "string"
  20767. },
  20768. "strtime": {
  20769. "description": "时间",
  20770. "type": "string"
  20771. },
  20772. "wrstandardcode": {
  20773. "description": "现货商品代码",
  20774. "type": "string"
  20775. },
  20776. "wrstandardname": {
  20777. "description": "现货商品名称",
  20778. "type": "string"
  20779. }
  20780. }
  20781. },
  20782. "ermcp.ExposureSpotRsp": {
  20783. "type": "object",
  20784. "properties": {
  20785. "areauserid": {
  20786. "description": "所属机构",
  20787. "type": "integer"
  20788. },
  20789. "decreaseqty": {
  20790. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  20791. "type": "number"
  20792. },
  20793. "increaseqty": {
  20794. "description": "增加数量=销售计划数量+采购已定价数量",
  20795. "type": "number"
  20796. },
  20797. "oritoalspotqty": {
  20798. "description": "昨日数量",
  20799. "type": "number"
  20800. },
  20801. "totalspotqty": {
  20802. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  20803. "type": "number"
  20804. },
  20805. "updatetime": {
  20806. "description": "更新时间",
  20807. "type": "string"
  20808. },
  20809. "wrstandardcode": {
  20810. "description": "现货品种代码",
  20811. "type": "string"
  20812. },
  20813. "wrstandardid": {
  20814. "description": "现货商品ID",
  20815. "type": "integer"
  20816. },
  20817. "wrstandardname": {
  20818. "description": "现货品种",
  20819. "type": "string"
  20820. }
  20821. }
  20822. },
  20823. "ermcp.HisExposureRsp": {
  20824. "type": "object",
  20825. "properties": {
  20826. "data": {
  20827. "description": "历史敞口",
  20828. "type": "array",
  20829. "items": {
  20830. "$ref": "#/definitions/models.ErmcpHisExposure"
  20831. }
  20832. },
  20833. "enumdicname": {
  20834. "description": "单位名称",
  20835. "type": "string"
  20836. },
  20837. "middlegoodscode": {
  20838. "description": "套保品种代码",
  20839. "type": "string"
  20840. },
  20841. "middlegoodsid": {
  20842. "description": "套保品种ID",
  20843. "type": "integer"
  20844. },
  20845. "middlegoodsname": {
  20846. "description": "套保品种名称",
  20847. "type": "string"
  20848. }
  20849. }
  20850. },
  20851. "ermcp.PendingAuditCntRsp": {
  20852. "type": "object",
  20853. "properties": {
  20854. "areastockqty": {
  20855. "description": "待审核数量: 库存申请",
  20856. "type": "integer"
  20857. },
  20858. "businessdjqty": {
  20859. "description": "待审核数量: 点价",
  20860. "type": "integer"
  20861. },
  20862. "businessfpqty": {
  20863. "description": "待审核数量: 发票",
  20864. "type": "integer"
  20865. },
  20866. "businessjsqty": {
  20867. "description": "待审核数量: 结算",
  20868. "type": "integer"
  20869. },
  20870. "businesskxqty": {
  20871. "description": "待审核数量: 款项",
  20872. "type": "integer"
  20873. },
  20874. "hedgeplanqty": {
  20875. "description": "待审核数量: 套保计划",
  20876. "type": "integer"
  20877. },
  20878. "spotcontractqty": {
  20879. "description": "待审核数量: 现货合同",
  20880. "type": "integer"
  20881. },
  20882. "userqty": {
  20883. "description": "待审核数量: 用户",
  20884. "type": "integer"
  20885. }
  20886. }
  20887. },
  20888. "ermcp.QryAvalidGPRsp": {
  20889. "type": "object",
  20890. "properties": {
  20891. "goodsgroupid": {
  20892. "description": "期货品种id",
  20893. "type": "integer"
  20894. },
  20895. "goodsgroupname": {
  20896. "description": "期货品种名称",
  20897. "type": "string"
  20898. },
  20899. "goodunitid": {
  20900. "description": "品种单位id",
  20901. "type": "integer"
  20902. },
  20903. "goodunitname": {
  20904. "description": "品种单位名称",
  20905. "type": "string"
  20906. },
  20907. "outergroupcode": {
  20908. "description": "期货品种代码",
  20909. "type": "string"
  20910. }
  20911. }
  20912. },
  20913. "ermcp.QryBusinessDjRsp": {
  20914. "type": "object",
  20915. "properties": {
  20916. "amount": {
  20917. "description": "期初均价",
  20918. "type": "number"
  20919. },
  20920. "applyid": {
  20921. "description": "申请人",
  20922. "type": "string"
  20923. },
  20924. "applyname": {
  20925. "description": "申请人名称",
  20926. "type": "string"
  20927. },
  20928. "applystatus": {
  20929. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20930. "type": "integer"
  20931. },
  20932. "applytime": {
  20933. "description": "申请时间",
  20934. "type": "string"
  20935. },
  20936. "attachurl": {
  20937. "description": "附件",
  20938. "type": "string"
  20939. },
  20940. "auditid": {
  20941. "description": "审核人ID",
  20942. "type": "string"
  20943. },
  20944. "auditname": {
  20945. "description": "审核人名称",
  20946. "type": "string"
  20947. },
  20948. "auditremark": {
  20949. "description": "审核备注",
  20950. "type": "string"
  20951. },
  20952. "audittime": {
  20953. "description": "审核时间",
  20954. "type": "string"
  20955. },
  20956. "buyusername": {
  20957. "description": "采购方名称",
  20958. "type": "string"
  20959. },
  20960. "contractno": {
  20961. "description": "合同编号",
  20962. "type": "string"
  20963. },
  20964. "contractstatus": {
  20965. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20966. "type": "integer"
  20967. },
  20968. "contracttype": {
  20969. "description": "现货合同类型 - 1:采购 -1:销售",
  20970. "type": "integer"
  20971. },
  20972. "deliverygoodscode": {
  20973. "description": "现货品种代码",
  20974. "type": "string"
  20975. },
  20976. "deliverygoodsid": {
  20977. "description": "现货商品ID",
  20978. "type": "integer"
  20979. },
  20980. "deliverygoodsname": {
  20981. "description": "现货品种名称",
  20982. "type": "string"
  20983. },
  20984. "enumdicname": {
  20985. "description": "单位名称",
  20986. "type": "string"
  20987. },
  20988. "goodscode": {
  20989. "description": "点价合约",
  20990. "type": "string"
  20991. },
  20992. "goodsname": {
  20993. "description": "商品名称",
  20994. "type": "string"
  20995. },
  20996. "operateapplyid": {
  20997. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  20998. "type": "string"
  20999. },
  21000. "operateapplytype": {
  21001. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  21002. "type": "integer"
  21003. },
  21004. "pricedPrice": {
  21005. "description": "点价价格(非必填)",
  21006. "type": "number"
  21007. },
  21008. "pricedQty": {
  21009. "description": "点价数量(非必填)",
  21010. "type": "number"
  21011. },
  21012. "pricemove": {
  21013. "description": "升贴水",
  21014. "type": "number"
  21015. },
  21016. "pricetype": {
  21017. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21018. "type": "integer"
  21019. },
  21020. "relatedid": {
  21021. "description": "现货合同ID",
  21022. "type": "string"
  21023. },
  21024. "sellusername": {
  21025. "description": "销售方名字",
  21026. "type": "string"
  21027. },
  21028. "userid": {
  21029. "description": "用户ID",
  21030. "type": "integer"
  21031. },
  21032. "wrstandardcode": {
  21033. "description": "品类代码",
  21034. "type": "string"
  21035. },
  21036. "wrstandardid": {
  21037. "description": "品类id",
  21038. "type": "integer"
  21039. },
  21040. "wrstandardname": {
  21041. "description": "品类名称",
  21042. "type": "string"
  21043. }
  21044. }
  21045. },
  21046. "ermcp.QryBussinessFpRsp": {
  21047. "type": "object",
  21048. "properties": {
  21049. "applyid": {
  21050. "description": "申请人",
  21051. "type": "string"
  21052. },
  21053. "applyname": {
  21054. "description": "申请人名称",
  21055. "type": "string"
  21056. },
  21057. "applystatus": {
  21058. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21059. "type": "integer"
  21060. },
  21061. "applytime": {
  21062. "description": "申请时间",
  21063. "type": "string"
  21064. },
  21065. "attachurl": {
  21066. "description": "附件",
  21067. "type": "string"
  21068. },
  21069. "auditid": {
  21070. "description": "审核人ID",
  21071. "type": "string"
  21072. },
  21073. "auditname": {
  21074. "description": "审核人名称",
  21075. "type": "string"
  21076. },
  21077. "auditremark": {
  21078. "description": "审核备注",
  21079. "type": "string"
  21080. },
  21081. "audittime": {
  21082. "description": "审核时间",
  21083. "type": "string"
  21084. },
  21085. "buyusername": {
  21086. "description": "采购方名称",
  21087. "type": "string"
  21088. },
  21089. "contractno": {
  21090. "description": "合同编号",
  21091. "type": "string"
  21092. },
  21093. "contractstatus": {
  21094. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21095. "type": "integer"
  21096. },
  21097. "contracttype": {
  21098. "description": "现货合同类型 - 1:采购 -1:销售",
  21099. "type": "integer"
  21100. },
  21101. "deliverygoodscode": {
  21102. "description": "现货品种代码",
  21103. "type": "string"
  21104. },
  21105. "deliverygoodsid": {
  21106. "description": "现货商品ID",
  21107. "type": "integer"
  21108. },
  21109. "deliverygoodsname": {
  21110. "description": "现货品种名称",
  21111. "type": "string"
  21112. },
  21113. "enumdicname": {
  21114. "description": "单位名称",
  21115. "type": "string"
  21116. },
  21117. "goodscode": {
  21118. "description": "点价合约",
  21119. "type": "string"
  21120. },
  21121. "goodsname": {
  21122. "description": "商品名称",
  21123. "type": "string"
  21124. },
  21125. "invoiceamount": {
  21126. "description": "已开收票金额(销售为开票,采购为收票)",
  21127. "type": "number"
  21128. },
  21129. "operateapplyid": {
  21130. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  21131. "type": "string"
  21132. },
  21133. "operateapplytype": {
  21134. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  21135. "type": "integer"
  21136. },
  21137. "pricemove": {
  21138. "description": "升贴水",
  21139. "type": "number"
  21140. },
  21141. "pricetype": {
  21142. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21143. "type": "integer"
  21144. },
  21145. "relatedid": {
  21146. "description": "现货合同ID",
  21147. "type": "string"
  21148. },
  21149. "sellusername": {
  21150. "description": "销售方名字",
  21151. "type": "string"
  21152. },
  21153. "userid": {
  21154. "description": "用户ID",
  21155. "type": "integer"
  21156. },
  21157. "wrstandardcode": {
  21158. "description": "品类代码",
  21159. "type": "string"
  21160. },
  21161. "wrstandardid": {
  21162. "description": "品类id",
  21163. "type": "integer"
  21164. },
  21165. "wrstandardname": {
  21166. "description": "品类名称",
  21167. "type": "string"
  21168. }
  21169. }
  21170. },
  21171. "ermcp.QryBussinessJsExRsp": {
  21172. "type": "object",
  21173. "properties": {
  21174. "applyid": {
  21175. "description": "申请人",
  21176. "type": "string"
  21177. },
  21178. "applyname": {
  21179. "description": "申请人名称",
  21180. "type": "string"
  21181. },
  21182. "applystatus": {
  21183. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21184. "type": "integer"
  21185. },
  21186. "applytime": {
  21187. "description": "申请时间",
  21188. "type": "string"
  21189. },
  21190. "attachurl": {
  21191. "description": "附件",
  21192. "type": "string"
  21193. },
  21194. "auditid": {
  21195. "description": "审核人ID",
  21196. "type": "string"
  21197. },
  21198. "auditname": {
  21199. "description": "审核人名称",
  21200. "type": "string"
  21201. },
  21202. "auditremark": {
  21203. "description": "审核备注",
  21204. "type": "string"
  21205. },
  21206. "audittime": {
  21207. "description": "审核时间",
  21208. "type": "string"
  21209. },
  21210. "buyusername": {
  21211. "description": "采购方名称",
  21212. "type": "string"
  21213. },
  21214. "contractno": {
  21215. "description": "合同编号",
  21216. "type": "string"
  21217. },
  21218. "contractstatus": {
  21219. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21220. "type": "integer"
  21221. },
  21222. "contracttype": {
  21223. "description": "现货合同类型 - 1:采购 -1:销售",
  21224. "type": "integer"
  21225. },
  21226. "deliverygoodscode": {
  21227. "description": "现货品种代码",
  21228. "type": "string"
  21229. },
  21230. "deliverygoodsid": {
  21231. "description": "现货商品ID",
  21232. "type": "integer"
  21233. },
  21234. "deliverygoodsname": {
  21235. "description": "现货品种名称",
  21236. "type": "string"
  21237. },
  21238. "enumdicname": {
  21239. "description": "单位名称",
  21240. "type": "string"
  21241. },
  21242. "goodscode": {
  21243. "description": "点价合约",
  21244. "type": "string"
  21245. },
  21246. "goodsname": {
  21247. "description": "商品名称",
  21248. "type": "string"
  21249. },
  21250. "operateapplyid": {
  21251. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  21252. "type": "string"
  21253. },
  21254. "operateapplytype": {
  21255. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  21256. "type": "integer"
  21257. },
  21258. "pricemove": {
  21259. "description": "升贴水",
  21260. "type": "number"
  21261. },
  21262. "pricetype": {
  21263. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21264. "type": "integer"
  21265. },
  21266. "reckontype": {
  21267. "description": "结算类型",
  21268. "type": "string"
  21269. },
  21270. "reckonvalue": {
  21271. "description": "值",
  21272. "type": "number"
  21273. },
  21274. "relatedid": {
  21275. "description": "现货合同ID",
  21276. "type": "string"
  21277. },
  21278. "sellusername": {
  21279. "description": "销售方名字",
  21280. "type": "string"
  21281. },
  21282. "userid": {
  21283. "description": "用户ID",
  21284. "type": "integer"
  21285. },
  21286. "wrstandardcode": {
  21287. "description": "品类代码",
  21288. "type": "string"
  21289. },
  21290. "wrstandardid": {
  21291. "description": "品类id",
  21292. "type": "integer"
  21293. },
  21294. "wrstandardname": {
  21295. "description": "品类名称",
  21296. "type": "string"
  21297. }
  21298. }
  21299. },
  21300. "ermcp.QryBussinessJsRsp": {
  21301. "type": "object",
  21302. "properties": {
  21303. "addmargin": {
  21304. "description": "追加保证金(非必填)",
  21305. "type": "number"
  21306. },
  21307. "applyid": {
  21308. "description": "申请人",
  21309. "type": "string"
  21310. },
  21311. "applyname": {
  21312. "description": "申请人名称",
  21313. "type": "string"
  21314. },
  21315. "applystatus": {
  21316. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21317. "type": "integer"
  21318. },
  21319. "applytime": {
  21320. "description": "申请时间",
  21321. "type": "string"
  21322. },
  21323. "attachurl": {
  21324. "description": "附件",
  21325. "type": "string"
  21326. },
  21327. "auditid": {
  21328. "description": "审核人ID",
  21329. "type": "string"
  21330. },
  21331. "auditname": {
  21332. "description": "审核人名称",
  21333. "type": "string"
  21334. },
  21335. "auditremark": {
  21336. "description": "审核备注",
  21337. "type": "string"
  21338. },
  21339. "audittime": {
  21340. "description": "审核时间",
  21341. "type": "string"
  21342. },
  21343. "buyusername": {
  21344. "description": "采购方名称",
  21345. "type": "string"
  21346. },
  21347. "contractno": {
  21348. "description": "合同编号",
  21349. "type": "string"
  21350. },
  21351. "contractstatus": {
  21352. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21353. "type": "integer"
  21354. },
  21355. "contracttype": {
  21356. "description": "现货合同类型 - 1:采购 -1:销售",
  21357. "type": "integer"
  21358. },
  21359. "decmargin": {
  21360. "description": "减少保证金(非必填)",
  21361. "type": "number"
  21362. },
  21363. "deliverygoodscode": {
  21364. "description": "现货品种代码",
  21365. "type": "string"
  21366. },
  21367. "deliverygoodsid": {
  21368. "description": "现货商品ID",
  21369. "type": "integer"
  21370. },
  21371. "deliverygoodsname": {
  21372. "description": "现货品种名称",
  21373. "type": "string"
  21374. },
  21375. "enumdicname": {
  21376. "description": "单位名称",
  21377. "type": "string"
  21378. },
  21379. "goodscode": {
  21380. "description": "点价合约",
  21381. "type": "string"
  21382. },
  21383. "goodsname": {
  21384. "description": "商品名称",
  21385. "type": "string"
  21386. },
  21387. "operateapplyid": {
  21388. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  21389. "type": "string"
  21390. },
  21391. "operateapplytype": {
  21392. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  21393. "type": "integer"
  21394. },
  21395. "pricemove": {
  21396. "description": "升贴水",
  21397. "type": "number"
  21398. },
  21399. "pricetype": {
  21400. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21401. "type": "integer"
  21402. },
  21403. "reckonadjustamount": {
  21404. "description": "结算调整金额(非必填)",
  21405. "type": "number"
  21406. },
  21407. "reckonosamount": {
  21408. "description": "结算溢短金额(非必填)",
  21409. "type": "number"
  21410. },
  21411. "reckonotheramount": {
  21412. "description": "结算其他费用(非必填)",
  21413. "type": "number"
  21414. },
  21415. "reckonrealqty": {
  21416. "description": "结算实际数量(非必填)",
  21417. "type": "number"
  21418. },
  21419. "relatedid": {
  21420. "description": "现货合同ID",
  21421. "type": "string"
  21422. },
  21423. "sellusername": {
  21424. "description": "销售方名字",
  21425. "type": "string"
  21426. },
  21427. "userid": {
  21428. "description": "用户ID",
  21429. "type": "integer"
  21430. },
  21431. "wrstandardcode": {
  21432. "description": "品类代码",
  21433. "type": "string"
  21434. },
  21435. "wrstandardid": {
  21436. "description": "品类id",
  21437. "type": "integer"
  21438. },
  21439. "wrstandardname": {
  21440. "description": "品类名称",
  21441. "type": "string"
  21442. }
  21443. }
  21444. },
  21445. "ermcp.QryBussinessKxRsp": {
  21446. "type": "object",
  21447. "properties": {
  21448. "applyid": {
  21449. "description": "申请人",
  21450. "type": "string"
  21451. },
  21452. "applyname": {
  21453. "description": "申请人名称",
  21454. "type": "string"
  21455. },
  21456. "applystatus": {
  21457. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  21458. "type": "integer"
  21459. },
  21460. "applytime": {
  21461. "description": "申请时间",
  21462. "type": "string"
  21463. },
  21464. "attachurl": {
  21465. "description": "附件",
  21466. "type": "string"
  21467. },
  21468. "auditid": {
  21469. "description": "审核人ID",
  21470. "type": "string"
  21471. },
  21472. "auditname": {
  21473. "description": "审核人名称",
  21474. "type": "string"
  21475. },
  21476. "auditremark": {
  21477. "description": "审核备注",
  21478. "type": "string"
  21479. },
  21480. "audittime": {
  21481. "description": "审核时间",
  21482. "type": "string"
  21483. },
  21484. "buyusername": {
  21485. "description": "采购方名称",
  21486. "type": "string"
  21487. },
  21488. "contractno": {
  21489. "description": "合同编号",
  21490. "type": "string"
  21491. },
  21492. "contractstatus": {
  21493. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21494. "type": "integer"
  21495. },
  21496. "contracttype": {
  21497. "description": "现货合同类型 - 1:采购 -1:销售",
  21498. "type": "integer"
  21499. },
  21500. "deductamount": {
  21501. "description": "期初均价",
  21502. "type": "number"
  21503. },
  21504. "deliverygoodscode": {
  21505. "description": "现货品种代码",
  21506. "type": "string"
  21507. },
  21508. "deliverygoodsid": {
  21509. "description": "现货商品ID",
  21510. "type": "integer"
  21511. },
  21512. "deliverygoodsname": {
  21513. "description": "现货品种名称",
  21514. "type": "string"
  21515. },
  21516. "enumdicname": {
  21517. "description": "单位名称",
  21518. "type": "string"
  21519. },
  21520. "goodscode": {
  21521. "description": "点价合约",
  21522. "type": "string"
  21523. },
  21524. "goodsname": {
  21525. "description": "商品名称",
  21526. "type": "string"
  21527. },
  21528. "kxtype": {
  21529. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  21530. "type": "integer"
  21531. },
  21532. "operateapplyid": {
  21533. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  21534. "type": "string"
  21535. },
  21536. "operateapplytype": {
  21537. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  21538. "type": "integer"
  21539. },
  21540. "payamount": {
  21541. "description": "期初均价",
  21542. "type": "number"
  21543. },
  21544. "pricemove": {
  21545. "description": "升贴水",
  21546. "type": "number"
  21547. },
  21548. "pricetype": {
  21549. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21550. "type": "integer"
  21551. },
  21552. "relatedid": {
  21553. "description": "现货合同ID",
  21554. "type": "string"
  21555. },
  21556. "sellusername": {
  21557. "description": "销售方名字",
  21558. "type": "string"
  21559. },
  21560. "userid": {
  21561. "description": "用户ID",
  21562. "type": "integer"
  21563. },
  21564. "wrstandardcode": {
  21565. "description": "品类代码",
  21566. "type": "string"
  21567. },
  21568. "wrstandardid": {
  21569. "description": "品类id",
  21570. "type": "integer"
  21571. },
  21572. "wrstandardname": {
  21573. "description": "品类名称",
  21574. "type": "string"
  21575. }
  21576. }
  21577. },
  21578. "ermcp.QryGGCovertCfgRsp": {
  21579. "type": "object",
  21580. "properties": {
  21581. "convertratio": {
  21582. "description": "折算系数",
  21583. "type": "number"
  21584. },
  21585. "destgoodsgroupid": {
  21586. "description": "目标品种ID",
  21587. "type": "integer"
  21588. },
  21589. "dstcode": {
  21590. "description": "目录品种代码",
  21591. "type": "string"
  21592. },
  21593. "dstexchangecode": {
  21594. "description": "目标期货交易所",
  21595. "type": "string"
  21596. },
  21597. "dstname": {
  21598. "description": "目标品种名称",
  21599. "type": "string"
  21600. },
  21601. "dstunitid": {
  21602. "description": "目标品种单位ID",
  21603. "type": "integer"
  21604. },
  21605. "dstunitidname": {
  21606. "description": "目标品种单位名称",
  21607. "type": "string"
  21608. },
  21609. "modifytime": {
  21610. "description": "修改时间",
  21611. "type": "string"
  21612. },
  21613. "srccode": {
  21614. "description": "源品种代码",
  21615. "type": "string"
  21616. },
  21617. "srcexchangecode": {
  21618. "description": "源期货交易所",
  21619. "type": "string"
  21620. },
  21621. "srcgoodsgroupid": {
  21622. "description": "源品种ID",
  21623. "type": "integer"
  21624. },
  21625. "srcname": {
  21626. "description": "源品种名称",
  21627. "type": "string"
  21628. },
  21629. "srcunitid": {
  21630. "description": "源品种单位ID",
  21631. "type": "integer"
  21632. },
  21633. "srcunitidname": {
  21634. "description": "源品种单位名称",
  21635. "type": "string"
  21636. }
  21637. }
  21638. },
  21639. "ermcp.QryMGChangeLogRsp": {
  21640. "type": "object",
  21641. "properties": {
  21642. "aftervalue": {
  21643. "description": "变更后",
  21644. "type": "number"
  21645. },
  21646. "applyid": {
  21647. "description": "操作人",
  21648. "type": "integer"
  21649. },
  21650. "applyname": {
  21651. "description": "操作人名称",
  21652. "type": "string"
  21653. },
  21654. "applysrc": {
  21655. "description": "操作来源 - 1:管理端 2:终端",
  21656. "type": "integer"
  21657. },
  21658. "beforevalue": {
  21659. "description": "变更前",
  21660. "type": "number"
  21661. },
  21662. "changelogtype": {
  21663. "description": "变更流水类型 - 1:套保比率变更",
  21664. "type": "integer"
  21665. },
  21666. "handlestatus": {
  21667. "description": "处理状态",
  21668. "type": "integer"
  21669. },
  21670. "logdatetime": {
  21671. "description": "流水日期",
  21672. "type": "string"
  21673. },
  21674. "logid": {
  21675. "description": "流水ID",
  21676. "type": "integer"
  21677. },
  21678. "logremark": {
  21679. "description": "流水备注",
  21680. "type": "string"
  21681. },
  21682. "middlegoodsid": {
  21683. "description": "套保品种ID",
  21684. "type": "integer"
  21685. },
  21686. "tradedate": {
  21687. "description": "交易日(yyyyMMdd)",
  21688. "type": "string"
  21689. },
  21690. "updatetime": {
  21691. "description": "更新时间",
  21692. "type": "string"
  21693. }
  21694. }
  21695. },
  21696. "ermcp.QryMiddleGoodsDetailRsp": {
  21697. "type": "object",
  21698. "properties": {
  21699. "cvList": {
  21700. "description": "期货品种折算列表",
  21701. "type": "array",
  21702. "items": {
  21703. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  21704. }
  21705. },
  21706. "mg": {
  21707. "description": "套保品种基本信息",
  21708. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  21709. },
  21710. "wrcList": {
  21711. "description": "现货品种列表(现货商品折算配置)",
  21712. "type": "array",
  21713. "items": {
  21714. "$ref": "#/definitions/models.WRSConverTDetail"
  21715. }
  21716. }
  21717. }
  21718. },
  21719. "ermcp.QryMiddleGoodsRsp": {
  21720. "type": "object",
  21721. "properties": {
  21722. "areauserid": {
  21723. "description": "机构用户ID",
  21724. "type": "integer"
  21725. },
  21726. "createtime": {
  21727. "description": "修改时间",
  21728. "type": "string"
  21729. },
  21730. "enumdicname": {
  21731. "description": "单位名称",
  21732. "type": "string"
  21733. },
  21734. "evaluateratio": {
  21735. "description": "估价系数",
  21736. "type": "number"
  21737. },
  21738. "goodsgroupid": {
  21739. "description": "关联期货品种ID",
  21740. "type": "integer"
  21741. },
  21742. "goodsunitid": {
  21743. "description": "单位ID",
  21744. "type": "integer"
  21745. },
  21746. "isvalid": {
  21747. "description": "状态 0-无效(停用) 1-有效(正常)",
  21748. "type": "integer"
  21749. },
  21750. "middlegoodscode": {
  21751. "description": "套保品种代码",
  21752. "type": "string"
  21753. },
  21754. "middlegoodsid": {
  21755. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21756. "type": "integer"
  21757. },
  21758. "middlegoodsname": {
  21759. "description": "套保品种名称",
  21760. "type": "string"
  21761. },
  21762. "modifytime": {
  21763. "description": "修改时间",
  21764. "type": "string"
  21765. },
  21766. "needarbitrageratio": {
  21767. "description": "套利比例",
  21768. "type": "number"
  21769. },
  21770. "needhedgeratio": {
  21771. "description": "套保比率",
  21772. "type": "number"
  21773. },
  21774. "qtydecimalplace": {
  21775. "description": "数量小数位",
  21776. "type": "integer"
  21777. },
  21778. "relatedgoodsid": {
  21779. "description": "关联交易商品ID",
  21780. "type": "integer"
  21781. },
  21782. "relatedgoodstype": {
  21783. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  21784. "type": "integer"
  21785. },
  21786. "remark": {
  21787. "description": "备注",
  21788. "type": "string"
  21789. }
  21790. }
  21791. },
  21792. "ermcp.QryOPLogRsp": {
  21793. "type": "object",
  21794. "properties": {
  21795. "aftervalue": {
  21796. "description": "变更后",
  21797. "type": "number"
  21798. },
  21799. "applyid": {
  21800. "description": "操作人ID",
  21801. "type": "string"
  21802. },
  21803. "applyname": {
  21804. "description": "操作人名称",
  21805. "type": "string"
  21806. },
  21807. "beforevalue": {
  21808. "description": "变更前",
  21809. "type": "number"
  21810. },
  21811. "biztype": {
  21812. "description": "业务类型 - 1:套保计划 2:现货合同",
  21813. "type": "integer"
  21814. },
  21815. "contracttype": {
  21816. "description": "现货合同类型 - 1:采购 -1:销售",
  21817. "type": "integer"
  21818. },
  21819. "logvalue": {
  21820. "description": "数值",
  21821. "type": "number"
  21822. },
  21823. "operatelogtype": {
  21824. "description": "操作流水类型",
  21825. "type": "integer"
  21826. },
  21827. "operatelogtypedesc": {
  21828. "description": "操作流水类型名称",
  21829. "type": "string"
  21830. },
  21831. "relatedid": {
  21832. "description": "现货合同ID\\套保计划",
  21833. "type": "string"
  21834. },
  21835. "updatetime": {
  21836. "description": "更新时间",
  21837. "type": "string"
  21838. }
  21839. }
  21840. },
  21841. "ermcp.QryUserInfoRsp": {
  21842. "type": "object",
  21843. "properties": {
  21844. "address": {
  21845. "description": "通讯地址",
  21846. "type": "string"
  21847. },
  21848. "attachment1": {
  21849. "description": "附件1",
  21850. "type": "string"
  21851. },
  21852. "audittime": {
  21853. "description": "审核时间",
  21854. "type": "string"
  21855. },
  21856. "cardbackphotourl": {
  21857. "description": "证件反面图片地址",
  21858. "type": "string"
  21859. },
  21860. "cardfrontphotourl": {
  21861. "description": "证件正面图片地址",
  21862. "type": "string"
  21863. },
  21864. "cardnum": {
  21865. "description": "证件号码",
  21866. "type": "string"
  21867. },
  21868. "cardtype": {
  21869. "description": "证件类型",
  21870. "type": "integer"
  21871. },
  21872. "cardtypename": {
  21873. "description": "证件类型名称",
  21874. "type": "string"
  21875. },
  21876. "cityid": {
  21877. "description": "市",
  21878. "type": "integer"
  21879. },
  21880. "contactname": {
  21881. "description": "联系人",
  21882. "type": "string"
  21883. },
  21884. "countryid": {
  21885. "description": "国家",
  21886. "type": "integer"
  21887. },
  21888. "createtime": {
  21889. "description": "创建时间",
  21890. "type": "string"
  21891. },
  21892. "customername": {
  21893. "description": "企业名称",
  21894. "type": "string"
  21895. },
  21896. "districtid": {
  21897. "description": "区域",
  21898. "type": "integer"
  21899. },
  21900. "email": {
  21901. "description": "邮件",
  21902. "type": "string"
  21903. },
  21904. "legalpersonname": {
  21905. "description": "法人姓名(企业)",
  21906. "type": "string"
  21907. },
  21908. "memberuserid": {
  21909. "description": "所属机构ID",
  21910. "type": "integer"
  21911. },
  21912. "mobile": {
  21913. "description": "手机号码",
  21914. "type": "string"
  21915. },
  21916. "modifytime": {
  21917. "description": "修改时间",
  21918. "type": "string"
  21919. },
  21920. "nickname": {
  21921. "description": "昵称",
  21922. "type": "string"
  21923. },
  21924. "provinceid": {
  21925. "description": "省",
  21926. "type": "integer"
  21927. },
  21928. "remark": {
  21929. "description": "备注",
  21930. "type": "string"
  21931. },
  21932. "status": {
  21933. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21934. "type": "integer"
  21935. },
  21936. "statusdesc": {
  21937. "description": "账户状态中文描述",
  21938. "type": "string"
  21939. },
  21940. "taxpayernum": {
  21941. "description": "纳税人识别号",
  21942. "type": "string"
  21943. },
  21944. "telphone": {
  21945. "description": "联系电话",
  21946. "type": "string"
  21947. },
  21948. "userid": {
  21949. "description": "用户ID",
  21950. "type": "integer"
  21951. },
  21952. "userinfotype": {
  21953. "description": "客户类型",
  21954. "type": "string"
  21955. }
  21956. }
  21957. },
  21958. "ermcp.QryWarehouseRsp": {
  21959. "type": "object",
  21960. "properties": {
  21961. "address": {
  21962. "description": "详细地址",
  21963. "type": "string"
  21964. },
  21965. "areauserid": {
  21966. "description": "所属机构",
  21967. "type": "integer"
  21968. },
  21969. "autoid": {
  21970. "description": "自增ID(仓库ID)",
  21971. "type": "integer"
  21972. },
  21973. "cityid": {
  21974. "description": "市",
  21975. "type": "integer"
  21976. },
  21977. "contactname": {
  21978. "description": "联系人",
  21979. "type": "string"
  21980. },
  21981. "contactnum": {
  21982. "description": "联系电话",
  21983. "type": "string"
  21984. },
  21985. "countryid": {
  21986. "description": "国家",
  21987. "type": "integer"
  21988. },
  21989. "createtime": {
  21990. "description": "创建时间",
  21991. "type": "string"
  21992. },
  21993. "districtid": {
  21994. "description": "区",
  21995. "type": "integer"
  21996. },
  21997. "hasvideo": {
  21998. "description": "是否有视频 - 0:无 1:有",
  21999. "type": "integer"
  22000. },
  22001. "provinceid": {
  22002. "description": "省",
  22003. "type": "integer"
  22004. },
  22005. "remark": {
  22006. "description": "审核备注",
  22007. "type": "string"
  22008. },
  22009. "videourl": {
  22010. "description": "视频地址",
  22011. "type": "string"
  22012. },
  22013. "warehousecode": {
  22014. "description": "仓库代码",
  22015. "type": "string"
  22016. },
  22017. "warehousename": {
  22018. "description": "仓库名称",
  22019. "type": "string"
  22020. },
  22021. "warehousestatus": {
  22022. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22023. "type": "integer"
  22024. },
  22025. "warehousetype": {
  22026. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22027. "type": "integer"
  22028. }
  22029. }
  22030. },
  22031. "ermcp.QueryErmcpTradePositionRsp": {
  22032. "type": "object",
  22033. "properties": {
  22034. "agreeunit": {
  22035. "description": "合约单位",
  22036. "type": "number"
  22037. },
  22038. "buyorsell": {
  22039. "description": "方向 - 0:买 1:卖",
  22040. "type": "integer"
  22041. },
  22042. "curpositionqty": {
  22043. "description": "持仓(总仓数量, 期末头寸)",
  22044. "type": "integer"
  22045. },
  22046. "curtdposition": {
  22047. "description": "今仓数量(期末今日头寸)",
  22048. "type": "integer"
  22049. },
  22050. "curtdpositionenabled": {
  22051. "description": "今仓可用",
  22052. "type": "integer"
  22053. },
  22054. "decimalplace": {
  22055. "description": "报价小数位",
  22056. "type": "integer"
  22057. },
  22058. "enableqty": {
  22059. "description": "可用(总仓可用)",
  22060. "type": "integer"
  22061. },
  22062. "exexchangename": {
  22063. "description": "外部交易所名称",
  22064. "type": "string"
  22065. },
  22066. "exexehangecode": {
  22067. "description": "外部交易所代码",
  22068. "type": "string"
  22069. },
  22070. "exexehangeid": {
  22071. "description": "外部交易所id",
  22072. "type": "integer"
  22073. },
  22074. "goodscode": {
  22075. "description": "商品代码(内部)",
  22076. "type": "string"
  22077. },
  22078. "goodsid": {
  22079. "description": "商品ID(自增ID SEQ_GOODS)",
  22080. "type": "integer"
  22081. },
  22082. "goodsname": {
  22083. "description": "商品名称",
  22084. "type": "string"
  22085. },
  22086. "last": {
  22087. "description": "现价",
  22088. "type": "number"
  22089. },
  22090. "marketid": {
  22091. "description": "所属市场ID",
  22092. "type": "integer"
  22093. },
  22094. "openaverageprice": {
  22095. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  22096. "type": "number"
  22097. },
  22098. "opencost": {
  22099. "description": "开仓成本",
  22100. "type": "number"
  22101. },
  22102. "openpl": {
  22103. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  22104. "type": "number"
  22105. },
  22106. "outgoodscode": {
  22107. "description": "商品代码(外部)",
  22108. "type": "string"
  22109. },
  22110. "positionaverageprice": {
  22111. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  22112. "type": "number"
  22113. },
  22114. "positioncost": {
  22115. "description": "持仓成本",
  22116. "type": "number"
  22117. },
  22118. "positionpl": {
  22119. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  22120. "type": "number"
  22121. },
  22122. "positionplrate": {
  22123. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  22124. "type": "number"
  22125. },
  22126. "usedmargin": {
  22127. "description": "占用保证金",
  22128. "type": "number"
  22129. }
  22130. }
  22131. },
  22132. "ermcp.RealtimeExposurePositionRsp": {
  22133. "type": "object",
  22134. "properties": {
  22135. "agreeunit": {
  22136. "description": "合约单位",
  22137. "type": "string"
  22138. },
  22139. "areauserid": {
  22140. "description": "所属机构id",
  22141. "type": "integer"
  22142. },
  22143. "convertratio": {
  22144. "description": "期货品种系数(折算系数)",
  22145. "type": "number"
  22146. },
  22147. "curhedgeqty": {
  22148. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  22149. "type": "number"
  22150. },
  22151. "curqty": {
  22152. "description": "当前持仓",
  22153. "type": "integer"
  22154. },
  22155. "diffhedgeqty": {
  22156. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  22157. "type": "number"
  22158. },
  22159. "diffqty": {
  22160. "description": "持仓变动量=当前持仓-昨日持仓",
  22161. "type": "integer"
  22162. },
  22163. "goodscode": {
  22164. "description": "商品代码",
  22165. "type": "string"
  22166. },
  22167. "goodsid": {
  22168. "description": "商品id",
  22169. "type": "integer"
  22170. },
  22171. "goodsname": {
  22172. "description": "商品名称",
  22173. "type": "string"
  22174. },
  22175. "hedgeaccountcode": {
  22176. "description": "对冲账号(只有外部账号才有值)",
  22177. "type": "string"
  22178. },
  22179. "middlegoodscode": {
  22180. "description": "套保商品代码",
  22181. "type": "string"
  22182. },
  22183. "middlegoodsid": {
  22184. "description": "套保商品id",
  22185. "type": "integer"
  22186. },
  22187. "middlegoodsname": {
  22188. "description": "套保商品名称",
  22189. "type": "string"
  22190. },
  22191. "ydqty": {
  22192. "description": "昨日持仓",
  22193. "type": "integer"
  22194. }
  22195. }
  22196. },
  22197. "ermcp.RealtimeExposureRsp": {
  22198. "type": "object",
  22199. "properties": {
  22200. "AreaUserID": {
  22201. "description": "所属机构",
  22202. "type": "integer"
  22203. },
  22204. "BuyFutureQty": {
  22205. "description": "买入期货数量",
  22206. "type": "number"
  22207. },
  22208. "BuyPlanQty": {
  22209. "description": "采购计划数量",
  22210. "type": "number"
  22211. },
  22212. "BuyPricedQty": {
  22213. "description": "采购合同已定价数量",
  22214. "type": "number"
  22215. },
  22216. "MiddleGoodsCode": {
  22217. "description": "套保品种代码",
  22218. "type": "string"
  22219. },
  22220. "MiddleGoodsHedgeRatio": {
  22221. "description": "套保比例",
  22222. "type": "number"
  22223. },
  22224. "MiddleGoodsID": {
  22225. "description": "套保品种",
  22226. "type": "integer"
  22227. },
  22228. "MiddleGoodsName": {
  22229. "description": "套保品种名称",
  22230. "type": "string"
  22231. },
  22232. "NeedHedgeExposoure": {
  22233. "description": "应套保敞口(套保敞口)",
  22234. "type": "number"
  22235. },
  22236. "NeedHedgeRatio": {
  22237. "description": "应套保敞口比例",
  22238. "type": "number"
  22239. },
  22240. "OriBuyFutureQty": {
  22241. "description": "期初买入期货数量",
  22242. "type": "number"
  22243. },
  22244. "OriBuyPlanQty": {
  22245. "description": "期初采购计划数量",
  22246. "type": "number"
  22247. },
  22248. "OriBuyPricedQty": {
  22249. "description": "期初采购合同已定价数量",
  22250. "type": "number"
  22251. },
  22252. "OriSellFutureQty": {
  22253. "description": "期初卖出期货数量",
  22254. "type": "number"
  22255. },
  22256. "OriSellPlanQty": {
  22257. "description": "期初销售计划数量",
  22258. "type": "number"
  22259. },
  22260. "OriSellPricedQty": {
  22261. "description": "期初销售合同已定价数量",
  22262. "type": "number"
  22263. },
  22264. "OriTotalSpotQty": {
  22265. "description": "期初现货总量",
  22266. "type": "number"
  22267. },
  22268. "SellFutureQty": {
  22269. "description": "卖出期货数量",
  22270. "type": "number"
  22271. },
  22272. "SellPlanQty": {
  22273. "description": "销售计划数量",
  22274. "type": "number"
  22275. },
  22276. "SellPricedQty": {
  22277. "description": "销售合同已定价数量",
  22278. "type": "number"
  22279. },
  22280. "TotalExposure": {
  22281. "description": "总敞口 平安:净敞口",
  22282. "type": "number"
  22283. },
  22284. "TotalFutureQty": {
  22285. "description": "期货总量 平安:保值净持仓量",
  22286. "type": "number"
  22287. },
  22288. "TotalHedgeRatio": {
  22289. "description": "敞口比例",
  22290. "type": "number"
  22291. },
  22292. "TotalNeedHedgeQty": {
  22293. "description": "应套保总量(现货应套保总量)",
  22294. "type": "number"
  22295. },
  22296. "TotalSpotQty": {
  22297. "description": "现货总量 平安:采销定价净值",
  22298. "type": "number"
  22299. },
  22300. "arbitrageqty": {
  22301. "description": "套利量",
  22302. "type": "number"
  22303. },
  22304. "diffArbitrageQty": {
  22305. "description": "期初均价",
  22306. "type": "number"
  22307. },
  22308. "diffExposoureQty": {
  22309. "description": "期初均价",
  22310. "type": "number"
  22311. },
  22312. "diffFutuQty": {
  22313. "description": "期初均价",
  22314. "type": "number"
  22315. },
  22316. "diffHedgeQty": {
  22317. "description": "期初均价",
  22318. "type": "number"
  22319. },
  22320. "diffQty": {
  22321. "description": "期初均价",
  22322. "type": "number"
  22323. },
  22324. "diffSpotHedgeQty": {
  22325. "description": "期初均价",
  22326. "type": "number"
  22327. },
  22328. "diffSpotQty": {
  22329. "description": "期初均价",
  22330. "type": "number"
  22331. },
  22332. "enumdicname": {
  22333. "description": "单位名称",
  22334. "type": "string"
  22335. },
  22336. "hedgeqty": {
  22337. "description": "套保量",
  22338. "type": "number"
  22339. },
  22340. "needarbitrageqty": {
  22341. "description": "应套利量",
  22342. "type": "number"
  22343. },
  22344. "needarbitrageratio": {
  22345. "description": "套利比例",
  22346. "type": "number"
  22347. },
  22348. "needhedgeqty": {
  22349. "description": "应套保量",
  22350. "type": "number"
  22351. },
  22352. "oriarbitrageqty": {
  22353. "description": "期初套利量",
  22354. "type": "number"
  22355. },
  22356. "orihedgeqty": {
  22357. "description": "期初套保量",
  22358. "type": "number"
  22359. },
  22360. "orineedhedgeexposoure": {
  22361. "description": "期初套保敞口",
  22362. "type": "number"
  22363. },
  22364. "oritotalexposure": {
  22365. "description": "期初总敞口",
  22366. "type": "number"
  22367. },
  22368. "oritotalfutureqty": {
  22369. "description": "期初期货总量",
  22370. "type": "number"
  22371. },
  22372. "oritotalneedhedgeqty": {
  22373. "description": "期初现货应套保量",
  22374. "type": "number"
  22375. }
  22376. }
  22377. },
  22378. "erms2.QueryArbitrageStrategyRsp": {
  22379. "type": "object",
  22380. "required": [
  22381. "asapplyid"
  22382. ],
  22383. "properties": {
  22384. "applybasis": {
  22385. "description": "申请基差",
  22386. "type": "number"
  22387. },
  22388. "asapplyid": {
  22389. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  22390. "type": "string"
  22391. },
  22392. "asname": {
  22393. "description": "策略名称",
  22394. "type": "string"
  22395. },
  22396. "asno": {
  22397. "description": "策略编号",
  22398. "type": "string"
  22399. },
  22400. "basischangepl": {
  22401. "description": "基差变动损益[结算更新]",
  22402. "type": "number"
  22403. },
  22404. "biztype": {
  22405. "description": "业务类型 - 1:正向套利 -1:反向套利",
  22406. "type": "integer"
  22407. },
  22408. "closetradedate": {
  22409. "description": "完结交易日(yyyyMMdd)",
  22410. "type": "string"
  22411. },
  22412. "curbasis": {
  22413. "description": "当前基差[结算更新]",
  22414. "type": "number"
  22415. },
  22416. "deliverygoodsid": {
  22417. "description": "现货品种ID",
  22418. "type": "integer"
  22419. },
  22420. "futureavgprice": {
  22421. "description": "期货建仓均价",
  22422. "type": "number"
  22423. },
  22424. "futurecloseamount": {
  22425. "description": "期货平仓金额",
  22426. "type": "number"
  22427. },
  22428. "futurecloseqty": {
  22429. "description": "期货平仓数量",
  22430. "type": "number"
  22431. },
  22432. "futureopenamount": {
  22433. "description": "期货开仓金额",
  22434. "type": "number"
  22435. },
  22436. "futureopenqty": {
  22437. "description": "期货开仓数量",
  22438. "type": "number"
  22439. },
  22440. "futurepl": {
  22441. "description": "期货总盈亏[结算更新]",
  22442. "type": "number"
  22443. },
  22444. "futureqty": {
  22445. "description": "期货持仓数量",
  22446. "type": "number"
  22447. },
  22448. "futurequote": {
  22449. "description": "期货额度",
  22450. "type": "number"
  22451. },
  22452. "goodsgroupid": {
  22453. "description": "期货品种ID",
  22454. "type": "integer"
  22455. },
  22456. "marketid": {
  22457. "description": "市场ID",
  22458. "type": "integer"
  22459. },
  22460. "netexposure": {
  22461. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  22462. "type": "number"
  22463. },
  22464. "netexposurepl": {
  22465. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  22466. "type": "number"
  22467. },
  22468. "netexposurerate": {
  22469. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  22470. "type": "number"
  22471. },
  22472. "openbasis": {
  22473. "description": "建仓基差",
  22474. "type": "number"
  22475. },
  22476. "pricedspotqty": {
  22477. "description": "已定价现货数量",
  22478. "type": "number"
  22479. },
  22480. "pricedspotqtynotax": {
  22481. "description": "已定价现货不含税数量",
  22482. "type": "number"
  22483. },
  22484. "remark": {
  22485. "description": "备注",
  22486. "type": "string"
  22487. },
  22488. "spotavgprice": {
  22489. "description": "现货均价",
  22490. "type": "number"
  22491. },
  22492. "spotbuyamount": {
  22493. "description": "现货采购金额",
  22494. "type": "number"
  22495. },
  22496. "spotbuyqty": {
  22497. "description": "现货采购数量",
  22498. "type": "number"
  22499. },
  22500. "spotpl": {
  22501. "description": "现货总盈亏[结算更新]",
  22502. "type": "number"
  22503. },
  22504. "spotquota": {
  22505. "description": "现货额度",
  22506. "type": "number"
  22507. },
  22508. "spotsellamount": {
  22509. "description": "现货销售金额",
  22510. "type": "number"
  22511. },
  22512. "spotsellqty": {
  22513. "description": "现货销售数量",
  22514. "type": "number"
  22515. },
  22516. "spotusedquota": {
  22517. "description": "现货占用资金",
  22518. "type": "number"
  22519. },
  22520. "strategystatus": {
  22521. "description": "策略状态 - 0:未结束 1:已结束",
  22522. "type": "integer"
  22523. },
  22524. "totalpl": {
  22525. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  22526. "type": "number"
  22527. },
  22528. "tradedate": {
  22529. "description": "交易日(yyyyMMdd)",
  22530. "type": "string"
  22531. },
  22532. "updatetime": {
  22533. "description": "更新时间",
  22534. "type": "string"
  22535. },
  22536. "usedquota": {
  22537. "description": "已占用资金",
  22538. "type": "number"
  22539. },
  22540. "userid": {
  22541. "description": "所属机构",
  22542. "type": "integer"
  22543. }
  22544. }
  22545. },
  22546. "erms2.QueryInnerTradeDetailRsp": {
  22547. "type": "object",
  22548. "required": [
  22549. "asapplyid",
  22550. "buyorsell",
  22551. "goodscode",
  22552. "goodsgroupid",
  22553. "goodsgroupname",
  22554. "goodsname",
  22555. "tradeid"
  22556. ],
  22557. "properties": {
  22558. "accountid": {
  22559. "description": "账号ID",
  22560. "type": "integer"
  22561. },
  22562. "agreeunit": {
  22563. "description": "合约单位",
  22564. "type": "number"
  22565. },
  22566. "asapplyid": {
  22567. "description": "策略申请ID",
  22568. "type": "integer"
  22569. },
  22570. "asname": {
  22571. "description": "策略名称",
  22572. "type": "string"
  22573. },
  22574. "asno": {
  22575. "description": "策略编号",
  22576. "type": "string"
  22577. },
  22578. "buyorsell": {
  22579. "description": "方向 - 0:买 1:卖",
  22580. "type": "integer"
  22581. },
  22582. "channelbuildtype": {
  22583. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22584. "type": "integer"
  22585. },
  22586. "closetype": {
  22587. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22588. "type": "integer"
  22589. },
  22590. "decimalplace": {
  22591. "description": "报价小数位",
  22592. "type": "integer"
  22593. },
  22594. "detailtype": {
  22595. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  22596. "type": "integer"
  22597. },
  22598. "exexchangecode": {
  22599. "description": "外部交易所代码",
  22600. "type": "string"
  22601. },
  22602. "exexchangename": {
  22603. "description": "外部交易所名称",
  22604. "type": "string"
  22605. },
  22606. "goodscode": {
  22607. "description": "商品代码(合约)",
  22608. "type": "string"
  22609. },
  22610. "goodsgroupid": {
  22611. "description": "商品组ID(品种ID)",
  22612. "type": "integer"
  22613. },
  22614. "goodsgroupname": {
  22615. "description": "商品组名称(品种)",
  22616. "type": "string"
  22617. },
  22618. "goodsid": {
  22619. "description": "商品ID",
  22620. "type": "integer"
  22621. },
  22622. "goodsname": {
  22623. "description": "商品名称(合约)",
  22624. "type": "string"
  22625. },
  22626. "goodunit": {
  22627. "description": "报价单位",
  22628. "type": "string"
  22629. },
  22630. "marketid": {
  22631. "description": "市场ID",
  22632. "type": "integer"
  22633. },
  22634. "orderid": {
  22635. "description": "委托单号",
  22636. "type": "string"
  22637. },
  22638. "outgoodscode": {
  22639. "description": "商品代码(外部)",
  22640. "type": "string"
  22641. },
  22642. "relatedouttradeid": {
  22643. "description": "关联外部成交单ID",
  22644. "type": "string"
  22645. },
  22646. "remark": {
  22647. "description": "备注",
  22648. "type": "string"
  22649. },
  22650. "spotcontractid": {
  22651. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  22652. "type": "integer"
  22653. },
  22654. "spotcontractno": {
  22655. "description": "现货合同编号",
  22656. "type": "string"
  22657. },
  22658. "tradeid": {
  22659. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22660. "type": "string"
  22661. },
  22662. "tradeprice": {
  22663. "description": "成交价格",
  22664. "type": "number"
  22665. },
  22666. "tradeqty": {
  22667. "description": "成交数量",
  22668. "type": "integer"
  22669. },
  22670. "tradetime": {
  22671. "description": "成交时间",
  22672. "type": "string"
  22673. },
  22674. "updatetime": {
  22675. "description": "更新时间",
  22676. "type": "string"
  22677. }
  22678. }
  22679. },
  22680. "erms2.QuerySpotContractRsp": {
  22681. "type": "object",
  22682. "required": [
  22683. "spotcontractid"
  22684. ],
  22685. "properties": {
  22686. "accountid": {
  22687. "description": "资金账户ID",
  22688. "type": "integer"
  22689. },
  22690. "areauserid": {
  22691. "description": "所属机构",
  22692. "type": "integer"
  22693. },
  22694. "closedate": {
  22695. "description": "终止日期",
  22696. "type": "string"
  22697. },
  22698. "closeremark": {
  22699. "description": "结束备注",
  22700. "type": "string"
  22701. },
  22702. "closetradedate": {
  22703. "description": "完结交易日(yyyyMMdd)",
  22704. "type": "string"
  22705. },
  22706. "closetype": {
  22707. "description": "终止类型 - 1:违约 2:提前终止",
  22708. "type": "integer"
  22709. },
  22710. "contractamount": {
  22711. "description": "合同金额",
  22712. "type": "number"
  22713. },
  22714. "contractattachment": {
  22715. "description": "合同附件",
  22716. "type": "string"
  22717. },
  22718. "contractno": {
  22719. "description": "现货合同编号",
  22720. "type": "string"
  22721. },
  22722. "contractqty": {
  22723. "description": "合同数量(数值) (用于计算)",
  22724. "type": "number"
  22725. },
  22726. "contractqtychar": {
  22727. "description": "合同数量\\已订价数量 (用于显示)",
  22728. "type": "string"
  22729. },
  22730. "contractstatus": {
  22731. "description": "合同状态 - 0:未结束 1:已结束",
  22732. "type": "integer"
  22733. },
  22734. "contracttype": {
  22735. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  22736. "type": "integer"
  22737. },
  22738. "customeraccountid": {
  22739. "description": "客户资金账户ID",
  22740. "type": "integer"
  22741. },
  22742. "customeruserid": {
  22743. "description": "客户ID",
  22744. "type": "integer"
  22745. },
  22746. "deliverygoodsdesc": {
  22747. "description": "品种说明",
  22748. "type": "string"
  22749. },
  22750. "deliverygoodsid": {
  22751. "description": "现货品种ID",
  22752. "type": "integer"
  22753. },
  22754. "handlestatus": {
  22755. "description": "处理状态",
  22756. "type": "integer"
  22757. },
  22758. "invoiceatt": {
  22759. "description": "发票附件",
  22760. "type": "string"
  22761. },
  22762. "invoicedatetime": {
  22763. "description": "开收票更新时间",
  22764. "type": "string"
  22765. },
  22766. "invoiceopentime": {
  22767. "description": "开票时间",
  22768. "type": "string"
  22769. },
  22770. "invoiceremark": {
  22771. "description": "发票备注",
  22772. "type": "string"
  22773. },
  22774. "invoicestatus": {
  22775. "description": "开收票状态 - 0:未开票 1:已开票",
  22776. "type": "integer"
  22777. },
  22778. "lastdate": {
  22779. "description": "交货时间",
  22780. "type": "string"
  22781. },
  22782. "marketid": {
  22783. "description": "市场ID",
  22784. "type": "integer"
  22785. },
  22786. "paydatetime": {
  22787. "description": "收付款更新时间",
  22788. "type": "string"
  22789. },
  22790. "payremark": {
  22791. "description": "收付款备注",
  22792. "type": "string"
  22793. },
  22794. "paystatus": {
  22795. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  22796. "type": "integer"
  22797. },
  22798. "positionqty": {
  22799. "description": "头寸数量 - 合同数量去小数部分",
  22800. "type": "integer"
  22801. },
  22802. "producttype": {
  22803. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22804. "type": "integer"
  22805. },
  22806. "relatedqty": {
  22807. "description": "已关联数量",
  22808. "type": "number"
  22809. },
  22810. "relatedstatus": {
  22811. "description": "关联完结状态 - 0:未结束 1:已结束",
  22812. "type": "integer"
  22813. },
  22814. "remark": {
  22815. "description": "备注",
  22816. "type": "string"
  22817. },
  22818. "signdate": {
  22819. "description": "签订日期",
  22820. "type": "string"
  22821. },
  22822. "spotcontractid": {
  22823. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  22824. "type": "string"
  22825. },
  22826. "spotdatetime": {
  22827. "description": "收发货更新时间",
  22828. "type": "string"
  22829. },
  22830. "spotprice": {
  22831. "description": "价格",
  22832. "type": "number"
  22833. },
  22834. "spotremark": {
  22835. "description": "收发货备注",
  22836. "type": "string"
  22837. },
  22838. "spotstatus": {
  22839. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  22840. "type": "integer"
  22841. },
  22842. "tradedate": {
  22843. "description": "交易日(yyyyMMdd)",
  22844. "type": "string"
  22845. },
  22846. "userid": {
  22847. "description": "业务员用户ID",
  22848. "type": "integer"
  22849. },
  22850. "warehouseid": {
  22851. "description": "仓库ID",
  22852. "type": "integer"
  22853. },
  22854. "wrfactortypeid": {
  22855. "description": "仓单要素类型ID",
  22856. "type": "integer"
  22857. },
  22858. "wrstandardid": {
  22859. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  22860. "type": "integer"
  22861. }
  22862. }
  22863. },
  22864. "erms3.AddErms2ASApplyReq": {
  22865. "type": "object",
  22866. "required": [
  22867. "asapplyid"
  22868. ],
  22869. "properties": {
  22870. "applybasis": {
  22871. "description": "申请基差",
  22872. "type": "number"
  22873. },
  22874. "applystatus": {
  22875. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22876. "type": "integer"
  22877. },
  22878. "asapplyid": {
  22879. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  22880. "type": "integer"
  22881. },
  22882. "asname": {
  22883. "description": "策略名称",
  22884. "type": "string"
  22885. },
  22886. "asno": {
  22887. "description": "策略编号",
  22888. "type": "string"
  22889. },
  22890. "auditid": {
  22891. "description": "审核人",
  22892. "type": "integer"
  22893. },
  22894. "auditremark": {
  22895. "description": "审核备注",
  22896. "type": "string"
  22897. },
  22898. "audittime": {
  22899. "description": "审核时间",
  22900. "type": "string"
  22901. },
  22902. "biztype": {
  22903. "description": "业务类型 - 1:正向套利 2:反向套利",
  22904. "type": "integer"
  22905. },
  22906. "createtime": {
  22907. "description": "创建时间",
  22908. "type": "string"
  22909. },
  22910. "creatorid": {
  22911. "description": "创建人",
  22912. "type": "integer"
  22913. },
  22914. "deliverygoodsid": {
  22915. "description": "现货品种ID",
  22916. "type": "integer"
  22917. },
  22918. "futurequote": {
  22919. "description": "期货额度",
  22920. "type": "number"
  22921. },
  22922. "goodsgroupid": {
  22923. "description": "期货品种ID",
  22924. "type": "integer"
  22925. },
  22926. "marketid": {
  22927. "description": "市场ID",
  22928. "type": "integer"
  22929. },
  22930. "remark": {
  22931. "description": "备注",
  22932. "type": "string"
  22933. },
  22934. "spotquota": {
  22935. "description": "现货额度",
  22936. "type": "number"
  22937. },
  22938. "tradedate": {
  22939. "description": "交易日(yyyyMMdd)",
  22940. "type": "string"
  22941. },
  22942. "userid": {
  22943. "description": "所属机构",
  22944. "type": "integer"
  22945. }
  22946. }
  22947. },
  22948. "erms3.AddErms2SpotTradeApplyReq": {
  22949. "type": "object",
  22950. "required": [
  22951. "spottradeid"
  22952. ],
  22953. "properties": {
  22954. "applyjsondetail": {
  22955. "description": "申请明细(JSON)",
  22956. "type": "string"
  22957. },
  22958. "applystatus": {
  22959. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22960. "type": "integer"
  22961. },
  22962. "areauserid": {
  22963. "description": "所属机构",
  22964. "type": "integer"
  22965. },
  22966. "auditid": {
  22967. "description": "审核人",
  22968. "type": "integer"
  22969. },
  22970. "auditremark": {
  22971. "description": "审核备注",
  22972. "type": "string"
  22973. },
  22974. "audittime": {
  22975. "description": "审核时间",
  22976. "type": "string"
  22977. },
  22978. "createtime": {
  22979. "description": "创建时间",
  22980. "type": "string"
  22981. },
  22982. "creatorid": {
  22983. "description": "创建人",
  22984. "type": "integer"
  22985. },
  22986. "deliverygoodsid": {
  22987. "description": "现货品种ID",
  22988. "type": "integer"
  22989. },
  22990. "futureaccountid": {
  22991. "description": "期货资金账户",
  22992. "type": "integer"
  22993. },
  22994. "goodsgroupid": {
  22995. "description": "期货品种",
  22996. "type": "integer"
  22997. },
  22998. "marketid": {
  22999. "description": "市场ID",
  23000. "type": "integer"
  23001. },
  23002. "remark": {
  23003. "description": "备注",
  23004. "type": "string"
  23005. },
  23006. "spotaccountid": {
  23007. "description": "现货资金账户",
  23008. "type": "integer"
  23009. },
  23010. "spottradeid": {
  23011. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  23012. "type": "integer"
  23013. },
  23014. "spottradename": {
  23015. "description": "业务名称",
  23016. "type": "string"
  23017. },
  23018. "spottradeno": {
  23019. "description": "业务编号",
  23020. "type": "string"
  23021. },
  23022. "tradedate": {
  23023. "description": "交易日(yyyyMMdd)",
  23024. "type": "string"
  23025. },
  23026. "wrstandardid": {
  23027. "description": "仓单标准ID",
  23028. "type": "integer"
  23029. }
  23030. }
  23031. },
  23032. "erms3.AddSpotContractApplyReq": {
  23033. "type": "object",
  23034. "required": [
  23035. "accountid",
  23036. "areauserid",
  23037. "contractno",
  23038. "contracttype",
  23039. "customeraccountid",
  23040. "customeruserid",
  23041. "details",
  23042. "orimargin",
  23043. "signdate"
  23044. ],
  23045. "properties": {
  23046. "accountid": {
  23047. "description": "资金账户ID",
  23048. "type": "integer"
  23049. },
  23050. "areauserid": {
  23051. "description": "所属机构",
  23052. "type": "integer"
  23053. },
  23054. "contractattachment": {
  23055. "description": "合同附件",
  23056. "type": "string"
  23057. },
  23058. "contractno": {
  23059. "description": "现货合同编号",
  23060. "type": "string"
  23061. },
  23062. "contracttype": {
  23063. "description": "现货合同类型 - 1:采购 -1:销售",
  23064. "type": "integer"
  23065. },
  23066. "creatorid": {
  23067. "description": "申请人",
  23068. "type": "integer"
  23069. },
  23070. "customeraccountid": {
  23071. "description": "客户资金账户ID",
  23072. "type": "integer"
  23073. },
  23074. "customeruserid": {
  23075. "description": "客户ID",
  23076. "type": "integer"
  23077. },
  23078. "details": {
  23079. "description": "明细",
  23080. "type": "array",
  23081. "items": {
  23082. "$ref": "#/definitions/erms3.SoptContractDetail"
  23083. }
  23084. },
  23085. "orimargin": {
  23086. "description": "初始保证金",
  23087. "type": "number"
  23088. },
  23089. "remark": {
  23090. "description": "备注",
  23091. "type": "string"
  23092. },
  23093. "signdate": {
  23094. "description": "签订日期",
  23095. "type": "string"
  23096. }
  23097. }
  23098. },
  23099. "erms3.AddSpotContractApplyRsp": {
  23100. "type": "object",
  23101. "required": [
  23102. "contractno"
  23103. ],
  23104. "properties": {
  23105. "contractno": {
  23106. "description": "现货合同编号",
  23107. "type": "string"
  23108. },
  23109. "spotcontractid": {
  23110. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  23111. "type": "integer"
  23112. }
  23113. }
  23114. },
  23115. "erms3.AddUserInfoApplyReq": {
  23116. "type": "object",
  23117. "required": [
  23118. "userid"
  23119. ],
  23120. "properties": {
  23121. "accountid": {
  23122. "description": "交易系统帐号Id (加密存储)",
  23123. "type": "integer"
  23124. },
  23125. "areacode": {
  23126. "description": "机构代码",
  23127. "type": "string"
  23128. },
  23129. "areaid": {
  23130. "description": "机构Id",
  23131. "type": "integer"
  23132. },
  23133. "attachment1": {
  23134. "description": "附件1",
  23135. "type": "string"
  23136. },
  23137. "attachment2": {
  23138. "description": "附件2",
  23139. "type": "string"
  23140. },
  23141. "attachment3": {
  23142. "description": "附件3",
  23143. "type": "string"
  23144. },
  23145. "attachment4": {
  23146. "description": "附件4",
  23147. "type": "string"
  23148. },
  23149. "attachment5": {
  23150. "description": "附件5",
  23151. "type": "string"
  23152. },
  23153. "auditedby": {
  23154. "description": "审核人",
  23155. "type": "string"
  23156. },
  23157. "auditime": {
  23158. "description": "审核时间",
  23159. "type": "string"
  23160. },
  23161. "auditsrc": {
  23162. "description": "审核来源 - 1:管理端 2:终端",
  23163. "type": "integer"
  23164. },
  23165. "bankaccount": {
  23166. "description": "银行帐号 (加密存储)",
  23167. "type": "string"
  23168. },
  23169. "bankaccountname": {
  23170. "description": "收款人名称",
  23171. "type": "string"
  23172. },
  23173. "bankcardbackphotourl": {
  23174. "description": "银行卡背面照地址",
  23175. "type": "string"
  23176. },
  23177. "bankcardfrontphotourl": {
  23178. "description": "银行卡正面照地址",
  23179. "type": "string"
  23180. },
  23181. "bankid": {
  23182. "description": "银行编码",
  23183. "type": "string"
  23184. },
  23185. "bankname": {
  23186. "description": "银行名称",
  23187. "type": "string"
  23188. },
  23189. "bankpictureurl": {
  23190. "description": "银行卡正面地址",
  23191. "type": "string"
  23192. },
  23193. "biznature": {
  23194. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23195. "type": "integer"
  23196. },
  23197. "bizscope": {
  23198. "description": "企业经营范围(企业)",
  23199. "type": "string"
  23200. },
  23201. "biztype": {
  23202. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  23203. "type": "integer"
  23204. },
  23205. "brokerid": {
  23206. "description": "经纪人ID(加密存储)",
  23207. "type": "string"
  23208. },
  23209. "cardaddress": {
  23210. "description": "证件地址 (加密存储)",
  23211. "type": "string"
  23212. },
  23213. "cardbackphotourl": {
  23214. "description": "背面证件照地址",
  23215. "type": "string"
  23216. },
  23217. "cardfrontphotourl": {
  23218. "description": "正面证件照地址",
  23219. "type": "string"
  23220. },
  23221. "cardnum": {
  23222. "description": "证件号码 (加密存储)",
  23223. "type": "string"
  23224. },
  23225. "cardtype": {
  23226. "description": "证件类型",
  23227. "type": "integer"
  23228. },
  23229. "cityid": {
  23230. "description": "市",
  23231. "type": "integer"
  23232. },
  23233. "company": {
  23234. "description": "公司(个人)",
  23235. "type": "string"
  23236. },
  23237. "contactcardbackphotourl": {
  23238. "description": "联系人证件背面图片地址",
  23239. "type": "string"
  23240. },
  23241. "contactcardfrontphotourl": {
  23242. "description": "联系人证件正面图片地址",
  23243. "type": "string"
  23244. },
  23245. "contactname": {
  23246. "description": "联系人",
  23247. "type": "string"
  23248. },
  23249. "countryid": {
  23250. "description": "国家",
  23251. "type": "integer"
  23252. },
  23253. "createtime": {
  23254. "description": "开户申请时间",
  23255. "type": "string"
  23256. },
  23257. "cusbankid": {
  23258. "description": "签约类型",
  23259. "type": "string"
  23260. },
  23261. "cusbankname": {
  23262. "description": "签约类型名称",
  23263. "type": "string"
  23264. },
  23265. "customername": {
  23266. "description": "客户名称(企业名称)",
  23267. "type": "string"
  23268. },
  23269. "districtid": {
  23270. "description": "地区",
  23271. "type": "integer"
  23272. },
  23273. "email": {
  23274. "description": "Email地址(加密存储)",
  23275. "type": "string"
  23276. },
  23277. "halfbodyphotourl": {
  23278. "description": "半身照地址",
  23279. "type": "string"
  23280. },
  23281. "headurl": {
  23282. "description": "头像地址",
  23283. "type": "string"
  23284. },
  23285. "ipaddress": {
  23286. "description": "IP地址",
  23287. "type": "string"
  23288. },
  23289. "isvalidate": {
  23290. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  23291. "type": "string"
  23292. },
  23293. "legalcardbackphotourl": {
  23294. "description": "法人身份证背面照地址",
  23295. "type": "string"
  23296. },
  23297. "legalcardfrontphotourl": {
  23298. "description": "法人身份证正面照地址",
  23299. "type": "string"
  23300. },
  23301. "legalpersonname": {
  23302. "description": "法人姓名(企业)",
  23303. "type": "string"
  23304. },
  23305. "logincode": {
  23306. "description": "登录帐号 (加密存储)",
  23307. "type": "string"
  23308. },
  23309. "memberareaid": {
  23310. "description": "所属会员ID",
  23311. "type": "integer"
  23312. },
  23313. "mobile2": {
  23314. "description": "手机号码[明文-尚志]",
  23315. "type": "string"
  23316. },
  23317. "mobilephone": {
  23318. "description": "手机号码 (加密存储)",
  23319. "type": "string"
  23320. },
  23321. "modifiedby": {
  23322. "description": "修改人帐号",
  23323. "type": "integer"
  23324. },
  23325. "modifiedtime": {
  23326. "description": "修改时间",
  23327. "type": "string"
  23328. },
  23329. "nickname": {
  23330. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  23331. "type": "string"
  23332. },
  23333. "openmode": {
  23334. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  23335. "type": "integer"
  23336. },
  23337. "otherurl": {
  23338. "description": "其它图片地址[使用分号分隔]",
  23339. "type": "string"
  23340. },
  23341. "postalcode": {
  23342. "description": "邮政编码",
  23343. "type": "string"
  23344. },
  23345. "provinceid": {
  23346. "description": "省",
  23347. "type": "integer"
  23348. },
  23349. "proxystatementurl": {
  23350. "description": "授权委托书",
  23351. "type": "string"
  23352. },
  23353. "qq": {
  23354. "description": "QQ(加密存储",
  23355. "type": "string"
  23356. },
  23357. "referral": {
  23358. "description": "推荐人编码",
  23359. "type": "string"
  23360. },
  23361. "remark": {
  23362. "description": "备注",
  23363. "type": "string"
  23364. },
  23365. "removebeforestatus": {
  23366. "description": "REMOVEBEFORESTATUS",
  23367. "type": "integer"
  23368. },
  23369. "sex": {
  23370. "description": "性别 - 0:女 1:男",
  23371. "type": "integer"
  23372. },
  23373. "signedstatus": {
  23374. "description": "账户一号签签约状态",
  23375. "type": "integer"
  23376. },
  23377. "signpdfurl": {
  23378. "description": "签约pdf文件",
  23379. "type": "string"
  23380. },
  23381. "subbranch": {
  23382. "description": "开户支行",
  23383. "type": "string"
  23384. },
  23385. "taxpayernum": {
  23386. "description": "纳税人识别号",
  23387. "type": "string"
  23388. },
  23389. "telphone": {
  23390. "description": "联系电话(加密存储)",
  23391. "type": "string"
  23392. },
  23393. "userid": {
  23394. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  23395. "type": "integer"
  23396. },
  23397. "userinfotype": {
  23398. "description": "用户信息类型 - 1:个人 2:企业",
  23399. "type": "integer"
  23400. },
  23401. "username": {
  23402. "description": "用户姓名",
  23403. "type": "string"
  23404. },
  23405. "userstate": {
  23406. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  23407. "type": "integer"
  23408. },
  23409. "usertype": {
  23410. "description": "用户类型 - 1:投资者 2:机构",
  23411. "type": "integer"
  23412. },
  23413. "videourl": {
  23414. "description": "视频地址",
  23415. "type": "string"
  23416. },
  23417. "wechat": {
  23418. "description": "微信号 (加密存储)",
  23419. "type": "string"
  23420. }
  23421. }
  23422. },
  23423. "erms3.CustomerInfo": {
  23424. "type": "object",
  23425. "required": [
  23426. "userid"
  23427. ],
  23428. "properties": {
  23429. "accountids": {
  23430. "description": "资金账户ID列表",
  23431. "type": "array",
  23432. "items": {
  23433. "type": "integer"
  23434. }
  23435. },
  23436. "customername": {
  23437. "description": "名称(企业名称)",
  23438. "type": "string"
  23439. },
  23440. "mobile": {
  23441. "description": "手机号码",
  23442. "type": "string"
  23443. },
  23444. "userid": {
  23445. "description": "用户ID",
  23446. "type": "integer"
  23447. }
  23448. }
  23449. },
  23450. "erms3.ModifyUserInfoApplyReq": {
  23451. "type": "object",
  23452. "required": [
  23453. "userid"
  23454. ],
  23455. "properties": {
  23456. "accountid": {
  23457. "description": "交易系统帐号Id (加密存储)",
  23458. "type": "integer"
  23459. },
  23460. "areacode": {
  23461. "description": "机构代码",
  23462. "type": "string"
  23463. },
  23464. "areaid": {
  23465. "description": "机构Id",
  23466. "type": "integer"
  23467. },
  23468. "attachment1": {
  23469. "description": "附件1",
  23470. "type": "string"
  23471. },
  23472. "attachment2": {
  23473. "description": "附件2",
  23474. "type": "string"
  23475. },
  23476. "attachment3": {
  23477. "description": "附件3",
  23478. "type": "string"
  23479. },
  23480. "attachment4": {
  23481. "description": "附件4",
  23482. "type": "string"
  23483. },
  23484. "attachment5": {
  23485. "description": "附件5",
  23486. "type": "string"
  23487. },
  23488. "auditedby": {
  23489. "description": "审核人",
  23490. "type": "string"
  23491. },
  23492. "auditime": {
  23493. "description": "审核时间",
  23494. "type": "string"
  23495. },
  23496. "auditsrc": {
  23497. "description": "审核来源 - 1:管理端 2:终端",
  23498. "type": "integer"
  23499. },
  23500. "bankaccount": {
  23501. "description": "银行帐号 (加密存储)",
  23502. "type": "string"
  23503. },
  23504. "bankaccountname": {
  23505. "description": "收款人名称",
  23506. "type": "string"
  23507. },
  23508. "bankcardbackphotourl": {
  23509. "description": "银行卡背面照地址",
  23510. "type": "string"
  23511. },
  23512. "bankcardfrontphotourl": {
  23513. "description": "银行卡正面照地址",
  23514. "type": "string"
  23515. },
  23516. "bankid": {
  23517. "description": "银行编码",
  23518. "type": "string"
  23519. },
  23520. "bankname": {
  23521. "description": "银行名称",
  23522. "type": "string"
  23523. },
  23524. "bankpictureurl": {
  23525. "description": "银行卡正面地址",
  23526. "type": "string"
  23527. },
  23528. "biznature": {
  23529. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  23530. "type": "integer"
  23531. },
  23532. "bizscope": {
  23533. "description": "企业经营范围(企业)",
  23534. "type": "string"
  23535. },
  23536. "biztype": {
  23537. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  23538. "type": "integer"
  23539. },
  23540. "brokerid": {
  23541. "description": "经纪人ID(加密存储)",
  23542. "type": "string"
  23543. },
  23544. "cardaddress": {
  23545. "description": "证件地址 (加密存储)",
  23546. "type": "string"
  23547. },
  23548. "cardbackphotourl": {
  23549. "description": "背面证件照地址",
  23550. "type": "string"
  23551. },
  23552. "cardfrontphotourl": {
  23553. "description": "正面证件照地址",
  23554. "type": "string"
  23555. },
  23556. "cardnum": {
  23557. "description": "证件号码 (加密存储)",
  23558. "type": "string"
  23559. },
  23560. "cardtype": {
  23561. "description": "证件类型",
  23562. "type": "integer"
  23563. },
  23564. "cityid": {
  23565. "description": "市",
  23566. "type": "integer"
  23567. },
  23568. "company": {
  23569. "description": "公司(个人)",
  23570. "type": "string"
  23571. },
  23572. "contactcardbackphotourl": {
  23573. "description": "联系人证件背面图片地址",
  23574. "type": "string"
  23575. },
  23576. "contactcardfrontphotourl": {
  23577. "description": "联系人证件正面图片地址",
  23578. "type": "string"
  23579. },
  23580. "contactname": {
  23581. "description": "联系人",
  23582. "type": "string"
  23583. },
  23584. "countryid": {
  23585. "description": "国家",
  23586. "type": "integer"
  23587. },
  23588. "createtime": {
  23589. "description": "开户申请时间",
  23590. "type": "string"
  23591. },
  23592. "cusbankid": {
  23593. "description": "签约类型",
  23594. "type": "string"
  23595. },
  23596. "cusbankname": {
  23597. "description": "签约类型名称",
  23598. "type": "string"
  23599. },
  23600. "customername": {
  23601. "description": "客户名称(企业名称)",
  23602. "type": "string"
  23603. },
  23604. "districtid": {
  23605. "description": "地区",
  23606. "type": "integer"
  23607. },
  23608. "email": {
  23609. "description": "Email地址(加密存储)",
  23610. "type": "string"
  23611. },
  23612. "halfbodyphotourl": {
  23613. "description": "半身照地址",
  23614. "type": "string"
  23615. },
  23616. "headurl": {
  23617. "description": "头像地址",
  23618. "type": "string"
  23619. },
  23620. "ipaddress": {
  23621. "description": "IP地址",
  23622. "type": "string"
  23623. },
  23624. "isvalidate": {
  23625. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  23626. "type": "string"
  23627. },
  23628. "legalcardbackphotourl": {
  23629. "description": "法人身份证背面照地址",
  23630. "type": "string"
  23631. },
  23632. "legalcardfrontphotourl": {
  23633. "description": "法人身份证正面照地址",
  23634. "type": "string"
  23635. },
  23636. "legalpersonname": {
  23637. "description": "法人姓名(企业)",
  23638. "type": "string"
  23639. },
  23640. "logincode": {
  23641. "description": "登录帐号 (加密存储)",
  23642. "type": "string"
  23643. },
  23644. "memberareaid": {
  23645. "description": "所属会员ID",
  23646. "type": "integer"
  23647. },
  23648. "mobile2": {
  23649. "description": "手机号码[明文-尚志]",
  23650. "type": "string"
  23651. },
  23652. "mobilephone": {
  23653. "description": "手机号码 (加密存储)",
  23654. "type": "string"
  23655. },
  23656. "modifiedby": {
  23657. "description": "修改人帐号",
  23658. "type": "integer"
  23659. },
  23660. "modifiedtime": {
  23661. "description": "修改时间",
  23662. "type": "string"
  23663. },
  23664. "nickname": {
  23665. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  23666. "type": "string"
  23667. },
  23668. "openmode": {
  23669. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  23670. "type": "integer"
  23671. },
  23672. "otherurl": {
  23673. "description": "其它图片地址[使用分号分隔]",
  23674. "type": "string"
  23675. },
  23676. "postalcode": {
  23677. "description": "邮政编码",
  23678. "type": "string"
  23679. },
  23680. "provinceid": {
  23681. "description": "省",
  23682. "type": "integer"
  23683. },
  23684. "proxystatementurl": {
  23685. "description": "授权委托书",
  23686. "type": "string"
  23687. },
  23688. "qq": {
  23689. "description": "QQ(加密存储",
  23690. "type": "string"
  23691. },
  23692. "referral": {
  23693. "description": "推荐人编码",
  23694. "type": "string"
  23695. },
  23696. "remark": {
  23697. "description": "备注",
  23698. "type": "string"
  23699. },
  23700. "removebeforestatus": {
  23701. "description": "REMOVEBEFORESTATUS",
  23702. "type": "integer"
  23703. },
  23704. "sex": {
  23705. "description": "性别 - 0:女 1:男",
  23706. "type": "integer"
  23707. },
  23708. "signedstatus": {
  23709. "description": "账户一号签签约状态",
  23710. "type": "integer"
  23711. },
  23712. "signpdfurl": {
  23713. "description": "签约pdf文件",
  23714. "type": "string"
  23715. },
  23716. "subbranch": {
  23717. "description": "开户支行",
  23718. "type": "string"
  23719. },
  23720. "taxpayernum": {
  23721. "description": "纳税人识别号",
  23722. "type": "string"
  23723. },
  23724. "telphone": {
  23725. "description": "联系电话(加密存储)",
  23726. "type": "string"
  23727. },
  23728. "userid": {
  23729. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  23730. "type": "integer"
  23731. },
  23732. "userinfotype": {
  23733. "description": "用户信息类型 - 1:个人 2:企业",
  23734. "type": "integer"
  23735. },
  23736. "username": {
  23737. "description": "用户姓名",
  23738. "type": "string"
  23739. },
  23740. "userstate": {
  23741. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  23742. "type": "integer"
  23743. },
  23744. "usertype": {
  23745. "description": "用户类型 - 1:投资者 2:机构",
  23746. "type": "integer"
  23747. },
  23748. "videourl": {
  23749. "description": "视频地址",
  23750. "type": "string"
  23751. },
  23752. "wechat": {
  23753. "description": "微信号 (加密存储)",
  23754. "type": "string"
  23755. }
  23756. }
  23757. },
  23758. "erms3.QryAuditContractRsp": {
  23759. "type": "object",
  23760. "required": [
  23761. "matchcustomername",
  23762. "spotcontractid"
  23763. ],
  23764. "properties": {
  23765. "accountid": {
  23766. "description": "交易员ID",
  23767. "type": "string"
  23768. },
  23769. "applystatus": {
  23770. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23771. "type": "integer"
  23772. },
  23773. "curdeliveryqty": {
  23774. "description": "未交收量",
  23775. "type": "integer"
  23776. },
  23777. "customername": {
  23778. "description": "采购方ID",
  23779. "type": "string"
  23780. },
  23781. "deliverygoodsid": {
  23782. "description": "品种ID",
  23783. "type": "string"
  23784. },
  23785. "deliveryqty": {
  23786. "description": "交收量",
  23787. "type": "integer"
  23788. },
  23789. "enumdicname": {
  23790. "description": "单位名称",
  23791. "type": "string"
  23792. },
  23793. "matchaccountid": {
  23794. "description": "业务员ID",
  23795. "type": "string"
  23796. },
  23797. "matchcustomername": {
  23798. "description": "销售方ID",
  23799. "type": "string"
  23800. },
  23801. "pricedqty": {
  23802. "description": "定价量",
  23803. "type": "number"
  23804. },
  23805. "signdate": {
  23806. "description": "签订日期",
  23807. "type": "string"
  23808. },
  23809. "spotcontractid": {
  23810. "description": "合同ID",
  23811. "type": "string"
  23812. },
  23813. "totaldqty": {
  23814. "description": "合同量",
  23815. "type": "number"
  23816. },
  23817. "unpricedqty": {
  23818. "description": "未定价量",
  23819. "type": "number"
  23820. },
  23821. "wrstandardname": {
  23822. "description": "商品名称",
  23823. "type": "string"
  23824. }
  23825. }
  23826. },
  23827. "erms3.QryPendingBizRsp": {
  23828. "type": "object",
  23829. "properties": {
  23830. "accountid": {
  23831. "description": "现货账户",
  23832. "type": "string"
  23833. },
  23834. "areaname": {
  23835. "description": "所属部门",
  23836. "type": "string"
  23837. },
  23838. "bizid": {
  23839. "description": "业务ID",
  23840. "type": "string"
  23841. },
  23842. "bizname": {
  23843. "description": "业务名称",
  23844. "type": "string"
  23845. },
  23846. "status": {
  23847. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23848. "type": "integer"
  23849. },
  23850. "type": {
  23851. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23852. "type": "integer"
  23853. }
  23854. }
  23855. },
  23856. "erms3.QueryBusinessInfoRsp": {
  23857. "type": "object",
  23858. "properties": {
  23859. "businessid": {
  23860. "description": "业务ID.",
  23861. "type": "integer"
  23862. },
  23863. "buyamount": {
  23864. "description": "采购额.",
  23865. "type": "number"
  23866. },
  23867. "buyqty": {
  23868. "description": "采购量.",
  23869. "type": "string"
  23870. },
  23871. "futurepl": {
  23872. "description": "期货盈亏.",
  23873. "type": "number"
  23874. },
  23875. "futureqty": {
  23876. "description": "期货敞口.",
  23877. "type": "string"
  23878. },
  23879. "goodsid": {
  23880. "description": "商品名称/商品代码.",
  23881. "type": "string"
  23882. },
  23883. "hedgingqty": {
  23884. "description": "套保量.",
  23885. "type": "string"
  23886. },
  23887. "sellamount": {
  23888. "description": "销售额.",
  23889. "type": "number"
  23890. },
  23891. "sellqty": {
  23892. "description": "销售量.",
  23893. "type": "string"
  23894. },
  23895. "spotmarketvalue": {
  23896. "description": "现货市值.",
  23897. "type": "number"
  23898. },
  23899. "spotpl": {
  23900. "description": "浮动权益.",
  23901. "type": "number"
  23902. },
  23903. "spotqty": {
  23904. "description": "现货量.",
  23905. "type": "string"
  23906. },
  23907. "statu": {
  23908. "description": "状态,0-未结束 1-已结束.",
  23909. "type": "integer"
  23910. },
  23911. "totalpl": {
  23912. "description": "总盈亏.",
  23913. "type": "number"
  23914. },
  23915. "totalqty": {
  23916. "description": "总敞口.",
  23917. "type": "string"
  23918. },
  23919. "type": {
  23920. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  23921. "type": "integer"
  23922. }
  23923. }
  23924. },
  23925. "erms3.QuerySpotContractAppleFormRsp": {
  23926. "type": "object",
  23927. "properties": {
  23928. "goodses": {
  23929. "description": "合约列表",
  23930. "type": "array",
  23931. "items": {
  23932. "$ref": "#/definitions/models.GoodsIDAndName"
  23933. }
  23934. },
  23935. "oppositeusers": {
  23936. "description": "对方账号列表",
  23937. "type": "array",
  23938. "items": {
  23939. "$ref": "#/definitions/erms3.CustomerInfo"
  23940. }
  23941. },
  23942. "ouruser": {
  23943. "description": "我方账号",
  23944. "$ref": "#/definitions/erms3.CustomerInfo"
  23945. },
  23946. "warehouseinfos": {
  23947. "description": "仓库信息列表",
  23948. "type": "array",
  23949. "items": {
  23950. "$ref": "#/definitions/models.Warehouseinfo"
  23951. }
  23952. },
  23953. "wrstandards": {
  23954. "description": "仓单标准列表",
  23955. "type": "array",
  23956. "items": {
  23957. "$ref": "#/definitions/models.WRStandardInfo"
  23958. }
  23959. }
  23960. }
  23961. },
  23962. "erms3.QuerySpotContractInfoRsp": {
  23963. "type": "object",
  23964. "properties": {
  23965. "accountid": {
  23966. "description": "表示交易员ID.",
  23967. "type": "integer"
  23968. },
  23969. "curdeliveryqty": {
  23970. "description": "表示未交收量.",
  23971. "type": "number"
  23972. },
  23973. "customername": {
  23974. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  23975. "type": "string"
  23976. },
  23977. "deliverygoodsid": {
  23978. "description": "表示品种ID.",
  23979. "type": "string"
  23980. },
  23981. "deliveryqty": {
  23982. "description": "表示交收量.",
  23983. "type": "number"
  23984. },
  23985. "matchaccountid": {
  23986. "description": "表示业务员ID.",
  23987. "type": "integer"
  23988. },
  23989. "matchcustomername": {
  23990. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  23991. "type": "string"
  23992. },
  23993. "priceqty": {
  23994. "description": "表示定价量.",
  23995. "type": "number"
  23996. },
  23997. "relatedbizid": {
  23998. "description": "表示业务ID.",
  23999. "type": "string"
  24000. },
  24001. "signdate": {
  24002. "description": "表示签订日期.",
  24003. "type": "string"
  24004. },
  24005. "spotcontractid": {
  24006. "description": "合同ID",
  24007. "type": "string"
  24008. },
  24009. "status": {
  24010. "description": "表示状态,0-履约中 1-已完成.",
  24011. "type": "integer"
  24012. },
  24013. "totalqty": {
  24014. "description": "表示合同量.",
  24015. "type": "number"
  24016. },
  24017. "unpricedqty": {
  24018. "description": "表示未定价量.",
  24019. "type": "number"
  24020. },
  24021. "wrstandardname": {
  24022. "description": "表示商品ID.",
  24023. "type": "string"
  24024. }
  24025. }
  24026. },
  24027. "erms3.QueryUserInfoAppliesRsp": {
  24028. "type": "object",
  24029. "required": [
  24030. "userid"
  24031. ],
  24032. "properties": {
  24033. "biznature": {
  24034. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  24035. "type": "integer"
  24036. },
  24037. "contactname": {
  24038. "description": "联系人",
  24039. "type": "string"
  24040. },
  24041. "createtime": {
  24042. "description": "开户申请时间",
  24043. "type": "string"
  24044. },
  24045. "userid": {
  24046. "description": "用户ID(自增ID)",
  24047. "type": "integer"
  24048. },
  24049. "userinfotype": {
  24050. "description": "用户信息类型 - 1:个人 2:企业",
  24051. "type": "integer"
  24052. },
  24053. "username": {
  24054. "description": "用户姓名",
  24055. "type": "string"
  24056. },
  24057. "userstate": {
  24058. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  24059. "type": "integer"
  24060. }
  24061. }
  24062. },
  24063. "erms3.QueryUserInfosRsp": {
  24064. "type": "object",
  24065. "required": [
  24066. "userid"
  24067. ],
  24068. "properties": {
  24069. "biznature": {
  24070. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  24071. "type": "integer"
  24072. },
  24073. "contactname": {
  24074. "description": "联系人",
  24075. "type": "string"
  24076. },
  24077. "customername": {
  24078. "description": "客户名称(企业名称)",
  24079. "type": "string"
  24080. },
  24081. "userid": {
  24082. "description": "用户ID",
  24083. "type": "integer"
  24084. },
  24085. "userinfotype": {
  24086. "description": "用户信息类型 - 1:个人 2:企业",
  24087. "type": "integer"
  24088. },
  24089. "userstatus": {
  24090. "description": "用户状态 - 1:正常 2:注销",
  24091. "type": "integer"
  24092. }
  24093. }
  24094. },
  24095. "erms3.SoptContractDetail": {
  24096. "type": "object",
  24097. "required": [
  24098. "deliverygoodsid",
  24099. "producttype",
  24100. "unitname",
  24101. "warehouseid",
  24102. "wrstandardid",
  24103. "wrstandardname"
  24104. ],
  24105. "properties": {
  24106. "deliverygoodsdesc": {
  24107. "description": "现货品种说明",
  24108. "type": "string"
  24109. },
  24110. "deliverygoodsid": {
  24111. "description": "现货品种ID",
  24112. "type": "integer"
  24113. },
  24114. "deliverygoodsname": {
  24115. "description": "现货品种名称",
  24116. "type": "string"
  24117. },
  24118. "pointdesc": {
  24119. "description": "点价描述",
  24120. "type": "string"
  24121. },
  24122. "producttype": {
  24123. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  24124. "type": "integer"
  24125. },
  24126. "producttypename": {
  24127. "description": "产品类型名称",
  24128. "type": "string"
  24129. },
  24130. "spotPointOrderVoList": {
  24131. "description": "点价列表",
  24132. "type": "array",
  24133. "items": {
  24134. "$ref": "#/definitions/erms3.SpotPointOrder"
  24135. }
  24136. },
  24137. "spotPriceOrderList": {
  24138. "description": "定价列表",
  24139. "type": "array",
  24140. "items": {
  24141. "$ref": "#/definitions/erms3.SpotPriceOrder"
  24142. }
  24143. },
  24144. "unitname": {
  24145. "description": "单位名称",
  24146. "type": "string"
  24147. },
  24148. "warehouseid": {
  24149. "description": "仓库ID",
  24150. "type": "integer"
  24151. },
  24152. "warehousename": {
  24153. "description": "仓库名称",
  24154. "type": "string"
  24155. },
  24156. "wrstandardid": {
  24157. "description": "交易标的ID",
  24158. "type": "integer"
  24159. },
  24160. "wrstandardname": {
  24161. "description": "交易标的名称",
  24162. "type": "string"
  24163. }
  24164. }
  24165. },
  24166. "erms3.SpotPointOrder": {
  24167. "type": "object",
  24168. "required": [
  24169. "basic",
  24170. "goodsid",
  24171. "qty"
  24172. ],
  24173. "properties": {
  24174. "basic": {
  24175. "description": "基差",
  24176. "type": "number"
  24177. },
  24178. "deliveryenddate": {
  24179. "description": "交收结束日期",
  24180. "type": "string"
  24181. },
  24182. "deliverystartdate": {
  24183. "description": "交收开始日期",
  24184. "type": "string"
  24185. },
  24186. "enddate": {
  24187. "description": "点价结束日期",
  24188. "type": "string"
  24189. },
  24190. "goodsid": {
  24191. "description": "商品ID",
  24192. "type": "integer"
  24193. },
  24194. "goodsname": {
  24195. "description": "商品名称",
  24196. "type": "string"
  24197. },
  24198. "qty": {
  24199. "description": "数量",
  24200. "type": "number"
  24201. },
  24202. "startdate": {
  24203. "description": "点价开始日期",
  24204. "type": "string"
  24205. }
  24206. }
  24207. },
  24208. "erms3.SpotPriceOrder": {
  24209. "type": "object",
  24210. "required": [
  24211. "amount",
  24212. "price",
  24213. "qty"
  24214. ],
  24215. "properties": {
  24216. "amount": {
  24217. "description": "金额",
  24218. "type": "number"
  24219. },
  24220. "deliveryenddate": {
  24221. "description": "交收结束日期",
  24222. "type": "string"
  24223. },
  24224. "deliverystartdate": {
  24225. "description": "交收开始日期",
  24226. "type": "string"
  24227. },
  24228. "price": {
  24229. "description": "价格",
  24230. "type": "number"
  24231. },
  24232. "qty": {
  24233. "description": "数量",
  24234. "type": "number"
  24235. }
  24236. }
  24237. },
  24238. "hsby.GetHsbyMyCountRsp": {
  24239. "type": "object",
  24240. "properties": {
  24241. "myCouponCount": {
  24242. "description": "我的优惠卷数量",
  24243. "type": "integer"
  24244. },
  24245. "myOrderDetailListingCount": {
  24246. "description": "我的订单求购中数量",
  24247. "type": "integer"
  24248. },
  24249. "myOrderDetailPreCount": {
  24250. "description": "我的订单抢购中数量",
  24251. "type": "integer"
  24252. },
  24253. "myPackageUnReceiveCount": {
  24254. "description": "我的包裹待收货数量",
  24255. "type": "integer"
  24256. },
  24257. "myPackageUnSendCount": {
  24258. "description": "我的包裹待发货数量",
  24259. "type": "integer"
  24260. },
  24261. "myPayOrderCount": {
  24262. "description": "我的订单待付款数量",
  24263. "type": "integer"
  24264. }
  24265. }
  24266. },
  24267. "hsby.QueryProvincesAndCitiesRsp": {
  24268. "type": "object",
  24269. "properties": {
  24270. "cities": {
  24271. "description": "市",
  24272. "type": "array",
  24273. "items": {
  24274. "$ref": "#/definitions/models.Division"
  24275. }
  24276. },
  24277. "province": {
  24278. "description": "省",
  24279. "$ref": "#/definitions/models.Division"
  24280. }
  24281. }
  24282. },
  24283. "models.Arearole": {
  24284. "type": "object",
  24285. "required": [
  24286. "roletype",
  24287. "userid"
  24288. ],
  24289. "properties": {
  24290. "createtime": {
  24291. "description": "创建时间",
  24292. "type": "string"
  24293. },
  24294. "creatorid": {
  24295. "description": "创建人ID",
  24296. "type": "integer"
  24297. },
  24298. "fromuserid": {
  24299. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  24300. "type": "integer"
  24301. },
  24302. "isreturnscore": {
  24303. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  24304. "type": "integer"
  24305. },
  24306. "modifierid": {
  24307. "description": "修改人ID",
  24308. "type": "integer"
  24309. },
  24310. "modifytime": {
  24311. "description": "修改时间",
  24312. "type": "string"
  24313. },
  24314. "orgtype": {
  24315. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  24316. "type": "integer"
  24317. },
  24318. "outuserid": {
  24319. "description": "外部账户[场外期权做市商]",
  24320. "type": "string"
  24321. },
  24322. "parentuserid": {
  24323. "description": "上级组织机构(组织机构)",
  24324. "type": "integer"
  24325. },
  24326. "roletype": {
  24327. "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:门店",
  24328. "type": "integer"
  24329. },
  24330. "rootuserid": {
  24331. "description": "顶级组织机构用户ID(组织机构)",
  24332. "type": "integer"
  24333. },
  24334. "shoppassword": {
  24335. "description": "商城店铺登陆密码(商城店铺角色使用)",
  24336. "type": "string"
  24337. },
  24338. "sublevelpath": {
  24339. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  24340. "type": "string"
  24341. },
  24342. "suborgtype": {
  24343. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  24344. "type": "integer"
  24345. },
  24346. "tradeaccountid": {
  24347. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  24348. "type": "integer"
  24349. },
  24350. "transurl": {
  24351. "description": "物流地址(物流机构)",
  24352. "type": "string"
  24353. },
  24354. "userid": {
  24355. "description": "机构用户ID其他做市关系,都设置为 1",
  24356. "type": "integer"
  24357. }
  24358. }
  24359. },
  24360. "models.BuyOrder": {
  24361. "type": "object",
  24362. "properties": {
  24363. "accountid": {
  24364. "description": "资金账户ID",
  24365. "type": "integer"
  24366. },
  24367. "buyusername": {
  24368. "description": "买方",
  24369. "type": "string"
  24370. },
  24371. "marketid": {
  24372. "description": "市场ID",
  24373. "type": "integer"
  24374. },
  24375. "ordertime": {
  24376. "description": "委托时间",
  24377. "type": "string"
  24378. },
  24379. "origin": {
  24380. "description": "原产地",
  24381. "type": "string"
  24382. },
  24383. "performancetemplateid": {
  24384. "description": "履约计划模板ID",
  24385. "type": "integer"
  24386. },
  24387. "remark": {
  24388. "description": "备注",
  24389. "type": "string"
  24390. },
  24391. "userid": {
  24392. "description": "用户ID",
  24393. "type": "integer"
  24394. },
  24395. "validtime": {
  24396. "description": "有效期限",
  24397. "type": "string"
  24398. },
  24399. "warehouseids": {
  24400. "description": "仓库ID - 多个, 逗号分隔",
  24401. "type": "string"
  24402. },
  24403. "warehouseinfosdisplay": {
  24404. "type": "string"
  24405. },
  24406. "wrtradeorderid": {
  24407. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  24408. "type": "string"
  24409. },
  24410. "wrtradeorderstatus": {
  24411. "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、",
  24412. "type": "integer"
  24413. },
  24414. "zscategory": {
  24415. "description": "钻石分类 - 枚举”ZSCategory“",
  24416. "type": "integer"
  24417. },
  24418. "zscategorydisplay": {
  24419. "type": "string"
  24420. },
  24421. "zsclaritytype": {
  24422. "description": "净度 - 两个, 逗号分隔",
  24423. "type": "string"
  24424. },
  24425. "zsclaritytypedisplay": {
  24426. "type": "string"
  24427. },
  24428. "zscolortype": {
  24429. "description": "颜色 - 两个, 逗号分隔",
  24430. "type": "string"
  24431. },
  24432. "zscolortypedisplay": {
  24433. "type": "string"
  24434. },
  24435. "zscrystaltype": {
  24436. "description": "晶型 - 多个,逗号分隔",
  24437. "type": "string"
  24438. },
  24439. "zscrystaltypedisplay": {
  24440. "type": "string"
  24441. },
  24442. "zscurrencytype": {
  24443. "description": "货币类型 - 多个, 逗号分隔",
  24444. "type": "string"
  24445. },
  24446. "zscurrencytypedisplay": {
  24447. "type": "string"
  24448. },
  24449. "zscuttype": {
  24450. "description": "切工 - 两个, 逗号分隔",
  24451. "type": "string"
  24452. },
  24453. "zscuttypedisplay": {
  24454. "type": "string"
  24455. },
  24456. "zsczcolor1type": {
  24457. "description": "彩钻颜色1, 逗号分隔",
  24458. "type": "string"
  24459. },
  24460. "zsczcolor1typedisplay": {
  24461. "type": "string"
  24462. },
  24463. "zsczcolor2type": {
  24464. "description": "彩钻颜色2, 逗号分隔",
  24465. "type": "string"
  24466. },
  24467. "zsczcolor2typedisplay": {
  24468. "type": "string"
  24469. },
  24470. "zsczcolor3type": {
  24471. "description": "彩钻颜色3, 逗号分隔",
  24472. "type": "string"
  24473. },
  24474. "zsczcolor3typedisplay": {
  24475. "type": "string"
  24476. },
  24477. "zsfluorescencetype": {
  24478. "description": "荧光 - 多个, 逗号分隔",
  24479. "type": "string"
  24480. },
  24481. "zsfluorescencetypedisplay": {
  24482. "type": "string"
  24483. },
  24484. "zspolishtype": {
  24485. "description": "抛光度 - 两个, 逗号分隔",
  24486. "type": "string"
  24487. },
  24488. "zspolishtypedisplay": {
  24489. "type": "string"
  24490. },
  24491. "zsshapetype": {
  24492. "description": "形状 - 多个, 逗号分隔",
  24493. "type": "string"
  24494. },
  24495. "zsshapetypedisplay": {
  24496. "type": "string"
  24497. },
  24498. "zssize": {
  24499. "description": "尺寸 - 两个小数, 逗号分隔",
  24500. "type": "string"
  24501. },
  24502. "zsstyletype": {
  24503. "description": "款式 - 多个, 逗号分隔",
  24504. "type": "string"
  24505. },
  24506. "zsstyletypedisplay": {
  24507. "type": "string"
  24508. },
  24509. "zssymmetrytype": {
  24510. "description": "对称度 - 两个, 逗号分隔",
  24511. "type": "string"
  24512. },
  24513. "zssymmetrytypedisplay": {
  24514. "type": "string"
  24515. },
  24516. "zstabledisplay": {
  24517. "description": "求购信息",
  24518. "type": "string"
  24519. }
  24520. }
  24521. },
  24522. "models.Clientfixedadconfig": {
  24523. "type": "object",
  24524. "required": [
  24525. "adsort",
  24526. "adtype"
  24527. ],
  24528. "properties": {
  24529. "adsort": {
  24530. "description": "排序",
  24531. "type": "integer"
  24532. },
  24533. "adtype": {
  24534. "description": "广告位类型 - 1:新品抢购(HSBY)",
  24535. "type": "integer"
  24536. },
  24537. "areauserid": {
  24538. "description": "所属机构ID",
  24539. "type": "integer"
  24540. },
  24541. "createdate": {
  24542. "description": "创建时间",
  24543. "type": "string"
  24544. },
  24545. "creatorid": {
  24546. "description": "创建人",
  24547. "type": "integer"
  24548. },
  24549. "imagepath": {
  24550. "description": "图片",
  24551. "type": "string"
  24552. },
  24553. "isshow": {
  24554. "description": "是否展示 - 0:不展示 1:展示",
  24555. "type": "integer"
  24556. },
  24557. "modifierid": {
  24558. "description": "操作人",
  24559. "type": "integer"
  24560. },
  24561. "recsize": {
  24562. "description": "推荐尺寸",
  24563. "type": "string"
  24564. },
  24565. "title": {
  24566. "description": "标题",
  24567. "type": "string"
  24568. },
  24569. "updatedate": {
  24570. "description": "更新时间",
  24571. "type": "string"
  24572. },
  24573. "urlcontent": {
  24574. "description": "链接(地址或商品ID)",
  24575. "type": "string"
  24576. },
  24577. "urltype": {
  24578. "description": "链接类型 - 1:直接地址 2:商品ID",
  24579. "type": "integer"
  24580. }
  24581. }
  24582. },
  24583. "models.DgFactoryItem": {
  24584. "type": "object",
  24585. "properties": {
  24586. "dgfactoryitemid": {
  24587. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24588. "type": "integer"
  24589. },
  24590. "dgfactoryitemtypeid": {
  24591. "description": "要素项类型",
  24592. "type": "integer"
  24593. },
  24594. "dgfactoryitemvalue": {
  24595. "description": "要素项值(类型为仓库时填写仓库名称)",
  24596. "type": "string"
  24597. },
  24598. "orderindex": {
  24599. "description": "顺序",
  24600. "type": "integer"
  24601. }
  24602. }
  24603. },
  24604. "models.Division": {
  24605. "type": "object",
  24606. "required": [
  24607. "autoid",
  24608. "divisioncode"
  24609. ],
  24610. "properties": {
  24611. "autoid": {
  24612. "description": "自增ID",
  24613. "type": "integer"
  24614. },
  24615. "divisioncode": {
  24616. "description": "行政代码",
  24617. "type": "string"
  24618. },
  24619. "divisionlevel": {
  24620. "description": "行政级别",
  24621. "type": "string"
  24622. },
  24623. "divisionname": {
  24624. "description": "行政名称",
  24625. "type": "string"
  24626. },
  24627. "modifierid": {
  24628. "description": "修改人",
  24629. "type": "integer"
  24630. },
  24631. "modifytime": {
  24632. "description": "修改时间",
  24633. "type": "string"
  24634. },
  24635. "parentcode": {
  24636. "description": "上级行政代码",
  24637. "type": "string"
  24638. },
  24639. "pathname": {
  24640. "description": "路径名称",
  24641. "type": "string"
  24642. },
  24643. "postcode": {
  24644. "description": "邮政编码",
  24645. "type": "string"
  24646. },
  24647. "separablename": {
  24648. "description": "可拆分的全称",
  24649. "type": "string"
  24650. },
  24651. "shortcode": {
  24652. "description": "地区简码",
  24653. "type": "string"
  24654. }
  24655. }
  24656. },
  24657. "models.Enumdicitem": {
  24658. "type": "object",
  24659. "required": [
  24660. "autoid",
  24661. "enumdiccode",
  24662. "enumdicid",
  24663. "enumitemname"
  24664. ],
  24665. "properties": {
  24666. "autoid": {
  24667. "description": "自增ID",
  24668. "type": "integer"
  24669. },
  24670. "bankmappedvalue": {
  24671. "description": "银行服务对应值",
  24672. "type": "string"
  24673. },
  24674. "enumdiccode": {
  24675. "description": "所属枚举代码",
  24676. "type": "string"
  24677. },
  24678. "enumdicid": {
  24679. "description": "所属枚举ID",
  24680. "type": "integer"
  24681. },
  24682. "enumdicname": {
  24683. "description": "枚举项名称",
  24684. "type": "string"
  24685. },
  24686. "enumitemname": {
  24687. "description": "枚举项值",
  24688. "type": "integer"
  24689. },
  24690. "enumitemstatus": {
  24691. "description": "枚举项状态 - 1.启用 2.不启用",
  24692. "type": "integer"
  24693. },
  24694. "enumitemvalue": {
  24695. "description": "通用值 - [币种通用简写]",
  24696. "type": "string"
  24697. },
  24698. "param1": {
  24699. "description": "参数1[币种:币种小数位]",
  24700. "type": "string"
  24701. },
  24702. "param2": {
  24703. "description": "参数1[币种:币种显示单位]",
  24704. "type": "string"
  24705. },
  24706. "remark": {
  24707. "description": "备注",
  24708. "type": "string"
  24709. }
  24710. }
  24711. },
  24712. "models.Ermcp2AreaExposure": {
  24713. "type": "object",
  24714. "properties": {
  24715. "areauserid": {
  24716. "description": "所属机构",
  24717. "type": "integer"
  24718. },
  24719. "enumdicname": {
  24720. "description": "单位",
  24721. "type": "string"
  24722. },
  24723. "futureqty": {
  24724. "description": "期货套期量",
  24725. "type": "number"
  24726. },
  24727. "futureqtychange": {
  24728. "description": "期货变动量 = FutureQty - OriFutureQty",
  24729. "type": "number"
  24730. },
  24731. "goodsunitid": {
  24732. "description": "单位ID",
  24733. "type": "integer"
  24734. },
  24735. "hedgedspotexposure": {
  24736. "description": "被套期现货敞口量",
  24737. "type": "number"
  24738. },
  24739. "hedgedspratio": {
  24740. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  24741. "type": "number"
  24742. },
  24743. "hedgedtotalexposourechange": {
  24744. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  24745. "type": "number"
  24746. },
  24747. "hedgedtotalexposure": {
  24748. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  24749. "type": "number"
  24750. },
  24751. "hedgeplanqty": {
  24752. "description": "套期计划量",
  24753. "type": "number"
  24754. },
  24755. "hedgeplanqtychange": {
  24756. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  24757. "type": "number"
  24758. },
  24759. "hedgespotqty": {
  24760. "description": "被套期现货量",
  24761. "type": "number"
  24762. },
  24763. "middlegoodsid": {
  24764. "description": "套保品种",
  24765. "type": "integer"
  24766. },
  24767. "middlegoodsname": {
  24768. "description": "套保品种名称",
  24769. "type": "string"
  24770. },
  24771. "orifutureqty": {
  24772. "description": "期初期货套期量",
  24773. "type": "number"
  24774. },
  24775. "orihedgedspotexposure": {
  24776. "description": "期初被套期现货敞口量",
  24777. "type": "number"
  24778. },
  24779. "orihedgedtotalexposure": {
  24780. "description": "期初套期敞口量",
  24781. "type": "number"
  24782. },
  24783. "orihedgeplanqty": {
  24784. "description": "期初套期计划量",
  24785. "type": "number"
  24786. },
  24787. "orihedgespotqty": {
  24788. "description": "期初被套期现货量",
  24789. "type": "number"
  24790. },
  24791. "orispotexposure": {
  24792. "description": "期初现货敞口量",
  24793. "type": "number"
  24794. },
  24795. "orispotqty": {
  24796. "description": "期初现货总量",
  24797. "type": "number"
  24798. },
  24799. "oritotalexposure": {
  24800. "description": "期初总敞口量",
  24801. "type": "number"
  24802. },
  24803. "spotexposure": {
  24804. "description": "现货敞口量",
  24805. "type": "number"
  24806. },
  24807. "spotqty": {
  24808. "description": "现货总量",
  24809. "type": "number"
  24810. },
  24811. "spotqtychange": {
  24812. "description": "现货变动量 = SpotQty - OriSpotQty",
  24813. "type": "number"
  24814. },
  24815. "spratio": {
  24816. "description": "总期现比例 = 期货套期量/现货敞口量",
  24817. "type": "number"
  24818. },
  24819. "totalexposure": {
  24820. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  24821. "type": "number"
  24822. },
  24823. "totalexposurechange": {
  24824. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  24825. "type": "number"
  24826. },
  24827. "updatetime": {
  24828. "description": "更新时间 --DATE",
  24829. "type": "string"
  24830. }
  24831. }
  24832. },
  24833. "models.Ermcp2hedgeditem": {
  24834. "type": "object",
  24835. "properties": {
  24836. "accountname": {
  24837. "description": "套期主体",
  24838. "type": "string"
  24839. },
  24840. "applyid": {
  24841. "description": "申请人",
  24842. "type": "integer"
  24843. },
  24844. "applysrc": {
  24845. "description": "申请来源 - 1:管理端 2:终端",
  24846. "type": "integer"
  24847. },
  24848. "areauserid": {
  24849. "description": "企业ID",
  24850. "type": "integer"
  24851. },
  24852. "auditid": {
  24853. "description": "审核人",
  24854. "type": "integer"
  24855. },
  24856. "auditremark": {
  24857. "description": "审核备注",
  24858. "type": "string"
  24859. },
  24860. "auditsrc": {
  24861. "description": "审核来源 - 1:管理端 2:终端",
  24862. "type": "integer"
  24863. },
  24864. "audittime": {
  24865. "description": "审核时间",
  24866. "type": "string"
  24867. },
  24868. "audittradedate": {
  24869. "description": "审核交易日(yyyyMMdd)",
  24870. "type": "string"
  24871. },
  24872. "createtime": {
  24873. "description": "申请时间",
  24874. "type": "string"
  24875. },
  24876. "curprice": {
  24877. "description": "当前市场价",
  24878. "type": "number"
  24879. },
  24880. "curstock": {
  24881. "description": "期末库存量 = 采购总量 - 销售总量",
  24882. "type": "number"
  24883. },
  24884. "deliverygoodsid": {
  24885. "description": "现货品种ID",
  24886. "type": "integer"
  24887. },
  24888. "enddate": {
  24889. "description": "完成日期",
  24890. "type": "string"
  24891. },
  24892. "endtradedate": {
  24893. "description": "完成交易日",
  24894. "type": "string"
  24895. },
  24896. "enumdicname": {
  24897. "description": "单位",
  24898. "type": "string"
  24899. },
  24900. "exeamount": {
  24901. "description": "执行市价总额",
  24902. "type": "number"
  24903. },
  24904. "exeavgprice": {
  24905. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  24906. "type": "number"
  24907. },
  24908. "execontractamount": {
  24909. "description": "执行定价总额",
  24910. "type": "number"
  24911. },
  24912. "exeqty": {
  24913. "description": "执行现货量",
  24914. "type": "number"
  24915. },
  24916. "exerestamount": {
  24917. "description": "执行剩余市价总额【现货贸易】",
  24918. "type": "number"
  24919. },
  24920. "futurefloatpl": {
  24921. "description": "期货浮动损益",
  24922. "type": "number"
  24923. },
  24924. "futurehedgepl": {
  24925. "description": "期货实际损益",
  24926. "type": "number"
  24927. },
  24928. "futurehedgeplchange": {
  24929. "description": "期货实际损益变动",
  24930. "type": "number"
  24931. },
  24932. "futurepl": {
  24933. "description": "期货套期损益",
  24934. "type": "number"
  24935. },
  24936. "futureplchange": {
  24937. "description": "期货套期损益变动",
  24938. "type": "number"
  24939. },
  24940. "hedgeamount": {
  24941. "description": "套期市价总额",
  24942. "type": "number"
  24943. },
  24944. "hedgecontractamount": {
  24945. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  24946. "type": "number"
  24947. },
  24948. "hedgeditemid": {
  24949. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24950. "type": "string"
  24951. },
  24952. "hedgeditemname": {
  24953. "description": "项目名称",
  24954. "type": "string"
  24955. },
  24956. "hedgeditemnum": {
  24957. "description": "项目编号",
  24958. "type": "string"
  24959. },
  24960. "hedgeditemstatus": {
  24961. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24962. "type": "integer"
  24963. },
  24964. "hedgedtype": {
  24965. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  24966. "type": "integer"
  24967. },
  24968. "hedgeqty": {
  24969. "description": "套期现货量",
  24970. "type": "number"
  24971. },
  24972. "hedgerate": {
  24973. "description": "套保比率",
  24974. "type": "number"
  24975. },
  24976. "hedgerestamount": {
  24977. "description": "套期剩余市价总额【现货贸易】",
  24978. "type": "number"
  24979. },
  24980. "hedgesumpl": {
  24981. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  24982. "type": "number"
  24983. },
  24984. "middlegoodslist": {
  24985. "description": "套期商品列表",
  24986. "type": "array",
  24987. "items": {
  24988. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  24989. }
  24990. },
  24991. "oriavgprice": {
  24992. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  24993. "type": "number"
  24994. },
  24995. "orifuturehedgepl": {
  24996. "description": "期初期货实际损益",
  24997. "type": "number"
  24998. },
  24999. "orifuturepl": {
  25000. "description": "期初期货套期损益",
  25001. "type": "number"
  25002. },
  25003. "orispothedgepl": {
  25004. "description": "期初现货实际损益",
  25005. "type": "number"
  25006. },
  25007. "orispotpl": {
  25008. "description": "期初现货套期损益",
  25009. "type": "number"
  25010. },
  25011. "planenddate": {
  25012. "description": "计划结束日期",
  25013. "type": "string"
  25014. },
  25015. "planstartdate": {
  25016. "description": "计划开始日期",
  25017. "type": "string"
  25018. },
  25019. "remark": {
  25020. "description": "备注",
  25021. "type": "string"
  25022. },
  25023. "spotbookamount": {
  25024. "description": "现货账面总额",
  25025. "type": "number"
  25026. },
  25027. "spotfloatpl": {
  25028. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  25029. "type": "number"
  25030. },
  25031. "spothedgepl": {
  25032. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  25033. "type": "number"
  25034. },
  25035. "spothedgeplchange": {
  25036. "description": "现货实际损益变动",
  25037. "type": "number"
  25038. },
  25039. "spotpl": {
  25040. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  25041. "type": "number"
  25042. },
  25043. "spotplchange": {
  25044. "description": "现货套期损益变动",
  25045. "type": "number"
  25046. },
  25047. "spottradepl": {
  25048. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  25049. "type": "number"
  25050. },
  25051. "sumobspl": {
  25052. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  25053. "type": "number"
  25054. },
  25055. "tradeuserid": {
  25056. "description": "交易用户ID",
  25057. "type": "integer"
  25058. },
  25059. "unexeqty": {
  25060. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  25061. "type": "number"
  25062. },
  25063. "updatetime": {
  25064. "description": "更新时间",
  25065. "type": "string"
  25066. },
  25067. "vatpl": {
  25068. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  25069. "type": "number"
  25070. },
  25071. "vatrate": {
  25072. "description": "增值税",
  25073. "type": "number"
  25074. },
  25075. "wrstandardid": {
  25076. "description": "现货商品ID",
  25077. "type": "integer"
  25078. },
  25079. "wrstandardname": {
  25080. "description": "商品名称",
  25081. "type": "string"
  25082. }
  25083. }
  25084. },
  25085. "models.Ermcp2hedgeditemlink": {
  25086. "type": "object",
  25087. "required": [
  25088. "relatedspotcontractid"
  25089. ],
  25090. "properties": {
  25091. "areauserid": {
  25092. "description": "企业ID",
  25093. "type": "integer"
  25094. },
  25095. "createtime": {
  25096. "description": "[关联时间]创建时间",
  25097. "type": "string"
  25098. },
  25099. "customeruserid": {
  25100. "description": "对手方 【3:采购合同 4:销售合同】",
  25101. "type": "integer"
  25102. },
  25103. "deliverygoodsid": {
  25104. "description": "现货品种ID",
  25105. "type": "integer"
  25106. },
  25107. "enumdicname": {
  25108. "description": "单位",
  25109. "type": "string"
  25110. },
  25111. "hedgeditemid": {
  25112. "description": "被套期项目ID",
  25113. "type": "integer"
  25114. },
  25115. "hedgeditemlinkid": {
  25116. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  25117. "type": "integer"
  25118. },
  25119. "hedgeditemnum": {
  25120. "description": "项目编号",
  25121. "type": "string"
  25122. },
  25123. "hedgedtype": {
  25124. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  25125. "type": "integer"
  25126. },
  25127. "relatedamount": {
  25128. "description": "市价总额 = 关联数量 * 期初市场价",
  25129. "type": "number"
  25130. },
  25131. "relatedhedgeplanid": {
  25132. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  25133. "type": "integer"
  25134. },
  25135. "relatedqty": {
  25136. "description": "关联数量",
  25137. "type": "number"
  25138. },
  25139. "relatedspotcontractid": {
  25140. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  25141. "type": "integer"
  25142. },
  25143. "relatedtype": {
  25144. "description": "关联类型 - 1:套期关联 2:执行关联",
  25145. "type": "integer"
  25146. },
  25147. "spotgoodsbrandid": {
  25148. "description": "现货品牌ID",
  25149. "type": "integer"
  25150. },
  25151. "spotpricedamount": {
  25152. "description": "[关联定价总额]定价总额",
  25153. "type": "number"
  25154. },
  25155. "spotpricedavgprice": {
  25156. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  25157. "type": "number"
  25158. },
  25159. "spottype": {
  25160. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  25161. "type": "integer"
  25162. },
  25163. "tradeuserid": {
  25164. "description": "交易用户ID",
  25165. "type": "integer"
  25166. },
  25167. "unexeqty": {
  25168. "description": "未执行现货量【项目关联时值】",
  25169. "type": "number"
  25170. },
  25171. "wrstandardid": {
  25172. "description": "现货商品ID",
  25173. "type": "integer"
  25174. },
  25175. "wrstandardname": {
  25176. "description": "现货商品",
  25177. "type": "string"
  25178. }
  25179. }
  25180. },
  25181. "models.Ermcp2hedgeditemsDetail": {
  25182. "type": "object",
  25183. "properties": {
  25184. "accountname": {
  25185. "description": "套期主体",
  25186. "type": "string"
  25187. },
  25188. "areauserid": {
  25189. "description": "企业ID",
  25190. "type": "integer"
  25191. },
  25192. "createtime": {
  25193. "description": "[日期时间]创建时间",
  25194. "type": "string"
  25195. },
  25196. "customeruserid": {
  25197. "description": "对手方 【3:采购合同 4:销售合同】",
  25198. "type": "integer"
  25199. },
  25200. "deliverygoodsid": {
  25201. "description": "现货品种ID",
  25202. "type": "integer"
  25203. },
  25204. "enumdicname": {
  25205. "description": "单位",
  25206. "type": "string"
  25207. },
  25208. "hedgeditemid": {
  25209. "description": "被套期项目ID",
  25210. "type": "string"
  25211. },
  25212. "hedgeditemspotid": {
  25213. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  25214. "type": "string"
  25215. },
  25216. "hedgedtype": {
  25217. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  25218. "type": "integer"
  25219. },
  25220. "hedgeplanno": {
  25221. "description": "计划编号",
  25222. "type": "string"
  25223. },
  25224. "middlegoodschange": {
  25225. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  25226. "type": "number"
  25227. },
  25228. "oriavgprice": {
  25229. "description": "期初市场价[当初市场价]",
  25230. "type": "number"
  25231. },
  25232. "relatedamount": {
  25233. "description": "市价总额 = 关联数量 * 期初市场价",
  25234. "type": "number"
  25235. },
  25236. "relatedhedgeplanid": {
  25237. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  25238. "type": "integer"
  25239. },
  25240. "relatedqty": {
  25241. "description": "[期间变化量]关联数量",
  25242. "type": "number"
  25243. },
  25244. "relatedspotcontractid": {
  25245. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  25246. "type": "integer"
  25247. },
  25248. "relatedtype": {
  25249. "description": "关联类型 - 1:套期关联 2:执行关联",
  25250. "type": "integer"
  25251. },
  25252. "spotgoodsbrandid": {
  25253. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  25254. "type": "integer"
  25255. },
  25256. "spotpricedamount": {
  25257. "description": "定价总额",
  25258. "type": "number"
  25259. },
  25260. "spotpricedavgprice": {
  25261. "description": "现货均价 = 定价总额 / 关联数量",
  25262. "type": "number"
  25263. },
  25264. "spottype": {
  25265. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  25266. "type": "integer"
  25267. },
  25268. "tradeuserid": {
  25269. "description": "交易用户ID",
  25270. "type": "integer"
  25271. },
  25272. "unexeqty": {
  25273. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  25274. "type": "number"
  25275. },
  25276. "wrstandardid": {
  25277. "description": "现货商品ID",
  25278. "type": "integer"
  25279. },
  25280. "wrstandardname": {
  25281. "description": "现货商品",
  25282. "type": "string"
  25283. }
  25284. }
  25285. },
  25286. "models.Ermcp2hedgeditemspot": {
  25287. "type": "object",
  25288. "required": [
  25289. "hedgeditemid"
  25290. ],
  25291. "properties": {
  25292. "areauserid": {
  25293. "description": "企业ID",
  25294. "type": "integer"
  25295. },
  25296. "createtime": {
  25297. "description": "创建时间",
  25298. "type": "string"
  25299. },
  25300. "customeruserid": {
  25301. "description": "对手方 【3:采购合同 4:销售合同】",
  25302. "type": "integer"
  25303. },
  25304. "deliverygoodsid": {
  25305. "description": "现货品种ID",
  25306. "type": "integer"
  25307. },
  25308. "enumdicname": {
  25309. "description": "单位",
  25310. "type": "string"
  25311. },
  25312. "hedgeditemid": {
  25313. "description": "被套期项目ID",
  25314. "type": "string"
  25315. },
  25316. "hedgeditemspotid": {
  25317. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  25318. "type": "string"
  25319. },
  25320. "hedgedtype": {
  25321. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  25322. "type": "integer"
  25323. },
  25324. "hedgeplanno": {
  25325. "description": "计划编号",
  25326. "type": "string"
  25327. },
  25328. "oriavgprice": {
  25329. "description": "期初市场价[当初市场价]",
  25330. "type": "number"
  25331. },
  25332. "relatedamount": {
  25333. "description": "市价总额 = 关联数量 * 期初市场价",
  25334. "type": "number"
  25335. },
  25336. "relatedhedgeplanid": {
  25337. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  25338. "type": "integer"
  25339. },
  25340. "relatedqty": {
  25341. "description": "关联数量[数量]",
  25342. "type": "number"
  25343. },
  25344. "relatedspotcontractid": {
  25345. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  25346. "type": "integer"
  25347. },
  25348. "relatedtype": {
  25349. "description": "关联类型 - 1:套期关联 2:执行关联",
  25350. "type": "integer"
  25351. },
  25352. "spotgoodsbrandid": {
  25353. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  25354. "type": "integer"
  25355. },
  25356. "spotpricedamount": {
  25357. "description": "定价总额",
  25358. "type": "number"
  25359. },
  25360. "spotpricedavgprice": {
  25361. "description": "现货均价 = 定价总额 / 关联数量",
  25362. "type": "number"
  25363. },
  25364. "spottype": {
  25365. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  25366. "type": "integer"
  25367. },
  25368. "tradeuserid": {
  25369. "description": "交易用户ID",
  25370. "type": "integer"
  25371. },
  25372. "wrstandardid": {
  25373. "description": "现货商品ID",
  25374. "type": "integer"
  25375. },
  25376. "wrstandardname": {
  25377. "description": "现货商品",
  25378. "type": "string"
  25379. }
  25380. }
  25381. },
  25382. "models.Ermcp2hedgeditemspotDetail": {
  25383. "type": "object",
  25384. "required": [
  25385. "hedgeditemid"
  25386. ],
  25387. "properties": {
  25388. "accountname": {
  25389. "description": "对手方",
  25390. "type": "string"
  25391. },
  25392. "areauserid": {
  25393. "description": "企业ID",
  25394. "type": "integer"
  25395. },
  25396. "brandname": {
  25397. "description": "品牌",
  25398. "type": "string"
  25399. },
  25400. "contractno": {
  25401. "description": "合同编号",
  25402. "type": "string"
  25403. },
  25404. "createtime": {
  25405. "description": "创建时间",
  25406. "type": "string"
  25407. },
  25408. "customeruserid": {
  25409. "description": "对手方 【3:采购合同 4:销售合同】",
  25410. "type": "integer"
  25411. },
  25412. "deliverygoodsid": {
  25413. "description": "现货品种ID",
  25414. "type": "integer"
  25415. },
  25416. "enumdicname": {
  25417. "description": "单位",
  25418. "type": "string"
  25419. },
  25420. "hedgeditemid": {
  25421. "description": "被套期项目ID",
  25422. "type": "string"
  25423. },
  25424. "hedgeditemspotid": {
  25425. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  25426. "type": "string"
  25427. },
  25428. "hedgedtype": {
  25429. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  25430. "type": "integer"
  25431. },
  25432. "oriavgprice": {
  25433. "description": "期初市场价[当初市场价]",
  25434. "type": "number"
  25435. },
  25436. "relatedamount": {
  25437. "description": "市价总额 = 关联数量 * 期初市场价",
  25438. "type": "number"
  25439. },
  25440. "relatedhedgeplanid": {
  25441. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  25442. "type": "integer"
  25443. },
  25444. "relatedqty": {
  25445. "description": "关联数量[数量]",
  25446. "type": "number"
  25447. },
  25448. "relatedspotcontractid": {
  25449. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  25450. "type": "integer"
  25451. },
  25452. "relatedtype": {
  25453. "description": "关联类型 - 1:套期关联 2:执行关联",
  25454. "type": "integer"
  25455. },
  25456. "spotgoodsbrandid": {
  25457. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  25458. "type": "integer"
  25459. },
  25460. "spotpricedamount": {
  25461. "description": "定价总额[金额]",
  25462. "type": "number"
  25463. },
  25464. "spotpricedavgprice": {
  25465. "description": "现货均价 = 定价总额 / 关联数量",
  25466. "type": "number"
  25467. },
  25468. "spottype": {
  25469. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  25470. "type": "integer"
  25471. },
  25472. "tradeuserid": {
  25473. "description": "交易用户ID",
  25474. "type": "integer"
  25475. },
  25476. "wrstandardid": {
  25477. "description": "现货商品ID",
  25478. "type": "integer"
  25479. },
  25480. "wrstandardname": {
  25481. "description": "现货商品",
  25482. "type": "string"
  25483. }
  25484. }
  25485. },
  25486. "models.Ermcp2himiddlegoods": {
  25487. "type": "object",
  25488. "required": [
  25489. "hedgeditemid",
  25490. "middlegoodsid"
  25491. ],
  25492. "properties": {
  25493. "futurehedgeqty": {
  25494. "description": "期货持仓套期量",
  25495. "type": "number"
  25496. },
  25497. "hedgeditemid": {
  25498. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  25499. "type": "integer"
  25500. },
  25501. "hiexpsoure": {
  25502. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  25503. "type": "number"
  25504. },
  25505. "middlegoodscode": {
  25506. "description": "套保商品代码",
  25507. "type": "string"
  25508. },
  25509. "middlegoodsid": {
  25510. "description": "套保品种ID",
  25511. "type": "integer"
  25512. },
  25513. "middlegoodsname": {
  25514. "description": "套保商品名称",
  25515. "type": "string"
  25516. },
  25517. "unexehedgeqty": {
  25518. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  25519. "type": "number"
  25520. }
  25521. }
  25522. },
  25523. "models.Ermcp2stockspotchangelog": {
  25524. "type": "object",
  25525. "properties": {
  25526. "accountname": {
  25527. "description": "套期主体",
  25528. "type": "string"
  25529. },
  25530. "aftervalue": {
  25531. "description": "现货量",
  25532. "type": "number"
  25533. },
  25534. "beforevalue": {
  25535. "description": "变更前现货量",
  25536. "type": "number"
  25537. },
  25538. "contractno": {
  25539. "description": "[编号]现货合同编号",
  25540. "type": "string"
  25541. },
  25542. "contracttype": {
  25543. "description": "现货合同类型 - 1:采购 -1:销售",
  25544. "type": "integer"
  25545. },
  25546. "createtime": {
  25547. "description": "创建时间",
  25548. "type": "string"
  25549. },
  25550. "customerusername": {
  25551. "description": "对手方",
  25552. "type": "string"
  25553. },
  25554. "deliverygoodsid": {
  25555. "description": "现货品种ID",
  25556. "type": "integer"
  25557. },
  25558. "exetype": {
  25559. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  25560. "type": "integer"
  25561. },
  25562. "logid": {
  25563. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  25564. "type": "string"
  25565. },
  25566. "logvalue": {
  25567. "description": "[期间变化量]现货量变更值",
  25568. "type": "number"
  25569. },
  25570. "middlegoodschange": {
  25571. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  25572. "type": "number"
  25573. },
  25574. "operatelogtype": {
  25575. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  25576. "type": "integer"
  25577. },
  25578. "relatedid": {
  25579. "description": "现货合同ID",
  25580. "type": "integer"
  25581. },
  25582. "spotgoodsbrandid": {
  25583. "description": "现货品牌ID",
  25584. "type": "integer"
  25585. },
  25586. "tradedate": {
  25587. "description": "交易日(yyyyMMdd)",
  25588. "type": "string"
  25589. },
  25590. "userid": {
  25591. "description": "机构ID",
  25592. "type": "integer"
  25593. },
  25594. "warehouseinfoid": {
  25595. "description": "仓库ID",
  25596. "type": "integer"
  25597. },
  25598. "wrfactortypeid": {
  25599. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25600. "type": "integer"
  25601. },
  25602. "wrstandardid": {
  25603. "description": "现货商品ID",
  25604. "type": "integer"
  25605. },
  25606. "wrstandardname": {
  25607. "description": "商品名称",
  25608. "type": "string"
  25609. }
  25610. }
  25611. },
  25612. "models.Ermcp3AreaSpot": {
  25613. "type": "object",
  25614. "properties": {
  25615. "areauserid": {
  25616. "description": "所属机构",
  25617. "type": "integer"
  25618. },
  25619. "convertratio": {
  25620. "description": "套保系数",
  25621. "type": "number"
  25622. },
  25623. "decreaseqty": {
  25624. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  25625. "type": "number"
  25626. },
  25627. "enumdicname": {
  25628. "description": "单位名称",
  25629. "type": "string"
  25630. },
  25631. "increaseqty": {
  25632. "description": "增加数量=销售计划数量+采购已定价数量",
  25633. "type": "number"
  25634. },
  25635. "oritoalspotqty": {
  25636. "description": "昨日数量",
  25637. "type": "number"
  25638. },
  25639. "totalspotqty": {
  25640. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  25641. "type": "number"
  25642. },
  25643. "unitid": {
  25644. "description": "现货商品单位id",
  25645. "type": "integer"
  25646. },
  25647. "updatetime": {
  25648. "description": "更新时间",
  25649. "type": "string"
  25650. },
  25651. "wrstandardcode": {
  25652. "description": "现货商品代码",
  25653. "type": "string"
  25654. },
  25655. "wrstandardid": {
  25656. "description": "现货商品ID(SEQ_WRSTANDARD)",
  25657. "type": "integer"
  25658. },
  25659. "wrstandardname": {
  25660. "description": "现货商品名称",
  25661. "type": "string"
  25662. }
  25663. }
  25664. },
  25665. "models.Ermcp3AreaSpotDetail": {
  25666. "type": "object",
  25667. "properties": {
  25668. "contracttype": {
  25669. "description": "合同类型 1-采购 -1-销售",
  25670. "type": "integer"
  25671. },
  25672. "createtime": {
  25673. "description": "创建时间",
  25674. "type": "string"
  25675. },
  25676. "enumdicname": {
  25677. "description": "现货商品单位名称",
  25678. "type": "string"
  25679. },
  25680. "logtype": {
  25681. "description": "记录类型 1-套保 2-现货合同",
  25682. "type": "integer"
  25683. },
  25684. "qty": {
  25685. "description": "数量",
  25686. "type": "number"
  25687. },
  25688. "recordname": {
  25689. "description": "类型名称",
  25690. "type": "string"
  25691. },
  25692. "relatedid": {
  25693. "description": "套保计划ID/现货合同ID",
  25694. "type": "string"
  25695. },
  25696. "relatedno": {
  25697. "description": "编号",
  25698. "type": "string"
  25699. },
  25700. "strtime": {
  25701. "description": "时间",
  25702. "type": "string"
  25703. },
  25704. "wrstandardcode": {
  25705. "description": "现货商品代码",
  25706. "type": "string"
  25707. },
  25708. "wrstandardid": {
  25709. "description": "现货商品ID(SEQ_WRSTANDARD)",
  25710. "type": "integer"
  25711. },
  25712. "wrstandardname": {
  25713. "description": "现货商品名称",
  25714. "type": "string"
  25715. }
  25716. }
  25717. },
  25718. "models.Ermcp3AreaSpotPLReport": {
  25719. "type": "object",
  25720. "properties": {
  25721. "accountid": {
  25722. "description": "期货账户ID (作废, 默认为0)",
  25723. "type": "integer"
  25724. },
  25725. "accountname": {
  25726. "description": "机构名称",
  25727. "type": "string"
  25728. },
  25729. "actualpl": {
  25730. "description": "现货损益",
  25731. "type": "number"
  25732. },
  25733. "areauserid": {
  25734. "description": "所属机构\\交易用户ID",
  25735. "type": "integer"
  25736. },
  25737. "begindate": {
  25738. "description": "开始交易日",
  25739. "type": "string"
  25740. },
  25741. "biztype": {
  25742. "description": "业务类型 - 1:套保 2:套利",
  25743. "type": "integer"
  25744. },
  25745. "brandname": {
  25746. "description": "品牌名称",
  25747. "type": "string"
  25748. },
  25749. "curamount": {
  25750. "description": "期末额",
  25751. "type": "number"
  25752. },
  25753. "curaverageprice": {
  25754. "description": "期初均价",
  25755. "type": "number"
  25756. },
  25757. "curbuyamount": {
  25758. "description": "期末采购总额",
  25759. "type": "number"
  25760. },
  25761. "curbuyqty": {
  25762. "description": "期末采购总量",
  25763. "type": "number"
  25764. },
  25765. "curmarketvalue": {
  25766. "description": "期初均价",
  25767. "type": "number"
  25768. },
  25769. "curqty": {
  25770. "description": "期末量",
  25771. "type": "number"
  25772. },
  25773. "currencyid": {
  25774. "description": "结算币种ID【原值】",
  25775. "type": "integer"
  25776. },
  25777. "currencyname": {
  25778. "description": "币种名称",
  25779. "type": "string"
  25780. },
  25781. "cursellamount": {
  25782. "description": "期末销售总额",
  25783. "type": "number"
  25784. },
  25785. "cursellqty": {
  25786. "description": "期末销售总量",
  25787. "type": "number"
  25788. },
  25789. "curspotprice": {
  25790. "description": "期初均价",
  25791. "type": "number"
  25792. },
  25793. "cycletime": {
  25794. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25795. "type": "string"
  25796. },
  25797. "cycletype": {
  25798. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25799. "type": "integer"
  25800. },
  25801. "deliverygoodscode": {
  25802. "description": "现货品种代码",
  25803. "type": "string"
  25804. },
  25805. "deliverygoodsid": {
  25806. "description": "现货品种ID",
  25807. "type": "integer"
  25808. },
  25809. "deliverygoodsname": {
  25810. "description": "现货品种名称",
  25811. "type": "string"
  25812. },
  25813. "enddate": {
  25814. "description": "结束交易日",
  25815. "type": "string"
  25816. },
  25817. "enumdicname": {
  25818. "description": "现货品种单位名称(作废)",
  25819. "type": "string"
  25820. },
  25821. "floatpl": {
  25822. "description": "期初均价",
  25823. "type": "number"
  25824. },
  25825. "goodsunitid": {
  25826. "description": "现货品种单位id(作废)",
  25827. "type": "integer"
  25828. },
  25829. "oriamount": {
  25830. "description": "期初额",
  25831. "type": "number"
  25832. },
  25833. "oriaverageprice": {
  25834. "description": "期初均价",
  25835. "type": "number"
  25836. },
  25837. "oribuyamount": {
  25838. "description": "期初采购总额",
  25839. "type": "number"
  25840. },
  25841. "oribuyqty": {
  25842. "description": "期初采购总量",
  25843. "type": "number"
  25844. },
  25845. "oriqty": {
  25846. "description": "期初量",
  25847. "type": "number"
  25848. },
  25849. "orisellamount": {
  25850. "description": "期初销售总额",
  25851. "type": "number"
  25852. },
  25853. "orisellqty": {
  25854. "description": "期初销售总量",
  25855. "type": "number"
  25856. },
  25857. "reckondate": {
  25858. "description": "日照时期(yyyyMMdd)",
  25859. "type": "string"
  25860. },
  25861. "spotgoodsbrandid": {
  25862. "description": "现货品牌ID",
  25863. "type": "integer"
  25864. },
  25865. "todaybuyamount": {
  25866. "description": "今日采购额(今采购额)",
  25867. "type": "number"
  25868. },
  25869. "todaybuyaverageprice": {
  25870. "description": "期初均价",
  25871. "type": "number"
  25872. },
  25873. "todaybuyqty": {
  25874. "description": "今日采购量(今采购量)",
  25875. "type": "number"
  25876. },
  25877. "todayinqty": {
  25878. "description": "今日入库量(今入库量)",
  25879. "type": "number"
  25880. },
  25881. "todayoutqty": {
  25882. "description": "今日出库量(今出库量)",
  25883. "type": "number"
  25884. },
  25885. "todaysellamount": {
  25886. "description": "今日销售额(今销售额)",
  25887. "type": "number"
  25888. },
  25889. "todaysellaverageprice": {
  25890. "description": "期初均价",
  25891. "type": "number"
  25892. },
  25893. "todaysellqty": {
  25894. "description": "今日销售量(今销售量)",
  25895. "type": "number"
  25896. },
  25897. "unitid": {
  25898. "description": "品类单位id",
  25899. "type": "integer"
  25900. },
  25901. "unitidname": {
  25902. "description": "品类单位名称",
  25903. "type": "string"
  25904. },
  25905. "updatetime": {
  25906. "description": "更新时间",
  25907. "type": "string"
  25908. },
  25909. "wrfactortypeid": {
  25910. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25911. "type": "integer"
  25912. },
  25913. "wrstandardcode": {
  25914. "description": "现货商品(品类)代码",
  25915. "type": "string"
  25916. },
  25917. "wrstandardid": {
  25918. "description": "现货品类ID",
  25919. "type": "integer"
  25920. },
  25921. "wrstandardname": {
  25922. "description": "现货商品(品类)名称",
  25923. "type": "string"
  25924. }
  25925. }
  25926. },
  25927. "models.Ermcp3AreaStock": {
  25928. "type": "object",
  25929. "required": [
  25930. "userid"
  25931. ],
  25932. "properties": {
  25933. "brandname": {
  25934. "description": "品牌名称",
  25935. "type": "string"
  25936. },
  25937. "curstock": {
  25938. "description": "期末库存量(今日量)",
  25939. "type": "number"
  25940. },
  25941. "deliverygoodscode": {
  25942. "description": "现货品种代码",
  25943. "type": "string"
  25944. },
  25945. "deliverygoodsid": {
  25946. "description": "现货品种id",
  25947. "type": "integer"
  25948. },
  25949. "deliverygoodsname": {
  25950. "description": "现货品种名称",
  25951. "type": "string"
  25952. },
  25953. "enumdicname": {
  25954. "description": "单位名称",
  25955. "type": "string"
  25956. },
  25957. "goodsunitid": {
  25958. "description": "现货商品单位id",
  25959. "type": "integer"
  25960. },
  25961. "oristock": {
  25962. "description": "期初库存量(昨日量)",
  25963. "type": "number"
  25964. },
  25965. "spotgoodsbrandid": {
  25966. "description": "现货品牌ID",
  25967. "type": "integer"
  25968. },
  25969. "todaybuyinqty": {
  25970. "description": "今日采购入库量",
  25971. "type": "number"
  25972. },
  25973. "todayproduceinqty": {
  25974. "description": "今日生产入库量",
  25975. "type": "number"
  25976. },
  25977. "todayproduceoutqty": {
  25978. "description": "今日生产出库量",
  25979. "type": "number"
  25980. },
  25981. "todayselloutqty": {
  25982. "description": "今日销售出库量",
  25983. "type": "number"
  25984. },
  25985. "unitid": {
  25986. "description": "单位id",
  25987. "type": "integer"
  25988. },
  25989. "updatetime": {
  25990. "description": "更新时间",
  25991. "type": "string"
  25992. },
  25993. "userid": {
  25994. "description": "机构ID",
  25995. "type": "integer"
  25996. },
  25997. "username": {
  25998. "description": "机构名称",
  25999. "type": "string"
  26000. },
  26001. "warehousecode": {
  26002. "description": "仓库代码",
  26003. "type": "string"
  26004. },
  26005. "warehouseinfoid": {
  26006. "description": "仓库ID",
  26007. "type": "string"
  26008. },
  26009. "warehousename": {
  26010. "description": "仓库名称",
  26011. "type": "string"
  26012. },
  26013. "warehousetype": {
  26014. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26015. "type": "integer"
  26016. },
  26017. "wrstandardcode": {
  26018. "description": "品类代码",
  26019. "type": "string"
  26020. },
  26021. "wrstandardid": {
  26022. "description": "品类ID",
  26023. "type": "string"
  26024. },
  26025. "wrstandardname": {
  26026. "description": "品类名称",
  26027. "type": "string"
  26028. }
  26029. }
  26030. },
  26031. "models.Ermcp3AreaStockApply": {
  26032. "type": "object",
  26033. "properties": {
  26034. "applyid": {
  26035. "description": "申请人",
  26036. "type": "integer"
  26037. },
  26038. "applyname": {
  26039. "description": "申请人名称",
  26040. "type": "string"
  26041. },
  26042. "applyremark": {
  26043. "description": "申请备注",
  26044. "type": "string"
  26045. },
  26046. "applysrc": {
  26047. "description": "申请来源 - 1:管理端 2:终端",
  26048. "type": "integer"
  26049. },
  26050. "applystatus": {
  26051. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26052. "type": "integer"
  26053. },
  26054. "applytime": {
  26055. "description": "申请时间",
  26056. "type": "string"
  26057. },
  26058. "auditid": {
  26059. "description": "审核人",
  26060. "type": "integer"
  26061. },
  26062. "auditname": {
  26063. "description": "审核人名称",
  26064. "type": "string"
  26065. },
  26066. "auditremark": {
  26067. "description": "审核备注",
  26068. "type": "string"
  26069. },
  26070. "auditsrc": {
  26071. "description": "审核来源 - 1:管理端 2:终端",
  26072. "type": "integer"
  26073. },
  26074. "audittime": {
  26075. "description": "审核时间",
  26076. "type": "string"
  26077. },
  26078. "audittradedate": {
  26079. "description": "审核交易日(yyyyMMdd)",
  26080. "type": "string"
  26081. },
  26082. "brandname": {
  26083. "description": "品牌名称",
  26084. "type": "string"
  26085. },
  26086. "buynickname": {
  26087. "description": "采购方昵称",
  26088. "type": "string"
  26089. },
  26090. "buyuserid": {
  26091. "description": "采购方userid",
  26092. "type": "integer"
  26093. },
  26094. "buyusername": {
  26095. "description": "采购方名称",
  26096. "type": "string"
  26097. },
  26098. "contractno": {
  26099. "description": "合同编号",
  26100. "type": "string"
  26101. },
  26102. "contractqty": {
  26103. "description": "合同量",
  26104. "type": "number"
  26105. },
  26106. "contracttype": {
  26107. "description": "现货合同类型 - 1:采购 -1:销售",
  26108. "type": "integer"
  26109. },
  26110. "deliverygoodscode": {
  26111. "description": "现货品种代码",
  26112. "type": "string"
  26113. },
  26114. "deliverygoodsid": {
  26115. "description": "现货品种id",
  26116. "type": "integer"
  26117. },
  26118. "deliverygoodsname": {
  26119. "description": "现货品种名称",
  26120. "type": "string"
  26121. },
  26122. "detailjson": {
  26123. "description": "明细数据",
  26124. "type": "string"
  26125. },
  26126. "enumdicname": {
  26127. "description": "现货商品单位名称",
  26128. "type": "string"
  26129. },
  26130. "inoutapplyid": {
  26131. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  26132. "type": "string"
  26133. },
  26134. "inouttype": {
  26135. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  26136. "type": "integer"
  26137. },
  26138. "pricetype": {
  26139. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26140. "type": "integer"
  26141. },
  26142. "qty": {
  26143. "description": "数量",
  26144. "type": "number"
  26145. },
  26146. "sellnickname": {
  26147. "description": "销售方昵称",
  26148. "type": "string"
  26149. },
  26150. "selluserid": {
  26151. "description": "销售方userid",
  26152. "type": "integer"
  26153. },
  26154. "sellusername": {
  26155. "description": "销售方名称",
  26156. "type": "string"
  26157. },
  26158. "spotcontractid": {
  26159. "description": "关联现货合同ID",
  26160. "type": "string"
  26161. },
  26162. "spotgoodsbrandid": {
  26163. "description": "现货品牌ID",
  26164. "type": "integer"
  26165. },
  26166. "unitid": {
  26167. "description": "单位id",
  26168. "type": "integer"
  26169. },
  26170. "userid": {
  26171. "description": "机构ID",
  26172. "type": "integer"
  26173. },
  26174. "warehousecode": {
  26175. "description": "仓库代码",
  26176. "type": "string"
  26177. },
  26178. "warehouseinfoid": {
  26179. "description": "现货仓库ID",
  26180. "type": "string"
  26181. },
  26182. "warehousename": {
  26183. "description": "仓库名称",
  26184. "type": "string"
  26185. },
  26186. "warehousetype": {
  26187. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26188. "type": "integer"
  26189. },
  26190. "wrstandardcode": {
  26191. "description": "品类代码",
  26192. "type": "string"
  26193. },
  26194. "wrstandardid": {
  26195. "description": "品类ID",
  26196. "type": "integer"
  26197. },
  26198. "wrstandardname": {
  26199. "description": "品类名称",
  26200. "type": "string"
  26201. }
  26202. }
  26203. },
  26204. "models.Ermcp3AreaStockApplySum": {
  26205. "type": "object",
  26206. "properties": {
  26207. "brandname": {
  26208. "description": "品牌名称",
  26209. "type": "string"
  26210. },
  26211. "inouttype": {
  26212. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  26213. "type": "integer"
  26214. },
  26215. "spotcontractid": {
  26216. "description": "关联现货合同ID",
  26217. "type": "string"
  26218. },
  26219. "spotgoodsbrandid": {
  26220. "description": "品牌id",
  26221. "type": "integer"
  26222. },
  26223. "totalqty": {
  26224. "description": "总数量",
  26225. "type": "number"
  26226. },
  26227. "wrstandardid": {
  26228. "description": "品类id",
  26229. "type": "integer"
  26230. },
  26231. "wrstandardname": {
  26232. "description": "品类名称",
  26233. "type": "string"
  26234. }
  26235. }
  26236. },
  26237. "models.Ermcp3AreaStockReportEx": {
  26238. "type": "object",
  26239. "properties": {
  26240. "begindate": {
  26241. "description": "开始交易日",
  26242. "type": "string"
  26243. },
  26244. "brandname": {
  26245. "description": "品牌名称",
  26246. "type": "string"
  26247. },
  26248. "curstock": {
  26249. "description": "期末库存量",
  26250. "type": "number"
  26251. },
  26252. "cycletime": {
  26253. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26254. "type": "string"
  26255. },
  26256. "cycletype": {
  26257. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26258. "type": "integer"
  26259. },
  26260. "deliverygoodscode": {
  26261. "description": "现货品种代码",
  26262. "type": "string"
  26263. },
  26264. "deliverygoodsid": {
  26265. "description": "现货品种id",
  26266. "type": "integer"
  26267. },
  26268. "deliverygoodsname": {
  26269. "description": "现货品种名称",
  26270. "type": "string"
  26271. },
  26272. "diffqty": {
  26273. "description": "库存变化量 = 期末 - 期初",
  26274. "type": "number"
  26275. },
  26276. "enddate": {
  26277. "description": "结束交易日",
  26278. "type": "string"
  26279. },
  26280. "enumdicname": {
  26281. "description": "单位名称",
  26282. "type": "string"
  26283. },
  26284. "goodsunitid": {
  26285. "description": "现货单位id",
  26286. "type": "integer"
  26287. },
  26288. "oristock": {
  26289. "description": "期初库存量",
  26290. "type": "number"
  26291. },
  26292. "reckondate": {
  26293. "description": "日照时期(yyyyMMdd)",
  26294. "type": "string"
  26295. },
  26296. "spotgoodsbrandid": {
  26297. "description": "现货品牌ID",
  26298. "type": "integer"
  26299. },
  26300. "todaybuyinqty": {
  26301. "description": "今采购入库量",
  26302. "type": "number"
  26303. },
  26304. "todayproduceinqty": {
  26305. "description": "今内部入库量",
  26306. "type": "number"
  26307. },
  26308. "todayproduceoutqty": {
  26309. "description": "今内部出库量",
  26310. "type": "number"
  26311. },
  26312. "todayselloutqty": {
  26313. "description": "今销售出库量",
  26314. "type": "number"
  26315. },
  26316. "unbuyinqty": {
  26317. "description": "采购未入库量(数据库未找到相关字段?)",
  26318. "type": "number"
  26319. },
  26320. "unitid": {
  26321. "description": "品类单位id",
  26322. "type": "integer"
  26323. },
  26324. "unselloutqty": {
  26325. "description": "销售未出库量(数据库未找到相关字段?)",
  26326. "type": "number"
  26327. },
  26328. "updatetime": {
  26329. "description": "更新时间",
  26330. "type": "string"
  26331. },
  26332. "userid": {
  26333. "description": "机构ID",
  26334. "type": "integer"
  26335. },
  26336. "username": {
  26337. "description": "机构名称",
  26338. "type": "string"
  26339. },
  26340. "warehousecode": {
  26341. "description": "仓库代码",
  26342. "type": "string"
  26343. },
  26344. "warehouseinfoid": {
  26345. "description": "仓库ID",
  26346. "type": "string"
  26347. },
  26348. "warehousename": {
  26349. "description": "仓库名称",
  26350. "type": "string"
  26351. },
  26352. "warehousetype": {
  26353. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  26354. "type": "integer"
  26355. },
  26356. "wrstandardcode": {
  26357. "description": "品类代码",
  26358. "type": "string"
  26359. },
  26360. "wrstandardid": {
  26361. "description": "品类ID",
  26362. "type": "integer"
  26363. },
  26364. "wrstandardname": {
  26365. "description": "品类名称",
  26366. "type": "string"
  26367. }
  26368. }
  26369. },
  26370. "models.Ermcp3ArealSumPL": {
  26371. "type": "object",
  26372. "properties": {
  26373. "accountname": {
  26374. "description": "机构名称",
  26375. "type": "string"
  26376. },
  26377. "areauserid": {
  26378. "description": "所属机构\\交易用户ID",
  26379. "type": "integer"
  26380. },
  26381. "begindate": {
  26382. "description": "开始交易日",
  26383. "type": "string"
  26384. },
  26385. "currencyid": {
  26386. "description": "结算币种ID",
  26387. "type": "integer"
  26388. },
  26389. "currencyname": {
  26390. "description": "币种名称",
  26391. "type": "string"
  26392. },
  26393. "cycletime": {
  26394. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26395. "type": "string"
  26396. },
  26397. "cycletype": {
  26398. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26399. "type": "integer"
  26400. },
  26401. "enddate": {
  26402. "description": "结束交易日",
  26403. "type": "string"
  26404. },
  26405. "enumdicname": {
  26406. "description": "单位名称(套保品种)",
  26407. "type": "string"
  26408. },
  26409. "futureactualpl": {
  26410. "description": "期货损益",
  26411. "type": "number"
  26412. },
  26413. "futurefloatpl": {
  26414. "description": "期货浮动损益",
  26415. "type": "number"
  26416. },
  26417. "futurespotratio": {
  26418. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  26419. "type": "number"
  26420. },
  26421. "goodsunitid": {
  26422. "description": "套保品种单位id",
  26423. "type": "integer"
  26424. },
  26425. "hedgeexposurepl": {
  26426. "description": "套保敞口损益",
  26427. "type": "number"
  26428. },
  26429. "middlegoodscode": {
  26430. "description": "套保品种代码",
  26431. "type": "string"
  26432. },
  26433. "middlegoodsid": {
  26434. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  26435. "type": "integer"
  26436. },
  26437. "middlegoodsname": {
  26438. "description": "套保品种名称",
  26439. "type": "string"
  26440. },
  26441. "reckondate": {
  26442. "description": "日照时期(yyyyMMdd)",
  26443. "type": "string"
  26444. },
  26445. "spotactualpl": {
  26446. "description": "现货损益",
  26447. "type": "number"
  26448. },
  26449. "spotfloatpl": {
  26450. "description": "现货浮动损益",
  26451. "type": "number"
  26452. },
  26453. "sumactualpl": {
  26454. "description": "实际损益 = (ActualPL + FutureActualPL)",
  26455. "type": "number"
  26456. },
  26457. "sumpl": {
  26458. "description": "总敞口损益 | 汇总损益",
  26459. "type": "number"
  26460. },
  26461. "totalfutureqty": {
  26462. "description": "期货头寸总量",
  26463. "type": "number"
  26464. },
  26465. "totalneedhedgeqty": {
  26466. "description": "应套保总量",
  26467. "type": "number"
  26468. },
  26469. "totalspotqty": {
  26470. "description": "现货头寸总量",
  26471. "type": "number"
  26472. },
  26473. "updatetime": {
  26474. "description": "更新时间",
  26475. "type": "string"
  26476. }
  26477. }
  26478. },
  26479. "models.Ermcp3Brand": {
  26480. "type": "object",
  26481. "properties": {
  26482. "areauserid": {
  26483. "description": "用户id",
  26484. "type": "integer"
  26485. },
  26486. "brandid": {
  26487. "description": "品牌id",
  26488. "type": "integer"
  26489. },
  26490. "brandname": {
  26491. "description": "品牌名称",
  26492. "type": "string"
  26493. },
  26494. "deliverygoodsid": {
  26495. "description": "品种ID",
  26496. "type": "integer"
  26497. },
  26498. "isvalid": {
  26499. "description": "是否有效",
  26500. "type": "integer"
  26501. }
  26502. }
  26503. },
  26504. "models.Ermcp3Contract": {
  26505. "type": "object",
  26506. "properties": {
  26507. "accountid": {
  26508. "description": "期货账户id",
  26509. "type": "string"
  26510. },
  26511. "amount": {
  26512. "description": "金额 [1:一口价、3:暂定价]",
  26513. "type": "number"
  26514. },
  26515. "attachment": {
  26516. "description": "附件",
  26517. "type": "string"
  26518. },
  26519. "auditremark": {
  26520. "description": "审核意见",
  26521. "type": "string"
  26522. },
  26523. "audittime": {
  26524. "description": "审核时间",
  26525. "type": "string"
  26526. },
  26527. "biztype": {
  26528. "description": "业务类型 1-套保 2-套利",
  26529. "type": "integer"
  26530. },
  26531. "brandname": {
  26532. "description": "品牌名称",
  26533. "type": "string"
  26534. },
  26535. "buynickname": {
  26536. "description": "销售方昵称",
  26537. "type": "string"
  26538. },
  26539. "buyuserid": {
  26540. "description": "采购方ID",
  26541. "type": "integer"
  26542. },
  26543. "buyusername": {
  26544. "description": "采购方名称",
  26545. "type": "string"
  26546. },
  26547. "contracctstatus": {
  26548. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26549. "type": "integer"
  26550. },
  26551. "contractmargin": {
  26552. "description": "合同保证金",
  26553. "type": "number"
  26554. },
  26555. "contractno": {
  26556. "description": "现货合同编号",
  26557. "type": "string"
  26558. },
  26559. "contracttype": {
  26560. "description": "现货合同类型 - 1:采购 -1:销售",
  26561. "type": "integer"
  26562. },
  26563. "convertfactor": {
  26564. "description": "标仓系数(品类)",
  26565. "type": "number"
  26566. },
  26567. "createtime": {
  26568. "description": "创建时间",
  26569. "type": "string"
  26570. },
  26571. "currencyid": {
  26572. "description": "币种id",
  26573. "type": "integer"
  26574. },
  26575. "currencyname": {
  26576. "description": "币种名称",
  26577. "type": "string"
  26578. },
  26579. "deliveryenddate": {
  26580. "description": "交收期(结束)",
  26581. "type": "string"
  26582. },
  26583. "deliverygoodscode": {
  26584. "description": "现货品种代码",
  26585. "type": "string"
  26586. },
  26587. "deliverygoodsid": {
  26588. "description": "现货品种ID",
  26589. "type": "integer"
  26590. },
  26591. "deliverygoodsname": {
  26592. "description": "现货品种名称",
  26593. "type": "string"
  26594. },
  26595. "deliverystartdate": {
  26596. "description": "交收期(开始)",
  26597. "type": "string"
  26598. },
  26599. "enddate": {
  26600. "description": "点价结束日期 [2:点价 3:暂定价]",
  26601. "type": "string"
  26602. },
  26603. "enumdicname": {
  26604. "description": "单位名称",
  26605. "type": "string"
  26606. },
  26607. "goodscode": {
  26608. "description": "点价合约代码",
  26609. "type": "string"
  26610. },
  26611. "goodsid": {
  26612. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  26613. "type": "integer"
  26614. },
  26615. "goodsname": {
  26616. "description": "点价商品名称",
  26617. "type": "string"
  26618. },
  26619. "margin": {
  26620. "description": "当前保证金",
  26621. "type": "number"
  26622. },
  26623. "meruserid": {
  26624. "description": "跟单员id",
  26625. "type": "integer"
  26626. },
  26627. "meruserlogincode": {
  26628. "description": "跟单员登录代码",
  26629. "type": "string"
  26630. },
  26631. "merusername": {
  26632. "description": "跟单员名称",
  26633. "type": "string"
  26634. },
  26635. "pointdesc": {
  26636. "description": "点价备注",
  26637. "type": "string"
  26638. },
  26639. "price": {
  26640. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  26641. "type": "number"
  26642. },
  26643. "pricemove": {
  26644. "description": "升贴水 [2:点价 3:暂定价]",
  26645. "type": "number"
  26646. },
  26647. "pricetype": {
  26648. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26649. "type": "integer"
  26650. },
  26651. "producttype": {
  26652. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26653. "type": "integer"
  26654. },
  26655. "qty": {
  26656. "description": "数量",
  26657. "type": "number"
  26658. },
  26659. "remark": {
  26660. "description": "备注",
  26661. "type": "string"
  26662. },
  26663. "saleuserid": {
  26664. "description": "业务员id",
  26665. "type": "integer"
  26666. },
  26667. "saleuserlogincode": {
  26668. "description": "业务员登录代码",
  26669. "type": "string"
  26670. },
  26671. "saleusername": {
  26672. "description": "业务员名称",
  26673. "type": "string"
  26674. },
  26675. "sellnickname": {
  26676. "description": "采购方昵称",
  26677. "type": "string"
  26678. },
  26679. "selluserid": {
  26680. "description": "销售方ID",
  26681. "type": "integer"
  26682. },
  26683. "sellusername": {
  26684. "description": "销售方名称",
  26685. "type": "string"
  26686. },
  26687. "spotcontractid": {
  26688. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26689. "type": "string"
  26690. },
  26691. "spotgoodsbrandid": {
  26692. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26693. "type": "integer"
  26694. },
  26695. "spotgoodsdesc": {
  26696. "description": "商品型号",
  26697. "type": "string"
  26698. },
  26699. "startdate": {
  26700. "description": "点价开始日期 [2:点价 3:暂定价]",
  26701. "type": "string"
  26702. },
  26703. "subjectid": {
  26704. "description": "交易主体ID",
  26705. "type": "integer"
  26706. },
  26707. "subjectname": {
  26708. "description": "交易主体名称",
  26709. "type": "string"
  26710. },
  26711. "tradeuserid": {
  26712. "description": "交易员id",
  26713. "type": "integer"
  26714. },
  26715. "tradeuserlogincode": {
  26716. "description": "交易员登录代码",
  26717. "type": "string"
  26718. },
  26719. "tradeusername": {
  26720. "description": "交易员名称",
  26721. "type": "string"
  26722. },
  26723. "unitid": {
  26724. "description": "单位id(取品类上的单位id)",
  26725. "type": "integer"
  26726. },
  26727. "updatetime": {
  26728. "description": "更新时间",
  26729. "type": "string"
  26730. },
  26731. "userid": {
  26732. "description": "所属机构ID",
  26733. "type": "integer"
  26734. },
  26735. "vatrate": {
  26736. "description": "增值税率",
  26737. "type": "number"
  26738. },
  26739. "wrstandardcode": {
  26740. "description": "品类代码",
  26741. "type": "string"
  26742. },
  26743. "wrstandardid": {
  26744. "description": "品类ID",
  26745. "type": "integer"
  26746. },
  26747. "wrstandardname": {
  26748. "description": "品类名称",
  26749. "type": "string"
  26750. }
  26751. }
  26752. },
  26753. "models.Ermcp3ContractMiddleGoodsCfg": {
  26754. "type": "object",
  26755. "properties": {
  26756. "agreeunit": {
  26757. "description": "合约乘数",
  26758. "type": "number"
  26759. },
  26760. "convertratio": {
  26761. "description": "期货品种系数",
  26762. "type": "number"
  26763. },
  26764. "covertqty": {
  26765. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  26766. "type": "integer"
  26767. },
  26768. "middlegoodsid": {
  26769. "description": "套保品种ID",
  26770. "type": "integer"
  26771. },
  26772. "middlegoodspricedqty3": {
  26773. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  26774. "type": "string",
  26775. "example": "0"
  26776. },
  26777. "pendingpricedqty": {
  26778. "description": "待点价量",
  26779. "type": "string",
  26780. "example": "0"
  26781. },
  26782. "relatedmiddlegoodsqty": {
  26783. "description": "已关联量(套保品种-期货)",
  26784. "type": "string",
  26785. "example": "0"
  26786. },
  26787. "spotcontractid": {
  26788. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26789. "type": "string"
  26790. }
  26791. }
  26792. },
  26793. "models.Ermcp3ExposureContractDetail": {
  26794. "type": "object",
  26795. "properties": {
  26796. "biztype": {
  26797. "description": "业务类型 1-套保 2-套利",
  26798. "type": "integer"
  26799. },
  26800. "brandname": {
  26801. "description": "品牌名称",
  26802. "type": "string"
  26803. },
  26804. "buyuserid": {
  26805. "description": "采购方id",
  26806. "type": "integer"
  26807. },
  26808. "buyusername": {
  26809. "description": "采购方名称",
  26810. "type": "string"
  26811. },
  26812. "contractno": {
  26813. "description": "合同编号",
  26814. "type": "string"
  26815. },
  26816. "contracttype": {
  26817. "description": "现货合同类型 - 1:采购 -1:销售",
  26818. "type": "integer"
  26819. },
  26820. "convertfactor": {
  26821. "description": "标仓系数",
  26822. "type": "number"
  26823. },
  26824. "convertratio": {
  26825. "description": "折算系数(套保品种)",
  26826. "type": "number"
  26827. },
  26828. "curqty": {
  26829. "description": "今定价量",
  26830. "type": "number"
  26831. },
  26832. "deliverygoodscode": {
  26833. "description": "现货品种代码",
  26834. "type": "string"
  26835. },
  26836. "deliverygoodsid": {
  26837. "description": "现货品种id",
  26838. "type": "integer"
  26839. },
  26840. "deliverygoodsname": {
  26841. "description": "现货品种名称",
  26842. "type": "string"
  26843. },
  26844. "diffhedgeqty": {
  26845. "description": "套保变动量",
  26846. "type": "number"
  26847. },
  26848. "diffneedhedgeqty": {
  26849. "description": "应套保变动量",
  26850. "type": "number"
  26851. },
  26852. "diffqty": {
  26853. "description": "套保品种今变动量",
  26854. "type": "number"
  26855. },
  26856. "enumdicname": {
  26857. "description": "单位名称",
  26858. "type": "string"
  26859. },
  26860. "mgunitname": {
  26861. "description": "套保品种单位名称",
  26862. "type": "string"
  26863. },
  26864. "middlegoodscode": {
  26865. "description": "套保品种代码",
  26866. "type": "string"
  26867. },
  26868. "middlegoodsid": {
  26869. "description": "套保品种id",
  26870. "type": "integer"
  26871. },
  26872. "middlegoodsname": {
  26873. "description": "套保品种名称",
  26874. "type": "string"
  26875. },
  26876. "needarbitrageratio": {
  26877. "description": "应套利比例",
  26878. "type": "number"
  26879. },
  26880. "needhedgeratio": {
  26881. "description": "应套保比例",
  26882. "type": "number"
  26883. },
  26884. "pricedqty": {
  26885. "description": "已定价量",
  26886. "type": "number"
  26887. },
  26888. "qty": {
  26889. "description": "合同量",
  26890. "type": "number"
  26891. },
  26892. "reckondate": {
  26893. "description": "交易日(reckondate)",
  26894. "type": "string"
  26895. },
  26896. "selluserid": {
  26897. "description": "销售方id",
  26898. "type": "integer"
  26899. },
  26900. "sellusername": {
  26901. "description": "销售方名称",
  26902. "type": "string"
  26903. },
  26904. "spotcontractid": {
  26905. "description": "合同id",
  26906. "type": "string"
  26907. },
  26908. "todaypricedqty": {
  26909. "description": "今定价量",
  26910. "type": "number"
  26911. },
  26912. "tradedate": {
  26913. "description": "交易日",
  26914. "type": "string"
  26915. },
  26916. "unitid": {
  26917. "description": "品类单位id",
  26918. "type": "integer"
  26919. },
  26920. "userid": {
  26921. "description": "机构id",
  26922. "type": "integer"
  26923. },
  26924. "username": {
  26925. "description": "交易用户",
  26926. "type": "string"
  26927. },
  26928. "wrstandardcode": {
  26929. "description": "现货商品代码",
  26930. "type": "string"
  26931. },
  26932. "wrstandardid": {
  26933. "description": "现货商品id",
  26934. "type": "integer"
  26935. },
  26936. "wrstandardname": {
  26937. "description": "现货商品名称",
  26938. "type": "string"
  26939. }
  26940. }
  26941. },
  26942. "models.Ermcp3ExposureDetail": {
  26943. "type": "object",
  26944. "properties": {
  26945. "areauserid": {
  26946. "description": "机构ID",
  26947. "type": "integer"
  26948. },
  26949. "changeQty": {
  26950. "description": "套保变动量",
  26951. "type": "number"
  26952. },
  26953. "contracttype": {
  26954. "description": "现货合同类型 - 1:采购 -1:销售",
  26955. "type": "integer"
  26956. },
  26957. "convertfactor": {
  26958. "description": "标仓系数",
  26959. "type": "number"
  26960. },
  26961. "convertratio": {
  26962. "description": "折算系数",
  26963. "type": "number"
  26964. },
  26965. "createtime": {
  26966. "description": "时间",
  26967. "type": "string"
  26968. },
  26969. "enumdicname": {
  26970. "description": "现货商品单位名称",
  26971. "type": "string"
  26972. },
  26973. "logtype": {
  26974. "description": "类型 - 1:套保计划 2:现货合同",
  26975. "type": "integer"
  26976. },
  26977. "mgunitid": {
  26978. "description": "套保品种单位id",
  26979. "type": "integer"
  26980. },
  26981. "mgunitidname": {
  26982. "description": "套保品种单位名称",
  26983. "type": "string"
  26984. },
  26985. "middlegoodsId": {
  26986. "description": "套保商品id",
  26987. "type": "integer"
  26988. },
  26989. "middlegoodscode": {
  26990. "description": "套保商品代码",
  26991. "type": "string"
  26992. },
  26993. "middlegoodsname": {
  26994. "description": "套保商品名称",
  26995. "type": "string"
  26996. },
  26997. "qty": {
  26998. "description": "数量",
  26999. "type": "number"
  27000. },
  27001. "relateNo": {
  27002. "description": "现货合同/套保计划编号",
  27003. "type": "string"
  27004. },
  27005. "unitid": {
  27006. "description": "现货商品单位id",
  27007. "type": "integer"
  27008. },
  27009. "wrstandardcode": {
  27010. "description": "现货商品代码",
  27011. "type": "string"
  27012. },
  27013. "wrstandardid": {
  27014. "description": "现货商品ID(SEQ_WRSTANDARD)",
  27015. "type": "integer"
  27016. },
  27017. "wrstandardname": {
  27018. "description": "现货商品名称",
  27019. "type": "string"
  27020. }
  27021. }
  27022. },
  27023. "models.Ermcp3ExposureFutuDetail": {
  27024. "type": "object",
  27025. "properties": {
  27026. "accountid": {
  27027. "description": "交易账户id",
  27028. "type": "integer"
  27029. },
  27030. "accountname": {
  27031. "description": "交易账户",
  27032. "type": "string"
  27033. },
  27034. "begindate": {
  27035. "description": "开始交易日",
  27036. "type": "string"
  27037. },
  27038. "buyorsell": {
  27039. "description": "方向 0-买 1-卖",
  27040. "type": "integer"
  27041. },
  27042. "diffmgqty": {
  27043. "description": "套保品种今变化量",
  27044. "type": "number"
  27045. },
  27046. "diffneedqty": {
  27047. "description": "应套保总量变化量",
  27048. "type": "number"
  27049. },
  27050. "difftradeqty": {
  27051. "description": "交易品种今变化量",
  27052. "type": "number"
  27053. },
  27054. "enddate": {
  27055. "description": "结束交易日",
  27056. "type": "string"
  27057. },
  27058. "enumdicname": {
  27059. "description": "单位名称",
  27060. "type": "string"
  27061. },
  27062. "goodscode": {
  27063. "description": "商品代码",
  27064. "type": "string"
  27065. },
  27066. "goodsid": {
  27067. "description": "商品id",
  27068. "type": "integer"
  27069. },
  27070. "goodsname": {
  27071. "description": "商品名称",
  27072. "type": "string"
  27073. },
  27074. "holdqty": {
  27075. "description": "期末持仓量",
  27076. "type": "number"
  27077. },
  27078. "middlegoodscode": {
  27079. "description": "套保商品代码",
  27080. "type": "string"
  27081. },
  27082. "middlegoodsid": {
  27083. "description": "套保商品id",
  27084. "type": "integer"
  27085. },
  27086. "middlegoodsname": {
  27087. "description": "套保商品名称",
  27088. "type": "string"
  27089. },
  27090. "oriholdqty": {
  27091. "description": "期初持仓量",
  27092. "type": "number"
  27093. },
  27094. "reckondate": {
  27095. "description": "交易日(RECKONDATE)",
  27096. "type": "string"
  27097. },
  27098. "todaycloseqty": {
  27099. "description": "今平仓量",
  27100. "type": "number"
  27101. },
  27102. "todayopenqty": {
  27103. "description": "今开仓量",
  27104. "type": "number"
  27105. },
  27106. "tradedate": {
  27107. "description": "交易日(RECKONDATE)",
  27108. "type": "string"
  27109. },
  27110. "username": {
  27111. "description": "用户名称(交易用户)",
  27112. "type": "string"
  27113. }
  27114. }
  27115. },
  27116. "models.Ermcp3ExposureHedgeplanDetail": {
  27117. "type": "object",
  27118. "properties": {
  27119. "biztype": {
  27120. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  27121. "type": "integer"
  27122. },
  27123. "changqty": {
  27124. "description": "应套保总量变化量",
  27125. "type": "number"
  27126. },
  27127. "contracttype": {
  27128. "description": "计划类型 - 1:采购 -1:销售",
  27129. "type": "integer"
  27130. },
  27131. "convertratio": {
  27132. "description": "折算系数(套保品种)",
  27133. "type": "number"
  27134. },
  27135. "deliverygoodscode": {
  27136. "description": "现货商品代码",
  27137. "type": "string"
  27138. },
  27139. "deliverygoodsid": {
  27140. "description": "现货商品id",
  27141. "type": "integer"
  27142. },
  27143. "deliverygoodsname": {
  27144. "description": "现货商吕名称",
  27145. "type": "string"
  27146. },
  27147. "dgunitid": {
  27148. "description": "现货商品单位id",
  27149. "type": "integer"
  27150. },
  27151. "dgunitidname": {
  27152. "description": "单位名称(现货商品)",
  27153. "type": "string"
  27154. },
  27155. "diffqty": {
  27156. "description": "套保品种今变动量",
  27157. "type": "number"
  27158. },
  27159. "enumdicname": {
  27160. "description": "单位名称(品类)",
  27161. "type": "string"
  27162. },
  27163. "hedgeplanid": {
  27164. "description": "套保计划id",
  27165. "type": "string"
  27166. },
  27167. "hedgeplanno": {
  27168. "description": "套保计划名称",
  27169. "type": "string"
  27170. },
  27171. "hedgeplanstatus": {
  27172. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27173. "type": "integer"
  27174. },
  27175. "mgunitidname": {
  27176. "description": "单位名称(套保商品)",
  27177. "type": "string"
  27178. },
  27179. "middlegoodscode": {
  27180. "description": "套保品种代码",
  27181. "type": "string"
  27182. },
  27183. "middlegoodsid": {
  27184. "description": "套保品种id",
  27185. "type": "integer"
  27186. },
  27187. "middlegoodsname": {
  27188. "description": "套保品种名称",
  27189. "type": "string"
  27190. },
  27191. "needarbitrageratio": {
  27192. "description": "应套利比例",
  27193. "type": "number"
  27194. },
  27195. "needhedgeratio": {
  27196. "description": "应套保比例",
  27197. "type": "number"
  27198. },
  27199. "pricedqty": {
  27200. "description": "已定价量",
  27201. "type": "number"
  27202. },
  27203. "qty": {
  27204. "description": "合同量",
  27205. "type": "number"
  27206. },
  27207. "reckondate": {
  27208. "description": "交易日(reckondate)",
  27209. "type": "string"
  27210. },
  27211. "tradedate": {
  27212. "description": "交易日(登记日)",
  27213. "type": "string"
  27214. },
  27215. "unitid": {
  27216. "description": "品类单位id",
  27217. "type": "integer"
  27218. },
  27219. "userid": {
  27220. "description": "机构id",
  27221. "type": "integer"
  27222. },
  27223. "wrstandardcode": {
  27224. "description": "品类代码",
  27225. "type": "string"
  27226. },
  27227. "wrstandardid": {
  27228. "description": "品类id",
  27229. "type": "integer"
  27230. },
  27231. "wrstandardname": {
  27232. "description": "品类名称",
  27233. "type": "string"
  27234. }
  27235. }
  27236. },
  27237. "models.Ermcp3ExposureParamChLog": {
  27238. "type": "object",
  27239. "properties": {
  27240. "accountid": {
  27241. "description": "期货账户ID (作废, 默认为0)",
  27242. "type": "integer"
  27243. },
  27244. "aftervalue": {
  27245. "description": "应套保\\套利量变更后(调整后应套保总量)",
  27246. "type": "number"
  27247. },
  27248. "areauserid": {
  27249. "description": "所属机构\\交易用户ID",
  27250. "type": "integer"
  27251. },
  27252. "beforevalue": {
  27253. "description": "应套保\\套利量变更前(调整前应套保总量)",
  27254. "type": "number"
  27255. },
  27256. "begindate": {
  27257. "description": "开始交易日",
  27258. "type": "string"
  27259. },
  27260. "changelogtype": {
  27261. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  27262. "type": "integer"
  27263. },
  27264. "curvalue": {
  27265. "description": "当前套保\\套利量(套保总量|套利总量)",
  27266. "type": "number"
  27267. },
  27268. "diffvalue": {
  27269. "description": "应套保总量变化量",
  27270. "type": "number"
  27271. },
  27272. "enddate": {
  27273. "description": "结束交易日",
  27274. "type": "string"
  27275. },
  27276. "logdatetime": {
  27277. "description": "流水日期",
  27278. "type": "string"
  27279. },
  27280. "logid": {
  27281. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  27282. "type": "string"
  27283. },
  27284. "middlegoodscode": {
  27285. "description": "套保品种代码",
  27286. "type": "string"
  27287. },
  27288. "middlegoodsid": {
  27289. "description": "套保品种",
  27290. "type": "integer"
  27291. },
  27292. "middlegoodsname": {
  27293. "description": "套保品种名称",
  27294. "type": "string"
  27295. },
  27296. "paramaftervalue": {
  27297. "description": "参数变更后(调整后参数值)",
  27298. "type": "number"
  27299. },
  27300. "parambeforevalue": {
  27301. "description": "参数变更前(调整前参数值)",
  27302. "type": "number"
  27303. },
  27304. "reckondate": {
  27305. "description": "交易日(reckondate)",
  27306. "type": "string"
  27307. },
  27308. "tradedate": {
  27309. "description": "交易日(yyyyMMdd)",
  27310. "type": "string"
  27311. }
  27312. }
  27313. },
  27314. "models.Ermcp3ExpourseReport": {
  27315. "type": "object",
  27316. "properties": {
  27317. "accountid": {
  27318. "description": "期货账户ID (作废, 默认为0)",
  27319. "type": "integer"
  27320. },
  27321. "accountname": {
  27322. "description": "机构名称",
  27323. "type": "string"
  27324. },
  27325. "arbitrageqty": {
  27326. "description": "套利量",
  27327. "type": "number"
  27328. },
  27329. "areauserid": {
  27330. "description": "所属机构\\交易用户ID",
  27331. "type": "integer"
  27332. },
  27333. "begindate": {
  27334. "description": "开始交易日",
  27335. "type": "string"
  27336. },
  27337. "buyfutureqty": {
  27338. "description": "买入期货数量",
  27339. "type": "number"
  27340. },
  27341. "buyplanqty": {
  27342. "description": "采购计划数量",
  27343. "type": "number"
  27344. },
  27345. "buypricedqty": {
  27346. "description": "采购合同已定价数量",
  27347. "type": "number"
  27348. },
  27349. "cycletime": {
  27350. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27351. "type": "string"
  27352. },
  27353. "cycletype": {
  27354. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27355. "type": "integer"
  27356. },
  27357. "diffexposure": {
  27358. "description": "变动量(套保敞口)",
  27359. "type": "number"
  27360. },
  27361. "difffutuqty": {
  27362. "description": "变动量(期货)",
  27363. "type": "number"
  27364. },
  27365. "diffhedgeqty": {
  27366. "description": "变动量(现货应套保总量)",
  27367. "type": "number"
  27368. },
  27369. "diffmgqtya": {
  27370. "description": "套保变动量",
  27371. "type": "number"
  27372. },
  27373. "diffmgqtyb": {
  27374. "description": "套利变动量",
  27375. "type": "number"
  27376. },
  27377. "diffneedqty": {
  27378. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  27379. "type": "number"
  27380. },
  27381. "diffqty": {
  27382. "description": "变动量(总敞口)",
  27383. "type": "number"
  27384. },
  27385. "diffspotqty": {
  27386. "description": "变动量(现货) | 除税变动量",
  27387. "type": "number"
  27388. },
  27389. "enddate": {
  27390. "description": "结束交易日",
  27391. "type": "string"
  27392. },
  27393. "enumdicname": {
  27394. "description": "单位名称",
  27395. "type": "string"
  27396. },
  27397. "hedgeqty": {
  27398. "description": "套保量",
  27399. "type": "number"
  27400. },
  27401. "mgneedhedgeratio": {
  27402. "description": "套保比例(套保品的)",
  27403. "type": "number"
  27404. },
  27405. "middlegoodsid": {
  27406. "description": "套保品种ID",
  27407. "type": "integer"
  27408. },
  27409. "middlegoodsname": {
  27410. "description": "套保商品名称",
  27411. "type": "string"
  27412. },
  27413. "middlgoodscode": {
  27414. "description": "套保商品代码",
  27415. "type": "string"
  27416. },
  27417. "needarbitrageqty": {
  27418. "description": "应套利量",
  27419. "type": "number"
  27420. },
  27421. "needarbitrageratio": {
  27422. "description": "套利比例(套保品的)",
  27423. "type": "number"
  27424. },
  27425. "needhedgeexposoure": {
  27426. "description": "应套保敞口(套保敞口)",
  27427. "type": "number"
  27428. },
  27429. "needhedgeqty": {
  27430. "description": "应套保量",
  27431. "type": "number"
  27432. },
  27433. "needhedgeratio": {
  27434. "description": "应套保敞口比例",
  27435. "type": "number"
  27436. },
  27437. "needqty": {
  27438. "description": "应套总量 = 应套保量 + 应套利量",
  27439. "type": "number"
  27440. },
  27441. "oriarbitrageqty": {
  27442. "description": "期初套利量",
  27443. "type": "number"
  27444. },
  27445. "oribuyfutureqty": {
  27446. "description": "期初买入期货数量",
  27447. "type": "number"
  27448. },
  27449. "oribuyplanqty": {
  27450. "description": "期初采购计划数量",
  27451. "type": "number"
  27452. },
  27453. "oribuypricedqty": {
  27454. "description": "期初采购合同已定价数量",
  27455. "type": "number"
  27456. },
  27457. "orihedgeqty": {
  27458. "description": "期初套保量",
  27459. "type": "number"
  27460. },
  27461. "orineedarbitrageqty": {
  27462. "description": "期初应套利量",
  27463. "type": "number"
  27464. },
  27465. "orineedhedgeexposoure": {
  27466. "description": "期初应套保敞口",
  27467. "type": "number"
  27468. },
  27469. "orineedhedgeqty": {
  27470. "description": "期初应套保量",
  27471. "type": "number"
  27472. },
  27473. "orisellfutureqty": {
  27474. "description": "期初卖出期货数量",
  27475. "type": "number"
  27476. },
  27477. "orisellplanqty": {
  27478. "description": "期初销售计划数量",
  27479. "type": "number"
  27480. },
  27481. "orisellpricedqty": {
  27482. "description": "期初销售合同已定价数量",
  27483. "type": "number"
  27484. },
  27485. "oritotalexposure": {
  27486. "description": "期初实时总敞口",
  27487. "type": "number"
  27488. },
  27489. "oritotalfutureqty": {
  27490. "description": "期初期货头寸总量",
  27491. "type": "number"
  27492. },
  27493. "oritotalneedhedgeqty": {
  27494. "description": "期初应套保总量",
  27495. "type": "number"
  27496. },
  27497. "oritotalspotqty": {
  27498. "description": "期初现货头寸总量",
  27499. "type": "number"
  27500. },
  27501. "reckondate": {
  27502. "description": "日照时期(yyyyMMdd)",
  27503. "type": "string"
  27504. },
  27505. "sellfutureqty": {
  27506. "description": "卖出期货数量",
  27507. "type": "number"
  27508. },
  27509. "sellplanqty": {
  27510. "description": "销售计划数量",
  27511. "type": "number"
  27512. },
  27513. "sellpricedqty": {
  27514. "description": "销售合同已定价数量",
  27515. "type": "number"
  27516. },
  27517. "totalexposure": {
  27518. "description": "实时总敞口(总敞口)",
  27519. "type": "number"
  27520. },
  27521. "totalfutureqty": {
  27522. "description": "期货头寸总量(期货总量)",
  27523. "type": "number"
  27524. },
  27525. "totalhedgeratio": {
  27526. "description": "敞口比例",
  27527. "type": "number"
  27528. },
  27529. "totalneedhedgeqty": {
  27530. "description": "应套保总量(现货应套保总量)",
  27531. "type": "number"
  27532. },
  27533. "totalspotqty": {
  27534. "description": "现货头寸总量 | 除税总量",
  27535. "type": "number"
  27536. },
  27537. "unitid": {
  27538. "description": "单位id",
  27539. "type": "integer"
  27540. },
  27541. "updatetime": {
  27542. "description": "更新时间",
  27543. "type": "string"
  27544. }
  27545. }
  27546. },
  27547. "models.Ermcp3FinanceReport": {
  27548. "type": "object",
  27549. "properties": {
  27550. "accountname": {
  27551. "description": "机构名称",
  27552. "type": "string"
  27553. },
  27554. "areauserid": {
  27555. "description": "所属机构\\交易用户ID",
  27556. "type": "integer"
  27557. },
  27558. "begindate": {
  27559. "description": "开始交易日",
  27560. "type": "string"
  27561. },
  27562. "biztype": {
  27563. "description": "业务类型 - 1:套保 2:套利",
  27564. "type": "integer"
  27565. },
  27566. "brandname": {
  27567. "description": "品牌名称",
  27568. "type": "string"
  27569. },
  27570. "buypreinvoicedamount": {
  27571. "description": "采购预收票额(预收票额)",
  27572. "type": "number"
  27573. },
  27574. "buyprepaidamount": {
  27575. "description": "采购预付款额(预付货款额)",
  27576. "type": "number"
  27577. },
  27578. "buytodayinvoiceamount": {
  27579. "description": "采购今收票额(今收票额)",
  27580. "type": "number"
  27581. },
  27582. "buytodayrefundamount": {
  27583. "description": "采购今收退款额(今收退款额)",
  27584. "type": "number"
  27585. },
  27586. "buytodaysettleamount": {
  27587. "description": "采购今付款额(今付货款额)",
  27588. "type": "number"
  27589. },
  27590. "buyuninvoicedamount": {
  27591. "description": "采购应收票额(应收票额)",
  27592. "type": "number"
  27593. },
  27594. "buyunpaidamount": {
  27595. "description": "采购应付款额(应付货款额)",
  27596. "type": "number"
  27597. },
  27598. "currencyid": {
  27599. "description": "结算币种ID",
  27600. "type": "integer"
  27601. },
  27602. "currencyname": {
  27603. "description": "币种名称",
  27604. "type": "string"
  27605. },
  27606. "cycletime": {
  27607. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27608. "type": "string"
  27609. },
  27610. "cycletype": {
  27611. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27612. "type": "integer"
  27613. },
  27614. "deliverygoodscode": {
  27615. "description": "现货品种代码",
  27616. "type": "string"
  27617. },
  27618. "deliverygoodsid": {
  27619. "description": "现货品种ID",
  27620. "type": "integer"
  27621. },
  27622. "deliverygoodsname": {
  27623. "description": "现货品种名称",
  27624. "type": "string"
  27625. },
  27626. "enddate": {
  27627. "description": "结束交易日",
  27628. "type": "string"
  27629. },
  27630. "reckondate": {
  27631. "description": "日照时期(yyyyMMdd)",
  27632. "type": "string"
  27633. },
  27634. "sellpreinvoicedamount": {
  27635. "description": "销售预开票额(预开票额)",
  27636. "type": "number"
  27637. },
  27638. "sellprepaidamount": {
  27639. "description": "销售预收款额(预收货款额)",
  27640. "type": "number"
  27641. },
  27642. "selltodayinvoiceamount": {
  27643. "description": "销售今开票额(今开票额)",
  27644. "type": "number"
  27645. },
  27646. "selltodayrefundamount": {
  27647. "description": "销售今付退款额(今付退款额)",
  27648. "type": "number"
  27649. },
  27650. "selltodaysettleamount": {
  27651. "description": "销售今收款额(今收货款额)",
  27652. "type": "number"
  27653. },
  27654. "selluninvoicedamount": {
  27655. "description": "销售应开票额(应开票额)",
  27656. "type": "number"
  27657. },
  27658. "sellunpaidamount": {
  27659. "description": "销售应收款额(应收货款额)",
  27660. "type": "number"
  27661. },
  27662. "spotgoodsbrandid": {
  27663. "description": "现货品牌ID",
  27664. "type": "integer"
  27665. },
  27666. "todaypaysum": {
  27667. "description": "今付款合计",
  27668. "type": "number"
  27669. },
  27670. "todayreceivesum": {
  27671. "description": "今收款合计",
  27672. "type": "number"
  27673. },
  27674. "updatetime": {
  27675. "description": "更新时间",
  27676. "type": "string"
  27677. },
  27678. "wrfactortypeid": {
  27679. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  27680. "type": "integer"
  27681. },
  27682. "wrstandardcode": {
  27683. "description": "品类代码",
  27684. "type": "string"
  27685. },
  27686. "wrstandardid": {
  27687. "description": "现货商品ID",
  27688. "type": "integer"
  27689. },
  27690. "wrstandardname": {
  27691. "description": "品类名称",
  27692. "type": "string"
  27693. }
  27694. }
  27695. },
  27696. "models.Ermcp3GoodsGroup": {
  27697. "type": "object",
  27698. "required": [
  27699. "areauserid"
  27700. ],
  27701. "properties": {
  27702. "agreeunit": {
  27703. "description": "合约单位",
  27704. "type": "number"
  27705. },
  27706. "areauserid": {
  27707. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  27708. "type": "integer"
  27709. },
  27710. "canshort": {
  27711. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  27712. "type": "integer"
  27713. },
  27714. "closepricemode": {
  27715. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27716. "type": "integer"
  27717. },
  27718. "createtime": {
  27719. "description": "创建时间",
  27720. "type": "string"
  27721. },
  27722. "creatorid": {
  27723. "description": "创建人",
  27724. "type": "integer"
  27725. },
  27726. "currencyid": {
  27727. "description": "报价货币ID",
  27728. "type": "integer"
  27729. },
  27730. "decimalplace": {
  27731. "description": "报价小数位",
  27732. "type": "integer"
  27733. },
  27734. "enumdicname": {
  27735. "description": "单位名称",
  27736. "type": "string"
  27737. },
  27738. "exchangefullname": {
  27739. "description": "交易所全称",
  27740. "type": "string"
  27741. },
  27742. "excludecfg": {
  27743. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  27744. "type": "integer"
  27745. },
  27746. "exexchangecode": {
  27747. "description": "交易所代码",
  27748. "type": "string"
  27749. },
  27750. "exexchangeid": {
  27751. "description": "外部交易所ID[通道交易]",
  27752. "type": "integer"
  27753. },
  27754. "exexchangename": {
  27755. "description": "交易所名称",
  27756. "type": "string"
  27757. },
  27758. "goodsgroupid": {
  27759. "description": "商品组ID(自增ID)",
  27760. "type": "integer"
  27761. },
  27762. "goodsgroupname": {
  27763. "description": "商品组名称",
  27764. "type": "string"
  27765. },
  27766. "goodsgroupstatus": {
  27767. "description": "商品组状态 - 1:正常 2:注销",
  27768. "type": "integer"
  27769. },
  27770. "goodunitid": {
  27771. "description": "报价单位ID",
  27772. "type": "integer"
  27773. },
  27774. "groupcategroyid": {
  27775. "description": "品种分类ID",
  27776. "type": "integer"
  27777. },
  27778. "innerdealmode": {
  27779. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27780. "type": "integer"
  27781. },
  27782. "marketid": {
  27783. "description": "所属市场ID",
  27784. "type": "integer"
  27785. },
  27786. "modifierid": {
  27787. "description": "修改人",
  27788. "type": "integer"
  27789. },
  27790. "modifytime": {
  27791. "description": "修改时间",
  27792. "type": "string"
  27793. },
  27794. "outerdealmode": {
  27795. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27796. "type": "integer"
  27797. },
  27798. "outergroupcode": {
  27799. "description": "外部商品组代码[通道交易]",
  27800. "type": "string"
  27801. },
  27802. "quoteminunit": {
  27803. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27804. "type": "integer"
  27805. },
  27806. "quotesourcegroupid": {
  27807. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  27808. "type": "integer"
  27809. },
  27810. "syncgoodsqty": {
  27811. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  27812. "type": "integer"
  27813. }
  27814. }
  27815. },
  27816. "models.Ermcp3HPMiddleGoods": {
  27817. "type": "object",
  27818. "properties": {
  27819. "biztype": {
  27820. "description": "业务类型 1:套保 2:套利",
  27821. "type": "integer"
  27822. },
  27823. "contracttype": {
  27824. "description": "合同类型 1:采购 -1:销售",
  27825. "type": "integer"
  27826. },
  27827. "convertratio": {
  27828. "description": "折算系数",
  27829. "type": "number"
  27830. },
  27831. "customername": {
  27832. "description": "对手手名称",
  27833. "type": "string"
  27834. },
  27835. "customeruserid": {
  27836. "description": "对手id",
  27837. "type": "integer"
  27838. },
  27839. "enumdicname": {
  27840. "description": "现货单位名称",
  27841. "type": "string"
  27842. },
  27843. "hedgeplanid": {
  27844. "description": "计划id",
  27845. "type": "string"
  27846. },
  27847. "hedgeplanno": {
  27848. "description": "计划编号",
  27849. "type": "string"
  27850. },
  27851. "middlegoodsid": {
  27852. "description": "套保品种ID",
  27853. "type": "integer"
  27854. },
  27855. "middlegoodsplanqty3": {
  27856. "description": "应套保计划量",
  27857. "type": "number"
  27858. },
  27859. "needhedgeratio": {
  27860. "description": "套保比例",
  27861. "type": "number"
  27862. },
  27863. "pricedqty": {
  27864. "description": "已定价量",
  27865. "type": "number"
  27866. },
  27867. "relatedmiddlegoodsqty": {
  27868. "description": "已关联量(套保品种)(期货)",
  27869. "type": "number"
  27870. },
  27871. "unitid": {
  27872. "description": "现货单位id",
  27873. "type": "integer"
  27874. },
  27875. "userid": {
  27876. "description": "用户id",
  27877. "type": "integer"
  27878. },
  27879. "vatrate": {
  27880. "description": "增值税率",
  27881. "type": "number"
  27882. },
  27883. "wrstandardcode": {
  27884. "description": "现货商品代码",
  27885. "type": "string"
  27886. },
  27887. "wrstandardid": {
  27888. "description": "现货商品id",
  27889. "type": "integer"
  27890. },
  27891. "wrstandardname": {
  27892. "description": "现货商品名称",
  27893. "type": "string"
  27894. }
  27895. }
  27896. },
  27897. "models.Ermcp3HedgePlan": {
  27898. "type": "object",
  27899. "properties": {
  27900. "accountid": {
  27901. "description": "资金账号",
  27902. "type": "integer"
  27903. },
  27904. "areauserid": {
  27905. "description": "用户ID",
  27906. "type": "integer"
  27907. },
  27908. "auditid": {
  27909. "description": "审核id",
  27910. "type": "integer"
  27911. },
  27912. "auditname": {
  27913. "description": "审核人名称",
  27914. "type": "string"
  27915. },
  27916. "auditremark": {
  27917. "description": "审核备注",
  27918. "type": "string"
  27919. },
  27920. "auditsrc": {
  27921. "description": "审核来源 1-管理端 2-终端",
  27922. "type": "integer"
  27923. },
  27924. "audittime": {
  27925. "description": "审核时间",
  27926. "type": "string"
  27927. },
  27928. "contracttype": {
  27929. "description": "计划类型 - 1:采购 -1:销售",
  27930. "type": "integer"
  27931. },
  27932. "convertfactor": {
  27933. "description": "标仓系数",
  27934. "type": "number"
  27935. },
  27936. "createtime": {
  27937. "description": "创建时间",
  27938. "type": "string"
  27939. },
  27940. "currencyid": {
  27941. "description": "币种id",
  27942. "type": "integer"
  27943. },
  27944. "currencyname": {
  27945. "description": "币种名称",
  27946. "type": "string"
  27947. },
  27948. "deliverygoodscode": {
  27949. "description": "现货品种代码",
  27950. "type": "string"
  27951. },
  27952. "deliverygoodsid": {
  27953. "description": "现货品种ID",
  27954. "type": "integer"
  27955. },
  27956. "deliverygoodsname": {
  27957. "description": "现货品种名称",
  27958. "type": "string"
  27959. },
  27960. "enumdicname": {
  27961. "description": "单位名称(现货商品)",
  27962. "type": "string"
  27963. },
  27964. "hedgeplanid": {
  27965. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  27966. "type": "string"
  27967. },
  27968. "hedgeplanno": {
  27969. "description": "套保计划编号(名称)",
  27970. "type": "string"
  27971. },
  27972. "hedgeplanstatus": {
  27973. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27974. "type": "integer"
  27975. },
  27976. "planqty": {
  27977. "description": "计划数量",
  27978. "type": "number"
  27979. },
  27980. "plantime": {
  27981. "description": "计划时间",
  27982. "type": "string"
  27983. },
  27984. "producttype": {
  27985. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27986. "type": "integer"
  27987. },
  27988. "remark": {
  27989. "description": "备注",
  27990. "type": "string"
  27991. },
  27992. "spotgoodsdesc": {
  27993. "description": "商品型号",
  27994. "type": "string"
  27995. },
  27996. "taaccountname": {
  27997. "description": "资金账号名称",
  27998. "type": "string"
  27999. },
  28000. "tradeuserid": {
  28001. "description": "交易用户id",
  28002. "type": "integer"
  28003. },
  28004. "tradeusername": {
  28005. "description": "交易用户名称",
  28006. "type": "string"
  28007. },
  28008. "unitid": {
  28009. "description": "单位id(现货商品)",
  28010. "type": "integer"
  28011. },
  28012. "updatetime": {
  28013. "description": "更新时间",
  28014. "type": "string"
  28015. },
  28016. "vatrate": {
  28017. "description": "增值税率",
  28018. "type": "number"
  28019. },
  28020. "wrstandardcode": {
  28021. "description": "品类代码",
  28022. "type": "string"
  28023. },
  28024. "wrstandardid": {
  28025. "description": "品类id",
  28026. "type": "integer"
  28027. },
  28028. "wrstandardname": {
  28029. "description": "品类名称",
  28030. "type": "string"
  28031. },
  28032. "wrunitid": {
  28033. "description": "品类单位id",
  28034. "type": "integer"
  28035. },
  28036. "wrunitidame": {
  28037. "description": "品类单位名称",
  28038. "type": "string"
  28039. }
  28040. }
  28041. },
  28042. "models.Ermcp3InnerTradeLink": {
  28043. "type": "object",
  28044. "properties": {
  28045. "accountid": {
  28046. "description": "期货账号代码 | 资金账号ID",
  28047. "type": "integer"
  28048. },
  28049. "buyorsell": {
  28050. "description": "方向 - 0:买 1:卖",
  28051. "type": "integer"
  28052. },
  28053. "channelbuildtype": {
  28054. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28055. "type": "integer"
  28056. },
  28057. "currencyid": {
  28058. "description": "币种id",
  28059. "type": "integer"
  28060. },
  28061. "currencyname": {
  28062. "description": "结算币种 名称",
  28063. "type": "string"
  28064. },
  28065. "goodscode": {
  28066. "description": "商品代码",
  28067. "type": "string"
  28068. },
  28069. "goodsid": {
  28070. "description": "商品ID",
  28071. "type": "integer"
  28072. },
  28073. "goodsname": {
  28074. "description": "商品名称",
  28075. "type": "string"
  28076. },
  28077. "outtradeid": {
  28078. "description": "外部成交单号",
  28079. "type": "string"
  28080. },
  28081. "taname": {
  28082. "description": "期货账户名称",
  28083. "type": "string"
  28084. },
  28085. "tradeid": {
  28086. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28087. "type": "string"
  28088. },
  28089. "tradeprice": {
  28090. "description": "成交价格",
  28091. "type": "number"
  28092. },
  28093. "tradeqty": {
  28094. "description": "期货成交数量",
  28095. "type": "integer"
  28096. },
  28097. "tradetime": {
  28098. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  28099. "type": "string"
  28100. },
  28101. "username": {
  28102. "description": "用户名称",
  28103. "type": "string"
  28104. }
  28105. }
  28106. },
  28107. "models.Ermcp3OutTradeLink": {
  28108. "type": "object",
  28109. "properties": {
  28110. "buyorsell": {
  28111. "description": "买卖方向 - 0:买 1:卖",
  28112. "type": "integer"
  28113. },
  28114. "channelbuildtype": {
  28115. "description": "开平标志- 0:无 1:建仓 2:平仓",
  28116. "type": "integer"
  28117. },
  28118. "currencyname": {
  28119. "description": "币种名称",
  28120. "type": "string"
  28121. },
  28122. "exexchangecode": {
  28123. "description": "交易所代码",
  28124. "type": "string"
  28125. },
  28126. "exexchangename": {
  28127. "description": "交易所名称",
  28128. "type": "string"
  28129. },
  28130. "goodscode": {
  28131. "description": "合约代码",
  28132. "type": "string"
  28133. },
  28134. "goodsid": {
  28135. "description": "合约id",
  28136. "type": "integer"
  28137. },
  28138. "goodsname": {
  28139. "description": "合约名称",
  28140. "type": "string"
  28141. },
  28142. "hasinnerorder": {
  28143. "description": "是否有内部单关联 - 0:无 1:有",
  28144. "type": "integer"
  28145. },
  28146. "hedgeaccountcode": {
  28147. "description": "外部账号 | 对冲账号",
  28148. "type": "string"
  28149. },
  28150. "outtradeid": {
  28151. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28152. "type": "string"
  28153. },
  28154. "tradeprice": {
  28155. "description": "成交价格",
  28156. "type": "number"
  28157. },
  28158. "tradeqty": {
  28159. "description": "成交数量",
  28160. "type": "integer"
  28161. },
  28162. "tradetime": {
  28163. "description": "成交时间",
  28164. "type": "string"
  28165. }
  28166. }
  28167. },
  28168. "models.Ermcp3PaAreaAuditCfg": {
  28169. "type": "object",
  28170. "properties": {
  28171. "areauserid": {
  28172. "description": "用户ID",
  28173. "type": "integer"
  28174. },
  28175. "buyinauditflag": {
  28176. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  28177. "type": "integer"
  28178. },
  28179. "costratioauditflag": {
  28180. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  28181. "type": "integer"
  28182. },
  28183. "customerauditflag": {
  28184. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  28185. "type": "integer"
  28186. },
  28187. "deliveryauditflag": {
  28188. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  28189. "type": "integer"
  28190. },
  28191. "invoiceauditflag": {
  28192. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  28193. "type": "integer"
  28194. },
  28195. "mgneedhedgeratioauditflag": {
  28196. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  28197. "type": "integer"
  28198. },
  28199. "moneyauditflag": {
  28200. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  28201. "type": "integer"
  28202. },
  28203. "operatorid": {
  28204. "description": "操作人",
  28205. "type": "integer"
  28206. },
  28207. "operatorsrc": {
  28208. "description": "操作来源 - 1:管理端 2:终端",
  28209. "type": "integer"
  28210. },
  28211. "pointpriceauditflag": {
  28212. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  28213. "type": "integer"
  28214. },
  28215. "produceinauditflag": {
  28216. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  28217. "type": "integer"
  28218. },
  28219. "produceoutauditflag": {
  28220. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  28221. "type": "integer"
  28222. },
  28223. "selloutauditflag": {
  28224. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  28225. "type": "integer"
  28226. },
  28227. "sgconvertratioauditflag": {
  28228. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  28229. "type": "integer"
  28230. },
  28231. "sgvtaratioauditflag": {
  28232. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  28233. "type": "integer"
  28234. },
  28235. "spotcontractauditflag": {
  28236. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  28237. "type": "integer"
  28238. },
  28239. "updatetime": {
  28240. "description": "更新时间",
  28241. "type": "string"
  28242. }
  28243. }
  28244. },
  28245. "models.Ermcp3PaAreaSubject": {
  28246. "type": "object",
  28247. "properties": {
  28248. "areauserid": {
  28249. "description": "所属机构",
  28250. "type": "integer"
  28251. },
  28252. "canmodify": {
  28253. "description": "是否可修改 - 0:否 1:是",
  28254. "type": "integer"
  28255. },
  28256. "createtime": {
  28257. "description": "创建时间",
  28258. "type": "string"
  28259. },
  28260. "creatorid": {
  28261. "description": "创建人ID",
  28262. "type": "string"
  28263. },
  28264. "creatorsrc": {
  28265. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28266. "type": "integer"
  28267. },
  28268. "modifierid": {
  28269. "description": "修改人",
  28270. "type": "string"
  28271. },
  28272. "modifiersrc": {
  28273. "description": "修改人来源 - 1:管理端 2:终端",
  28274. "type": "integer"
  28275. },
  28276. "modifytime": {
  28277. "description": "修改时间",
  28278. "type": "string"
  28279. },
  28280. "parentsubjectid": {
  28281. "description": "上级主体ID",
  28282. "type": "string"
  28283. },
  28284. "remark": {
  28285. "description": "备注",
  28286. "type": "string"
  28287. },
  28288. "subjectid": {
  28289. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  28290. "type": "integer"
  28291. },
  28292. "subjectname": {
  28293. "description": "主体名称",
  28294. "type": "string"
  28295. },
  28296. "subjectstatus": {
  28297. "description": "主体状态 - 1:正常 2: 停用",
  28298. "type": "integer"
  28299. },
  28300. "subjecttype": {
  28301. "description": "主体类型 - 1:交易主体 2:业务部门",
  28302. "type": "integer"
  28303. }
  28304. }
  28305. },
  28306. "models.Ermcp3PaTradeLink": {
  28307. "type": "object",
  28308. "properties": {
  28309. "accountid": {
  28310. "description": "期货账户代码 | 账号ID",
  28311. "type": "integer"
  28312. },
  28313. "agreeunit": {
  28314. "description": "合约乘数",
  28315. "type": "number"
  28316. },
  28317. "buyorsell": {
  28318. "description": "方向 - 0:买 1:卖",
  28319. "type": "integer"
  28320. },
  28321. "channelbuildtype": {
  28322. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28323. "type": "integer"
  28324. },
  28325. "charge": {
  28326. "description": "手续费",
  28327. "type": "number"
  28328. },
  28329. "closepl": {
  28330. "description": "平仓盈亏",
  28331. "type": "number"
  28332. },
  28333. "closetype": {
  28334. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28335. "type": "integer"
  28336. },
  28337. "convertratio": {
  28338. "description": "折算系数",
  28339. "type": "number"
  28340. },
  28341. "enumdicname": {
  28342. "description": "单位名称",
  28343. "type": "string"
  28344. },
  28345. "executeprice": {
  28346. "description": "执行价 [期权]",
  28347. "type": "integer"
  28348. },
  28349. "goodscode": {
  28350. "description": "合约代码",
  28351. "type": "string"
  28352. },
  28353. "goodsgroupid": {
  28354. "description": "对冲品种ID[期货合约商品组ID]",
  28355. "type": "integer"
  28356. },
  28357. "goodsid": {
  28358. "description": "商品ID",
  28359. "type": "integer"
  28360. },
  28361. "goodsname": {
  28362. "description": "合约名称",
  28363. "type": "string"
  28364. },
  28365. "goodunitid": {
  28366. "description": "单位id",
  28367. "type": "integer"
  28368. },
  28369. "hedgeflag": {
  28370. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  28371. "type": "integer"
  28372. },
  28373. "marketid": {
  28374. "description": "市场ID",
  28375. "type": "integer"
  28376. },
  28377. "middlegoodsid": {
  28378. "description": "套保品种ID",
  28379. "type": "integer"
  28380. },
  28381. "middlegoodsqty": {
  28382. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  28383. "type": "number"
  28384. },
  28385. "optioncode": {
  28386. "description": "期权代码 [期权]",
  28387. "type": "string"
  28388. },
  28389. "ordertype": {
  28390. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  28391. "type": "integer"
  28392. },
  28393. "ordertypename": {
  28394. "description": "订单类型",
  28395. "type": "string"
  28396. },
  28397. "parentaccountid": {
  28398. "description": "所属母账户",
  28399. "type": "integer"
  28400. },
  28401. "premium": {
  28402. "description": "权利金 [期权]",
  28403. "type": "number"
  28404. },
  28405. "relatedlot": {
  28406. "description": "已关联数量(已关联数量手) | db:关联手数",
  28407. "type": "number"
  28408. },
  28409. "relatedouttradeid": {
  28410. "description": "关联外部成交单ID",
  28411. "type": "string"
  28412. },
  28413. "relatedqty": {
  28414. "description": "关联数量",
  28415. "type": "number"
  28416. },
  28417. "spotcontractid": {
  28418. "description": "现货合同ID [4:套期保值\\10\\11]",
  28419. "type": "string"
  28420. },
  28421. "taname": {
  28422. "description": "期货账户名称",
  28423. "type": "string"
  28424. },
  28425. "tradeamount": {
  28426. "description": "成交金额(账户)",
  28427. "type": "number"
  28428. },
  28429. "tradedate": {
  28430. "description": "交易日(yyyyMMdd)",
  28431. "type": "string"
  28432. },
  28433. "tradeid": {
  28434. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28435. "type": "string"
  28436. },
  28437. "tradelot": {
  28438. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  28439. "type": "integer"
  28440. },
  28441. "tradeprice": {
  28442. "description": "成交价格",
  28443. "type": "number"
  28444. },
  28445. "tradetime": {
  28446. "description": "时间 | db:成交时间",
  28447. "type": "string"
  28448. },
  28449. "tradetype": {
  28450. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28451. "type": "integer"
  28452. },
  28453. "userid": {
  28454. "description": "所属机构 - 所属母账户的UserID",
  28455. "type": "string"
  28456. },
  28457. "username": {
  28458. "description": "用户名称",
  28459. "type": "string"
  28460. }
  28461. }
  28462. },
  28463. "models.Ermcp3ParamChangeApp": {
  28464. "type": "object",
  28465. "properties": {
  28466. "aftervalue": {
  28467. "description": "变更后",
  28468. "type": "number"
  28469. },
  28470. "applicationid": {
  28471. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  28472. "type": "string"
  28473. },
  28474. "applyid": {
  28475. "description": "申请人",
  28476. "type": "string"
  28477. },
  28478. "applyname": {
  28479. "description": "申请人名称(代码)",
  28480. "type": "string"
  28481. },
  28482. "applyremark": {
  28483. "description": "申请备注",
  28484. "type": "string"
  28485. },
  28486. "applysrc": {
  28487. "description": "申请来源 - 1:管理端 2:终端",
  28488. "type": "integer"
  28489. },
  28490. "applystatus": {
  28491. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28492. "type": "integer"
  28493. },
  28494. "applytime": {
  28495. "description": "申请时间",
  28496. "type": "string"
  28497. },
  28498. "areauserid": {
  28499. "description": "所属机构用户ID",
  28500. "type": "integer"
  28501. },
  28502. "auditid": {
  28503. "description": "审核人",
  28504. "type": "string"
  28505. },
  28506. "auditname": {
  28507. "description": "审核人名称(代码)",
  28508. "type": "string"
  28509. },
  28510. "auditremark": {
  28511. "description": "审核备注",
  28512. "type": "string"
  28513. },
  28514. "auditsrc": {
  28515. "description": "审核来源 - 1:管理端 2:终端",
  28516. "type": "integer"
  28517. },
  28518. "audittime": {
  28519. "description": "审核时间",
  28520. "type": "string"
  28521. },
  28522. "audittradedate": {
  28523. "description": "审核交易日(yyyyMMdd)",
  28524. "type": "string"
  28525. },
  28526. "beforevalue": {
  28527. "description": "变更前",
  28528. "type": "number"
  28529. },
  28530. "deliverygoodscode": {
  28531. "description": "品种代码",
  28532. "type": "string"
  28533. },
  28534. "deliverygoodsid": {
  28535. "description": "品种id",
  28536. "type": "integer"
  28537. },
  28538. "deliverygoodsname": {
  28539. "description": "品种名称",
  28540. "type": "string"
  28541. },
  28542. "middlegoodscode": {
  28543. "description": "套保品种代码",
  28544. "type": "string"
  28545. },
  28546. "middlegoodsid": {
  28547. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  28548. "type": "integer"
  28549. },
  28550. "middlegoodsname": {
  28551. "description": "套保品种名称",
  28552. "type": "string"
  28553. },
  28554. "operatetype": {
  28555. "description": "操作类型 - 1:新增 2:修改",
  28556. "type": "integer"
  28557. },
  28558. "paramchangetype": {
  28559. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  28560. "type": "integer"
  28561. },
  28562. "wrstandardcode": {
  28563. "description": "现货商品代码",
  28564. "type": "string"
  28565. },
  28566. "wrstandardid": {
  28567. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  28568. "type": "integer"
  28569. },
  28570. "wrstandardname": {
  28571. "description": "现货商品名称",
  28572. "type": "string"
  28573. }
  28574. }
  28575. },
  28576. "models.Ermcp3RootUserAccount": {
  28577. "type": "object",
  28578. "properties": {
  28579. "accountname": {
  28580. "description": "账户名称(机构名称)",
  28581. "type": "string"
  28582. },
  28583. "accountstatus": {
  28584. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28585. "type": "integer"
  28586. },
  28587. "applysrc": {
  28588. "description": "申请来源 - 1:管理端 2:终端",
  28589. "type": "integer"
  28590. },
  28591. "auditremark": {
  28592. "description": "审核备注",
  28593. "type": "string"
  28594. },
  28595. "auditsrc": {
  28596. "description": "审核来源 - 1:管理端 2:终端",
  28597. "type": "integer"
  28598. },
  28599. "audittime": {
  28600. "description": "审核时间",
  28601. "type": "string"
  28602. },
  28603. "audituserid": {
  28604. "description": "审核人",
  28605. "type": "integer"
  28606. },
  28607. "broker": {
  28608. "description": "所属经纪人ID",
  28609. "type": "integer"
  28610. },
  28611. "canceltime": {
  28612. "description": "销户时间",
  28613. "type": "string"
  28614. },
  28615. "canceluserid": {
  28616. "description": "销户人",
  28617. "type": "integer"
  28618. },
  28619. "canrecommend": {
  28620. "description": "是否可推荐 - 0:不可 1;可",
  28621. "type": "integer"
  28622. },
  28623. "createtime": {
  28624. "description": "创建时间",
  28625. "type": "string"
  28626. },
  28627. "creatorid": {
  28628. "description": "创建人",
  28629. "type": "integer"
  28630. },
  28631. "hasauth": {
  28632. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28633. "type": "integer"
  28634. },
  28635. "isanonymous": {
  28636. "description": "是否匿名下单 - 0:否 1:是",
  28637. "type": "integer"
  28638. },
  28639. "maxinvestornum": {
  28640. "description": "最大用户数(经纪会员下投资者个数)",
  28641. "type": "integer"
  28642. },
  28643. "memberuserid": {
  28644. "description": "所属会员ID",
  28645. "type": "integer"
  28646. },
  28647. "modifierid": {
  28648. "description": "修改人",
  28649. "type": "integer"
  28650. },
  28651. "modifyremark": {
  28652. "description": "变更备注",
  28653. "type": "string"
  28654. },
  28655. "modifystatus": {
  28656. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28657. "type": "integer"
  28658. },
  28659. "modifytime": {
  28660. "description": "修改时间",
  28661. "type": "string"
  28662. },
  28663. "nickname": {
  28664. "description": "昵称",
  28665. "type": "string"
  28666. },
  28667. "parenttopuser": {
  28668. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28669. "type": "string"
  28670. },
  28671. "parentuserid": {
  28672. "description": "所属机构ID",
  28673. "type": "integer"
  28674. },
  28675. "reckonaccountid": {
  28676. "description": "默认结算资金账号ID(机构分润使用) 作废",
  28677. "type": "integer"
  28678. },
  28679. "refercount": {
  28680. "description": "推荐总人数",
  28681. "type": "integer"
  28682. },
  28683. "refereeuserid": {
  28684. "description": "推荐人ID",
  28685. "type": "integer"
  28686. },
  28687. "refernum": {
  28688. "description": "推荐码",
  28689. "type": "string"
  28690. },
  28691. "rootuserid": {
  28692. "description": "根用户ID",
  28693. "type": "integer"
  28694. },
  28695. "subaccountlevel": {
  28696. "description": "子账户层数",
  28697. "type": "integer"
  28698. },
  28699. "subarealevelpath": {
  28700. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28701. "type": "string"
  28702. },
  28703. "userid": {
  28704. "description": "用户ID",
  28705. "type": "integer"
  28706. },
  28707. "usertype": {
  28708. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28709. "type": "integer"
  28710. }
  28711. }
  28712. },
  28713. "models.Ermcp3SCMiddleGoods": {
  28714. "type": "object",
  28715. "properties": {
  28716. "biztype": {
  28717. "description": "业务类型 1:套保 2:套利",
  28718. "type": "integer"
  28719. },
  28720. "contractno": {
  28721. "description": "合同编号",
  28722. "type": "string"
  28723. },
  28724. "contracttype": {
  28725. "description": "合同类型 1:采购 -1:销售",
  28726. "type": "integer"
  28727. },
  28728. "convertratio": {
  28729. "description": "折算系数",
  28730. "type": "number"
  28731. },
  28732. "customername": {
  28733. "description": "对手手名称",
  28734. "type": "string"
  28735. },
  28736. "customeruserid": {
  28737. "description": "对手id",
  28738. "type": "integer"
  28739. },
  28740. "deliverygoodscode": {
  28741. "description": "现货品种代码",
  28742. "type": "string"
  28743. },
  28744. "deliverygoodsid": {
  28745. "description": "现货品种ID",
  28746. "type": "integer"
  28747. },
  28748. "deliverygoodsname": {
  28749. "description": "现货品种名称",
  28750. "type": "string"
  28751. },
  28752. "enumdicname": {
  28753. "description": "现货单位名称",
  28754. "type": "string"
  28755. },
  28756. "middlegoodsid": {
  28757. "description": "套保品种ID",
  28758. "type": "integer"
  28759. },
  28760. "middlegoodspricedqty3": {
  28761. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  28762. "type": "number"
  28763. },
  28764. "needhedgeratio": {
  28765. "description": "套保比例",
  28766. "type": "number"
  28767. },
  28768. "pricedqty": {
  28769. "description": "已定价量",
  28770. "type": "number"
  28771. },
  28772. "relatedmiddlegoodsqty": {
  28773. "description": "已关联量(套保品种)(期货)",
  28774. "type": "number"
  28775. },
  28776. "spotcontractid": {
  28777. "description": "合同编号",
  28778. "type": "string"
  28779. },
  28780. "unitid": {
  28781. "description": "现货单位id",
  28782. "type": "integer"
  28783. },
  28784. "userid": {
  28785. "description": "用户id",
  28786. "type": "integer"
  28787. },
  28788. "vatrate": {
  28789. "description": "增值税率",
  28790. "type": "number"
  28791. },
  28792. "wrstandardcode": {
  28793. "description": "现货商品代码",
  28794. "type": "string"
  28795. },
  28796. "wrstandardid": {
  28797. "description": "现货商品id",
  28798. "type": "integer"
  28799. },
  28800. "wrstandardname": {
  28801. "description": "现货商品名称",
  28802. "type": "string"
  28803. }
  28804. }
  28805. },
  28806. "models.Ermcp3SCMiddleGoodsReport": {
  28807. "type": "object",
  28808. "properties": {
  28809. "begindate": {
  28810. "description": "开始交易日",
  28811. "type": "string"
  28812. },
  28813. "contractno": {
  28814. "description": "合同编号",
  28815. "type": "string"
  28816. },
  28817. "contracttype": {
  28818. "description": "合同类型 1:采购 -1:销售",
  28819. "type": "integer"
  28820. },
  28821. "convertratio": {
  28822. "description": "期初均价",
  28823. "type": "number"
  28824. },
  28825. "cycletime": {
  28826. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  28827. "type": "string"
  28828. },
  28829. "cycletype": {
  28830. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  28831. "type": "integer"
  28832. },
  28833. "deliverygoodscode": {
  28834. "description": "品种代码",
  28835. "type": "string"
  28836. },
  28837. "deliverygoodsid": {
  28838. "description": "现货品种ID",
  28839. "type": "integer"
  28840. },
  28841. "deliverygoodsname": {
  28842. "description": "品种名称",
  28843. "type": "string"
  28844. },
  28845. "diffprice": {
  28846. "description": "期初均价",
  28847. "type": "number"
  28848. },
  28849. "diffqty": {
  28850. "description": "期初均价",
  28851. "type": "number"
  28852. },
  28853. "enddate": {
  28854. "description": "结束交易日",
  28855. "type": "string"
  28856. },
  28857. "hedgeplanqty": {
  28858. "description": "期初均价",
  28859. "type": "number"
  28860. },
  28861. "matchname": {
  28862. "description": "交易对手方(个人:用户名称 企业:简称)",
  28863. "type": "string"
  28864. },
  28865. "matchnickname": {
  28866. "description": "交易对手方昵称",
  28867. "type": "string"
  28868. },
  28869. "middlegoodscode": {
  28870. "description": "套保品种代码",
  28871. "type": "string"
  28872. },
  28873. "middlegoodsid": {
  28874. "description": "套保品种ID",
  28875. "type": "integer"
  28876. },
  28877. "middlegoodsname": {
  28878. "description": "套保品种名称",
  28879. "type": "string"
  28880. },
  28881. "middlegoodspricedqty": {
  28882. "description": "期初均价",
  28883. "type": "number"
  28884. },
  28885. "middlegoodspricedqty2": {
  28886. "description": "期初均价",
  28887. "type": "number"
  28888. },
  28889. "middlegoodspricedqty3": {
  28890. "description": "期初均价",
  28891. "type": "number"
  28892. },
  28893. "needhedgeratio": {
  28894. "description": "期初均价",
  28895. "type": "number"
  28896. },
  28897. "pricedamount": {
  28898. "description": "期初均价",
  28899. "type": "number"
  28900. },
  28901. "pricedamount2": {
  28902. "description": "期初均价",
  28903. "type": "number"
  28904. },
  28905. "pricedqty": {
  28906. "description": "期初均价",
  28907. "type": "number"
  28908. },
  28909. "reckondate": {
  28910. "description": "日照时期(yyyyMMdd)",
  28911. "type": "string"
  28912. },
  28913. "relatedmiddlegoodsamount": {
  28914. "description": "期初均价",
  28915. "type": "number"
  28916. },
  28917. "relatedmiddlegoodsqty": {
  28918. "description": "期初均价",
  28919. "type": "number"
  28920. },
  28921. "spotcontractid": {
  28922. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28923. "type": "string"
  28924. },
  28925. "todayavgfutuprice": {
  28926. "description": "期初均价",
  28927. "type": "number"
  28928. },
  28929. "todayavgprice": {
  28930. "description": "期初均价",
  28931. "type": "number"
  28932. },
  28933. "todayavgprice2": {
  28934. "description": "期初均价",
  28935. "type": "number"
  28936. },
  28937. "todaypricedamount": {
  28938. "description": "期初均价",
  28939. "type": "number"
  28940. },
  28941. "todaypricedamount2": {
  28942. "description": "期初均价",
  28943. "type": "number"
  28944. },
  28945. "todaypricedqty": {
  28946. "description": "期初均价",
  28947. "type": "number"
  28948. },
  28949. "todayrelatedfutureqty": {
  28950. "description": "期初均价",
  28951. "type": "number"
  28952. },
  28953. "todayrelatedmiddlegoodsamount": {
  28954. "description": "期初均价",
  28955. "type": "number"
  28956. },
  28957. "todayrelatedmiddlegoodsqty": {
  28958. "description": "期初均价",
  28959. "type": "number"
  28960. },
  28961. "updatetime": {
  28962. "description": "更新时间",
  28963. "type": "string"
  28964. },
  28965. "userid": {
  28966. "description": "合同所属用户id",
  28967. "type": "integer"
  28968. },
  28969. "vatrate": {
  28970. "description": "期初均价",
  28971. "type": "number"
  28972. },
  28973. "wrstandardcode": {
  28974. "description": "商品(品类) 代码",
  28975. "type": "string"
  28976. },
  28977. "wrstandardid": {
  28978. "description": "现货商品ID",
  28979. "type": "integer"
  28980. },
  28981. "wrstandardname": {
  28982. "description": "商品(品类) 名称",
  28983. "type": "string"
  28984. }
  28985. }
  28986. },
  28987. "models.Ermcp3SellBuyContract": {
  28988. "type": "object",
  28989. "properties": {
  28990. "accountid": {
  28991. "description": "期货账户id",
  28992. "type": "string"
  28993. },
  28994. "accountname": {
  28995. "description": "账户名称",
  28996. "type": "string"
  28997. },
  28998. "attachment": {
  28999. "description": "附件",
  29000. "type": "string"
  29001. },
  29002. "audittime": {
  29003. "description": "审核时间",
  29004. "type": "string"
  29005. },
  29006. "bizsubjectid": {
  29007. "description": "归属业务部门ID - SubjectID",
  29008. "type": "integer"
  29009. },
  29010. "biztype": {
  29011. "description": "业务类型 1-套保 2-套利",
  29012. "type": "integer"
  29013. },
  29014. "brandname": {
  29015. "description": "品牌名称",
  29016. "type": "string"
  29017. },
  29018. "contracctstatus": {
  29019. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  29020. "type": "integer"
  29021. },
  29022. "contractmargin": {
  29023. "description": "合同保证金",
  29024. "type": "number"
  29025. },
  29026. "contractno": {
  29027. "description": "合同编号",
  29028. "type": "string"
  29029. },
  29030. "contracttype": {
  29031. "description": "合同类型 1-采购, -1-销售",
  29032. "type": "integer"
  29033. },
  29034. "convertfactor": {
  29035. "description": "标仓系数(品类)",
  29036. "type": "number"
  29037. },
  29038. "createtime": {
  29039. "description": "创建时间",
  29040. "type": "string"
  29041. },
  29042. "currencyid": {
  29043. "description": "币种id",
  29044. "type": "integer"
  29045. },
  29046. "currencyname": {
  29047. "description": "币种名称",
  29048. "type": "string"
  29049. },
  29050. "daikaiamount": {
  29051. "description": "应收(开)票额 | 未收票额",
  29052. "type": "number"
  29053. },
  29054. "deliveryenddate": {
  29055. "description": "交割结束日",
  29056. "type": "string"
  29057. },
  29058. "deliverygoodscode": {
  29059. "description": "现货品种代码",
  29060. "type": "string"
  29061. },
  29062. "deliverygoodsid": {
  29063. "description": "现货商品ID",
  29064. "type": "integer"
  29065. },
  29066. "deliverygoodsname": {
  29067. "description": "现货品种名称",
  29068. "type": "string"
  29069. },
  29070. "deliverystartdate": {
  29071. "description": "交割开始日",
  29072. "type": "string"
  29073. },
  29074. "enddate": {
  29075. "description": "点价结束日",
  29076. "type": "string"
  29077. },
  29078. "enumdicname": {
  29079. "description": "单位名称",
  29080. "type": "string"
  29081. },
  29082. "goodscode": {
  29083. "description": "点价商品代码",
  29084. "type": "string"
  29085. },
  29086. "goodsgroupid": {
  29087. "description": "点价商品组id",
  29088. "type": "integer"
  29089. },
  29090. "goodsid": {
  29091. "description": "点价商品ID",
  29092. "type": "integer"
  29093. },
  29094. "goodsname": {
  29095. "description": "点价商品名称",
  29096. "type": "string"
  29097. },
  29098. "invoiceamount": {
  29099. "description": "已开票额",
  29100. "type": "number"
  29101. },
  29102. "loanamount": {
  29103. "description": "贷款总额=已定价额+调整金额",
  29104. "type": "number"
  29105. },
  29106. "margin": {
  29107. "description": "保证金",
  29108. "type": "number"
  29109. },
  29110. "meruserid": {
  29111. "description": "跟单员id",
  29112. "type": "integer"
  29113. },
  29114. "meruserlogincode": {
  29115. "description": "跟单员登录代码",
  29116. "type": "string"
  29117. },
  29118. "merusername": {
  29119. "description": "跟单员名称",
  29120. "type": "string"
  29121. },
  29122. "nickname": {
  29123. "description": "账户昵称",
  29124. "type": "string"
  29125. },
  29126. "orireckonrealqty": {
  29127. "description": "应交收量",
  29128. "type": "number"
  29129. },
  29130. "payamount": {
  29131. "description": "已收付额(收款或付款)",
  29132. "type": "number"
  29133. },
  29134. "preinvoiceamount": {
  29135. "description": "预收(开)票额",
  29136. "type": "number"
  29137. },
  29138. "prepayamount": {
  29139. "description": "预收付额",
  29140. "type": "number"
  29141. },
  29142. "price": {
  29143. "description": "价格",
  29144. "type": "number"
  29145. },
  29146. "pricedamount": {
  29147. "description": "已定价额",
  29148. "type": "number"
  29149. },
  29150. "pricedavg": {
  29151. "description": "已点均价",
  29152. "type": "number"
  29153. },
  29154. "pricedqty": {
  29155. "description": "已定价量",
  29156. "type": "number"
  29157. },
  29158. "pricemove": {
  29159. "description": "升贴水",
  29160. "type": "number"
  29161. },
  29162. "pricetype": {
  29163. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  29164. "type": "integer"
  29165. },
  29166. "producttype": {
  29167. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  29168. "type": "integer"
  29169. },
  29170. "qty": {
  29171. "description": "合同量",
  29172. "type": "number"
  29173. },
  29174. "reckonadjustamount": {
  29175. "description": "调整金额",
  29176. "type": "number"
  29177. },
  29178. "reckonedamount": {
  29179. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  29180. "type": "number"
  29181. },
  29182. "reckonotheramount": {
  29183. "description": "其它费用",
  29184. "type": "number"
  29185. },
  29186. "reckonrealqty": {
  29187. "description": "已交收量",
  29188. "type": "number"
  29189. },
  29190. "remark": {
  29191. "description": "备注",
  29192. "type": "string"
  29193. },
  29194. "saleuserid": {
  29195. "description": "业务员id",
  29196. "type": "integer"
  29197. },
  29198. "saleuserlogincode": {
  29199. "description": "业务员登录代码",
  29200. "type": "string"
  29201. },
  29202. "saleusername": {
  29203. "description": "业务员名称",
  29204. "type": "string"
  29205. },
  29206. "spotcontractid": {
  29207. "description": "合同ID",
  29208. "type": "string"
  29209. },
  29210. "spotgoodsbrandid": {
  29211. "description": "现货品牌ID(DGFactoryItem表的ID)",
  29212. "type": "integer"
  29213. },
  29214. "spotgoodsdesc": {
  29215. "description": "商品型号(商品规格)",
  29216. "type": "string"
  29217. },
  29218. "startdate": {
  29219. "description": "点价开始日",
  29220. "type": "string"
  29221. },
  29222. "subjectid": {
  29223. "description": "交易主体ID",
  29224. "type": "integer"
  29225. },
  29226. "subjectname": {
  29227. "description": "交易主体名称",
  29228. "type": "string"
  29229. },
  29230. "totalamount": {
  29231. "description": "合计总额",
  29232. "type": "number"
  29233. },
  29234. "tradeuserid": {
  29235. "description": "交易员id",
  29236. "type": "integer"
  29237. },
  29238. "tradeuserlogincode": {
  29239. "description": "交易员登录代码",
  29240. "type": "string"
  29241. },
  29242. "tradeusername": {
  29243. "description": "交易员名称",
  29244. "type": "string"
  29245. },
  29246. "unpayamount": {
  29247. "description": "应收付款额(应支付或应收款) | 未付款额",
  29248. "type": "number"
  29249. },
  29250. "unpricedqty": {
  29251. "description": "未定价量",
  29252. "type": "number"
  29253. },
  29254. "unsureqty": {
  29255. "description": "未确定量 | 未交收量",
  29256. "type": "number"
  29257. },
  29258. "userid": {
  29259. "description": "机构ID",
  29260. "type": "integer"
  29261. },
  29262. "vatrate": {
  29263. "description": "增值税率",
  29264. "type": "number"
  29265. },
  29266. "wrstandardcode": {
  29267. "description": "品类代码",
  29268. "type": "string"
  29269. },
  29270. "wrstandardid": {
  29271. "description": "品类ID",
  29272. "type": "integer"
  29273. },
  29274. "wrstandardname": {
  29275. "description": "品类名称",
  29276. "type": "string"
  29277. }
  29278. }
  29279. },
  29280. "models.Ermcp3SpotGoodsPrice": {
  29281. "type": "object",
  29282. "properties": {
  29283. "areauserid": {
  29284. "description": "所属机构id",
  29285. "type": "integer"
  29286. },
  29287. "brandname": {
  29288. "description": "品牌名称",
  29289. "type": "string"
  29290. },
  29291. "currencyid": {
  29292. "description": "报价货币ID",
  29293. "type": "integer"
  29294. },
  29295. "currencyname": {
  29296. "description": "币种名称",
  29297. "type": "string"
  29298. },
  29299. "deliverygoodscode": {
  29300. "description": "现货商品代码",
  29301. "type": "string"
  29302. },
  29303. "deliverygoodsid": {
  29304. "description": "现货商品id",
  29305. "type": "integer"
  29306. },
  29307. "deliverygoodsname": {
  29308. "description": "现货商品名称",
  29309. "type": "string"
  29310. },
  29311. "enumdicname": {
  29312. "description": "现货商品单位名称",
  29313. "type": "string"
  29314. },
  29315. "gbenumdicname": {
  29316. "description": "品类单位名称",
  29317. "type": "string"
  29318. },
  29319. "gmunitid": {
  29320. "description": "品类单位id",
  29321. "type": "integer"
  29322. },
  29323. "isvalid": {
  29324. "description": "是否有效 - 0:无效 1:有效",
  29325. "type": "integer"
  29326. },
  29327. "operateid": {
  29328. "description": "最后操作人",
  29329. "type": "integer"
  29330. },
  29331. "operatesrc": {
  29332. "description": "最后操作来源 - 1:管理端 2:终端",
  29333. "type": "integer"
  29334. },
  29335. "operatetime": {
  29336. "description": "最后操作时间",
  29337. "type": "string"
  29338. },
  29339. "operatorname": {
  29340. "description": "操作人名称",
  29341. "type": "string"
  29342. },
  29343. "spotgoodsbrandid": {
  29344. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  29345. "type": "integer"
  29346. },
  29347. "spotgoodsprice": {
  29348. "description": "现货价格",
  29349. "type": "number"
  29350. },
  29351. "tradedate": {
  29352. "description": "交易日(yyyyMMdd)",
  29353. "type": "string"
  29354. },
  29355. "unitid": {
  29356. "description": "现货商品单位id",
  29357. "type": "integer"
  29358. },
  29359. "wrstandardcode": {
  29360. "description": "品类代码",
  29361. "type": "string"
  29362. },
  29363. "wrstandardid": {
  29364. "description": "现货品类ID(通用则为0)",
  29365. "type": "integer"
  29366. },
  29367. "wrstandardname": {
  29368. "description": "品类名称",
  29369. "type": "string"
  29370. }
  29371. }
  29372. },
  29373. "models.Ermcp3SpotGoodsPriceLog": {
  29374. "type": "object",
  29375. "properties": {
  29376. "areauserid": {
  29377. "description": "所属机构id",
  29378. "type": "integer"
  29379. },
  29380. "brandname": {
  29381. "description": "品牌名称",
  29382. "type": "string"
  29383. },
  29384. "currencyid": {
  29385. "description": "报价货币ID",
  29386. "type": "integer"
  29387. },
  29388. "deliverygoodscode": {
  29389. "description": "现货商品代码",
  29390. "type": "string"
  29391. },
  29392. "deliverygoodsid": {
  29393. "description": "现货商品id",
  29394. "type": "integer"
  29395. },
  29396. "deliverygoodsname": {
  29397. "description": "现货商品名称",
  29398. "type": "string"
  29399. },
  29400. "enumdicname": {
  29401. "description": "现货商品单位名称",
  29402. "type": "string"
  29403. },
  29404. "gbenumdicname": {
  29405. "description": "品类单位名称",
  29406. "type": "string"
  29407. },
  29408. "gmunitid": {
  29409. "description": "品类单位id",
  29410. "type": "integer"
  29411. },
  29412. "logid": {
  29413. "description": "日志id",
  29414. "type": "integer"
  29415. },
  29416. "operateid": {
  29417. "description": "最后操作人",
  29418. "type": "integer"
  29419. },
  29420. "operatesrc": {
  29421. "description": "最后操作来源 - 1:管理端 2:终端",
  29422. "type": "integer"
  29423. },
  29424. "operatetime": {
  29425. "description": "最后操作时间",
  29426. "type": "string"
  29427. },
  29428. "operatorname": {
  29429. "description": "操作人名称",
  29430. "type": "string"
  29431. },
  29432. "spotgoodsbrandid": {
  29433. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  29434. "type": "integer"
  29435. },
  29436. "spotgoodsprice": {
  29437. "description": "现货价格",
  29438. "type": "number"
  29439. },
  29440. "tradedate": {
  29441. "description": "交易日(yyyyMMdd)",
  29442. "type": "string"
  29443. },
  29444. "unitid": {
  29445. "description": "现货商品单位id",
  29446. "type": "integer"
  29447. },
  29448. "wrstandardcode": {
  29449. "description": "品类代码",
  29450. "type": "string"
  29451. },
  29452. "wrstandardid": {
  29453. "description": "现货品类ID(通用则为0)",
  29454. "type": "integer"
  29455. },
  29456. "wrstandardname": {
  29457. "description": "品类名称",
  29458. "type": "string"
  29459. }
  29460. }
  29461. },
  29462. "models.Ermcp3SubTaaccount": {
  29463. "type": "object",
  29464. "properties": {
  29465. "accountid": {
  29466. "description": "资金账户ID",
  29467. "type": "integer"
  29468. },
  29469. "parentaccountcode": {
  29470. "description": "所属根账号代码(母账号代码)",
  29471. "type": "string"
  29472. },
  29473. "parentaccountid": {
  29474. "description": "所属根账号(母账号)",
  29475. "type": "integer"
  29476. },
  29477. "taname": {
  29478. "description": "资金账号名称",
  29479. "type": "string"
  29480. },
  29481. "tradestatus": {
  29482. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  29483. "type": "integer"
  29484. },
  29485. "username": {
  29486. "description": "交易用户",
  29487. "type": "string"
  29488. }
  29489. }
  29490. },
  29491. "models.Ermcp3TaFutuReDataReport": {
  29492. "type": "object",
  29493. "properties": {
  29494. "accountid": {
  29495. "description": "交易账户",
  29496. "type": "integer"
  29497. },
  29498. "accountname": {
  29499. "description": "交易账号名称",
  29500. "type": "string"
  29501. },
  29502. "agreeunit": {
  29503. "description": "商品合约单位",
  29504. "type": "number"
  29505. },
  29506. "begindate": {
  29507. "description": "开始交易日",
  29508. "type": "string"
  29509. },
  29510. "buyorsell": {
  29511. "description": "持仓方向",
  29512. "type": "integer"
  29513. },
  29514. "charge": {
  29515. "description": "手续费",
  29516. "type": "number"
  29517. },
  29518. "closeavgprice": {
  29519. "description": "期初均价",
  29520. "type": "number"
  29521. },
  29522. "closepl": {
  29523. "description": "平仓损益",
  29524. "type": "number"
  29525. },
  29526. "currencyid": {
  29527. "description": "结算币种ID",
  29528. "type": "integer"
  29529. },
  29530. "currencyname": {
  29531. "description": "币种名称",
  29532. "type": "string"
  29533. },
  29534. "cycletime": {
  29535. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  29536. "type": "string"
  29537. },
  29538. "cycletype": {
  29539. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29540. "type": "integer"
  29541. },
  29542. "enddate": {
  29543. "description": "结束交易日",
  29544. "type": "string"
  29545. },
  29546. "enumdicname": {
  29547. "description": "单位名称",
  29548. "type": "string"
  29549. },
  29550. "floatpl": {
  29551. "description": "浮动损益",
  29552. "type": "number"
  29553. },
  29554. "goodscode": {
  29555. "description": "交易合约代码",
  29556. "type": "string"
  29557. },
  29558. "goodsgroupid": {
  29559. "description": "交易品种",
  29560. "type": "integer"
  29561. },
  29562. "goodsgroupname": {
  29563. "description": "交易品种名称",
  29564. "type": "string"
  29565. },
  29566. "goodsgroupspotqty": {
  29567. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  29568. "type": "number"
  29569. },
  29570. "goodsid": {
  29571. "description": "交易合约",
  29572. "type": "integer"
  29573. },
  29574. "goodsname": {
  29575. "description": "交易合约名称",
  29576. "type": "string"
  29577. },
  29578. "goodunitid": {
  29579. "description": "交易合约单位id",
  29580. "type": "integer"
  29581. },
  29582. "holdamount": {
  29583. "description": "期末持仓额",
  29584. "type": "number"
  29585. },
  29586. "holdqty": {
  29587. "description": "期初均价",
  29588. "type": "number"
  29589. },
  29590. "lastholdamount": {
  29591. "description": "当前持仓额",
  29592. "type": "number"
  29593. },
  29594. "lastprice": {
  29595. "description": "最新价",
  29596. "type": "number"
  29597. },
  29598. "middlegoodsid": {
  29599. "description": "套保品种id",
  29600. "type": "integer"
  29601. },
  29602. "middlegoodsname": {
  29603. "description": "套保商品名称",
  29604. "type": "string"
  29605. },
  29606. "middlegoodsqty": {
  29607. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  29608. "type": "number"
  29609. },
  29610. "middlgoodscode": {
  29611. "description": "套保商品代码",
  29612. "type": "string"
  29613. },
  29614. "openamount": {
  29615. "description": "期末开仓额",
  29616. "type": "number"
  29617. },
  29618. "openavgprice": {
  29619. "description": "期初均价",
  29620. "type": "number"
  29621. },
  29622. "oriholdamount": {
  29623. "description": "期初持仓额",
  29624. "type": "number"
  29625. },
  29626. "oriholdqty": {
  29627. "description": "期初均价",
  29628. "type": "number"
  29629. },
  29630. "oriopenamount": {
  29631. "description": "期初开仓额",
  29632. "type": "number"
  29633. },
  29634. "outergroupcode": {
  29635. "description": "交易品种代码",
  29636. "type": "string"
  29637. },
  29638. "qtydecimalplace": {
  29639. "description": "成交量小数位",
  29640. "type": "integer"
  29641. },
  29642. "reckondate": {
  29643. "description": "日照时期(yyyyMMdd)",
  29644. "type": "string"
  29645. },
  29646. "reckonholdamount": {
  29647. "description": "结算持仓额",
  29648. "type": "number"
  29649. },
  29650. "reckonpl": {
  29651. "description": "结算损益",
  29652. "type": "number"
  29653. },
  29654. "reckonpl2": {
  29655. "description": "结算逐笔盈亏",
  29656. "type": "number"
  29657. },
  29658. "reckonprice": {
  29659. "description": "结算价",
  29660. "type": "number"
  29661. },
  29662. "relateduserid": {
  29663. "description": "账户关联用户ID",
  29664. "type": "integer"
  29665. },
  29666. "todaycloseamount": {
  29667. "description": "今平仓额",
  29668. "type": "number"
  29669. },
  29670. "todaycloseqty": {
  29671. "description": "期初均价",
  29672. "type": "number"
  29673. },
  29674. "todaygoodsgroupspotqty": {
  29675. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  29676. "type": "number"
  29677. },
  29678. "todaymiddlegoodsqty": {
  29679. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  29680. "type": "number"
  29681. },
  29682. "todayopenamount": {
  29683. "description": "今开仓额",
  29684. "type": "number"
  29685. },
  29686. "todayopenqty": {
  29687. "description": "期初均价",
  29688. "type": "number"
  29689. },
  29690. "userid": {
  29691. "description": "账户所属用户ID",
  29692. "type": "integer"
  29693. }
  29694. }
  29695. },
  29696. "models.Ermcp3TradeLinkDetail": {
  29697. "type": "object",
  29698. "properties": {
  29699. "accountid": {
  29700. "description": "资金账号",
  29701. "type": "integer"
  29702. },
  29703. "agreeunit": {
  29704. "description": "合约乘数",
  29705. "type": "number"
  29706. },
  29707. "areauserid": {
  29708. "description": "所属机构",
  29709. "type": "string"
  29710. },
  29711. "bizsubjectid": {
  29712. "description": "归属业务部门ID - SubjectID",
  29713. "type": "string"
  29714. },
  29715. "buyorsell": {
  29716. "description": "方向 - 0:买 1:卖",
  29717. "type": "integer"
  29718. },
  29719. "channelbuildtype": {
  29720. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29721. "type": "integer"
  29722. },
  29723. "contractno": {
  29724. "description": "现货编号 (合同编号)",
  29725. "type": "string"
  29726. },
  29727. "convertratio": {
  29728. "description": "折算系数",
  29729. "type": "number"
  29730. },
  29731. "createtime": {
  29732. "description": "关联时间 | 创建时间",
  29733. "type": "string"
  29734. },
  29735. "creatorid": {
  29736. "description": "创建人ID",
  29737. "type": "string"
  29738. },
  29739. "creatorsrc": {
  29740. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29741. "type": "integer"
  29742. },
  29743. "enumdicname": {
  29744. "description": "单位名称",
  29745. "type": "string"
  29746. },
  29747. "goodscode": {
  29748. "description": "合约代码",
  29749. "type": "string"
  29750. },
  29751. "goodsgroupid": {
  29752. "description": "对冲品种ID[期货合约商品组ID]",
  29753. "type": "integer"
  29754. },
  29755. "goodsid": {
  29756. "description": "商品ID",
  29757. "type": "integer"
  29758. },
  29759. "goodsname": {
  29760. "description": "合约名称",
  29761. "type": "string"
  29762. },
  29763. "hedgeflag": {
  29764. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  29765. "type": "integer"
  29766. },
  29767. "linkdetailid": {
  29768. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29769. "type": "string"
  29770. },
  29771. "linkstatus": {
  29772. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29773. "type": "integer"
  29774. },
  29775. "middlegoodscode": {
  29776. "description": "套保品种代码",
  29777. "type": "string"
  29778. },
  29779. "middlegoodsid": {
  29780. "description": "套保品种ID",
  29781. "type": "integer"
  29782. },
  29783. "middlegoodsname": {
  29784. "description": "套保品种名称",
  29785. "type": "string"
  29786. },
  29787. "relatedlot": {
  29788. "description": "关联手数",
  29789. "type": "number"
  29790. },
  29791. "relatedmode": {
  29792. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29793. "type": "integer"
  29794. },
  29795. "relatedqty": {
  29796. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29797. "type": "number"
  29798. },
  29799. "retcode": {
  29800. "description": "返回码",
  29801. "type": "integer"
  29802. },
  29803. "saleuserid": {
  29804. "description": "业务员ID",
  29805. "type": "string"
  29806. },
  29807. "spotcontractid": {
  29808. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  29809. "type": "string"
  29810. },
  29811. "taname": {
  29812. "description": "期货账户",
  29813. "type": "string"
  29814. },
  29815. "tradedate": {
  29816. "description": "关联交易日(yyyyMMdd)",
  29817. "type": "string"
  29818. },
  29819. "tradeid": {
  29820. "description": "期货订单号 | 内部成交单ID",
  29821. "type": "string"
  29822. },
  29823. "tradelot": {
  29824. "description": "成交数量 | 成交手数",
  29825. "type": "integer"
  29826. },
  29827. "tradeprice": {
  29828. "description": "成交价格",
  29829. "type": "number"
  29830. },
  29831. "tradetime": {
  29832. "description": "期货成交时间",
  29833. "type": "string"
  29834. },
  29835. "tradetradedate": {
  29836. "description": "成交交易日(yyyyMMdd)",
  29837. "type": "string"
  29838. },
  29839. "username": {
  29840. "description": "用户名称",
  29841. "type": "string"
  29842. }
  29843. }
  29844. },
  29845. "models.Ermcp3Wrstandard": {
  29846. "type": "object",
  29847. "properties": {
  29848. "areauserid": {
  29849. "description": "所属机构",
  29850. "type": "integer"
  29851. },
  29852. "cantrade": {
  29853. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  29854. "type": "integer"
  29855. },
  29856. "convertfactor": {
  29857. "description": "标仓系数",
  29858. "type": "number"
  29859. },
  29860. "createtime": {
  29861. "description": "创建时间",
  29862. "type": "string"
  29863. },
  29864. "creatorid": {
  29865. "description": "创建人",
  29866. "type": "integer"
  29867. },
  29868. "deliverygoodsid": {
  29869. "description": "现货品种ID",
  29870. "type": "integer"
  29871. },
  29872. "enumdicname": {
  29873. "description": "品类单位名称",
  29874. "type": "string"
  29875. },
  29876. "isvalid": {
  29877. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  29878. "type": "integer"
  29879. },
  29880. "minivalue": {
  29881. "description": "最小变动值",
  29882. "type": "integer"
  29883. },
  29884. "minivaluedp": {
  29885. "description": "最小变动值小数位",
  29886. "type": "integer"
  29887. },
  29888. "realminivalue": {
  29889. "description": "实际最小变动值",
  29890. "type": "integer"
  29891. },
  29892. "realminivaluedp": {
  29893. "description": "实际最小变动值小数位",
  29894. "type": "integer"
  29895. },
  29896. "remark": {
  29897. "description": "备注",
  29898. "type": "string"
  29899. },
  29900. "unitid": {
  29901. "description": "品类单位ID",
  29902. "type": "integer"
  29903. },
  29904. "updatetime": {
  29905. "description": "更新时间",
  29906. "type": "string"
  29907. },
  29908. "wrstandardcode": {
  29909. "description": "品类代码",
  29910. "type": "string"
  29911. },
  29912. "wrstandardid": {
  29913. "description": "品类ID(SEQ_WRSTANDARD)",
  29914. "type": "integer"
  29915. },
  29916. "wrstandardname": {
  29917. "description": "品类名称",
  29918. "type": "string"
  29919. }
  29920. }
  29921. },
  29922. "models.Ermcp8EnableHedgeditem": {
  29923. "type": "object",
  29924. "properties": {
  29925. "accountname": {
  29926. "description": "套期主体",
  29927. "type": "string"
  29928. },
  29929. "hedgeditemid": {
  29930. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  29931. "type": "string"
  29932. },
  29933. "hedgeditemname": {
  29934. "description": "项目名称",
  29935. "type": "string"
  29936. },
  29937. "hedgeditemnum": {
  29938. "description": "项目编号",
  29939. "type": "string"
  29940. },
  29941. "hedgedtype": {
  29942. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  29943. "type": "integer"
  29944. },
  29945. "planenddate": {
  29946. "description": "计划结束日期",
  29947. "type": "string"
  29948. },
  29949. "planstartdate": {
  29950. "description": "计划开始日期",
  29951. "type": "string"
  29952. },
  29953. "wrstandardid": {
  29954. "description": "现货商品ID",
  29955. "type": "integer"
  29956. },
  29957. "wrstandardname": {
  29958. "description": "现货商品",
  29959. "type": "string"
  29960. }
  29961. }
  29962. },
  29963. "models.Ermcp8HedgeditemReport": {
  29964. "type": "object",
  29965. "properties": {
  29966. "accountname": {
  29967. "description": "套期主体",
  29968. "type": "string"
  29969. },
  29970. "areauserid": {
  29971. "description": "企业ID",
  29972. "type": "integer"
  29973. },
  29974. "curprice": {
  29975. "description": "[当日现货市场价]当前市场价",
  29976. "type": "number"
  29977. },
  29978. "enumdicname": {
  29979. "description": "单位",
  29980. "type": "string"
  29981. },
  29982. "exeamount": {
  29983. "description": "[执行现货金额]执行市价总额",
  29984. "type": "number"
  29985. },
  29986. "exeavgprice": {
  29987. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  29988. "type": "number"
  29989. },
  29990. "exeqty": {
  29991. "description": "[执行数量]执行现货量",
  29992. "type": "number"
  29993. },
  29994. "futurehedgepl": {
  29995. "description": "期货实际损益",
  29996. "type": "number"
  29997. },
  29998. "futurehedgeplchange": {
  29999. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  30000. "type": "number"
  30001. },
  30002. "futurepl": {
  30003. "description": "期货套期损益",
  30004. "type": "number"
  30005. },
  30006. "futureplchange": {
  30007. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  30008. "type": "number"
  30009. },
  30010. "hedgeamount": {
  30011. "description": "[套期现货金额]套期市价总额",
  30012. "type": "number"
  30013. },
  30014. "hedgeditemnum": {
  30015. "description": "项目编号,模糊查询",
  30016. "type": "string"
  30017. },
  30018. "hedgeditemstatus": {
  30019. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  30020. "type": "integer"
  30021. },
  30022. "hedgedtype": {
  30023. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  30024. "type": "integer"
  30025. },
  30026. "hedgeqty": {
  30027. "description": "[套期数量]套期现货量",
  30028. "type": "number"
  30029. },
  30030. "oriavgprice": {
  30031. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  30032. "type": "number"
  30033. },
  30034. "orifuturehedgepl": {
  30035. "description": "期初期货实际损益",
  30036. "type": "number"
  30037. },
  30038. "orifuturepl": {
  30039. "description": "期初期货套期损益",
  30040. "type": "number"
  30041. },
  30042. "orispothedgepl": {
  30043. "description": "期初现货实际损益",
  30044. "type": "number"
  30045. },
  30046. "orispotpl": {
  30047. "description": "期初现货套期损益",
  30048. "type": "number"
  30049. },
  30050. "planenddate": {
  30051. "description": "计划结束日期",
  30052. "type": "string"
  30053. },
  30054. "planstartdate": {
  30055. "description": "计划开始日期",
  30056. "type": "string"
  30057. },
  30058. "spothedgepl": {
  30059. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  30060. "type": "number"
  30061. },
  30062. "spothedgeplchange": {
  30063. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  30064. "type": "number"
  30065. },
  30066. "spotpl": {
  30067. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  30068. "type": "number"
  30069. },
  30070. "spotplchange": {
  30071. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  30072. "type": "number"
  30073. },
  30074. "tradeuserid": {
  30075. "description": "交易用户ID",
  30076. "type": "integer"
  30077. },
  30078. "unexeqty": {
  30079. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  30080. "type": "number"
  30081. },
  30082. "wrstandardcode": {
  30083. "description": "现货品类代码",
  30084. "type": "string"
  30085. },
  30086. "wrstandardid": {
  30087. "description": "现货商品ID",
  30088. "type": "integer"
  30089. },
  30090. "wrstandardname": {
  30091. "description": "[现货商品]现货品类名称",
  30092. "type": "string"
  30093. }
  30094. }
  30095. },
  30096. "models.Ermcp8RunningHedgeditem": {
  30097. "type": "object",
  30098. "properties": {
  30099. "accountname": {
  30100. "description": "套期主体",
  30101. "type": "string"
  30102. },
  30103. "applyid": {
  30104. "description": "申请人",
  30105. "type": "integer"
  30106. },
  30107. "applysrc": {
  30108. "description": "申请来源 - 1:管理端 2:终端",
  30109. "type": "integer"
  30110. },
  30111. "areauserid": {
  30112. "description": "企业ID",
  30113. "type": "integer"
  30114. },
  30115. "auditid": {
  30116. "description": "审核人",
  30117. "type": "integer"
  30118. },
  30119. "auditremark": {
  30120. "description": "审核备注",
  30121. "type": "string"
  30122. },
  30123. "auditsrc": {
  30124. "description": "审核来源 - 1:管理端 2:终端",
  30125. "type": "integer"
  30126. },
  30127. "audittime": {
  30128. "description": "审核时间",
  30129. "type": "string"
  30130. },
  30131. "audittradedate": {
  30132. "description": "审核交易日(yyyyMMdd)",
  30133. "type": "string"
  30134. },
  30135. "createtime": {
  30136. "description": "申请时间",
  30137. "type": "string"
  30138. },
  30139. "curprice": {
  30140. "description": "当前市场价",
  30141. "type": "number"
  30142. },
  30143. "curstock": {
  30144. "description": "期末库存量 = 采购总量 - 销售总量",
  30145. "type": "number"
  30146. },
  30147. "deliverygoodsid": {
  30148. "description": "现货品种ID",
  30149. "type": "integer"
  30150. },
  30151. "enddate": {
  30152. "description": "完成日期",
  30153. "type": "string"
  30154. },
  30155. "endtradedate": {
  30156. "description": "完成交易日",
  30157. "type": "string"
  30158. },
  30159. "enumdicname": {
  30160. "description": "单位",
  30161. "type": "string"
  30162. },
  30163. "exeamount": {
  30164. "description": "执行市价总额",
  30165. "type": "number"
  30166. },
  30167. "exeavgprice": {
  30168. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  30169. "type": "number"
  30170. },
  30171. "execontractamount": {
  30172. "description": "执行定价总额",
  30173. "type": "number"
  30174. },
  30175. "exeqty": {
  30176. "description": "执行现货量",
  30177. "type": "number"
  30178. },
  30179. "exerestamount": {
  30180. "description": "执行剩余市价总额【现货贸易】",
  30181. "type": "number"
  30182. },
  30183. "futurefloatpl": {
  30184. "description": "期货浮动损益",
  30185. "type": "number"
  30186. },
  30187. "futurehedgepl": {
  30188. "description": "期货实际损益",
  30189. "type": "number"
  30190. },
  30191. "futurehedgeplchange": {
  30192. "description": "期货实际损益变动",
  30193. "type": "number"
  30194. },
  30195. "futurepl": {
  30196. "description": "期货套期损益",
  30197. "type": "number"
  30198. },
  30199. "futureplchange": {
  30200. "description": "期货套期损益变动",
  30201. "type": "number"
  30202. },
  30203. "hedgeamount": {
  30204. "description": "套期市价总额",
  30205. "type": "number"
  30206. },
  30207. "hedgecontractamount": {
  30208. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  30209. "type": "number"
  30210. },
  30211. "hedgeditemid": {
  30212. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  30213. "type": "string"
  30214. },
  30215. "hedgeditemname": {
  30216. "description": "项目名称",
  30217. "type": "string"
  30218. },
  30219. "hedgeditemnum": {
  30220. "description": "项目编号",
  30221. "type": "string"
  30222. },
  30223. "hedgeditemstatus": {
  30224. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  30225. "type": "integer"
  30226. },
  30227. "hedgedtype": {
  30228. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  30229. "type": "integer"
  30230. },
  30231. "hedgeqty": {
  30232. "description": "套期现货量",
  30233. "type": "number"
  30234. },
  30235. "hedgerate": {
  30236. "description": "套保比率",
  30237. "type": "number"
  30238. },
  30239. "hedgerestamount": {
  30240. "description": "套期剩余市价总额【现货贸易】",
  30241. "type": "number"
  30242. },
  30243. "hedgesumpl": {
  30244. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  30245. "type": "number"
  30246. },
  30247. "middlegoodslist": {
  30248. "description": "套期商品列表",
  30249. "type": "array",
  30250. "items": {
  30251. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  30252. }
  30253. },
  30254. "oriavgprice": {
  30255. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  30256. "type": "number"
  30257. },
  30258. "orifuturehedgepl": {
  30259. "description": "期初期货实际损益",
  30260. "type": "number"
  30261. },
  30262. "orifuturepl": {
  30263. "description": "期初期货套期损益",
  30264. "type": "number"
  30265. },
  30266. "orispothedgepl": {
  30267. "description": "期初现货实际损益",
  30268. "type": "number"
  30269. },
  30270. "orispotpl": {
  30271. "description": "期初现货套期损益",
  30272. "type": "number"
  30273. },
  30274. "planenddate": {
  30275. "description": "计划结束日期",
  30276. "type": "string"
  30277. },
  30278. "planstartdate": {
  30279. "description": "计划开始日期",
  30280. "type": "string"
  30281. },
  30282. "remark": {
  30283. "description": "备注",
  30284. "type": "string"
  30285. },
  30286. "spotbookamount": {
  30287. "description": "现货账面总额",
  30288. "type": "number"
  30289. },
  30290. "spotfloatpl": {
  30291. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  30292. "type": "number"
  30293. },
  30294. "spothedgepl": {
  30295. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  30296. "type": "number"
  30297. },
  30298. "spothedgeplchange": {
  30299. "description": "现货实际损益变动",
  30300. "type": "number"
  30301. },
  30302. "spotpl": {
  30303. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  30304. "type": "number"
  30305. },
  30306. "spotplchange": {
  30307. "description": "现货套期损益变动",
  30308. "type": "number"
  30309. },
  30310. "spottradepl": {
  30311. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  30312. "type": "number"
  30313. },
  30314. "sumobspl": {
  30315. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  30316. "type": "number"
  30317. },
  30318. "tradeuserid": {
  30319. "description": "交易用户ID",
  30320. "type": "integer"
  30321. },
  30322. "unexeqty": {
  30323. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  30324. "type": "number"
  30325. },
  30326. "updatetime": {
  30327. "description": "更新时间",
  30328. "type": "string"
  30329. },
  30330. "vatpl": {
  30331. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  30332. "type": "number"
  30333. },
  30334. "vatrate": {
  30335. "description": "增值税",
  30336. "type": "number"
  30337. },
  30338. "wrstandardid": {
  30339. "description": "现货商品ID",
  30340. "type": "integer"
  30341. },
  30342. "wrstandardname": {
  30343. "description": "商品名称",
  30344. "type": "string"
  30345. }
  30346. }
  30347. },
  30348. "models.ErmcpBizGroupEx": {
  30349. "type": "object",
  30350. "properties": {
  30351. "acclist": {
  30352. "description": "账号列表",
  30353. "type": "array",
  30354. "items": {
  30355. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  30356. }
  30357. },
  30358. "bizgroupid": {
  30359. "description": "业务分组id",
  30360. "type": "integer"
  30361. },
  30362. "biztype": {
  30363. "description": "业务类型 1-套保 2-套利",
  30364. "type": "integer"
  30365. },
  30366. "wrlist": {
  30367. "description": "现货商品表",
  30368. "type": "array",
  30369. "items": {
  30370. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  30371. }
  30372. }
  30373. }
  30374. },
  30375. "models.ErmcpBizGroupSpotGoods": {
  30376. "type": "object",
  30377. "properties": {
  30378. "areauserid": {
  30379. "description": "所属机构id",
  30380. "type": "integer"
  30381. },
  30382. "bizgroupid": {
  30383. "description": "分组id",
  30384. "type": "integer"
  30385. },
  30386. "biztype": {
  30387. "description": "业务类型 1-套保 2-套利",
  30388. "type": "integer"
  30389. },
  30390. "deliverygoodscode": {
  30391. "description": "现货商品代码",
  30392. "type": "string"
  30393. },
  30394. "deliverygoodsid": {
  30395. "description": "现货商品id",
  30396. "type": "integer"
  30397. },
  30398. "deliverygoodsname": {
  30399. "description": "现货商品名称",
  30400. "type": "string"
  30401. },
  30402. "unitid": {
  30403. "description": "现货商品单位id",
  30404. "type": "integer"
  30405. }
  30406. }
  30407. },
  30408. "models.ErmcpBizGroupTaAccount": {
  30409. "type": "object",
  30410. "properties": {
  30411. "accountid": {
  30412. "description": "账号id",
  30413. "type": "integer"
  30414. },
  30415. "accountname": {
  30416. "description": "账号名称",
  30417. "type": "string"
  30418. },
  30419. "areauserid": {
  30420. "description": "所属机构id",
  30421. "type": "integer"
  30422. },
  30423. "bizgroupid": {
  30424. "description": "业务分组id",
  30425. "type": "integer"
  30426. },
  30427. "ismain": {
  30428. "description": "是否主账号 1-是 0-否",
  30429. "type": "integer"
  30430. }
  30431. }
  30432. },
  30433. "models.ErmcpDGFactoryItem": {
  30434. "type": "object",
  30435. "properties": {
  30436. "areauserid": {
  30437. "description": "用户id",
  30438. "type": "integer"
  30439. },
  30440. "deliverygoodsid": {
  30441. "description": "现货品种ID",
  30442. "type": "integer"
  30443. },
  30444. "dgfactoryitemid": {
  30445. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  30446. "type": "integer"
  30447. },
  30448. "dgfactoryitemtypeid": {
  30449. "description": "要素项类型",
  30450. "type": "integer"
  30451. },
  30452. "dgfactoryitemvalue": {
  30453. "description": "要素项值(类型为仓库时填写仓库名称)",
  30454. "type": "string"
  30455. },
  30456. "isvalid": {
  30457. "description": "是否有效 - 0:无效 1:有效",
  30458. "type": "integer"
  30459. },
  30460. "orderindex": {
  30461. "description": "顺序",
  30462. "type": "integer"
  30463. },
  30464. "warehouseid": {
  30465. "description": "仓库ID(类型为仓库时填写)",
  30466. "type": "integer"
  30467. }
  30468. }
  30469. },
  30470. "models.ErmcpDeliveryGoods": {
  30471. "type": "object",
  30472. "properties": {
  30473. "agreeunit": {
  30474. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  30475. "type": "integer"
  30476. },
  30477. "areauserid": {
  30478. "description": "所属机构",
  30479. "type": "integer"
  30480. },
  30481. "auditflag": {
  30482. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  30483. "type": "integer"
  30484. },
  30485. "categoryid": {
  30486. "description": "类别ID(SEQ_WRCATEGORY)",
  30487. "type": "integer"
  30488. },
  30489. "deliverygoodscode": {
  30490. "description": "现货品种代码",
  30491. "type": "string"
  30492. },
  30493. "deliverygoodsid": {
  30494. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30495. "type": "integer"
  30496. },
  30497. "deliverygoodsname": {
  30498. "description": "现货品种名称",
  30499. "type": "string"
  30500. },
  30501. "deliverygoodstype": {
  30502. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  30503. "type": "integer"
  30504. },
  30505. "dgstatus": {
  30506. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  30507. "type": "integer"
  30508. },
  30509. "enumdicname": {
  30510. "description": "现货品种单位名称",
  30511. "type": "string"
  30512. },
  30513. "goodsunitid": {
  30514. "description": "现货品种单位ID",
  30515. "type": "integer"
  30516. },
  30517. "isvalid": {
  30518. "description": "是否有效 - 0:无效 1:有效",
  30519. "type": "integer"
  30520. },
  30521. "qtydecimalplace": {
  30522. "description": "成交量小数位",
  30523. "type": "integer"
  30524. },
  30525. "remark": {
  30526. "description": "备注",
  30527. "type": "string"
  30528. },
  30529. "standardqty": {
  30530. "description": "标准数量(库位数量) [标准品特有]",
  30531. "type": "integer"
  30532. },
  30533. "standardqtyrange": {
  30534. "description": "标准数量偏差范围 [标准品特有]",
  30535. "type": "integer"
  30536. }
  30537. }
  30538. },
  30539. "models.ErmcpFuturesCompany": {
  30540. "type": "object",
  30541. "properties": {
  30542. "brokerid": {
  30543. "description": "经纪公司代码",
  30544. "type": "string"
  30545. },
  30546. "channeladdress": {
  30547. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  30548. "type": "string"
  30549. },
  30550. "channelid": {
  30551. "description": "对冲渠道ID",
  30552. "type": "string"
  30553. },
  30554. "createtime": {
  30555. "description": "创建时间",
  30556. "type": "string"
  30557. },
  30558. "creatorid": {
  30559. "description": "创建人",
  30560. "type": "string"
  30561. },
  30562. "fcid": {
  30563. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  30564. "type": "integer"
  30565. },
  30566. "fcname": {
  30567. "description": "期货公司名称",
  30568. "type": "string"
  30569. },
  30570. "isvalid": {
  30571. "description": "是否有效 - 0:无效 1:有效",
  30572. "type": "integer"
  30573. },
  30574. "mhpaddress": {
  30575. "description": "MHP服务地址(IP:Port)",
  30576. "type": "string"
  30577. },
  30578. "riskrulegroupid": {
  30579. "description": "风控规则组ID",
  30580. "type": "string"
  30581. },
  30582. "tradefeetmpid": {
  30583. "description": "手续费模板ID[TradeConfigTmpType为2]",
  30584. "type": "string"
  30585. },
  30586. "trademargintmpid": {
  30587. "description": "保证金模板ID [TradeConfigTmpType为1]",
  30588. "type": "string"
  30589. },
  30590. "traderatetmpid": {
  30591. "description": "汇率模板ID[TradeConfigTmpType为3]",
  30592. "type": "string"
  30593. },
  30594. "updatetime": {
  30595. "description": "更新时间",
  30596. "type": "string"
  30597. },
  30598. "updatorid": {
  30599. "description": "更新人",
  30600. "type": "string"
  30601. }
  30602. }
  30603. },
  30604. "models.ErmcpGGConvertCfg": {
  30605. "type": "object",
  30606. "properties": {
  30607. "convertratio": {
  30608. "description": "折算系数",
  30609. "type": "number"
  30610. },
  30611. "destgoodsgroupid": {
  30612. "description": "目标品种ID",
  30613. "type": "integer"
  30614. },
  30615. "dstcode": {
  30616. "description": "目录品种代码",
  30617. "type": "string"
  30618. },
  30619. "dstexchangecode": {
  30620. "description": "目标期货交易所",
  30621. "type": "string"
  30622. },
  30623. "dstname": {
  30624. "description": "目标品种名称",
  30625. "type": "string"
  30626. },
  30627. "dstunitid": {
  30628. "description": "目标品种单位ID",
  30629. "type": "integer"
  30630. },
  30631. "dstunitidname": {
  30632. "description": "目标品种单位名称",
  30633. "type": "string"
  30634. },
  30635. "modifytime": {
  30636. "description": "修改时间",
  30637. "type": "string"
  30638. },
  30639. "srccode": {
  30640. "description": "源品种代码",
  30641. "type": "string"
  30642. },
  30643. "srcexchangecode": {
  30644. "description": "源期货交易所",
  30645. "type": "string"
  30646. },
  30647. "srcgoodsgroupid": {
  30648. "description": "源品种ID",
  30649. "type": "integer"
  30650. },
  30651. "srcname": {
  30652. "description": "源品种名称",
  30653. "type": "string"
  30654. },
  30655. "srcunitid": {
  30656. "description": "源品种单位ID",
  30657. "type": "integer"
  30658. },
  30659. "srcunitidname": {
  30660. "description": "源品种单位名称",
  30661. "type": "string"
  30662. }
  30663. }
  30664. },
  30665. "models.ErmcpGoods": {
  30666. "type": "object",
  30667. "required": [
  30668. "goodscode",
  30669. "goodsid",
  30670. "goodsname",
  30671. "marketid"
  30672. ],
  30673. "properties": {
  30674. "agreeunit": {
  30675. "description": "合约单位",
  30676. "type": "number"
  30677. },
  30678. "areauserid": {
  30679. "description": "所属机构",
  30680. "type": "integer"
  30681. },
  30682. "auditaccountid": {
  30683. "description": "审核操作员账号",
  30684. "type": "integer"
  30685. },
  30686. "audittime": {
  30687. "description": "审核时间",
  30688. "type": "string"
  30689. },
  30690. "cancelaccountid": {
  30691. "description": "注销操作员账号",
  30692. "type": "integer"
  30693. },
  30694. "canceltime": {
  30695. "description": "注销时间",
  30696. "type": "string"
  30697. },
  30698. "closepricemode": {
  30699. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30700. "type": "integer"
  30701. },
  30702. "closepriceparam": {
  30703. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30704. "type": "number"
  30705. },
  30706. "createtime": {
  30707. "description": "创建时间",
  30708. "type": "string"
  30709. },
  30710. "creatorid": {
  30711. "description": "创建人",
  30712. "type": "integer"
  30713. },
  30714. "currencyid": {
  30715. "description": "报价货币ID",
  30716. "type": "integer"
  30717. },
  30718. "cutmode": {
  30719. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30720. "type": "integer"
  30721. },
  30722. "decimalplace": {
  30723. "description": "报价小数位",
  30724. "type": "integer"
  30725. },
  30726. "delistingdate": {
  30727. "description": "商品退市时间(状态:退市) -- 已作废",
  30728. "type": "string"
  30729. },
  30730. "delistingmode": {
  30731. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30732. "type": "integer"
  30733. },
  30734. "deliveryflag": {
  30735. "description": "交割标志 - 0:不可交割 1:可交割",
  30736. "type": "integer"
  30737. },
  30738. "enumdicname": {
  30739. "description": "单位名称",
  30740. "type": "string"
  30741. },
  30742. "forceclosemode": {
  30743. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30744. "type": "integer"
  30745. },
  30746. "forceclosevalue": {
  30747. "description": "定期强平参数 [收益权]",
  30748. "type": "integer"
  30749. },
  30750. "goodscode": {
  30751. "description": "商品代码(内部)",
  30752. "type": "string"
  30753. },
  30754. "goodscurrencyid": {
  30755. "description": "合约货币ID",
  30756. "type": "integer"
  30757. },
  30758. "goodsgroupid": {
  30759. "description": "所属商品组ID",
  30760. "type": "integer"
  30761. },
  30762. "goodsid": {
  30763. "description": "商品ID(自增ID SEQ_GOODS)",
  30764. "type": "integer"
  30765. },
  30766. "goodsname": {
  30767. "description": "商品名称",
  30768. "type": "string"
  30769. },
  30770. "goodsquotetype": {
  30771. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30772. "type": "integer"
  30773. },
  30774. "goodsstatus": {
  30775. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30776. "type": "integer"
  30777. },
  30778. "goodstradetype": {
  30779. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30780. "type": "integer"
  30781. },
  30782. "goodunitid": {
  30783. "description": "报价单位ID",
  30784. "type": "integer"
  30785. },
  30786. "hasquoter": {
  30787. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30788. "type": "integer"
  30789. },
  30790. "hqprotecttime": {
  30791. "description": "行情保护时间(秒)",
  30792. "type": "integer"
  30793. },
  30794. "innerdealmode": {
  30795. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30796. "type": "integer"
  30797. },
  30798. "isbuylimited": {
  30799. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30800. "type": "integer"
  30801. },
  30802. "isvisible": {
  30803. "description": "游客是否可见 - 0:不可见 1:可见",
  30804. "type": "integer"
  30805. },
  30806. "lasttradedate": {
  30807. "description": "最后交易日期(状态:待退市)",
  30808. "type": "string"
  30809. },
  30810. "listingdate": {
  30811. "description": "交易开始日期",
  30812. "type": "string"
  30813. },
  30814. "marketid": {
  30815. "description": "所属市场ID",
  30816. "type": "integer"
  30817. },
  30818. "modifierid": {
  30819. "description": "修改人",
  30820. "type": "integer"
  30821. },
  30822. "modifystatus": {
  30823. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30824. "type": "integer"
  30825. },
  30826. "modifytime": {
  30827. "description": "修改时间",
  30828. "type": "string"
  30829. },
  30830. "outerdealmode": {
  30831. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30832. "type": "integer"
  30833. },
  30834. "outgoodscode": {
  30835. "description": "商品代码(外部)",
  30836. "type": "string"
  30837. },
  30838. "pictureurl": {
  30839. "description": "商品图片",
  30840. "type": "string"
  30841. },
  30842. "qtydecimalplace": {
  30843. "description": "成交量小数位",
  30844. "type": "integer"
  30845. },
  30846. "quotegear": {
  30847. "description": "行情档位(1-10)",
  30848. "type": "integer"
  30849. },
  30850. "quoteminunit": {
  30851. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30852. "type": "integer"
  30853. },
  30854. "quoteshowtype": {
  30855. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30856. "type": "integer"
  30857. },
  30858. "quoteshowtypeinterval": {
  30859. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30860. "type": "integer"
  30861. },
  30862. "relatedgoodsid": {
  30863. "description": "关联参考商品ID",
  30864. "type": "integer"
  30865. },
  30866. "remark": {
  30867. "description": "备注",
  30868. "type": "string"
  30869. },
  30870. "trademode": {
  30871. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30872. "type": "integer"
  30873. }
  30874. }
  30875. },
  30876. "models.ErmcpGoodsBrand": {
  30877. "type": "object",
  30878. "properties": {
  30879. "areauserid": {
  30880. "description": "所属机构",
  30881. "type": "integer"
  30882. },
  30883. "brandid": {
  30884. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  30885. "type": "integer"
  30886. },
  30887. "brandname": {
  30888. "description": "品牌名称",
  30889. "type": "string"
  30890. },
  30891. "createtime": {
  30892. "description": "创建时间",
  30893. "type": "string"
  30894. },
  30895. "creatorid": {
  30896. "description": "创建人",
  30897. "type": "integer"
  30898. },
  30899. "creatorsrc": {
  30900. "description": "创建人来源 - 1:管理端 2:终端",
  30901. "type": "integer"
  30902. },
  30903. "deliverygoodsid": {
  30904. "description": "现货品种ID",
  30905. "type": "integer"
  30906. },
  30907. "isvalid": {
  30908. "description": "是否有效 - 0:无效 1:有效",
  30909. "type": "integer"
  30910. },
  30911. "updatetime": {
  30912. "description": "更新时间",
  30913. "type": "string"
  30914. },
  30915. "updatorid": {
  30916. "description": "更新人",
  30917. "type": "integer"
  30918. },
  30919. "updatorsrc": {
  30920. "description": "更新人来源 - 1:管理端 2:终端",
  30921. "type": "integer"
  30922. },
  30923. "wrstandardid": {
  30924. "description": "现货商品ID",
  30925. "type": "integer"
  30926. }
  30927. }
  30928. },
  30929. "models.ErmcpGoodsModel": {
  30930. "type": "object",
  30931. "properties": {
  30932. "areauserid": {
  30933. "description": "所属机构",
  30934. "type": "integer"
  30935. },
  30936. "convertfactor": {
  30937. "description": "标仓系数",
  30938. "type": "number"
  30939. },
  30940. "createtime": {
  30941. "description": "创建时间",
  30942. "type": "string"
  30943. },
  30944. "creatorid": {
  30945. "description": "创建人",
  30946. "type": "integer"
  30947. },
  30948. "creatorsrc": {
  30949. "description": "创建人来源 - 1:管理端 2:终端",
  30950. "type": "integer"
  30951. },
  30952. "deliverygoodsid": {
  30953. "description": "现货品种ID",
  30954. "type": "integer"
  30955. },
  30956. "isvalid": {
  30957. "description": "是否有效 - 0:无效 1:有效",
  30958. "type": "integer"
  30959. },
  30960. "modelid": {
  30961. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  30962. "type": "integer"
  30963. },
  30964. "modelname": {
  30965. "description": "型号名称",
  30966. "type": "string"
  30967. },
  30968. "updatetime": {
  30969. "description": "更新时间",
  30970. "type": "string"
  30971. },
  30972. "updatorid": {
  30973. "description": "更新人",
  30974. "type": "integer"
  30975. },
  30976. "updatorsrc": {
  30977. "description": "更新人来源 - 1:管理端 2:终端",
  30978. "type": "integer"
  30979. },
  30980. "wrstandardid": {
  30981. "description": "现货商品ID",
  30982. "type": "integer"
  30983. }
  30984. }
  30985. },
  30986. "models.ErmcpHisExposure": {
  30987. "type": "object",
  30988. "properties": {
  30989. "needhedgeexposoure": {
  30990. "description": "应套保敞口",
  30991. "type": "number"
  30992. },
  30993. "reckondate": {
  30994. "description": "日照时期(yyyyMMdd)",
  30995. "type": "string"
  30996. },
  30997. "totalexposure": {
  30998. "description": "总敞口",
  30999. "type": "number"
  31000. }
  31001. }
  31002. },
  31003. "models.ErmcpLoginTaAccount": {
  31004. "type": "object",
  31005. "properties": {
  31006. "accountid": {
  31007. "description": "账号id",
  31008. "type": "integer"
  31009. },
  31010. "accountname": {
  31011. "description": "账号名称",
  31012. "type": "string"
  31013. }
  31014. }
  31015. },
  31016. "models.ErmcpLoginUser": {
  31017. "type": "object",
  31018. "properties": {
  31019. "acclist": {
  31020. "description": "关联资金账号",
  31021. "type": "array",
  31022. "items": {
  31023. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  31024. }
  31025. },
  31026. "accountname": {
  31027. "description": "用户名称",
  31028. "type": "string"
  31029. },
  31030. "clientroleid": {
  31031. "description": "角色id(usertype=2)",
  31032. "type": "integer"
  31033. },
  31034. "createtime": {
  31035. "description": "创建时间",
  31036. "type": "string"
  31037. },
  31038. "logincode": {
  31039. "description": "登录代码",
  31040. "type": "string"
  31041. },
  31042. "loginid": {
  31043. "description": "登录id(LOGINID)",
  31044. "type": "integer"
  31045. },
  31046. "loginname": {
  31047. "description": "登录名称(loginaccount表中的accountname字段)",
  31048. "type": "string"
  31049. },
  31050. "loginstatus": {
  31051. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  31052. "type": "integer"
  31053. },
  31054. "memberuserid": {
  31055. "description": "所属会员id",
  31056. "type": "integer"
  31057. },
  31058. "mobile": {
  31059. "description": "手机号",
  31060. "type": "string"
  31061. },
  31062. "modifytime": {
  31063. "description": "修改时间",
  31064. "type": "string"
  31065. },
  31066. "password": {
  31067. "description": "密码(不可解密)",
  31068. "type": "string"
  31069. },
  31070. "rolename": {
  31071. "description": "角色名称",
  31072. "type": "string"
  31073. },
  31074. "rolestatus": {
  31075. "description": "角色状态 1-启用 2-停用",
  31076. "type": "integer"
  31077. },
  31078. "roletype": {
  31079. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  31080. "type": "string"
  31081. },
  31082. "userid": {
  31083. "description": "用户id",
  31084. "type": "integer"
  31085. },
  31086. "usertype": {
  31087. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31088. "type": "integer"
  31089. }
  31090. }
  31091. },
  31092. "models.ErmcpLoginUserEx": {
  31093. "type": "object",
  31094. "properties": {
  31095. "accountstatus": {
  31096. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31097. "type": "integer"
  31098. },
  31099. "mobile": {
  31100. "description": "手机号",
  31101. "type": "string"
  31102. },
  31103. "querytype": {
  31104. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  31105. "type": "integer"
  31106. },
  31107. "roleid": {
  31108. "description": "角色id(交易账户-\u003e用户id)",
  31109. "type": "integer"
  31110. },
  31111. "rolename": {
  31112. "description": "角色名称(交易账户-\u003e用户名称)",
  31113. "type": "string"
  31114. },
  31115. "userlist": {
  31116. "description": "用户列表",
  31117. "type": "array",
  31118. "items": {
  31119. "$ref": "#/definitions/models.ErmcpLoginUser"
  31120. }
  31121. },
  31122. "usertype": {
  31123. "description": "用户类型 2-机构 7-企业成员(云平台)",
  31124. "type": "integer"
  31125. }
  31126. }
  31127. },
  31128. "models.ErmcpMiddleGoodsModel": {
  31129. "type": "object",
  31130. "properties": {
  31131. "areauserid": {
  31132. "description": "机构用户ID",
  31133. "type": "integer"
  31134. },
  31135. "createtime": {
  31136. "description": "修改时间",
  31137. "type": "string"
  31138. },
  31139. "enumdicname": {
  31140. "description": "单位名称",
  31141. "type": "string"
  31142. },
  31143. "evaluateratio": {
  31144. "description": "估价系数",
  31145. "type": "number"
  31146. },
  31147. "goodsgroupid": {
  31148. "description": "关联期货品种ID",
  31149. "type": "integer"
  31150. },
  31151. "goodsunitid": {
  31152. "description": "单位ID",
  31153. "type": "integer"
  31154. },
  31155. "isvalid": {
  31156. "description": "状态 0-无效(停用) 1-有效(正常)",
  31157. "type": "integer"
  31158. },
  31159. "middlegoodscode": {
  31160. "description": "套保品种代码",
  31161. "type": "string"
  31162. },
  31163. "middlegoodsid": {
  31164. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  31165. "type": "integer"
  31166. },
  31167. "middlegoodsname": {
  31168. "description": "套保品种名称",
  31169. "type": "string"
  31170. },
  31171. "modifytime": {
  31172. "description": "修改时间",
  31173. "type": "string"
  31174. },
  31175. "needarbitrageratio": {
  31176. "description": "套利比例",
  31177. "type": "number"
  31178. },
  31179. "needhedgeratio": {
  31180. "description": "套保比率",
  31181. "type": "number"
  31182. },
  31183. "qtydecimalplace": {
  31184. "description": "数量小数位",
  31185. "type": "integer"
  31186. },
  31187. "relatedgoodsid": {
  31188. "description": "关联交易商品ID",
  31189. "type": "integer"
  31190. },
  31191. "relatedgoodstype": {
  31192. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  31193. "type": "integer"
  31194. },
  31195. "remark": {
  31196. "description": "备注",
  31197. "type": "string"
  31198. }
  31199. }
  31200. },
  31201. "models.ErmcpMiddlegoodsRelateGoods": {
  31202. "type": "object",
  31203. "properties": {
  31204. "agreeunit": {
  31205. "description": "合约乘数",
  31206. "type": "number"
  31207. },
  31208. "convertratio": {
  31209. "description": "折算系数",
  31210. "type": "number"
  31211. },
  31212. "enumdicname": {
  31213. "description": "单位名称(交易商品)",
  31214. "type": "string"
  31215. },
  31216. "goodscode": {
  31217. "description": "交易商品代码",
  31218. "type": "string"
  31219. },
  31220. "goodsgroupid": {
  31221. "description": "交易品种id",
  31222. "type": "integer"
  31223. },
  31224. "goodsid": {
  31225. "description": "商品Id",
  31226. "type": "integer"
  31227. },
  31228. "goodsname": {
  31229. "description": "交易商品名称",
  31230. "type": "string"
  31231. },
  31232. "goodunitid": {
  31233. "description": "交易商品单位id",
  31234. "type": "integer"
  31235. },
  31236. "middlegoodsid": {
  31237. "description": "套保商品id",
  31238. "type": "integer"
  31239. },
  31240. "middlegoodsname": {
  31241. "description": "套保商品名称",
  31242. "type": "string"
  31243. },
  31244. "middlegoodsswcode": {
  31245. "description": "套保商品代码",
  31246. "type": "string"
  31247. },
  31248. "needarbitrageratio": {
  31249. "description": "应套利比例",
  31250. "type": "number"
  31251. },
  31252. "needhedgeratio": {
  31253. "description": "应套保比例",
  31254. "type": "number"
  31255. }
  31256. }
  31257. },
  31258. "models.ErmcpRole": {
  31259. "type": "object",
  31260. "properties": {
  31261. "areauserid": {
  31262. "description": "所属机构",
  31263. "type": "integer"
  31264. },
  31265. "autoid": {
  31266. "description": "角色ID(自增ID)",
  31267. "type": "integer"
  31268. },
  31269. "modifierid": {
  31270. "description": "修改人(创建人)",
  31271. "type": "integer"
  31272. },
  31273. "modifiername": {
  31274. "description": "修改人名称",
  31275. "type": "string"
  31276. },
  31277. "modifytime": {
  31278. "description": "修改时间(创建时间)",
  31279. "type": "string"
  31280. },
  31281. "rolename": {
  31282. "description": "角色名称",
  31283. "type": "string"
  31284. },
  31285. "rolestatus": {
  31286. "description": "角色状态 - 1:启用 2:停用",
  31287. "type": "integer"
  31288. },
  31289. "roletype": {
  31290. "description": "角色类型 - 1- 管理端 2- 交易端",
  31291. "type": "integer"
  31292. }
  31293. }
  31294. },
  31295. "models.ErmcpRoleMenu": {
  31296. "type": "object",
  31297. "properties": {
  31298. "iconame": {
  31299. "description": "菜单图标",
  31300. "type": "string"
  31301. },
  31302. "ishadrole": {
  31303. "description": "是否有权限",
  31304. "type": "boolean"
  31305. },
  31306. "menutype": {
  31307. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  31308. "type": "integer"
  31309. },
  31310. "parentcode": {
  31311. "description": "上级资源代码",
  31312. "type": "string"
  31313. },
  31314. "remark": {
  31315. "description": "菜单备注",
  31316. "type": "string"
  31317. },
  31318. "resourcecode": {
  31319. "description": "菜单代码",
  31320. "type": "string"
  31321. },
  31322. "resourcelevel": {
  31323. "description": "级别",
  31324. "type": "integer"
  31325. },
  31326. "resourcename": {
  31327. "description": "菜单名称",
  31328. "type": "string"
  31329. },
  31330. "roleid": {
  31331. "description": "角色id",
  31332. "type": "integer"
  31333. },
  31334. "sort": {
  31335. "description": "排序",
  31336. "type": "integer"
  31337. },
  31338. "url": {
  31339. "description": "URL",
  31340. "type": "string"
  31341. },
  31342. "userid": {
  31343. "description": "用户id",
  31344. "type": "integer"
  31345. }
  31346. }
  31347. },
  31348. "models.ErmcpRoleMenuEx": {
  31349. "type": "object",
  31350. "properties": {
  31351. "menu": {
  31352. "description": "父级菜单",
  31353. "$ref": "#/definitions/models.ErmcpRoleMenu"
  31354. },
  31355. "subMenu": {
  31356. "description": "子级菜单",
  31357. "type": "array",
  31358. "items": {
  31359. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  31360. }
  31361. }
  31362. }
  31363. },
  31364. "models.ErmcpSpotContractModelEx": {
  31365. "type": "object",
  31366. "properties": {
  31367. "accountname": {
  31368. "description": "套期主体",
  31369. "type": "string"
  31370. },
  31371. "amount": {
  31372. "description": "金额 [1:一口价、3:暂定价]",
  31373. "type": "number"
  31374. },
  31375. "attachment": {
  31376. "description": "附件",
  31377. "type": "string"
  31378. },
  31379. "auditremark": {
  31380. "description": "审核意见",
  31381. "type": "string"
  31382. },
  31383. "audittime": {
  31384. "description": "审核时间",
  31385. "type": "string"
  31386. },
  31387. "avgprice": {
  31388. "description": "定价均价 = 已定价金额 / 已定价量",
  31389. "type": "number"
  31390. },
  31391. "brandname": {
  31392. "description": "品牌名称",
  31393. "type": "string"
  31394. },
  31395. "buyuserid": {
  31396. "description": "采购方ID",
  31397. "type": "integer"
  31398. },
  31399. "buyusername": {
  31400. "description": "采购方名称",
  31401. "type": "string"
  31402. },
  31403. "contracctstatus": {
  31404. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  31405. "type": "integer"
  31406. },
  31407. "contractmargin": {
  31408. "description": "合同保证金",
  31409. "type": "number"
  31410. },
  31411. "contractno": {
  31412. "description": "[合同编号]现货合同编号",
  31413. "type": "string"
  31414. },
  31415. "contracttype": {
  31416. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  31417. "type": "integer"
  31418. },
  31419. "convertfactor": {
  31420. "description": "标仓系数",
  31421. "type": "number"
  31422. },
  31423. "createtime": {
  31424. "description": "创建时间",
  31425. "type": "string"
  31426. },
  31427. "customername": {
  31428. "description": "对手方",
  31429. "type": "string"
  31430. },
  31431. "customeruserid": {
  31432. "description": "客户ID",
  31433. "type": "integer"
  31434. },
  31435. "deliveryenddate": {
  31436. "description": "交收期(结束)",
  31437. "type": "string"
  31438. },
  31439. "deliverygoodscode": {
  31440. "description": "现货品种代码",
  31441. "type": "string"
  31442. },
  31443. "deliverygoodsid": {
  31444. "description": "现货品种ID",
  31445. "type": "integer"
  31446. },
  31447. "deliverygoodsname": {
  31448. "description": "现货品种名称",
  31449. "type": "string"
  31450. },
  31451. "deliverystartdate": {
  31452. "description": "交收期(开始)",
  31453. "type": "string"
  31454. },
  31455. "enddate": {
  31456. "description": "点价结束日期 [2:点价 3:暂定价]",
  31457. "type": "string"
  31458. },
  31459. "enumdicname": {
  31460. "description": "单位名称",
  31461. "type": "string"
  31462. },
  31463. "goodscode": {
  31464. "description": "点价合约代码",
  31465. "type": "string"
  31466. },
  31467. "goodsid": {
  31468. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  31469. "type": "integer"
  31470. },
  31471. "goodsname": {
  31472. "description": "点价商品名称",
  31473. "type": "string"
  31474. },
  31475. "isrelated": {
  31476. "description": "是否已关联计划项目 - 0:否 1:是",
  31477. "type": "integer"
  31478. },
  31479. "isrelated2": {
  31480. "description": "是否已关联现货项目 - 0:否 1:是",
  31481. "type": "integer"
  31482. },
  31483. "margin": {
  31484. "description": "当前保证金",
  31485. "type": "number"
  31486. },
  31487. "modelname": {
  31488. "description": "型号名称",
  31489. "type": "string"
  31490. },
  31491. "price": {
  31492. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  31493. "type": "number"
  31494. },
  31495. "pricedamount": {
  31496. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  31497. "type": "number"
  31498. },
  31499. "pricedqty": {
  31500. "description": "已定价量",
  31501. "type": "number"
  31502. },
  31503. "pricemove": {
  31504. "description": "升贴水 [2:点价 3:暂定价]",
  31505. "type": "number"
  31506. },
  31507. "pricetype": {
  31508. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  31509. "type": "integer"
  31510. },
  31511. "producttype": {
  31512. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  31513. "type": "integer"
  31514. },
  31515. "qty": {
  31516. "description": "[合同数量]数量",
  31517. "type": "number"
  31518. },
  31519. "remark": {
  31520. "description": "备注",
  31521. "type": "string"
  31522. },
  31523. "selluserid": {
  31524. "description": "销售方ID",
  31525. "type": "integer"
  31526. },
  31527. "sellusername": {
  31528. "description": "销售方名称",
  31529. "type": "string"
  31530. },
  31531. "spotamount": {
  31532. "description": "合同现货金额 [不含升贴水]",
  31533. "type": "number"
  31534. },
  31535. "spotavgprice": {
  31536. "description": "现货均价 = 合同现货金额 / 已定价量",
  31537. "type": "number"
  31538. },
  31539. "spotcontractid": {
  31540. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  31541. "type": "string"
  31542. },
  31543. "spotgoodsbrandid": {
  31544. "description": "现货品牌ID",
  31545. "type": "integer"
  31546. },
  31547. "spotgoodsdesc": {
  31548. "description": "商品型号",
  31549. "type": "string"
  31550. },
  31551. "spotgoodsmodelid": {
  31552. "description": "现货型号ID",
  31553. "type": "integer"
  31554. },
  31555. "startdate": {
  31556. "description": "点价开始日期 [2:点价 3:暂定价]",
  31557. "type": "string"
  31558. },
  31559. "tradeuserid": {
  31560. "description": "交易用户ID",
  31561. "type": "integer"
  31562. },
  31563. "unpricedqty": {
  31564. "description": "未定价量 = 合同数量 - 已定价量",
  31565. "type": "number"
  31566. },
  31567. "updatetime": {
  31568. "description": "更新时间",
  31569. "type": "string"
  31570. },
  31571. "userid": {
  31572. "description": "机构ID",
  31573. "type": "integer"
  31574. },
  31575. "wrstandardcode": {
  31576. "description": "现货商品代码",
  31577. "type": "string"
  31578. },
  31579. "wrstandardid": {
  31580. "description": "现货商品ID",
  31581. "type": "integer"
  31582. },
  31583. "wrstandardname": {
  31584. "description": "[现货商品]现货商品名称",
  31585. "type": "string"
  31586. }
  31587. }
  31588. },
  31589. "models.ErmcpTaAccount": {
  31590. "type": "object",
  31591. "properties": {
  31592. "accountid": {
  31593. "description": "账户id",
  31594. "type": "integer"
  31595. },
  31596. "accountname": {
  31597. "description": "账户名称",
  31598. "type": "string"
  31599. },
  31600. "currencyid": {
  31601. "description": "币种id",
  31602. "type": "integer"
  31603. },
  31604. "hedgeaccountcode": {
  31605. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  31606. "type": "string"
  31607. },
  31608. "ismain": {
  31609. "description": "是否主账户 0-否 1-是",
  31610. "type": "integer"
  31611. },
  31612. "parentaccountid": {
  31613. "description": "父账户id",
  31614. "type": "integer"
  31615. },
  31616. "relateduserid": {
  31617. "description": "关联userid",
  31618. "type": "integer"
  31619. },
  31620. "tradefeetmpid": {
  31621. "description": "手续费模板id",
  31622. "type": "integer"
  31623. },
  31624. "tradefeetmpname": {
  31625. "description": "手续费模板名称",
  31626. "type": "string"
  31627. },
  31628. "trademargintmpid": {
  31629. "description": "保证金模板id",
  31630. "type": "integer"
  31631. },
  31632. "trademargintmpname": {
  31633. "description": "保证金模板名称",
  31634. "type": "string"
  31635. },
  31636. "traderatetmpid": {
  31637. "description": "汇率模板id",
  31638. "type": "integer"
  31639. },
  31640. "traderatetmpname": {
  31641. "description": "汇率模板名称",
  31642. "type": "string"
  31643. },
  31644. "tradestatus": {
  31645. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31646. "type": "integer"
  31647. },
  31648. "userid": {
  31649. "description": "用户id",
  31650. "type": "integer"
  31651. }
  31652. }
  31653. },
  31654. "models.ErmcpTaAccountEx": {
  31655. "type": "object",
  31656. "properties": {
  31657. "mainAcc": {
  31658. "description": "主账号",
  31659. "$ref": "#/definitions/models.ErmcpTaAccountM"
  31660. },
  31661. "subacclist": {
  31662. "description": "子账号列表",
  31663. "type": "array",
  31664. "items": {
  31665. "$ref": "#/definitions/models.ErmcpTaAccount"
  31666. }
  31667. }
  31668. }
  31669. },
  31670. "models.ErmcpTaAccountInfo": {
  31671. "type": "object",
  31672. "properties": {
  31673. "accountid": {
  31674. "description": "资金账户ID",
  31675. "type": "integer"
  31676. },
  31677. "accountname": {
  31678. "description": "账户名称",
  31679. "type": "string"
  31680. },
  31681. "balance": {
  31682. "description": "期初余额",
  31683. "type": "number"
  31684. },
  31685. "capitalbalance": {
  31686. "description": "本金余额[外部子账户实际出入金余额]",
  31687. "type": "number"
  31688. },
  31689. "closepl": {
  31690. "description": "今日平仓盈亏",
  31691. "type": "number"
  31692. },
  31693. "creditdecrease": {
  31694. "description": "今日授信减少",
  31695. "type": "number"
  31696. },
  31697. "creditincrease": {
  31698. "description": "今日授信增加",
  31699. "type": "number"
  31700. },
  31701. "curdebt": {
  31702. "description": "期末欠款",
  31703. "type": "number"
  31704. },
  31705. "currencyid": {
  31706. "description": "货币ID",
  31707. "type": "integer"
  31708. },
  31709. "currentbalance": {
  31710. "description": "期末余额",
  31711. "type": "number"
  31712. },
  31713. "freezecharge": {
  31714. "description": "手续费冻结",
  31715. "type": "number"
  31716. },
  31717. "freezemargin": {
  31718. "description": "冻结保证金",
  31719. "type": "number"
  31720. },
  31721. "fromaccountid": {
  31722. "description": "所属上级账户",
  31723. "type": "integer"
  31724. },
  31725. "inamount": {
  31726. "description": "今日入金金额(包括三方入金)",
  31727. "type": "number"
  31728. },
  31729. "ismain": {
  31730. "description": "是否母账号 0:不是母账户 1:是母账户",
  31731. "type": "integer"
  31732. },
  31733. "mortgagecredit": {
  31734. "description": "授信金额",
  31735. "type": "number"
  31736. },
  31737. "oridebt": {
  31738. "description": "期初欠款",
  31739. "type": "number"
  31740. },
  31741. "orifreezecharge": {
  31742. "description": "期初手续费冻结",
  31743. "type": "number"
  31744. },
  31745. "orifreezemargin": {
  31746. "description": "期初冻结保证金",
  31747. "type": "number"
  31748. },
  31749. "orimortgagecredit": {
  31750. "description": "期初授信金额",
  31751. "type": "number"
  31752. },
  31753. "oriothercredit": {
  31754. "description": "期初其它授信金额",
  31755. "type": "number"
  31756. },
  31757. "oriotherfreezemargin": {
  31758. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  31759. "type": "number"
  31760. },
  31761. "orioutamountfreeze": {
  31762. "description": "期初出金冻结",
  31763. "type": "number"
  31764. },
  31765. "oriusedmargin": {
  31766. "description": "期初占用保证金",
  31767. "type": "number"
  31768. },
  31769. "othercredit": {
  31770. "description": "其它授信金额",
  31771. "type": "number"
  31772. },
  31773. "othercreditdecrease": {
  31774. "description": "今日其它授信减少",
  31775. "type": "number"
  31776. },
  31777. "othercreditincrease": {
  31778. "description": "今日其它授信增加",
  31779. "type": "number"
  31780. },
  31781. "otherfreezemargin": {
  31782. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  31783. "type": "number"
  31784. },
  31785. "outamount": {
  31786. "description": "今日出金金额(包括三方出金)",
  31787. "type": "number"
  31788. },
  31789. "outamountfreeze": {
  31790. "description": "出金冻结",
  31791. "type": "number"
  31792. },
  31793. "outthreshold": {
  31794. "description": "出金阈值",
  31795. "type": "number"
  31796. },
  31797. "parentaccountid": {
  31798. "description": "所属根账号",
  31799. "type": "integer"
  31800. },
  31801. "paycharge": {
  31802. "description": "今日手续费支出",
  31803. "type": "number"
  31804. },
  31805. "relateduserid": {
  31806. "description": "关联用户",
  31807. "type": "integer"
  31808. },
  31809. "signstatus": {
  31810. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  31811. "type": "integer"
  31812. },
  31813. "sublevelpath": {
  31814. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  31815. "type": "string"
  31816. },
  31817. "taaccounttype": {
  31818. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  31819. "type": "integer"
  31820. },
  31821. "thirdinamount": {
  31822. "description": "今日三方入金",
  31823. "type": "number"
  31824. },
  31825. "thirdoutamount": {
  31826. "description": "今日三方出金",
  31827. "type": "number"
  31828. },
  31829. "tradestatus": {
  31830. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31831. "type": "integer"
  31832. },
  31833. "transferamount": {
  31834. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  31835. "type": "number"
  31836. },
  31837. "usedmargin": {
  31838. "description": "占用保证金",
  31839. "type": "number"
  31840. },
  31841. "userid": {
  31842. "description": "用户ID",
  31843. "type": "integer"
  31844. }
  31845. }
  31846. },
  31847. "models.ErmcpTaAccountM": {
  31848. "type": "object",
  31849. "properties": {
  31850. "accountid": {
  31851. "description": "账户id",
  31852. "type": "integer"
  31853. },
  31854. "accountname": {
  31855. "description": "账户名称",
  31856. "type": "string"
  31857. },
  31858. "currencyid": {
  31859. "description": "币种id",
  31860. "type": "integer"
  31861. },
  31862. "fcid": {
  31863. "description": "期货公司id",
  31864. "type": "integer"
  31865. },
  31866. "fcname": {
  31867. "description": "期货公司代码",
  31868. "type": "string"
  31869. },
  31870. "hedgeaccountcode": {
  31871. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  31872. "type": "string"
  31873. },
  31874. "ismain": {
  31875. "description": "是否主账户 0-否 1-是",
  31876. "type": "integer"
  31877. },
  31878. "parentaccountid": {
  31879. "description": "父账户id",
  31880. "type": "integer"
  31881. },
  31882. "relateduserid": {
  31883. "description": "关联userid",
  31884. "type": "integer"
  31885. },
  31886. "tradefeetmpid": {
  31887. "description": "手续费模板id",
  31888. "type": "integer"
  31889. },
  31890. "tradefeetmpname": {
  31891. "description": "手续费模板名称",
  31892. "type": "string"
  31893. },
  31894. "trademargintmpid": {
  31895. "description": "保证金模板id",
  31896. "type": "integer"
  31897. },
  31898. "trademargintmpname": {
  31899. "description": "保证金模板名称",
  31900. "type": "string"
  31901. },
  31902. "traderatetmpid": {
  31903. "description": "汇率模板id",
  31904. "type": "integer"
  31905. },
  31906. "traderatetmpname": {
  31907. "description": "汇率模板名称",
  31908. "type": "string"
  31909. },
  31910. "tradestatus": {
  31911. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  31912. "type": "integer"
  31913. },
  31914. "userid": {
  31915. "description": "用户id",
  31916. "type": "integer"
  31917. }
  31918. }
  31919. },
  31920. "models.ErmcpTradeConfigTMP": {
  31921. "type": "object",
  31922. "properties": {
  31923. "areauserid": {
  31924. "description": "所属机构",
  31925. "type": "integer"
  31926. },
  31927. "basiccurrencyid": {
  31928. "description": "基本币种ID[汇率] - 目标币种",
  31929. "type": "integer"
  31930. },
  31931. "mainaccountid": {
  31932. "description": "主账户ID",
  31933. "type": "integer"
  31934. },
  31935. "modifierid": {
  31936. "description": "修改人",
  31937. "type": "integer"
  31938. },
  31939. "remark": {
  31940. "description": "备注",
  31941. "type": "string"
  31942. },
  31943. "tradeconfigtmpid": {
  31944. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  31945. "type": "integer"
  31946. },
  31947. "tradeconfigtmpname": {
  31948. "description": "交易配置模板名称",
  31949. "type": "string"
  31950. },
  31951. "tradeconfigtmptype": {
  31952. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  31953. "type": "integer"
  31954. },
  31955. "updatetime": {
  31956. "description": "更新时间",
  31957. "type": "string"
  31958. }
  31959. }
  31960. },
  31961. "models.Ermcpjrlinkpos": {
  31962. "type": "object",
  31963. "required": [
  31964. "spotcontractid"
  31965. ],
  31966. "properties": {
  31967. "areauserid": {
  31968. "description": "所属企业",
  31969. "type": "integer"
  31970. },
  31971. "averageprice": {
  31972. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  31973. "type": "number"
  31974. },
  31975. "closepl": {
  31976. "description": "总平仓盈亏 [期货损益]",
  31977. "type": "number"
  31978. },
  31979. "executeprice": {
  31980. "description": "执行价 - 1:期货单 为 0",
  31981. "type": "integer"
  31982. },
  31983. "futurehedgeqty": {
  31984. "description": "期货套期量",
  31985. "type": "number"
  31986. },
  31987. "goodsid": {
  31988. "description": "期货合约",
  31989. "type": "integer"
  31990. },
  31991. "middlegoodscode": {
  31992. "description": "套保商品代码",
  31993. "type": "string"
  31994. },
  31995. "middlegoodsname": {
  31996. "description": "套保商品名称",
  31997. "type": "string"
  31998. },
  31999. "netqty": {
  32000. "description": "净头寸",
  32001. "type": "number"
  32002. },
  32003. "optioncode": {
  32004. "description": "期权代码",
  32005. "type": "string"
  32006. },
  32007. "ordertype": {
  32008. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32009. "type": "integer"
  32010. },
  32011. "reckonpl": {
  32012. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  32013. "type": "number"
  32014. },
  32015. "spotcontractid": {
  32016. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  32017. "type": "string"
  32018. },
  32019. "todayfutureclosepl": {
  32020. "description": "今日平仓盈亏",
  32021. "type": "number"
  32022. },
  32023. "totalbuyamount": {
  32024. "description": "买金额 [期货]",
  32025. "type": "number"
  32026. },
  32027. "totalbuyholdamount": {
  32028. "description": "买持仓总金额[期货]",
  32029. "type": "number"
  32030. },
  32031. "totalbuyqty": {
  32032. "description": "买数量",
  32033. "type": "number"
  32034. },
  32035. "totalcharge": {
  32036. "description": "手续费",
  32037. "type": "number"
  32038. },
  32039. "totalpremium": {
  32040. "description": "权利金 [期权]",
  32041. "type": "number"
  32042. },
  32043. "totalsellamount": {
  32044. "description": "卖金额 [期货]",
  32045. "type": "number"
  32046. },
  32047. "totalsellholdamount": {
  32048. "description": "卖持仓总金额[期货]",
  32049. "type": "number"
  32050. },
  32051. "totalsellqty": {
  32052. "description": "卖数量",
  32053. "type": "number"
  32054. },
  32055. "updatetime": {
  32056. "description": "更新时间",
  32057. "type": "string"
  32058. }
  32059. }
  32060. },
  32061. "models.Ermcppatradelinkdetail": {
  32062. "type": "object",
  32063. "required": [
  32064. "hedgeditemid"
  32065. ],
  32066. "properties": {
  32067. "agreeunit": {
  32068. "description": "合约乘数",
  32069. "type": "number"
  32070. },
  32071. "amount": {
  32072. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32073. "type": "number"
  32074. },
  32075. "areauserid": {
  32076. "description": "所属机构",
  32077. "type": "integer"
  32078. },
  32079. "bizsubjectid": {
  32080. "description": "归属业务部门ID - SubjectID",
  32081. "type": "integer"
  32082. },
  32083. "buyorsell": {
  32084. "description": "方向 - 0:买 1:卖",
  32085. "type": "integer"
  32086. },
  32087. "convertratio": {
  32088. "description": "品种系数",
  32089. "type": "number"
  32090. },
  32091. "createtime": {
  32092. "description": "创建时间",
  32093. "type": "string"
  32094. },
  32095. "creatorid": {
  32096. "description": "创建人ID",
  32097. "type": "integer"
  32098. },
  32099. "creatorsrc": {
  32100. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32101. "type": "integer"
  32102. },
  32103. "goodsgroupid": {
  32104. "description": "对冲品种ID[期货合约商品组ID]",
  32105. "type": "integer"
  32106. },
  32107. "goodsid": {
  32108. "description": "商品ID",
  32109. "type": "integer"
  32110. },
  32111. "hedgeditemid": {
  32112. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32113. "type": "integer"
  32114. },
  32115. "hedgeflag": {
  32116. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32117. "type": "integer"
  32118. },
  32119. "linkdetailid": {
  32120. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32121. "type": "string"
  32122. },
  32123. "linkstatus": {
  32124. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32125. "type": "integer"
  32126. },
  32127. "middlegoodsid": {
  32128. "description": "套保品种ID",
  32129. "type": "integer"
  32130. },
  32131. "name": {
  32132. "description": "账户名/子账户",
  32133. "type": "string"
  32134. },
  32135. "optioncode": {
  32136. "description": "[期货合约]期权代码 [期权]",
  32137. "type": "string"
  32138. },
  32139. "ordertype": {
  32140. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32141. "type": "integer"
  32142. },
  32143. "relatedlot": {
  32144. "description": "[数量]关联手数",
  32145. "type": "number"
  32146. },
  32147. "relatedmode": {
  32148. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32149. "type": "integer"
  32150. },
  32151. "relatedqty": {
  32152. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32153. "type": "number"
  32154. },
  32155. "retcode": {
  32156. "description": "返回码",
  32157. "type": "integer"
  32158. },
  32159. "saleuserid": {
  32160. "description": "业务员ID",
  32161. "type": "integer"
  32162. },
  32163. "tradedate": {
  32164. "description": "关联交易日(yyyyMMdd)",
  32165. "type": "string"
  32166. },
  32167. "tradeid": {
  32168. "description": "[成交单号]内部成交单ID",
  32169. "type": "string"
  32170. },
  32171. "tradelot": {
  32172. "description": "成交手数",
  32173. "type": "integer"
  32174. },
  32175. "tradeprice": {
  32176. "description": "[价格]成交价格",
  32177. "type": "number"
  32178. },
  32179. "tradetime": {
  32180. "description": "日期时间",
  32181. "type": "string"
  32182. },
  32183. "tradetradedate": {
  32184. "description": "成交交易日(yyyyMMdd)",
  32185. "type": "string"
  32186. }
  32187. }
  32188. },
  32189. "models.Exchangerateconfig": {
  32190. "type": "object",
  32191. "properties": {
  32192. "descurrencyid": {
  32193. "description": "目标币种ID",
  32194. "type": "integer"
  32195. },
  32196. "exchangerate": {
  32197. "description": "汇率",
  32198. "type": "number"
  32199. },
  32200. "oricurrencyid": {
  32201. "description": "源币种ID",
  32202. "type": "integer"
  32203. },
  32204. "remark": {
  32205. "description": "备注",
  32206. "type": "string"
  32207. }
  32208. }
  32209. },
  32210. "models.Externalexchange": {
  32211. "type": "object",
  32212. "required": [
  32213. "autoid"
  32214. ],
  32215. "properties": {
  32216. "autoid": {
  32217. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  32218. "type": "integer"
  32219. },
  32220. "exchangefullname": {
  32221. "description": "外部交易所全称",
  32222. "type": "string"
  32223. },
  32224. "exexchangecode": {
  32225. "description": "外部交易所代码",
  32226. "type": "string"
  32227. },
  32228. "exexchangename": {
  32229. "description": "外部交易所名称(简称)",
  32230. "type": "string"
  32231. },
  32232. "ismarketprice": {
  32233. "description": "是否支持市价 - 0:不支持 1:支持",
  32234. "type": "integer"
  32235. },
  32236. "quotegear": {
  32237. "description": "行情档位(1-10)",
  32238. "type": "integer"
  32239. },
  32240. "showbrokerflag": {
  32241. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  32242. "type": "integer"
  32243. },
  32244. "updatetime": {
  32245. "description": "更新时间",
  32246. "type": "string"
  32247. }
  32248. }
  32249. },
  32250. "models.Funcmenulist": {
  32251. "type": "object",
  32252. "required": [
  32253. "resourcecode"
  32254. ],
  32255. "properties": {
  32256. "iconame": {
  32257. "description": "菜单图标",
  32258. "type": "string"
  32259. },
  32260. "menutype": {
  32261. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  32262. "type": "integer"
  32263. },
  32264. "parentcode": {
  32265. "description": "上级资源代码",
  32266. "type": "string"
  32267. },
  32268. "remark": {
  32269. "description": "备注",
  32270. "type": "string"
  32271. },
  32272. "resourcecode": {
  32273. "description": "资源代码",
  32274. "type": "string"
  32275. },
  32276. "resourcelevel": {
  32277. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  32278. "type": "integer"
  32279. },
  32280. "resourcename": {
  32281. "description": "资源名",
  32282. "type": "string"
  32283. },
  32284. "sort": {
  32285. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  32286. "type": "integer"
  32287. },
  32288. "url": {
  32289. "description": "URL",
  32290. "type": "string"
  32291. }
  32292. }
  32293. },
  32294. "models.Fworderoperate": {
  32295. "type": "object",
  32296. "required": [
  32297. "orderid",
  32298. "status"
  32299. ],
  32300. "properties": {
  32301. "advanceamount": {
  32302. "description": "总预付款",
  32303. "type": "number"
  32304. },
  32305. "advanceproofaddr": {
  32306. "description": "预付款收款凭证(确认结算费用时)",
  32307. "type": "string"
  32308. },
  32309. "bankfee": {
  32310. "description": "汇款银行手续费",
  32311. "type": "number"
  32312. },
  32313. "bankproofaddr": {
  32314. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  32315. "type": "string"
  32316. },
  32317. "customsproofaddr": {
  32318. "description": "海关税费保证金收据(确认结算费用时)",
  32319. "type": "string"
  32320. },
  32321. "logisticsfee": {
  32322. "description": "代缴物流保险费",
  32323. "type": "number"
  32324. },
  32325. "logisticsproofaddr": {
  32326. "description": "代缴物流保险费凭证(确认结算费用时)",
  32327. "type": "string"
  32328. },
  32329. "operatetime": {
  32330. "description": "操作时间",
  32331. "type": "string"
  32332. },
  32333. "operatoraccount": {
  32334. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  32335. "type": "string"
  32336. },
  32337. "operatorid": {
  32338. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  32339. "type": "integer"
  32340. },
  32341. "operatorname": {
  32342. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  32343. "type": "string"
  32344. },
  32345. "operatorsrc": {
  32346. "description": "操作人来源 - 1:管理端 2:终端",
  32347. "type": "integer"
  32348. },
  32349. "orderid": {
  32350. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  32351. "type": "string"
  32352. },
  32353. "otherfee": {
  32354. "description": "其它费用",
  32355. "type": "number"
  32356. },
  32357. "remark": {
  32358. "description": "操作备注",
  32359. "type": "string"
  32360. },
  32361. "servicefee": {
  32362. "description": "综合服务费",
  32363. "type": "number"
  32364. },
  32365. "settleamount": {
  32366. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  32367. "type": "number"
  32368. },
  32369. "status": {
  32370. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  32371. "type": "integer"
  32372. },
  32373. "taxmargin": {
  32374. "description": "税费保证金",
  32375. "type": "number"
  32376. },
  32377. "totalfee": {
  32378. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  32379. "type": "number"
  32380. }
  32381. }
  32382. },
  32383. "models.GErmcpspotgoodsprice": {
  32384. "type": "object",
  32385. "properties": {
  32386. "chg": {
  32387. "description": "涨跌幅",
  32388. "type": "number"
  32389. },
  32390. "currencyid": {
  32391. "description": "报价货币ID",
  32392. "type": "integer"
  32393. },
  32394. "deliverygoodsid": {
  32395. "description": "现货品种ID",
  32396. "type": "integer"
  32397. },
  32398. "prespotgoodsprice": {
  32399. "description": "上日价格",
  32400. "type": "number"
  32401. },
  32402. "spotgoodsbrandid": {
  32403. "description": "现货品牌ID(通用则为0, 不为0则须先有商品ID)",
  32404. "type": "integer"
  32405. },
  32406. "spotgoodsprice": {
  32407. "description": "【最新价】当前价格",
  32408. "type": "number"
  32409. },
  32410. "srcmarketname": {
  32411. "description": "来源市场名称",
  32412. "type": "string"
  32413. },
  32414. "todaypricedtotalamount": {
  32415. "description": "今日定价金额",
  32416. "type": "number"
  32417. },
  32418. "todaypricedtotalqty": {
  32419. "description": "今日定价总量",
  32420. "type": "number"
  32421. },
  32422. "todayspotgoodsprice": {
  32423. "description": "今日指定价",
  32424. "type": "number"
  32425. },
  32426. "tradedate": {
  32427. "description": "【日期】交易日",
  32428. "type": "string"
  32429. },
  32430. "wrstandardcode": {
  32431. "description": "现货商品代码",
  32432. "type": "string"
  32433. },
  32434. "wrstandardid": {
  32435. "description": "现货商品ID(通用则为0)",
  32436. "type": "integer"
  32437. },
  32438. "wrstandardname": {
  32439. "description": "【名称】现货商品名称",
  32440. "type": "string"
  32441. },
  32442. "ystspotgoodsprice": {
  32443. "description": "昨价",
  32444. "type": "number"
  32445. }
  32446. }
  32447. },
  32448. "models.GThjuserscorelog": {
  32449. "type": "object",
  32450. "properties": {
  32451. "createtime": {
  32452. "description": "记账时间",
  32453. "type": "string"
  32454. },
  32455. "redpacketvalue": {
  32456. "description": "红包值【抽奖】",
  32457. "type": "number"
  32458. },
  32459. "score": {
  32460. "description": "变动积分",
  32461. "type": "number"
  32462. },
  32463. "scoreconfigtype": {
  32464. "description": "配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  32465. "type": "integer"
  32466. },
  32467. "stype": {
  32468. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  32469. "type": "string"
  32470. }
  32471. }
  32472. },
  32473. "models.GZGoods": {
  32474. "type": "object",
  32475. "required": [
  32476. "goodsno"
  32477. ],
  32478. "properties": {
  32479. "address": {
  32480. "description": "详细地址",
  32481. "type": "string"
  32482. },
  32483. "cerno": {
  32484. "description": "证书编号 - 类型:2,4,5",
  32485. "type": "string"
  32486. },
  32487. "cityname": {
  32488. "description": "城市名称",
  32489. "type": "string"
  32490. },
  32491. "countryname": {
  32492. "description": "国家名称",
  32493. "type": "string"
  32494. },
  32495. "cpcertno": {
  32496. "description": "金伯利证书编号 - 类型:3",
  32497. "type": "string"
  32498. },
  32499. "districtname": {
  32500. "description": "地区名称",
  32501. "type": "string"
  32502. },
  32503. "goodsno": {
  32504. "description": "商品编号",
  32505. "type": "string"
  32506. },
  32507. "imagepath": {
  32508. "description": "商品照片(相对地址)",
  32509. "type": "string"
  32510. },
  32511. "isvalid": {
  32512. "description": "是否有效 - 0:无效 1:有效",
  32513. "type": "integer"
  32514. },
  32515. "kppath": {
  32516. "description": "金伯利证书图片(相对地址) - 类型:3",
  32517. "type": "string"
  32518. },
  32519. "kpweight": {
  32520. "description": "金伯利证书重量 - 类型:3",
  32521. "type": "string"
  32522. },
  32523. "marketprice": {
  32524. "description": "市场价",
  32525. "type": "string"
  32526. },
  32527. "mobile": {
  32528. "description": "手机号码",
  32529. "type": "string"
  32530. },
  32531. "origin": {
  32532. "description": "原产地 - 类型:3",
  32533. "type": "string"
  32534. },
  32535. "performancetemplateid": {
  32536. "description": "履约计划模板ID",
  32537. "type": "integer"
  32538. },
  32539. "price": {
  32540. "description": "总价(价格) - 类型:1,2,3,4,5",
  32541. "type": "number"
  32542. },
  32543. "priceper": {
  32544. "description": "克拉单价 - 类型:1,2,3,5",
  32545. "type": "string"
  32546. },
  32547. "provincename": {
  32548. "description": "省名称",
  32549. "type": "string"
  32550. },
  32551. "remainqty": {
  32552. "description": "剩余重量",
  32553. "type": "number"
  32554. },
  32555. "remark": {
  32556. "description": "备注",
  32557. "type": "string"
  32558. },
  32559. "sellusername": {
  32560. "description": "账户名称(机构名称)",
  32561. "type": "string"
  32562. },
  32563. "settingmaterial": {
  32564. "description": "镶嵌材料 - 类型:4",
  32565. "type": "string"
  32566. },
  32567. "size1": {
  32568. "description": "尺寸1 - 类型:2,4,5",
  32569. "type": "string"
  32570. },
  32571. "size2": {
  32572. "description": "尺寸2 - 类型:2,4,5",
  32573. "type": "string"
  32574. },
  32575. "size3": {
  32576. "description": "尺寸3 - 类型:2,4,5",
  32577. "type": "string"
  32578. },
  32579. "sizedisplay": {
  32580. "description": "尺寸",
  32581. "type": "string"
  32582. },
  32583. "stonedesc": {
  32584. "description": "配石描述 - 类型:4",
  32585. "type": "string"
  32586. },
  32587. "userid": {
  32588. "description": "用户ID",
  32589. "type": "integer"
  32590. },
  32591. "warehouseid": {
  32592. "description": "仓库ID",
  32593. "type": "integer"
  32594. },
  32595. "warehousenamedisplay": {
  32596. "type": "string"
  32597. },
  32598. "weight": {
  32599. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  32600. "type": "number"
  32601. },
  32602. "weightavg": {
  32603. "description": "平均单颗重量 - 类型:1,3",
  32604. "type": "number"
  32605. },
  32606. "wrpath": {
  32607. "description": "仓单扫描件(相对地址)",
  32608. "type": "string"
  32609. },
  32610. "wrstandardid": {
  32611. "description": "现货商品ID",
  32612. "type": "integer"
  32613. },
  32614. "wrtradeorderid": {
  32615. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32616. "type": "string"
  32617. },
  32618. "zscategory": {
  32619. "description": "钻石分类 - 枚举”ZSCategory“",
  32620. "type": "integer"
  32621. },
  32622. "zscategorydisplay": {
  32623. "type": "string"
  32624. },
  32625. "zscerttype": {
  32626. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  32627. "type": "integer"
  32628. },
  32629. "zscerttypedisplay": {
  32630. "type": "string"
  32631. },
  32632. "zsclaritytype1": {
  32633. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  32634. "type": "integer"
  32635. },
  32636. "zsclaritytype1display": {
  32637. "type": "string"
  32638. },
  32639. "zsclaritytype2": {
  32640. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  32641. "type": "integer"
  32642. },
  32643. "zsclaritytype2display": {
  32644. "type": "string"
  32645. },
  32646. "zscolortype1": {
  32647. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  32648. "type": "integer"
  32649. },
  32650. "zscolortype1display": {
  32651. "type": "string"
  32652. },
  32653. "zscolortype2": {
  32654. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  32655. "type": "integer"
  32656. },
  32657. "zscolortype2display": {
  32658. "type": "string"
  32659. },
  32660. "zscrystaltype": {
  32661. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  32662. "type": "string"
  32663. },
  32664. "zscrystaltypedisplay": {
  32665. "type": "string"
  32666. },
  32667. "zscurrencytype": {
  32668. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32669. "type": "integer"
  32670. },
  32671. "zscurrencytypedisplay": {
  32672. "type": "string"
  32673. },
  32674. "zscurrencytypedisplayunit": {
  32675. "type": "string"
  32676. },
  32677. "zscuttype1": {
  32678. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  32679. "type": "integer"
  32680. },
  32681. "zscuttype1display": {
  32682. "type": "string"
  32683. },
  32684. "zscuttype2": {
  32685. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  32686. "type": "integer"
  32687. },
  32688. "zscuttype2display": {
  32689. "type": "string"
  32690. },
  32691. "zsczcolor1type": {
  32692. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  32693. "type": "integer"
  32694. },
  32695. "zsczcolor1typedisplay": {
  32696. "type": "string"
  32697. },
  32698. "zsczcolor2type": {
  32699. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  32700. "type": "integer"
  32701. },
  32702. "zsczcolor2typedisplay": {
  32703. "type": "string"
  32704. },
  32705. "zsczcolor3type": {
  32706. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  32707. "type": "integer"
  32708. },
  32709. "zsczcolor3typedisplay": {
  32710. "type": "string"
  32711. },
  32712. "zsfluorescencetype1": {
  32713. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  32714. "type": "integer"
  32715. },
  32716. "zsfluorescencetype1display": {
  32717. "type": "string"
  32718. },
  32719. "zsfluorescencetype2": {
  32720. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  32721. "type": "integer"
  32722. },
  32723. "zsfluorescencetype2display": {
  32724. "type": "string"
  32725. },
  32726. "zspolishtype1": {
  32727. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  32728. "type": "integer"
  32729. },
  32730. "zspolishtype1display": {
  32731. "type": "string"
  32732. },
  32733. "zspolishtype2": {
  32734. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  32735. "type": "integer"
  32736. },
  32737. "zspolishtype2display": {
  32738. "type": "string"
  32739. },
  32740. "zsshapetype": {
  32741. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  32742. "type": "string"
  32743. },
  32744. "zsshapetypedisplay": {
  32745. "type": "string"
  32746. },
  32747. "zsstyletype": {
  32748. "description": "款式 - 类型:4",
  32749. "type": "integer"
  32750. },
  32751. "zsstyletypedisplay": {
  32752. "type": "string"
  32753. },
  32754. "zssymmetrytype1": {
  32755. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32756. "type": "integer"
  32757. },
  32758. "zssymmetrytype1display": {
  32759. "type": "string"
  32760. },
  32761. "zssymmetrytype2": {
  32762. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32763. "type": "integer"
  32764. },
  32765. "zssymmetrytype2display": {
  32766. "type": "string"
  32767. }
  32768. }
  32769. },
  32770. "models.GZHomeData": {
  32771. "type": "object",
  32772. "properties": {
  32773. "purchasedtransactions": {
  32774. "description": "已购买的交易",
  32775. "type": "integer"
  32776. },
  32777. "transactioninpurchase": {
  32778. "description": "求购中的交易",
  32779. "type": "integer"
  32780. },
  32781. "transactionsonsale": {
  32782. "description": "出售中的交易",
  32783. "type": "integer"
  32784. },
  32785. "transactionssold": {
  32786. "description": "已卖出的交易",
  32787. "type": "integer"
  32788. },
  32789. "unhandledmessage": {
  32790. "description": "未处理消息",
  32791. "type": "integer"
  32792. }
  32793. }
  32794. },
  32795. "models.GZWarehouseinfo": {
  32796. "type": "object",
  32797. "properties": {
  32798. "address": {
  32799. "description": "详细地址",
  32800. "type": "string"
  32801. },
  32802. "areauserid": {
  32803. "description": "所属机构",
  32804. "type": "integer"
  32805. },
  32806. "autoid": {
  32807. "description": "自增ID",
  32808. "type": "integer"
  32809. },
  32810. "cityid": {
  32811. "description": "市",
  32812. "type": "integer"
  32813. },
  32814. "cityname": {
  32815. "description": "城市名称",
  32816. "type": "string"
  32817. },
  32818. "contactname": {
  32819. "description": "联系人",
  32820. "type": "string"
  32821. },
  32822. "contactnum": {
  32823. "description": "联系电话",
  32824. "type": "string"
  32825. },
  32826. "countryid": {
  32827. "description": "国家",
  32828. "type": "integer"
  32829. },
  32830. "countryname": {
  32831. "description": "国家名称",
  32832. "type": "string"
  32833. },
  32834. "createtime": {
  32835. "description": "创建时间",
  32836. "type": "string"
  32837. },
  32838. "districtid": {
  32839. "description": "区",
  32840. "type": "integer"
  32841. },
  32842. "districtname": {
  32843. "description": "地区名称",
  32844. "type": "string"
  32845. },
  32846. "hasvideo": {
  32847. "description": "是否有视频 - 0:无 1:有",
  32848. "type": "integer"
  32849. },
  32850. "provinceid": {
  32851. "description": "省",
  32852. "type": "integer"
  32853. },
  32854. "provincename": {
  32855. "description": "省名称",
  32856. "type": "string"
  32857. },
  32858. "remark": {
  32859. "description": "审核备注",
  32860. "type": "string"
  32861. },
  32862. "videourl": {
  32863. "description": "视频地址",
  32864. "type": "string"
  32865. },
  32866. "warehousecode": {
  32867. "description": "仓库代码",
  32868. "type": "string"
  32869. },
  32870. "warehousename": {
  32871. "description": "仓库名称",
  32872. "type": "string"
  32873. },
  32874. "warehousestatus": {
  32875. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  32876. "type": "integer"
  32877. },
  32878. "warehousetype": {
  32879. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  32880. "type": "integer"
  32881. }
  32882. }
  32883. },
  32884. "models.Goods": {
  32885. "type": "object",
  32886. "required": [
  32887. "goodscode",
  32888. "goodsid",
  32889. "goodsname",
  32890. "marketid"
  32891. ],
  32892. "properties": {
  32893. "agreeunit": {
  32894. "description": "合约单位",
  32895. "type": "number"
  32896. },
  32897. "areauserid": {
  32898. "description": "所属机构",
  32899. "type": "integer"
  32900. },
  32901. "auditaccountid": {
  32902. "description": "审核操作员账号",
  32903. "type": "integer"
  32904. },
  32905. "audittime": {
  32906. "description": "审核时间",
  32907. "type": "string"
  32908. },
  32909. "cancelaccountid": {
  32910. "description": "注销操作员账号",
  32911. "type": "integer"
  32912. },
  32913. "canceltime": {
  32914. "description": "注销时间",
  32915. "type": "string"
  32916. },
  32917. "closepricemode": {
  32918. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  32919. "type": "integer"
  32920. },
  32921. "closepriceparam": {
  32922. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  32923. "type": "number"
  32924. },
  32925. "createtime": {
  32926. "description": "创建时间",
  32927. "type": "string"
  32928. },
  32929. "creatorid": {
  32930. "description": "创建人",
  32931. "type": "integer"
  32932. },
  32933. "currencyid": {
  32934. "description": "报价货币ID",
  32935. "type": "integer"
  32936. },
  32937. "cutmode": {
  32938. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  32939. "type": "integer"
  32940. },
  32941. "decimalplace": {
  32942. "description": "报价小数位",
  32943. "type": "integer"
  32944. },
  32945. "delistingdate": {
  32946. "description": "商品退市时间(状态:退市) -- 已作废",
  32947. "type": "string"
  32948. },
  32949. "delistingmode": {
  32950. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  32951. "type": "integer"
  32952. },
  32953. "deliveryflag": {
  32954. "description": "交割标志 - 0:不可交割 1:可交割",
  32955. "type": "integer"
  32956. },
  32957. "forceclosemode": {
  32958. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  32959. "type": "integer"
  32960. },
  32961. "forceclosevalue": {
  32962. "description": "定期强平参数 [收益权]",
  32963. "type": "integer"
  32964. },
  32965. "goodscode": {
  32966. "description": "商品代码(内部)",
  32967. "type": "string"
  32968. },
  32969. "goodscurrencyid": {
  32970. "description": "合约货币ID",
  32971. "type": "integer"
  32972. },
  32973. "goodsgroupid": {
  32974. "description": "所属商品组ID",
  32975. "type": "integer"
  32976. },
  32977. "goodsid": {
  32978. "description": "商品ID(自增ID SEQ_GOODS)",
  32979. "type": "integer"
  32980. },
  32981. "goodsname": {
  32982. "description": "商品名称",
  32983. "type": "string"
  32984. },
  32985. "goodsquotetype": {
  32986. "description": "合约报价类型: 1-直接报价 2-间接报价",
  32987. "type": "integer"
  32988. },
  32989. "goodsstatus": {
  32990. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  32991. "type": "integer"
  32992. },
  32993. "goodstradetype": {
  32994. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  32995. "type": "integer"
  32996. },
  32997. "goodunitid": {
  32998. "description": "报价单位ID",
  32999. "type": "integer"
  33000. },
  33001. "hasquoter": {
  33002. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  33003. "type": "integer"
  33004. },
  33005. "hqprotecttime": {
  33006. "description": "行情保护时间(秒)",
  33007. "type": "integer"
  33008. },
  33009. "innerdealmode": {
  33010. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  33011. "type": "integer"
  33012. },
  33013. "isbuylimited": {
  33014. "description": "是否限制建仓量 - 0:不限制 1:限制",
  33015. "type": "integer"
  33016. },
  33017. "isvisible": {
  33018. "description": "游客是否可见 - 0:不可见 1:可见",
  33019. "type": "integer"
  33020. },
  33021. "lasttradedate": {
  33022. "description": "最后交易日期(状态:待退市)",
  33023. "type": "string"
  33024. },
  33025. "listingdate": {
  33026. "description": "交易开始日期",
  33027. "type": "string"
  33028. },
  33029. "marketid": {
  33030. "description": "所属市场ID",
  33031. "type": "integer"
  33032. },
  33033. "modifierid": {
  33034. "description": "修改人",
  33035. "type": "integer"
  33036. },
  33037. "modifystatus": {
  33038. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  33039. "type": "integer"
  33040. },
  33041. "modifytime": {
  33042. "description": "修改时间",
  33043. "type": "string"
  33044. },
  33045. "outerdealmode": {
  33046. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  33047. "type": "integer"
  33048. },
  33049. "outgoodscode": {
  33050. "description": "商品代码(外部)",
  33051. "type": "string"
  33052. },
  33053. "pictureurl": {
  33054. "description": "商品图片",
  33055. "type": "string"
  33056. },
  33057. "qtydecimalplace": {
  33058. "description": "成交量小数位",
  33059. "type": "integer"
  33060. },
  33061. "quotegear": {
  33062. "description": "行情档位(1-10)",
  33063. "type": "integer"
  33064. },
  33065. "quoteminunit": {
  33066. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  33067. "type": "integer"
  33068. },
  33069. "quoteshowtype": {
  33070. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  33071. "type": "integer"
  33072. },
  33073. "quoteshowtypeinterval": {
  33074. "description": "行情报价间隔时间(秒)(成交价时为0)",
  33075. "type": "integer"
  33076. },
  33077. "remark": {
  33078. "description": "备注",
  33079. "type": "string"
  33080. }
  33081. }
  33082. },
  33083. "models.GoodsIDAndName": {
  33084. "type": "object",
  33085. "required": [
  33086. "goodscode",
  33087. "goodsid",
  33088. "goodsname",
  33089. "marketid"
  33090. ],
  33091. "properties": {
  33092. "goodscode": {
  33093. "description": "商品代码(内部)",
  33094. "type": "string"
  33095. },
  33096. "goodsid": {
  33097. "description": "商品ID(自增ID SEQ_GOODS)",
  33098. "type": "integer"
  33099. },
  33100. "goodsname": {
  33101. "description": "商品名称",
  33102. "type": "string"
  33103. },
  33104. "marketid": {
  33105. "description": "所属市场ID",
  33106. "type": "integer"
  33107. }
  33108. }
  33109. },
  33110. "models.Goodsgroup": {
  33111. "type": "object",
  33112. "required": [
  33113. "goodsgroupid",
  33114. "goodsgroupname",
  33115. "goodsgroupstatus",
  33116. "marketid"
  33117. ],
  33118. "properties": {
  33119. "agreeunit": {
  33120. "description": "合约单位",
  33121. "type": "number"
  33122. },
  33123. "canshort": {
  33124. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  33125. "type": "integer"
  33126. },
  33127. "closepricemode": {
  33128. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  33129. "type": "integer"
  33130. },
  33131. "closepriceparam": {
  33132. "description": "强平最新价浮动比例 - 方式为2时使用",
  33133. "type": "number"
  33134. },
  33135. "createtime": {
  33136. "description": "创建时间",
  33137. "type": "string"
  33138. },
  33139. "creatorid": {
  33140. "description": "创建人",
  33141. "type": "integer"
  33142. },
  33143. "currencyid": {
  33144. "description": "报价货币ID",
  33145. "type": "integer"
  33146. },
  33147. "decimalplace": {
  33148. "description": "报价小数位",
  33149. "type": "integer"
  33150. },
  33151. "exercisetype": {
  33152. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  33153. "type": "integer"
  33154. },
  33155. "exexchangeid": {
  33156. "description": "外部交易所ID[通道交易]",
  33157. "type": "integer"
  33158. },
  33159. "goodsgroupid": {
  33160. "description": "商品组ID(自增ID)",
  33161. "type": "integer"
  33162. },
  33163. "goodsgroupname": {
  33164. "description": "商品组名称",
  33165. "type": "string"
  33166. },
  33167. "goodsgroupstatus": {
  33168. "description": "商品组状态 - 1:正常 2:注销",
  33169. "type": "integer"
  33170. },
  33171. "goodunitid": {
  33172. "description": "报价单位ID",
  33173. "type": "integer"
  33174. },
  33175. "innerdealmode": {
  33176. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  33177. "type": "integer"
  33178. },
  33179. "isbuylimited": {
  33180. "description": "是否限制建仓量 - 0:不限制 1:限制",
  33181. "type": "integer"
  33182. },
  33183. "marketid": {
  33184. "description": "所属市场ID",
  33185. "type": "integer"
  33186. },
  33187. "modifierid": {
  33188. "description": "修改人",
  33189. "type": "integer"
  33190. },
  33191. "modifytime": {
  33192. "description": "修改时间",
  33193. "type": "string"
  33194. },
  33195. "outerdealmode": {
  33196. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  33197. "type": "integer"
  33198. },
  33199. "outergroupcode": {
  33200. "description": "外部商品组代码[通道交易]",
  33201. "type": "string"
  33202. },
  33203. "premiumdecimalplace": {
  33204. "description": "权利金小数位[场外期权]",
  33205. "type": "integer"
  33206. },
  33207. "premiumspreadalgorithm": {
  33208. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  33209. "type": "integer"
  33210. },
  33211. "premiumspreadvalue": {
  33212. "description": "权利金点差值[场外期权]",
  33213. "type": "number"
  33214. },
  33215. "qtydecimalplace": {
  33216. "description": "成交量小数位",
  33217. "type": "integer"
  33218. },
  33219. "quotegear": {
  33220. "description": "行情档位(1-10)",
  33221. "type": "integer"
  33222. },
  33223. "quoteminunit": {
  33224. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  33225. "type": "integer"
  33226. },
  33227. "quoterid": {
  33228. "description": "报价商ID[场外期权]",
  33229. "type": "integer"
  33230. },
  33231. "quotesourcegroupid": {
  33232. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  33233. "type": "integer"
  33234. },
  33235. "syncgoodsqty": {
  33236. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  33237. "type": "integer"
  33238. }
  33239. }
  33240. },
  33241. "models.Goodssortbypreposition": {
  33242. "type": "object",
  33243. "required": [
  33244. "goodscode",
  33245. "tradedate"
  33246. ],
  33247. "properties": {
  33248. "goodscode": {
  33249. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  33250. "type": "string"
  33251. },
  33252. "goodsgroupcode": {
  33253. "description": "品种代码",
  33254. "type": "string"
  33255. },
  33256. "prepositionqty": {
  33257. "description": "昨持仓量",
  33258. "type": "integer"
  33259. },
  33260. "sortindex": {
  33261. "description": "排序",
  33262. "type": "integer"
  33263. },
  33264. "tradedate": {
  33265. "description": "交易日",
  33266. "type": "string"
  33267. },
  33268. "updatetime": {
  33269. "description": "更新时间",
  33270. "type": "string"
  33271. }
  33272. }
  33273. },
  33274. "models.GzbsfworderM": {
  33275. "type": "object",
  33276. "required": [
  33277. "userid"
  33278. ],
  33279. "properties": {
  33280. "accountid": {
  33281. "description": "资金账户ID",
  33282. "type": "integer"
  33283. },
  33284. "addresscn": {
  33285. "description": "地址(中文)",
  33286. "type": "string"
  33287. },
  33288. "addressen": {
  33289. "description": "地址(英文)",
  33290. "type": "string"
  33291. },
  33292. "advanceamount": {
  33293. "description": "总预付款",
  33294. "type": "number"
  33295. },
  33296. "colorrange": {
  33297. "description": "颜色范围",
  33298. "type": "string"
  33299. },
  33300. "companynamecn": {
  33301. "description": "收货人(中文)",
  33302. "type": "string"
  33303. },
  33304. "companynameen": {
  33305. "description": "收货人(英文)",
  33306. "type": "string"
  33307. },
  33308. "contactfax": {
  33309. "description": "收货人传真",
  33310. "type": "string"
  33311. },
  33312. "contactname": {
  33313. "description": "收货人姓名",
  33314. "type": "string"
  33315. },
  33316. "contactphoneno": {
  33317. "description": "收货人电话",
  33318. "type": "string"
  33319. },
  33320. "contentrange": {
  33321. "description": "【内容】内容范围",
  33322. "type": "string"
  33323. },
  33324. "createtime": {
  33325. "description": "创建时间",
  33326. "type": "string"
  33327. },
  33328. "executestatus": {
  33329. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  33330. "type": "integer"
  33331. },
  33332. "gzbsdeliverytype": {
  33333. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  33334. "type": "integer"
  33335. },
  33336. "gzbsstatus": {
  33337. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  33338. "type": "integer"
  33339. },
  33340. "gzbsstatusdisplay": {
  33341. "description": "单据状态",
  33342. "type": "string"
  33343. },
  33344. "handlestatus": {
  33345. "description": "处理状态",
  33346. "type": "integer"
  33347. },
  33348. "orderdate": {
  33349. "description": "单据日期",
  33350. "type": "string"
  33351. },
  33352. "orderid": {
  33353. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  33354. "type": "integer"
  33355. },
  33356. "orderno": {
  33357. "description": "单据编号 - GZDEBSFW+单据流水号",
  33358. "type": "string"
  33359. },
  33360. "ordersn": {
  33361. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  33362. "type": "string"
  33363. },
  33364. "origincountry": {
  33365. "description": "原产国",
  33366. "type": "string"
  33367. },
  33368. "otherlogistics": {
  33369. "description": "指定其它物流",
  33370. "type": "string"
  33371. },
  33372. "priceper": {
  33373. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  33374. "type": "number"
  33375. },
  33376. "settleamount": {
  33377. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  33378. "type": "number"
  33379. },
  33380. "shaperange": {
  33381. "description": "形状范围",
  33382. "type": "string"
  33383. },
  33384. "taxmargin": {
  33385. "description": "税费保证金 - 确认结算费用时退回",
  33386. "type": "number"
  33387. },
  33388. "totalamount": {
  33389. "description": "总值(美元)",
  33390. "type": "number"
  33391. },
  33392. "totalgrossweightgm": {
  33393. "description": "总毛重(克)",
  33394. "type": "number"
  33395. },
  33396. "totalnetweightgm": {
  33397. "description": "总净重(克)",
  33398. "type": "number"
  33399. },
  33400. "totalnetweigthct": {
  33401. "description": "总净重(克拉)",
  33402. "type": "number"
  33403. },
  33404. "totalnumber": {
  33405. "description": "总粒数",
  33406. "type": "integer"
  33407. },
  33408. "userid": {
  33409. "description": "用户ID",
  33410. "type": "integer"
  33411. },
  33412. "weightrange": {
  33413. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  33414. "type": "string"
  33415. }
  33416. }
  33417. },
  33418. "models.GzbsfworderdetailM": {
  33419. "type": "object",
  33420. "properties": {
  33421. "colorinfo": {
  33422. "description": "彩钻信息",
  33423. "type": "string"
  33424. },
  33425. "createtime": {
  33426. "description": "创建时间",
  33427. "type": "string"
  33428. },
  33429. "grossweightgm": {
  33430. "description": "毛重(克)",
  33431. "type": "number"
  33432. },
  33433. "gzcjshape": {
  33434. "description": "形状(字符)",
  33435. "type": "string"
  33436. },
  33437. "netweigthct": {
  33438. "description": "净重(克拉)",
  33439. "type": "number"
  33440. },
  33441. "netweigthgm": {
  33442. "description": "净重(克)",
  33443. "type": "number"
  33444. },
  33445. "ordercontent": {
  33446. "description": "内容",
  33447. "type": "string"
  33448. },
  33449. "orderdetailid": {
  33450. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  33451. "type": "integer"
  33452. },
  33453. "orderid": {
  33454. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  33455. "type": "integer"
  33456. },
  33457. "orderindex": {
  33458. "description": "顺序",
  33459. "type": "integer"
  33460. },
  33461. "perprice": {
  33462. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  33463. "type": "number"
  33464. },
  33465. "remark": {
  33466. "description": "备注(其它)",
  33467. "type": "string"
  33468. },
  33469. "totalamount": {
  33470. "description": "总值(美元)",
  33471. "type": "number"
  33472. }
  33473. }
  33474. },
  33475. "models.Gzbsfworderoperate": {
  33476. "type": "object",
  33477. "required": [
  33478. "orderid"
  33479. ],
  33480. "properties": {
  33481. "advanceproofaddr": {
  33482. "description": "预付款收款凭证(确认结算费用时)",
  33483. "type": "string"
  33484. },
  33485. "bankfee": {
  33486. "description": "汇款银行手续费",
  33487. "type": "number"
  33488. },
  33489. "bankproofaddr": {
  33490. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  33491. "type": "string"
  33492. },
  33493. "customsproofaddr": {
  33494. "description": "海关税费保证金收据(确认结算费用时)",
  33495. "type": "string"
  33496. },
  33497. "gzbsstatus": {
  33498. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  33499. "type": "integer"
  33500. },
  33501. "logisticsfee": {
  33502. "description": "代缴物流保险费",
  33503. "type": "number"
  33504. },
  33505. "logisticsproofaddr": {
  33506. "description": "代缴物流保险费凭证(确认结算费用时)",
  33507. "type": "string"
  33508. },
  33509. "operatetime": {
  33510. "description": "操作时间",
  33511. "type": "string"
  33512. },
  33513. "operatoraccount": {
  33514. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  33515. "type": "string"
  33516. },
  33517. "operatorid": {
  33518. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  33519. "type": "integer"
  33520. },
  33521. "operatorname": {
  33522. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  33523. "type": "string"
  33524. },
  33525. "operatorsrc": {
  33526. "description": "操作人来源 - 1:管理端 2:终端",
  33527. "type": "integer"
  33528. },
  33529. "orderid": {
  33530. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  33531. "type": "integer"
  33532. },
  33533. "otherfee": {
  33534. "description": "其它费用",
  33535. "type": "number"
  33536. },
  33537. "remark": {
  33538. "description": "操作备注",
  33539. "type": "string"
  33540. },
  33541. "servicefee": {
  33542. "description": "综合服务费",
  33543. "type": "number"
  33544. },
  33545. "taxmargin": {
  33546. "description": "税费保证金",
  33547. "type": "number"
  33548. },
  33549. "totalfee": {
  33550. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  33551. "type": "number"
  33552. }
  33553. }
  33554. },
  33555. "models.Gzcertaddressconfig": {
  33556. "type": "object",
  33557. "properties": {
  33558. "certregion": {
  33559. "description": "证书地域 - 1:国内 2:国际",
  33560. "type": "integer"
  33561. },
  33562. "certtype": {
  33563. "description": "证书类型",
  33564. "type": "string"
  33565. },
  33566. "orderindex": {
  33567. "description": "显示顺序",
  33568. "type": "integer"
  33569. },
  33570. "orgcnname": {
  33571. "description": "机构名称(中文)",
  33572. "type": "string"
  33573. },
  33574. "orgenname": {
  33575. "description": "机构名称(英文)",
  33576. "type": "string"
  33577. },
  33578. "queryaddress": {
  33579. "description": "查询地址",
  33580. "type": "string"
  33581. },
  33582. "remark": {
  33583. "description": "备注",
  33584. "type": "string"
  33585. },
  33586. "updatetime": {
  33587. "description": "更新时间",
  33588. "type": "string"
  33589. }
  33590. }
  33591. },
  33592. "models.Gzcertaddressparam": {
  33593. "type": "object",
  33594. "properties": {
  33595. "certtype": {
  33596. "description": "证书类型",
  33597. "type": "string"
  33598. },
  33599. "orderindex": {
  33600. "description": "参数顺序",
  33601. "type": "integer"
  33602. },
  33603. "paramkey": {
  33604. "description": "参数Key",
  33605. "type": "string"
  33606. },
  33607. "paramname": {
  33608. "description": "参数名称",
  33609. "type": "string"
  33610. },
  33611. "updatetime": {
  33612. "description": "更新时间",
  33613. "type": "string"
  33614. }
  33615. }
  33616. },
  33617. "models.GzcjbsorderfileM": {
  33618. "type": "object",
  33619. "required": [
  33620. "orderid"
  33621. ],
  33622. "properties": {
  33623. "canmembervisit": {
  33624. "description": "会员是否可访问 - 1:可 2:不可",
  33625. "type": "integer"
  33626. },
  33627. "fileaddress": {
  33628. "description": "文件地址",
  33629. "type": "string"
  33630. },
  33631. "filegentype": {
  33632. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  33633. "type": "integer"
  33634. },
  33635. "filename": {
  33636. "description": "文件名称",
  33637. "type": "string"
  33638. },
  33639. "operatetime": {
  33640. "description": "操作时间",
  33641. "type": "string"
  33642. },
  33643. "operatoraccount": {
  33644. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  33645. "type": "string"
  33646. },
  33647. "operatorid": {
  33648. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  33649. "type": "integer"
  33650. },
  33651. "operatorsrc": {
  33652. "description": "操作人来源 - 1:管理端 2:终端",
  33653. "type": "integer"
  33654. },
  33655. "orderfileid": {
  33656. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  33657. "type": "integer"
  33658. },
  33659. "orderid": {
  33660. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  33661. "type": "integer"
  33662. }
  33663. }
  33664. },
  33665. "models.GzcjjcorderM": {
  33666. "type": "object",
  33667. "required": [
  33668. "userid"
  33669. ],
  33670. "properties": {
  33671. "accountid": {
  33672. "description": "资金账户ID",
  33673. "type": "integer"
  33674. },
  33675. "addresscn": {
  33676. "description": "地址(中文)",
  33677. "type": "string"
  33678. },
  33679. "addressen": {
  33680. "description": "地址(英文)",
  33681. "type": "string"
  33682. },
  33683. "advanceamount": {
  33684. "description": "总预付款",
  33685. "type": "number"
  33686. },
  33687. "colorrange": {
  33688. "description": "颜色范围",
  33689. "type": "string"
  33690. },
  33691. "companynamecn": {
  33692. "description": "公司名称(中文)",
  33693. "type": "string"
  33694. },
  33695. "companynameen": {
  33696. "description": "公司名称(英文)",
  33697. "type": "string"
  33698. },
  33699. "contactname": {
  33700. "description": "联系人姓名",
  33701. "type": "string"
  33702. },
  33703. "contactphoneno": {
  33704. "description": "联系人电话",
  33705. "type": "string"
  33706. },
  33707. "contactposition": {
  33708. "description": "联系人职位",
  33709. "type": "string"
  33710. },
  33711. "createtime": {
  33712. "description": "创建时间",
  33713. "type": "string"
  33714. },
  33715. "email": {
  33716. "description": "邮箱",
  33717. "type": "string"
  33718. },
  33719. "executestatus": {
  33720. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  33721. "type": "integer"
  33722. },
  33723. "gzcjaccount": {
  33724. "description": "送检账户",
  33725. "type": "string"
  33726. },
  33727. "gzcjaccounttype": {
  33728. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  33729. "type": "integer"
  33730. },
  33731. "gzcjcategorytype": {
  33732. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  33733. "type": "integer"
  33734. },
  33735. "gzcjcategorytypedisplay": {
  33736. "description": "货物品类",
  33737. "type": "string"
  33738. },
  33739. "gzcjdeliverytype": {
  33740. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  33741. "type": "integer"
  33742. },
  33743. "gzcjdeliverytypedisplay": {
  33744. "description": "收货方式",
  33745. "type": "string"
  33746. },
  33747. "gzcjstatus": {
  33748. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  33749. "type": "integer"
  33750. },
  33751. "gzcjstatusdisplay": {
  33752. "description": "单据状态(出境检测)",
  33753. "type": "string"
  33754. },
  33755. "handlestatus": {
  33756. "description": "处理状态",
  33757. "type": "integer"
  33758. },
  33759. "invoiceremark": {
  33760. "description": "复核备注 - 发票装箱单使用",
  33761. "type": "string"
  33762. },
  33763. "orderid": {
  33764. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  33765. "type": "integer"
  33766. },
  33767. "orderno": {
  33768. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  33769. "type": "string"
  33770. },
  33771. "ordersn": {
  33772. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  33773. "type": "string"
  33774. },
  33775. "origincountry": {
  33776. "description": "原产国",
  33777. "type": "string"
  33778. },
  33779. "processingcountry": {
  33780. "description": "成品钻石加工国",
  33781. "type": "string"
  33782. },
  33783. "realservicefee": {
  33784. "description": "应收综合服务费",
  33785. "type": "number"
  33786. },
  33787. "servicefeesum": {
  33788. "description": "汇总综合服务费 - 明细上值汇总",
  33789. "type": "number"
  33790. },
  33791. "settleamount": {
  33792. "description": "总结算费用",
  33793. "type": "number"
  33794. },
  33795. "shaperange": {
  33796. "description": "形状范围",
  33797. "type": "string"
  33798. },
  33799. "totalamount": {
  33800. "description": "总金额(美元)",
  33801. "type": "number"
  33802. },
  33803. "totalgrossweight": {
  33804. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  33805. "type": "number"
  33806. },
  33807. "totalnumber": {
  33808. "description": "总粒数",
  33809. "type": "integer"
  33810. },
  33811. "totalweight": {
  33812. "description": "总克拉数(保留3位小数)",
  33813. "type": "number"
  33814. },
  33815. "totalweightgm": {
  33816. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  33817. "type": "number"
  33818. },
  33819. "userid": {
  33820. "description": "用户ID",
  33821. "type": "integer"
  33822. },
  33823. "weightrange": {
  33824. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  33825. "type": "string"
  33826. },
  33827. "zsorigin": {
  33828. "description": "天然钻石毛坯原产地",
  33829. "type": "string"
  33830. }
  33831. }
  33832. },
  33833. "models.GzcjjcorderdetailM": {
  33834. "type": "object",
  33835. "properties": {
  33836. "amount": {
  33837. "description": "参考货值(USD)",
  33838. "type": "number"
  33839. },
  33840. "colorinfo": {
  33841. "description": "彩钻信息",
  33842. "type": "string"
  33843. },
  33844. "createtime": {
  33845. "description": "创建时间",
  33846. "type": "string"
  33847. },
  33848. "gzcjmarktype": {
  33849. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  33850. "type": "integer"
  33851. },
  33852. "gzcjpublishtype": {
  33853. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  33854. "type": "integer"
  33855. },
  33856. "gzcjpublishtypestring": {
  33857. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  33858. "type": "string"
  33859. },
  33860. "gzcjservicetype": {
  33861. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  33862. "type": "integer"
  33863. },
  33864. "gzcjservicetypestring": {
  33865. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  33866. "type": "string"
  33867. },
  33868. "gzcjshapetype": {
  33869. "description": "形状 - 枚举\"GZCJShapeType\"",
  33870. "type": "integer"
  33871. },
  33872. "gzcjshapetypestring": {
  33873. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  33874. "type": "string"
  33875. },
  33876. "gzno": {
  33877. "description": "货物编号",
  33878. "type": "string"
  33879. },
  33880. "orderdetailid": {
  33881. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  33882. "type": "integer"
  33883. },
  33884. "orderid": {
  33885. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  33886. "type": "integer"
  33887. },
  33888. "orderindex": {
  33889. "description": "顺序",
  33890. "type": "integer"
  33891. },
  33892. "origincertno": {
  33893. "description": "原证书号【送检账户为“广钻账户”】",
  33894. "type": "string"
  33895. },
  33896. "remark": {
  33897. "description": "备注(其它)",
  33898. "type": "string"
  33899. },
  33900. "servicefee": {
  33901. "description": "综合服务费 - 根据市场配置计算",
  33902. "type": "number"
  33903. },
  33904. "weight": {
  33905. "description": "重量(CT)",
  33906. "type": "number"
  33907. }
  33908. }
  33909. },
  33910. "models.Gzcjjcorderoperate": {
  33911. "type": "object",
  33912. "required": [
  33913. "orderid",
  33914. "status"
  33915. ],
  33916. "properties": {
  33917. "advanceamount": {
  33918. "description": "总预付款",
  33919. "type": "number"
  33920. },
  33921. "advanceproofaddr": {
  33922. "description": "预付检测费和海关税费银行凭证(确认结算费用时)",
  33923. "type": "string"
  33924. },
  33925. "bankfee": {
  33926. "description": "汇款银行手续费 [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33927. "type": "number"
  33928. },
  33929. "bankproofaddr": {
  33930. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  33931. "type": "string"
  33932. },
  33933. "customsfee": {
  33934. "description": "海关税费 [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33935. "type": "number"
  33936. },
  33937. "customsproofaddr": {
  33938. "description": "海关税费凭证(确认结算费用时)",
  33939. "type": "string"
  33940. },
  33941. "exchangerate": {
  33942. "description": "汇率 [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33943. "type": "number"
  33944. },
  33945. "giaproofaddr": {
  33946. "description": "GIA检测费凭证(确认结算费用时)",
  33947. "type": "string"
  33948. },
  33949. "giarmbfee": {
  33950. "description": "GIA检测费(¥) [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33951. "type": "number"
  33952. },
  33953. "giausdfee": {
  33954. "description": "GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33955. "type": "number"
  33956. },
  33957. "logisticsfee": {
  33958. "description": "代缴物流保险费 [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33959. "type": "number"
  33960. },
  33961. "logisticsproofaddr": {
  33962. "description": "代缴物流保险费凭证(确认结算费用时)",
  33963. "type": "string"
  33964. },
  33965. "operatetime": {
  33966. "description": "操作时间",
  33967. "type": "string"
  33968. },
  33969. "operatoraccount": {
  33970. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  33971. "type": "string"
  33972. },
  33973. "operatorid": {
  33974. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  33975. "type": "integer"
  33976. },
  33977. "operatorname": {
  33978. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  33979. "type": "string"
  33980. },
  33981. "operatorsrc": {
  33982. "description": "操作人来源 - 1:管理端 2:终端",
  33983. "type": "integer"
  33984. },
  33985. "orderid": {
  33986. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  33987. "type": "string"
  33988. },
  33989. "otherfee": {
  33990. "description": "其它费用",
  33991. "type": "number"
  33992. },
  33993. "remark": {
  33994. "description": "操作备注",
  33995. "type": "string"
  33996. },
  33997. "servicefee": {
  33998. "description": "综合服务费 [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  33999. "type": "number"
  34000. },
  34001. "settleamount": {
  34002. "description": "总结算费用",
  34003. "type": "number"
  34004. },
  34005. "status": {
  34006. "description": "操作后单据状态 - 枚举\"GZCJStatus\"",
  34007. "type": "integer"
  34008. },
  34009. "totalfee": {
  34010. "description": "总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus = 10.预付款确认中\\13.付款确认中] 时",
  34011. "type": "number"
  34012. }
  34013. }
  34014. },
  34015. "models.Gzrapaportprice": {
  34016. "type": "object",
  34017. "properties": {
  34018. "dollar": {
  34019. "description": "美元",
  34020. "type": "string"
  34021. },
  34022. "rmb": {
  34023. "description": "人民币",
  34024. "type": "string"
  34025. }
  34026. }
  34027. },
  34028. "models.Hedgeinnerholderdetail": {
  34029. "type": "object",
  34030. "required": [
  34031. "buyorsell",
  34032. "tradeid"
  34033. ],
  34034. "properties": {
  34035. "accountid": {
  34036. "description": "账号ID",
  34037. "type": "integer"
  34038. },
  34039. "buyorsell": {
  34040. "description": "方向 - 0:买 1:卖",
  34041. "type": "integer"
  34042. },
  34043. "freezeqty": {
  34044. "description": "冻结数量 - 按单平使用",
  34045. "type": "integer"
  34046. },
  34047. "goodsid": {
  34048. "description": "商品ID",
  34049. "type": "integer"
  34050. },
  34051. "holderamount": {
  34052. "description": "持仓金额 [商品币种]",
  34053. "type": "number"
  34054. },
  34055. "holderdays": {
  34056. "description": "剩余冻结天数",
  34057. "type": "integer"
  34058. },
  34059. "holderprice": {
  34060. "description": "持仓价格",
  34061. "type": "number"
  34062. },
  34063. "holderqty": {
  34064. "description": "持仓数量",
  34065. "type": "integer"
  34066. },
  34067. "marketid": {
  34068. "description": "市场ID",
  34069. "type": "integer"
  34070. },
  34071. "openprice": {
  34072. "description": "建仓价格",
  34073. "type": "number"
  34074. },
  34075. "openqty": {
  34076. "description": "建仓数量",
  34077. "type": "integer"
  34078. },
  34079. "parentaccountid": {
  34080. "description": "所属母账户",
  34081. "type": "integer"
  34082. },
  34083. "releaseamount": {
  34084. "description": "释放持仓金额[商品币种]",
  34085. "type": "number"
  34086. },
  34087. "tradeamount": {
  34088. "description": "成交金额[账户]",
  34089. "type": "number"
  34090. },
  34091. "tradedate": {
  34092. "description": "交易日(yyyyMMdd)",
  34093. "type": "string"
  34094. },
  34095. "tradeid": {
  34096. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34097. "type": "string"
  34098. },
  34099. "tradetime": {
  34100. "description": "交易时间",
  34101. "type": "string"
  34102. }
  34103. }
  34104. },
  34105. "models.Hedgemarketopenlog": {
  34106. "type": "object",
  34107. "required": [
  34108. "accountid"
  34109. ],
  34110. "properties": {
  34111. "accountid": {
  34112. "description": "资金账号[外部母账户]",
  34113. "type": "integer"
  34114. },
  34115. "fcname": {
  34116. "description": "期货公司名称",
  34117. "type": "string"
  34118. },
  34119. "handlestatus": {
  34120. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  34121. "type": "integer"
  34122. },
  34123. "marketid": {
  34124. "description": "市场ID",
  34125. "type": "integer"
  34126. },
  34127. "status": {
  34128. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  34129. "type": "integer"
  34130. },
  34131. "tradedate": {
  34132. "description": "交易日(yyyyMMdd)",
  34133. "type": "string"
  34134. },
  34135. "updatetime": {
  34136. "description": "更新时间",
  34137. "type": "string"
  34138. }
  34139. }
  34140. },
  34141. "models.HistoryData": {
  34142. "type": "object",
  34143. "properties": {
  34144. "c": {
  34145. "description": "收盘价",
  34146. "type": "number"
  34147. },
  34148. "f": {
  34149. "description": "是否补充数据",
  34150. "type": "boolean"
  34151. },
  34152. "h": {
  34153. "description": "最高价",
  34154. "type": "number"
  34155. },
  34156. "hv": {
  34157. "description": "持仓量",
  34158. "type": "integer"
  34159. },
  34160. "l": {
  34161. "description": "最低价",
  34162. "type": "number"
  34163. },
  34164. "o": {
  34165. "description": "开盘价",
  34166. "type": "number"
  34167. },
  34168. "s": {
  34169. "description": "结算价,日线周期(包括)以上才有",
  34170. "type": "number"
  34171. },
  34172. "ts": {
  34173. "description": "时间",
  34174. "type": "string"
  34175. },
  34176. "tt": {
  34177. "description": "总金额",
  34178. "type": "number"
  34179. },
  34180. "tv": {
  34181. "description": "总量(成交量)",
  34182. "type": "integer"
  34183. }
  34184. }
  34185. },
  34186. "models.HsbyBuyMyPayOrder": {
  34187. "type": "object",
  34188. "required": [
  34189. "goodscode",
  34190. "goodsname",
  34191. "tradeid",
  34192. "trademode"
  34193. ],
  34194. "properties": {
  34195. "agreeunit": {
  34196. "description": "合约单位",
  34197. "type": "number"
  34198. },
  34199. "buyaccountid": {
  34200. "description": "买方账号ID[报价币种]",
  34201. "type": "integer"
  34202. },
  34203. "buyorderid": {
  34204. "description": "买方委托单号",
  34205. "type": "string"
  34206. },
  34207. "createtime": {
  34208. "description": "创建时间",
  34209. "type": "string"
  34210. },
  34211. "currencysign": {
  34212. "description": "货币符号",
  34213. "type": "string"
  34214. },
  34215. "decimalplace": {
  34216. "description": "报价小数位",
  34217. "type": "integer"
  34218. },
  34219. "goodscode": {
  34220. "description": "商品代码(内部)",
  34221. "type": "string"
  34222. },
  34223. "goodsid": {
  34224. "description": "商品ID",
  34225. "type": "integer"
  34226. },
  34227. "goodsname": {
  34228. "description": "商品名称",
  34229. "type": "string"
  34230. },
  34231. "marketid": {
  34232. "description": "市场ID",
  34233. "type": "integer"
  34234. },
  34235. "offamount": {
  34236. "description": "优惠金额",
  34237. "type": "number"
  34238. },
  34239. "originalamount": {
  34240. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  34241. "type": "number"
  34242. },
  34243. "payamount": {
  34244. "description": "支付金额 = TradeAmount + TradeCharge",
  34245. "type": "number"
  34246. },
  34247. "payflag": {
  34248. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34249. "type": "integer"
  34250. },
  34251. "paylimitedtime": {
  34252. "description": "支付期限",
  34253. "type": "string"
  34254. },
  34255. "paytime": {
  34256. "description": "付款时间",
  34257. "type": "string"
  34258. },
  34259. "picurls1": {
  34260. "description": "预售商品介绍图片[多张用逗号分隔]",
  34261. "type": "string"
  34262. },
  34263. "picurls2": {
  34264. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  34265. "type": "string"
  34266. },
  34267. "sellaccountid": {
  34268. "description": "卖方账号ID[报价币种]",
  34269. "type": "integer"
  34270. },
  34271. "sellorderid": {
  34272. "description": "卖方委托单号",
  34273. "type": "string"
  34274. },
  34275. "tradeamount": {
  34276. "description": "成交金额",
  34277. "type": "number"
  34278. },
  34279. "tradecharge": {
  34280. "description": "成交手续费(买方)",
  34281. "type": "number"
  34282. },
  34283. "tradedate": {
  34284. "description": "交易日(yyyyMMdd)",
  34285. "type": "string"
  34286. },
  34287. "tradeid": {
  34288. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34289. "type": "string"
  34290. },
  34291. "trademode": {
  34292. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34293. "type": "integer"
  34294. },
  34295. "tradeprice": {
  34296. "description": "成交价格",
  34297. "type": "number"
  34298. },
  34299. "tradeqty": {
  34300. "description": "成交数量",
  34301. "type": "integer"
  34302. },
  34303. "vendorname1": {
  34304. "description": "预售商品供应商名称",
  34305. "type": "string"
  34306. },
  34307. "vendorname2": {
  34308. "description": "挂牌商品供应商名称",
  34309. "type": "string"
  34310. }
  34311. }
  34312. },
  34313. "models.HsbyBuyMyTradeDetail": {
  34314. "type": "object",
  34315. "required": [
  34316. "accountid",
  34317. "buyorsell",
  34318. "goodscode",
  34319. "goodsid",
  34320. "goodsname",
  34321. "marketid",
  34322. "orderid",
  34323. "qty",
  34324. "time",
  34325. "trademode"
  34326. ],
  34327. "properties": {
  34328. "accountid": {
  34329. "description": "账户ID[报价币种]",
  34330. "type": "integer"
  34331. },
  34332. "agreeunit": {
  34333. "description": "合约单位",
  34334. "type": "number"
  34335. },
  34336. "amount": {
  34337. "description": "金额 = 价格 * 数量 * 合约单位",
  34338. "type": "number"
  34339. },
  34340. "buyorsell": {
  34341. "description": "买卖 - 0:买 1:卖",
  34342. "type": "integer"
  34343. },
  34344. "currencysign": {
  34345. "description": "货币符号",
  34346. "type": "string"
  34347. },
  34348. "decimalplace": {
  34349. "description": "报价小数位",
  34350. "type": "integer"
  34351. },
  34352. "goodscode": {
  34353. "description": "商品代码(内部)",
  34354. "type": "string"
  34355. },
  34356. "goodsid": {
  34357. "description": "商品ID",
  34358. "type": "integer"
  34359. },
  34360. "goodsname": {
  34361. "description": "商品名称",
  34362. "type": "string"
  34363. },
  34364. "marketid": {
  34365. "description": "市场ID",
  34366. "type": "integer"
  34367. },
  34368. "orderamount": {
  34369. "description": "委托金额",
  34370. "type": "number"
  34371. },
  34372. "orderid": {
  34373. "description": "单号(成交单号)",
  34374. "type": "string"
  34375. },
  34376. "picurls1": {
  34377. "description": "预售商品介绍图片[多张用逗号分隔]",
  34378. "type": "string"
  34379. },
  34380. "picurls2": {
  34381. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  34382. "type": "string"
  34383. },
  34384. "price": {
  34385. "description": "价格",
  34386. "type": "number"
  34387. },
  34388. "qty": {
  34389. "description": "数量",
  34390. "type": "integer"
  34391. },
  34392. "time": {
  34393. "description": "时间",
  34394. "type": "string"
  34395. },
  34396. "trademode": {
  34397. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34398. "type": "integer"
  34399. },
  34400. "vendorname1": {
  34401. "description": "预售商品供应商名称",
  34402. "type": "string"
  34403. },
  34404. "vendorname2": {
  34405. "description": "挂牌商品供应商名称",
  34406. "type": "string"
  34407. }
  34408. }
  34409. },
  34410. "models.HsbyGoodsOrderDetail": {
  34411. "type": "object",
  34412. "required": [
  34413. "buyorsell",
  34414. "orderid",
  34415. "ordertime"
  34416. ],
  34417. "properties": {
  34418. "buyorsell": {
  34419. "description": "买卖 - 0:买 1:卖",
  34420. "type": "integer"
  34421. },
  34422. "currencysign": {
  34423. "description": "货币符号",
  34424. "type": "string"
  34425. },
  34426. "customername": {
  34427. "description": "客户名称(企业名称),已脱敏",
  34428. "type": "string"
  34429. },
  34430. "enableqty": {
  34431. "description": "可用数量",
  34432. "type": "integer"
  34433. },
  34434. "goodunit": {
  34435. "description": "报价单位",
  34436. "type": "string"
  34437. },
  34438. "orderid": {
  34439. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34440. "type": "string"
  34441. },
  34442. "orderprice": {
  34443. "description": "委托价格",
  34444. "type": "number"
  34445. },
  34446. "ordertime": {
  34447. "description": "委托时间",
  34448. "type": "string"
  34449. }
  34450. }
  34451. },
  34452. "models.HsbyListingGoodsDetail": {
  34453. "type": "object",
  34454. "required": [
  34455. "goodscode",
  34456. "goodsid",
  34457. "goodsname",
  34458. "marketid",
  34459. "trademode"
  34460. ],
  34461. "properties": {
  34462. "agreeunit": {
  34463. "description": "合约单位",
  34464. "type": "number"
  34465. },
  34466. "buymaxqty": {
  34467. "description": "购买上限 [71] - 0为不限",
  34468. "type": "integer"
  34469. },
  34470. "currency": {
  34471. "description": "货币",
  34472. "type": "string"
  34473. },
  34474. "currencysign": {
  34475. "description": "货币符号",
  34476. "type": "string"
  34477. },
  34478. "decimalplace": {
  34479. "description": "报价小数位",
  34480. "type": "integer"
  34481. },
  34482. "desccityid": {
  34483. "description": "目的地(市)ID",
  34484. "type": "integer"
  34485. },
  34486. "descprovinceid": {
  34487. "description": "目的地(省)ID",
  34488. "type": "integer"
  34489. },
  34490. "goodscode": {
  34491. "description": "商品代码(内部)",
  34492. "type": "string"
  34493. },
  34494. "goodsdesc": {
  34495. "description": "商品详情",
  34496. "type": "string"
  34497. },
  34498. "goodsid": {
  34499. "description": "商品ID(自增ID SEQ_GOODS)",
  34500. "type": "integer"
  34501. },
  34502. "goodsname": {
  34503. "description": "商品名称",
  34504. "type": "string"
  34505. },
  34506. "goodsprice": {
  34507. "description": "商品价格",
  34508. "type": "number"
  34509. },
  34510. "hotindex": {
  34511. "description": "景点热度",
  34512. "type": "integer"
  34513. },
  34514. "last": {
  34515. "description": "现价",
  34516. "type": "number"
  34517. },
  34518. "limitdown": {
  34519. "description": "跌停价",
  34520. "type": "number"
  34521. },
  34522. "limitup": {
  34523. "description": "涨停价",
  34524. "type": "number"
  34525. },
  34526. "lotsize": {
  34527. "description": "手数最小变动单位",
  34528. "type": "integer"
  34529. },
  34530. "marketid": {
  34531. "description": "所属市场ID",
  34532. "type": "integer"
  34533. },
  34534. "picurls": {
  34535. "description": "介绍图片[多张用逗号分隔]",
  34536. "type": "string"
  34537. },
  34538. "quoteminunit": {
  34539. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  34540. "type": "integer"
  34541. },
  34542. "stepvalue": {
  34543. "description": "价格最小变动单位",
  34544. "type": "number"
  34545. },
  34546. "trademode": {
  34547. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34548. "type": "integer"
  34549. },
  34550. "vendorattr": {
  34551. "description": "供应商附件(多张,逗号分隔)",
  34552. "type": "string"
  34553. },
  34554. "vendorname": {
  34555. "description": "供应商名称",
  34556. "type": "string"
  34557. },
  34558. "vendorphone": {
  34559. "description": "供应商客服电话",
  34560. "type": "string"
  34561. },
  34562. "videourls": {
  34563. "description": "介绍视频[多张用逗号分隔]",
  34564. "type": "string"
  34565. }
  34566. }
  34567. },
  34568. "models.HsbyMarketGoods": {
  34569. "type": "object",
  34570. "required": [
  34571. "accountid",
  34572. "buyorsell",
  34573. "goodscode",
  34574. "goodsid",
  34575. "goodsname",
  34576. "marketid",
  34577. "orderid",
  34578. "trademode"
  34579. ],
  34580. "properties": {
  34581. "accountid": {
  34582. "description": "账户ID[报价币种]",
  34583. "type": "integer"
  34584. },
  34585. "agreeunit": {
  34586. "description": "合约单位",
  34587. "type": "number"
  34588. },
  34589. "buyorsell": {
  34590. "description": "买卖 - 0:买 1:卖",
  34591. "type": "integer"
  34592. },
  34593. "categoryid": {
  34594. "description": "类别ID(WRCATEGORY)",
  34595. "type": "integer"
  34596. },
  34597. "currency": {
  34598. "description": "货币",
  34599. "type": "string"
  34600. },
  34601. "currencysign": {
  34602. "description": "货币符号",
  34603. "type": "string"
  34604. },
  34605. "customername": {
  34606. "description": "卖家名称",
  34607. "type": "string"
  34608. },
  34609. "decimalplace": {
  34610. "description": "报价小数位",
  34611. "type": "integer"
  34612. },
  34613. "goodscode": {
  34614. "description": "商品代码(内部)",
  34615. "type": "string"
  34616. },
  34617. "goodsid": {
  34618. "description": "商品ID",
  34619. "type": "integer"
  34620. },
  34621. "goodsname": {
  34622. "description": "商品名称",
  34623. "type": "string"
  34624. },
  34625. "goodsprice": {
  34626. "description": "商品价格",
  34627. "type": "number"
  34628. },
  34629. "hascoupon": {
  34630. "description": "是否可用优惠卷",
  34631. "type": "boolean"
  34632. },
  34633. "hotindex": {
  34634. "description": "景点热度",
  34635. "type": "integer"
  34636. },
  34637. "marketid": {
  34638. "description": "市场ID",
  34639. "type": "integer"
  34640. },
  34641. "orderid": {
  34642. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34643. "type": "string"
  34644. },
  34645. "orderprice": {
  34646. "description": "委托价格",
  34647. "type": "number"
  34648. },
  34649. "orderstatus": {
  34650. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34651. "type": "integer"
  34652. },
  34653. "picurls": {
  34654. "description": "介绍图片[多张用逗号分隔]",
  34655. "type": "string"
  34656. },
  34657. "quoteminunit": {
  34658. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  34659. "type": "integer"
  34660. },
  34661. "sellUserID": {
  34662. "description": "卖方UserID",
  34663. "type": "integer"
  34664. },
  34665. "trademode": {
  34666. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34667. "type": "integer"
  34668. },
  34669. "videourls": {
  34670. "description": "介绍视频[多张用逗号分隔]",
  34671. "type": "string"
  34672. }
  34673. }
  34674. },
  34675. "models.HsbyMarketGoodsDetail": {
  34676. "type": "object",
  34677. "required": [
  34678. "accountid",
  34679. "buyorsell",
  34680. "goodscode",
  34681. "goodsid",
  34682. "goodsname",
  34683. "marketid",
  34684. "orderid",
  34685. "orderqty",
  34686. "trademode"
  34687. ],
  34688. "properties": {
  34689. "accountid": {
  34690. "description": "账户ID[报价币种]",
  34691. "type": "integer"
  34692. },
  34693. "agreeunit": {
  34694. "description": "合约单位",
  34695. "type": "number"
  34696. },
  34697. "buymaxqty": {
  34698. "description": "购买上限 [71] - 0为不限",
  34699. "type": "integer"
  34700. },
  34701. "buyorsell": {
  34702. "description": "买卖 - 0:买 1:卖",
  34703. "type": "integer"
  34704. },
  34705. "cancelqty": {
  34706. "description": "撤单数量",
  34707. "type": "integer"
  34708. },
  34709. "categoryid": {
  34710. "description": "类别ID(WRCATEGORY)",
  34711. "type": "integer"
  34712. },
  34713. "currency": {
  34714. "description": "货币",
  34715. "type": "string"
  34716. },
  34717. "currencysign": {
  34718. "description": "货币符号",
  34719. "type": "string"
  34720. },
  34721. "customername": {
  34722. "description": "卖家名称",
  34723. "type": "string"
  34724. },
  34725. "decimalplace": {
  34726. "description": "报价小数位",
  34727. "type": "integer"
  34728. },
  34729. "goodscode": {
  34730. "description": "商品代码(内部)",
  34731. "type": "string"
  34732. },
  34733. "goodsdesc": {
  34734. "description": "商品详情",
  34735. "type": "string"
  34736. },
  34737. "goodsid": {
  34738. "description": "商品ID",
  34739. "type": "integer"
  34740. },
  34741. "goodsname": {
  34742. "description": "商品名称",
  34743. "type": "string"
  34744. },
  34745. "goodsprice": {
  34746. "description": "商品价格",
  34747. "type": "number"
  34748. },
  34749. "hotindex": {
  34750. "description": "景点热度",
  34751. "type": "integer"
  34752. },
  34753. "lotsize": {
  34754. "description": "手数最小变动单位",
  34755. "type": "integer"
  34756. },
  34757. "marketid": {
  34758. "description": "市场ID",
  34759. "type": "integer"
  34760. },
  34761. "orderid": {
  34762. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34763. "type": "string"
  34764. },
  34765. "orderprice": {
  34766. "description": "委托价格",
  34767. "type": "number"
  34768. },
  34769. "orderqty": {
  34770. "description": "委托数量",
  34771. "type": "integer"
  34772. },
  34773. "orderstatus": {
  34774. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34775. "type": "integer"
  34776. },
  34777. "picurls": {
  34778. "description": "介绍图片[多张用逗号分隔]",
  34779. "type": "string"
  34780. },
  34781. "quoteminunit": {
  34782. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  34783. "type": "integer"
  34784. },
  34785. "sellUserID": {
  34786. "description": "卖方UserID",
  34787. "type": "integer"
  34788. },
  34789. "trademode": {
  34790. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34791. "type": "integer"
  34792. },
  34793. "tradeqty": {
  34794. "description": "成交数量",
  34795. "type": "integer"
  34796. },
  34797. "vendorattr": {
  34798. "description": "供应商附件(多张,逗号分隔)",
  34799. "type": "string"
  34800. },
  34801. "vendorname": {
  34802. "description": "供应商名称",
  34803. "type": "string"
  34804. },
  34805. "vendorphone": {
  34806. "description": "供应商客服电话",
  34807. "type": "string"
  34808. },
  34809. "videourls": {
  34810. "description": "介绍视频[多张用逗号分隔]",
  34811. "type": "string"
  34812. }
  34813. }
  34814. },
  34815. "models.HsbyMarketInfo": {
  34816. "type": "object",
  34817. "required": [
  34818. "marketid",
  34819. "marketstatus",
  34820. "trademode"
  34821. ],
  34822. "properties": {
  34823. "marketid": {
  34824. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  34825. "type": "integer"
  34826. },
  34827. "marketname": {
  34828. "description": "市场名称",
  34829. "type": "string"
  34830. },
  34831. "marketstatus": {
  34832. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  34833. "type": "integer"
  34834. },
  34835. "trademode": {
  34836. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34837. "type": "integer"
  34838. }
  34839. }
  34840. },
  34841. "models.HsbyMyGoods": {
  34842. "type": "object",
  34843. "required": [
  34844. "accountid",
  34845. "goodscode",
  34846. "goodsid",
  34847. "goodsname",
  34848. "marketid",
  34849. "trademode"
  34850. ],
  34851. "properties": {
  34852. "accountid": {
  34853. "description": "账号Id",
  34854. "type": "integer"
  34855. },
  34856. "agreeunit": {
  34857. "description": "合约单位",
  34858. "type": "number"
  34859. },
  34860. "buyaverageprice": {
  34861. "description": "持仓均价",
  34862. "type": "number"
  34863. },
  34864. "buycurholderamount": {
  34865. "description": "买当前持仓总金额[商品币种]",
  34866. "type": "number"
  34867. },
  34868. "buycurpositionqty": {
  34869. "description": "买当前持仓总数量",
  34870. "type": "integer"
  34871. },
  34872. "buymaxqty": {
  34873. "description": "购买上限 [71] - 0为不限",
  34874. "type": "integer"
  34875. },
  34876. "currencysign": {
  34877. "description": "货币符号",
  34878. "type": "string"
  34879. },
  34880. "decimalplace": {
  34881. "description": "报价小数位",
  34882. "type": "integer"
  34883. },
  34884. "enableqty": {
  34885. "description": "可用数量",
  34886. "type": "integer"
  34887. },
  34888. "goodscode": {
  34889. "description": "商品代码(内部)",
  34890. "type": "string"
  34891. },
  34892. "goodsid": {
  34893. "description": "商品Id",
  34894. "type": "integer"
  34895. },
  34896. "goodsname": {
  34897. "description": "商品名称",
  34898. "type": "string"
  34899. },
  34900. "goodsprice": {
  34901. "description": "商品价格",
  34902. "type": "number"
  34903. },
  34904. "goodsstatus": {
  34905. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  34906. "type": "integer"
  34907. },
  34908. "last": {
  34909. "description": "现价(仅使用于挂牌点选)",
  34910. "type": "number"
  34911. },
  34912. "limitdown": {
  34913. "description": "跌停价(仅使用于挂牌点选)",
  34914. "type": "number"
  34915. },
  34916. "limitup": {
  34917. "description": "涨停价(仅使用于挂牌点选)",
  34918. "type": "number"
  34919. },
  34920. "lotsize": {
  34921. "description": "手数最小变动单位",
  34922. "type": "integer"
  34923. },
  34924. "marketid": {
  34925. "description": "所属市场ID",
  34926. "type": "integer"
  34927. },
  34928. "picurls": {
  34929. "description": "介绍图片[多张用逗号分隔]",
  34930. "type": "string"
  34931. },
  34932. "quoteminunit": {
  34933. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  34934. "type": "integer"
  34935. },
  34936. "stepvalue": {
  34937. "description": "价格最小变动单位",
  34938. "type": "number"
  34939. },
  34940. "trademode": {
  34941. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34942. "type": "integer"
  34943. }
  34944. }
  34945. },
  34946. "models.HsbyMyPackage": {
  34947. "type": "object",
  34948. "required": [
  34949. "goodscode",
  34950. "goodsname",
  34951. "takeorderid",
  34952. "trademode"
  34953. ],
  34954. "properties": {
  34955. "accountid": {
  34956. "description": "账户ID",
  34957. "type": "integer"
  34958. },
  34959. "address": {
  34960. "description": "提货人详细地址",
  34961. "type": "string"
  34962. },
  34963. "agreeunit": {
  34964. "description": "合约单位",
  34965. "type": "number"
  34966. },
  34967. "amount": {
  34968. "description": "提货金额",
  34969. "type": "number"
  34970. },
  34971. "auditer": {
  34972. "description": "审核人",
  34973. "type": "integer"
  34974. },
  34975. "audittime": {
  34976. "description": "审核时间",
  34977. "type": "string"
  34978. },
  34979. "averageprice": {
  34980. "description": "均价",
  34981. "type": "number"
  34982. },
  34983. "cardnum": {
  34984. "description": "提货人证件号码",
  34985. "type": "string"
  34986. },
  34987. "cardtypeid": {
  34988. "description": "提货人证件类型",
  34989. "type": "integer"
  34990. },
  34991. "checkremark": {
  34992. "description": "审核备注",
  34993. "type": "string"
  34994. },
  34995. "currencysign": {
  34996. "description": "货币符号",
  34997. "type": "string"
  34998. },
  34999. "decimalplace": {
  35000. "description": "报价小数位",
  35001. "type": "integer"
  35002. },
  35003. "goodscode": {
  35004. "description": "商品代码(内部)",
  35005. "type": "string"
  35006. },
  35007. "goodsid": {
  35008. "description": "商品ID",
  35009. "type": "integer"
  35010. },
  35011. "goodsname": {
  35012. "description": "商品名称",
  35013. "type": "string"
  35014. },
  35015. "handlestatus": {
  35016. "description": "处理状态",
  35017. "type": "integer"
  35018. },
  35019. "marketid": {
  35020. "description": "市场ID",
  35021. "type": "integer"
  35022. },
  35023. "phonenum": {
  35024. "description": "提货人联系方式",
  35025. "type": "string"
  35026. },
  35027. "picurls": {
  35028. "description": "介绍图片[多张用逗号分隔]",
  35029. "type": "string"
  35030. },
  35031. "qty": {
  35032. "description": "提货数量",
  35033. "type": "number"
  35034. },
  35035. "recivername": {
  35036. "description": "提货人姓名",
  35037. "type": "string"
  35038. },
  35039. "reqtime": {
  35040. "description": "更新时间",
  35041. "type": "string"
  35042. },
  35043. "takemode": {
  35044. "description": "提货方式 - 2:自提 3:配送",
  35045. "type": "integer"
  35046. },
  35047. "takeorderid": {
  35048. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35049. "type": "string"
  35050. },
  35051. "takeorderstatus": {
  35052. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  35053. "type": "integer"
  35054. },
  35055. "takeremark": {
  35056. "description": "提货备注",
  35057. "type": "string"
  35058. },
  35059. "tradedate": {
  35060. "description": "交易日(yyyyMMdd)",
  35061. "type": "string"
  35062. },
  35063. "trademode": {
  35064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35065. "type": "integer"
  35066. },
  35067. "userid": {
  35068. "description": "用户ID",
  35069. "type": "integer"
  35070. },
  35071. "vendorname": {
  35072. "description": "供应商名称",
  35073. "type": "string"
  35074. }
  35075. }
  35076. },
  35077. "models.HsbyPreGoods": {
  35078. "type": "object",
  35079. "required": [
  35080. "goodscode",
  35081. "goodsid",
  35082. "goodsname",
  35083. "marketid",
  35084. "trademode"
  35085. ],
  35086. "properties": {
  35087. "agreeunit": {
  35088. "description": "合约单位",
  35089. "type": "number"
  35090. },
  35091. "currency": {
  35092. "description": "货币",
  35093. "type": "string"
  35094. },
  35095. "currencysign": {
  35096. "description": "货币符号",
  35097. "type": "string"
  35098. },
  35099. "decimalplace": {
  35100. "description": "报价小数位",
  35101. "type": "integer"
  35102. },
  35103. "desccityid": {
  35104. "description": "目的地(市)",
  35105. "type": "integer"
  35106. },
  35107. "descprovinceid": {
  35108. "description": "目的地(省)",
  35109. "type": "integer"
  35110. },
  35111. "enableqty": {
  35112. "description": "剩余数量",
  35113. "type": "integer"
  35114. },
  35115. "goodscode": {
  35116. "description": "商品代码(内部)",
  35117. "type": "string"
  35118. },
  35119. "goodsid": {
  35120. "description": "商品ID(自增ID SEQ_GOODS)",
  35121. "type": "integer"
  35122. },
  35123. "goodsname": {
  35124. "description": "商品名称",
  35125. "type": "string"
  35126. },
  35127. "goodsstatus": {
  35128. "description": "商品状态- 2:未上市 3:上市",
  35129. "type": "integer"
  35130. },
  35131. "lasttradedate": {
  35132. "description": "最后交易日期(状态:待退市)",
  35133. "type": "string"
  35134. },
  35135. "listingdate": {
  35136. "description": "交易开始日期",
  35137. "type": "string"
  35138. },
  35139. "marketid": {
  35140. "description": "所属市场ID",
  35141. "type": "integer"
  35142. },
  35143. "picurls": {
  35144. "description": "介绍图片[多张用逗号分隔]",
  35145. "type": "string"
  35146. },
  35147. "presaledqty": {
  35148. "description": "已预售量(预售结束时更新)",
  35149. "type": "integer"
  35150. },
  35151. "presaleqty": {
  35152. "description": "预售数量",
  35153. "type": "integer"
  35154. },
  35155. "quoteminunit": {
  35156. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  35157. "type": "integer"
  35158. },
  35159. "refprice": {
  35160. "description": "参考价格[一口价]",
  35161. "type": "number"
  35162. },
  35163. "relatedgoodsid": {
  35164. "description": "关联交易合约ID",
  35165. "type": "integer"
  35166. },
  35167. "trademode": {
  35168. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35169. "type": "integer"
  35170. },
  35171. "videourls": {
  35172. "description": "介绍视频[多张用逗号分隔]",
  35173. "type": "string"
  35174. }
  35175. }
  35176. },
  35177. "models.HsbyPreGoodsDetail": {
  35178. "type": "object",
  35179. "required": [
  35180. "goodscode",
  35181. "goodsid",
  35182. "goodsname",
  35183. "marketid",
  35184. "trademode"
  35185. ],
  35186. "properties": {
  35187. "agreeunit": {
  35188. "description": "合约单位",
  35189. "type": "number"
  35190. },
  35191. "buymaxqty": {
  35192. "description": "购买上限 [71] - 0为不限",
  35193. "type": "integer"
  35194. },
  35195. "currency": {
  35196. "description": "货币",
  35197. "type": "string"
  35198. },
  35199. "currencysign": {
  35200. "description": "货币符号",
  35201. "type": "string"
  35202. },
  35203. "customername": {
  35204. "description": "发行单位",
  35205. "type": "string"
  35206. },
  35207. "decimalplace": {
  35208. "description": "报价小数位",
  35209. "type": "integer"
  35210. },
  35211. "desccityid": {
  35212. "description": "目的地(市)ID",
  35213. "type": "integer"
  35214. },
  35215. "descprovinceid": {
  35216. "description": "目的地(省)ID",
  35217. "type": "integer"
  35218. },
  35219. "enableqty": {
  35220. "description": "剩余数量",
  35221. "type": "integer"
  35222. },
  35223. "goodscode": {
  35224. "description": "商品代码(内部)",
  35225. "type": "string"
  35226. },
  35227. "goodsdesc": {
  35228. "description": "商品详情",
  35229. "type": "string"
  35230. },
  35231. "goodsid": {
  35232. "description": "商品ID(自增ID SEQ_GOODS)",
  35233. "type": "integer"
  35234. },
  35235. "goodsname": {
  35236. "description": "商品名称",
  35237. "type": "string"
  35238. },
  35239. "goodsstatus": {
  35240. "description": "商品状态- 2:未上市 3:上市",
  35241. "type": "integer"
  35242. },
  35243. "goodunit": {
  35244. "description": "报价单位",
  35245. "type": "string"
  35246. },
  35247. "lasttradedate": {
  35248. "description": "最后交易日期(状态:待退市)",
  35249. "type": "string"
  35250. },
  35251. "listingdate": {
  35252. "description": "交易开始日期",
  35253. "type": "string"
  35254. },
  35255. "lotsize": {
  35256. "description": "手数最小变动单位",
  35257. "type": "integer"
  35258. },
  35259. "marketid": {
  35260. "description": "所属市场ID",
  35261. "type": "integer"
  35262. },
  35263. "picurls": {
  35264. "description": "介绍图片[多张用逗号分隔]",
  35265. "type": "string"
  35266. },
  35267. "presaledqty": {
  35268. "description": "已预售量(预售结束时更新)",
  35269. "type": "integer"
  35270. },
  35271. "presaleqty": {
  35272. "description": "预售数量",
  35273. "type": "integer"
  35274. },
  35275. "quoteminunit": {
  35276. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  35277. "type": "integer"
  35278. },
  35279. "refprice": {
  35280. "description": "参考价格[一口价]",
  35281. "type": "number"
  35282. },
  35283. "relatedgoodsid": {
  35284. "description": "关联交易合约ID",
  35285. "type": "integer"
  35286. },
  35287. "stepvalue": {
  35288. "description": "价格最小变动单位",
  35289. "type": "number"
  35290. },
  35291. "trademode": {
  35292. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35293. "type": "integer"
  35294. },
  35295. "vendorattr": {
  35296. "description": "供应商附件(多张,逗号分隔)",
  35297. "type": "string"
  35298. },
  35299. "vendorname": {
  35300. "description": "供应商名称",
  35301. "type": "string"
  35302. },
  35303. "vendorphone": {
  35304. "description": "供应商客服电话",
  35305. "type": "string"
  35306. },
  35307. "videourls": {
  35308. "description": "介绍视频[多张用逗号分隔]",
  35309. "type": "string"
  35310. }
  35311. }
  35312. },
  35313. "models.HsbySellCollectionOrder": {
  35314. "type": "object",
  35315. "required": [
  35316. "goodscode",
  35317. "goodsname",
  35318. "tradeid",
  35319. "trademode"
  35320. ],
  35321. "properties": {
  35322. "agreeunit": {
  35323. "description": "合约单位",
  35324. "type": "number"
  35325. },
  35326. "buyaccountid": {
  35327. "description": "买方账号ID[报价币种]",
  35328. "type": "integer"
  35329. },
  35330. "buyorderid": {
  35331. "description": "买方委托单号",
  35332. "type": "string"
  35333. },
  35334. "createtime": {
  35335. "description": "创建时间",
  35336. "type": "string"
  35337. },
  35338. "currencysign": {
  35339. "description": "货币符号",
  35340. "type": "string"
  35341. },
  35342. "decimalplace": {
  35343. "description": "报价小数位",
  35344. "type": "integer"
  35345. },
  35346. "goodscode": {
  35347. "description": "商品代码(内部)",
  35348. "type": "string"
  35349. },
  35350. "goodsid": {
  35351. "description": "商品ID",
  35352. "type": "integer"
  35353. },
  35354. "goodsname": {
  35355. "description": "商品名称",
  35356. "type": "string"
  35357. },
  35358. "marketid": {
  35359. "description": "市场ID",
  35360. "type": "integer"
  35361. },
  35362. "offamount": {
  35363. "description": "优惠金额",
  35364. "type": "number"
  35365. },
  35366. "payamount": {
  35367. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  35368. "type": "number"
  35369. },
  35370. "payflag": {
  35371. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  35372. "type": "integer"
  35373. },
  35374. "paylimitedtime": {
  35375. "description": "支付期限",
  35376. "type": "string"
  35377. },
  35378. "paytime": {
  35379. "description": "付款时间",
  35380. "type": "string"
  35381. },
  35382. "picurls": {
  35383. "description": "商品介绍图片[多张用逗号分隔]",
  35384. "type": "string"
  35385. },
  35386. "sellaccountid": {
  35387. "description": "卖方账号ID[报价币种]",
  35388. "type": "integer"
  35389. },
  35390. "sellorderid": {
  35391. "description": "卖方委托单号",
  35392. "type": "string"
  35393. },
  35394. "tradeamount": {
  35395. "description": "成交金额",
  35396. "type": "number"
  35397. },
  35398. "tradecharge": {
  35399. "description": "成交手续费(买方)",
  35400. "type": "number"
  35401. },
  35402. "tradedate": {
  35403. "description": "交易日(yyyyMMdd)",
  35404. "type": "string"
  35405. },
  35406. "tradeid": {
  35407. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35408. "type": "string"
  35409. },
  35410. "trademode": {
  35411. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35412. "type": "integer"
  35413. },
  35414. "tradeprice": {
  35415. "description": "成交价格",
  35416. "type": "number"
  35417. },
  35418. "tradeqty": {
  35419. "description": "成交数量",
  35420. "type": "integer"
  35421. }
  35422. }
  35423. },
  35424. "models.HsbySellMyDetail": {
  35425. "type": "object",
  35426. "required": [
  35427. "accountid",
  35428. "buyorsell",
  35429. "goodscode",
  35430. "goodsid",
  35431. "goodsname",
  35432. "marketid",
  35433. "orderid",
  35434. "time",
  35435. "trademode"
  35436. ],
  35437. "properties": {
  35438. "accountid": {
  35439. "description": "账户ID[报价币种]",
  35440. "type": "integer"
  35441. },
  35442. "agreeunit": {
  35443. "description": "合约单位",
  35444. "type": "number"
  35445. },
  35446. "buyorsell": {
  35447. "description": "买卖 - 0:买 1:卖",
  35448. "type": "integer"
  35449. },
  35450. "currencysign": {
  35451. "description": "货币符号",
  35452. "type": "string"
  35453. },
  35454. "decimalplace": {
  35455. "description": "报价小数位",
  35456. "type": "integer"
  35457. },
  35458. "goodscode": {
  35459. "description": "商品代码(内部)",
  35460. "type": "string"
  35461. },
  35462. "goodsid": {
  35463. "description": "商品ID",
  35464. "type": "integer"
  35465. },
  35466. "goodsname": {
  35467. "description": "商品名称",
  35468. "type": "string"
  35469. },
  35470. "marketid": {
  35471. "description": "市场ID",
  35472. "type": "integer"
  35473. },
  35474. "orderid": {
  35475. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  35476. "type": "string"
  35477. },
  35478. "ordertype": {
  35479. "description": "单据类型:0 - 发布中, 1 - 已完成",
  35480. "type": "integer"
  35481. },
  35482. "picurls": {
  35483. "description": "介绍图片[多张用逗号分隔]",
  35484. "type": "string"
  35485. },
  35486. "price": {
  35487. "description": "价格",
  35488. "type": "number"
  35489. },
  35490. "qty": {
  35491. "description": "数量",
  35492. "type": "integer"
  35493. },
  35494. "time": {
  35495. "description": "时间",
  35496. "type": "string"
  35497. },
  35498. "trademode": {
  35499. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35500. "type": "integer"
  35501. },
  35502. "vendorname": {
  35503. "description": "供应商名称",
  35504. "type": "string"
  35505. }
  35506. }
  35507. },
  35508. "models.HsbyTopGoods": {
  35509. "type": "object",
  35510. "required": [
  35511. "goodscode",
  35512. "goodsid",
  35513. "goodsname",
  35514. "marketid",
  35515. "trademode"
  35516. ],
  35517. "properties": {
  35518. "agreeunit": {
  35519. "description": "合约单位",
  35520. "type": "number"
  35521. },
  35522. "currency": {
  35523. "description": "货币",
  35524. "type": "string"
  35525. },
  35526. "currencysign": {
  35527. "description": "货币符号",
  35528. "type": "string"
  35529. },
  35530. "decimalplace": {
  35531. "description": "报价小数位",
  35532. "type": "integer"
  35533. },
  35534. "desccityid": {
  35535. "description": "目的地(市)",
  35536. "type": "integer"
  35537. },
  35538. "descprovinceid": {
  35539. "description": "目的地(省)",
  35540. "type": "integer"
  35541. },
  35542. "goodscode": {
  35543. "description": "商品代码(内部)",
  35544. "type": "string"
  35545. },
  35546. "goodsid": {
  35547. "description": "商品ID(自增ID SEQ_GOODS)",
  35548. "type": "integer"
  35549. },
  35550. "goodsname": {
  35551. "description": "商品名称",
  35552. "type": "string"
  35553. },
  35554. "hotindex": {
  35555. "description": "景点热度",
  35556. "type": "integer"
  35557. },
  35558. "last": {
  35559. "description": "现价",
  35560. "type": "number"
  35561. },
  35562. "marketid": {
  35563. "description": "所属市场ID",
  35564. "type": "integer"
  35565. },
  35566. "picurls": {
  35567. "description": "介绍图片[多张用逗号分隔]",
  35568. "type": "string"
  35569. },
  35570. "quoteminunit": {
  35571. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  35572. "type": "integer"
  35573. },
  35574. "trademode": {
  35575. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35576. "type": "integer"
  35577. },
  35578. "videourls": {
  35579. "description": "介绍视频[多张用逗号分隔]",
  35580. "type": "string"
  35581. }
  35582. }
  35583. },
  35584. "models.HybsMyBuyOrderDetail": {
  35585. "type": "object",
  35586. "required": [
  35587. "accountid",
  35588. "buyorsell",
  35589. "goodscode",
  35590. "goodsid",
  35591. "goodsname",
  35592. "marketid",
  35593. "orderid",
  35594. "orderqty",
  35595. "ordertime",
  35596. "trademode"
  35597. ],
  35598. "properties": {
  35599. "accountid": {
  35600. "description": "账户ID[报价币种]",
  35601. "type": "integer"
  35602. },
  35603. "agreeunit": {
  35604. "description": "合约单位",
  35605. "type": "number"
  35606. },
  35607. "buyorsell": {
  35608. "description": "买卖 - 0:买 1:卖",
  35609. "type": "integer"
  35610. },
  35611. "cancelqty": {
  35612. "description": "撤单数量",
  35613. "type": "integer"
  35614. },
  35615. "currencysign": {
  35616. "description": "货币符号",
  35617. "type": "string"
  35618. },
  35619. "decimalplace": {
  35620. "description": "报价小数位",
  35621. "type": "integer"
  35622. },
  35623. "goodscode": {
  35624. "description": "商品代码(内部)",
  35625. "type": "string"
  35626. },
  35627. "goodsid": {
  35628. "description": "商品ID",
  35629. "type": "integer"
  35630. },
  35631. "goodsname": {
  35632. "description": "商品名称",
  35633. "type": "string"
  35634. },
  35635. "listingselecttype": {
  35636. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  35637. "type": "integer"
  35638. },
  35639. "marketid": {
  35640. "description": "市场ID",
  35641. "type": "integer"
  35642. },
  35643. "mybuystatus": {
  35644. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  35645. "type": "integer"
  35646. },
  35647. "orderamount": {
  35648. "description": "委托金额",
  35649. "type": "number"
  35650. },
  35651. "orderid": {
  35652. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35653. "type": "string"
  35654. },
  35655. "orderprice": {
  35656. "description": "委托价格",
  35657. "type": "number"
  35658. },
  35659. "orderqty": {
  35660. "description": "委托数量",
  35661. "type": "integer"
  35662. },
  35663. "orderstatus": {
  35664. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35665. "type": "integer"
  35666. },
  35667. "ordertime": {
  35668. "description": "委托时间",
  35669. "type": "string"
  35670. },
  35671. "picurls1": {
  35672. "description": "预售商品介绍图片[多张用逗号分隔]",
  35673. "type": "string"
  35674. },
  35675. "picurls2": {
  35676. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  35677. "type": "string"
  35678. },
  35679. "trademode": {
  35680. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35681. "type": "integer"
  35682. },
  35683. "tradeqty": {
  35684. "description": "成交数量",
  35685. "type": "integer"
  35686. },
  35687. "vendorname1": {
  35688. "description": "预售商品供应商名称",
  35689. "type": "string"
  35690. },
  35691. "vendorname2": {
  35692. "description": "挂牌商品供应商名称",
  35693. "type": "string"
  35694. }
  35695. }
  35696. },
  35697. "models.InternalEnableTradeDetail": {
  35698. "type": "object",
  35699. "required": [
  35700. "areauserid",
  35701. "goodsid",
  35702. "tradeuserid"
  35703. ],
  35704. "properties": {
  35705. "agreeunit": {
  35706. "description": "合约乘数",
  35707. "type": "number"
  35708. },
  35709. "areauserid": {
  35710. "description": "企业ID",
  35711. "type": "integer"
  35712. },
  35713. "convertratio": {
  35714. "description": "品种系数",
  35715. "type": "number"
  35716. },
  35717. "deliverygoodscode": {
  35718. "description": "现货品种代码",
  35719. "type": "string"
  35720. },
  35721. "deliverygoodsid": {
  35722. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35723. "type": "integer"
  35724. },
  35725. "deliverygoodsname": {
  35726. "description": "现货品种名称",
  35727. "type": "string"
  35728. },
  35729. "futurehedgeqty": {
  35730. "description": "[已关联数量]期货持仓套期量",
  35731. "type": "number"
  35732. },
  35733. "goodsid": {
  35734. "description": "期货合约ID",
  35735. "type": "integer"
  35736. },
  35737. "hedgeditemid": {
  35738. "description": "被套期项目ID",
  35739. "type": "string"
  35740. },
  35741. "hedgeditemnum": {
  35742. "description": "项目编号",
  35743. "type": "string"
  35744. },
  35745. "tradeuserid": {
  35746. "description": "交易用户ID",
  35747. "type": "integer"
  35748. },
  35749. "unexehedgeqty": {
  35750. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  35751. "type": "number"
  35752. },
  35753. "unexespotqty": {
  35754. "description": "未执行现货量",
  35755. "type": "number"
  35756. },
  35757. "wrstandardcode": {
  35758. "description": "现货品类代码",
  35759. "type": "string"
  35760. },
  35761. "wrstandardid": {
  35762. "description": "现货品类ID(SEQ_WRSTANDARD)",
  35763. "type": "integer"
  35764. },
  35765. "wrstandardname": {
  35766. "description": "现货品类名称",
  35767. "type": "string"
  35768. }
  35769. }
  35770. },
  35771. "models.InternalUncorrelatedTradeDetail": {
  35772. "type": "object",
  35773. "properties": {
  35774. "accountid": {
  35775. "description": "账号ID",
  35776. "type": "integer"
  35777. },
  35778. "accountname": {
  35779. "description": "套期主体",
  35780. "type": "string"
  35781. },
  35782. "agreeunit": {
  35783. "description": "合约乘数",
  35784. "type": "number"
  35785. },
  35786. "areauserid": {
  35787. "description": "所属机构",
  35788. "type": "integer"
  35789. },
  35790. "bizsubjectid": {
  35791. "description": "归属业务部门ID - SubjectID",
  35792. "type": "integer"
  35793. },
  35794. "buyorsell": {
  35795. "description": "方向 - 0:买 1:卖",
  35796. "type": "integer"
  35797. },
  35798. "channelbuildtype": {
  35799. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35800. "type": "integer"
  35801. },
  35802. "convertratio": {
  35803. "description": "品种系数",
  35804. "type": "number"
  35805. },
  35806. "createtime": {
  35807. "description": "创建时间",
  35808. "type": "string"
  35809. },
  35810. "creatorid": {
  35811. "description": "创建人ID",
  35812. "type": "integer"
  35813. },
  35814. "creatorsrc": {
  35815. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  35816. "type": "integer"
  35817. },
  35818. "enableqty": {
  35819. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  35820. "type": "number"
  35821. },
  35822. "enumdicname": {
  35823. "description": "单位",
  35824. "type": "string"
  35825. },
  35826. "goodscode": {
  35827. "description": "合约代码",
  35828. "type": "string"
  35829. },
  35830. "goodsgroupid": {
  35831. "description": "对冲品种ID[期货合约商品组ID]",
  35832. "type": "integer"
  35833. },
  35834. "goodsid": {
  35835. "description": "商品ID",
  35836. "type": "integer"
  35837. },
  35838. "goodsname": {
  35839. "description": "合约名称",
  35840. "type": "string"
  35841. },
  35842. "hedgeditemid": {
  35843. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  35844. "type": "integer"
  35845. },
  35846. "hedgeflag": {
  35847. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  35848. "type": "integer"
  35849. },
  35850. "linkdetailid": {
  35851. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  35852. "type": "string"
  35853. },
  35854. "linkstatus": {
  35855. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  35856. "type": "integer"
  35857. },
  35858. "middlegoodsid": {
  35859. "description": "套保品种ID",
  35860. "type": "integer"
  35861. },
  35862. "middlegoodsqty": {
  35863. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  35864. "type": "number"
  35865. },
  35866. "relatedlot": {
  35867. "description": "[数量]关联手数",
  35868. "type": "number"
  35869. },
  35870. "relatedmode": {
  35871. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  35872. "type": "integer"
  35873. },
  35874. "relatedqty": {
  35875. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  35876. "type": "number"
  35877. },
  35878. "retcode": {
  35879. "description": "返回码",
  35880. "type": "integer"
  35881. },
  35882. "saleuserid": {
  35883. "description": "业务员ID",
  35884. "type": "integer"
  35885. },
  35886. "tradedate": {
  35887. "description": "关联交易日(yyyyMMdd)",
  35888. "type": "string"
  35889. },
  35890. "tradeid": {
  35891. "description": "成交单号",
  35892. "type": "string"
  35893. },
  35894. "tradelot": {
  35895. "description": "成交手数",
  35896. "type": "integer"
  35897. },
  35898. "tradeprice": {
  35899. "description": "成交价",
  35900. "type": "number"
  35901. },
  35902. "tradetime": {
  35903. "description": "成交时间",
  35904. "type": "string"
  35905. },
  35906. "tradetradedate": {
  35907. "description": "成交交易日(yyyyMMdd)",
  35908. "type": "string"
  35909. },
  35910. "tradeuserid": {
  35911. "description": "交易用户ID",
  35912. "type": "integer"
  35913. }
  35914. }
  35915. },
  35916. "models.Loginaccount": {
  35917. "type": "object",
  35918. "required": [
  35919. "loginid"
  35920. ],
  35921. "properties": {
  35922. "accountname": {
  35923. "description": "账户名称",
  35924. "type": "string"
  35925. },
  35926. "canoutin": {
  35927. "description": "是否可出入金 - 0:不可 1:可",
  35928. "type": "integer"
  35929. },
  35930. "clientroleid": {
  35931. "description": "终端角色ID",
  35932. "type": "integer"
  35933. },
  35934. "haslogined": {
  35935. "description": "是否已登录 - 0:未登录 1:已登录",
  35936. "type": "integer"
  35937. },
  35938. "hasupdatedpwd": {
  35939. "description": "是否已更改密码 - 0:未修改 1:已修改",
  35940. "type": "integer"
  35941. },
  35942. "lastloginip": {
  35943. "description": "最新登录地址",
  35944. "type": "string"
  35945. },
  35946. "lastloginmode": {
  35947. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  35948. "type": "integer"
  35949. },
  35950. "lastloginremark": {
  35951. "description": "最新登录描述",
  35952. "type": "string"
  35953. },
  35954. "lastlogintime": {
  35955. "description": "最新登录时间",
  35956. "type": "string"
  35957. },
  35958. "logincode": {
  35959. "description": "登录代码",
  35960. "type": "string"
  35961. },
  35962. "loginfailnum": {
  35963. "description": "连续登录失败次数(登录成功时清零)",
  35964. "type": "integer"
  35965. },
  35966. "loginid": {
  35967. "description": "登陆账号",
  35968. "type": "integer"
  35969. },
  35970. "loginport": {
  35971. "description": "最新登录端口",
  35972. "type": "integer"
  35973. },
  35974. "loginstatus": {
  35975. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  35976. "type": "integer"
  35977. },
  35978. "loginusertype": {
  35979. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  35980. "type": "integer"
  35981. },
  35982. "mobile": {
  35983. "description": "手机号码(加密存储)",
  35984. "type": "string"
  35985. },
  35986. "modifierid": {
  35987. "description": "修改人",
  35988. "type": "integer"
  35989. },
  35990. "modifysrc": {
  35991. "description": "审核来源 - 1:管理端 2:终端",
  35992. "type": "integer"
  35993. },
  35994. "modifytime": {
  35995. "description": "修改时间",
  35996. "type": "string"
  35997. },
  35998. "pwdwrongcount": {
  35999. "description": "密码错误次数",
  36000. "type": "integer"
  36001. },
  36002. "relateduserid": {
  36003. "description": "关联用户ID(机构)",
  36004. "type": "integer"
  36005. },
  36006. "taaccountrighttype": {
  36007. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  36008. "type": "integer"
  36009. },
  36010. "unfreezetime": {
  36011. "description": "账户解冻时间",
  36012. "type": "string"
  36013. },
  36014. "userid": {
  36015. "description": "用户ID",
  36016. "type": "integer"
  36017. }
  36018. }
  36019. },
  36020. "models.MainAccountInfo": {
  36021. "type": "object",
  36022. "properties": {
  36023. "accountid": {
  36024. "description": "账号id",
  36025. "type": "integer"
  36026. },
  36027. "accountname": {
  36028. "description": "账号名称(taaccount表中的名称)",
  36029. "type": "string"
  36030. },
  36031. "appid": {
  36032. "description": "AppID",
  36033. "type": "string"
  36034. },
  36035. "authcode": {
  36036. "description": "授权码",
  36037. "type": "string"
  36038. },
  36039. "brokerid": {
  36040. "description": "经纪商id",
  36041. "type": "string"
  36042. },
  36043. "fcid": {
  36044. "description": "期货公司id",
  36045. "type": "integer"
  36046. },
  36047. "fcname": {
  36048. "description": "期货公司代码",
  36049. "type": "string"
  36050. },
  36051. "hedgeaccountcode": {
  36052. "description": "外部账号代码(主账号登录代码)",
  36053. "type": "string"
  36054. },
  36055. "hedgeaccountpwd": {
  36056. "description": "密码",
  36057. "type": "string"
  36058. },
  36059. "ismain": {
  36060. "description": "是否主账号",
  36061. "type": "integer"
  36062. },
  36063. "relateduserid": {
  36064. "description": "关联用户id",
  36065. "type": "integer"
  36066. },
  36067. "userid": {
  36068. "description": "关联用户id",
  36069. "type": "integer"
  36070. }
  36071. }
  36072. },
  36073. "models.Market": {
  36074. "type": "object",
  36075. "required": [
  36076. "marketid",
  36077. "marketstatus",
  36078. "openmethod",
  36079. "reckonpricealgorithm",
  36080. "trademode",
  36081. "tradeproperty"
  36082. ],
  36083. "properties": {
  36084. "auctionwrtype": {
  36085. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  36086. "type": "integer"
  36087. },
  36088. "canacceptquote": {
  36089. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36090. "type": "integer"
  36091. },
  36092. "cangoodsexercise": {
  36093. "description": "[期权]是否可现货行权- 0:否 1:是",
  36094. "type": "integer"
  36095. },
  36096. "cangoodsexercisetype": {
  36097. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36098. "type": "integer"
  36099. },
  36100. "canmanualquotestrike": {
  36101. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36102. "type": "integer"
  36103. },
  36104. "canmutistage": {
  36105. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36106. "type": "integer"
  36107. },
  36108. "canpreexercise": {
  36109. "description": "[期权]是否可预申报- 0:否 1:是",
  36110. "type": "integer"
  36111. },
  36112. "clearinterval": {
  36113. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36114. "type": "integer"
  36115. },
  36116. "contracttmp": {
  36117. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36118. "type": "string"
  36119. },
  36120. "exchareaid": {
  36121. "description": "所属交易所,可以没有",
  36122. "type": "integer"
  36123. },
  36124. "goodstype": {
  36125. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36126. "type": "integer"
  36127. },
  36128. "hasrebate": {
  36129. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36130. "type": "integer"
  36131. },
  36132. "hastradecredit": {
  36133. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36134. "type": "integer"
  36135. },
  36136. "haswr": {
  36137. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36138. "type": "integer"
  36139. },
  36140. "isdeductmargin": {
  36141. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36142. "type": "integer"
  36143. },
  36144. "isrecordsource": {
  36145. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36146. "type": "integer"
  36147. },
  36148. "isreleasemargin": {
  36149. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36150. "type": "integer"
  36151. },
  36152. "marginformula": {
  36153. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36154. "type": "integer"
  36155. },
  36156. "marginformula2": {
  36157. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36158. "type": "integer"
  36159. },
  36160. "marketid": {
  36161. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36162. "type": "integer"
  36163. },
  36164. "marketname": {
  36165. "description": "市场名称",
  36166. "type": "string"
  36167. },
  36168. "marketserviceid": {
  36169. "description": "市场服务ID",
  36170. "type": "integer"
  36171. },
  36172. "marketstatus": {
  36173. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36174. "type": "integer"
  36175. },
  36176. "markettype": {
  36177. "description": "市场类型- 1:非交易服务 2:交易服务",
  36178. "type": "integer"
  36179. },
  36180. "matchermode": {
  36181. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  36182. "type": "integer"
  36183. },
  36184. "openmethod": {
  36185. "description": "开盘模式 - 0 自动 1手动",
  36186. "type": "integer"
  36187. },
  36188. "otcuserid": {
  36189. "description": "场外期权做市商[场外期权]",
  36190. "type": "integer"
  36191. },
  36192. "outersynctime": {
  36193. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36194. "type": "string"
  36195. },
  36196. "pendingflag": {
  36197. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36198. "type": "integer"
  36199. },
  36200. "pendingtime": {
  36201. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36202. "type": "string"
  36203. },
  36204. "performancetempid": {
  36205. "description": "履约计划模板ID - 作废",
  36206. "type": "integer"
  36207. },
  36208. "premiumquotemode": {
  36209. "description": "权利金报价方式 - 1:自动 2:手动",
  36210. "type": "integer"
  36211. },
  36212. "rebateratio": {
  36213. "description": "返利比率[竞价式]",
  36214. "type": "number"
  36215. },
  36216. "reckonorder": {
  36217. "description": "结算顺序",
  36218. "type": "integer"
  36219. },
  36220. "reckonpricealgorithm": {
  36221. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36222. "type": "integer"
  36223. },
  36224. "reckonpriceparam": {
  36225. "description": "结算价参数",
  36226. "type": "integer"
  36227. },
  36228. "reckontime": {
  36229. "description": "结算时间[通道交易-对冲](HH:mm)",
  36230. "type": "string"
  36231. },
  36232. "roleprioritytype": {
  36233. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36234. "type": "integer"
  36235. },
  36236. "selllistingauditflag": {
  36237. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36238. "type": "integer"
  36239. },
  36240. "trademarkettype": {
  36241. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36242. "type": "integer"
  36243. },
  36244. "trademode": {
  36245. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36246. "type": "integer"
  36247. },
  36248. "tradeproperty": {
  36249. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36250. "type": "integer"
  36251. },
  36252. "tradetype": {
  36253. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36254. "type": "integer"
  36255. }
  36256. }
  36257. },
  36258. "models.Marketcalendar": {
  36259. "type": "object",
  36260. "properties": {
  36261. "holidaydate": {
  36262. "description": "节假日期(yyyy-MM-dd)",
  36263. "type": "string"
  36264. },
  36265. "marketid": {
  36266. "description": "市场ID",
  36267. "type": "integer"
  36268. }
  36269. }
  36270. },
  36271. "models.Marketrun": {
  36272. "type": "object",
  36273. "required": [
  36274. "marketid",
  36275. "nexttradedate",
  36276. "reckonflag",
  36277. "runstatus",
  36278. "tradedate",
  36279. "tradedate2"
  36280. ],
  36281. "properties": {
  36282. "afternexttradedate": {
  36283. "description": "下下交易日",
  36284. "type": "string"
  36285. },
  36286. "clearquoteflag": {
  36287. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  36288. "type": "integer"
  36289. },
  36290. "lastreckondate": {
  36291. "description": "最新交易日(结算成功)",
  36292. "type": "string"
  36293. },
  36294. "machinedate": {
  36295. "description": "机器时间",
  36296. "type": "string"
  36297. },
  36298. "manualflag": {
  36299. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  36300. "type": "integer"
  36301. },
  36302. "marketid": {
  36303. "description": "市场ID",
  36304. "type": "integer"
  36305. },
  36306. "nexttradedate": {
  36307. "description": "下一交易日",
  36308. "type": "string"
  36309. },
  36310. "pretradedate": {
  36311. "description": "上一交易日",
  36312. "type": "string"
  36313. },
  36314. "reckonflag": {
  36315. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  36316. "type": "integer"
  36317. },
  36318. "runstatus": {
  36319. "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.今日免清算",
  36320. "type": "integer"
  36321. },
  36322. "sectionid": {
  36323. "description": "时间段号[多时段时用]",
  36324. "type": "integer"
  36325. },
  36326. "tradedate": {
  36327. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  36328. "type": "string"
  36329. },
  36330. "tradedate2": {
  36331. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  36332. "type": "string"
  36333. },
  36334. "updatetime": {
  36335. "description": "更新时间",
  36336. "type": "string"
  36337. }
  36338. }
  36339. },
  36340. "models.Messageboard": {
  36341. "type": "object",
  36342. "required": [
  36343. "messageboardid"
  36344. ],
  36345. "properties": {
  36346. "contactnum": {
  36347. "description": "联系电话",
  36348. "type": "string"
  36349. },
  36350. "createtime": {
  36351. "description": "创建时间",
  36352. "type": "string"
  36353. },
  36354. "message": {
  36355. "description": "留言信息",
  36356. "type": "string"
  36357. },
  36358. "messageboardid": {
  36359. "description": "留言簿ID(SEQ_MessageBoard)",
  36360. "type": "integer"
  36361. },
  36362. "userid": {
  36363. "description": "用户ID",
  36364. "type": "integer"
  36365. }
  36366. }
  36367. },
  36368. "models.MyBargainApply": {
  36369. "type": "object",
  36370. "required": [
  36371. "userid"
  36372. ],
  36373. "properties": {
  36374. "accountid": {
  36375. "description": "摘牌资金账号",
  36376. "type": "integer"
  36377. },
  36378. "applyprice": {
  36379. "description": "申请价格",
  36380. "type": "string"
  36381. },
  36382. "applyremark": {
  36383. "description": "申请备注",
  36384. "type": "string"
  36385. },
  36386. "applystatus": {
  36387. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  36388. "type": "integer"
  36389. },
  36390. "applytime": {
  36391. "description": "申请时间",
  36392. "type": "string"
  36393. },
  36394. "buyorsell": {
  36395. "description": "买卖 - 0:买 1:卖",
  36396. "type": "integer"
  36397. },
  36398. "buyusername": {
  36399. "description": "买方",
  36400. "type": "string"
  36401. },
  36402. "confirmprice": {
  36403. "description": "可接受价格(拒绝时填写)-作废",
  36404. "type": "number"
  36405. },
  36406. "confirmqty": {
  36407. "description": "可接受数量(拒绝时填写)-作废",
  36408. "type": "integer"
  36409. },
  36410. "confirmremark": {
  36411. "description": "确认备注",
  36412. "type": "string"
  36413. },
  36414. "confirmtime": {
  36415. "description": "确认时间",
  36416. "type": "string"
  36417. },
  36418. "confirmuserid": {
  36419. "description": "确认人",
  36420. "type": "integer"
  36421. },
  36422. "goodsno": {
  36423. "description": "商品编号",
  36424. "type": "string"
  36425. },
  36426. "handlestatus": {
  36427. "description": "处理状态",
  36428. "type": "integer"
  36429. },
  36430. "ladingbillid": {
  36431. "description": "摘牌方提单ID [卖]",
  36432. "type": "integer"
  36433. },
  36434. "marketid": {
  36435. "description": "市场ID",
  36436. "type": "integer"
  36437. },
  36438. "matchaccountid": {
  36439. "description": "挂牌方资金账号",
  36440. "type": "integer"
  36441. },
  36442. "matchuserid": {
  36443. "description": "挂牌方用户ID",
  36444. "type": "integer"
  36445. },
  36446. "performancetemplateid": {
  36447. "description": "履约计划模板ID",
  36448. "type": "integer"
  36449. },
  36450. "price": {
  36451. "description": "价格",
  36452. "type": "number"
  36453. },
  36454. "priceper": {
  36455. "description": "克拉单价 - 类型:1,2,3,5",
  36456. "type": "string"
  36457. },
  36458. "qty": {
  36459. "description": "申请数量",
  36460. "type": "number"
  36461. },
  36462. "refprice": {
  36463. "description": "参考价格",
  36464. "type": "string"
  36465. },
  36466. "retcode": {
  36467. "description": "委托返回代码",
  36468. "type": "integer"
  36469. },
  36470. "sellusername": {
  36471. "description": "卖方",
  36472. "type": "string"
  36473. },
  36474. "sizedisplay": {
  36475. "description": "尺寸",
  36476. "type": "string"
  36477. },
  36478. "subnum": {
  36479. "description": "摘牌方提单子单号 [卖]",
  36480. "type": "integer"
  36481. },
  36482. "tradedate": {
  36483. "description": "交易日(yyyyMMdd)",
  36484. "type": "string"
  36485. },
  36486. "userid": {
  36487. "description": "摘牌人用户ID",
  36488. "type": "integer"
  36489. },
  36490. "warehousenamedisplay": {
  36491. "type": "string"
  36492. },
  36493. "wrbargainid": {
  36494. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  36495. "type": "string"
  36496. },
  36497. "wrtradeorderid": {
  36498. "description": "关联委托单ID",
  36499. "type": "string"
  36500. },
  36501. "zscerttypedisplay": {
  36502. "type": "string"
  36503. },
  36504. "zsclaritytype1display": {
  36505. "type": "string"
  36506. },
  36507. "zsclaritytype2display": {
  36508. "type": "string"
  36509. },
  36510. "zscolortype1display": {
  36511. "type": "string"
  36512. },
  36513. "zscolortype2display": {
  36514. "type": "string"
  36515. },
  36516. "zscrystaltypedisplay": {
  36517. "type": "string"
  36518. },
  36519. "zscurrencytypedisplay": {
  36520. "type": "string"
  36521. },
  36522. "zscurrencytypedisplayunit": {
  36523. "type": "string"
  36524. },
  36525. "zscuttype1display": {
  36526. "type": "string"
  36527. },
  36528. "zscuttype2display": {
  36529. "type": "string"
  36530. },
  36531. "zsczcolor1typedisplay": {
  36532. "type": "string"
  36533. },
  36534. "zsczcolor2typedisplay": {
  36535. "type": "string"
  36536. },
  36537. "zsczcolor3typedisplay": {
  36538. "type": "string"
  36539. },
  36540. "zsfluorescencetype1display": {
  36541. "type": "string"
  36542. },
  36543. "zsfluorescencetype2display": {
  36544. "type": "string"
  36545. },
  36546. "zspolishtype1display": {
  36547. "type": "string"
  36548. },
  36549. "zspolishtype2display": {
  36550. "type": "string"
  36551. },
  36552. "zsshapetypedisplay": {
  36553. "type": "string"
  36554. },
  36555. "zsstyletypedisplay": {
  36556. "type": "string"
  36557. },
  36558. "zssymmetrytype1display": {
  36559. "type": "string"
  36560. },
  36561. "zssymmetrytype2display": {
  36562. "type": "string"
  36563. }
  36564. }
  36565. },
  36566. "models.MyBuyOrder": {
  36567. "type": "object",
  36568. "required": [
  36569. "userid"
  36570. ],
  36571. "properties": {
  36572. "accountid": {
  36573. "description": "资金账户ID",
  36574. "type": "integer"
  36575. },
  36576. "marketid": {
  36577. "description": "市场ID",
  36578. "type": "integer"
  36579. },
  36580. "ordertime": {
  36581. "description": "委托时间",
  36582. "type": "string"
  36583. },
  36584. "origin": {
  36585. "description": "原产地",
  36586. "type": "string"
  36587. },
  36588. "performancetemplateid": {
  36589. "description": "履约计划模板ID",
  36590. "type": "integer"
  36591. },
  36592. "remark": {
  36593. "description": "备注",
  36594. "type": "string"
  36595. },
  36596. "userid": {
  36597. "description": "用户ID",
  36598. "type": "integer"
  36599. },
  36600. "validtime": {
  36601. "description": "有效期限",
  36602. "type": "string"
  36603. },
  36604. "warehouseids": {
  36605. "description": "仓库ID - 多个, 逗号分隔",
  36606. "type": "string"
  36607. },
  36608. "warehouseinfosdisplay": {
  36609. "type": "string"
  36610. },
  36611. "wrtradeorderid": {
  36612. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36613. "type": "string"
  36614. },
  36615. "wrtradeorderstatus": {
  36616. "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、",
  36617. "type": "integer"
  36618. },
  36619. "zscategory": {
  36620. "description": "钻石分类 - 枚举”ZSCategory“",
  36621. "type": "integer"
  36622. },
  36623. "zscategorydisplay": {
  36624. "type": "string"
  36625. },
  36626. "zsclaritytype": {
  36627. "description": "净度 - 两个, 逗号分隔",
  36628. "type": "string"
  36629. },
  36630. "zsclaritytypedisplay": {
  36631. "type": "string"
  36632. },
  36633. "zscolortype": {
  36634. "description": "颜色 - 两个, 逗号分隔",
  36635. "type": "string"
  36636. },
  36637. "zscolortypedisplay": {
  36638. "type": "string"
  36639. },
  36640. "zscrystaltype": {
  36641. "description": "晶型 - 多个,逗号分隔",
  36642. "type": "string"
  36643. },
  36644. "zscrystaltypedisplay": {
  36645. "type": "string"
  36646. },
  36647. "zscurrencytype": {
  36648. "description": "货币类型 - 多个, 逗号分隔",
  36649. "type": "string"
  36650. },
  36651. "zscurrencytypedisplay": {
  36652. "type": "string"
  36653. },
  36654. "zscuttype": {
  36655. "description": "切工 - 两个, 逗号分隔",
  36656. "type": "string"
  36657. },
  36658. "zscuttypedisplay": {
  36659. "type": "string"
  36660. },
  36661. "zsczcolor1type": {
  36662. "description": "彩钻颜色1, 逗号分隔",
  36663. "type": "string"
  36664. },
  36665. "zsczcolor1typedisplay": {
  36666. "type": "string"
  36667. },
  36668. "zsczcolor2type": {
  36669. "description": "彩钻颜色2, 逗号分隔",
  36670. "type": "string"
  36671. },
  36672. "zsczcolor2typedisplay": {
  36673. "type": "string"
  36674. },
  36675. "zsczcolor3type": {
  36676. "description": "彩钻颜色3, 逗号分隔",
  36677. "type": "string"
  36678. },
  36679. "zsczcolor3typedisplay": {
  36680. "type": "string"
  36681. },
  36682. "zsfluorescencetype": {
  36683. "description": "荧光 - 多个, 逗号分隔",
  36684. "type": "string"
  36685. },
  36686. "zsfluorescencetypedisplay": {
  36687. "type": "string"
  36688. },
  36689. "zspolishtype": {
  36690. "description": "抛光度 - 两个, 逗号分隔",
  36691. "type": "string"
  36692. },
  36693. "zspolishtypedisplay": {
  36694. "type": "string"
  36695. },
  36696. "zsshapetype": {
  36697. "description": "形状 - 多个, 逗号分隔",
  36698. "type": "string"
  36699. },
  36700. "zsshapetypedisplay": {
  36701. "type": "string"
  36702. },
  36703. "zssize": {
  36704. "description": "尺寸 - 两个小数, 逗号分隔",
  36705. "type": "string"
  36706. },
  36707. "zsstyletype": {
  36708. "description": "款式 - 多个, 逗号分隔",
  36709. "type": "string"
  36710. },
  36711. "zsstyletypedisplay": {
  36712. "type": "string"
  36713. },
  36714. "zssymmetrytype": {
  36715. "description": "对称度 - 两个, 逗号分隔",
  36716. "type": "string"
  36717. },
  36718. "zssymmetrytypedisplay": {
  36719. "type": "string"
  36720. },
  36721. "zstabledisplay": {
  36722. "description": "求购信息",
  36723. "type": "string"
  36724. }
  36725. }
  36726. },
  36727. "models.MyCoupon": {
  36728. "type": "object",
  36729. "required": [
  36730. "accountid",
  36731. "coupontypeid"
  36732. ],
  36733. "properties": {
  36734. "accountid": {
  36735. "description": "资金账户ID",
  36736. "type": "integer"
  36737. },
  36738. "areauserid": {
  36739. "description": "所属机构",
  36740. "type": "integer"
  36741. },
  36742. "conditionvalue": {
  36743. "description": "条件阈值(可为0)",
  36744. "type": "number"
  36745. },
  36746. "couponcategroy": {
  36747. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  36748. "type": "integer"
  36749. },
  36750. "couponname": {
  36751. "description": "优惠券名称",
  36752. "type": "string"
  36753. },
  36754. "coupontypeid": {
  36755. "description": "优惠券类型ID",
  36756. "type": "string"
  36757. },
  36758. "couponvalue": {
  36759. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  36760. "type": "number"
  36761. },
  36762. "curfreezeqty": {
  36763. "description": "期末冻结数量",
  36764. "type": "integer"
  36765. },
  36766. "curqty": {
  36767. "description": "期末数量",
  36768. "type": "integer"
  36769. },
  36770. "isgeneral": {
  36771. "description": "是否通用券 - 0:否 1:是",
  36772. "type": "integer"
  36773. },
  36774. "isunusable": {
  36775. "description": "是否不可用",
  36776. "type": "boolean"
  36777. },
  36778. "limitedflag": {
  36779. "description": "是否指定商品 - 0:不限 1:限制",
  36780. "type": "integer"
  36781. },
  36782. "limitedgoodsids": {
  36783. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  36784. "type": "string"
  36785. },
  36786. "orifreezeqty": {
  36787. "description": "期初冻结数量",
  36788. "type": "integer"
  36789. },
  36790. "oriqty": {
  36791. "description": "期初数量",
  36792. "type": "integer"
  36793. },
  36794. "reasontype": {
  36795. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  36796. "type": "integer"
  36797. },
  36798. "todaydecrease": {
  36799. "description": "今日减少",
  36800. "type": "integer"
  36801. },
  36802. "todayincrease": {
  36803. "description": "今日增加",
  36804. "type": "integer"
  36805. },
  36806. "userid": {
  36807. "description": "用户ID",
  36808. "type": "integer"
  36809. },
  36810. "userscope": {
  36811. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  36812. "type": "string"
  36813. }
  36814. }
  36815. },
  36816. "models.MyCouponHold": {
  36817. "type": "object",
  36818. "required": [
  36819. "couponholdid"
  36820. ],
  36821. "properties": {
  36822. "accountid": {
  36823. "description": "资金账户ID",
  36824. "type": "integer"
  36825. },
  36826. "conditionvalue": {
  36827. "description": "条件阈值(可为0)",
  36828. "type": "number"
  36829. },
  36830. "couponcategroy": {
  36831. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  36832. "type": "integer"
  36833. },
  36834. "couponholdid": {
  36835. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  36836. "type": "string"
  36837. },
  36838. "couponname": {
  36839. "description": "优惠券名称",
  36840. "type": "string"
  36841. },
  36842. "coupontypeid": {
  36843. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  36844. "type": "string"
  36845. },
  36846. "couponvalue": {
  36847. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  36848. "type": "number"
  36849. },
  36850. "createtime": {
  36851. "description": "创建时间",
  36852. "type": "string"
  36853. },
  36854. "enddate": {
  36855. "description": "结束日期",
  36856. "type": "string"
  36857. },
  36858. "giveapplyid": {
  36859. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  36860. "type": "integer"
  36861. },
  36862. "holdstatus": {
  36863. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  36864. "type": "integer"
  36865. },
  36866. "isgeneral": {
  36867. "description": "是否通用券 - 0:否 1:是",
  36868. "type": "integer"
  36869. },
  36870. "limitedflag": {
  36871. "description": "是否指定商品 - 0:不限 1:限制",
  36872. "type": "integer"
  36873. },
  36874. "limitedgoodsids": {
  36875. "description": "指定商品IDs[逗号分隔]",
  36876. "type": "string"
  36877. },
  36878. "qty": {
  36879. "description": "数量(按1平铺)",
  36880. "type": "integer"
  36881. },
  36882. "startdate": {
  36883. "description": "开始日期",
  36884. "type": "string"
  36885. },
  36886. "userid": {
  36887. "description": "用户ID",
  36888. "type": "integer"
  36889. },
  36890. "userscope": {
  36891. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  36892. "type": "string"
  36893. }
  36894. }
  36895. },
  36896. "models.MyDeListing": {
  36897. "type": "object",
  36898. "required": [
  36899. "userid"
  36900. ],
  36901. "properties": {
  36902. "buyaccountid": {
  36903. "description": "买方账号ID",
  36904. "type": "integer"
  36905. },
  36906. "buychargevalue": {
  36907. "description": "买方手续费",
  36908. "type": "number"
  36909. },
  36910. "buyuserid": {
  36911. "description": "买方用户ID",
  36912. "type": "integer"
  36913. },
  36914. "deliverygoodsid": {
  36915. "description": "现货品种ID",
  36916. "type": "integer"
  36917. },
  36918. "exchangerate": {
  36919. "description": "汇率",
  36920. "type": "number"
  36921. },
  36922. "goodsno": {
  36923. "description": "商品编号",
  36924. "type": "string"
  36925. },
  36926. "marketid": {
  36927. "description": "市场ID",
  36928. "type": "integer"
  36929. },
  36930. "matchusername": {
  36931. "description": "对手方",
  36932. "type": "string"
  36933. },
  36934. "oritradeamount": {
  36935. "description": "成交金额[商品币种]",
  36936. "type": "number"
  36937. },
  36938. "performanceplanid": {
  36939. "description": "履约计划ID/合同ID",
  36940. "type": "string"
  36941. },
  36942. "price": {
  36943. "description": "价格",
  36944. "type": "number"
  36945. },
  36946. "qty": {
  36947. "description": "成交重量",
  36948. "type": "number"
  36949. },
  36950. "sellaccountid": {
  36951. "description": "卖方账号ID",
  36952. "type": "integer"
  36953. },
  36954. "sellchargevalue": {
  36955. "description": "卖方手续费",
  36956. "type": "number"
  36957. },
  36958. "selluserid": {
  36959. "description": "卖方用户ID",
  36960. "type": "integer"
  36961. },
  36962. "sizedisplay": {
  36963. "description": "尺寸",
  36964. "type": "string"
  36965. },
  36966. "tradeamount": {
  36967. "description": "成交金额",
  36968. "type": "number"
  36969. },
  36970. "tradedate": {
  36971. "description": "交易日(yyyyMMdd)",
  36972. "type": "string"
  36973. },
  36974. "tradeprice": {
  36975. "description": "成交价格",
  36976. "type": "number"
  36977. },
  36978. "tradetime": {
  36979. "description": "成交时间",
  36980. "type": "string"
  36981. },
  36982. "userid": {
  36983. "description": "用户ID",
  36984. "type": "integer"
  36985. },
  36986. "warehousenamedisplay": {
  36987. "type": "string"
  36988. },
  36989. "wrfactortypeid": {
  36990. "description": "仓单要素类型ID",
  36991. "type": "integer"
  36992. },
  36993. "wrstandardid": {
  36994. "description": "现货商品ID",
  36995. "type": "integer"
  36996. },
  36997. "wrtradedetailid": {
  36998. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  36999. "type": "string"
  37000. },
  37001. "zscategory": {
  37002. "description": "钻石分类 - 枚举”ZSCategory“",
  37003. "type": "integer"
  37004. },
  37005. "zscategorydisplay": {
  37006. "type": "string"
  37007. },
  37008. "zscerttypedisplay": {
  37009. "type": "string"
  37010. },
  37011. "zsclaritytype1display": {
  37012. "type": "string"
  37013. },
  37014. "zsclaritytype2display": {
  37015. "type": "string"
  37016. },
  37017. "zscolortype1display": {
  37018. "type": "string"
  37019. },
  37020. "zscolortype2display": {
  37021. "type": "string"
  37022. },
  37023. "zscrystaltypedisplay": {
  37024. "type": "string"
  37025. },
  37026. "zscurrencytype": {
  37027. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37028. "type": "integer"
  37029. },
  37030. "zscurrencytypedisplay": {
  37031. "type": "string"
  37032. },
  37033. "zscurrencytypedisplayunit": {
  37034. "type": "string"
  37035. },
  37036. "zscuttype1display": {
  37037. "type": "string"
  37038. },
  37039. "zscuttype2display": {
  37040. "type": "string"
  37041. },
  37042. "zsczcolor1typedisplay": {
  37043. "type": "string"
  37044. },
  37045. "zsczcolor2typedisplay": {
  37046. "type": "string"
  37047. },
  37048. "zsczcolor3typedisplay": {
  37049. "type": "string"
  37050. },
  37051. "zsfluorescencetype1display": {
  37052. "type": "string"
  37053. },
  37054. "zsfluorescencetype2display": {
  37055. "type": "string"
  37056. },
  37057. "zspolishtype1display": {
  37058. "type": "string"
  37059. },
  37060. "zspolishtype2display": {
  37061. "type": "string"
  37062. },
  37063. "zsshapetypedisplay": {
  37064. "type": "string"
  37065. },
  37066. "zsstyletypedisplay": {
  37067. "type": "string"
  37068. },
  37069. "zssymmetrytype1display": {
  37070. "type": "string"
  37071. },
  37072. "zssymmetrytype2display": {
  37073. "type": "string"
  37074. }
  37075. }
  37076. },
  37077. "models.MyDelistingApply": {
  37078. "type": "object",
  37079. "required": [
  37080. "selluserid"
  37081. ],
  37082. "properties": {
  37083. "applyprice": {
  37084. "description": "申请价格",
  37085. "type": "number"
  37086. },
  37087. "applyqty": {
  37088. "description": "申请数量",
  37089. "type": "number"
  37090. },
  37091. "applyremark": {
  37092. "description": "申请备注",
  37093. "type": "string"
  37094. },
  37095. "applystatus": {
  37096. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37097. "type": "integer"
  37098. },
  37099. "applytime": {
  37100. "description": "申请时间",
  37101. "type": "string"
  37102. },
  37103. "auditremark": {
  37104. "description": "确认备注",
  37105. "type": "string"
  37106. },
  37107. "audittime": {
  37108. "description": "确认时间",
  37109. "type": "string"
  37110. },
  37111. "buyuserid": {
  37112. "description": "买方用户ID",
  37113. "type": "integer"
  37114. },
  37115. "buyusername": {
  37116. "description": "买方",
  37117. "type": "string"
  37118. },
  37119. "buywrtradeorderid": {
  37120. "description": "买委托单ID",
  37121. "type": "string"
  37122. },
  37123. "cerno": {
  37124. "description": "证书编号 - 类型:2,4,5",
  37125. "type": "string"
  37126. },
  37127. "goodsno": {
  37128. "description": "商品编号",
  37129. "type": "string"
  37130. },
  37131. "ladingbillid": {
  37132. "description": "卖方提单ID",
  37133. "type": "string"
  37134. },
  37135. "marketid": {
  37136. "description": "市场ID",
  37137. "type": "integer"
  37138. },
  37139. "performancetemplateid": {
  37140. "description": "履约计划模板ID",
  37141. "type": "integer"
  37142. },
  37143. "price": {
  37144. "description": "价格",
  37145. "type": "number"
  37146. },
  37147. "priceper": {
  37148. "description": "克拉单价",
  37149. "type": "string"
  37150. },
  37151. "sellaccountid": {
  37152. "description": "卖方账户ID",
  37153. "type": "integer"
  37154. },
  37155. "selldelistingapplyid": {
  37156. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  37157. "type": "string"
  37158. },
  37159. "selltradeorderid": {
  37160. "description": "卖方委托ID(买方确认成交后更新)",
  37161. "type": "string"
  37162. },
  37163. "selluserid": {
  37164. "description": "卖方用户ID",
  37165. "type": "integer"
  37166. },
  37167. "sellusername": {
  37168. "description": "卖方",
  37169. "type": "string"
  37170. },
  37171. "sizedisplay": {
  37172. "description": "尺寸",
  37173. "type": "string"
  37174. },
  37175. "subnum": {
  37176. "description": "卖方提单子单号",
  37177. "type": "integer"
  37178. },
  37179. "warehouseinfosdisplay": {
  37180. "type": "string"
  37181. },
  37182. "weight": {
  37183. "description": "克拉重量",
  37184. "type": "number"
  37185. },
  37186. "wrfactortypeid": {
  37187. "description": "仓单要素类型ID",
  37188. "type": "string"
  37189. },
  37190. "wrstandardid": {
  37191. "description": "现货商品ID",
  37192. "type": "integer"
  37193. },
  37194. "zsallproperties": {
  37195. "type": "string"
  37196. },
  37197. "zscategorydisplay": {
  37198. "type": "string"
  37199. },
  37200. "zscerttype": {
  37201. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  37202. "type": "integer"
  37203. },
  37204. "zscerttypedisplay": {
  37205. "description": "证书类型",
  37206. "type": "string"
  37207. },
  37208. "zsclaritytypedisplay": {
  37209. "type": "string"
  37210. },
  37211. "zscolortypedisplay": {
  37212. "type": "string"
  37213. },
  37214. "zscrystaltypedisplay": {
  37215. "type": "string"
  37216. },
  37217. "zscurrencytypedisplay": {
  37218. "type": "string"
  37219. },
  37220. "zscurrencytypedisplayunit": {
  37221. "description": "价格单位",
  37222. "type": "string"
  37223. },
  37224. "zscuttypedisplay": {
  37225. "type": "string"
  37226. },
  37227. "zsczcolor1typedisplay": {
  37228. "type": "string"
  37229. },
  37230. "zsczcolor2typedisplay": {
  37231. "type": "string"
  37232. },
  37233. "zsczcolor3typedisplay": {
  37234. "type": "string"
  37235. },
  37236. "zsfluorescencetypedisplay": {
  37237. "type": "string"
  37238. },
  37239. "zspolishtypedisplay": {
  37240. "type": "string"
  37241. },
  37242. "zsshapetypedisplay": {
  37243. "type": "string"
  37244. },
  37245. "zssizedisplay": {
  37246. "type": "string"
  37247. },
  37248. "zsstyletypedisplay": {
  37249. "type": "string"
  37250. },
  37251. "zssymmetrytypedisplay": {
  37252. "type": "string"
  37253. },
  37254. "zstabledisplay": {
  37255. "type": "string"
  37256. }
  37257. }
  37258. },
  37259. "models.MyFavorite": {
  37260. "type": "object",
  37261. "required": [
  37262. "userid"
  37263. ],
  37264. "properties": {
  37265. "accountname": {
  37266. "description": "账户名称(机构名称)",
  37267. "type": "string"
  37268. },
  37269. "buyorsell": {
  37270. "description": "买卖 - 0:买 1:卖",
  37271. "type": "integer"
  37272. },
  37273. "favoritestatus": {
  37274. "description": "收藏状态 - 1:正常 2:失效",
  37275. "type": "integer"
  37276. },
  37277. "goodsno": {
  37278. "description": "商品编号",
  37279. "type": "string"
  37280. },
  37281. "marketid": {
  37282. "description": "市场ID",
  37283. "type": "integer"
  37284. },
  37285. "marketprice": {
  37286. "description": "市场价",
  37287. "type": "string"
  37288. },
  37289. "price": {
  37290. "description": "价格",
  37291. "type": "number"
  37292. },
  37293. "priceper": {
  37294. "description": "克拉单价",
  37295. "type": "string"
  37296. },
  37297. "sellusername": {
  37298. "description": "卖家",
  37299. "type": "string"
  37300. },
  37301. "sizedisplay": {
  37302. "description": "尺寸",
  37303. "type": "string"
  37304. },
  37305. "userid": {
  37306. "description": "用户ID",
  37307. "type": "integer"
  37308. },
  37309. "warehousenamedisplay": {
  37310. "description": "仓库名称",
  37311. "type": "string"
  37312. },
  37313. "weight": {
  37314. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  37315. "type": "number"
  37316. },
  37317. "weightavg": {
  37318. "description": "平均单颗重量 - 类型:1,3",
  37319. "type": "number"
  37320. },
  37321. "wrfactortypeid": {
  37322. "description": "仓单要素类型ID/商品ID(77)",
  37323. "type": "string"
  37324. },
  37325. "wrstandardid": {
  37326. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  37327. "type": "integer"
  37328. },
  37329. "wrtradeorderid": {
  37330. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37331. "type": "string"
  37332. },
  37333. "zscategory": {
  37334. "description": "钻石分类 - 枚举”ZSCategory“",
  37335. "type": "integer"
  37336. },
  37337. "zscategorydisplay": {
  37338. "type": "string"
  37339. },
  37340. "zscerttypedisplay": {
  37341. "type": "string"
  37342. },
  37343. "zsclaritytype1display": {
  37344. "type": "string"
  37345. },
  37346. "zsclaritytype2display": {
  37347. "type": "string"
  37348. },
  37349. "zscolortype1display": {
  37350. "type": "string"
  37351. },
  37352. "zscolortype2display": {
  37353. "type": "string"
  37354. },
  37355. "zscrystaltypedisplay": {
  37356. "type": "string"
  37357. },
  37358. "zscurrencytypedisplay": {
  37359. "type": "string"
  37360. },
  37361. "zscurrencytypedisplayunit": {
  37362. "type": "string"
  37363. },
  37364. "zscuttype1display": {
  37365. "type": "string"
  37366. },
  37367. "zscuttype2display": {
  37368. "type": "string"
  37369. },
  37370. "zsczcolor1typedisplay": {
  37371. "type": "string"
  37372. },
  37373. "zsczcolor2typedisplay": {
  37374. "type": "string"
  37375. },
  37376. "zsczcolor3typedisplay": {
  37377. "type": "string"
  37378. },
  37379. "zsfluorescencetype1display": {
  37380. "type": "string"
  37381. },
  37382. "zsfluorescencetype2display": {
  37383. "type": "string"
  37384. },
  37385. "zspolishtype1display": {
  37386. "type": "string"
  37387. },
  37388. "zspolishtype2display": {
  37389. "type": "string"
  37390. },
  37391. "zsshapetypedisplay": {
  37392. "type": "string"
  37393. },
  37394. "zsstyletypedisplay": {
  37395. "type": "string"
  37396. },
  37397. "zssymmetrytype1display": {
  37398. "type": "string"
  37399. },
  37400. "zssymmetrytype2display": {
  37401. "type": "string"
  37402. }
  37403. }
  37404. },
  37405. "models.MyPerformanc": {
  37406. "type": "object",
  37407. "properties": {
  37408. "accountname": {
  37409. "description": "[对手方]账户名称(机构名称)",
  37410. "type": "string"
  37411. },
  37412. "amount": {
  37413. "description": "履约金额",
  37414. "type": "number"
  37415. },
  37416. "buyaccountid": {
  37417. "description": "买方账号",
  37418. "type": "integer"
  37419. },
  37420. "buyerfreezeamount": {
  37421. "description": "买方履约前冻结资金",
  37422. "type": "number"
  37423. },
  37424. "buyerfreezeamountremain": {
  37425. "description": "买方履约前冻结资金剩余",
  37426. "type": "number"
  37427. },
  37428. "buyerinfo": {
  37429. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  37430. "type": "string"
  37431. },
  37432. "buyorsell": {
  37433. "description": "方向 - 0:买 1:卖",
  37434. "type": "integer"
  37435. },
  37436. "buypaidamount": {
  37437. "description": "买方已冻/已扣金额",
  37438. "type": "number"
  37439. },
  37440. "buytodayamount": {
  37441. "description": "买方今日扣/冻金额 (待开市时清零)",
  37442. "type": "number"
  37443. },
  37444. "curstepid": {
  37445. "description": "当前步骤ID",
  37446. "type": "string"
  37447. },
  37448. "goodsno": {
  37449. "description": "商品编号",
  37450. "type": "string"
  37451. },
  37452. "overshortamount": {
  37453. "description": "溢短金额",
  37454. "type": "number"
  37455. },
  37456. "paymenttype": {
  37457. "description": "买方支付方式 - 1:冻结 2:扣款",
  37458. "type": "integer"
  37459. },
  37460. "performanceplanid": {
  37461. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  37462. "type": "string"
  37463. },
  37464. "performancestatus": {
  37465. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  37466. "type": "integer"
  37467. },
  37468. "price": {
  37469. "description": "价格",
  37470. "type": "number"
  37471. },
  37472. "priceper": {
  37473. "description": "克拉单价",
  37474. "type": "string"
  37475. },
  37476. "relatedorderid": {
  37477. "description": "关联单号(履约类型的关联单号)",
  37478. "type": "string"
  37479. },
  37480. "remaindays": {
  37481. "description": "剩余天数",
  37482. "type": "integer"
  37483. },
  37484. "sellerfreezeamount": {
  37485. "description": "卖方履约前冻结资金",
  37486. "type": "number"
  37487. },
  37488. "sellerfreezeamountremain": {
  37489. "description": "卖方履约前冻结资金剩余",
  37490. "type": "number"
  37491. },
  37492. "sellerinfo": {
  37493. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  37494. "type": "string"
  37495. },
  37496. "sellreceivedamount": {
  37497. "description": "卖方已收金额",
  37498. "type": "number"
  37499. },
  37500. "selltodayamount": {
  37501. "description": "卖方今日收取金额(待开市时清零)",
  37502. "type": "number"
  37503. },
  37504. "sizedisplay": {
  37505. "description": "尺寸",
  37506. "type": "string"
  37507. },
  37508. "steptypeid": {
  37509. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37510. "type": "integer"
  37511. },
  37512. "warehousenamedisplay": {
  37513. "type": "string"
  37514. },
  37515. "zscategorydisplay": {
  37516. "type": "string"
  37517. },
  37518. "zscerttypedisplay": {
  37519. "type": "string"
  37520. },
  37521. "zsclaritytype1display": {
  37522. "type": "string"
  37523. },
  37524. "zsclaritytype2display": {
  37525. "type": "string"
  37526. },
  37527. "zscolortype1display": {
  37528. "type": "string"
  37529. },
  37530. "zscolortype2display": {
  37531. "type": "string"
  37532. },
  37533. "zscrystaltypedisplay": {
  37534. "type": "string"
  37535. },
  37536. "zscurrencytypedisplay": {
  37537. "type": "string"
  37538. },
  37539. "zscurrencytypedisplayunit": {
  37540. "type": "string"
  37541. },
  37542. "zscuttype1display": {
  37543. "type": "string"
  37544. },
  37545. "zscuttype2display": {
  37546. "type": "string"
  37547. },
  37548. "zsczcolor1typedisplay": {
  37549. "type": "string"
  37550. },
  37551. "zsczcolor2typedisplay": {
  37552. "type": "string"
  37553. },
  37554. "zsczcolor3typedisplay": {
  37555. "type": "string"
  37556. },
  37557. "zsfluorescencetype1display": {
  37558. "type": "string"
  37559. },
  37560. "zsfluorescencetype2display": {
  37561. "type": "string"
  37562. },
  37563. "zspolishtype1display": {
  37564. "type": "string"
  37565. },
  37566. "zspolishtype2display": {
  37567. "type": "string"
  37568. },
  37569. "zsshapetypedisplay": {
  37570. "type": "string"
  37571. },
  37572. "zsstyletypedisplay": {
  37573. "type": "string"
  37574. },
  37575. "zssymmetrytype1display": {
  37576. "type": "string"
  37577. },
  37578. "zssymmetrytype2display": {
  37579. "type": "string"
  37580. }
  37581. }
  37582. },
  37583. "models.MyRefer": {
  37584. "type": "object",
  37585. "properties": {
  37586. "accountname": {
  37587. "description": "用户名(脱敏)",
  37588. "type": "string"
  37589. },
  37590. "createtime": {
  37591. "description": "时间(yyyy-mm-dd)",
  37592. "type": "string"
  37593. },
  37594. "score": {
  37595. "description": "积分",
  37596. "type": "number"
  37597. }
  37598. }
  37599. },
  37600. "models.MySellOrder": {
  37601. "type": "object",
  37602. "required": [
  37603. "userid"
  37604. ],
  37605. "properties": {
  37606. "accountid": {
  37607. "description": "资金账号",
  37608. "type": "integer"
  37609. },
  37610. "applyid": {
  37611. "description": "申请单ID",
  37612. "type": "integer"
  37613. },
  37614. "attachment1": {
  37615. "description": "附件1",
  37616. "type": "string"
  37617. },
  37618. "attachment2": {
  37619. "description": "附件2",
  37620. "type": "string"
  37621. },
  37622. "buyorsell": {
  37623. "description": "买卖 - 0:买 1:卖",
  37624. "type": "integer"
  37625. },
  37626. "canbargain": {
  37627. "description": "是否可议价 - 0:不可 1:可",
  37628. "type": "integer"
  37629. },
  37630. "cancelqty": {
  37631. "description": "撤销数量",
  37632. "type": "integer"
  37633. },
  37634. "canceltime": {
  37635. "description": "撤销时间",
  37636. "type": "string"
  37637. },
  37638. "cerno": {
  37639. "type": "string"
  37640. },
  37641. "chargealgorithm": {
  37642. "description": "手续费收取方式 1:比率 2:固定",
  37643. "type": "integer"
  37644. },
  37645. "chargealgorithmvalue": {
  37646. "description": "手续费设置值(交易所部分)",
  37647. "type": "number"
  37648. },
  37649. "chargealgorithmvalue2": {
  37650. "description": "手续费设置值(会员部分)",
  37651. "type": "number"
  37652. },
  37653. "clientordertime": {
  37654. "description": "客户端委托时间",
  37655. "type": "string"
  37656. },
  37657. "cpcertno": {
  37658. "type": "string"
  37659. },
  37660. "exchangerate": {
  37661. "description": "汇率[67]",
  37662. "type": "number"
  37663. },
  37664. "firstratio": {
  37665. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  37666. "type": "number"
  37667. },
  37668. "fixedprice": {
  37669. "description": "[克拉单价]固定价格 - [挂牌]",
  37670. "type": "number"
  37671. },
  37672. "freezecharge": {
  37673. "description": "冻结手续费",
  37674. "type": "number"
  37675. },
  37676. "freezefirstamount": {
  37677. "description": "冻结首付金额 - [摘牌]",
  37678. "type": "number"
  37679. },
  37680. "freezemargin": {
  37681. "description": "冻结保证金",
  37682. "type": "number"
  37683. },
  37684. "goodsno": {
  37685. "description": "商品编号",
  37686. "type": "string"
  37687. },
  37688. "imagepath": {
  37689. "type": "string"
  37690. },
  37691. "isspecified": {
  37692. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  37693. "type": "integer"
  37694. },
  37695. "kppath": {
  37696. "type": "string"
  37697. },
  37698. "kpweight": {
  37699. "type": "string"
  37700. },
  37701. "marginalgorithm": {
  37702. "description": "保证金方式 - 1:比率 2:固定",
  37703. "type": "integer"
  37704. },
  37705. "marginvalue": {
  37706. "description": "保证金设置值",
  37707. "type": "number"
  37708. },
  37709. "marketid": {
  37710. "description": "市场ID",
  37711. "type": "integer"
  37712. },
  37713. "marketprice": {
  37714. "type": "string"
  37715. },
  37716. "orderamount": {
  37717. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  37718. "type": "number"
  37719. },
  37720. "ordertime": {
  37721. "description": "委托时间",
  37722. "type": "string"
  37723. },
  37724. "performancetemplateid": {
  37725. "description": "履约计划模板ID",
  37726. "type": "integer"
  37727. },
  37728. "price": {
  37729. "description": "价格",
  37730. "type": "number"
  37731. },
  37732. "pricefactor": {
  37733. "description": "价格系数(浮动价时填写) - [挂牌]",
  37734. "type": "number"
  37735. },
  37736. "pricemove": {
  37737. "description": "升贴水(浮动价时填写) - [挂牌]",
  37738. "type": "number"
  37739. },
  37740. "priceper": {
  37741. "type": "string"
  37742. },
  37743. "relatedwrtradeorderid": {
  37744. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  37745. "type": "integer"
  37746. },
  37747. "remark": {
  37748. "type": "string"
  37749. },
  37750. "retcode": {
  37751. "description": "错误代码",
  37752. "type": "integer"
  37753. },
  37754. "selledqty": {
  37755. "description": "成交重量",
  37756. "type": "number"
  37757. },
  37758. "settingmaterial": {
  37759. "type": "string"
  37760. },
  37761. "size1": {
  37762. "type": "string"
  37763. },
  37764. "size2": {
  37765. "type": "string"
  37766. },
  37767. "size3": {
  37768. "type": "string"
  37769. },
  37770. "sizedisplay": {
  37771. "description": "尺寸",
  37772. "type": "string"
  37773. },
  37774. "stonedesc": {
  37775. "type": "string"
  37776. },
  37777. "totalqty": {
  37778. "description": "总重量",
  37779. "type": "number"
  37780. },
  37781. "tradedate": {
  37782. "description": "交易日(yyyyMMdd)",
  37783. "type": "string"
  37784. },
  37785. "tradeprice": {
  37786. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  37787. "type": "number"
  37788. },
  37789. "unfreezecharge": {
  37790. "description": "解冻手续费",
  37791. "type": "number"
  37792. },
  37793. "unfreezefirstamount": {
  37794. "description": "解冻首付金额 - [摘牌]",
  37795. "type": "number"
  37796. },
  37797. "unfreezemargin": {
  37798. "description": "解冻保证金",
  37799. "type": "number"
  37800. },
  37801. "userid": {
  37802. "description": "用户ID",
  37803. "type": "integer"
  37804. },
  37805. "uuid": {
  37806. "description": "发起端唯一id",
  37807. "type": "string"
  37808. },
  37809. "validtime": {
  37810. "description": "有效期限",
  37811. "type": "string"
  37812. },
  37813. "validtype": {
  37814. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37815. "type": "integer"
  37816. },
  37817. "warehousenamedisplay": {
  37818. "type": "string"
  37819. },
  37820. "wrbargainid": {
  37821. "description": "议价申请单ID",
  37822. "type": "integer"
  37823. },
  37824. "wrfactortypeid": {
  37825. "description": "仓单要素类型ID/商品ID(77)",
  37826. "type": "integer"
  37827. },
  37828. "wrpath": {
  37829. "type": "string"
  37830. },
  37831. "wrpricetype": {
  37832. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37833. "type": "integer"
  37834. },
  37835. "wrstandardid": {
  37836. "description": "现货商品ID",
  37837. "type": "integer"
  37838. },
  37839. "wrtradeorderid": {
  37840. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37841. "type": "string"
  37842. },
  37843. "wrtradeorderstatus": {
  37844. "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:撤单解冻贷款失败",
  37845. "type": "integer"
  37846. },
  37847. "wrtradetype": {
  37848. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37849. "type": "integer"
  37850. },
  37851. "wrtransferuserid": {
  37852. "description": "仓单受让用户 - [摘牌]",
  37853. "type": "integer"
  37854. },
  37855. "zscategory": {
  37856. "description": "钻石分类 - 枚举”ZSCategory“",
  37857. "type": "integer"
  37858. },
  37859. "zscategorydisplay": {
  37860. "description": "钻石分类 - 描述",
  37861. "type": "string"
  37862. },
  37863. "zscerttypedisplay": {
  37864. "type": "string"
  37865. },
  37866. "zsclaritytype1display": {
  37867. "type": "string"
  37868. },
  37869. "zsclaritytype2display": {
  37870. "type": "string"
  37871. },
  37872. "zscolortype1display": {
  37873. "type": "string"
  37874. },
  37875. "zscolortype2display": {
  37876. "type": "string"
  37877. },
  37878. "zscrystaltype": {
  37879. "type": "string"
  37880. },
  37881. "zscrystaltypedisplay": {
  37882. "type": "string"
  37883. },
  37884. "zscurrencytype": {
  37885. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37886. "type": "integer"
  37887. },
  37888. "zscurrencytypedisplay": {
  37889. "type": "string"
  37890. },
  37891. "zscurrencytypedisplayunit": {
  37892. "type": "string"
  37893. },
  37894. "zscuttype1display": {
  37895. "type": "string"
  37896. },
  37897. "zscuttype2display": {
  37898. "type": "string"
  37899. },
  37900. "zsczcolor1typedisplay": {
  37901. "type": "string"
  37902. },
  37903. "zsczcolor2typedisplay": {
  37904. "type": "string"
  37905. },
  37906. "zsczcolor3typedisplay": {
  37907. "type": "string"
  37908. },
  37909. "zsfluorescencetype1display": {
  37910. "type": "string"
  37911. },
  37912. "zsfluorescencetype2display": {
  37913. "type": "string"
  37914. },
  37915. "zspolishtype1display": {
  37916. "type": "string"
  37917. },
  37918. "zspolishtype2display": {
  37919. "type": "string"
  37920. },
  37921. "zsshapetypedisplay": {
  37922. "type": "string"
  37923. },
  37924. "zsstyletypedisplay": {
  37925. "type": "string"
  37926. },
  37927. "zssymmetrytype1display": {
  37928. "type": "string"
  37929. },
  37930. "zssymmetrytype2display": {
  37931. "type": "string"
  37932. }
  37933. }
  37934. },
  37935. "models.MyUsedCoupon": {
  37936. "type": "object",
  37937. "required": [
  37938. "coupontypeid",
  37939. "orderid"
  37940. ],
  37941. "properties": {
  37942. "accountid": {
  37943. "description": "资金账户ID(买方)",
  37944. "type": "integer"
  37945. },
  37946. "conditionvalue": {
  37947. "description": "条件阈值(可为0)",
  37948. "type": "number"
  37949. },
  37950. "couponcategroy": {
  37951. "description": "种类 - 1:现金券 2:折扣券",
  37952. "type": "integer"
  37953. },
  37954. "couponname": {
  37955. "description": "优惠券名称",
  37956. "type": "string"
  37957. },
  37958. "coupontypeid": {
  37959. "description": "优惠券类型ID(买方)",
  37960. "type": "string"
  37961. },
  37962. "couponvalue": {
  37963. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  37964. "type": "number"
  37965. },
  37966. "createtime": {
  37967. "description": "创建时间",
  37968. "type": "string"
  37969. },
  37970. "goodsid": {
  37971. "description": "商品ID",
  37972. "type": "integer"
  37973. },
  37974. "handlestatus": {
  37975. "description": "处理状态",
  37976. "type": "integer"
  37977. },
  37978. "marketid": {
  37979. "description": "市场ID",
  37980. "type": "integer"
  37981. },
  37982. "offamount": {
  37983. "description": "优惠金额",
  37984. "type": "number"
  37985. },
  37986. "orderid": {
  37987. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37988. "type": "string"
  37989. },
  37990. "sellaccountid": {
  37991. "description": "资金账户ID(卖方)",
  37992. "type": "integer"
  37993. },
  37994. "tradeamount": {
  37995. "description": "成交金额",
  37996. "type": "number"
  37997. },
  37998. "tradeid": {
  37999. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38000. "type": "string"
  38001. },
  38002. "usedqty": {
  38003. "description": "使用数量",
  38004. "type": "integer"
  38005. }
  38006. }
  38007. },
  38008. "models.MyWRPosition": {
  38009. "type": "object",
  38010. "required": [
  38011. "wruserid"
  38012. ],
  38013. "properties": {
  38014. "cerno": {
  38015. "description": "证书编号 - 类型:2,4,5",
  38016. "type": "string"
  38017. },
  38018. "cpcertno": {
  38019. "description": "金伯利证书编号 - 类型:3",
  38020. "type": "string"
  38021. },
  38022. "ffreezeqty": {
  38023. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  38024. "type": "number"
  38025. },
  38026. "ftotalqty": {
  38027. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  38028. "type": "number"
  38029. },
  38030. "goodsno": {
  38031. "description": "商品编号",
  38032. "type": "string"
  38033. },
  38034. "imagepath": {
  38035. "description": "商品照片(相对地址)",
  38036. "type": "string"
  38037. },
  38038. "isvalid": {
  38039. "description": "是否有效 - 0:无效 1:有效",
  38040. "type": "integer"
  38041. },
  38042. "kppath": {
  38043. "description": "金伯利证书图片(相对地址) - 类型:3",
  38044. "type": "string"
  38045. },
  38046. "kpweight": {
  38047. "description": "金伯利证书重量 - 类型:3",
  38048. "type": "string"
  38049. },
  38050. "ladingbillid": {
  38051. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  38052. "type": "string"
  38053. },
  38054. "marketflag": {
  38055. "description": "是否上架,0-全部 1-是 2-否",
  38056. "type": "integer"
  38057. },
  38058. "marketprice": {
  38059. "description": "市场价",
  38060. "type": "string"
  38061. },
  38062. "origin": {
  38063. "description": "原产地 - 类型:3",
  38064. "type": "string"
  38065. },
  38066. "price": {
  38067. "description": "总价(价格) - 类型:1,2,3,4,5",
  38068. "type": "number"
  38069. },
  38070. "priceper": {
  38071. "description": "克拉单价 - 类型:1,2,3,5",
  38072. "type": "string"
  38073. },
  38074. "remark": {
  38075. "description": "备注",
  38076. "type": "string"
  38077. },
  38078. "sellmobile": {
  38079. "description": "手机号码(加密存储)",
  38080. "type": "string"
  38081. },
  38082. "sellusername": {
  38083. "description": "账户名称(机构名称)",
  38084. "type": "string"
  38085. },
  38086. "settingmaterial": {
  38087. "description": "镶嵌材料 - 类型:4",
  38088. "type": "string"
  38089. },
  38090. "size1": {
  38091. "description": "尺寸1 - 类型:2,4,5",
  38092. "type": "string"
  38093. },
  38094. "size2": {
  38095. "description": "尺寸2 - 类型:2,4,5",
  38096. "type": "string"
  38097. },
  38098. "size3": {
  38099. "description": "尺寸3 - 类型:2,4,5",
  38100. "type": "string"
  38101. },
  38102. "sizedisplay": {
  38103. "description": "尺寸",
  38104. "type": "string"
  38105. },
  38106. "stonedesc": {
  38107. "description": "配石描述 - 类型:4",
  38108. "type": "string"
  38109. },
  38110. "subnum": {
  38111. "description": "提单子单号",
  38112. "type": "integer"
  38113. },
  38114. "userid": {
  38115. "description": "用户ID",
  38116. "type": "integer"
  38117. },
  38118. "warehouseid": {
  38119. "description": "仓库ID",
  38120. "type": "integer"
  38121. },
  38122. "warehousenamedisplay": {
  38123. "type": "string"
  38124. },
  38125. "weight": {
  38126. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  38127. "type": "number"
  38128. },
  38129. "weightavg": {
  38130. "description": "平均单颗重量 - 类型:1,3",
  38131. "type": "number"
  38132. },
  38133. "wrpath": {
  38134. "description": "仓单扫描件(相对地址)",
  38135. "type": "string"
  38136. },
  38137. "wrstandardid": {
  38138. "description": "现货商品ID",
  38139. "type": "integer"
  38140. },
  38141. "wrtradeorderid": {
  38142. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38143. "type": "string"
  38144. },
  38145. "wruserid": {
  38146. "description": "登录用户ID",
  38147. "type": "integer"
  38148. },
  38149. "zscategory": {
  38150. "description": "钻石分类 - 枚举”ZSCategory“",
  38151. "type": "integer"
  38152. },
  38153. "zscategorydisplay": {
  38154. "type": "string"
  38155. },
  38156. "zscerttype": {
  38157. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  38158. "type": "integer"
  38159. },
  38160. "zscerttypedisplay": {
  38161. "type": "string"
  38162. },
  38163. "zsclaritytype1": {
  38164. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  38165. "type": "integer"
  38166. },
  38167. "zsclaritytype1display": {
  38168. "type": "string"
  38169. },
  38170. "zsclaritytype2": {
  38171. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  38172. "type": "integer"
  38173. },
  38174. "zsclaritytype2display": {
  38175. "type": "string"
  38176. },
  38177. "zscolortype1": {
  38178. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  38179. "type": "integer"
  38180. },
  38181. "zscolortype1display": {
  38182. "type": "string"
  38183. },
  38184. "zscolortype2": {
  38185. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  38186. "type": "integer"
  38187. },
  38188. "zscolortype2display": {
  38189. "type": "string"
  38190. },
  38191. "zscrystaltype": {
  38192. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  38193. "type": "string"
  38194. },
  38195. "zscrystaltypedisplay": {
  38196. "type": "string"
  38197. },
  38198. "zscurrencytype": {
  38199. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38200. "type": "integer"
  38201. },
  38202. "zscurrencytypedisplay": {
  38203. "type": "string"
  38204. },
  38205. "zscurrencytypedisplayunit": {
  38206. "type": "string"
  38207. },
  38208. "zscuttype1": {
  38209. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  38210. "type": "integer"
  38211. },
  38212. "zscuttype1display": {
  38213. "type": "string"
  38214. },
  38215. "zscuttype2": {
  38216. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  38217. "type": "integer"
  38218. },
  38219. "zscuttype2display": {
  38220. "type": "string"
  38221. },
  38222. "zsczcolor1type": {
  38223. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  38224. "type": "integer"
  38225. },
  38226. "zsczcolor1typedisplay": {
  38227. "type": "string"
  38228. },
  38229. "zsczcolor2type": {
  38230. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  38231. "type": "integer"
  38232. },
  38233. "zsczcolor2typedisplay": {
  38234. "type": "string"
  38235. },
  38236. "zsczcolor3type": {
  38237. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  38238. "type": "integer"
  38239. },
  38240. "zsczcolor3typedisplay": {
  38241. "type": "string"
  38242. },
  38243. "zsfluorescencetype1": {
  38244. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  38245. "type": "integer"
  38246. },
  38247. "zsfluorescencetype1display": {
  38248. "type": "string"
  38249. },
  38250. "zsfluorescencetype2": {
  38251. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  38252. "type": "integer"
  38253. },
  38254. "zsfluorescencetype2display": {
  38255. "type": "string"
  38256. },
  38257. "zspolishtype1": {
  38258. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  38259. "type": "integer"
  38260. },
  38261. "zspolishtype1display": {
  38262. "type": "string"
  38263. },
  38264. "zspolishtype2": {
  38265. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  38266. "type": "integer"
  38267. },
  38268. "zspolishtype2display": {
  38269. "type": "string"
  38270. },
  38271. "zsshapetype": {
  38272. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  38273. "type": "string"
  38274. },
  38275. "zsshapetypedisplay": {
  38276. "type": "string"
  38277. },
  38278. "zsstyletype": {
  38279. "description": "款式 - 类型:4",
  38280. "type": "integer"
  38281. },
  38282. "zsstyletypedisplay": {
  38283. "type": "string"
  38284. },
  38285. "zssymmetrytype1": {
  38286. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  38287. "type": "integer"
  38288. },
  38289. "zssymmetrytype1display": {
  38290. "type": "string"
  38291. },
  38292. "zssymmetrytype2": {
  38293. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  38294. "type": "integer"
  38295. },
  38296. "zssymmetrytype2display": {
  38297. "type": "string"
  38298. }
  38299. }
  38300. },
  38301. "models.NewFuncmenulist": {
  38302. "type": "object",
  38303. "required": [
  38304. "resourcecode"
  38305. ],
  38306. "properties": {
  38307. "authtype": {
  38308. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  38309. "type": "integer"
  38310. },
  38311. "buttonname": {
  38312. "description": "按钮名称",
  38313. "type": "string"
  38314. },
  38315. "buttontype": {
  38316. "description": "按钮类型 - 存按钮样式",
  38317. "type": "string"
  38318. },
  38319. "component": {
  38320. "description": "组件名或组件地址",
  38321. "type": "string"
  38322. },
  38323. "hidden": {
  38324. "description": "是否隐藏 - 0:显示 1:隐藏",
  38325. "type": "integer"
  38326. },
  38327. "iconame": {
  38328. "description": "菜单图标",
  38329. "type": "string"
  38330. },
  38331. "menutype": {
  38332. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  38333. "type": "integer"
  38334. },
  38335. "parentcode": {
  38336. "description": "上级资源代码",
  38337. "type": "string"
  38338. },
  38339. "remark": {
  38340. "description": "Remark",
  38341. "type": "string"
  38342. },
  38343. "resourcecode": {
  38344. "description": "资源代码",
  38345. "type": "string"
  38346. },
  38347. "resourcelevel": {
  38348. "description": "级别1-一级 2-二级 3-三级4-四级",
  38349. "type": "integer"
  38350. },
  38351. "resourcename": {
  38352. "description": "资源名(Title)",
  38353. "type": "string"
  38354. },
  38355. "sort": {
  38356. "description": "排序",
  38357. "type": "integer"
  38358. },
  38359. "url": {
  38360. "description": "Url",
  38361. "type": "string"
  38362. },
  38363. "urltype": {
  38364. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  38365. "type": "integer"
  38366. }
  38367. }
  38368. },
  38369. "models.OperationPrimaryMenu": {
  38370. "type": "object",
  38371. "properties": {
  38372. "Children": {
  38373. "description": "二级功能菜单",
  38374. "type": "array",
  38375. "items": {
  38376. "$ref": "#/definitions/models.OperationSecondaryMenu"
  38377. }
  38378. },
  38379. "Key": {
  38380. "description": "菜单KEY",
  38381. "type": "string"
  38382. },
  38383. "Label": {
  38384. "description": "菜单标题",
  38385. "type": "string"
  38386. }
  38387. }
  38388. },
  38389. "models.OperationSecondaryMenu": {
  38390. "type": "object",
  38391. "properties": {
  38392. "Key": {
  38393. "description": "菜单KEY",
  38394. "type": "string"
  38395. },
  38396. "Label": {
  38397. "description": "菜单标题",
  38398. "type": "string"
  38399. },
  38400. "TabList": {
  38401. "description": "三级功能菜单",
  38402. "type": "array",
  38403. "items": {
  38404. "$ref": "#/definitions/models.OperationTabMenu"
  38405. }
  38406. }
  38407. }
  38408. },
  38409. "models.OperationTabMenu": {
  38410. "type": "object",
  38411. "properties": {
  38412. "Key": {
  38413. "description": "菜单KEY",
  38414. "type": "string"
  38415. },
  38416. "Label": {
  38417. "description": "菜单标题",
  38418. "type": "string"
  38419. }
  38420. }
  38421. },
  38422. "models.Patradelinkdetail": {
  38423. "type": "object",
  38424. "properties": {
  38425. "accountname": {
  38426. "description": "套期主体",
  38427. "type": "string"
  38428. },
  38429. "agreeunit": {
  38430. "description": "合约乘数",
  38431. "type": "number"
  38432. },
  38433. "amount": {
  38434. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  38435. "type": "number"
  38436. },
  38437. "areauserid": {
  38438. "description": "所属机构",
  38439. "type": "integer"
  38440. },
  38441. "bizsubjectid": {
  38442. "description": "归属业务部门ID - SubjectID",
  38443. "type": "integer"
  38444. },
  38445. "buyorsell": {
  38446. "description": "方向 - 0:买 1:卖",
  38447. "type": "integer"
  38448. },
  38449. "convertratio": {
  38450. "description": "品种系数",
  38451. "type": "number"
  38452. },
  38453. "convertratiochange": {
  38454. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  38455. "type": "number"
  38456. },
  38457. "createtime": {
  38458. "description": "[日期时间]创建时间",
  38459. "type": "string"
  38460. },
  38461. "creatorid": {
  38462. "description": "创建人ID",
  38463. "type": "integer"
  38464. },
  38465. "creatorsrc": {
  38466. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  38467. "type": "integer"
  38468. },
  38469. "goodscode": {
  38470. "description": "商品代码(内部)",
  38471. "type": "string"
  38472. },
  38473. "goodsgroupid": {
  38474. "description": "对冲品种ID[期货合约商品组ID]",
  38475. "type": "integer"
  38476. },
  38477. "goodsid": {
  38478. "description": "商品ID",
  38479. "type": "integer"
  38480. },
  38481. "hedgeditemid": {
  38482. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  38483. "type": "integer"
  38484. },
  38485. "hedgeflag": {
  38486. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  38487. "type": "integer"
  38488. },
  38489. "linkdetailid": {
  38490. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  38491. "type": "string"
  38492. },
  38493. "linkstatus": {
  38494. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  38495. "type": "integer"
  38496. },
  38497. "middlegoodsid": {
  38498. "description": "套保品种ID",
  38499. "type": "integer"
  38500. },
  38501. "name": {
  38502. "description": "账户名/子账户",
  38503. "type": "string"
  38504. },
  38505. "optioncode": {
  38506. "description": "[期货合约]期权代码 [期权]",
  38507. "type": "string"
  38508. },
  38509. "ordertype": {
  38510. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  38511. "type": "integer"
  38512. },
  38513. "relatedlot": {
  38514. "description": "[数量]关联手数",
  38515. "type": "number"
  38516. },
  38517. "relatedmode": {
  38518. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  38519. "type": "integer"
  38520. },
  38521. "relatedqty": {
  38522. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  38523. "type": "number"
  38524. },
  38525. "retcode": {
  38526. "description": "返回码",
  38527. "type": "integer"
  38528. },
  38529. "saleuserid": {
  38530. "description": "业务员ID",
  38531. "type": "integer"
  38532. },
  38533. "tradedate": {
  38534. "description": "关联交易日(yyyyMMdd)",
  38535. "type": "string"
  38536. },
  38537. "tradeid": {
  38538. "description": "[成交单号]内部成交单ID",
  38539. "type": "string"
  38540. },
  38541. "tradelot": {
  38542. "description": "成交手数",
  38543. "type": "integer"
  38544. },
  38545. "tradeprice": {
  38546. "description": "[价格]成交价格",
  38547. "type": "number"
  38548. },
  38549. "tradetradedate": {
  38550. "description": "成交交易日(yyyyMMdd)",
  38551. "type": "string"
  38552. }
  38553. }
  38554. },
  38555. "models.PromotionIncome": {
  38556. "type": "object",
  38557. "properties": {
  38558. "profitmonth": {
  38559. "description": "时间",
  38560. "type": "string"
  38561. },
  38562. "profitstatus": {
  38563. "description": "状态 - 1:已支付 2:未支付 3:支取中",
  38564. "type": "integer"
  38565. },
  38566. "sumamount": {
  38567. "description": "金额",
  38568. "type": "number"
  38569. }
  38570. }
  38571. },
  38572. "models.PromotionIncomeDetail": {
  38573. "type": "object",
  38574. "properties": {
  38575. "buyorsell": {
  38576. "description": "方向",
  38577. "type": "string"
  38578. },
  38579. "market": {
  38580. "description": "市场",
  38581. "type": "string"
  38582. },
  38583. "profitamount": {
  38584. "description": "金额",
  38585. "type": "number"
  38586. },
  38587. "profitroletype": {
  38588. "description": "级别",
  38589. "type": "string"
  38590. },
  38591. "tradetime": {
  38592. "description": "时间",
  38593. "type": "string"
  38594. },
  38595. "wrstandardcode": {
  38596. "description": "现货商品代码",
  38597. "type": "string"
  38598. },
  38599. "wrstandardid": {
  38600. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  38601. "type": "integer"
  38602. },
  38603. "wrstandardname": {
  38604. "description": "现货商品名称",
  38605. "type": "string"
  38606. }
  38607. }
  38608. },
  38609. "models.PurchaseTransfer": {
  38610. "type": "object",
  38611. "properties": {
  38612. "pictureurls": {
  38613. "description": "详情图片(逗号分隔)",
  38614. "type": "string"
  38615. },
  38616. "refgoodsid": {
  38617. "description": "参考商品ID",
  38618. "type": "integer"
  38619. },
  38620. "thumurls": {
  38621. "description": "缩略图片(1:1)(逗号分隔)",
  38622. "type": "string"
  38623. },
  38624. "unitid": {
  38625. "description": "现货商品单位ID",
  38626. "type": "integer"
  38627. },
  38628. "wrstandardcode": {
  38629. "description": "现货商品代码",
  38630. "type": "string"
  38631. },
  38632. "wrstandardid": {
  38633. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  38634. "type": "integer"
  38635. },
  38636. "wrstandardname": {
  38637. "description": "现货商品名称(模糊查询)",
  38638. "type": "string"
  38639. }
  38640. }
  38641. },
  38642. "models.QhjAccountOutInApply": {
  38643. "type": "object",
  38644. "properties": {
  38645. "accountcode": {
  38646. "description": "资金账号",
  38647. "type": "string"
  38648. },
  38649. "accountname": {
  38650. "description": "用户名称(名称)",
  38651. "type": "string"
  38652. },
  38653. "accountpwd": {
  38654. "description": "资金密码",
  38655. "type": "string"
  38656. },
  38657. "accountticket": {
  38658. "description": "最新账户服务流水号",
  38659. "type": "string"
  38660. },
  38661. "amount": {
  38662. "description": "金额",
  38663. "type": "number"
  38664. },
  38665. "applyremark": {
  38666. "description": "申请备注",
  38667. "type": "string"
  38668. },
  38669. "applystatus": {
  38670. "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: 复审通过,账户冻结金额检查中;",
  38671. "type": "integer"
  38672. },
  38673. "auditid": {
  38674. "description": "审核人",
  38675. "type": "integer"
  38676. },
  38677. "audittime": {
  38678. "description": "审核时间",
  38679. "type": "string"
  38680. },
  38681. "bank_apply_ticket": {
  38682. "description": "银行申请流水",
  38683. "type": "string"
  38684. },
  38685. "bankaccountname": {
  38686. "description": "银行账户名",
  38687. "type": "string"
  38688. },
  38689. "bankaccountno": {
  38690. "description": "银行卡号",
  38691. "type": "string"
  38692. },
  38693. "bankid": {
  38694. "description": "银行编号",
  38695. "type": "string"
  38696. },
  38697. "bankticket": {
  38698. "description": "银行流水",
  38699. "type": "string"
  38700. },
  38701. "branchbankid": {
  38702. "description": "银行支行号",
  38703. "type": "string"
  38704. },
  38705. "branchbankname": {
  38706. "description": "银行支行名称",
  38707. "type": "string"
  38708. },
  38709. "capamountout": {
  38710. "description": "出金(劣后本金) - 外部子账户",
  38711. "type": "number"
  38712. },
  38713. "certificatephotourl": {
  38714. "description": "凭证地址",
  38715. "type": "string"
  38716. },
  38717. "charge": {
  38718. "description": "手续费",
  38719. "type": "number"
  38720. },
  38721. "checkerrorflag": {
  38722. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  38723. "type": "integer"
  38724. },
  38725. "currency": {
  38726. "description": "币种",
  38727. "type": "string"
  38728. },
  38729. "cusbankid": {
  38730. "description": "托管银行编号",
  38731. "type": "string"
  38732. },
  38733. "cusbankname": {
  38734. "description": "托管银行名称",
  38735. "type": "string"
  38736. },
  38737. "cusbankshortname": {
  38738. "description": "托管银行简称",
  38739. "type": "string"
  38740. },
  38741. "exchticket": {
  38742. "description": "银行服务流水号",
  38743. "type": "string"
  38744. },
  38745. "executetype": {
  38746. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  38747. "type": "integer"
  38748. },
  38749. "extendinfo": {
  38750. "description": "扩展信息",
  38751. "type": "string"
  38752. },
  38753. "extoperateid": {
  38754. "description": "交易服务流水号",
  38755. "type": "integer"
  38756. },
  38757. "infamount": {
  38758. "description": "劣后金额(自有)",
  38759. "type": "number"
  38760. },
  38761. "logincode": {
  38762. "description": "登录账号(账号)",
  38763. "type": "string"
  38764. },
  38765. "netaddr": {
  38766. "description": "调转网址",
  38767. "type": "string"
  38768. },
  38769. "priamount": {
  38770. "description": "优先金额(授信)",
  38771. "type": "number"
  38772. },
  38773. "reauditid": {
  38774. "description": "复审人",
  38775. "type": "integer"
  38776. },
  38777. "reauditremark": {
  38778. "description": "复审备注",
  38779. "type": "string"
  38780. },
  38781. "reaudittime": {
  38782. "description": "复审时间",
  38783. "type": "string"
  38784. },
  38785. "relatedorderid": {
  38786. "description": "三方关联ID",
  38787. "type": "string"
  38788. },
  38789. "remark": {
  38790. "description": "备注",
  38791. "type": "string"
  38792. },
  38793. "remark2": {
  38794. "description": "备注(失败原因)",
  38795. "type": "string"
  38796. },
  38797. "soucreamount": {
  38798. "description": "原始出入金金额",
  38799. "type": "number"
  38800. },
  38801. "soucrecurrencyid": {
  38802. "description": "原始出入金币种",
  38803. "type": "integer"
  38804. },
  38805. "tradedate": {
  38806. "description": "交易日(yyyyMMdd)",
  38807. "type": "string"
  38808. },
  38809. "updatetime": {
  38810. "description": "更新时间(申请时间)",
  38811. "type": "string"
  38812. },
  38813. "userid": {
  38814. "description": "用户id",
  38815. "type": "integer"
  38816. },
  38817. "userinfotype": {
  38818. "description": "账户类型 1-个人 2-企业",
  38819. "type": "integer"
  38820. }
  38821. }
  38822. },
  38823. "models.QhjAgreementChangeLog": {
  38824. "type": "object",
  38825. "properties": {
  38826. "agreementcontent": {
  38827. "description": "协议内容",
  38828. "type": "string"
  38829. },
  38830. "agreementfrequency": {
  38831. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  38832. "type": "integer"
  38833. },
  38834. "agreementid": {
  38835. "description": "协议ID",
  38836. "type": "integer"
  38837. },
  38838. "agreementname": {
  38839. "description": "协议名称",
  38840. "type": "string"
  38841. },
  38842. "agreementno": {
  38843. "description": "协议编号",
  38844. "type": "string"
  38845. },
  38846. "agreementtype": {
  38847. "description": "协议类型 - 1:注册 2:登录 3:交易",
  38848. "type": "integer"
  38849. },
  38850. "agreementversion": {
  38851. "description": "协议版本号",
  38852. "type": "integer"
  38853. },
  38854. "logid": {
  38855. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  38856. "type": "integer"
  38857. },
  38858. "reviserid": {
  38859. "description": "修改人",
  38860. "type": "integer"
  38861. },
  38862. "revisersrc": {
  38863. "description": "修改来源 - 1:管理端 2:终端",
  38864. "type": "integer"
  38865. },
  38866. "updatetime": {
  38867. "description": "更新时间",
  38868. "type": "string"
  38869. }
  38870. }
  38871. },
  38872. "models.QhjAgreementConfig": {
  38873. "type": "object",
  38874. "properties": {
  38875. "agreementcontent": {
  38876. "description": "协议内容",
  38877. "type": "string"
  38878. },
  38879. "agreementfrequency": {
  38880. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  38881. "type": "integer"
  38882. },
  38883. "agreementid": {
  38884. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  38885. "type": "integer"
  38886. },
  38887. "agreementname": {
  38888. "description": "协议名称",
  38889. "type": "string"
  38890. },
  38891. "agreementno": {
  38892. "description": "协议编号",
  38893. "type": "string"
  38894. },
  38895. "agreementtype": {
  38896. "description": "协议类型 - 1:注册 2:登录 3:交易",
  38897. "type": "integer"
  38898. },
  38899. "agreementversion": {
  38900. "description": "协议版本号(从1开始每次修改加1)",
  38901. "type": "integer"
  38902. },
  38903. "createtime": {
  38904. "description": "创建时间",
  38905. "type": "string"
  38906. },
  38907. "creatorid": {
  38908. "description": "创建人",
  38909. "type": "integer"
  38910. },
  38911. "creatorsrc": {
  38912. "description": "创建来源 - 1:管理端 2:终端",
  38913. "type": "integer"
  38914. },
  38915. "isvalid": {
  38916. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  38917. "type": "integer"
  38918. },
  38919. "reviserid": {
  38920. "description": "修改人",
  38921. "type": "integer"
  38922. },
  38923. "revisersrc": {
  38924. "description": "修改来源 - 1:管理端 2:终端",
  38925. "type": "integer"
  38926. },
  38927. "updatetime": {
  38928. "description": "更新时间",
  38929. "type": "string"
  38930. }
  38931. }
  38932. },
  38933. "models.QhjAreaFinanceConfig": {
  38934. "type": "object",
  38935. "properties": {
  38936. "additionalratio": {
  38937. "description": "追加款比例",
  38938. "type": "number"
  38939. },
  38940. "advanceratio": {
  38941. "description": "预付款比例",
  38942. "type": "number"
  38943. },
  38944. "alarmratio": {
  38945. "description": "告警比例",
  38946. "type": "number"
  38947. },
  38948. "consumptiondirectreward": {
  38949. "description": "消费直推奖励值",
  38950. "type": "number"
  38951. },
  38952. "consumptionenabled": {
  38953. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  38954. "type": "integer"
  38955. },
  38956. "consumptionindirectreward": {
  38957. "description": "消费间推奖励值",
  38958. "type": "number"
  38959. },
  38960. "consumptionmodel": {
  38961. "description": "消费奖励方式 - 1:比率 2:固定",
  38962. "type": "integer"
  38963. },
  38964. "customerservicenum": {
  38965. "description": "客服电话",
  38966. "type": "string"
  38967. },
  38968. "dayinterestrate": {
  38969. "description": "日利率",
  38970. "type": "number"
  38971. },
  38972. "disableconsumptiontips": {
  38973. "description": "关闭消费奖励提示",
  38974. "type": "string"
  38975. },
  38976. "modifierid": {
  38977. "description": "修改人ID",
  38978. "type": "integer"
  38979. },
  38980. "modifysrc": {
  38981. "description": "审核来源 - 1:管理端 2:终端",
  38982. "type": "integer"
  38983. },
  38984. "modifytime": {
  38985. "description": "修改时间",
  38986. "type": "string"
  38987. },
  38988. "promotionvalue": {
  38989. "description": "推广奖励值(固定)",
  38990. "type": "number"
  38991. },
  38992. "scoreconfigvalue1": {
  38993. "description": "提货积分配置1",
  38994. "type": "integer"
  38995. },
  38996. "scoreconfigvalue2": {
  38997. "description": "提货积分配置2",
  38998. "type": "integer"
  38999. },
  39000. "userid": {
  39001. "description": "机构用户ID其他做市关系,都设置为 1",
  39002. "type": "integer"
  39003. },
  39004. "username": {
  39005. "description": "用户名称",
  39006. "type": "string"
  39007. }
  39008. }
  39009. },
  39010. "models.QhjBankAccountSign": {
  39011. "type": "object",
  39012. "properties": {
  39013. "accountcode": {
  39014. "description": "资金账号",
  39015. "type": "string"
  39016. },
  39017. "accountname": {
  39018. "description": "资金账号对应的账号名(UserName)",
  39019. "type": "string"
  39020. },
  39021. "accountname2": {
  39022. "description": "资金账号对应的账号名(UserName) - 密文",
  39023. "type": "string"
  39024. },
  39025. "accounttype": {
  39026. "description": "账户类型(UserType)",
  39027. "type": "integer"
  39028. },
  39029. "applicationtime": {
  39030. "description": "最后一次更新的时间",
  39031. "type": "string"
  39032. },
  39033. "applyexchticket": {
  39034. "description": "申请流水",
  39035. "type": "string"
  39036. },
  39037. "auditid": {
  39038. "description": "审核人",
  39039. "type": "integer"
  39040. },
  39041. "audittime": {
  39042. "description": "审核时间",
  39043. "type": "string"
  39044. },
  39045. "bankaccountname": {
  39046. "description": "签约银行卡账号名",
  39047. "type": "string"
  39048. },
  39049. "bankaccountname2": {
  39050. "description": "签约银行卡账号名 - 密文",
  39051. "type": "string"
  39052. },
  39053. "bankaccountno": {
  39054. "description": "银行卡号",
  39055. "type": "string"
  39056. },
  39057. "bankaccountno2": {
  39058. "description": "银行卡号 - 密文",
  39059. "type": "string"
  39060. },
  39061. "bankaccounttype": {
  39062. "description": "银行账户类型 - 1-对私; 2-对公",
  39063. "type": "integer"
  39064. },
  39065. "bankcardtype": {
  39066. "description": "银行卡类型",
  39067. "type": "integer"
  39068. },
  39069. "bankchildaccount": {
  39070. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  39071. "type": "string"
  39072. },
  39073. "bankcity": {
  39074. "description": "开户行城市",
  39075. "type": "string"
  39076. },
  39077. "bankid": {
  39078. "description": "签约银行ID",
  39079. "type": "string"
  39080. },
  39081. "bankname": {
  39082. "description": "签约银行名称",
  39083. "type": "string"
  39084. },
  39085. "bankprovince": {
  39086. "description": "开户行省份",
  39087. "type": "string"
  39088. },
  39089. "branchbankid": {
  39090. "description": "签约银行支行号",
  39091. "type": "string"
  39092. },
  39093. "branchbankname": {
  39094. "description": "签约银行支行名称",
  39095. "type": "string"
  39096. },
  39097. "cardno": {
  39098. "description": "证件号码",
  39099. "type": "string"
  39100. },
  39101. "cardno2": {
  39102. "description": "证件号码 - 密文",
  39103. "type": "string"
  39104. },
  39105. "cardtype": {
  39106. "description": "证件类型",
  39107. "type": "string"
  39108. },
  39109. "currency": {
  39110. "description": "币种",
  39111. "type": "string"
  39112. },
  39113. "cusbankid": {
  39114. "description": "托管银行编号",
  39115. "type": "string"
  39116. },
  39117. "direct": {
  39118. "description": "方向(可以判断那方先发起的签约)",
  39119. "type": "integer"
  39120. },
  39121. "exchticket": {
  39122. "description": "最后一次签约成功的流水号",
  39123. "type": "string"
  39124. },
  39125. "extendinfo": {
  39126. "description": "扩展信息(JSON字符串)",
  39127. "type": "string"
  39128. },
  39129. "mobilephone": {
  39130. "description": "手机号",
  39131. "type": "string"
  39132. },
  39133. "mobilephone2": {
  39134. "description": "手机号 - 密文",
  39135. "type": "string"
  39136. },
  39137. "netaddr": {
  39138. "description": "调转网址",
  39139. "type": "string"
  39140. },
  39141. "relateduserid": {
  39142. "description": "关联使用者userid",
  39143. "type": "integer"
  39144. },
  39145. "signstatus": {
  39146. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  39147. "type": "integer"
  39148. },
  39149. "updatetime": {
  39150. "description": "更新时间(签解约更新时间)",
  39151. "type": "string"
  39152. }
  39153. }
  39154. },
  39155. "models.QhjBankInfo": {
  39156. "type": "object",
  39157. "properties": {
  39158. "bankid": {
  39159. "description": "银行ID",
  39160. "type": "string"
  39161. },
  39162. "bankname": {
  39163. "description": "银行名称",
  39164. "type": "string"
  39165. },
  39166. "clearbankno": {
  39167. "description": "清算系统银行编号",
  39168. "type": "string"
  39169. },
  39170. "orderindex": {
  39171. "description": "排序顺序",
  39172. "type": "integer"
  39173. },
  39174. "status": {
  39175. "description": "状态 - 0:正常 1:注销",
  39176. "type": "integer"
  39177. }
  39178. }
  39179. },
  39180. "models.QhjBrokerApply": {
  39181. "type": "object",
  39182. "properties": {
  39183. "applicantid": {
  39184. "description": "申请人",
  39185. "type": "integer"
  39186. },
  39187. "applysrc": {
  39188. "description": "申请来源 - 1:管理端 2:终端",
  39189. "type": "integer"
  39190. },
  39191. "applystatus": {
  39192. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39193. "type": "integer"
  39194. },
  39195. "applytime": {
  39196. "description": "申请时间",
  39197. "type": "string"
  39198. },
  39199. "auditorid": {
  39200. "description": "审核人",
  39201. "type": "integer"
  39202. },
  39203. "auditremark": {
  39204. "description": "审核备注",
  39205. "type": "string"
  39206. },
  39207. "auditsrc": {
  39208. "description": "审核来源 - 1:管理端 2:终端",
  39209. "type": "integer"
  39210. },
  39211. "audittime": {
  39212. "description": "审核时间",
  39213. "type": "string"
  39214. },
  39215. "audittradedate": {
  39216. "description": "审核交易日(yyyyMMdd)",
  39217. "type": "string"
  39218. },
  39219. "brokerapplyid": {
  39220. "description": "申请ID(SEQ_BROKERAPPLY)",
  39221. "type": "integer"
  39222. },
  39223. "cardbackphotourl": {
  39224. "description": "证件背面图片地址",
  39225. "type": "string"
  39226. },
  39227. "cardfrontphotourl": {
  39228. "description": "证件正面图片地址",
  39229. "type": "string"
  39230. },
  39231. "cardnum": {
  39232. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  39233. "type": "string"
  39234. },
  39235. "customername": {
  39236. "description": "姓名",
  39237. "type": "string"
  39238. },
  39239. "logincode": {
  39240. "description": "登录代码",
  39241. "type": "string"
  39242. },
  39243. "mobile": {
  39244. "description": "手机号码",
  39245. "type": "string"
  39246. },
  39247. "parentuserid": {
  39248. "description": "所属机构id",
  39249. "type": "integer"
  39250. },
  39251. "parentusername": {
  39252. "description": "所属机构名称",
  39253. "type": "string"
  39254. },
  39255. "refereeuserid": {
  39256. "description": "推荐人id(经纪人)",
  39257. "type": "integer"
  39258. },
  39259. "refernum": {
  39260. "description": "推荐码",
  39261. "type": "string"
  39262. },
  39263. "remark": {
  39264. "description": "备注",
  39265. "type": "string"
  39266. },
  39267. "subarealevelpath": {
  39268. "description": "层级路径",
  39269. "type": "string"
  39270. },
  39271. "tradedate": {
  39272. "description": "交易日(yyyyMMdd)",
  39273. "type": "string"
  39274. },
  39275. "userid": {
  39276. "description": "申请人用户ID",
  39277. "type": "integer"
  39278. },
  39279. "userinfotype": {
  39280. "description": "用户类型 1-个人 2-企业",
  39281. "type": "integer"
  39282. },
  39283. "username": {
  39284. "description": "用户名称",
  39285. "type": "string"
  39286. }
  39287. }
  39288. },
  39289. "models.QhjBrokerApplyEx": {
  39290. "type": "object",
  39291. "properties": {
  39292. "applylist": {
  39293. "description": "经纪人申请记录(只返回最新一条)",
  39294. "type": "array",
  39295. "items": {
  39296. "$ref": "#/definitions/models.QhjBrokerApply"
  39297. }
  39298. },
  39299. "canrecommend": {
  39300. "description": "是否经纪人 0-不是 1-是",
  39301. "type": "integer"
  39302. },
  39303. "refernum": {
  39304. "description": "推荐码",
  39305. "type": "string"
  39306. },
  39307. "userid": {
  39308. "description": "用户id",
  39309. "type": "integer"
  39310. },
  39311. "userinfotype": {
  39312. "description": "用户类型 1-个人 2-企业",
  39313. "type": "integer"
  39314. }
  39315. }
  39316. },
  39317. "models.QhjBrokerRewardLog": {
  39318. "type": "object",
  39319. "properties": {
  39320. "accountid": {
  39321. "description": "资金账号ID",
  39322. "type": "integer"
  39323. },
  39324. "createtime": {
  39325. "description": "创建时间(时间)",
  39326. "type": "string"
  39327. },
  39328. "handlestatus": {
  39329. "description": "处理状态",
  39330. "type": "integer"
  39331. },
  39332. "logid": {
  39333. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39334. "type": "string"
  39335. },
  39336. "marketid": {
  39337. "description": "市场ID",
  39338. "type": "integer"
  39339. },
  39340. "mmaccountid": {
  39341. "description": "做市商资金账号ID",
  39342. "type": "string"
  39343. },
  39344. "mmuserid": {
  39345. "description": "做市商用户ID",
  39346. "type": "string"
  39347. },
  39348. "rewardamount": {
  39349. "description": "奖励金额",
  39350. "type": "number"
  39351. },
  39352. "rewardmodel": {
  39353. "description": "消费奖励方式 - 1:比率 2:固定",
  39354. "type": "integer"
  39355. },
  39356. "rewardtype": {
  39357. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  39358. "type": "integer"
  39359. },
  39360. "rewardvalue": {
  39361. "description": "配置奖励值",
  39362. "type": "number"
  39363. },
  39364. "srcamount": {
  39365. "description": "成交金额 [消费奖励] (金额)",
  39366. "type": "number"
  39367. },
  39368. "srcgoodsid": {
  39369. "description": "来源商品ID [消费奖励]",
  39370. "type": "string"
  39371. },
  39372. "srctime": {
  39373. "description": "来源时间 (成交时间) [消费奖励]",
  39374. "type": "string"
  39375. },
  39376. "srctradeid": {
  39377. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  39378. "type": "string"
  39379. },
  39380. "srcuserid": {
  39381. "description": "来源用户ID(推广账户)",
  39382. "type": "string"
  39383. },
  39384. "srcusername": {
  39385. "description": "推广账户名称",
  39386. "type": "string"
  39387. },
  39388. "tradedate": {
  39389. "description": "交易日(yyyyMMdd)",
  39390. "type": "string"
  39391. },
  39392. "userid": {
  39393. "description": "经纪人用户ID",
  39394. "type": "integer"
  39395. }
  39396. }
  39397. },
  39398. "models.QhjContract": {
  39399. "type": "object",
  39400. "properties": {
  39401. "contractconfirmtime": {
  39402. "description": "合同确认时间(时间)",
  39403. "type": "string"
  39404. },
  39405. "currisklevel": {
  39406. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  39407. "type": "integer"
  39408. },
  39409. "decimalplace": {
  39410. "description": "商品报价小数位",
  39411. "type": "integer"
  39412. },
  39413. "enumdicname": {
  39414. "description": "单位名称",
  39415. "type": "string"
  39416. },
  39417. "goodscode": {
  39418. "description": "商品代码",
  39419. "type": "string"
  39420. },
  39421. "goodsid": {
  39422. "description": "商品ID [5:融资单]",
  39423. "type": "integer"
  39424. },
  39425. "goodsname": {
  39426. "description": "商品名称",
  39427. "type": "string"
  39428. },
  39429. "goodunitid": {
  39430. "description": "商品单位id",
  39431. "type": "integer"
  39432. },
  39433. "initmargin": {
  39434. "description": "初始保证金(首付款)",
  39435. "type": "number"
  39436. },
  39437. "lenderamount": {
  39438. "description": "贷款金额(总额|订单总额)",
  39439. "type": "number"
  39440. },
  39441. "marginratio": {
  39442. "description": "保证金比率(首付比例)",
  39443. "type": "number"
  39444. },
  39445. "payamount": {
  39446. "description": "已付(已付货款)",
  39447. "type": "number"
  39448. },
  39449. "reckonrecovermargin": {
  39450. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  39451. "type": "number"
  39452. },
  39453. "recoveredmargin": {
  39454. "description": "已追缴保证金",
  39455. "type": "number"
  39456. },
  39457. "remainamount": {
  39458. "description": "合同剩余金额(融资额)",
  39459. "type": "number"
  39460. },
  39461. "scfcontractid": {
  39462. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  39463. "type": "string"
  39464. },
  39465. "scfcontractstatus": {
  39466. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  39467. "type": "integer"
  39468. },
  39469. "scfcontracttype": {
  39470. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  39471. "type": "integer"
  39472. },
  39473. "totalinterest": {
  39474. "description": "已计总利息(利息)",
  39475. "type": "number"
  39476. },
  39477. "tradeprice": {
  39478. "description": "成交价格(成本价格)",
  39479. "type": "number"
  39480. },
  39481. "userid": {
  39482. "description": "用户ID",
  39483. "type": "integer"
  39484. },
  39485. "username": {
  39486. "description": "用户名称",
  39487. "type": "string"
  39488. },
  39489. "wrqty": {
  39490. "description": "仓单数量(数量)",
  39491. "type": "number"
  39492. }
  39493. }
  39494. },
  39495. "models.QhjContractLog": {
  39496. "type": "object",
  39497. "properties": {
  39498. "amount": {
  39499. "description": "支付金额",
  39500. "type": "number"
  39501. },
  39502. "amounttype": {
  39503. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  39504. "type": "integer"
  39505. },
  39506. "logid": {
  39507. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39508. "type": "string"
  39509. },
  39510. "remainamount": {
  39511. "description": "剩余货款",
  39512. "type": "number"
  39513. },
  39514. "scfcontractid": {
  39515. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  39516. "type": "integer"
  39517. },
  39518. "updatetime": {
  39519. "description": "更新时间",
  39520. "type": "string"
  39521. }
  39522. }
  39523. },
  39524. "models.QhjCusBankSignBankEx": {
  39525. "type": "object",
  39526. "properties": {
  39527. "banklst": {
  39528. "description": "银行列表",
  39529. "type": "array",
  39530. "items": {
  39531. "$ref": "#/definitions/models.QhjBankInfo"
  39532. }
  39533. },
  39534. "canallot": {
  39535. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  39536. "type": "integer"
  39537. },
  39538. "canallotquery": {
  39539. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  39540. "type": "integer"
  39541. },
  39542. "canbindcard": {
  39543. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  39544. "type": "integer"
  39545. },
  39546. "caninamount": {
  39547. "description": "是否可入金 - 0:不可 1:可以",
  39548. "type": "integer"
  39549. },
  39550. "caninamount2": {
  39551. "description": "是否可入金(网银端) - 0:不可 1:可以",
  39552. "type": "integer"
  39553. },
  39554. "canmodifybankcard": {
  39555. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  39556. "type": "integer"
  39557. },
  39558. "canmodifyphone": {
  39559. "description": "是否可修改手机号 - 0:不可 1:可以",
  39560. "type": "integer"
  39561. },
  39562. "canmodifysigninfo": {
  39563. "description": "是否可修改签约信息 - 0:不可 1:可以",
  39564. "type": "integer"
  39565. },
  39566. "canoutamount": {
  39567. "description": "是否可出金 - 0:不可 1:可以",
  39568. "type": "integer"
  39569. },
  39570. "canoutamount2": {
  39571. "description": "是否可出金(网银端) - 0:不可 1:可以",
  39572. "type": "integer"
  39573. },
  39574. "canrelease": {
  39575. "description": "是否可解约 - 0:不可 1:可以",
  39576. "type": "integer"
  39577. },
  39578. "canrelease2": {
  39579. "description": "是否可解约(网银端) - 0:不可 1:可以",
  39580. "type": "integer"
  39581. },
  39582. "cansign": {
  39583. "description": "是否可签约 - 0:不可 1:可以",
  39584. "type": "integer"
  39585. },
  39586. "cansign2": {
  39587. "description": "是否可签约(网银端) - 0:不可 1:可以",
  39588. "type": "integer"
  39589. },
  39590. "currency": {
  39591. "description": "币种",
  39592. "type": "string"
  39593. },
  39594. "cusbankid": {
  39595. "description": "托管银行编号(对应清算中心TRAN_NO)",
  39596. "type": "string"
  39597. },
  39598. "cusbankname": {
  39599. "description": "银行业务名称",
  39600. "type": "string"
  39601. },
  39602. "cusbankshortname": {
  39603. "description": "银行业务简称",
  39604. "type": "string"
  39605. },
  39606. "exchbankid": {
  39607. "description": "交易所开户银行ID",
  39608. "type": "string"
  39609. },
  39610. "exchpaybankaccname": {
  39611. "description": "交易所支出结算账户户名",
  39612. "type": "string"
  39613. },
  39614. "exchpaybankaccno": {
  39615. "description": "交易所支出结算账户",
  39616. "type": "string"
  39617. },
  39618. "isneedcheck": {
  39619. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  39620. "type": "integer"
  39621. },
  39622. "isneedclear": {
  39623. "description": "是否需要清算 - 0:不需要 1:需要",
  39624. "type": "integer"
  39625. },
  39626. "lastcheckstatus": {
  39627. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  39628. "type": "integer"
  39629. },
  39630. "lastchecktime": {
  39631. "description": "最后对账时间",
  39632. "type": "string"
  39633. },
  39634. "lastclearstatus": {
  39635. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  39636. "type": "integer"
  39637. },
  39638. "lastcleartime": {
  39639. "description": "最后清算时间",
  39640. "type": "string"
  39641. },
  39642. "lastsignintime": {
  39643. "description": "最后签到时间",
  39644. "type": "string"
  39645. },
  39646. "lastsignouttime": {
  39647. "description": "最后签退时间",
  39648. "type": "string"
  39649. },
  39650. "riskinfo": {
  39651. "description": "签约风险提示书",
  39652. "type": "string"
  39653. },
  39654. "signstatus": {
  39655. "description": "当前签到/签退状态 - 1:签到 2:签退",
  39656. "type": "integer"
  39657. },
  39658. "tradedate": {
  39659. "description": "交易日(yyyyMMdd)",
  39660. "type": "string"
  39661. },
  39662. "updatetime": {
  39663. "description": "当前签到/签退更新时间",
  39664. "type": "string"
  39665. }
  39666. }
  39667. },
  39668. "models.QhjCustomer": {
  39669. "type": "object",
  39670. "properties": {
  39671. "address": {
  39672. "description": "通讯地址",
  39673. "type": "string"
  39674. },
  39675. "attachment1": {
  39676. "description": "附件1",
  39677. "type": "string"
  39678. },
  39679. "attachment2": {
  39680. "description": "附件2",
  39681. "type": "string"
  39682. },
  39683. "audittime": {
  39684. "description": "审核时间",
  39685. "type": "string"
  39686. },
  39687. "cardbackphotourl": {
  39688. "description": "证件反面图片地址",
  39689. "type": "string"
  39690. },
  39691. "cardfrontphotourl": {
  39692. "description": "证件正面图片地址",
  39693. "type": "string"
  39694. },
  39695. "cardnum": {
  39696. "description": "证件号码",
  39697. "type": "string"
  39698. },
  39699. "cardtype": {
  39700. "description": "证件类型",
  39701. "type": "integer"
  39702. },
  39703. "cardtypename": {
  39704. "description": "证件类型名称",
  39705. "type": "string"
  39706. },
  39707. "cityid": {
  39708. "description": "市",
  39709. "type": "integer"
  39710. },
  39711. "cityname": {
  39712. "description": "城市名称",
  39713. "type": "string"
  39714. },
  39715. "contactname": {
  39716. "description": "联系人",
  39717. "type": "string"
  39718. },
  39719. "countryid": {
  39720. "description": "国家",
  39721. "type": "integer"
  39722. },
  39723. "countryname": {
  39724. "description": "国家名称",
  39725. "type": "string"
  39726. },
  39727. "createtime": {
  39728. "description": "创建时间",
  39729. "type": "string"
  39730. },
  39731. "customername": {
  39732. "description": "客户名称",
  39733. "type": "string"
  39734. },
  39735. "districtid": {
  39736. "description": "区域",
  39737. "type": "integer"
  39738. },
  39739. "districtname": {
  39740. "description": "地区名称",
  39741. "type": "string"
  39742. },
  39743. "email": {
  39744. "description": "邮件",
  39745. "type": "string"
  39746. },
  39747. "legalpersonname": {
  39748. "description": "法人姓名(企业)",
  39749. "type": "string"
  39750. },
  39751. "logincode": {
  39752. "description": "登录账号(代码)",
  39753. "type": "string"
  39754. },
  39755. "memberuserid": {
  39756. "description": "所属机构ID(所属会员)",
  39757. "type": "integer"
  39758. },
  39759. "memberusername": {
  39760. "description": "所属会员名称",
  39761. "type": "string"
  39762. },
  39763. "mobile": {
  39764. "description": "手机号码",
  39765. "type": "string"
  39766. },
  39767. "modifytime": {
  39768. "description": "修改时间",
  39769. "type": "string"
  39770. },
  39771. "nickname": {
  39772. "description": "昵称",
  39773. "type": "string"
  39774. },
  39775. "parentuserid": {
  39776. "description": "上级机构(所属机构)",
  39777. "type": "integer"
  39778. },
  39779. "parentusername": {
  39780. "description": "所属机构名称",
  39781. "type": "string"
  39782. },
  39783. "provinceid": {
  39784. "description": "省",
  39785. "type": "integer"
  39786. },
  39787. "provincename": {
  39788. "description": "省名称",
  39789. "type": "string"
  39790. },
  39791. "proxystatementurl": {
  39792. "description": "授权委托书",
  39793. "type": "string"
  39794. },
  39795. "remark": {
  39796. "description": "备注",
  39797. "type": "string"
  39798. },
  39799. "status": {
  39800. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  39801. "type": "integer"
  39802. },
  39803. "statusdesc": {
  39804. "description": "账户状态中文描述",
  39805. "type": "string"
  39806. },
  39807. "taxpayernum": {
  39808. "description": "纳税人识别号",
  39809. "type": "string"
  39810. },
  39811. "telphone": {
  39812. "description": "联系电话",
  39813. "type": "string"
  39814. },
  39815. "userid": {
  39816. "description": "用户ID",
  39817. "type": "integer"
  39818. },
  39819. "userinfotype": {
  39820. "description": "客户类型 1-个人 2-企业",
  39821. "type": "integer"
  39822. },
  39823. "username": {
  39824. "description": "用户名称",
  39825. "type": "string"
  39826. }
  39827. }
  39828. },
  39829. "models.QhjCustomerSignLog": {
  39830. "type": "object",
  39831. "properties": {
  39832. "agreementcontent": {
  39833. "description": "协议内容",
  39834. "type": "string"
  39835. },
  39836. "agreementid": {
  39837. "description": "协议ID",
  39838. "type": "integer"
  39839. },
  39840. "agreementname": {
  39841. "description": "协议名称",
  39842. "type": "string"
  39843. },
  39844. "agreementno": {
  39845. "description": "协议编号",
  39846. "type": "string"
  39847. },
  39848. "agreementtype": {
  39849. "description": "协议类型 - 1:注册 2:登录 3:交易",
  39850. "type": "integer"
  39851. },
  39852. "agreementversion": {
  39853. "description": "协议版本号",
  39854. "type": "integer"
  39855. },
  39856. "createtime": {
  39857. "description": "创建时间",
  39858. "type": "string"
  39859. },
  39860. "goodscode": {
  39861. "description": "商品代码",
  39862. "type": "string"
  39863. },
  39864. "goodsid": {
  39865. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  39866. "type": "integer"
  39867. },
  39868. "goodsname": {
  39869. "description": "商品名称",
  39870. "type": "string"
  39871. },
  39872. "logid": {
  39873. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  39874. "type": "integer"
  39875. },
  39876. "nodetype": {
  39877. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  39878. "type": "integer"
  39879. },
  39880. "signadressurl": {
  39881. "description": "签约文件地址",
  39882. "type": "string"
  39883. },
  39884. "signtimestamp": {
  39885. "description": "签约状态时间戳",
  39886. "type": "string"
  39887. },
  39888. "userid": {
  39889. "description": "客户ID",
  39890. "type": "integer"
  39891. },
  39892. "username": {
  39893. "description": "客户名称",
  39894. "type": "string"
  39895. }
  39896. }
  39897. },
  39898. "models.QhjCustomerSignStatus": {
  39899. "type": "object",
  39900. "properties": {
  39901. "createtime": {
  39902. "description": "创建时间",
  39903. "type": "string"
  39904. },
  39905. "goodscode": {
  39906. "description": "商品代码",
  39907. "type": "string"
  39908. },
  39909. "goodsid": {
  39910. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  39911. "type": "integer"
  39912. },
  39913. "goodsname": {
  39914. "description": "商品名称",
  39915. "type": "string"
  39916. },
  39917. "nodetype": {
  39918. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  39919. "type": "integer"
  39920. },
  39921. "signtimestamp": {
  39922. "description": "签约状态时间戳",
  39923. "type": "string"
  39924. },
  39925. "tradedate": {
  39926. "description": "创建交易日(yyyyMMdd)",
  39927. "type": "string"
  39928. },
  39929. "updatetime": {
  39930. "description": "更新时间",
  39931. "type": "string"
  39932. },
  39933. "userid": {
  39934. "description": "客户ID",
  39935. "type": "integer"
  39936. },
  39937. "username": {
  39938. "description": "客户名称",
  39939. "type": "string"
  39940. }
  39941. }
  39942. },
  39943. "models.QhjMgrAccountOutInApply": {
  39944. "type": "object",
  39945. "properties": {
  39946. "accountcode": {
  39947. "description": "资金账号",
  39948. "type": "string"
  39949. },
  39950. "accountname": {
  39951. "description": "用户名称(名称)",
  39952. "type": "string"
  39953. },
  39954. "accountpwd": {
  39955. "description": "资金密码",
  39956. "type": "string"
  39957. },
  39958. "accountticket": {
  39959. "description": "最新账户服务流水号",
  39960. "type": "string"
  39961. },
  39962. "amount": {
  39963. "description": "金额",
  39964. "type": "number"
  39965. },
  39966. "applyremark": {
  39967. "description": "申请备注",
  39968. "type": "string"
  39969. },
  39970. "applystatus": {
  39971. "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: 复审通过,账户冻结金额检查中;",
  39972. "type": "integer"
  39973. },
  39974. "auditid": {
  39975. "description": "审核人",
  39976. "type": "integer"
  39977. },
  39978. "audittime": {
  39979. "description": "审核时间",
  39980. "type": "string"
  39981. },
  39982. "bank_apply_ticket": {
  39983. "description": "银行申请流水",
  39984. "type": "string"
  39985. },
  39986. "bankaccountname": {
  39987. "description": "银行账户名",
  39988. "type": "string"
  39989. },
  39990. "bankaccountno": {
  39991. "description": "银行卡号",
  39992. "type": "string"
  39993. },
  39994. "bankid": {
  39995. "description": "银行编号",
  39996. "type": "string"
  39997. },
  39998. "bankname": {
  39999. "description": "银行名称",
  40000. "type": "string"
  40001. },
  40002. "bankticket": {
  40003. "description": "银行流水",
  40004. "type": "string"
  40005. },
  40006. "branchbankid": {
  40007. "description": "银行支行号",
  40008. "type": "string"
  40009. },
  40010. "branchbankname": {
  40011. "description": "银行支行名称",
  40012. "type": "string"
  40013. },
  40014. "capamountout": {
  40015. "description": "出金(劣后本金) - 外部子账户",
  40016. "type": "number"
  40017. },
  40018. "certificatephotourl": {
  40019. "description": "凭证地址",
  40020. "type": "string"
  40021. },
  40022. "charge": {
  40023. "description": "手续费",
  40024. "type": "number"
  40025. },
  40026. "checkerrorflag": {
  40027. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  40028. "type": "integer"
  40029. },
  40030. "currency": {
  40031. "description": "币种",
  40032. "type": "string"
  40033. },
  40034. "cusbankid": {
  40035. "description": "托管银行编号",
  40036. "type": "string"
  40037. },
  40038. "exchticket": {
  40039. "description": "银行服务流水号",
  40040. "type": "string"
  40041. },
  40042. "executetype": {
  40043. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  40044. "type": "integer"
  40045. },
  40046. "extendinfo": {
  40047. "description": "扩展信息",
  40048. "type": "string"
  40049. },
  40050. "extoperateid": {
  40051. "description": "交易服务流水号",
  40052. "type": "integer"
  40053. },
  40054. "infamount": {
  40055. "description": "劣后金额(自有)",
  40056. "type": "number"
  40057. },
  40058. "logincode": {
  40059. "description": "登录账号(账号)",
  40060. "type": "string"
  40061. },
  40062. "netaddr": {
  40063. "description": "调转网址",
  40064. "type": "string"
  40065. },
  40066. "priamount": {
  40067. "description": "优先金额(授信)",
  40068. "type": "number"
  40069. },
  40070. "reauditid": {
  40071. "description": "复审人",
  40072. "type": "integer"
  40073. },
  40074. "reauditremark": {
  40075. "description": "复审备注",
  40076. "type": "string"
  40077. },
  40078. "reaudittime": {
  40079. "description": "复审时间",
  40080. "type": "string"
  40081. },
  40082. "relatedorderid": {
  40083. "description": "三方关联ID",
  40084. "type": "string"
  40085. },
  40086. "remark": {
  40087. "description": "备注",
  40088. "type": "string"
  40089. },
  40090. "remark2": {
  40091. "description": "备注(失败原因)",
  40092. "type": "string"
  40093. },
  40094. "soucreamount": {
  40095. "description": "原始出入金金额",
  40096. "type": "number"
  40097. },
  40098. "soucrecurrencyid": {
  40099. "description": "原始出入金币种",
  40100. "type": "integer"
  40101. },
  40102. "tradedate": {
  40103. "description": "交易日(yyyyMMdd)",
  40104. "type": "string"
  40105. },
  40106. "updatetime": {
  40107. "description": "更新时间(申请时间)",
  40108. "type": "string"
  40109. },
  40110. "userid": {
  40111. "description": "用户id",
  40112. "type": "integer"
  40113. },
  40114. "userinfotype": {
  40115. "description": "账户类型 1-个人 2-企业",
  40116. "type": "integer"
  40117. }
  40118. }
  40119. },
  40120. "models.QhjMgrBrokerApply": {
  40121. "type": "object",
  40122. "properties": {
  40123. "applicantid": {
  40124. "description": "申请人",
  40125. "type": "integer"
  40126. },
  40127. "applysrc": {
  40128. "description": "申请来源 - 1:管理端 2:终端",
  40129. "type": "integer"
  40130. },
  40131. "applystatus": {
  40132. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40133. "type": "integer"
  40134. },
  40135. "applytime": {
  40136. "description": "申请时间",
  40137. "type": "string"
  40138. },
  40139. "auditorid": {
  40140. "description": "审核人",
  40141. "type": "integer"
  40142. },
  40143. "auditremark": {
  40144. "description": "审核备注",
  40145. "type": "string"
  40146. },
  40147. "auditsrc": {
  40148. "description": "审核来源 - 1:管理端 2:终端",
  40149. "type": "integer"
  40150. },
  40151. "audittime": {
  40152. "description": "审核时间",
  40153. "type": "string"
  40154. },
  40155. "audittradedate": {
  40156. "description": "审核交易日(yyyyMMdd)",
  40157. "type": "string"
  40158. },
  40159. "brokerapplyid": {
  40160. "description": "申请ID(SEQ_BROKERAPPLY)",
  40161. "type": "integer"
  40162. },
  40163. "cardbackphotourl": {
  40164. "description": "证件背面图片地址",
  40165. "type": "string"
  40166. },
  40167. "cardfrontphotourl": {
  40168. "description": "证件正面图片地址",
  40169. "type": "string"
  40170. },
  40171. "cardnum": {
  40172. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  40173. "type": "string"
  40174. },
  40175. "customername": {
  40176. "description": "姓名",
  40177. "type": "string"
  40178. },
  40179. "filterstatus": {
  40180. "description": "筛选条件",
  40181. "type": "string"
  40182. },
  40183. "logincode": {
  40184. "description": "登录代码",
  40185. "type": "string"
  40186. },
  40187. "mobile": {
  40188. "description": "手机号码",
  40189. "type": "string"
  40190. },
  40191. "parentuserid": {
  40192. "description": "所属机构id",
  40193. "type": "integer"
  40194. },
  40195. "parentusername": {
  40196. "description": "所属机构名称",
  40197. "type": "string"
  40198. },
  40199. "refereeuserid": {
  40200. "description": "推荐人id(经纪人)",
  40201. "type": "integer"
  40202. },
  40203. "refernum": {
  40204. "description": "推荐码",
  40205. "type": "string"
  40206. },
  40207. "remark": {
  40208. "description": "备注",
  40209. "type": "string"
  40210. },
  40211. "subarealevelpath": {
  40212. "description": "层级路径",
  40213. "type": "string"
  40214. },
  40215. "tradedate": {
  40216. "description": "交易日(yyyyMMdd)",
  40217. "type": "string"
  40218. },
  40219. "userid": {
  40220. "description": "申请人用户ID",
  40221. "type": "integer"
  40222. },
  40223. "userinfotype": {
  40224. "description": "用户类型 1-个人 2-企业",
  40225. "type": "integer"
  40226. },
  40227. "username": {
  40228. "description": "用户名称",
  40229. "type": "string"
  40230. }
  40231. }
  40232. },
  40233. "models.QhjMgrBrokerRewardReport": {
  40234. "type": "object",
  40235. "properties": {
  40236. "createtime": {
  40237. "description": "创建时间(注册时间)",
  40238. "type": "string"
  40239. },
  40240. "cycletime": {
  40241. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  40242. "type": "string"
  40243. },
  40244. "cycletype": {
  40245. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  40246. "type": "integer"
  40247. },
  40248. "directtotalnum": {
  40249. "description": "直推总人数【期末】",
  40250. "type": "integer"
  40251. },
  40252. "indirecttotalnum": {
  40253. "description": "间推总人数【期末】",
  40254. "type": "integer"
  40255. },
  40256. "mobile": {
  40257. "description": "电话号码",
  40258. "type": "string"
  40259. },
  40260. "refereeuserid": {
  40261. "description": "推荐人id(经纪人id)",
  40262. "type": "integer"
  40263. },
  40264. "refereeusername": {
  40265. "description": "推荐人名称(经纪人) 上级经纪人名称",
  40266. "type": "string"
  40267. },
  40268. "refernum": {
  40269. "description": "推荐码",
  40270. "type": "string"
  40271. },
  40272. "subarealevelpath": {
  40273. "description": "用户层级路径",
  40274. "type": "string"
  40275. },
  40276. "todayrewardamount": {
  40277. "description": "奖励总金额【汇总】",
  40278. "type": "number"
  40279. },
  40280. "updatetime": {
  40281. "description": "更新时间",
  40282. "type": "string"
  40283. },
  40284. "userid": {
  40285. "description": "经纪人用户ID",
  40286. "type": "integer"
  40287. },
  40288. "userinfotype": {
  40289. "description": "用户类型 1-个人 2-企业",
  40290. "type": "integer"
  40291. },
  40292. "username": {
  40293. "description": "用户名称",
  40294. "type": "string"
  40295. }
  40296. }
  40297. },
  40298. "models.QhjMgrContract": {
  40299. "type": "object",
  40300. "properties": {
  40301. "contractconfirmtime": {
  40302. "description": "合同确认时间(时间)",
  40303. "type": "string"
  40304. },
  40305. "currisklevel": {
  40306. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  40307. "type": "integer"
  40308. },
  40309. "decimalplace": {
  40310. "description": "商品报价小数位",
  40311. "type": "integer"
  40312. },
  40313. "enumdicname": {
  40314. "description": "单位名称",
  40315. "type": "string"
  40316. },
  40317. "goodscode": {
  40318. "description": "商品代码",
  40319. "type": "string"
  40320. },
  40321. "goodsid": {
  40322. "description": "商品ID [5:融资单]",
  40323. "type": "integer"
  40324. },
  40325. "goodsname": {
  40326. "description": "商品名称",
  40327. "type": "string"
  40328. },
  40329. "goodunitid": {
  40330. "description": "商品单位id",
  40331. "type": "integer"
  40332. },
  40333. "initmargin": {
  40334. "description": "初始保证金(首付款)",
  40335. "type": "number"
  40336. },
  40337. "lenderamount": {
  40338. "description": "贷款金额(总额|订单总额)",
  40339. "type": "number"
  40340. },
  40341. "logincode": {
  40342. "description": "账号(登录代码)",
  40343. "type": "string"
  40344. },
  40345. "marginratio": {
  40346. "description": "保证金比率(首付比例)",
  40347. "type": "number"
  40348. },
  40349. "mobile": {
  40350. "description": "电话号码(用户资料里的电话)",
  40351. "type": "string"
  40352. },
  40353. "payamount": {
  40354. "description": "已付(已付货款)",
  40355. "type": "number"
  40356. },
  40357. "reckonrecovermargin": {
  40358. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  40359. "type": "number"
  40360. },
  40361. "recoveredmargin": {
  40362. "description": "已追缴保证金",
  40363. "type": "number"
  40364. },
  40365. "remainamount": {
  40366. "description": "合同剩余金额(融资额)",
  40367. "type": "number"
  40368. },
  40369. "scfcontractid": {
  40370. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  40371. "type": "string"
  40372. },
  40373. "scfcontractstatus": {
  40374. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  40375. "type": "integer"
  40376. },
  40377. "scfcontracttype": {
  40378. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  40379. "type": "integer"
  40380. },
  40381. "totalinterest": {
  40382. "description": "已计总利息(利息)",
  40383. "type": "number"
  40384. },
  40385. "tradedate": {
  40386. "description": "交易日",
  40387. "type": "string"
  40388. },
  40389. "tradeprice": {
  40390. "description": "成交价格(成本价格)",
  40391. "type": "number"
  40392. },
  40393. "userid": {
  40394. "description": "用户ID",
  40395. "type": "integer"
  40396. },
  40397. "userinfotype": {
  40398. "description": "用户类型 1-个人 2-企业",
  40399. "type": "integer"
  40400. },
  40401. "username": {
  40402. "description": "用户名称",
  40403. "type": "string"
  40404. },
  40405. "wrqty": {
  40406. "description": "仓单数量(数量)",
  40407. "type": "number"
  40408. }
  40409. }
  40410. },
  40411. "models.QhjMgrCustomer": {
  40412. "type": "object",
  40413. "properties": {
  40414. "address": {
  40415. "description": "通讯地址",
  40416. "type": "string"
  40417. },
  40418. "attachment1": {
  40419. "description": "附件1",
  40420. "type": "string"
  40421. },
  40422. "audittime": {
  40423. "description": "审核时间",
  40424. "type": "string"
  40425. },
  40426. "birthday": {
  40427. "description": "生日",
  40428. "type": "string"
  40429. },
  40430. "brokerid": {
  40431. "description": "所属客户经理id",
  40432. "type": "integer"
  40433. },
  40434. "brokername": {
  40435. "description": "所属客户经理名称",
  40436. "type": "string"
  40437. },
  40438. "cardbackphotourl": {
  40439. "description": "证件反面图片地址",
  40440. "type": "string"
  40441. },
  40442. "cardfrontphotourl": {
  40443. "description": "证件正面图片地址",
  40444. "type": "string"
  40445. },
  40446. "cardnum": {
  40447. "description": "证件号码",
  40448. "type": "string"
  40449. },
  40450. "cardtype": {
  40451. "description": "证件类型",
  40452. "type": "integer"
  40453. },
  40454. "cardtypename": {
  40455. "description": "证件类型名称",
  40456. "type": "string"
  40457. },
  40458. "cityid": {
  40459. "description": "市",
  40460. "type": "integer"
  40461. },
  40462. "cityname": {
  40463. "description": "城市名称",
  40464. "type": "string"
  40465. },
  40466. "contactname": {
  40467. "description": "联系人",
  40468. "type": "string"
  40469. },
  40470. "countryid": {
  40471. "description": "国家",
  40472. "type": "integer"
  40473. },
  40474. "countryname": {
  40475. "description": "国家名称",
  40476. "type": "string"
  40477. },
  40478. "createtime": {
  40479. "description": "创建时间",
  40480. "type": "string"
  40481. },
  40482. "customername": {
  40483. "description": "客户名称",
  40484. "type": "string"
  40485. },
  40486. "districtid": {
  40487. "description": "区域",
  40488. "type": "integer"
  40489. },
  40490. "districtname": {
  40491. "description": "地区名称",
  40492. "type": "string"
  40493. },
  40494. "email": {
  40495. "description": "邮件",
  40496. "type": "string"
  40497. },
  40498. "legalpersonname": {
  40499. "description": "法人姓名(企业)",
  40500. "type": "string"
  40501. },
  40502. "logincode": {
  40503. "description": "登录账号(代码)",
  40504. "type": "string"
  40505. },
  40506. "memberuserid": {
  40507. "description": "所属机构ID(所属会员)",
  40508. "type": "integer"
  40509. },
  40510. "memberusername": {
  40511. "description": "所属会员名称",
  40512. "type": "string"
  40513. },
  40514. "mobile": {
  40515. "description": "手机号码",
  40516. "type": "string"
  40517. },
  40518. "modifytime": {
  40519. "description": "修改时间",
  40520. "type": "string"
  40521. },
  40522. "nickname": {
  40523. "description": "昵称",
  40524. "type": "string"
  40525. },
  40526. "parentuserid": {
  40527. "description": "上级机构(所属机构)",
  40528. "type": "integer"
  40529. },
  40530. "parentusername": {
  40531. "description": "所属机构名称",
  40532. "type": "string"
  40533. },
  40534. "provinceid": {
  40535. "description": "省",
  40536. "type": "integer"
  40537. },
  40538. "provincename": {
  40539. "description": "省名称",
  40540. "type": "string"
  40541. },
  40542. "proxystatementurl": {
  40543. "description": "授权委托书",
  40544. "type": "string"
  40545. },
  40546. "querytype": {
  40547. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  40548. "type": "integer"
  40549. },
  40550. "remark": {
  40551. "description": "备注",
  40552. "type": "string"
  40553. },
  40554. "sex": {
  40555. "description": "性别 0-女 1-男",
  40556. "type": "integer"
  40557. },
  40558. "status": {
  40559. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  40560. "type": "integer"
  40561. },
  40562. "statusdesc": {
  40563. "description": "账户状态中文描述",
  40564. "type": "string"
  40565. },
  40566. "taxpayernum": {
  40567. "description": "纳税人识别号",
  40568. "type": "string"
  40569. },
  40570. "telphone": {
  40571. "description": "联系电话",
  40572. "type": "string"
  40573. },
  40574. "userid": {
  40575. "description": "用户ID",
  40576. "type": "integer"
  40577. },
  40578. "userinfotype": {
  40579. "description": "客户类型 1-个人 2-企业",
  40580. "type": "integer"
  40581. },
  40582. "username": {
  40583. "description": "用户名称",
  40584. "type": "string"
  40585. }
  40586. }
  40587. },
  40588. "models.QhjMgrPickGoods": {
  40589. "type": "object",
  40590. "properties": {
  40591. "enumdicname": {
  40592. "description": "单位名称(提货商品)",
  40593. "type": "string"
  40594. },
  40595. "goodsid": {
  40596. "description": "商品id",
  40597. "type": "integer"
  40598. },
  40599. "imageaddress": {
  40600. "description": "图片",
  40601. "type": "string"
  40602. },
  40603. "modifierid": {
  40604. "description": "修改人",
  40605. "type": "integer"
  40606. },
  40607. "modifiername": {
  40608. "description": "修改人名称",
  40609. "type": "string"
  40610. },
  40611. "modifysrc": {
  40612. "description": "修改来源 - 1:管理端 2:终端",
  40613. "type": "integer"
  40614. },
  40615. "pickupgoodsagreeunit": {
  40616. "description": "合约乘数",
  40617. "type": "number"
  40618. },
  40619. "pickupgoodsdesc": {
  40620. "description": "描述",
  40621. "type": "string"
  40622. },
  40623. "pickupgoodsid": {
  40624. "description": "提货商品ID",
  40625. "type": "string"
  40626. },
  40627. "pickupgoodsname": {
  40628. "description": "提货商品名称",
  40629. "type": "string"
  40630. },
  40631. "pickupgoodsstatus": {
  40632. "description": "状态 - 1:正常 2:停用 3:注销",
  40633. "type": "integer"
  40634. },
  40635. "pickupgoodsunitid": {
  40636. "description": "单位ID",
  40637. "type": "integer"
  40638. },
  40639. "pickupratio": {
  40640. "description": "提货系数",
  40641. "type": "number"
  40642. },
  40643. "preparedays": {
  40644. "description": "备货期(天)",
  40645. "type": "integer"
  40646. },
  40647. "remark": {
  40648. "description": "备注",
  40649. "type": "string"
  40650. },
  40651. "updatetime": {
  40652. "description": "更新时间",
  40653. "type": "string"
  40654. }
  40655. }
  40656. },
  40657. "models.QhjMgrPositionRsp": {
  40658. "type": "object",
  40659. "properties": {
  40660. "accountid": {
  40661. "description": "账号Id",
  40662. "type": "integer"
  40663. },
  40664. "accountname": {
  40665. "description": "用户名称",
  40666. "type": "string"
  40667. },
  40668. "agreeunit": {
  40669. "description": "合约乘数",
  40670. "type": "number"
  40671. },
  40672. "averageprice": {
  40673. "description": "均价",
  40674. "type": "number"
  40675. },
  40676. "avialqty": {
  40677. "description": "可用数量",
  40678. "type": "number"
  40679. },
  40680. "decimalplace": {
  40681. "description": "报价小数位",
  40682. "type": "integer"
  40683. },
  40684. "enumdicname": {
  40685. "description": "单位名称(商品)",
  40686. "type": "string"
  40687. },
  40688. "frozenqty": {
  40689. "description": "冻结数量",
  40690. "type": "number"
  40691. },
  40692. "goodscode": {
  40693. "description": "商品代码(内部)",
  40694. "type": "string"
  40695. },
  40696. "goodsid": {
  40697. "description": "商品Id",
  40698. "type": "integer"
  40699. },
  40700. "goodsname": {
  40701. "description": "商品名称",
  40702. "type": "string"
  40703. },
  40704. "goodunitid": {
  40705. "description": "报价单位ID",
  40706. "type": "integer"
  40707. },
  40708. "holderamount": {
  40709. "description": "金额",
  40710. "type": "number"
  40711. },
  40712. "holderqty": {
  40713. "description": "持有数量",
  40714. "type": "number"
  40715. },
  40716. "holdertype": {
  40717. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  40718. "type": "integer"
  40719. },
  40720. "logincode": {
  40721. "description": "登录代码(账户)",
  40722. "type": "string"
  40723. },
  40724. "marketid": {
  40725. "description": "市场id",
  40726. "type": "integer"
  40727. },
  40728. "qtydecimalplace": {
  40729. "description": "成交量小数位",
  40730. "type": "integer"
  40731. },
  40732. "trademode": {
  40733. "description": "交易模式",
  40734. "type": "integer"
  40735. },
  40736. "userid": {
  40737. "description": "用户id",
  40738. "type": "integer"
  40739. },
  40740. "userinfotype": {
  40741. "description": "账户类型 1-个人 2-企业",
  40742. "type": "integer"
  40743. }
  40744. }
  40745. },
  40746. "models.QhjMgrSubArea": {
  40747. "type": "object",
  40748. "properties": {
  40749. "accountname": {
  40750. "description": "账户名称(机构名称)",
  40751. "type": "string"
  40752. },
  40753. "memberuserid": {
  40754. "description": "所属会员ID",
  40755. "type": "integer"
  40756. },
  40757. "parenttopuser": {
  40758. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  40759. "type": "string"
  40760. },
  40761. "parentuserid": {
  40762. "description": "所属机构ID",
  40763. "type": "integer"
  40764. },
  40765. "rootuserid": {
  40766. "description": "根用户ID",
  40767. "type": "string"
  40768. },
  40769. "subaccountlevel": {
  40770. "description": "子账户层数",
  40771. "type": "integer"
  40772. },
  40773. "subarealevelpath": {
  40774. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  40775. "type": "string"
  40776. },
  40777. "userid": {
  40778. "description": "用户ID",
  40779. "type": "integer"
  40780. },
  40781. "usertype": {
  40782. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  40783. "type": "integer"
  40784. }
  40785. }
  40786. },
  40787. "models.QhjMgrTradeDetailRsp": {
  40788. "type": "object",
  40789. "properties": {
  40790. "accountid": {
  40791. "description": "资金账号",
  40792. "type": "integer"
  40793. },
  40794. "accountname": {
  40795. "description": "用户名称",
  40796. "type": "string"
  40797. },
  40798. "agreeunit": {
  40799. "description": "合约乘数",
  40800. "type": "number"
  40801. },
  40802. "buyorsell": {
  40803. "description": "成交类型(方向) 0:买 1:卖",
  40804. "type": "integer"
  40805. },
  40806. "decimalplace": {
  40807. "description": "报价小数位",
  40808. "type": "integer"
  40809. },
  40810. "enumdicname": {
  40811. "description": "单位名称(商品)",
  40812. "type": "string"
  40813. },
  40814. "goodscode": {
  40815. "description": "商品代码(内部)",
  40816. "type": "string"
  40817. },
  40818. "goodsid": {
  40819. "description": "商品id",
  40820. "type": "integer"
  40821. },
  40822. "goodsname": {
  40823. "description": "商品名称",
  40824. "type": "string"
  40825. },
  40826. "goodunitid": {
  40827. "description": "报价单位ID",
  40828. "type": "integer"
  40829. },
  40830. "logincode": {
  40831. "description": "登录代码(账户)",
  40832. "type": "string"
  40833. },
  40834. "marketid": {
  40835. "description": "市场id",
  40836. "type": "integer"
  40837. },
  40838. "orderid": {
  40839. "description": "关联委托单号",
  40840. "type": "string"
  40841. },
  40842. "qtydecimalplace": {
  40843. "description": "成交量小数位",
  40844. "type": "integer"
  40845. },
  40846. "tradeamount": {
  40847. "description": "金额",
  40848. "type": "number"
  40849. },
  40850. "tradedate": {
  40851. "description": "交易日",
  40852. "type": "string"
  40853. },
  40854. "tradeid": {
  40855. "description": "成交单号",
  40856. "type": "string"
  40857. },
  40858. "trademode": {
  40859. "description": "交易模式",
  40860. "type": "integer"
  40861. },
  40862. "tradeprice": {
  40863. "description": "价格",
  40864. "type": "number"
  40865. },
  40866. "tradeqty": {
  40867. "description": "数量",
  40868. "type": "number"
  40869. },
  40870. "tradetime": {
  40871. "description": "成交时间",
  40872. "type": "string"
  40873. },
  40874. "userid": {
  40875. "description": "用户id",
  40876. "type": "integer"
  40877. },
  40878. "userinfotype": {
  40879. "description": "账户类型 1-个人 2-企业",
  40880. "type": "integer"
  40881. }
  40882. }
  40883. },
  40884. "models.QhjMgrTradeOrderDetailRsp": {
  40885. "type": "object",
  40886. "properties": {
  40887. "accountid": {
  40888. "description": "资金账号",
  40889. "type": "integer"
  40890. },
  40891. "accountname": {
  40892. "description": "用户名称",
  40893. "type": "string"
  40894. },
  40895. "agreeunit": {
  40896. "description": "合约乘数",
  40897. "type": "number"
  40898. },
  40899. "amount": {
  40900. "description": "金额",
  40901. "type": "number"
  40902. },
  40903. "decimalplace": {
  40904. "description": "报价小数位",
  40905. "type": "integer"
  40906. },
  40907. "enumdicname": {
  40908. "description": "单位名称(商品)",
  40909. "type": "string"
  40910. },
  40911. "goodscode": {
  40912. "description": "商品代码(内部)",
  40913. "type": "string"
  40914. },
  40915. "goodsid": {
  40916. "description": "商品id",
  40917. "type": "integer"
  40918. },
  40919. "goodsname": {
  40920. "description": "商品名称",
  40921. "type": "string"
  40922. },
  40923. "goodunitid": {
  40924. "description": "报价单位ID",
  40925. "type": "integer"
  40926. },
  40927. "logincode": {
  40928. "description": "登录代码(账户)",
  40929. "type": "string"
  40930. },
  40931. "marketid": {
  40932. "description": "市场id",
  40933. "type": "integer"
  40934. },
  40935. "orderid": {
  40936. "description": "关联委托单号",
  40937. "type": "string"
  40938. },
  40939. "orderprice": {
  40940. "description": "价格",
  40941. "type": "number"
  40942. },
  40943. "orderqty": {
  40944. "description": "数量",
  40945. "type": "number"
  40946. },
  40947. "orderstatus": {
  40948. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  40949. "type": "integer"
  40950. },
  40951. "ordertime": {
  40952. "description": "委托时间",
  40953. "type": "string"
  40954. },
  40955. "qtydecimalplace": {
  40956. "description": "成交量小数位",
  40957. "type": "integer"
  40958. },
  40959. "tradedate": {
  40960. "description": "交易日",
  40961. "type": "string"
  40962. },
  40963. "trademode": {
  40964. "description": "交易模式",
  40965. "type": "integer"
  40966. },
  40967. "userid": {
  40968. "description": "用户id",
  40969. "type": "integer"
  40970. },
  40971. "userinfotype": {
  40972. "description": "账户类型 1-个人 2-企业",
  40973. "type": "integer"
  40974. }
  40975. }
  40976. },
  40977. "models.QhjMgrTradePayOrder": {
  40978. "type": "object",
  40979. "properties": {
  40980. "accountname": {
  40981. "description": "用户名称",
  40982. "type": "string"
  40983. },
  40984. "advanceratio": {
  40985. "description": "首付比率",
  40986. "type": "number"
  40987. },
  40988. "agreeunit": {
  40989. "description": "合约乘数",
  40990. "type": "number"
  40991. },
  40992. "buyaccountid": {
  40993. "description": "买方账号ID[报价币种]",
  40994. "type": "integer"
  40995. },
  40996. "buyorderid": {
  40997. "description": "买方委托单号(关联单号)",
  40998. "type": "string"
  40999. },
  41000. "createtime": {
  41001. "description": "创建时间",
  41002. "type": "string"
  41003. },
  41004. "decimalplace": {
  41005. "description": "报价小数位",
  41006. "type": "integer"
  41007. },
  41008. "enumdicname": {
  41009. "description": "单位名称(商品)",
  41010. "type": "string"
  41011. },
  41012. "goodscode": {
  41013. "description": "商品代码(内部)",
  41014. "type": "string"
  41015. },
  41016. "goodsid": {
  41017. "description": "商品ID",
  41018. "type": "integer"
  41019. },
  41020. "goodsname": {
  41021. "description": "商品名称",
  41022. "type": "string"
  41023. },
  41024. "goodunitid": {
  41025. "description": "报价单位ID",
  41026. "type": "integer"
  41027. },
  41028. "logincode": {
  41029. "description": "登录代码(账户)",
  41030. "type": "string"
  41031. },
  41032. "marketid": {
  41033. "description": "市场id",
  41034. "type": "integer"
  41035. },
  41036. "offamount": {
  41037. "description": "优惠金额",
  41038. "type": "number"
  41039. },
  41040. "operatetype": {
  41041. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  41042. "type": "integer"
  41043. },
  41044. "payamount": {
  41045. "description": "支付金额(金额)",
  41046. "type": "number"
  41047. },
  41048. "payflag": {
  41049. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  41050. "type": "integer"
  41051. },
  41052. "paylimitedtime": {
  41053. "description": "支付期限",
  41054. "type": "string"
  41055. },
  41056. "paytime": {
  41057. "description": "付款时间",
  41058. "type": "string"
  41059. },
  41060. "qtydecimalplace": {
  41061. "description": "成交量小数位",
  41062. "type": "integer"
  41063. },
  41064. "sellaccountid": {
  41065. "description": "卖方账号ID[报价币种]",
  41066. "type": "integer"
  41067. },
  41068. "sellorderid": {
  41069. "description": "卖方委托单号",
  41070. "type": "string"
  41071. },
  41072. "tradeamount": {
  41073. "description": "成交金额(优惠后金额)",
  41074. "type": "number"
  41075. },
  41076. "tradecharge": {
  41077. "description": "成交手续费(买方)",
  41078. "type": "number"
  41079. },
  41080. "tradedate": {
  41081. "description": "交易日(yyyyMMdd)",
  41082. "type": "string"
  41083. },
  41084. "tradeid": {
  41085. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41086. "type": "string"
  41087. },
  41088. "trademode": {
  41089. "description": "交易模式",
  41090. "type": "integer"
  41091. },
  41092. "tradeprice": {
  41093. "description": "成交价格(价格)",
  41094. "type": "number"
  41095. },
  41096. "tradeqty": {
  41097. "description": "成交数量(数量)",
  41098. "type": "number"
  41099. },
  41100. "tradetime": {
  41101. "description": "成交时间",
  41102. "type": "string"
  41103. },
  41104. "userid": {
  41105. "description": "用户id",
  41106. "type": "integer"
  41107. },
  41108. "userinfotype": {
  41109. "description": "账户类型 1-个人 2-企业",
  41110. "type": "integer"
  41111. }
  41112. }
  41113. },
  41114. "models.QhjMyTeamEx": {
  41115. "type": "object",
  41116. "properties": {
  41117. "accountname": {
  41118. "description": "用户名称",
  41119. "type": "string"
  41120. },
  41121. "accountstatus": {
  41122. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  41123. "type": "integer"
  41124. },
  41125. "createtime": {
  41126. "description": "创建时间",
  41127. "type": "string"
  41128. },
  41129. "mobile": {
  41130. "description": "手机号码",
  41131. "type": "string"
  41132. },
  41133. "refereeuserid": {
  41134. "description": "推荐人id",
  41135. "type": "integer"
  41136. },
  41137. "refernum": {
  41138. "description": "推荐码",
  41139. "type": "string"
  41140. },
  41141. "subList": {
  41142. "type": "array",
  41143. "items": {
  41144. "$ref": "#/definitions/models.QhjMyTeamEx"
  41145. }
  41146. },
  41147. "userid": {
  41148. "description": "用户id",
  41149. "type": "integer"
  41150. },
  41151. "userinfotype": {
  41152. "description": "用户类型 1-个人 2-企业",
  41153. "type": "integer"
  41154. }
  41155. }
  41156. },
  41157. "models.QhjNodeAgreementConfig": {
  41158. "type": "object",
  41159. "properties": {
  41160. "agreementcontent": {
  41161. "description": "协议内容",
  41162. "type": "string"
  41163. },
  41164. "agreementid": {
  41165. "description": "协议ID",
  41166. "type": "integer"
  41167. },
  41168. "agreementname": {
  41169. "description": "协议名称",
  41170. "type": "string"
  41171. },
  41172. "agreementno": {
  41173. "description": "协议编号",
  41174. "type": "string"
  41175. },
  41176. "agreementtype": {
  41177. "description": "协议类型 - 1:注册 2:登录 3:交易",
  41178. "type": "integer"
  41179. },
  41180. "agreementversion": {
  41181. "description": "协议版本号",
  41182. "type": "integer"
  41183. },
  41184. "configid": {
  41185. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  41186. "type": "integer"
  41187. },
  41188. "createtime": {
  41189. "description": "创建时间",
  41190. "type": "string"
  41191. },
  41192. "goodsid": {
  41193. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  41194. "type": "integer"
  41195. },
  41196. "nodetype": {
  41197. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  41198. "type": "integer"
  41199. }
  41200. }
  41201. },
  41202. "models.QhjParentAreaList": {
  41203. "type": "object",
  41204. "properties": {
  41205. "accountname": {
  41206. "description": "账户名称(机构名称)",
  41207. "type": "string"
  41208. },
  41209. "userid": {
  41210. "description": "用户ID",
  41211. "type": "integer"
  41212. },
  41213. "usertype": {
  41214. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41215. "type": "integer"
  41216. }
  41217. }
  41218. },
  41219. "models.QhjPayOrder": {
  41220. "type": "object",
  41221. "properties": {
  41222. "advanceratio": {
  41223. "description": "首付比率",
  41224. "type": "number"
  41225. },
  41226. "buyaccountid": {
  41227. "description": "买方账号ID[报价币种]",
  41228. "type": "integer"
  41229. },
  41230. "buyorderid": {
  41231. "description": "买方委托单号",
  41232. "type": "string"
  41233. },
  41234. "createtime": {
  41235. "description": "创建时间",
  41236. "type": "string"
  41237. },
  41238. "decimalplace": {
  41239. "description": "商品报价小数位",
  41240. "type": "integer"
  41241. },
  41242. "enumdicname": {
  41243. "description": "单位名称",
  41244. "type": "string"
  41245. },
  41246. "goodscode": {
  41247. "description": "商品代码",
  41248. "type": "string"
  41249. },
  41250. "goodsid": {
  41251. "description": "商品ID",
  41252. "type": "integer"
  41253. },
  41254. "goodsname": {
  41255. "description": "商品名称",
  41256. "type": "string"
  41257. },
  41258. "goodunitid": {
  41259. "description": "商品单位id",
  41260. "type": "integer"
  41261. },
  41262. "marketid": {
  41263. "description": "市场ID",
  41264. "type": "integer"
  41265. },
  41266. "offamount": {
  41267. "description": "优惠金额",
  41268. "type": "number"
  41269. },
  41270. "operatetype": {
  41271. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  41272. "type": "integer"
  41273. },
  41274. "payamount": {
  41275. "description": "支付金额",
  41276. "type": "number"
  41277. },
  41278. "payflag": {
  41279. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  41280. "type": "integer"
  41281. },
  41282. "paylimitedtime": {
  41283. "description": "支付期限",
  41284. "type": "string"
  41285. },
  41286. "paytime": {
  41287. "description": "付款时间",
  41288. "type": "string"
  41289. },
  41290. "qtydecimalplace": {
  41291. "description": "成交量小数位",
  41292. "type": "integer"
  41293. },
  41294. "sellaccountid": {
  41295. "description": "卖方账号ID[报价币种]",
  41296. "type": "integer"
  41297. },
  41298. "sellorderid": {
  41299. "description": "卖方委托单号",
  41300. "type": "string"
  41301. },
  41302. "tradeamount": {
  41303. "description": "成交金额(优惠后金额)",
  41304. "type": "number"
  41305. },
  41306. "tradecharge": {
  41307. "description": "成交手续费(买方)",
  41308. "type": "number"
  41309. },
  41310. "tradedate": {
  41311. "description": "交易日(yyyyMMdd)",
  41312. "type": "string"
  41313. },
  41314. "tradeid": {
  41315. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41316. "type": "string"
  41317. },
  41318. "tradeprice": {
  41319. "description": "成交价格",
  41320. "type": "number"
  41321. },
  41322. "tradeqty": {
  41323. "description": "成交数量",
  41324. "type": "number"
  41325. }
  41326. }
  41327. },
  41328. "models.QhjPickArea": {
  41329. "type": "object",
  41330. "properties": {
  41331. "address": {
  41332. "description": "详细地址",
  41333. "type": "string"
  41334. },
  41335. "cityid": {
  41336. "description": "市",
  41337. "type": "integer"
  41338. },
  41339. "cityname": {
  41340. "description": "城市名称",
  41341. "type": "string"
  41342. },
  41343. "countryid": {
  41344. "description": "国家",
  41345. "type": "integer"
  41346. },
  41347. "countryname": {
  41348. "description": "国家名称",
  41349. "type": "string"
  41350. },
  41351. "districtid": {
  41352. "description": "地区",
  41353. "type": "integer"
  41354. },
  41355. "districtname": {
  41356. "description": "地区名称",
  41357. "type": "string"
  41358. },
  41359. "fromuserid": {
  41360. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  41361. "type": "integer"
  41362. },
  41363. "fromusername": {
  41364. "description": "所属机构名称",
  41365. "type": "string"
  41366. },
  41367. "provinceid": {
  41368. "description": "省",
  41369. "type": "integer"
  41370. },
  41371. "provincename": {
  41372. "description": "省名称",
  41373. "type": "string"
  41374. },
  41375. "suborgtype": {
  41376. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  41377. "type": "integer"
  41378. },
  41379. "userid": {
  41380. "description": "机构用户ID 其他做市关系,都设置为 1",
  41381. "type": "integer"
  41382. },
  41383. "username": {
  41384. "description": "机构用户名称(门店门称)",
  41385. "type": "string"
  41386. }
  41387. }
  41388. },
  41389. "models.QhjPickGoods": {
  41390. "type": "object",
  41391. "properties": {
  41392. "enumdicname": {
  41393. "description": "单位名称(提货商品)",
  41394. "type": "string"
  41395. },
  41396. "goodsid": {
  41397. "description": "商品id",
  41398. "type": "integer"
  41399. },
  41400. "imageaddress": {
  41401. "description": "图片",
  41402. "type": "string"
  41403. },
  41404. "modifierid": {
  41405. "description": "修改人",
  41406. "type": "integer"
  41407. },
  41408. "modifiername": {
  41409. "description": "修改人名称",
  41410. "type": "string"
  41411. },
  41412. "modifysrc": {
  41413. "description": "修改来源 - 1:管理端 2:终端",
  41414. "type": "integer"
  41415. },
  41416. "pickupgoodsagreeunit": {
  41417. "description": "合约乘数",
  41418. "type": "number"
  41419. },
  41420. "pickupgoodsdesc": {
  41421. "description": "描述",
  41422. "type": "string"
  41423. },
  41424. "pickupgoodsid": {
  41425. "description": "提货商品ID",
  41426. "type": "string"
  41427. },
  41428. "pickupgoodsname": {
  41429. "description": "提货商品名称",
  41430. "type": "string"
  41431. },
  41432. "pickupgoodsstatus": {
  41433. "description": "状态 - 1:正常 2:停用 3:注销",
  41434. "type": "integer"
  41435. },
  41436. "pickupgoodsunitid": {
  41437. "description": "单位ID",
  41438. "type": "integer"
  41439. },
  41440. "pickupratio": {
  41441. "description": "提货系数",
  41442. "type": "number"
  41443. },
  41444. "preparedays": {
  41445. "description": "备货期(天)",
  41446. "type": "integer"
  41447. },
  41448. "remark": {
  41449. "description": "备注",
  41450. "type": "string"
  41451. },
  41452. "updatetime": {
  41453. "description": "更新时间",
  41454. "type": "string"
  41455. }
  41456. }
  41457. },
  41458. "models.QhjRSTriggerLog": {
  41459. "type": "object",
  41460. "properties": {
  41461. "accountid": {
  41462. "description": "用户资金账户",
  41463. "type": "integer"
  41464. },
  41465. "accountname": {
  41466. "description": "账号名称(ACCOUNTID对应的名称)",
  41467. "type": "string"
  41468. },
  41469. "currencyid": {
  41470. "description": "币种id",
  41471. "type": "integer"
  41472. },
  41473. "currencyname": {
  41474. "description": "币种名称",
  41475. "type": "string"
  41476. },
  41477. "decimalplace": {
  41478. "description": "商品报价小数位",
  41479. "type": "integer"
  41480. },
  41481. "enumdicname": {
  41482. "description": "单位名称",
  41483. "type": "string"
  41484. },
  41485. "goodscode": {
  41486. "description": "定投商品代码",
  41487. "type": "string"
  41488. },
  41489. "goodsid": {
  41490. "description": "定投商品ID",
  41491. "type": "integer"
  41492. },
  41493. "goodsname": {
  41494. "description": "定投商品名称",
  41495. "type": "string"
  41496. },
  41497. "goodunitid": {
  41498. "description": "定投商品单位id",
  41499. "type": "integer"
  41500. },
  41501. "logid": {
  41502. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  41503. "type": "string"
  41504. },
  41505. "logincode": {
  41506. "description": "账号(登录代码)",
  41507. "type": "string"
  41508. },
  41509. "qtydecimalplace": {
  41510. "description": "成交量小数位",
  41511. "type": "integer"
  41512. },
  41513. "regularlycycle": {
  41514. "description": "定投频率 - 1:每周 2:每月",
  41515. "type": "integer"
  41516. },
  41517. "regularlycyclevalue": {
  41518. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  41519. "type": "string"
  41520. },
  41521. "regularlymode": {
  41522. "description": "定投方式 - 1:按数量 2:按金额",
  41523. "type": "integer"
  41524. },
  41525. "regularlymodevalue": {
  41526. "description": "定投方式值 - 数量或金额",
  41527. "type": "number"
  41528. },
  41529. "regularlystrategyid": {
  41530. "description": "定投策略ID",
  41531. "type": "integer"
  41532. },
  41533. "retcode": {
  41534. "description": "错误码",
  41535. "type": "string"
  41536. },
  41537. "tradeid": {
  41538. "description": "成交单ID",
  41539. "type": "string"
  41540. },
  41541. "triggeramount": {
  41542. "description": "触发金额",
  41543. "type": "number"
  41544. },
  41545. "triggerqty": {
  41546. "description": "触发数量",
  41547. "type": "number"
  41548. },
  41549. "triggerstatus": {
  41550. "description": "触发状态 - 1:成功 2:失败",
  41551. "type": "integer"
  41552. },
  41553. "triggertime": {
  41554. "description": "触发时间",
  41555. "type": "string"
  41556. },
  41557. "triggertradedate": {
  41558. "description": "触发交易日",
  41559. "type": "string"
  41560. },
  41561. "userid": {
  41562. "description": "所属用户ID",
  41563. "type": "integer"
  41564. },
  41565. "userinfotype": {
  41566. "description": "用户类型 1-个人 2-企业",
  41567. "type": "integer"
  41568. },
  41569. "username": {
  41570. "description": "用户名称(userid对应的名称)",
  41571. "type": "string"
  41572. }
  41573. }
  41574. },
  41575. "models.QhjRStrategy": {
  41576. "type": "object",
  41577. "properties": {
  41578. "accountid": {
  41579. "description": "用户资金账户",
  41580. "type": "integer"
  41581. },
  41582. "accountname": {
  41583. "description": "账号名称(ACCOUNTID对应的名称)",
  41584. "type": "string"
  41585. },
  41586. "currencyid": {
  41587. "description": "币种id",
  41588. "type": "integer"
  41589. },
  41590. "currencyname": {
  41591. "description": "币种名称",
  41592. "type": "string"
  41593. },
  41594. "decimalplace": {
  41595. "description": "商品报价小数位",
  41596. "type": "integer"
  41597. },
  41598. "enumdicname": {
  41599. "description": "单位名称",
  41600. "type": "string"
  41601. },
  41602. "goodscode": {
  41603. "description": "定投商品代码",
  41604. "type": "string"
  41605. },
  41606. "goodsid": {
  41607. "description": "定投商品ID",
  41608. "type": "integer"
  41609. },
  41610. "goodsname": {
  41611. "description": "定投商品名称",
  41612. "type": "string"
  41613. },
  41614. "goodunitid": {
  41615. "description": "定投商品单位id",
  41616. "type": "integer"
  41617. },
  41618. "lasteffecttradedate": {
  41619. "description": "最新生效交易日",
  41620. "type": "string"
  41621. },
  41622. "laststoptradedate": {
  41623. "description": "最新暂停交易日",
  41624. "type": "string"
  41625. },
  41626. "lasttriggertradedate": {
  41627. "description": "最新触发交易日",
  41628. "type": "string"
  41629. },
  41630. "logincode": {
  41631. "description": "账号(登录代码)",
  41632. "type": "string"
  41633. },
  41634. "nexttriggeramount": {
  41635. "description": "下次触发金额",
  41636. "type": "number"
  41637. },
  41638. "nexttriggerdate": {
  41639. "description": "下次触发日期",
  41640. "type": "string"
  41641. },
  41642. "nexttriggerqty": {
  41643. "description": "下次触发数量 [按小数位放大值]",
  41644. "type": "number"
  41645. },
  41646. "qtydecimalplace": {
  41647. "description": "成交量小数位",
  41648. "type": "integer"
  41649. },
  41650. "regularlycycle": {
  41651. "description": "定投频率 - 1:每周 2:每月",
  41652. "type": "integer"
  41653. },
  41654. "regularlycyclevalue": {
  41655. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  41656. "type": "string"
  41657. },
  41658. "regularlymode": {
  41659. "description": "定投方式 - 1:按数量 2:按金额",
  41660. "type": "integer"
  41661. },
  41662. "regularlymodevalue": {
  41663. "description": "定投方式值 - 数量或金额",
  41664. "type": "number"
  41665. },
  41666. "regularlystrategyid": {
  41667. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  41668. "type": "integer"
  41669. },
  41670. "regularlystrategystatus": {
  41671. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  41672. "type": "integer"
  41673. },
  41674. "remark": {
  41675. "description": "备注",
  41676. "type": "string"
  41677. },
  41678. "triggersuccesstimes": {
  41679. "description": "累计定投成功次数",
  41680. "type": "string"
  41681. },
  41682. "triggertotalamount": {
  41683. "description": "累计定投金额(成功)",
  41684. "type": "number"
  41685. },
  41686. "triggertotalqty": {
  41687. "description": "累计定投数量(成功) [按小数位放大值]",
  41688. "type": "number"
  41689. },
  41690. "triggertotaltimes": {
  41691. "description": "累计定投总次数",
  41692. "type": "string"
  41693. },
  41694. "updatesrc": {
  41695. "description": "更新来源 - 1:管理端 2:终端",
  41696. "type": "integer"
  41697. },
  41698. "updatetime": {
  41699. "description": "更新时间",
  41700. "type": "string"
  41701. },
  41702. "updatorid": {
  41703. "description": "更新人",
  41704. "type": "string"
  41705. },
  41706. "userid": {
  41707. "description": "所属用户ID",
  41708. "type": "integer"
  41709. },
  41710. "userinfotype": {
  41711. "description": "用户类型 1-个人 2-企业",
  41712. "type": "integer"
  41713. },
  41714. "username": {
  41715. "description": "用户名称(userid对应的名称)",
  41716. "type": "string"
  41717. }
  41718. }
  41719. },
  41720. "models.QhjReckonPriceLog": {
  41721. "type": "object",
  41722. "properties": {
  41723. "decimalplace": {
  41724. "description": "商品报价小数位",
  41725. "type": "integer"
  41726. },
  41727. "goodscode": {
  41728. "description": "商品代码",
  41729. "type": "string"
  41730. },
  41731. "goodsid": {
  41732. "description": "商品ID",
  41733. "type": "integer"
  41734. },
  41735. "goodsname": {
  41736. "description": "商品名称",
  41737. "type": "string"
  41738. },
  41739. "lastreckonprice": {
  41740. "description": "上日结算价",
  41741. "type": "number"
  41742. },
  41743. "nextdnlimitprice": {
  41744. "description": "下个交易日跌停价",
  41745. "type": "number"
  41746. },
  41747. "nexttrade": {
  41748. "description": "下个交易日",
  41749. "type": "string"
  41750. },
  41751. "nextuplimitprice": {
  41752. "description": "下个交易日涨停价",
  41753. "type": "number"
  41754. },
  41755. "reckonprice": {
  41756. "description": "今日结算价(定投价)",
  41757. "type": "number"
  41758. },
  41759. "reckontime": {
  41760. "description": "结算时间",
  41761. "type": "string"
  41762. },
  41763. "totalholderqty": {
  41764. "description": "总持仓数",
  41765. "type": "integer"
  41766. },
  41767. "totalstock": {
  41768. "description": "总库存",
  41769. "type": "integer"
  41770. },
  41771. "tradedate": {
  41772. "description": "交易日",
  41773. "type": "string"
  41774. },
  41775. "updowncount": {
  41776. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  41777. "type": "integer"
  41778. },
  41779. "updownflag": {
  41780. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  41781. "type": "integer"
  41782. },
  41783. "updownrate": {
  41784. "description": "今日涨跌幅",
  41785. "type": "number"
  41786. },
  41787. "updownrate_2d": {
  41788. "description": "连续两日涨跌幅",
  41789. "type": "number"
  41790. },
  41791. "updownrate_3d": {
  41792. "description": "连续三日涨跌幅",
  41793. "type": "number"
  41794. }
  41795. }
  41796. },
  41797. "models.QhjScoreLog": {
  41798. "type": "object",
  41799. "properties": {
  41800. "accountid": {
  41801. "description": "账户ID",
  41802. "type": "integer"
  41803. },
  41804. "createtime": {
  41805. "description": "创建时间(时间)",
  41806. "type": "string"
  41807. },
  41808. "goodsid": {
  41809. "description": "商品ID",
  41810. "type": "integer"
  41811. },
  41812. "hasuploaded": {
  41813. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  41814. "type": "integer"
  41815. },
  41816. "logid": {
  41817. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41818. "type": "string"
  41819. },
  41820. "marketid": {
  41821. "description": "市场ID",
  41822. "type": "integer"
  41823. },
  41824. "relatedamount": {
  41825. "description": "关联金额",
  41826. "type": "number"
  41827. },
  41828. "relatedorderid": {
  41829. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  41830. "type": "string"
  41831. },
  41832. "scoreconfigvalue1": {
  41833. "description": "积分配置1",
  41834. "type": "integer"
  41835. },
  41836. "scoreconfigvalue2": {
  41837. "description": "积分配置1",
  41838. "type": "integer"
  41839. },
  41840. "scoretype": {
  41841. "description": "积分类型 - 1:提货积分",
  41842. "type": "integer"
  41843. },
  41844. "scorevalue": {
  41845. "description": "积分",
  41846. "type": "number"
  41847. },
  41848. "tradedate": {
  41849. "description": "交易日(yyyyMMdd)",
  41850. "type": "string"
  41851. },
  41852. "uploadedtime": {
  41853. "description": "同步时间",
  41854. "type": "string"
  41855. },
  41856. "userid": {
  41857. "description": "用户ID",
  41858. "type": "integer"
  41859. }
  41860. }
  41861. },
  41862. "models.QhjSiteColumnDetail": {
  41863. "type": "object",
  41864. "properties": {
  41865. "author": {
  41866. "description": "作者",
  41867. "type": "string"
  41868. },
  41869. "brief": {
  41870. "description": "简介",
  41871. "type": "string"
  41872. },
  41873. "columnid": {
  41874. "description": "所属栏目",
  41875. "type": "integer"
  41876. },
  41877. "context": {
  41878. "description": "内容",
  41879. "type": "string"
  41880. },
  41881. "coverimage": {
  41882. "description": "封面图片",
  41883. "type": "string"
  41884. },
  41885. "creaedate": {
  41886. "description": "创建时间",
  41887. "type": "string"
  41888. },
  41889. "creatorid": {
  41890. "description": "创建人",
  41891. "type": "integer"
  41892. },
  41893. "hits": {
  41894. "description": "点击数",
  41895. "type": "integer"
  41896. },
  41897. "id": {
  41898. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41899. "type": "integer"
  41900. },
  41901. "isshow": {
  41902. "description": "是否展示 - 0:不展示 1:展示",
  41903. "type": "integer"
  41904. },
  41905. "istop": {
  41906. "description": "是否置顶 - 0:不置 1:置顶",
  41907. "type": "integer"
  41908. },
  41909. "modifierid": {
  41910. "description": "操作人",
  41911. "type": "integer"
  41912. },
  41913. "publishdate": {
  41914. "description": "发布日期",
  41915. "type": "string"
  41916. },
  41917. "status": {
  41918. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  41919. "type": "integer"
  41920. },
  41921. "title": {
  41922. "description": "标题",
  41923. "type": "string"
  41924. },
  41925. "updatedate": {
  41926. "description": "修改时间",
  41927. "type": "string"
  41928. },
  41929. "userid": {
  41930. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  41931. "type": "integer"
  41932. },
  41933. "username": {
  41934. "description": "用户名称",
  41935. "type": "string"
  41936. }
  41937. }
  41938. },
  41939. "models.QhjTeamOrder": {
  41940. "type": "object",
  41941. "properties": {
  41942. "accountid": {
  41943. "description": "账户ID[报价币种]",
  41944. "type": "integer"
  41945. },
  41946. "accountname": {
  41947. "description": "账户名称",
  41948. "type": "string"
  41949. },
  41950. "agreeunit": {
  41951. "description": "合约乘数",
  41952. "type": "number"
  41953. },
  41954. "buyorsell": {
  41955. "description": "方向 - 0:买 1:卖",
  41956. "type": "integer"
  41957. },
  41958. "decimalplace": {
  41959. "description": "报价小数位",
  41960. "type": "integer"
  41961. },
  41962. "enumdicname": {
  41963. "description": "单位名称",
  41964. "type": "string"
  41965. },
  41966. "goodscode": {
  41967. "description": "商品代码(内部)",
  41968. "type": "string"
  41969. },
  41970. "goodsid": {
  41971. "description": "商品ID",
  41972. "type": "integer"
  41973. },
  41974. "goodsname": {
  41975. "description": "商品名称",
  41976. "type": "string"
  41977. },
  41978. "goodunitid": {
  41979. "description": "报价单位ID",
  41980. "type": "integer"
  41981. },
  41982. "marketid": {
  41983. "description": "市场ID",
  41984. "type": "integer"
  41985. },
  41986. "marketname": {
  41987. "description": "市场名称",
  41988. "type": "string"
  41989. },
  41990. "qtydecimalplace": {
  41991. "description": "成交量小数位",
  41992. "type": "integer"
  41993. },
  41994. "refereeuserid": {
  41995. "description": "推荐人ID",
  41996. "type": "integer"
  41997. },
  41998. "tradeamount": {
  41999. "description": "成交金额[账户币种,用于所有权]",
  42000. "type": "number"
  42001. },
  42002. "tradedate": {
  42003. "description": "交易日(yyyyMMdd)",
  42004. "type": "string"
  42005. },
  42006. "trademode": {
  42007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  42008. "type": "integer"
  42009. },
  42010. "tradeprice": {
  42011. "description": "成交价格",
  42012. "type": "number"
  42013. },
  42014. "tradeqty": {
  42015. "description": "成交数量",
  42016. "type": "number"
  42017. },
  42018. "tradetime": {
  42019. "description": "成交时间",
  42020. "type": "string"
  42021. },
  42022. "userid": {
  42023. "description": "用户ID",
  42024. "type": "integer"
  42025. }
  42026. }
  42027. },
  42028. "models.QhjTradeGoodsPickup": {
  42029. "type": "object",
  42030. "properties": {
  42031. "accountid": {
  42032. "description": "账户ID",
  42033. "type": "integer"
  42034. },
  42035. "address": {
  42036. "description": "提货人详细地址",
  42037. "type": "string"
  42038. },
  42039. "amount": {
  42040. "description": "提货金额",
  42041. "type": "number"
  42042. },
  42043. "artradedate": {
  42044. "description": "自动收货交易日(yyyyMMdd)",
  42045. "type": "string"
  42046. },
  42047. "auditer": {
  42048. "description": "审核人",
  42049. "type": "integer"
  42050. },
  42051. "auditsrc": {
  42052. "description": "更新来源 - 1:管理端 2:终端",
  42053. "type": "integer"
  42054. },
  42055. "audittime": {
  42056. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  42057. "type": "string"
  42058. },
  42059. "audittradedate": {
  42060. "description": "审核交易日(yyyyMMdd)",
  42061. "type": "string"
  42062. },
  42063. "cardnum": {
  42064. "description": "提货人证件号码",
  42065. "type": "string"
  42066. },
  42067. "cardtypeid": {
  42068. "description": "提货人证件类型",
  42069. "type": "integer"
  42070. },
  42071. "checkremark": {
  42072. "description": "审核备注",
  42073. "type": "string"
  42074. },
  42075. "cityid": {
  42076. "description": "市",
  42077. "type": "integer"
  42078. },
  42079. "cityname": {
  42080. "description": "城市名称",
  42081. "type": "string"
  42082. },
  42083. "confirmtime": {
  42084. "description": "取货时间 或 收货时间",
  42085. "type": "string"
  42086. },
  42087. "countryid": {
  42088. "description": "国家",
  42089. "type": "integer"
  42090. },
  42091. "countryname": {
  42092. "description": "国家名称",
  42093. "type": "string"
  42094. },
  42095. "decimalplace": {
  42096. "description": "商品报价小数位",
  42097. "type": "integer"
  42098. },
  42099. "districtid": {
  42100. "description": "地区",
  42101. "type": "integer"
  42102. },
  42103. "districtname": {
  42104. "description": "地区名称",
  42105. "type": "string"
  42106. },
  42107. "enumdicname": {
  42108. "description": "单位名称(提货商品)",
  42109. "type": "string"
  42110. },
  42111. "expresscompany": {
  42112. "description": "物流公司",
  42113. "type": "string"
  42114. },
  42115. "expressnum": {
  42116. "description": "物流单号",
  42117. "type": "string"
  42118. },
  42119. "goodsagreeunit": {
  42120. "description": "交易商品乘数",
  42121. "type": "number"
  42122. },
  42123. "goodscode": {
  42124. "description": "商品代码",
  42125. "type": "string"
  42126. },
  42127. "goodsid": {
  42128. "description": "商品ID",
  42129. "type": "integer"
  42130. },
  42131. "goodsname": {
  42132. "description": "商品名称",
  42133. "type": "string"
  42134. },
  42135. "goodsqty": {
  42136. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  42137. "type": "number"
  42138. },
  42139. "handlestatus": {
  42140. "description": "处理状态",
  42141. "type": "integer"
  42142. },
  42143. "logincode": {
  42144. "description": "账号(登录代码, 有可能为空)",
  42145. "type": "string"
  42146. },
  42147. "marketid": {
  42148. "description": "市场ID",
  42149. "type": "integer"
  42150. },
  42151. "phonenum": {
  42152. "description": "提货人联系方式",
  42153. "type": "string"
  42154. },
  42155. "pickupgoodsagreeunit": {
  42156. "description": "提货商品合约乘数",
  42157. "type": "number"
  42158. },
  42159. "pickupgoodsid": {
  42160. "description": "提货商品ID",
  42161. "type": "string"
  42162. },
  42163. "pickupgoodsname": {
  42164. "description": "提货商品名称",
  42165. "type": "string"
  42166. },
  42167. "pickupgoodsqty": {
  42168. "description": "提货商品手数(数量)",
  42169. "type": "number"
  42170. },
  42171. "pickupgoodsunitid": {
  42172. "description": "单位ID(提货商品)",
  42173. "type": "integer"
  42174. },
  42175. "pickupratio": {
  42176. "description": "提货系数",
  42177. "type": "number"
  42178. },
  42179. "preparedays": {
  42180. "description": "备货期(天)-提货单明细表",
  42181. "type": "integer"
  42182. },
  42183. "provinceid": {
  42184. "description": "省",
  42185. "type": "integer"
  42186. },
  42187. "provincename": {
  42188. "description": "省名称",
  42189. "type": "string"
  42190. },
  42191. "qty": {
  42192. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  42193. "type": "number"
  42194. },
  42195. "qtydecimalplace": {
  42196. "description": "商品数量小数位",
  42197. "type": "integer"
  42198. },
  42199. "recivername": {
  42200. "description": "提货人姓名",
  42201. "type": "string"
  42202. },
  42203. "reqtime": {
  42204. "description": "提货申请时间",
  42205. "type": "string"
  42206. },
  42207. "storeuserid": {
  42208. "description": "门店用户ID (千海金)",
  42209. "type": "integer"
  42210. },
  42211. "storeusername": {
  42212. "description": "门店用户名称",
  42213. "type": "string"
  42214. },
  42215. "takemode": {
  42216. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  42217. "type": "integer"
  42218. },
  42219. "takeorderid": {
  42220. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  42221. "type": "string"
  42222. },
  42223. "takeorderstatus": {
  42224. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  42225. "type": "integer"
  42226. },
  42227. "takeremark": {
  42228. "description": "提货备注",
  42229. "type": "string"
  42230. },
  42231. "tradedate": {
  42232. "description": "交易日(yyyyMMdd)",
  42233. "type": "string"
  42234. },
  42235. "updatetime": {
  42236. "description": "更新时间",
  42237. "type": "string"
  42238. },
  42239. "userid": {
  42240. "description": "用户ID",
  42241. "type": "integer"
  42242. },
  42243. "userinfotype": {
  42244. "description": "客户类型 1-个人 2-企业",
  42245. "type": "integer"
  42246. },
  42247. "username": {
  42248. "description": "用户名称",
  42249. "type": "string"
  42250. }
  42251. }
  42252. },
  42253. "models.QhjUserNodeCfgAndStatus": {
  42254. "type": "object",
  42255. "properties": {
  42256. "agreementcontent": {
  42257. "description": "协议内容",
  42258. "type": "string"
  42259. },
  42260. "agreementid": {
  42261. "description": "协议ID",
  42262. "type": "integer"
  42263. },
  42264. "agreementname": {
  42265. "description": "协议名称",
  42266. "type": "string"
  42267. },
  42268. "agreementno": {
  42269. "description": "协议编号",
  42270. "type": "string"
  42271. },
  42272. "agreementtype": {
  42273. "description": "协议类型 - 1:注册 2:登录 3:交易",
  42274. "type": "integer"
  42275. },
  42276. "agreementversion": {
  42277. "description": "协议版本号",
  42278. "type": "integer"
  42279. },
  42280. "configid": {
  42281. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  42282. "type": "integer"
  42283. },
  42284. "createtime": {
  42285. "description": "创建时间",
  42286. "type": "string"
  42287. },
  42288. "goodsid": {
  42289. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  42290. "type": "integer"
  42291. },
  42292. "nodetype": {
  42293. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  42294. "type": "integer"
  42295. },
  42296. "signtimestamp": {
  42297. "description": "签约状态时间戳(最近一次)",
  42298. "type": "string"
  42299. },
  42300. "tradedate": {
  42301. "description": "签约交易日(yyyyMMdd)",
  42302. "type": "string"
  42303. },
  42304. "userid": {
  42305. "description": "客户ID",
  42306. "type": "integer"
  42307. }
  42308. }
  42309. },
  42310. "models.Qhjgoodsex": {
  42311. "type": "object",
  42312. "properties": {
  42313. "canfinance": {
  42314. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  42315. "type": "integer"
  42316. },
  42317. "canregularlybuy": {
  42318. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  42319. "type": "integer"
  42320. },
  42321. "defaulttradeuserid": {
  42322. "description": "默认交易用户ID",
  42323. "type": "integer"
  42324. },
  42325. "deliverygoodsid": {
  42326. "description": "现货品种ID",
  42327. "type": "integer"
  42328. },
  42329. "goodsid": {
  42330. "description": "商品ID(自增ID SEQ_GOODS)",
  42331. "type": "integer"
  42332. },
  42333. "minamount": {
  42334. "description": "最小购买金额",
  42335. "type": "number"
  42336. },
  42337. "regularlybuyminamount": {
  42338. "description": "定投最小金额",
  42339. "type": "number"
  42340. },
  42341. "regularlybuyminqty": {
  42342. "description": "定投最小数量",
  42343. "type": "number"
  42344. },
  42345. "spotgoodsbrandid": {
  42346. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  42347. "type": "integer"
  42348. },
  42349. "visibilityforenterprise": {
  42350. "description": "企业客户是否可见 - 0:不可见 1:可见",
  42351. "type": "integer"
  42352. },
  42353. "visibilityforpersonal": {
  42354. "description": "个人客户是否可见 - 0:不可见 1:可见",
  42355. "type": "integer"
  42356. },
  42357. "wrstandardid": {
  42358. "description": "现货商品ID",
  42359. "type": "integer"
  42360. }
  42361. }
  42362. },
  42363. "models.QueryErrorInfosRsp": {
  42364. "type": "object",
  42365. "required": [
  42366. "errorid"
  42367. ],
  42368. "properties": {
  42369. "description": {
  42370. "description": "异常描述",
  42371. "type": "string"
  42372. },
  42373. "errorcode": {
  42374. "description": "异常代码",
  42375. "type": "string"
  42376. },
  42377. "errorid": {
  42378. "description": "异常ID",
  42379. "type": "integer"
  42380. },
  42381. "modulecode": {
  42382. "description": "所属模块",
  42383. "type": "string"
  42384. },
  42385. "operatecode": {
  42386. "description": "所属操作",
  42387. "type": "string"
  42388. },
  42389. "rownumber": {
  42390. "description": "行号",
  42391. "type": "string"
  42392. }
  42393. }
  42394. },
  42395. "models.QueryHedgeOrderDetailRsp": {
  42396. "type": "object",
  42397. "properties": {
  42398. "accountid": {
  42399. "description": "账户ID",
  42400. "type": "integer"
  42401. },
  42402. "buyorsell": {
  42403. "description": "买卖 - 0:买 1:卖",
  42404. "type": "integer"
  42405. },
  42406. "cancellogincode": {
  42407. "description": "撤单人",
  42408. "type": "string"
  42409. },
  42410. "channelbuildtype": {
  42411. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  42412. "type": "integer"
  42413. },
  42414. "channelinnerorderstatus": {
  42415. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  42416. "type": "integer"
  42417. },
  42418. "channeloperatetype": {
  42419. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  42420. "type": "integer"
  42421. },
  42422. "closetype": {
  42423. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  42424. "type": "integer"
  42425. },
  42426. "curexchangerate": {
  42427. "description": "当前汇率",
  42428. "type": "number"
  42429. },
  42430. "decimalplace": {
  42431. "description": "商品报价小数位",
  42432. "type": "integer"
  42433. },
  42434. "exchangefullname": {
  42435. "description": "外部交易所全称",
  42436. "type": "string"
  42437. },
  42438. "goodscode": {
  42439. "description": "商品代码(内部)",
  42440. "type": "string"
  42441. },
  42442. "goodsid": {
  42443. "description": "商品ID",
  42444. "type": "integer"
  42445. },
  42446. "goodsname": {
  42447. "description": "商品名称",
  42448. "type": "string"
  42449. },
  42450. "marketid": {
  42451. "description": "市场ID",
  42452. "type": "integer"
  42453. },
  42454. "openfreezemargin": {
  42455. "description": "冻结保证金(冻结交易金额)",
  42456. "type": "number"
  42457. },
  42458. "orderid": {
  42459. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42460. "type": "string"
  42461. },
  42462. "orderlogincode": {
  42463. "description": "委托人",
  42464. "type": "string"
  42465. },
  42466. "orderprice": {
  42467. "description": "委托价格(账户)",
  42468. "type": "number"
  42469. },
  42470. "orderqty": {
  42471. "description": "委托数量",
  42472. "type": "integer"
  42473. },
  42474. "ordertime": {
  42475. "description": "委托时间",
  42476. "type": "string"
  42477. },
  42478. "pricemode": {
  42479. "description": "取价方式 - 1:市价 2: 限价",
  42480. "type": "integer"
  42481. },
  42482. "tradedate": {
  42483. "description": "交易日(yyyyMMdd)",
  42484. "type": "string"
  42485. },
  42486. "tradeqty": {
  42487. "description": "成交数量",
  42488. "type": "integer"
  42489. }
  42490. }
  42491. },
  42492. "models.QueryHedgeTradeDetailRsp": {
  42493. "type": "object",
  42494. "properties": {
  42495. "accountid": {
  42496. "description": "账号ID",
  42497. "type": "integer"
  42498. },
  42499. "buyorsell": {
  42500. "description": "方向 - 0:买 1:卖",
  42501. "type": "integer"
  42502. },
  42503. "channelbuildtype": {
  42504. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  42505. "type": "integer"
  42506. },
  42507. "closecharge": {
  42508. "description": "平仓手续费(账户)",
  42509. "type": "number"
  42510. },
  42511. "closecharge2": {
  42512. "description": "平仓手续费(商品)",
  42513. "type": "number"
  42514. },
  42515. "closepl": {
  42516. "description": "平仓盈亏(账户)",
  42517. "type": "number"
  42518. },
  42519. "closepl2": {
  42520. "description": "平仓盈亏(商品)",
  42521. "type": "number"
  42522. },
  42523. "closepl3": {
  42524. "description": "平仓盈亏(账户)(逐笔)",
  42525. "type": "number"
  42526. },
  42527. "closepl4": {
  42528. "description": "平仓盈亏(商品)(逐笔)",
  42529. "type": "number"
  42530. },
  42531. "closetype": {
  42532. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  42533. "type": "integer"
  42534. },
  42535. "curexchangerate": {
  42536. "description": "当前汇率",
  42537. "type": "number"
  42538. },
  42539. "decimalplace": {
  42540. "description": "商品报价小数位",
  42541. "type": "integer"
  42542. },
  42543. "exchangefullname": {
  42544. "description": "外部交易所全称",
  42545. "type": "string"
  42546. },
  42547. "goodscode": {
  42548. "description": "商品代码(内部)",
  42549. "type": "string"
  42550. },
  42551. "goodsid": {
  42552. "description": "商品ID",
  42553. "type": "integer"
  42554. },
  42555. "goodsname": {
  42556. "description": "商品名称",
  42557. "type": "string"
  42558. },
  42559. "marketid": {
  42560. "description": "市场ID",
  42561. "type": "integer"
  42562. },
  42563. "opencharge": {
  42564. "description": "建仓手续费(账户)",
  42565. "type": "number"
  42566. },
  42567. "opencharge2": {
  42568. "description": "建仓手续费(商品)",
  42569. "type": "number"
  42570. },
  42571. "orderid": {
  42572. "description": "委托单号",
  42573. "type": "string"
  42574. },
  42575. "orderlogincode": {
  42576. "description": "委托人",
  42577. "type": "string"
  42578. },
  42579. "tradeamount": {
  42580. "description": "成交金额(账户)",
  42581. "type": "number"
  42582. },
  42583. "tradedate": {
  42584. "description": "交易日(yyyyMMdd)",
  42585. "type": "string"
  42586. },
  42587. "tradeid": {
  42588. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42589. "type": "string"
  42590. },
  42591. "tradeprice": {
  42592. "description": "成交价格",
  42593. "type": "number"
  42594. },
  42595. "tradeqty": {
  42596. "description": "成交数量",
  42597. "type": "integer"
  42598. },
  42599. "tradetime": {
  42600. "description": "成交时间",
  42601. "type": "string"
  42602. },
  42603. "tradetype": {
  42604. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  42605. "type": "integer"
  42606. }
  42607. }
  42608. },
  42609. "models.QuotePrimaryMenu": {
  42610. "type": "object",
  42611. "properties": {
  42612. "Index": {
  42613. "description": "序号",
  42614. "type": "integer"
  42615. },
  42616. "Key": {
  42617. "description": "键名",
  42618. "type": "string"
  42619. },
  42620. "Name": {
  42621. "description": "菜单名称",
  42622. "type": "string"
  42623. },
  42624. "SubMenus": {
  42625. "description": "子菜单",
  42626. "type": "array",
  42627. "items": {
  42628. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  42629. }
  42630. },
  42631. "SubTitleType": {
  42632. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  42633. "type": "integer"
  42634. },
  42635. "TradeModes": {
  42636. "description": "包含市场交易类型",
  42637. "type": "string"
  42638. }
  42639. }
  42640. },
  42641. "models.QuoteSecondaryMenu": {
  42642. "type": "object",
  42643. "properties": {
  42644. "ExExchangeCode": {
  42645. "description": "外部交易所代码",
  42646. "type": "string"
  42647. },
  42648. "ExExchangeID": {
  42649. "description": "外部交易所ID",
  42650. "type": "integer"
  42651. },
  42652. "GoodsGroupIDs": {
  42653. "description": "商品组ID列表",
  42654. "type": "array",
  42655. "items": {
  42656. "type": "integer"
  42657. }
  42658. },
  42659. "Index": {
  42660. "description": "序号",
  42661. "type": "integer"
  42662. },
  42663. "MarketID": {
  42664. "description": "市场ID",
  42665. "type": "integer"
  42666. },
  42667. "MenuTitle": {
  42668. "description": "菜单标题(市场名称或外部交易所名称)",
  42669. "type": "string"
  42670. },
  42671. "TradeMode": {
  42672. "description": "交易模式",
  42673. "type": "integer"
  42674. }
  42675. }
  42676. },
  42677. "models.Reckondaytaaccount": {
  42678. "type": "object",
  42679. "required": [
  42680. "userid"
  42681. ],
  42682. "properties": {
  42683. "accountid": {
  42684. "description": "资金账户ID",
  42685. "type": "integer"
  42686. },
  42687. "accountname": {
  42688. "description": "账户名称",
  42689. "type": "string"
  42690. },
  42691. "accountpl": {
  42692. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  42693. "type": "number"
  42694. },
  42695. "avaiablemoney": {
  42696. "description": "可用资金",
  42697. "type": "number"
  42698. },
  42699. "avaiableoutmoney": {
  42700. "description": "可出资金",
  42701. "type": "number"
  42702. },
  42703. "balance": {
  42704. "description": "期初余额",
  42705. "type": "number"
  42706. },
  42707. "capitalbalance": {
  42708. "description": "本金余额[外部子账户实际出入金余额]",
  42709. "type": "number"
  42710. },
  42711. "changeflag": {
  42712. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  42713. "type": "integer"
  42714. },
  42715. "clearbalance": {
  42716. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  42717. "type": "number"
  42718. },
  42719. "clearpl": {
  42720. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  42721. "type": "number"
  42722. },
  42723. "closepl": {
  42724. "description": "今日平仓盈亏",
  42725. "type": "number"
  42726. },
  42727. "closepl2": {
  42728. "description": "平仓盈亏(逐笔)",
  42729. "type": "number"
  42730. },
  42731. "creditdecrease": {
  42732. "description": "今日授信减少",
  42733. "type": "number"
  42734. },
  42735. "creditincrease": {
  42736. "description": "今日授信增加",
  42737. "type": "number"
  42738. },
  42739. "curdebt": {
  42740. "description": "期末欠款",
  42741. "type": "number"
  42742. },
  42743. "currencyid": {
  42744. "description": "货币ID",
  42745. "type": "integer"
  42746. },
  42747. "currentbalance": {
  42748. "description": "期末余额",
  42749. "type": "number"
  42750. },
  42751. "cycletype": {
  42752. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  42753. "type": "integer"
  42754. },
  42755. "defercharge": {
  42756. "description": "今日递延费2支出[111, 112]",
  42757. "type": "number"
  42758. },
  42759. "deliveryamountin": {
  42760. "description": "今日交收货款收入",
  42761. "type": "number"
  42762. },
  42763. "deliveryamountout": {
  42764. "description": "今日交收货款支出",
  42765. "type": "number"
  42766. },
  42767. "deliverycharge": {
  42768. "description": "今日交收手续费支出 [105,106]",
  42769. "type": "number"
  42770. },
  42771. "deliverycompensationfeein": {
  42772. "description": "今日交收补偿费收入",
  42773. "type": "number"
  42774. },
  42775. "deliverycompensationfeeout": {
  42776. "description": "今日交收补偿费支出",
  42777. "type": "number"
  42778. },
  42779. "dividedcharge": {
  42780. "description": "今日已收手续费分成",
  42781. "type": "number"
  42782. },
  42783. "floatnetvalue": {
  42784. "description": "浮动净值 = 净值 + 浮动盈亏",
  42785. "type": "number"
  42786. },
  42787. "floatpl": {
  42788. "description": "浮动盈亏 - 每日有负债类商品",
  42789. "type": "number"
  42790. },
  42791. "freezecharge": {
  42792. "description": "手续费冻结",
  42793. "type": "number"
  42794. },
  42795. "freezemargin": {
  42796. "description": "冻结保证金",
  42797. "type": "number"
  42798. },
  42799. "fromaccountid": {
  42800. "description": "所属上级账户",
  42801. "type": "integer"
  42802. },
  42803. "holdcharge": {
  42804. "description": "今日持仓过夜费支出[108,109,110]",
  42805. "type": "number"
  42806. },
  42807. "inamount": {
  42808. "description": "今日入金金额",
  42809. "type": "number"
  42810. },
  42811. "interestcharge": {
  42812. "description": "今日递延费支出[103, 104]",
  42813. "type": "number"
  42814. },
  42815. "ismain": {
  42816. "description": "是否账号 0:不是母账户 1:是母账户",
  42817. "type": "integer"
  42818. },
  42819. "ismarketaccount": {
  42820. "description": "是否机构接单账号 0:不是 1:是",
  42821. "type": "integer"
  42822. },
  42823. "isreckonaccount": {
  42824. "description": "是否机构分润账号 0:不是 1:是",
  42825. "type": "integer"
  42826. },
  42827. "mortgagecredit": {
  42828. "description": "授信金额",
  42829. "type": "number"
  42830. },
  42831. "netvalue": {
  42832. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  42833. "type": "number"
  42834. },
  42835. "oridebt": {
  42836. "description": "期初欠款",
  42837. "type": "number"
  42838. },
  42839. "orifreezecharge": {
  42840. "description": "期初手续费冻结",
  42841. "type": "number"
  42842. },
  42843. "orifreezemargin": {
  42844. "description": "期初冻结保证金",
  42845. "type": "number"
  42846. },
  42847. "orimortgagecredit": {
  42848. "description": "期初授信金额",
  42849. "type": "number"
  42850. },
  42851. "oriothercredit": {
  42852. "description": "期初其它授信金额",
  42853. "type": "number"
  42854. },
  42855. "oriotherfreezemargin": {
  42856. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  42857. "type": "number"
  42858. },
  42859. "orioutamountfreeze": {
  42860. "description": "期初出金冻结",
  42861. "type": "number"
  42862. },
  42863. "oriusedmargin": {
  42864. "description": "期初占用保证金",
  42865. "type": "number"
  42866. },
  42867. "othercredit": {
  42868. "description": "其它授信金额",
  42869. "type": "number"
  42870. },
  42871. "othercreditdecrease": {
  42872. "description": "今日其它授信减少",
  42873. "type": "number"
  42874. },
  42875. "othercreditincrease": {
  42876. "description": "今日其它授信增加",
  42877. "type": "number"
  42878. },
  42879. "otherfreezemargin": {
  42880. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  42881. "type": "number"
  42882. },
  42883. "otherincome": {
  42884. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  42885. "type": "number"
  42886. },
  42887. "otherpay": {
  42888. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  42889. "type": "number"
  42890. },
  42891. "outamount": {
  42892. "description": "今日出金金额",
  42893. "type": "number"
  42894. },
  42895. "outamountfreeze": {
  42896. "description": "出金冻结",
  42897. "type": "number"
  42898. },
  42899. "outthreshold": {
  42900. "description": "出金阈值",
  42901. "type": "number"
  42902. },
  42903. "ownershipvalue": {
  42904. "description": "所有权市值",
  42905. "type": "number"
  42906. },
  42907. "parentaccountid": {
  42908. "description": "所属根账户",
  42909. "type": "integer"
  42910. },
  42911. "password": {
  42912. "description": "资金密码",
  42913. "type": "string"
  42914. },
  42915. "paycharge": {
  42916. "description": "今日手续费支出",
  42917. "type": "number"
  42918. },
  42919. "paycharge2": {
  42920. "description": "今日手续费支出(外部配置)",
  42921. "type": "number"
  42922. },
  42923. "payexchcharge": {
  42924. "description": "今日应付交易所手续费",
  42925. "type": "number"
  42926. },
  42927. "reckondate": {
  42928. "description": "日照日期(yyyyMMdd)",
  42929. "type": "string"
  42930. },
  42931. "reckonpl": {
  42932. "description": "今日结算盈亏",
  42933. "type": "number"
  42934. },
  42935. "reckonpl2": {
  42936. "description": "结算盈亏(逐笔) - 汇总取期末",
  42937. "type": "number"
  42938. },
  42939. "relatedaccountstatus": {
  42940. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  42941. "type": "integer"
  42942. },
  42943. "relateuserid": {
  42944. "description": "关联用户",
  42945. "type": "integer"
  42946. },
  42947. "riskrate": {
  42948. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  42949. "type": "number"
  42950. },
  42951. "signstatus": {
  42952. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  42953. "type": "integer"
  42954. },
  42955. "spotvalue": {
  42956. "description": "现货市值-统计服务更新",
  42957. "type": "number"
  42958. },
  42959. "sublevelpath": {
  42960. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  42961. "type": "string"
  42962. },
  42963. "taaccounttype": {
  42964. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  42965. "type": "integer"
  42966. },
  42967. "thirdinamount": {
  42968. "description": "今日三方入金",
  42969. "type": "number"
  42970. },
  42971. "thirdoutamount": {
  42972. "description": "今日三方出金",
  42973. "type": "number"
  42974. },
  42975. "tradeamount": {
  42976. "description": "今日成交金额",
  42977. "type": "number"
  42978. },
  42979. "tradecharge": {
  42980. "description": "今日交易手续费支出 [101,102]",
  42981. "type": "number"
  42982. },
  42983. "tradeqty": {
  42984. "description": "今日成交量",
  42985. "type": "integer"
  42986. },
  42987. "tradestatus": {
  42988. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  42989. "type": "integer"
  42990. },
  42991. "transferamount": {
  42992. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  42993. "type": "number"
  42994. },
  42995. "usedmargin": {
  42996. "description": "占用保证金",
  42997. "type": "number"
  42998. },
  42999. "userid": {
  43000. "description": "用户ID",
  43001. "type": "integer"
  43002. }
  43003. }
  43004. },
  43005. "models.Reckongzmemtradesum": {
  43006. "type": "object",
  43007. "required": [
  43008. "userid"
  43009. ],
  43010. "properties": {
  43011. "buylistingamount": {
  43012. "description": "买挂牌金额 - 无数据,预留",
  43013. "type": "number"
  43014. },
  43015. "buylistinglot": {
  43016. "description": "买挂牌宗数",
  43017. "type": "integer"
  43018. },
  43019. "buylistingqty": {
  43020. "description": "买挂牌数量 - 无数据,预留",
  43021. "type": "number"
  43022. },
  43023. "buytradeamount": {
  43024. "description": "购买金额",
  43025. "type": "number"
  43026. },
  43027. "buytradelot": {
  43028. "description": "购买宗数",
  43029. "type": "integer"
  43030. },
  43031. "buytradeqty": {
  43032. "description": "购买数量",
  43033. "type": "number"
  43034. },
  43035. "marketid": {
  43036. "description": "市场ID",
  43037. "type": "integer"
  43038. },
  43039. "reckondate": {
  43040. "description": "日照日期(yyyyMMdd)",
  43041. "type": "string"
  43042. },
  43043. "selllistingamount": {
  43044. "description": "卖挂牌金额",
  43045. "type": "number"
  43046. },
  43047. "selllistinglot": {
  43048. "description": "卖挂牌宗数",
  43049. "type": "integer"
  43050. },
  43051. "selllistingqty": {
  43052. "description": "卖挂牌数量",
  43053. "type": "number"
  43054. },
  43055. "selltradeamount": {
  43056. "description": "销售金额",
  43057. "type": "number"
  43058. },
  43059. "selltradelot": {
  43060. "description": "销售宗数",
  43061. "type": "integer"
  43062. },
  43063. "selltradeqty": {
  43064. "description": "销售数量",
  43065. "type": "number"
  43066. },
  43067. "updatetime": {
  43068. "description": "更新时间",
  43069. "type": "string"
  43070. },
  43071. "userid": {
  43072. "description": "用户ID",
  43073. "type": "integer"
  43074. },
  43075. "zscategory": {
  43076. "description": "钻石分类 - 枚举”ZSCategory“",
  43077. "type": "integer"
  43078. },
  43079. "zscategorydisplay": {
  43080. "type": "string"
  43081. },
  43082. "zscurrencytype": {
  43083. "description": "货币类型 - 枚举“ZSCurrencyType”",
  43084. "type": "integer"
  43085. },
  43086. "zscurrencytypedisplay": {
  43087. "type": "string"
  43088. },
  43089. "zscurrencytypedisplayunit": {
  43090. "type": "string"
  43091. }
  43092. }
  43093. },
  43094. "models.RegisterMoney": {
  43095. "type": "object",
  43096. "properties": {
  43097. "amount": {
  43098. "description": "红包",
  43099. "type": "number"
  43100. }
  43101. }
  43102. },
  43103. "models.RelatedTaAccount": {
  43104. "type": "object",
  43105. "properties": {
  43106. "accountid": {
  43107. "description": "资金账户ID",
  43108. "type": "integer"
  43109. }
  43110. }
  43111. },
  43112. "models.RoleMenu": {
  43113. "type": "object",
  43114. "properties": {
  43115. "hasright": {
  43116. "description": "是否有权限 0-没有权限 1-有权限",
  43117. "type": "integer"
  43118. },
  43119. "iconame": {
  43120. "description": "菜单图标",
  43121. "type": "string"
  43122. },
  43123. "menutype": {
  43124. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  43125. "type": "integer"
  43126. },
  43127. "parentcode": {
  43128. "description": "上级资源代码",
  43129. "type": "string"
  43130. },
  43131. "remark": {
  43132. "description": "菜单备注",
  43133. "type": "string"
  43134. },
  43135. "resourcecode": {
  43136. "description": "菜单代码",
  43137. "type": "string"
  43138. },
  43139. "resourcelevel": {
  43140. "description": "级别",
  43141. "type": "integer"
  43142. },
  43143. "resourcename": {
  43144. "description": "菜单名称",
  43145. "type": "string"
  43146. },
  43147. "roleid": {
  43148. "description": "角色id",
  43149. "type": "integer"
  43150. },
  43151. "sort": {
  43152. "description": "排序",
  43153. "type": "integer"
  43154. },
  43155. "subMenu": {
  43156. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  43157. "type": "array",
  43158. "items": {
  43159. "$ref": "#/definitions/models.RoleMenu"
  43160. }
  43161. },
  43162. "url": {
  43163. "description": "URL",
  43164. "type": "string"
  43165. },
  43166. "userid": {
  43167. "description": "用户id",
  43168. "type": "integer"
  43169. }
  43170. }
  43171. },
  43172. "models.SearchGoods": {
  43173. "type": "object",
  43174. "required": [
  43175. "goodscode",
  43176. "goodsid",
  43177. "goodsname",
  43178. "marketid",
  43179. "trademode"
  43180. ],
  43181. "properties": {
  43182. "goodscode": {
  43183. "description": "商品代码(内部)",
  43184. "type": "string"
  43185. },
  43186. "goodsid": {
  43187. "description": "商品ID(自增ID SEQ_GOODS)",
  43188. "type": "integer"
  43189. },
  43190. "goodsname": {
  43191. "description": "商品名称",
  43192. "type": "string"
  43193. },
  43194. "marketid": {
  43195. "description": "所属市场ID",
  43196. "type": "integer"
  43197. },
  43198. "marketname": {
  43199. "description": "市场名称",
  43200. "type": "string"
  43201. },
  43202. "trademode": {
  43203. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  43204. "type": "integer"
  43205. }
  43206. }
  43207. },
  43208. "models.SellOrder": {
  43209. "type": "object",
  43210. "properties": {
  43211. "accountid": {
  43212. "description": "资金账号",
  43213. "type": "integer"
  43214. },
  43215. "applyid": {
  43216. "description": "申请单ID",
  43217. "type": "integer"
  43218. },
  43219. "attachment1": {
  43220. "description": "附件1",
  43221. "type": "string"
  43222. },
  43223. "attachment2": {
  43224. "description": "附件2",
  43225. "type": "string"
  43226. },
  43227. "buyorsell": {
  43228. "description": "买卖 - 0:买 1:卖",
  43229. "type": "integer"
  43230. },
  43231. "canbargain": {
  43232. "description": "是否可议价 - 0:不可 1:可",
  43233. "type": "integer"
  43234. },
  43235. "cancelqty": {
  43236. "description": "撤销数量",
  43237. "type": "integer"
  43238. },
  43239. "canceltime": {
  43240. "description": "撤销时间",
  43241. "type": "string"
  43242. },
  43243. "cerno": {
  43244. "type": "string"
  43245. },
  43246. "chargealgorithm": {
  43247. "description": "手续费收取方式 1:比率 2:固定",
  43248. "type": "integer"
  43249. },
  43250. "chargealgorithmvalue": {
  43251. "description": "手续费设置值(交易所部分)",
  43252. "type": "number"
  43253. },
  43254. "chargealgorithmvalue2": {
  43255. "description": "手续费设置值(会员部分)",
  43256. "type": "number"
  43257. },
  43258. "clientordertime": {
  43259. "description": "客户端委托时间",
  43260. "type": "string"
  43261. },
  43262. "cpcertno": {
  43263. "type": "string"
  43264. },
  43265. "exchangerate": {
  43266. "description": "汇率[67]",
  43267. "type": "number"
  43268. },
  43269. "firstratio": {
  43270. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  43271. "type": "number"
  43272. },
  43273. "fixedprice": {
  43274. "description": "[克拉单价]固定价格 - [挂牌]",
  43275. "type": "number"
  43276. },
  43277. "freezecharge": {
  43278. "description": "冻结手续费",
  43279. "type": "number"
  43280. },
  43281. "freezefirstamount": {
  43282. "description": "冻结首付金额 - [摘牌]",
  43283. "type": "number"
  43284. },
  43285. "freezemargin": {
  43286. "description": "冻结保证金",
  43287. "type": "number"
  43288. },
  43289. "goodsno": {
  43290. "description": "商品编号",
  43291. "type": "string"
  43292. },
  43293. "imagepath": {
  43294. "type": "string"
  43295. },
  43296. "isQueryDiamond": {
  43297. "description": "是否钻石查询",
  43298. "type": "boolean"
  43299. },
  43300. "isspecified": {
  43301. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  43302. "type": "integer"
  43303. },
  43304. "kppath": {
  43305. "type": "string"
  43306. },
  43307. "kpweight": {
  43308. "type": "string"
  43309. },
  43310. "marginalgorithm": {
  43311. "description": "保证金方式 - 1:比率 2:固定",
  43312. "type": "integer"
  43313. },
  43314. "marginvalue": {
  43315. "description": "保证金设置值",
  43316. "type": "number"
  43317. },
  43318. "marketid": {
  43319. "description": "市场ID",
  43320. "type": "integer"
  43321. },
  43322. "marketprice": {
  43323. "type": "string"
  43324. },
  43325. "orderamount": {
  43326. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  43327. "type": "number"
  43328. },
  43329. "ordertime": {
  43330. "description": "委托时间",
  43331. "type": "string"
  43332. },
  43333. "performancetemplateid": {
  43334. "description": "履约计划模板ID",
  43335. "type": "integer"
  43336. },
  43337. "price": {
  43338. "description": "价格",
  43339. "type": "number"
  43340. },
  43341. "pricefactor": {
  43342. "description": "价格系数(浮动价时填写) - [挂牌]",
  43343. "type": "number"
  43344. },
  43345. "pricemove": {
  43346. "description": "升贴水(浮动价时填写) - [挂牌]",
  43347. "type": "number"
  43348. },
  43349. "priceper": {
  43350. "type": "string"
  43351. },
  43352. "relatedwrtradeorderid": {
  43353. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  43354. "type": "integer"
  43355. },
  43356. "remainqty": {
  43357. "description": "剩余重量",
  43358. "type": "number"
  43359. },
  43360. "remark": {
  43361. "type": "string"
  43362. },
  43363. "retcode": {
  43364. "description": "错误代码",
  43365. "type": "integer"
  43366. },
  43367. "sellusername": {
  43368. "description": "卖方(查询字段-模糊查询)",
  43369. "type": "string"
  43370. },
  43371. "settingmaterial": {
  43372. "description": "镶嵌材料",
  43373. "type": "string"
  43374. },
  43375. "size1": {
  43376. "type": "string"
  43377. },
  43378. "size2": {
  43379. "type": "string"
  43380. },
  43381. "size3": {
  43382. "type": "string"
  43383. },
  43384. "sizedisplay": {
  43385. "description": "尺寸",
  43386. "type": "string"
  43387. },
  43388. "stonedesc": {
  43389. "description": "配石描述",
  43390. "type": "string"
  43391. },
  43392. "totalqty": {
  43393. "description": "总重量",
  43394. "type": "number"
  43395. },
  43396. "tradedate": {
  43397. "description": "交易日(yyyyMMdd)",
  43398. "type": "string"
  43399. },
  43400. "tradeprice": {
  43401. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  43402. "type": "number"
  43403. },
  43404. "unfreezecharge": {
  43405. "description": "解冻手续费",
  43406. "type": "number"
  43407. },
  43408. "unfreezefirstamount": {
  43409. "description": "解冻首付金额 - [摘牌]",
  43410. "type": "number"
  43411. },
  43412. "unfreezemargin": {
  43413. "description": "解冻保证金",
  43414. "type": "number"
  43415. },
  43416. "userid": {
  43417. "description": "用户ID",
  43418. "type": "integer"
  43419. },
  43420. "uuid": {
  43421. "description": "发起端唯一id",
  43422. "type": "string"
  43423. },
  43424. "validtime": {
  43425. "description": "有效期限",
  43426. "type": "string"
  43427. },
  43428. "validtype": {
  43429. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  43430. "type": "integer"
  43431. },
  43432. "warehousenamedisplay": {
  43433. "type": "string"
  43434. },
  43435. "wrbargainid": {
  43436. "description": "议价申请单ID",
  43437. "type": "integer"
  43438. },
  43439. "wrfactortypeid": {
  43440. "description": "仓单要素类型ID/商品ID(77)",
  43441. "type": "integer"
  43442. },
  43443. "wrpath": {
  43444. "type": "string"
  43445. },
  43446. "wrpricetype": {
  43447. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  43448. "type": "integer"
  43449. },
  43450. "wrstandardid": {
  43451. "description": "现货商品ID",
  43452. "type": "integer"
  43453. },
  43454. "wrtradeorderid": {
  43455. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43456. "type": "string"
  43457. },
  43458. "wrtradeorderstatus": {
  43459. "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:撤单解冻贷款失败",
  43460. "type": "integer"
  43461. },
  43462. "wrtradetype": {
  43463. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43464. "type": "integer"
  43465. },
  43466. "wrtransferuserid": {
  43467. "description": "仓单受让用户 - [摘牌]",
  43468. "type": "integer"
  43469. },
  43470. "zscategory": {
  43471. "description": "钻石分类 - 枚举”ZSCategory“",
  43472. "type": "integer"
  43473. },
  43474. "zscategorydisplay": {
  43475. "description": "钻石分类 - 描述",
  43476. "type": "string"
  43477. },
  43478. "zscerttypedisplay": {
  43479. "type": "string"
  43480. },
  43481. "zsclaritytype1display": {
  43482. "type": "string"
  43483. },
  43484. "zsclaritytype2display": {
  43485. "type": "string"
  43486. },
  43487. "zscolortype1display": {
  43488. "type": "string"
  43489. },
  43490. "zscolortype2display": {
  43491. "type": "string"
  43492. },
  43493. "zscrystaltype": {
  43494. "type": "string"
  43495. },
  43496. "zscrystaltypedisplay": {
  43497. "type": "string"
  43498. },
  43499. "zscurrencytype": {
  43500. "description": "货币类型 - 枚举“ZSCurrencyType”",
  43501. "type": "integer"
  43502. },
  43503. "zscurrencytypedisplay": {
  43504. "type": "string"
  43505. },
  43506. "zscurrencytypedisplayunit": {
  43507. "type": "string"
  43508. },
  43509. "zscuttype1display": {
  43510. "type": "string"
  43511. },
  43512. "zscuttype2display": {
  43513. "type": "string"
  43514. },
  43515. "zsczcolor1typedisplay": {
  43516. "type": "string"
  43517. },
  43518. "zsczcolor2typedisplay": {
  43519. "type": "string"
  43520. },
  43521. "zsczcolor3typedisplay": {
  43522. "type": "string"
  43523. },
  43524. "zsfluorescencetype1display": {
  43525. "type": "string"
  43526. },
  43527. "zsfluorescencetype2display": {
  43528. "type": "string"
  43529. },
  43530. "zspolishtype1display": {
  43531. "type": "string"
  43532. },
  43533. "zspolishtype2display": {
  43534. "type": "string"
  43535. },
  43536. "zsshapetypedisplay": {
  43537. "type": "string"
  43538. },
  43539. "zsstyletypedisplay": {
  43540. "type": "string"
  43541. },
  43542. "zssymmetrytype1display": {
  43543. "type": "string"
  43544. },
  43545. "zssymmetrytype2display": {
  43546. "type": "string"
  43547. }
  43548. }
  43549. },
  43550. "models.SellOrderQueryReq": {
  43551. "type": "object",
  43552. "required": [
  43553. "zscategory"
  43554. ],
  43555. "properties": {
  43556. "origin": {
  43557. "description": "原产地",
  43558. "type": "string"
  43559. },
  43560. "page": {
  43561. "description": "页码",
  43562. "type": "integer"
  43563. },
  43564. "pagesize": {
  43565. "description": "每页大小",
  43566. "type": "integer"
  43567. },
  43568. "total": {
  43569. "description": "总条数",
  43570. "type": "integer"
  43571. },
  43572. "warehouseid": {
  43573. "description": "仓库ID",
  43574. "type": "integer"
  43575. },
  43576. "weight1": {
  43577. "description": "总重量(克拉重量)-从",
  43578. "type": "number"
  43579. },
  43580. "weight2": {
  43581. "description": "总重量(克拉重量)-至",
  43582. "type": "number"
  43583. },
  43584. "weightavg1": {
  43585. "description": "平均单颗重量-从",
  43586. "type": "number"
  43587. },
  43588. "weightavg2": {
  43589. "description": "平均单颗重量-至",
  43590. "type": "number"
  43591. },
  43592. "zscategory": {
  43593. "description": "钻石分类 - 枚举”ZSCategory“",
  43594. "type": "integer"
  43595. },
  43596. "zscerttype": {
  43597. "description": "证书类型",
  43598. "type": "array",
  43599. "items": {
  43600. "type": "string"
  43601. }
  43602. },
  43603. "zsclaritytype": {
  43604. "description": "净度",
  43605. "type": "array",
  43606. "items": {
  43607. "type": "integer"
  43608. }
  43609. },
  43610. "zscolortype": {
  43611. "description": "颜色",
  43612. "type": "array",
  43613. "items": {
  43614. "type": "integer"
  43615. }
  43616. },
  43617. "zscurrencytype": {
  43618. "description": "货币类型 - 枚举“ZSCurrencyType”",
  43619. "type": "array",
  43620. "items": {
  43621. "type": "string"
  43622. }
  43623. },
  43624. "zscuttype": {
  43625. "description": "切工",
  43626. "type": "array",
  43627. "items": {
  43628. "type": "integer"
  43629. }
  43630. },
  43631. "zsczcolor1type": {
  43632. "description": "彩钻颜色1",
  43633. "type": "array",
  43634. "items": {
  43635. "type": "string"
  43636. }
  43637. },
  43638. "zsfluorescencetype": {
  43639. "description": "荧光",
  43640. "type": "array",
  43641. "items": {
  43642. "type": "integer"
  43643. }
  43644. },
  43645. "zspolishtype": {
  43646. "description": "抛光度",
  43647. "type": "array",
  43648. "items": {
  43649. "type": "integer"
  43650. }
  43651. },
  43652. "zsshapetype": {
  43653. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  43654. "type": "array",
  43655. "items": {
  43656. "type": "string"
  43657. }
  43658. },
  43659. "zsstyletype": {
  43660. "description": "款式",
  43661. "type": "array",
  43662. "items": {
  43663. "type": "string"
  43664. }
  43665. },
  43666. "zssymmetrytype": {
  43667. "description": "对称度",
  43668. "type": "array",
  43669. "items": {
  43670. "type": "integer"
  43671. }
  43672. }
  43673. }
  43674. },
  43675. "models.Sitecolumnconfig": {
  43676. "type": "object",
  43677. "properties": {
  43678. "columnname": {
  43679. "description": "栏目名称",
  43680. "type": "string"
  43681. },
  43682. "columntype": {
  43683. "description": "栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色",
  43684. "type": "integer"
  43685. },
  43686. "creaedate": {
  43687. "description": "创建时间",
  43688. "type": "string"
  43689. },
  43690. "creatorid": {
  43691. "description": "创建人",
  43692. "type": "integer"
  43693. },
  43694. "id": {
  43695. "description": "ID(SEQ_SITE_COLUMNCONFIG)",
  43696. "type": "integer"
  43697. },
  43698. "isshow": {
  43699. "description": "是否展示 - 0:不展示 1:展示",
  43700. "type": "integer"
  43701. },
  43702. "modifierid": {
  43703. "description": "操作人",
  43704. "type": "integer"
  43705. },
  43706. "sort": {
  43707. "description": "排序",
  43708. "type": "integer"
  43709. },
  43710. "updatedate": {
  43711. "description": "修改时间",
  43712. "type": "string"
  43713. }
  43714. }
  43715. },
  43716. "models.Spotgoodsprice": {
  43717. "type": "object",
  43718. "properties": {
  43719. "prespotgoodsprice": {
  43720. "description": "上日价格",
  43721. "type": "number"
  43722. },
  43723. "spotgoodsprice": {
  43724. "description": "当前价格",
  43725. "type": "number"
  43726. },
  43727. "tradedate": {
  43728. "description": "交易日(yyyyMMdd)",
  43729. "type": "string"
  43730. },
  43731. "wrstandardcode": {
  43732. "description": "现货商品代码",
  43733. "type": "string"
  43734. },
  43735. "wrstandardid": {
  43736. "description": "现货商品ID(通用则为0)",
  43737. "type": "integer"
  43738. },
  43739. "wrstandardname": {
  43740. "description": "现货商品名称",
  43741. "type": "string"
  43742. }
  43743. }
  43744. },
  43745. "models.Systemparam": {
  43746. "type": "object",
  43747. "required": [
  43748. "paramcode"
  43749. ],
  43750. "properties": {
  43751. "loginid": {
  43752. "description": "更新用户账号,登录账号",
  43753. "type": "string"
  43754. },
  43755. "modifyflag": {
  43756. "description": "修改标志0 不允许修改 1 允许修改",
  43757. "type": "integer"
  43758. },
  43759. "paramcode": {
  43760. "description": "参数代码",
  43761. "type": "string"
  43762. },
  43763. "paramname": {
  43764. "description": "参数名",
  43765. "type": "string"
  43766. },
  43767. "paramtype": {
  43768. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  43769. "type": "integer"
  43770. },
  43771. "paramvalue": {
  43772. "description": "参数值",
  43773. "type": "string"
  43774. },
  43775. "paramvalue2": {
  43776. "description": "参数值(CLOB)",
  43777. "type": "string"
  43778. },
  43779. "regexpress": {
  43780. "description": "正则表达式",
  43781. "type": "string"
  43782. },
  43783. "remark": {
  43784. "description": "备注",
  43785. "type": "string"
  43786. },
  43787. "serverip": {
  43788. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  43789. "type": "string"
  43790. },
  43791. "showflag": {
  43792. "description": "是否显示0 不显示 1 显示",
  43793. "type": "integer"
  43794. },
  43795. "updatetime": {
  43796. "description": "更新时间",
  43797. "type": "string"
  43798. },
  43799. "userid": {
  43800. "description": "更新用户ID",
  43801. "type": "integer"
  43802. }
  43803. }
  43804. },
  43805. "models.Szdz3convertconfig": {
  43806. "type": "object",
  43807. "required": [
  43808. "converttype",
  43809. "innergoodsid",
  43810. "outergoodscode"
  43811. ],
  43812. "properties": {
  43813. "canin": {
  43814. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  43815. "type": "integer"
  43816. },
  43817. "canout": {
  43818. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  43819. "type": "integer"
  43820. },
  43821. "converttype": {
  43822. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  43823. "type": "integer"
  43824. },
  43825. "createtime": {
  43826. "description": "创建时间",
  43827. "type": "string"
  43828. },
  43829. "creatorid": {
  43830. "description": "创建人",
  43831. "type": "integer"
  43832. },
  43833. "daymaxvalue": {
  43834. "description": "当日最大转入限制",
  43835. "type": "number"
  43836. },
  43837. "freezedays": {
  43838. "description": "冻结天数 [5:花生米转交易]",
  43839. "type": "integer"
  43840. },
  43841. "innergoodsid": {
  43842. "description": "内部商品ID[交易]",
  43843. "type": "integer"
  43844. },
  43845. "inratio": {
  43846. "description": "目标值",
  43847. "type": "integer"
  43848. },
  43849. "modifierid": {
  43850. "description": "修改人",
  43851. "type": "integer"
  43852. },
  43853. "modifytime": {
  43854. "description": "修改时间",
  43855. "type": "string"
  43856. },
  43857. "outergoodscode": {
  43858. "description": "外部商品代码[JD\\PD]",
  43859. "type": "string"
  43860. },
  43861. "outratio": {
  43862. "description": "源值",
  43863. "type": "integer"
  43864. },
  43865. "pddecimalplace": {
  43866. "description": "PD小数位",
  43867. "type": "integer"
  43868. },
  43869. "timemaxvalue": {
  43870. "description": "单次最大转入限制",
  43871. "type": "number"
  43872. },
  43873. "timeminvalue": {
  43874. "description": "单次最小转入限制",
  43875. "type": "number"
  43876. }
  43877. }
  43878. },
  43879. "models.Szdz3searchwhitelist": {
  43880. "type": "object",
  43881. "required": [
  43882. "userid"
  43883. ],
  43884. "properties": {
  43885. "createtime": {
  43886. "description": "创建时间",
  43887. "type": "string"
  43888. },
  43889. "creatorid": {
  43890. "description": "创建人",
  43891. "type": "integer"
  43892. },
  43893. "modifierid": {
  43894. "description": "修改人",
  43895. "type": "integer"
  43896. },
  43897. "modifytime": {
  43898. "description": "修改时间",
  43899. "type": "string"
  43900. },
  43901. "userid": {
  43902. "description": "用户ID",
  43903. "type": "integer"
  43904. }
  43905. }
  43906. },
  43907. "models.TBGoods": {
  43908. "type": "object",
  43909. "properties": {
  43910. "agreeunit": {
  43911. "description": "合约乘数",
  43912. "type": "number"
  43913. },
  43914. "enumdicname": {
  43915. "description": "单位名称",
  43916. "type": "string"
  43917. },
  43918. "goodscode": {
  43919. "description": "商品代码(内部)",
  43920. "type": "string"
  43921. },
  43922. "goodsid": {
  43923. "description": "商品ID(自增ID SEQ_GOODS)",
  43924. "type": "integer"
  43925. },
  43926. "goodsname": {
  43927. "description": "商品名称",
  43928. "type": "string"
  43929. }
  43930. }
  43931. },
  43932. "models.TBGoodsGroup": {
  43933. "type": "object",
  43934. "properties": {
  43935. "GDLST": {
  43936. "description": "商品列表",
  43937. "type": "array",
  43938. "items": {
  43939. "$ref": "#/definitions/models.TBGoods"
  43940. }
  43941. },
  43942. "convertratio": {
  43943. "description": "折算系数",
  43944. "type": "number"
  43945. },
  43946. "enumdicname": {
  43947. "description": "单位名称",
  43948. "type": "string"
  43949. },
  43950. "exexchangecode": {
  43951. "description": "交易所代码",
  43952. "type": "string"
  43953. },
  43954. "exexchangename": {
  43955. "description": "交易所名称",
  43956. "type": "string"
  43957. },
  43958. "goodsgroupid": {
  43959. "description": "商品组ID(自增ID)",
  43960. "type": "integer"
  43961. },
  43962. "goodsgroupname": {
  43963. "description": "商品组名称",
  43964. "type": "string"
  43965. },
  43966. "goodunitid": {
  43967. "description": "报价单位ID",
  43968. "type": "integer"
  43969. }
  43970. }
  43971. },
  43972. "models.TBMiddleGoods": {
  43973. "type": "object",
  43974. "properties": {
  43975. "GPLST": {
  43976. "description": "期货品种列表",
  43977. "type": "array",
  43978. "items": {
  43979. "$ref": "#/definitions/models.TBGoodsGroup"
  43980. }
  43981. },
  43982. "WDLST": {
  43983. "description": "商品信息列表(现货品类)",
  43984. "type": "array",
  43985. "items": {
  43986. "$ref": "#/definitions/models.TBWrstandard"
  43987. }
  43988. },
  43989. "areauserid": {
  43990. "description": "机构用户ID",
  43991. "type": "integer"
  43992. },
  43993. "enumdicname": {
  43994. "description": "单位名称",
  43995. "type": "string"
  43996. },
  43997. "goodsunitid": {
  43998. "description": "套保品种单位id",
  43999. "type": "integer"
  44000. },
  44001. "middlegoodscode": {
  44002. "description": "套保品种代码",
  44003. "type": "string"
  44004. },
  44005. "middlegoodsid": {
  44006. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  44007. "type": "integer"
  44008. },
  44009. "middlegoodsname": {
  44010. "description": "套保品种名称",
  44011. "type": "string"
  44012. },
  44013. "needarbitrageratio": {
  44014. "description": "套利比率",
  44015. "type": "number"
  44016. },
  44017. "needhedgeratio": {
  44018. "description": "套保比率",
  44019. "type": "number"
  44020. }
  44021. }
  44022. },
  44023. "models.TBWrstandard": {
  44024. "type": "object",
  44025. "properties": {
  44026. "convertratio": {
  44027. "description": "折算系数",
  44028. "type": "number"
  44029. },
  44030. "deliverygoodsname": {
  44031. "description": "品种名称",
  44032. "type": "string"
  44033. },
  44034. "enumdicname": {
  44035. "description": "单位名称",
  44036. "type": "string"
  44037. },
  44038. "vatrate": {
  44039. "description": "增值税率",
  44040. "type": "number"
  44041. },
  44042. "wrstandardcode": {
  44043. "description": "现货商品代码",
  44044. "type": "string"
  44045. },
  44046. "wrstandardid": {
  44047. "description": "现货商品ID(SEQ_WRSTANDARD)",
  44048. "type": "integer"
  44049. },
  44050. "wrstandardname": {
  44051. "description": "现货商品名称",
  44052. "type": "string"
  44053. }
  44054. }
  44055. },
  44056. "models.THJDeliveryMode": {
  44057. "type": "object",
  44058. "properties": {
  44059. "enumdicname": {
  44060. "description": "枚举项名称",
  44061. "type": "string"
  44062. },
  44063. "enumitemname": {
  44064. "description": "枚举项值",
  44065. "type": "integer"
  44066. }
  44067. }
  44068. },
  44069. "models.THJDeliveryMonth": {
  44070. "type": "object",
  44071. "properties": {
  44072. "enddate": {
  44073. "description": "预售结束日期(yyyy-mm-dd)",
  44074. "type": "string"
  44075. },
  44076. "endmonth": {
  44077. "description": "预售结束月份(yyyy-mm)",
  44078. "type": "string"
  44079. },
  44080. "orderqty": {
  44081. "description": "委托数量",
  44082. "type": "integer"
  44083. },
  44084. "presaleapplyid": {
  44085. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  44086. "type": "string"
  44087. },
  44088. "remainqty": {
  44089. "description": "可用数量",
  44090. "type": "integer"
  44091. },
  44092. "tradeqty": {
  44093. "description": "成交数量",
  44094. "type": "integer"
  44095. },
  44096. "unitprice": {
  44097. "description": "[参考价]商品单价",
  44098. "type": "number"
  44099. }
  44100. }
  44101. },
  44102. "models.THJGoodsDetailRsp": {
  44103. "type": "object",
  44104. "properties": {
  44105. "goodsinfo": {
  44106. "description": "商品信息",
  44107. "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
  44108. },
  44109. "spotgoodspricelogs": {
  44110. "description": "历史价格走势",
  44111. "type": "array",
  44112. "items": {
  44113. "$ref": "#/definitions/models.THJSpotGoodsPriceLog"
  44114. }
  44115. }
  44116. }
  44117. },
  44118. "models.THJPresaleApplyDeposit": {
  44119. "type": "object",
  44120. "properties": {
  44121. "depositid": {
  44122. "description": "自增ID autoid",
  44123. "type": "string"
  44124. },
  44125. "depositrate": {
  44126. "description": "定金比例",
  44127. "type": "number"
  44128. },
  44129. "discountamount": {
  44130. "description": "优惠金额(每吨)",
  44131. "type": "number"
  44132. },
  44133. "presaleapplyid": {
  44134. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  44135. "type": "string"
  44136. }
  44137. }
  44138. },
  44139. "models.THJProduct": {
  44140. "type": "object",
  44141. "properties": {
  44142. "bannerpicurl": {
  44143. "description": "Banner图(逗号分隔)",
  44144. "type": "string"
  44145. },
  44146. "pictureurls": {
  44147. "description": "详情图片(逗号分隔)",
  44148. "type": "string"
  44149. },
  44150. "thumurls": {
  44151. "description": "缩略图片(1:1)(逗号分隔)",
  44152. "type": "string"
  44153. },
  44154. "wrstandardcode": {
  44155. "description": "现货商品代码",
  44156. "type": "string"
  44157. },
  44158. "wrstandardid": {
  44159. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  44160. "type": "string"
  44161. },
  44162. "wrstandardname": {
  44163. "description": "现货商品名称",
  44164. "type": "string"
  44165. }
  44166. }
  44167. },
  44168. "models.THJPurchaseTradeDetailRsp": {
  44169. "type": "object",
  44170. "properties": {
  44171. "deliverydate": {
  44172. "description": "交割日期",
  44173. "type": "array",
  44174. "items": {
  44175. "$ref": "#/definitions/models.THJPurchaseTradeDetail_Date"
  44176. }
  44177. },
  44178. "goodsinfo": {
  44179. "description": "商品信息",
  44180. "$ref": "#/definitions/models.THJPurchaseTradeDetail_Goodsinfo"
  44181. },
  44182. "history": {
  44183. "description": "历史价格走势(历史数据日线)",
  44184. "type": "array",
  44185. "items": {
  44186. "$ref": "#/definitions/models.HistoryData"
  44187. }
  44188. }
  44189. }
  44190. },
  44191. "models.THJPurchaseTradeDetail_Date": {
  44192. "type": "object",
  44193. "properties": {
  44194. "depositrate": {
  44195. "description": "定金比例",
  44196. "type": "number"
  44197. },
  44198. "enddate": {
  44199. "description": "预售结束日期",
  44200. "type": "string"
  44201. },
  44202. "tradeprice": {
  44203. "description": "摘牌价格",
  44204. "type": "number"
  44205. },
  44206. "tradeqty": {
  44207. "description": "摘牌数量",
  44208. "type": "integer"
  44209. },
  44210. "transferamount": {
  44211. "description": "转让金额",
  44212. "type": "number"
  44213. },
  44214. "transferid": {
  44215. "description": "协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)",
  44216. "type": "string"
  44217. },
  44218. "transferprice": {
  44219. "description": "转让价格",
  44220. "type": "number"
  44221. }
  44222. }
  44223. },
  44224. "models.THJPurchaseTradeDetail_Goodsinfo": {
  44225. "type": "object",
  44226. "properties": {
  44227. "pictureurls": {
  44228. "description": "详情图片(逗号分隔)",
  44229. "type": "string"
  44230. },
  44231. "refgoodscode": {
  44232. "description": "参考商品代码",
  44233. "type": "string"
  44234. },
  44235. "refgoodsid": {
  44236. "description": "参考商品ID",
  44237. "type": "integer"
  44238. },
  44239. "unitid": {
  44240. "description": "现货商品单位ID",
  44241. "type": "integer"
  44242. },
  44243. "wrstandardcode": {
  44244. "description": "现货商品代码",
  44245. "type": "string"
  44246. },
  44247. "wrstandardid": {
  44248. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  44249. "type": "integer"
  44250. },
  44251. "wrstandardname": {
  44252. "description": "现货商品名称(模糊查询)",
  44253. "type": "string"
  44254. }
  44255. }
  44256. },
  44257. "models.THJSigninReq": {
  44258. "type": "object",
  44259. "required": [
  44260. "userid"
  44261. ],
  44262. "properties": {
  44263. "userid": {
  44264. "description": "用户ID",
  44265. "type": "integer"
  44266. }
  44267. }
  44268. },
  44269. "models.THJSigninRsp": {
  44270. "type": "object",
  44271. "properties": {
  44272. "signinstatus": {
  44273. "description": "状态操作标志 1-签到成功 2-当日已签到,不能重复签到",
  44274. "type": "integer"
  44275. }
  44276. }
  44277. },
  44278. "models.THJSpotGoodsPriceLog": {
  44279. "type": "object",
  44280. "properties": {
  44281. "spotgoodsprice": {
  44282. "description": "现货价格",
  44283. "type": "number"
  44284. },
  44285. "tradedate": {
  44286. "description": "交易日(yyyyMMdd)",
  44287. "type": "string"
  44288. }
  44289. }
  44290. },
  44291. "models.THJTradeData": {
  44292. "type": "object",
  44293. "required": [
  44294. "marketid",
  44295. "userid"
  44296. ],
  44297. "properties": {
  44298. "accountname": {
  44299. "description": "被推荐人",
  44300. "type": "string"
  44301. },
  44302. "buytradelot": {
  44303. "description": "购买笔数",
  44304. "type": "integer"
  44305. },
  44306. "buytradeqty": {
  44307. "description": "购买数量",
  44308. "type": "number"
  44309. },
  44310. "marketid": {
  44311. "description": "市场ID 采购-64201 供求-65201",
  44312. "type": "integer"
  44313. },
  44314. "reckondate": {
  44315. "description": "日照日期(yyyyMMdd)日照日期(yyyyMMdd)",
  44316. "type": "string"
  44317. },
  44318. "selltradelot": {
  44319. "description": "销售笔数",
  44320. "type": "integer"
  44321. },
  44322. "selltradeqty": {
  44323. "description": "销售数量",
  44324. "type": "number"
  44325. },
  44326. "userid": {
  44327. "description": "用户ID",
  44328. "type": "integer"
  44329. },
  44330. "wrstandardname": {
  44331. "description": "现货商品名称",
  44332. "type": "string"
  44333. }
  44334. }
  44335. },
  44336. "models.THJUserLevelInfo": {
  44337. "type": "object",
  44338. "properties": {
  44339. "appup": {
  44340. "description": "晋升已累计的数量",
  44341. "type": "integer"
  44342. },
  44343. "checkday": {
  44344. "description": "最近一次考核日",
  44345. "type": "string"
  44346. },
  44347. "levelgroup": {
  44348. "description": "当前等级",
  44349. "type": "string"
  44350. },
  44351. "nextlevelgroup": {
  44352. "description": "下一等级",
  44353. "type": "string"
  44354. },
  44355. "notyet": {
  44356. "description": "晋升还差多少数量",
  44357. "type": "integer"
  44358. },
  44359. "progress": {
  44360. "description": "进度",
  44361. "type": "number"
  44362. }
  44363. }
  44364. },
  44365. "models.THJWrstandard": {
  44366. "type": "object",
  44367. "properties": {
  44368. "areauserid": {
  44369. "description": "所属机构",
  44370. "type": "integer"
  44371. },
  44372. "bannerpicurl": {
  44373. "description": "Banner图(逗号分隔)",
  44374. "type": "string"
  44375. },
  44376. "convertfactor": {
  44377. "description": "标仓系数",
  44378. "type": "number"
  44379. },
  44380. "deliverygoodsid": {
  44381. "description": "现货品种ID",
  44382. "type": "integer"
  44383. },
  44384. "isvalid": {
  44385. "description": "是否有效 - 0:无效 1:有效",
  44386. "type": "integer"
  44387. },
  44388. "minivalue": {
  44389. "description": "最小变动值",
  44390. "type": "integer"
  44391. },
  44392. "minivaluedp": {
  44393. "description": "最小变动值小数位",
  44394. "type": "integer"
  44395. },
  44396. "pictureurls": {
  44397. "description": "详情图片(逗号分隔)",
  44398. "type": "string"
  44399. },
  44400. "realminivalue": {
  44401. "description": "实际最小变动值",
  44402. "type": "integer"
  44403. },
  44404. "realminivaluedp": {
  44405. "description": "实际最小变动值小数位",
  44406. "type": "integer"
  44407. },
  44408. "storagefee": {
  44409. "description": "仓储费(固定: 111)",
  44410. "type": "number"
  44411. },
  44412. "thumurls": {
  44413. "description": "缩略图片(1:1)(逗号分隔)",
  44414. "type": "string"
  44415. },
  44416. "unitid": {
  44417. "description": "现货商品单位ID",
  44418. "type": "integer"
  44419. },
  44420. "vatrate": {
  44421. "description": "现货增值税率",
  44422. "type": "number"
  44423. },
  44424. "wrsstatus": {
  44425. "description": "状态 - 作废 - 0:未激活 1:正常",
  44426. "type": "integer"
  44427. },
  44428. "wrstandardcode": {
  44429. "description": "现货商品代码",
  44430. "type": "string"
  44431. },
  44432. "wrstandardid": {
  44433. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  44434. "type": "integer"
  44435. },
  44436. "wrstandardname": {
  44437. "description": "现货商品名称(模糊查询)",
  44438. "type": "string"
  44439. }
  44440. }
  44441. },
  44442. "models.THJWrstandardDetailRsp": {
  44443. "type": "object",
  44444. "properties": {
  44445. "deliverymodes": {
  44446. "description": "交割方式",
  44447. "type": "array",
  44448. "items": {
  44449. "$ref": "#/definitions/models.THJDeliveryMode"
  44450. }
  44451. },
  44452. "deliverymonth": {
  44453. "description": "交割月份",
  44454. "type": "array",
  44455. "items": {
  44456. "$ref": "#/definitions/models.THJDeliveryMonth"
  44457. }
  44458. },
  44459. "goodsinfo": {
  44460. "description": "商品信息",
  44461. "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
  44462. },
  44463. "presaleapplydeposits": {
  44464. "description": "支付方式",
  44465. "type": "array",
  44466. "items": {
  44467. "$ref": "#/definitions/models.THJPresaleApplyDeposit"
  44468. }
  44469. },
  44470. "spotgoodspricelogs": {
  44471. "description": "历史价格走势",
  44472. "type": "array",
  44473. "items": {
  44474. "$ref": "#/definitions/models.THJSpotGoodsPriceLog"
  44475. }
  44476. }
  44477. }
  44478. },
  44479. "models.THJWrstandardDetail_GoodsInfo": {
  44480. "type": "object",
  44481. "properties": {
  44482. "bannerpicurl": {
  44483. "description": "Banner图(逗号分隔)",
  44484. "type": "string"
  44485. },
  44486. "pictureurls": {
  44487. "description": "详情图片(逗号分隔)",
  44488. "type": "string"
  44489. },
  44490. "spotgoodsprice": {
  44491. "description": "现货价格",
  44492. "type": "number"
  44493. },
  44494. "unitid": {
  44495. "description": "现货商品单位ID",
  44496. "type": "integer"
  44497. },
  44498. "wrstandardcode": {
  44499. "description": "现货商品代码",
  44500. "type": "string"
  44501. },
  44502. "wrstandardid": {
  44503. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  44504. "type": "integer"
  44505. },
  44506. "wrstandardname": {
  44507. "description": "现货商品名称",
  44508. "type": "string"
  44509. }
  44510. }
  44511. },
  44512. "models.Taaccount": {
  44513. "type": "object",
  44514. "required": [
  44515. "accountid",
  44516. "userid"
  44517. ],
  44518. "properties": {
  44519. "accountflag": {
  44520. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  44521. "type": "integer"
  44522. },
  44523. "accountid": {
  44524. "description": "资金账户ID",
  44525. "type": "integer"
  44526. },
  44527. "accountname": {
  44528. "description": "账户名称",
  44529. "type": "string"
  44530. },
  44531. "balance": {
  44532. "description": "期初余额",
  44533. "type": "number"
  44534. },
  44535. "capitalbalance": {
  44536. "description": "本金余额[外部子账户实际出入金余额]",
  44537. "type": "number"
  44538. },
  44539. "changeflag": {
  44540. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  44541. "type": "integer"
  44542. },
  44543. "changetime": {
  44544. "description": "账户状态变更时间",
  44545. "type": "string"
  44546. },
  44547. "closepl": {
  44548. "description": "今日平仓盈亏",
  44549. "type": "number"
  44550. },
  44551. "creditdecrease": {
  44552. "description": "今日授信减少",
  44553. "type": "number"
  44554. },
  44555. "creditincrease": {
  44556. "description": "今日授信增加",
  44557. "type": "number"
  44558. },
  44559. "curamount": {
  44560. "description": "总市值(从持仓中统计)",
  44561. "type": "number"
  44562. },
  44563. "currencyid": {
  44564. "description": "货币ID",
  44565. "type": "integer"
  44566. },
  44567. "currentbalance": {
  44568. "description": "期末余额",
  44569. "type": "number"
  44570. },
  44571. "freezecharge": {
  44572. "description": "手续费冻结",
  44573. "type": "number"
  44574. },
  44575. "freezemargin": {
  44576. "description": "冻结保证金",
  44577. "type": "number"
  44578. },
  44579. "fromaccountid": {
  44580. "description": "所属上级账户",
  44581. "type": "integer"
  44582. },
  44583. "inamount": {
  44584. "description": "今日入金金额(包括三方入金)",
  44585. "type": "number"
  44586. },
  44587. "ismain": {
  44588. "description": "是否母账号 0:不是母账户 1:是母账户",
  44589. "type": "integer"
  44590. },
  44591. "ismarketaccount": {
  44592. "description": "是否机构接单账号 0:不是 1:是",
  44593. "type": "integer"
  44594. },
  44595. "isreckonaccount": {
  44596. "description": "是否机构分润账号 0:不是 1:是",
  44597. "type": "integer"
  44598. },
  44599. "mortgagecredit": {
  44600. "description": "授信金额",
  44601. "type": "number"
  44602. },
  44603. "orifreezecharge": {
  44604. "description": "期初手续费冻结",
  44605. "type": "number"
  44606. },
  44607. "orifreezemargin": {
  44608. "description": "期初冻结保证金",
  44609. "type": "number"
  44610. },
  44611. "orimortgagecredit": {
  44612. "description": "期初授信金额",
  44613. "type": "number"
  44614. },
  44615. "oriothercredit": {
  44616. "description": "期初其它授信金额",
  44617. "type": "number"
  44618. },
  44619. "oriotherfreezemargin": {
  44620. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  44621. "type": "number"
  44622. },
  44623. "orioutamountfreeze": {
  44624. "description": "期初出金冻结",
  44625. "type": "number"
  44626. },
  44627. "oriusedmargin": {
  44628. "description": "期初占用保证金",
  44629. "type": "number"
  44630. },
  44631. "othercredit": {
  44632. "description": "其它授信金额",
  44633. "type": "number"
  44634. },
  44635. "othercreditdecrease": {
  44636. "description": "今日其它授信减少",
  44637. "type": "number"
  44638. },
  44639. "othercreditincrease": {
  44640. "description": "今日其它授信增加",
  44641. "type": "number"
  44642. },
  44643. "otherfreezemargin": {
  44644. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  44645. "type": "number"
  44646. },
  44647. "otherincome": {
  44648. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  44649. "type": "number"
  44650. },
  44651. "otherpay": {
  44652. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  44653. "type": "number"
  44654. },
  44655. "outamount": {
  44656. "description": "今日出金金额(包括三方出金)",
  44657. "type": "number"
  44658. },
  44659. "outamountfreeze": {
  44660. "description": "出金冻结",
  44661. "type": "number"
  44662. },
  44663. "outthreshold": {
  44664. "description": "出金阈值",
  44665. "type": "number"
  44666. },
  44667. "parentaccountid": {
  44668. "description": "所属根账号",
  44669. "type": "integer"
  44670. },
  44671. "paycharge": {
  44672. "description": "今日手续费支出",
  44673. "type": "number"
  44674. },
  44675. "relatedaccountstatus": {
  44676. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  44677. "type": "integer"
  44678. },
  44679. "relateduserid": {
  44680. "description": "关联用户",
  44681. "type": "integer"
  44682. },
  44683. "remainamount": {
  44684. "description": "融资额(从融资合同中统计)",
  44685. "type": "number"
  44686. },
  44687. "serivcegroup": {
  44688. "description": "服务分组",
  44689. "type": "integer"
  44690. },
  44691. "signstatus": {
  44692. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  44693. "type": "integer"
  44694. },
  44695. "sublevelpath": {
  44696. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  44697. "type": "string"
  44698. },
  44699. "taaccounttype": {
  44700. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  44701. "type": "integer"
  44702. },
  44703. "thirdinamount": {
  44704. "description": "今日三方入金",
  44705. "type": "number"
  44706. },
  44707. "thirdoutamount": {
  44708. "description": "今日三方出金",
  44709. "type": "number"
  44710. },
  44711. "tradestatus": {
  44712. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  44713. "type": "integer"
  44714. },
  44715. "tradestatuschangetime": {
  44716. "description": "激活时间",
  44717. "type": "string"
  44718. },
  44719. "transferamount": {
  44720. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  44721. "type": "number"
  44722. },
  44723. "usedmargin": {
  44724. "description": "占用保证金",
  44725. "type": "number"
  44726. },
  44727. "userid": {
  44728. "description": "用户ID",
  44729. "type": "integer"
  44730. }
  44731. }
  44732. },
  44733. "models.Tablecolumnconfig": {
  44734. "type": "object",
  44735. "required": [
  44736. "autoid"
  44737. ],
  44738. "properties": {
  44739. "aligntype": {
  44740. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  44741. "type": "integer"
  44742. },
  44743. "autoid": {
  44744. "description": "AutoID",
  44745. "type": "integer"
  44746. },
  44747. "columnfield": {
  44748. "description": "列字段",
  44749. "type": "string"
  44750. },
  44751. "columntitle": {
  44752. "description": "列Title",
  44753. "type": "string"
  44754. },
  44755. "columnwidth": {
  44756. "description": "列宽",
  44757. "type": "string"
  44758. },
  44759. "fixed": {
  44760. "description": "固定类型 - 空 | left | right",
  44761. "type": "string"
  44762. },
  44763. "formatterstring": {
  44764. "description": "格式化字符",
  44765. "type": "string"
  44766. },
  44767. "formattertype": {
  44768. "description": "格式化类型",
  44769. "type": "string"
  44770. },
  44771. "groupname": {
  44772. "description": "表头分组名称",
  44773. "type": "string"
  44774. },
  44775. "ismerge": {
  44776. "description": "是否合并显示 - 0:不合并 1:合并",
  44777. "type": "integer"
  44778. },
  44779. "isshow": {
  44780. "description": "是否显示 - 0:不显示 1:显示",
  44781. "type": "integer"
  44782. },
  44783. "needsummary": {
  44784. "description": "是否需要汇总 - 0:不需要 1:需要",
  44785. "type": "integer"
  44786. },
  44787. "orderindex": {
  44788. "description": "顺序",
  44789. "type": "integer"
  44790. },
  44791. "remark": {
  44792. "description": "备注",
  44793. "type": "string"
  44794. },
  44795. "summarytype": {
  44796. "description": "汇总类型 - 1:加总 2:最后一个",
  44797. "type": "integer"
  44798. },
  44799. "tablekey": {
  44800. "description": "列表Key",
  44801. "type": "string"
  44802. }
  44803. }
  44804. },
  44805. "models.Thjpurchasetradedetail": {
  44806. "type": "object",
  44807. "required": [
  44808. "buyuserid"
  44809. ],
  44810. "properties": {
  44811. "buyaccountid": {
  44812. "description": "买方账号ID",
  44813. "type": "integer"
  44814. },
  44815. "buychargevalue": {
  44816. "description": "买方到期手续费",
  44817. "type": "number"
  44818. },
  44819. "buyconfirmremark": {
  44820. "description": "买方确认备注",
  44821. "type": "string"
  44822. },
  44823. "buyconfirmtime": {
  44824. "description": "买方确认时间",
  44825. "type": "string"
  44826. },
  44827. "buyfreezecharge": {
  44828. "description": "买方摘牌冻结手续费",
  44829. "type": "number"
  44830. },
  44831. "buyuserid": {
  44832. "description": "买方用户ID",
  44833. "type": "integer"
  44834. },
  44835. "contactinfo": {
  44836. "description": "联系方式",
  44837. "type": "string"
  44838. },
  44839. "contactname": {
  44840. "description": "联系人姓名",
  44841. "type": "string"
  44842. },
  44843. "contractaddrbuy": {
  44844. "description": "贸易合同地址(买家)",
  44845. "type": "string"
  44846. },
  44847. "contractaddrsell": {
  44848. "description": "贸易合同地址(卖家)",
  44849. "type": "string"
  44850. },
  44851. "createtime": {
  44852. "description": "预售挂牌时间",
  44853. "type": "string"
  44854. },
  44855. "deliverygoodsid": {
  44856. "description": "现货品种ID",
  44857. "type": "integer"
  44858. },
  44859. "depositrate": {
  44860. "description": "定金比例",
  44861. "type": "number"
  44862. },
  44863. "desaddress": {
  44864. "description": "目的地地址",
  44865. "type": "string"
  44866. },
  44867. "discountamount": {
  44868. "description": "优惠总金额(优惠金额*TradeQty)",
  44869. "type": "number"
  44870. },
  44871. "enddate": {
  44872. "description": "到期日期",
  44873. "type": "string"
  44874. },
  44875. "enddatemonth": {
  44876. "description": "交收月份(提货日期)",
  44877. "type": "string"
  44878. },
  44879. "handlestatus": {
  44880. "description": "处理状态",
  44881. "type": "integer"
  44882. },
  44883. "lastamount": {
  44884. "description": "到期总货款 = 到期价格 * 摘牌数量",
  44885. "type": "number"
  44886. },
  44887. "lastprice": {
  44888. "description": "[实际价]到期价格",
  44889. "type": "number"
  44890. },
  44891. "lastpricedate": {
  44892. "description": "到期价格日期 - 暂不使用",
  44893. "type": "string"
  44894. },
  44895. "marketid": {
  44896. "description": "市场ID",
  44897. "type": "integer"
  44898. },
  44899. "orderstatus": {
  44900. "description": "单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认 (枚举:THJOrderStatus)",
  44901. "type": "integer"
  44902. },
  44903. "payeddeposit": {
  44904. "description": "[定金]买方已付定金(预付款)",
  44905. "type": "number"
  44906. },
  44907. "payedtradedate": {
  44908. "description": "支付尾款成功交易日",
  44909. "type": "string"
  44910. },
  44911. "presaleapplyid": {
  44912. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  44913. "type": "string"
  44914. },
  44915. "presalestatus": {
  44916. "description": "预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成",
  44917. "type": "integer"
  44918. },
  44919. "receiptinfo": {
  44920. "description": "发票信息",
  44921. "type": "string"
  44922. },
  44923. "remainamount": {
  44924. "description": "[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额",
  44925. "type": "number"
  44926. },
  44927. "sellaccountid": {
  44928. "description": "卖方账号ID",
  44929. "type": "integer"
  44930. },
  44931. "sellchargevalue": {
  44932. "description": "卖方到期手续费",
  44933. "type": "number"
  44934. },
  44935. "sellconfirmattach": {
  44936. "description": "卖方确认附件",
  44937. "type": "string"
  44938. },
  44939. "sellconfirmremark": {
  44940. "description": "卖方确认备注",
  44941. "type": "string"
  44942. },
  44943. "sellconfirmtime": {
  44944. "description": "卖方确认时间",
  44945. "type": "string"
  44946. },
  44947. "sellconfirmtradedate": {
  44948. "description": "卖方确认交易日",
  44949. "type": "string"
  44950. },
  44951. "selluserid": {
  44952. "description": "卖方用户ID",
  44953. "type": "integer"
  44954. },
  44955. "thjdeliverymode": {
  44956. "description": "交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)",
  44957. "type": "integer"
  44958. },
  44959. "thjdeliverymodedisplay": {
  44960. "description": "提货方式",
  44961. "type": "string"
  44962. },
  44963. "thjorderstatusdisplay": {
  44964. "description": "状态",
  44965. "type": "string"
  44966. },
  44967. "tradeamount": {
  44968. "description": "摘牌总货款",
  44969. "type": "number"
  44970. },
  44971. "tradedate": {
  44972. "description": "交易日(yyyyMMdd)",
  44973. "type": "string"
  44974. },
  44975. "tradeprice": {
  44976. "description": "摘牌价格 - 参考价",
  44977. "type": "number"
  44978. },
  44979. "tradeqty": {
  44980. "description": "[预售价]摘牌数量",
  44981. "type": "integer"
  44982. },
  44983. "tradetime": {
  44984. "description": "摘牌时间(委托时间)",
  44985. "type": "string"
  44986. },
  44987. "transferprice": {
  44988. "description": "转让价格 - 购买价",
  44989. "type": "number"
  44990. },
  44991. "unitid": {
  44992. "description": "商品单位",
  44993. "type": "integer"
  44994. },
  44995. "warehouseid": {
  44996. "description": "仓库ID",
  44997. "type": "integer"
  44998. },
  44999. "warehousename": {
  45000. "description": "仓库名称",
  45001. "type": "string"
  45002. },
  45003. "wrfactortypeid": {
  45004. "description": "仓单要素类型ID",
  45005. "type": "string"
  45006. },
  45007. "wrstandardid": {
  45008. "description": "现货商品ID",
  45009. "type": "integer"
  45010. },
  45011. "wrstandardname": {
  45012. "description": "现货商品名称",
  45013. "type": "string"
  45014. },
  45015. "wrtradedetailid": {
  45016. "description": "采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45017. "type": "string"
  45018. }
  45019. }
  45020. },
  45021. "models.Thjpurchasetransfer": {
  45022. "type": "object",
  45023. "required": [
  45024. "ordertype"
  45025. ],
  45026. "properties": {
  45027. "buyaccountid": {
  45028. "description": "买方账号ID",
  45029. "type": "integer"
  45030. },
  45031. "buyuserid": {
  45032. "description": "买方用户ID",
  45033. "type": "integer"
  45034. },
  45035. "contractaddr": {
  45036. "description": "协议转让合同地址",
  45037. "type": "string"
  45038. },
  45039. "createtime": {
  45040. "description": "转让挂牌时间",
  45041. "type": "string"
  45042. },
  45043. "deliverygoodsid": {
  45044. "description": "现货品种ID",
  45045. "type": "integer"
  45046. },
  45047. "enddate": {
  45048. "description": "到期日期",
  45049. "type": "string"
  45050. },
  45051. "enddatemonth": {
  45052. "description": "交收月份(提货日期)",
  45053. "type": "string"
  45054. },
  45055. "handlestatus": {
  45056. "description": "处理状态",
  45057. "type": "integer"
  45058. },
  45059. "marketid": {
  45060. "description": "市场ID(固定为(64202)",
  45061. "type": "integer"
  45062. },
  45063. "ordertype": {
  45064. "description": "类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)",
  45065. "type": "integer"
  45066. },
  45067. "payeddeposit": {
  45068. "description": "买方已付定金(预付款)",
  45069. "type": "number"
  45070. },
  45071. "presaleapplyid": {
  45072. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  45073. "type": "string"
  45074. },
  45075. "presalestatus": {
  45076. "description": "预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成",
  45077. "type": "integer"
  45078. },
  45079. "remark": {
  45080. "description": "备注",
  45081. "type": "string"
  45082. },
  45083. "sellaccountid": {
  45084. "description": "卖方账号ID",
  45085. "type": "integer"
  45086. },
  45087. "sellcharge": {
  45088. "description": "卖方手续费值",
  45089. "type": "number"
  45090. },
  45091. "sellchargealgorithm": {
  45092. "description": "卖方手续费收取方式 1:比率 2:固定",
  45093. "type": "integer"
  45094. },
  45095. "sellchargealgorithmvalue": {
  45096. "description": "手续费设置值(交易所部分)",
  45097. "type": "number"
  45098. },
  45099. "selluserid": {
  45100. "description": "卖方用户ID",
  45101. "type": "integer"
  45102. },
  45103. "tradedate": {
  45104. "description": "交易日(yyyyMMdd)",
  45105. "type": "string"
  45106. },
  45107. "tradeprice": {
  45108. "description": "参考价",
  45109. "type": "number"
  45110. },
  45111. "transferamount": {
  45112. "description": "转让金额",
  45113. "type": "number"
  45114. },
  45115. "transferid": {
  45116. "description": "协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)",
  45117. "type": "string"
  45118. },
  45119. "transferprice": {
  45120. "description": "转让价格",
  45121. "type": "number"
  45122. },
  45123. "transferqty": {
  45124. "description": "数量",
  45125. "type": "integer"
  45126. },
  45127. "transferstatus": {
  45128. "description": "转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让",
  45129. "type": "integer"
  45130. },
  45131. "transfertradedate": {
  45132. "description": "转让交易日",
  45133. "type": "string"
  45134. },
  45135. "transfertradetime": {
  45136. "description": "转让成交时间",
  45137. "type": "string"
  45138. },
  45139. "unitid": {
  45140. "description": "现货商品单位ID",
  45141. "type": "integer"
  45142. },
  45143. "warehouseid": {
  45144. "description": "仓库ID",
  45145. "type": "integer"
  45146. },
  45147. "wrfactortypeid": {
  45148. "description": "仓单要素类型ID",
  45149. "type": "string"
  45150. },
  45151. "wrstandardid": {
  45152. "description": "现货商品ID",
  45153. "type": "integer"
  45154. },
  45155. "wrstandardname": {
  45156. "description": "现货商品名称",
  45157. "type": "string"
  45158. },
  45159. "wrtradedetailid": {
  45160. "description": "采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45161. "type": "string"
  45162. }
  45163. }
  45164. },
  45165. "models.ThjpurchasetransferDetail": {
  45166. "type": "object",
  45167. "properties": {
  45168. "buyusername": {
  45169. "description": "受让人",
  45170. "type": "string"
  45171. },
  45172. "contactinfo": {
  45173. "description": "联系方式",
  45174. "type": "string"
  45175. },
  45176. "contactname": {
  45177. "description": "联系人姓名",
  45178. "type": "string"
  45179. },
  45180. "contractaddr": {
  45181. "description": "协议转让合同地址",
  45182. "type": "string"
  45183. },
  45184. "contractaddrbuy": {
  45185. "description": "贸易合同地址(买家)",
  45186. "type": "string"
  45187. },
  45188. "contractaddrsell": {
  45189. "description": "贸易合同地址(卖家)",
  45190. "type": "string"
  45191. },
  45192. "createtime": {
  45193. "description": "转让委托时间",
  45194. "type": "string"
  45195. },
  45196. "depositrate": {
  45197. "description": "定金比例",
  45198. "type": "number"
  45199. },
  45200. "desaddress": {
  45201. "description": "目的地地址",
  45202. "type": "string"
  45203. },
  45204. "enddate": {
  45205. "description": "到期日期",
  45206. "type": "string"
  45207. },
  45208. "enddatemonth": {
  45209. "description": "交收月份(提货日期)",
  45210. "type": "string"
  45211. },
  45212. "lastprice": {
  45213. "description": "[实际价]到期价格",
  45214. "type": "number"
  45215. },
  45216. "payeddeposit": {
  45217. "description": "买方已付定金(预付款(含定金))",
  45218. "type": "number"
  45219. },
  45220. "receiptinfo": {
  45221. "description": "发票信息",
  45222. "type": "string"
  45223. },
  45224. "sellusername": {
  45225. "description": "转让人",
  45226. "type": "string"
  45227. },
  45228. "thjdeliverymode": {
  45229. "description": "交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)",
  45230. "type": "integer"
  45231. },
  45232. "tradeprice": {
  45233. "description": "预售价格",
  45234. "type": "number"
  45235. },
  45236. "transferamount": {
  45237. "description": "转让金额",
  45238. "type": "number"
  45239. },
  45240. "transferid": {
  45241. "description": "转让单号",
  45242. "type": "string"
  45243. },
  45244. "transferprice": {
  45245. "description": "转让价格",
  45246. "type": "number"
  45247. },
  45248. "transferqty": {
  45249. "description": "转让数量",
  45250. "type": "integer"
  45251. },
  45252. "transferstatus": {
  45253. "description": "转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让",
  45254. "type": "integer"
  45255. },
  45256. "transfertradetime": {
  45257. "description": "转让成交时间",
  45258. "type": "string"
  45259. },
  45260. "warehousename": {
  45261. "description": "仓库名称",
  45262. "type": "string"
  45263. },
  45264. "wrstandardcode": {
  45265. "description": "现货商品代码",
  45266. "type": "string"
  45267. },
  45268. "wrstandardid": {
  45269. "description": "现货商品ID",
  45270. "type": "integer"
  45271. },
  45272. "wrstandardname": {
  45273. "description": "现货商品名称",
  45274. "type": "string"
  45275. },
  45276. "wrtradedetailid": {
  45277. "description": "采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45278. "type": "string"
  45279. }
  45280. }
  45281. },
  45282. "models.Thjscoreconfig": {
  45283. "type": "object",
  45284. "properties": {
  45285. "parma1": {
  45286. "description": "参数1",
  45287. "type": "integer"
  45288. },
  45289. "parma2": {
  45290. "description": "参数2",
  45291. "type": "integer"
  45292. },
  45293. "parma3": {
  45294. "description": "参数3",
  45295. "type": "integer"
  45296. },
  45297. "parma4": {
  45298. "description": "参数4",
  45299. "type": "integer"
  45300. },
  45301. "parma5": {
  45302. "description": "参数5",
  45303. "type": "integer"
  45304. },
  45305. "parma6": {
  45306. "description": "参数6",
  45307. "type": "integer"
  45308. },
  45309. "parma7": {
  45310. "description": "参数6",
  45311. "type": "integer"
  45312. },
  45313. "scoreconfigtype": {
  45314. "description": "积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分 7:抽奖得红包",
  45315. "type": "integer"
  45316. }
  45317. }
  45318. },
  45319. "models.TjmdHolderDetailTradeInfo": {
  45320. "type": "object",
  45321. "properties": {
  45322. "agreeunit": {
  45323. "description": "合约乘数",
  45324. "type": "number"
  45325. },
  45326. "buyaccountid": {
  45327. "description": "买方账户",
  45328. "type": "string"
  45329. },
  45330. "buyusername": {
  45331. "description": "买方",
  45332. "type": "string"
  45333. },
  45334. "delistingdate": {
  45335. "description": "最后结算日",
  45336. "type": "string"
  45337. },
  45338. "expiredate": {
  45339. "description": "到期结算价定价日",
  45340. "type": "string"
  45341. },
  45342. "exprieprice": {
  45343. "description": "到期清算价格",
  45344. "type": "string"
  45345. },
  45346. "goodscode": {
  45347. "description": "商品代码",
  45348. "type": "string"
  45349. },
  45350. "goodsid": {
  45351. "description": "商品ID",
  45352. "type": "integer"
  45353. },
  45354. "goodsname": {
  45355. "description": "商品名称(交易标的)",
  45356. "type": "string"
  45357. },
  45358. "lasttradedate": {
  45359. "description": "最后交易日",
  45360. "type": "string"
  45361. },
  45362. "listingdate": {
  45363. "description": "开始交易日",
  45364. "type": "string"
  45365. },
  45366. "openprice": {
  45367. "description": "成交价",
  45368. "type": "number"
  45369. },
  45370. "openqty": {
  45371. "description": "交易数量",
  45372. "type": "integer"
  45373. },
  45374. "sellaccountid": {
  45375. "description": "卖方账户",
  45376. "type": "string"
  45377. },
  45378. "sellusername": {
  45379. "description": "卖方",
  45380. "type": "string"
  45381. },
  45382. "tradeamount": {
  45383. "description": "初始名义价值",
  45384. "type": "number"
  45385. },
  45386. "tradedate": {
  45387. "description": "成交日期",
  45388. "type": "string"
  45389. },
  45390. "tradeid": {
  45391. "description": "成交编号",
  45392. "type": "string"
  45393. }
  45394. }
  45395. },
  45396. "models.TjmdMarketSection": {
  45397. "type": "object",
  45398. "properties": {
  45399. "marketsectionid": {
  45400. "description": "市场版块ID(SEQ_MARKETSECTION)",
  45401. "type": "integer"
  45402. },
  45403. "marketsectionname": {
  45404. "description": "市场版块名称",
  45405. "type": "string"
  45406. },
  45407. "mlist": {
  45408. "description": "市场列表(板块下面有多少个市场)",
  45409. "type": "array",
  45410. "items": {
  45411. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  45412. }
  45413. },
  45414. "orderindex": {
  45415. "description": "排序",
  45416. "type": "integer"
  45417. },
  45418. "pictureurl": {
  45419. "description": "图片url, 规格(90*90)",
  45420. "type": "string"
  45421. },
  45422. "remark": {
  45423. "description": "备注",
  45424. "type": "string"
  45425. }
  45426. }
  45427. },
  45428. "models.TjmdMarketSectionConfig": {
  45429. "type": "object",
  45430. "properties": {
  45431. "auctionwrtype": {
  45432. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  45433. "type": "integer"
  45434. },
  45435. "canacceptquote": {
  45436. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  45437. "type": "integer"
  45438. },
  45439. "cangoodsexercise": {
  45440. "description": "[期权]是否可现货行权- 0:否 1:是",
  45441. "type": "integer"
  45442. },
  45443. "cangoodsexercisetype": {
  45444. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  45445. "type": "integer"
  45446. },
  45447. "canmanualquotestrike": {
  45448. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  45449. "type": "integer"
  45450. },
  45451. "canmutistage": {
  45452. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  45453. "type": "integer"
  45454. },
  45455. "canpreexercise": {
  45456. "description": "[期权]是否可预申报- 0:否 1:是",
  45457. "type": "integer"
  45458. },
  45459. "clearinterval": {
  45460. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  45461. "type": "integer"
  45462. },
  45463. "contracttmp": {
  45464. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  45465. "type": "string"
  45466. },
  45467. "exchareaid": {
  45468. "description": "所属交易所,可以没有",
  45469. "type": "integer"
  45470. },
  45471. "financemarketid": {
  45472. "description": "融资回购市场ID [仓单贸易]",
  45473. "type": "integer"
  45474. },
  45475. "goodstype": {
  45476. "description": "商品类型 - 1:交易商品 2:仓单商品",
  45477. "type": "integer"
  45478. },
  45479. "hasrebate": {
  45480. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  45481. "type": "integer"
  45482. },
  45483. "hastradecredit": {
  45484. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  45485. "type": "integer"
  45486. },
  45487. "haswr": {
  45488. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  45489. "type": "integer"
  45490. },
  45491. "isdeductmargin": {
  45492. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  45493. "type": "integer"
  45494. },
  45495. "isrecordsource": {
  45496. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  45497. "type": "integer"
  45498. },
  45499. "isreleasemargin": {
  45500. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  45501. "type": "integer"
  45502. },
  45503. "isupdatereckonprice": {
  45504. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  45505. "type": "integer"
  45506. },
  45507. "listingmode": {
  45508. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  45509. "type": "integer"
  45510. },
  45511. "marginformula": {
  45512. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  45513. "type": "integer"
  45514. },
  45515. "marginformula2": {
  45516. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  45517. "type": "integer"
  45518. },
  45519. "marketid": {
  45520. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  45521. "type": "integer"
  45522. },
  45523. "marketname": {
  45524. "description": "市场名称",
  45525. "type": "string"
  45526. },
  45527. "marketsectionid": {
  45528. "description": "市场版块ID(SEQ_MARKETSECTION)",
  45529. "type": "integer"
  45530. },
  45531. "marketserviceid": {
  45532. "description": "市场服务ID",
  45533. "type": "integer"
  45534. },
  45535. "marketstatus": {
  45536. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  45537. "type": "integer"
  45538. },
  45539. "markettype": {
  45540. "description": "市场类型- 1:非交易服务 2:交易服务",
  45541. "type": "integer"
  45542. },
  45543. "matchermode": {
  45544. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  45545. "type": "integer"
  45546. },
  45547. "nowrquotaflag": {
  45548. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  45549. "type": "integer"
  45550. },
  45551. "openmethod": {
  45552. "description": "开盘模式 - 0 自动 1手动",
  45553. "type": "integer"
  45554. },
  45555. "orderindex": {
  45556. "description": "排序",
  45557. "type": "integer"
  45558. },
  45559. "otcuserid": {
  45560. "description": "场外期权做市商[场外期权]",
  45561. "type": "integer"
  45562. },
  45563. "outersynctime": {
  45564. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  45565. "type": "string"
  45566. },
  45567. "paylaterflag": {
  45568. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  45569. "type": "integer"
  45570. },
  45571. "pendingflag": {
  45572. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  45573. "type": "integer"
  45574. },
  45575. "pendingtime": {
  45576. "description": "待开市时间[通道交易-对冲](HH:mm)",
  45577. "type": "string"
  45578. },
  45579. "performancetempid": {
  45580. "description": "履约计划模板ID - 作废",
  45581. "type": "integer"
  45582. },
  45583. "premiumquotemode": {
  45584. "description": "权利金报价方式 - 1:自动 2:手动",
  45585. "type": "integer"
  45586. },
  45587. "rebateratio": {
  45588. "description": "返利比率[竞价式]",
  45589. "type": "number"
  45590. },
  45591. "reckonorder": {
  45592. "description": "结算顺序",
  45593. "type": "integer"
  45594. },
  45595. "reckonpricealgorithm": {
  45596. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  45597. "type": "integer"
  45598. },
  45599. "reckonpriceparam": {
  45600. "description": "结算价参数",
  45601. "type": "integer"
  45602. },
  45603. "reckontime": {
  45604. "description": "结算时间[通道交易-对冲](HH:mm)",
  45605. "type": "string"
  45606. },
  45607. "roleprioritytype": {
  45608. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  45609. "type": "integer"
  45610. },
  45611. "selllistingauditflag": {
  45612. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  45613. "type": "integer"
  45614. },
  45615. "trademarkettype": {
  45616. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  45617. "type": "integer"
  45618. },
  45619. "trademode": {
  45620. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  45621. "type": "integer"
  45622. },
  45623. "tradeproperty": {
  45624. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  45625. "type": "integer"
  45626. },
  45627. "tradetype": {
  45628. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  45629. "type": "integer"
  45630. },
  45631. "updatereckonpriceinterval": {
  45632. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  45633. "type": "integer"
  45634. }
  45635. }
  45636. },
  45637. "models.TjmdQuoteGoods": {
  45638. "type": "object",
  45639. "properties": {
  45640. "buyqty": {
  45641. "description": "买量(暂不做, 无值, 保留字段)",
  45642. "type": "number"
  45643. },
  45644. "decimalplace": {
  45645. "description": "报价小数位",
  45646. "type": "integer"
  45647. },
  45648. "goodscode": {
  45649. "description": "合约代码",
  45650. "type": "string"
  45651. },
  45652. "goodsgroupid": {
  45653. "description": "商品组ID(自增ID)",
  45654. "type": "integer"
  45655. },
  45656. "goodsgroupname": {
  45657. "description": "商品组名称",
  45658. "type": "string"
  45659. },
  45660. "goodsid": {
  45661. "description": "合约id",
  45662. "type": "integer"
  45663. },
  45664. "goodsname": {
  45665. "description": "合约名称",
  45666. "type": "string"
  45667. },
  45668. "refgoodscode": {
  45669. "description": "标的合约代码",
  45670. "type": "string"
  45671. },
  45672. "refgoodsid": {
  45673. "description": "标的合约id",
  45674. "type": "integer"
  45675. },
  45676. "refgoodsname": {
  45677. "description": "标的合约名称",
  45678. "type": "string"
  45679. },
  45680. "sellqty": {
  45681. "description": "卖量(暂不做, 无值, 保留字段)",
  45682. "type": "number"
  45683. }
  45684. }
  45685. },
  45686. "models.TjmdTodayAccountMargin": {
  45687. "type": "object",
  45688. "properties": {
  45689. "accountid": {
  45690. "description": "账号ID",
  45691. "type": "integer"
  45692. },
  45693. "goodsid": {
  45694. "description": "商品ID",
  45695. "type": "integer"
  45696. },
  45697. "infoc": {
  45698. "description": "配置参数",
  45699. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  45700. },
  45701. "marketid": {
  45702. "description": "市场ID",
  45703. "type": "integer"
  45704. }
  45705. }
  45706. },
  45707. "models.TjmdTradeOrderDetail": {
  45708. "type": "object",
  45709. "properties": {
  45710. "buyorsell": {
  45711. "description": "买卖方向 0-买 1-卖",
  45712. "type": "integer"
  45713. },
  45714. "goodsid": {
  45715. "description": "商品id",
  45716. "type": "integer"
  45717. },
  45718. "marketmaxsub": {
  45719. "description": "市价最大偏移范围 [浮动价 - 点差]",
  45720. "type": "number"
  45721. },
  45722. "orderid": {
  45723. "description": "委托单号",
  45724. "type": "string"
  45725. },
  45726. "orderprice": {
  45727. "description": "期初均价",
  45728. "type": "number"
  45729. },
  45730. "orderqty": {
  45731. "description": "委托数量",
  45732. "type": "integer"
  45733. },
  45734. "pricemode": {
  45735. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  45736. "type": "integer"
  45737. },
  45738. "userid": {
  45739. "description": "用户id",
  45740. "type": "integer"
  45741. },
  45742. "username": {
  45743. "description": "用户名称(已脱敏)",
  45744. "type": "string"
  45745. }
  45746. }
  45747. },
  45748. "models.TjmdTransferApply": {
  45749. "type": "object",
  45750. "properties": {
  45751. "applyid": {
  45752. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  45753. "type": "integer"
  45754. },
  45755. "applystatus": {
  45756. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  45757. "type": "integer"
  45758. },
  45759. "applytime": {
  45760. "description": "申请时间(时间)",
  45761. "type": "string"
  45762. },
  45763. "auditremark": {
  45764. "description": "审核备注(拒绝原因?)",
  45765. "type": "string"
  45766. },
  45767. "begindate": {
  45768. "description": "开始交易日(yyyymmdd)",
  45769. "type": "string"
  45770. },
  45771. "buyorsell": {
  45772. "description": "买卖 - 0:买 1:卖",
  45773. "type": "integer"
  45774. },
  45775. "enddate": {
  45776. "description": "结束交易日(yyyymmdd)",
  45777. "type": "string"
  45778. },
  45779. "goodscode": {
  45780. "description": "商品代码",
  45781. "type": "string"
  45782. },
  45783. "goodsid": {
  45784. "description": "商品ID",
  45785. "type": "integer"
  45786. },
  45787. "goodsname": {
  45788. "description": "商品名称",
  45789. "type": "string"
  45790. },
  45791. "marketid": {
  45792. "description": "市场ID",
  45793. "type": "integer"
  45794. },
  45795. "qty": {
  45796. "description": "期初均价",
  45797. "type": "number"
  45798. },
  45799. "tradeid": {
  45800. "description": "成交单号(关联持仓)",
  45801. "type": "string"
  45802. },
  45803. "transferamount": {
  45804. "description": "转让总金额(金额)",
  45805. "type": "number"
  45806. },
  45807. "transferprice": {
  45808. "description": "转让价格(协议价格)",
  45809. "type": "number"
  45810. }
  45811. }
  45812. },
  45813. "models.TradeHolderDetail": {
  45814. "type": "object",
  45815. "properties": {
  45816. "accountid": {
  45817. "description": "账号ID",
  45818. "type": "integer"
  45819. },
  45820. "agreeunit": {
  45821. "description": "合约乘数",
  45822. "type": "number"
  45823. },
  45824. "buyorsell": {
  45825. "description": "方向 - 0:买 1:卖",
  45826. "type": "integer"
  45827. },
  45828. "currencyid": {
  45829. "description": "商品币种id",
  45830. "type": "integer"
  45831. },
  45832. "currencyname": {
  45833. "description": "币种名称",
  45834. "type": "string"
  45835. },
  45836. "decimalplace": {
  45837. "description": "商品价格小数位",
  45838. "type": "integer"
  45839. },
  45840. "enumdicname": {
  45841. "description": "商品单位名称",
  45842. "type": "string"
  45843. },
  45844. "expirecycle": {
  45845. "description": "行权周期(天) - 1:滚动行权时填写",
  45846. "type": "integer"
  45847. },
  45848. "expiredate": {
  45849. "description": "行权日(yyyyMMdd) - 到期日",
  45850. "type": "string"
  45851. },
  45852. "expiretype": {
  45853. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  45854. "type": "integer"
  45855. },
  45856. "freezeqty": {
  45857. "description": "期初均价",
  45858. "type": "number"
  45859. },
  45860. "goodscode": {
  45861. "description": "商品代码",
  45862. "type": "string"
  45863. },
  45864. "goodsid": {
  45865. "description": "商品ID",
  45866. "type": "integer"
  45867. },
  45868. "goodsname": {
  45869. "description": "商品名称",
  45870. "type": "string"
  45871. },
  45872. "goodunitid": {
  45873. "description": "商品单位id",
  45874. "type": "integer"
  45875. },
  45876. "holderamount": {
  45877. "description": "持仓金额",
  45878. "type": "number"
  45879. },
  45880. "holdercredit": {
  45881. "description": "持仓授信金额",
  45882. "type": "number"
  45883. },
  45884. "holderdays": {
  45885. "description": "剩余冻结天数",
  45886. "type": "integer"
  45887. },
  45888. "holderprice": {
  45889. "description": "持仓价格",
  45890. "type": "number"
  45891. },
  45892. "holderqty": {
  45893. "description": "期初均价",
  45894. "type": "number"
  45895. },
  45896. "isconfirmexercise": {
  45897. "description": "是否确认行权- 0:否 1:是",
  45898. "type": "integer"
  45899. },
  45900. "ispreexercise": {
  45901. "description": "是否预申报- 0:否 1:是 2:不可行权",
  45902. "type": "integer"
  45903. },
  45904. "marketid": {
  45905. "description": "市场id",
  45906. "type": "integer"
  45907. },
  45908. "marketname": {
  45909. "description": "市场名称",
  45910. "type": "string"
  45911. },
  45912. "openprice": {
  45913. "description": "建仓价格",
  45914. "type": "number"
  45915. },
  45916. "openqty": {
  45917. "description": "期初均价",
  45918. "type": "number"
  45919. },
  45920. "optiontype": {
  45921. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45922. "type": "integer"
  45923. },
  45924. "preexerciseprice": {
  45925. "description": "预申报价格",
  45926. "type": "number"
  45927. },
  45928. "premium": {
  45929. "description": "权利金",
  45930. "type": "number"
  45931. },
  45932. "qtydecimalplace": {
  45933. "description": "商品成交量小数位",
  45934. "type": "integer"
  45935. },
  45936. "refgoodscode": {
  45937. "description": "标的合约代码",
  45938. "type": "string"
  45939. },
  45940. "refgoodsid": {
  45941. "description": "标的合约id",
  45942. "type": "integer"
  45943. },
  45944. "releaseamount": {
  45945. "description": "释放持仓金额",
  45946. "type": "number"
  45947. },
  45948. "releaseholdercredit": {
  45949. "description": "释放持仓授信金额",
  45950. "type": "number"
  45951. },
  45952. "taname": {
  45953. "description": "资金账号名称",
  45954. "type": "string"
  45955. },
  45956. "tradeamount": {
  45957. "description": "成交金额",
  45958. "type": "number"
  45959. },
  45960. "tradedate": {
  45961. "description": "交易日(yyyyMMdd)",
  45962. "type": "string"
  45963. },
  45964. "tradeid": {
  45965. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45966. "type": "string"
  45967. },
  45968. "trademode": {
  45969. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  45970. "type": "integer"
  45971. },
  45972. "tradeproperty": {
  45973. "description": "交易属性",
  45974. "type": "integer"
  45975. },
  45976. "tradetime": {
  45977. "description": "交易时间",
  45978. "type": "string"
  45979. },
  45980. "userid": {
  45981. "description": "用户id",
  45982. "type": "integer"
  45983. },
  45984. "username": {
  45985. "description": "用户名称",
  45986. "type": "string"
  45987. }
  45988. }
  45989. },
  45990. "models.Unlinkermcphedgeplan": {
  45991. "type": "object",
  45992. "required": [
  45993. "areauserid"
  45994. ],
  45995. "properties": {
  45996. "accountid": {
  45997. "description": "期货账户ID - 作废",
  45998. "type": "integer"
  45999. },
  46000. "accountname": {
  46001. "description": "交易用户",
  46002. "type": "string"
  46003. },
  46004. "applyid": {
  46005. "description": "申请人",
  46006. "type": "integer"
  46007. },
  46008. "applysrc": {
  46009. "description": "申请来源 - 1:管理端 2:终端",
  46010. "type": "integer"
  46011. },
  46012. "applytime": {
  46013. "description": "申请时间",
  46014. "type": "string"
  46015. },
  46016. "areauserid": {
  46017. "description": "[企业ID]机构ID",
  46018. "type": "integer"
  46019. },
  46020. "auditid": {
  46021. "description": "审核人",
  46022. "type": "integer"
  46023. },
  46024. "auditremark": {
  46025. "description": "审核备注",
  46026. "type": "string"
  46027. },
  46028. "auditsrc": {
  46029. "description": "审核来源 - 1:管理端 2:终端",
  46030. "type": "integer"
  46031. },
  46032. "audittime": {
  46033. "description": "审核时间",
  46034. "type": "string"
  46035. },
  46036. "audittradedate": {
  46037. "description": "审核交易日(yyyyMMdd)",
  46038. "type": "string"
  46039. },
  46040. "biztype": {
  46041. "description": "业务类型 - 1:套保",
  46042. "type": "integer"
  46043. },
  46044. "contracttype": {
  46045. "description": "计划类型 - 1:采购 -1:销售",
  46046. "type": "integer"
  46047. },
  46048. "convertfactor": {
  46049. "description": "标仓系数 - 作废",
  46050. "type": "number"
  46051. },
  46052. "createtime": {
  46053. "description": "创建时间",
  46054. "type": "string"
  46055. },
  46056. "currencyid": {
  46057. "description": "结算币种ID - 作废",
  46058. "type": "integer"
  46059. },
  46060. "deliverygoodsid": {
  46061. "description": "现货品种ID",
  46062. "type": "integer"
  46063. },
  46064. "enumdicname": {
  46065. "description": "结算币种",
  46066. "type": "string"
  46067. },
  46068. "hedgeplanid": {
  46069. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  46070. "type": "string"
  46071. },
  46072. "hedgeplanno": {
  46073. "description": "[计划编号]套保计划编号,模糊查询",
  46074. "type": "string"
  46075. },
  46076. "hedgeplanstatus": {
  46077. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  46078. "type": "integer"
  46079. },
  46080. "isrelated": {
  46081. "description": "是否已关联计划项目 - 0:否 1:是",
  46082. "type": "integer"
  46083. },
  46084. "planqty": {
  46085. "description": "[计划量]计划数量",
  46086. "type": "number"
  46087. },
  46088. "plantime": {
  46089. "description": "计划时间",
  46090. "type": "string"
  46091. },
  46092. "producttype": {
  46093. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  46094. "type": "integer"
  46095. },
  46096. "remark": {
  46097. "description": "备注",
  46098. "type": "string"
  46099. },
  46100. "spotgoodsdesc": {
  46101. "description": "商品型号",
  46102. "type": "string"
  46103. },
  46104. "tradedate": {
  46105. "description": "交易日(yyyyMMdd)",
  46106. "type": "string"
  46107. },
  46108. "tradeuserid": {
  46109. "description": "交易用户ID",
  46110. "type": "integer"
  46111. },
  46112. "updatetime": {
  46113. "description": "更新时间",
  46114. "type": "string"
  46115. },
  46116. "wrstandardid": {
  46117. "description": "现货商品ID",
  46118. "type": "integer"
  46119. },
  46120. "wrstandardname": {
  46121. "description": "现货商品,模糊查询",
  46122. "type": "string"
  46123. }
  46124. }
  46125. },
  46126. "models.UserCollectConfig": {
  46127. "type": "object",
  46128. "properties": {
  46129. "accountstatus": {
  46130. "description": "账户状态 - 1:正常 2:停用 3:注销",
  46131. "type": "integer"
  46132. },
  46133. "collectaccountname": {
  46134. "description": "收款人账户名称",
  46135. "type": "string"
  46136. },
  46137. "collectaccountno": {
  46138. "description": "收款人账户",
  46139. "type": "string"
  46140. },
  46141. "collectbankname": {
  46142. "description": "收款人开户行",
  46143. "type": "string"
  46144. },
  46145. "collectbranchbankname": {
  46146. "description": "收款人开户支行",
  46147. "type": "string"
  46148. },
  46149. "collectconfigid": {
  46150. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  46151. "type": "string"
  46152. },
  46153. "remark": {
  46154. "description": "备注",
  46155. "type": "string"
  46156. },
  46157. "userid": {
  46158. "description": "收款人用户ID",
  46159. "type": "integer"
  46160. }
  46161. }
  46162. },
  46163. "models.UserReceiveInfo": {
  46164. "type": "object",
  46165. "properties": {
  46166. "address": {
  46167. "description": "提货人详细地址",
  46168. "type": "string"
  46169. },
  46170. "autoid": {
  46171. "description": "AutoID",
  46172. "type": "integer"
  46173. },
  46174. "cardnum": {
  46175. "description": "证件号码(加密存储)",
  46176. "type": "string"
  46177. },
  46178. "cardtypeid": {
  46179. "description": "证件类型",
  46180. "type": "integer"
  46181. },
  46182. "cityid": {
  46183. "description": "市",
  46184. "type": "integer"
  46185. },
  46186. "cityname": {
  46187. "description": "城市名称",
  46188. "type": "string"
  46189. },
  46190. "countryid": {
  46191. "description": "国家",
  46192. "type": "integer"
  46193. },
  46194. "countryname": {
  46195. "description": "国家名称",
  46196. "type": "string"
  46197. },
  46198. "districtid": {
  46199. "description": "地区",
  46200. "type": "integer"
  46201. },
  46202. "districtname": {
  46203. "description": "地区名称",
  46204. "type": "string"
  46205. },
  46206. "hasencrypt": {
  46207. "description": "数据是否已加密 - 0:未加密 1:已加密",
  46208. "type": "integer"
  46209. },
  46210. "isdefault": {
  46211. "description": "是否默认地址 - 0:否 1:是",
  46212. "type": "integer"
  46213. },
  46214. "phonenum": {
  46215. "description": "提货人联系方式(加密存储)",
  46216. "type": "string"
  46217. },
  46218. "provinceid": {
  46219. "description": "省",
  46220. "type": "integer"
  46221. },
  46222. "provincename": {
  46223. "description": "省名称",
  46224. "type": "string"
  46225. },
  46226. "receivername": {
  46227. "description": "提货人姓名",
  46228. "type": "string"
  46229. },
  46230. "takeremark": {
  46231. "description": "提货备注",
  46232. "type": "string"
  46233. },
  46234. "userid": {
  46235. "description": "用户ID",
  46236. "type": "integer"
  46237. }
  46238. }
  46239. },
  46240. "models.Useraccount": {
  46241. "type": "object",
  46242. "required": [
  46243. "userid"
  46244. ],
  46245. "properties": {
  46246. "accountname": {
  46247. "description": "账户名称(机构名称)",
  46248. "type": "string"
  46249. },
  46250. "accountstatus": {
  46251. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  46252. "type": "integer"
  46253. },
  46254. "applysrc": {
  46255. "description": "申请来源 - 1:管理端 2:终端",
  46256. "type": "integer"
  46257. },
  46258. "auditremark": {
  46259. "description": "审核备注",
  46260. "type": "string"
  46261. },
  46262. "auditsrc": {
  46263. "description": "审核来源 - 1:管理端 2:终端",
  46264. "type": "integer"
  46265. },
  46266. "audittime": {
  46267. "description": "审核时间",
  46268. "type": "string"
  46269. },
  46270. "audituserid": {
  46271. "description": "审核人",
  46272. "type": "integer"
  46273. },
  46274. "broker": {
  46275. "description": "所属经纪人ID",
  46276. "type": "integer"
  46277. },
  46278. "canceltime": {
  46279. "description": "销户时间",
  46280. "type": "string"
  46281. },
  46282. "canceluserid": {
  46283. "description": "销户人",
  46284. "type": "integer"
  46285. },
  46286. "canrecommend": {
  46287. "description": "是否可推荐 - 0:不可 1;可",
  46288. "type": "integer"
  46289. },
  46290. "createtime": {
  46291. "description": "创建时间",
  46292. "type": "string"
  46293. },
  46294. "creatorid": {
  46295. "description": "创建人",
  46296. "type": "integer"
  46297. },
  46298. "curscore": {
  46299. "description": "积分",
  46300. "type": "integer"
  46301. },
  46302. "hasauth": {
  46303. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  46304. "type": "integer"
  46305. },
  46306. "isanonymous": {
  46307. "description": "是否匿名下单 - 0:否 1:是",
  46308. "type": "integer"
  46309. },
  46310. "issigned": {
  46311. "description": "今日是否已签到",
  46312. "type": "boolean"
  46313. },
  46314. "maxinvestornum": {
  46315. "description": "最大用户数(经纪会员下投资者个数)",
  46316. "type": "integer"
  46317. },
  46318. "memberuserid": {
  46319. "description": "所属会员ID",
  46320. "type": "integer"
  46321. },
  46322. "modifierid": {
  46323. "description": "修改人",
  46324. "type": "integer"
  46325. },
  46326. "modifyremark": {
  46327. "description": "变更备注",
  46328. "type": "string"
  46329. },
  46330. "modifystatus": {
  46331. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  46332. "type": "integer"
  46333. },
  46334. "modifytime": {
  46335. "description": "修改时间",
  46336. "type": "string"
  46337. },
  46338. "parenttopuser": {
  46339. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  46340. "type": "string"
  46341. },
  46342. "parentuserid": {
  46343. "description": "所属机构ID",
  46344. "type": "integer"
  46345. },
  46346. "reckonaccountid": {
  46347. "description": "默认结算资金账号ID(机构分润使用) 作废",
  46348. "type": "integer"
  46349. },
  46350. "refercount": {
  46351. "description": "推荐总人数",
  46352. "type": "integer"
  46353. },
  46354. "refereeuserid": {
  46355. "description": "推荐人ID",
  46356. "type": "integer"
  46357. },
  46358. "refernum": {
  46359. "description": "推荐码",
  46360. "type": "string"
  46361. },
  46362. "rootuserid": {
  46363. "description": "根用户ID",
  46364. "type": "integer"
  46365. },
  46366. "subaccountlevel": {
  46367. "description": "子账户层数",
  46368. "type": "integer"
  46369. },
  46370. "subarealevelpath": {
  46371. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  46372. "type": "string"
  46373. },
  46374. "todayrefercount": {
  46375. "description": "今日推荐人数",
  46376. "type": "integer"
  46377. },
  46378. "userid": {
  46379. "description": "用户ID",
  46380. "type": "integer"
  46381. },
  46382. "usertype": {
  46383. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  46384. "type": "integer"
  46385. }
  46386. }
  46387. },
  46388. "models.Userfavoritegoods": {
  46389. "type": "object",
  46390. "required": [
  46391. "goodsid"
  46392. ],
  46393. "properties": {
  46394. "goodsid": {
  46395. "description": "商品ID",
  46396. "type": "integer"
  46397. }
  46398. }
  46399. },
  46400. "models.Userinfo": {
  46401. "type": "object",
  46402. "required": [
  46403. "userid"
  46404. ],
  46405. "properties": {
  46406. "address": {
  46407. "description": "地址",
  46408. "type": "string"
  46409. },
  46410. "attachment1": {
  46411. "description": "附件1",
  46412. "type": "string"
  46413. },
  46414. "attachment2": {
  46415. "description": "附件2",
  46416. "type": "string"
  46417. },
  46418. "bankaccount": {
  46419. "description": "银行帐号 (加密存储)",
  46420. "type": "string"
  46421. },
  46422. "bankaccountname": {
  46423. "description": "收款人名称",
  46424. "type": "string"
  46425. },
  46426. "bankcardfrontphotourl": {
  46427. "description": "银行卡正面照地址",
  46428. "type": "string"
  46429. },
  46430. "bankid": {
  46431. "description": "银行编码",
  46432. "type": "string"
  46433. },
  46434. "bankname": {
  46435. "description": "银行名称",
  46436. "type": "string"
  46437. },
  46438. "biznature": {
  46439. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  46440. "type": "integer"
  46441. },
  46442. "bizscope": {
  46443. "description": "企业经营范围(企业)",
  46444. "type": "string"
  46445. },
  46446. "cardbackphotourl": {
  46447. "description": "证件背面图片地址",
  46448. "type": "string"
  46449. },
  46450. "cardfrontphotourl": {
  46451. "description": "证件正面图片地址",
  46452. "type": "string"
  46453. },
  46454. "cardnum": {
  46455. "description": "证件号码(加密存储)",
  46456. "type": "string"
  46457. },
  46458. "cardtypeid": {
  46459. "description": "证件类型ID",
  46460. "type": "integer"
  46461. },
  46462. "cityid": {
  46463. "description": "市",
  46464. "type": "integer"
  46465. },
  46466. "company": {
  46467. "description": "公司(个人)",
  46468. "type": "string"
  46469. },
  46470. "contactname": {
  46471. "description": "联系人",
  46472. "type": "string"
  46473. },
  46474. "countryid": {
  46475. "description": "国家",
  46476. "type": "integer"
  46477. },
  46478. "createtime": {
  46479. "description": "创建时间",
  46480. "type": "string"
  46481. },
  46482. "creatorid": {
  46483. "description": "创建人",
  46484. "type": "integer"
  46485. },
  46486. "customername": {
  46487. "description": "客户名称(企业名称)",
  46488. "type": "string"
  46489. },
  46490. "districtid": {
  46491. "description": "地区",
  46492. "type": "integer"
  46493. },
  46494. "email": {
  46495. "description": "邮件(加密存储)",
  46496. "type": "string"
  46497. },
  46498. "fax": {
  46499. "description": "传真(加密存储)",
  46500. "type": "string"
  46501. },
  46502. "halfbodyphotourl": {
  46503. "description": "半身照地址",
  46504. "type": "string"
  46505. },
  46506. "hasencrypt": {
  46507. "description": "数据是否已加密 - 0:未加密 1:已加密",
  46508. "type": "integer"
  46509. },
  46510. "headurl": {
  46511. "description": "头像地址",
  46512. "type": "string"
  46513. },
  46514. "legalcardbackphotourl": {
  46515. "description": "法人身份证背面照地址",
  46516. "type": "string"
  46517. },
  46518. "legalcardfrontphotourl": {
  46519. "description": "法人身份证正面照地址",
  46520. "type": "string"
  46521. },
  46522. "legalpersonname": {
  46523. "description": "法人姓名(企业)",
  46524. "type": "string"
  46525. },
  46526. "mobile": {
  46527. "description": "手机号码(加密存储)",
  46528. "type": "string"
  46529. },
  46530. "mobile2": {
  46531. "description": "手机号码[明文-尚志]",
  46532. "type": "string"
  46533. },
  46534. "modifierid": {
  46535. "description": "修改人",
  46536. "type": "integer"
  46537. },
  46538. "modifiertime": {
  46539. "description": "修改时间",
  46540. "type": "string"
  46541. },
  46542. "needinvoice": {
  46543. "description": "是否需要发票 - 0:不需要 1:需要",
  46544. "type": "integer"
  46545. },
  46546. "nickname": {
  46547. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  46548. "type": "string"
  46549. },
  46550. "openmode": {
  46551. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  46552. "type": "integer"
  46553. },
  46554. "otherurl": {
  46555. "description": "其它图片地址[使用分号分隔]",
  46556. "type": "string"
  46557. },
  46558. "postalcode": {
  46559. "description": "邮政编码",
  46560. "type": "string"
  46561. },
  46562. "provinceid": {
  46563. "description": "省",
  46564. "type": "integer"
  46565. },
  46566. "qq": {
  46567. "description": "QQ(加密存储",
  46568. "type": "string"
  46569. },
  46570. "remark": {
  46571. "description": "备注",
  46572. "type": "string"
  46573. },
  46574. "sex": {
  46575. "description": "用户性别 0: 女 1: 男",
  46576. "type": "integer"
  46577. },
  46578. "signpdfurl": {
  46579. "description": "签约pdf文件",
  46580. "type": "string"
  46581. },
  46582. "telphone": {
  46583. "description": "联系电话(加密存储)",
  46584. "type": "string"
  46585. },
  46586. "userid": {
  46587. "description": "用户ID",
  46588. "type": "integer"
  46589. },
  46590. "userinfotype": {
  46591. "description": "用户信息类型 - 1:个人 2:企业",
  46592. "type": "integer"
  46593. },
  46594. "userstatus": {
  46595. "description": "用户状态 - 1:正常 2:注销",
  46596. "type": "integer"
  46597. },
  46598. "usertype": {
  46599. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  46600. "type": "integer"
  46601. },
  46602. "wechat": {
  46603. "description": "微信(加密存储)",
  46604. "type": "string"
  46605. },
  46606. "wskhinfo": {
  46607. "description": "开户申请信息(JSON)",
  46608. "type": "string"
  46609. }
  46610. }
  46611. },
  46612. "models.WRPositionReport": {
  46613. "type": "object",
  46614. "properties": {
  46615. "accountid": {
  46616. "description": "帐户ID",
  46617. "type": "integer"
  46618. },
  46619. "brandid": {
  46620. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  46621. "type": "integer"
  46622. },
  46623. "buylistinglot": {
  46624. "description": "买挂牌宗数",
  46625. "type": "integer"
  46626. },
  46627. "buytradeamount": {
  46628. "description": "购买金额",
  46629. "type": "number"
  46630. },
  46631. "buytradelot": {
  46632. "description": "购买宗数",
  46633. "type": "integer"
  46634. },
  46635. "buytradeqty": {
  46636. "description": "购买数量",
  46637. "type": "number"
  46638. },
  46639. "creditcurqty": {
  46640. "description": "授信当前数量",
  46641. "type": "integer"
  46642. },
  46643. "creditfreezeqty": {
  46644. "description": "授信冻结数量",
  46645. "type": "integer"
  46646. },
  46647. "credittotalqty": {
  46648. "description": "授信总数量",
  46649. "type": "integer"
  46650. },
  46651. "credittradeqty": {
  46652. "description": "授信成交数量",
  46653. "type": "integer"
  46654. },
  46655. "decreaseqty": {
  46656. "description": "今日减少数量",
  46657. "type": "integer"
  46658. },
  46659. "deliverygoodsid": {
  46660. "description": "交割商品ID",
  46661. "type": "integer"
  46662. },
  46663. "deliverymonthid": {
  46664. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  46665. "type": "integer"
  46666. },
  46667. "freezeqty": {
  46668. "description": "总冻结数量",
  46669. "type": "integer"
  46670. },
  46671. "increaseqty": {
  46672. "description": "今日增加数量",
  46673. "type": "integer"
  46674. },
  46675. "marketvalue": {
  46676. "description": "市值",
  46677. "type": "number"
  46678. },
  46679. "pickupqty": {
  46680. "description": "今日提货数量",
  46681. "type": "integer"
  46682. },
  46683. "qualityid": {
  46684. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  46685. "type": "integer"
  46686. },
  46687. "reckondate": {
  46688. "description": "日照时期(yyyyMMdd)",
  46689. "type": "string"
  46690. },
  46691. "relatedqty": {
  46692. "description": "关联数量",
  46693. "type": "integer"
  46694. },
  46695. "selllistingamount": {
  46696. "description": "卖挂牌金额",
  46697. "type": "number"
  46698. },
  46699. "selllistinglot": {
  46700. "description": "卖挂牌宗数",
  46701. "type": "integer"
  46702. },
  46703. "selllistingqty": {
  46704. "description": "卖挂牌数量",
  46705. "type": "number"
  46706. },
  46707. "selltradeamount": {
  46708. "description": "销售金额",
  46709. "type": "number"
  46710. },
  46711. "selltradelot": {
  46712. "description": "销售宗数",
  46713. "type": "integer"
  46714. },
  46715. "selltradeqty": {
  46716. "description": "销售数量",
  46717. "type": "number"
  46718. },
  46719. "specid": {
  46720. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  46721. "type": "integer"
  46722. },
  46723. "totalprice": {
  46724. "description": "销售金额(¥)",
  46725. "type": "number"
  46726. },
  46727. "totalqty": {
  46728. "description": "总数量",
  46729. "type": "integer"
  46730. },
  46731. "totalweight": {
  46732. "description": "销售重量(ct)",
  46733. "type": "number"
  46734. },
  46735. "tradewrqty": {
  46736. "description": "订单仓单头寸总数量",
  46737. "type": "integer"
  46738. },
  46739. "transfertradewrqty": {
  46740. "description": "今日转订单数量",
  46741. "type": "integer"
  46742. },
  46743. "warehouseid": {
  46744. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  46745. "type": "integer"
  46746. },
  46747. "wrfactortypeid": {
  46748. "description": "仓单要素类型ID",
  46749. "type": "integer"
  46750. },
  46751. "wrpositionid": {
  46752. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  46753. "type": "integer"
  46754. },
  46755. "wrstandardcode": {
  46756. "description": "现货商品代码",
  46757. "type": "string"
  46758. },
  46759. "wrstandardid": {
  46760. "description": "现货商品ID",
  46761. "type": "integer"
  46762. },
  46763. "wruserid": {
  46764. "description": "持有人ID",
  46765. "type": "integer"
  46766. },
  46767. "zscategory": {
  46768. "description": "商品分类",
  46769. "type": "integer"
  46770. },
  46771. "zscategorydisplay": {
  46772. "type": "string"
  46773. },
  46774. "zscurrencytype": {
  46775. "description": "商品币种",
  46776. "type": "integer"
  46777. },
  46778. "zscurrencytypedisplay": {
  46779. "type": "string"
  46780. },
  46781. "zscurrencytypedisplayunit": {
  46782. "type": "string"
  46783. }
  46784. }
  46785. },
  46786. "models.WRSConverTDetail": {
  46787. "type": "object",
  46788. "properties": {
  46789. "convertratio": {
  46790. "description": "套保系数",
  46791. "type": "number"
  46792. },
  46793. "deliverygoodscode": {
  46794. "description": "现货商品代码",
  46795. "type": "string"
  46796. },
  46797. "deliverygoodsid": {
  46798. "description": "现货品种ID",
  46799. "type": "integer"
  46800. },
  46801. "deliverygoodsname": {
  46802. "description": "现货商品名称",
  46803. "type": "string"
  46804. },
  46805. "enumdicname": {
  46806. "description": "单位名称",
  46807. "type": "string"
  46808. },
  46809. "goodsunitid": {
  46810. "description": "套保品种单位id",
  46811. "type": "integer"
  46812. },
  46813. "middlegoodscode": {
  46814. "description": "套保品种代码",
  46815. "type": "string"
  46816. },
  46817. "middlegoodsid": {
  46818. "description": "套保品种ID",
  46819. "type": "integer"
  46820. },
  46821. "middlegoodsname": {
  46822. "description": "套保品种名称",
  46823. "type": "string"
  46824. },
  46825. "modifytime": {
  46826. "description": "修改时间",
  46827. "type": "string"
  46828. },
  46829. "wrstandardid": {
  46830. "description": "品类ID",
  46831. "type": "integer"
  46832. }
  46833. }
  46834. },
  46835. "models.WRStandardInfo": {
  46836. "type": "object",
  46837. "required": [
  46838. "wrstandardid"
  46839. ],
  46840. "properties": {
  46841. "areauserid": {
  46842. "description": "所属机构",
  46843. "type": "integer"
  46844. },
  46845. "convertfactor": {
  46846. "description": "标仓系数",
  46847. "type": "number"
  46848. },
  46849. "createtime": {
  46850. "description": "创建时间",
  46851. "type": "string"
  46852. },
  46853. "creatorid": {
  46854. "description": "创建人",
  46855. "type": "integer"
  46856. },
  46857. "deliverygoodsid": {
  46858. "description": "品种ID",
  46859. "type": "integer"
  46860. },
  46861. "deliverygoodsname": {
  46862. "description": "交割商品名称",
  46863. "type": "string"
  46864. },
  46865. "factoryitemjson": {
  46866. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  46867. "type": "string"
  46868. },
  46869. "isvalid": {
  46870. "description": "是否有效 - 0:无效 1:有效",
  46871. "type": "integer"
  46872. },
  46873. "minivalue": {
  46874. "description": "最小变动值",
  46875. "type": "integer"
  46876. },
  46877. "minivaluedp": {
  46878. "description": "最小变动值小数位",
  46879. "type": "integer"
  46880. },
  46881. "realminivalue": {
  46882. "description": "实际最小变动值",
  46883. "type": "integer"
  46884. },
  46885. "realminivaluedp": {
  46886. "description": "实际最小变动值小数位",
  46887. "type": "integer"
  46888. },
  46889. "remark": {
  46890. "description": "备注",
  46891. "type": "string"
  46892. },
  46893. "unitid": {
  46894. "description": "单位ID",
  46895. "type": "integer"
  46896. },
  46897. "unitname": {
  46898. "description": "单位",
  46899. "type": "string"
  46900. },
  46901. "updatetime": {
  46902. "description": "更新时间",
  46903. "type": "string"
  46904. },
  46905. "updatorid": {
  46906. "description": "更新人",
  46907. "type": "integer"
  46908. },
  46909. "wrsstatus": {
  46910. "description": "状态 - 作废 - 0:未激活 1:正常",
  46911. "type": "integer"
  46912. },
  46913. "wrstandardcode": {
  46914. "description": "现货品类代码",
  46915. "type": "string"
  46916. },
  46917. "wrstandardid": {
  46918. "description": "现货品类ID(SEQ_WRSTANDARD)",
  46919. "type": "integer"
  46920. },
  46921. "wrstandardname": {
  46922. "description": "现货品类名称",
  46923. "type": "string"
  46924. }
  46925. }
  46926. },
  46927. "models.WRTradeBargainApply": {
  46928. "type": "object",
  46929. "properties": {
  46930. "accountid": {
  46931. "description": "摘牌资金账号",
  46932. "type": "integer"
  46933. },
  46934. "applyprice": {
  46935. "description": "申请价格(议价价格)",
  46936. "type": "string"
  46937. },
  46938. "applyqty": {
  46939. "description": "摘牌数量(议价数量)",
  46940. "type": "number"
  46941. },
  46942. "applyremark": {
  46943. "description": "申请备注",
  46944. "type": "string"
  46945. },
  46946. "applystatus": {
  46947. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  46948. "type": "integer"
  46949. },
  46950. "applytime": {
  46951. "description": "申请时间(议价时间)",
  46952. "type": "string"
  46953. },
  46954. "begindate": {
  46955. "description": "开始交易日(yyyymmdd)",
  46956. "type": "string"
  46957. },
  46958. "buyorsell": {
  46959. "description": "买卖(挂牌类型) - 0:买 1:卖",
  46960. "type": "integer"
  46961. },
  46962. "confirmremark": {
  46963. "description": "确认备注",
  46964. "type": "string"
  46965. },
  46966. "confirmtime": {
  46967. "description": "确认时间",
  46968. "type": "string"
  46969. },
  46970. "confirmuserid": {
  46971. "description": "确认人",
  46972. "type": "integer"
  46973. },
  46974. "deliverygoodscode": {
  46975. "description": "品种代码",
  46976. "type": "string"
  46977. },
  46978. "deliverygoodsid": {
  46979. "description": "品种ID",
  46980. "type": "integer"
  46981. },
  46982. "deliverygoodsname": {
  46983. "description": "品种名称",
  46984. "type": "string"
  46985. },
  46986. "deliverymonth": {
  46987. "description": "交收月",
  46988. "type": "string"
  46989. },
  46990. "enddate": {
  46991. "description": "结束交易日(yyyymmdd)",
  46992. "type": "string"
  46993. },
  46994. "enumdicname": {
  46995. "description": "单位名称",
  46996. "type": "string"
  46997. },
  46998. "fixedprice": {
  46999. "description": "期初均价",
  47000. "type": "number"
  47001. },
  47002. "handlestatus": {
  47003. "description": "处理状态",
  47004. "type": "integer"
  47005. },
  47006. "marginvalue": {
  47007. "description": "期初均价",
  47008. "type": "number"
  47009. },
  47010. "marketid": {
  47011. "description": "市场ID",
  47012. "type": "integer"
  47013. },
  47014. "matchaccountid": {
  47015. "description": "挂牌方资金账号",
  47016. "type": "integer"
  47017. },
  47018. "matchuserid": {
  47019. "description": "挂牌方用户id",
  47020. "type": "integer"
  47021. },
  47022. "matchusername": {
  47023. "description": "挂牌方用户名称(已脱敏)",
  47024. "type": "string"
  47025. },
  47026. "minivalue": {
  47027. "description": "现货商品最小变动值",
  47028. "type": "integer"
  47029. },
  47030. "optioncompare": {
  47031. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  47032. "type": "string"
  47033. },
  47034. "orderqty": {
  47035. "description": "挂牌数量",
  47036. "type": "integer"
  47037. },
  47038. "refprice": {
  47039. "description": "参考价格",
  47040. "type": "string"
  47041. },
  47042. "retcode": {
  47043. "description": "委托返回代码",
  47044. "type": "integer"
  47045. },
  47046. "templatename": {
  47047. "description": "履约方式(履约模板名称)",
  47048. "type": "string"
  47049. },
  47050. "tradedate": {
  47051. "description": "交易日(yyyyMMdd)",
  47052. "type": "string"
  47053. },
  47054. "userid": {
  47055. "description": "摘牌人用户ID(议价人ID)",
  47056. "type": "integer"
  47057. },
  47058. "username": {
  47059. "description": "议价人名字(已脱敏)",
  47060. "type": "string"
  47061. },
  47062. "validtime": {
  47063. "description": "有效期限",
  47064. "type": "string"
  47065. },
  47066. "warehouseid": {
  47067. "description": "仓库ID",
  47068. "type": "integer"
  47069. },
  47070. "warehousename": {
  47071. "description": "仓库名称",
  47072. "type": "string"
  47073. },
  47074. "wrbargainid": {
  47075. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  47076. "type": "string"
  47077. },
  47078. "wrfactortypeid": {
  47079. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  47080. "type": "string"
  47081. },
  47082. "wrfactortypename": {
  47083. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  47084. "type": "string"
  47085. },
  47086. "wrstandardcode": {
  47087. "description": "现货商品代码",
  47088. "type": "string"
  47089. },
  47090. "wrstandardid": {
  47091. "description": "现货商品ID",
  47092. "type": "integer"
  47093. },
  47094. "wrstandardname": {
  47095. "description": "商品名称",
  47096. "type": "string"
  47097. },
  47098. "wrtradeorderid": {
  47099. "description": "关联委托单ID",
  47100. "type": "string"
  47101. },
  47102. "wrtypename": {
  47103. "description": "商品",
  47104. "type": "string"
  47105. }
  47106. }
  47107. },
  47108. "models.Warehouseinfo": {
  47109. "type": "object",
  47110. "required": [
  47111. "autoid",
  47112. "warehousecode"
  47113. ],
  47114. "properties": {
  47115. "address": {
  47116. "description": "详细地址",
  47117. "type": "string"
  47118. },
  47119. "areauserid": {
  47120. "description": "所属机构",
  47121. "type": "integer"
  47122. },
  47123. "autoid": {
  47124. "description": "自增ID",
  47125. "type": "integer"
  47126. },
  47127. "cityid": {
  47128. "description": "市",
  47129. "type": "integer"
  47130. },
  47131. "contactname": {
  47132. "description": "联系人",
  47133. "type": "string"
  47134. },
  47135. "contactnum": {
  47136. "description": "联系电话",
  47137. "type": "string"
  47138. },
  47139. "countryid": {
  47140. "description": "国家",
  47141. "type": "integer"
  47142. },
  47143. "createtime": {
  47144. "description": "创建时间",
  47145. "type": "string"
  47146. },
  47147. "districtid": {
  47148. "description": "区",
  47149. "type": "integer"
  47150. },
  47151. "hasvideo": {
  47152. "description": "是否有视频 - 0:无 1:有",
  47153. "type": "integer"
  47154. },
  47155. "provinceid": {
  47156. "description": "省",
  47157. "type": "integer"
  47158. },
  47159. "remark": {
  47160. "description": "审核备注",
  47161. "type": "string"
  47162. },
  47163. "videourl": {
  47164. "description": "视频地址",
  47165. "type": "string"
  47166. },
  47167. "warehousecode": {
  47168. "description": "仓库代码",
  47169. "type": "string"
  47170. },
  47171. "warehousename": {
  47172. "description": "仓库名称",
  47173. "type": "string"
  47174. },
  47175. "warehousestatus": {
  47176. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  47177. "type": "integer"
  47178. },
  47179. "warehousetype": {
  47180. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  47181. "type": "integer"
  47182. }
  47183. }
  47184. },
  47185. "models.WrAverageTradePrice": {
  47186. "type": "object",
  47187. "properties": {
  47188. "averageprice": {
  47189. "description": "期初均价",
  47190. "type": "number"
  47191. },
  47192. "tradedate": {
  47193. "description": "交易日yyyymm",
  47194. "type": "string"
  47195. }
  47196. }
  47197. },
  47198. "models.WrBrandAndYears": {
  47199. "type": "object",
  47200. "properties": {
  47201. "brandlst": {
  47202. "description": "品牌列表",
  47203. "type": "array",
  47204. "items": {
  47205. "$ref": "#/definitions/models.DgFactoryItem"
  47206. }
  47207. },
  47208. "yearslst": {
  47209. "description": "年份列表",
  47210. "type": "array",
  47211. "items": {
  47212. "$ref": "#/definitions/models.DgFactoryItem"
  47213. }
  47214. }
  47215. }
  47216. },
  47217. "models.WrBsGoodsInfo": {
  47218. "type": "object",
  47219. "properties": {
  47220. "buyorsell": {
  47221. "description": "买卖方向 0-买 1-卖",
  47222. "type": "integer"
  47223. },
  47224. "goodsid": {
  47225. "description": "交易合约ID",
  47226. "type": "integer"
  47227. },
  47228. "lstitem": {
  47229. "description": "商品信息项",
  47230. "type": "array",
  47231. "items": {
  47232. "$ref": "#/definitions/models.WrTypeItem"
  47233. }
  47234. },
  47235. "lststep": {
  47236. "description": "履约规则",
  47237. "type": "array",
  47238. "items": {
  47239. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  47240. }
  47241. }
  47242. }
  47243. },
  47244. "models.WrBuybackDetail": {
  47245. "type": "object",
  47246. "properties": {
  47247. "buybackamount": {
  47248. "description": "回购金额",
  47249. "type": "number"
  47250. },
  47251. "buybackqty": {
  47252. "description": "回购数量",
  47253. "type": "number"
  47254. },
  47255. "buybackreleasemargin": {
  47256. "description": "回购释放保证金",
  47257. "type": "number"
  47258. },
  47259. "buybacktime": {
  47260. "description": "回购时间",
  47261. "type": "string"
  47262. },
  47263. "errordesc": {
  47264. "description": "错误描述",
  47265. "type": "string"
  47266. },
  47267. "handlestatus": {
  47268. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  47269. "type": "integer"
  47270. },
  47271. "relatedwrid": {
  47272. "description": "关联仓单ID",
  47273. "type": "integer"
  47274. },
  47275. "scfcontractid": {
  47276. "description": "SCF合同ID",
  47277. "type": "string"
  47278. },
  47279. "scfwrbuybackid": {
  47280. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  47281. "type": "integer"
  47282. },
  47283. "tradedate": {
  47284. "description": "交易日(yyyyMMdd)",
  47285. "type": "string"
  47286. }
  47287. }
  47288. },
  47289. "models.WrClientAdSpaceConfig": {
  47290. "type": "object",
  47291. "properties": {
  47292. "adspaceid": {
  47293. "description": "广告位ID",
  47294. "type": "integer"
  47295. },
  47296. "adspacename": {
  47297. "description": "广告位名称",
  47298. "type": "string"
  47299. },
  47300. "adspacetype": {
  47301. "description": "广告位类型 - 1:固定广告位",
  47302. "type": "integer"
  47303. },
  47304. "areauserid": {
  47305. "description": "所属机构ID",
  47306. "type": "integer"
  47307. },
  47308. "createdate": {
  47309. "description": "创建时间",
  47310. "type": "string"
  47311. },
  47312. "imagepath": {
  47313. "description": "图片",
  47314. "type": "string"
  47315. },
  47316. "modifierid": {
  47317. "description": "操作人",
  47318. "type": "integer"
  47319. },
  47320. "recsize": {
  47321. "description": "推荐尺寸",
  47322. "type": "string"
  47323. },
  47324. "title": {
  47325. "description": "标题",
  47326. "type": "string"
  47327. },
  47328. "updatedate": {
  47329. "description": "更新时间",
  47330. "type": "string"
  47331. },
  47332. "urlcontent": {
  47333. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  47334. "type": "string"
  47335. },
  47336. "urltype": {
  47337. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  47338. "type": "integer"
  47339. }
  47340. }
  47341. },
  47342. "models.WrDeliveryAvalidHoldLB": {
  47343. "type": "object",
  47344. "properties": {
  47345. "accountid": {
  47346. "description": "资金账号",
  47347. "type": "integer"
  47348. },
  47349. "avalidqty": {
  47350. "description": "数量(可点选数量)",
  47351. "type": "number"
  47352. },
  47353. "deliverygoodsid": {
  47354. "description": "品种id",
  47355. "type": "integer"
  47356. },
  47357. "enumdicname": {
  47358. "description": "单位名称",
  47359. "type": "string"
  47360. },
  47361. "goodsid": {
  47362. "description": "x合约商品id",
  47363. "type": "integer"
  47364. },
  47365. "ladingbillid": {
  47366. "description": "提单id",
  47367. "type": "string"
  47368. },
  47369. "pgoodscode": {
  47370. "description": "p商品代码(点价合约)",
  47371. "type": "string"
  47372. },
  47373. "pgoodsid": {
  47374. "description": "p商品id(点价合约)",
  47375. "type": "integer"
  47376. },
  47377. "pgoodsname": {
  47378. "description": "p商品名称(点价合约)",
  47379. "type": "string"
  47380. },
  47381. "pricemove": {
  47382. "description": "升贴水",
  47383. "type": "number"
  47384. },
  47385. "subnum": {
  47386. "description": "提单子id",
  47387. "type": "integer"
  47388. },
  47389. "userid": {
  47390. "description": "用户id",
  47391. "type": "integer"
  47392. },
  47393. "username": {
  47394. "description": "仓单持有人",
  47395. "type": "string"
  47396. },
  47397. "warehousecode": {
  47398. "description": "仓库代码",
  47399. "type": "string"
  47400. },
  47401. "warehouseid": {
  47402. "description": "仓库id",
  47403. "type": "integer"
  47404. },
  47405. "warehousename": {
  47406. "description": "仓库名称",
  47407. "type": "string"
  47408. },
  47409. "wrfactortypeid": {
  47410. "description": "仓单要素id",
  47411. "type": "string"
  47412. },
  47413. "wrstandardcode": {
  47414. "description": "品代码",
  47415. "type": "string"
  47416. },
  47417. "wrstandardid": {
  47418. "description": "品类d",
  47419. "type": "integer"
  47420. },
  47421. "wrstandardname": {
  47422. "description": "品类名称",
  47423. "type": "string"
  47424. },
  47425. "wrtypename": {
  47426. "description": "商品",
  47427. "type": "string"
  47428. },
  47429. "xgoodscode": {
  47430. "description": "x合约代码",
  47431. "type": "string"
  47432. },
  47433. "xgoodsname": {
  47434. "description": "x合约名称",
  47435. "type": "string"
  47436. }
  47437. }
  47438. },
  47439. "models.WrDeliveryDetail": {
  47440. "type": "object",
  47441. "properties": {
  47442. "accountid": {
  47443. "description": "账号ID",
  47444. "type": "integer"
  47445. },
  47446. "averageprice": {
  47447. "description": "期初均价",
  47448. "type": "number"
  47449. },
  47450. "begindate": {
  47451. "description": "开始交易日(yyyymmdd)",
  47452. "type": "string"
  47453. },
  47454. "buyorsell": {
  47455. "description": "方向 - 0:买 1:卖",
  47456. "type": "integer"
  47457. },
  47458. "deliveryamount": {
  47459. "description": "货款金额(X总货款+P总货款)",
  47460. "type": "number"
  47461. },
  47462. "deliveryid": {
  47463. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  47464. "type": "string"
  47465. },
  47466. "deliveryorderid": {
  47467. "description": "申报单号",
  47468. "type": "string"
  47469. },
  47470. "deliverypricemove": {
  47471. "description": "升贴水(升贴水总额)",
  47472. "type": "number"
  47473. },
  47474. "deliveryqty": {
  47475. "description": "交收数量(点选数量)",
  47476. "type": "number"
  47477. },
  47478. "deliverystatus": {
  47479. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  47480. "type": "integer"
  47481. },
  47482. "deliverytime": {
  47483. "description": "交割时间",
  47484. "type": "string"
  47485. },
  47486. "deliverytotalamount": {
  47487. "description": "交收金额",
  47488. "type": "number"
  47489. },
  47490. "enddate": {
  47491. "description": "结束交易日(yyyymmdd)",
  47492. "type": "string"
  47493. },
  47494. "enumdicname": {
  47495. "description": "单位名称",
  47496. "type": "string"
  47497. },
  47498. "matchaccountid": {
  47499. "description": "对手账号ID",
  47500. "type": "integer"
  47501. },
  47502. "matchusername": {
  47503. "description": "对手方名称(仓单持有人)",
  47504. "type": "string"
  47505. },
  47506. "p1goodsremainamount": {
  47507. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  47508. "type": "number"
  47509. },
  47510. "pdeliverycloseqty": {
  47511. "description": "p合约平仓数量",
  47512. "type": "number"
  47513. },
  47514. "pdeliveryprice": {
  47515. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  47516. "type": "number"
  47517. },
  47518. "pgoodscode": {
  47519. "description": "商品代码",
  47520. "type": "string"
  47521. },
  47522. "pgoodsid": {
  47523. "description": "p点选合约id",
  47524. "type": "integer"
  47525. },
  47526. "pgoodsname": {
  47527. "description": "商品名称",
  47528. "type": "string"
  47529. },
  47530. "ppricemode": {
  47531. "description": "点价价格方式 - 1:商品价 2:固定值",
  47532. "type": "integer"
  47533. },
  47534. "tradedate": {
  47535. "description": "交易日(yyyymmdd)",
  47536. "type": "string"
  47537. },
  47538. "userid": {
  47539. "description": "用户id",
  47540. "type": "integer"
  47541. },
  47542. "username": {
  47543. "description": "用户名称",
  47544. "type": "string"
  47545. },
  47546. "warehousename": {
  47547. "description": "仓库名称",
  47548. "type": "string"
  47549. },
  47550. "wrfactortypeid": {
  47551. "description": "仓单要素类型ID",
  47552. "type": "string"
  47553. },
  47554. "wrtypename": {
  47555. "description": "商品",
  47556. "type": "string"
  47557. },
  47558. "xdeliverycloseqty": {
  47559. "description": "合约数量",
  47560. "type": "number"
  47561. },
  47562. "xgoodsamount": {
  47563. "description": "期初均价",
  47564. "type": "number"
  47565. },
  47566. "xgoodscode": {
  47567. "description": "商品代码",
  47568. "type": "string"
  47569. },
  47570. "xgoodsid": {
  47571. "description": "x交易合约ID",
  47572. "type": "integer"
  47573. },
  47574. "xgoodsname": {
  47575. "description": "商品名称",
  47576. "type": "string"
  47577. }
  47578. }
  47579. },
  47580. "models.WrDeliveryGoodsSection": {
  47581. "type": "object",
  47582. "properties": {
  47583. "dglst": {
  47584. "description": "板块商品列表",
  47585. "type": "array",
  47586. "items": {
  47587. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  47588. }
  47589. },
  47590. "imagepath": {
  47591. "description": "图片地址",
  47592. "type": "string"
  47593. },
  47594. "orderindex": {
  47595. "description": "排序",
  47596. "type": "integer"
  47597. },
  47598. "sectionid": {
  47599. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  47600. "type": "integer"
  47601. },
  47602. "sectionname": {
  47603. "description": "版块名称",
  47604. "type": "string"
  47605. },
  47606. "sectiontype": {
  47607. "description": "版块类型 - 1:指数版块 2:普通版块",
  47608. "type": "integer"
  47609. }
  47610. }
  47611. },
  47612. "models.WrDeliveryGoodsSectionConfig": {
  47613. "type": "object",
  47614. "properties": {
  47615. "deliverygoodscode": {
  47616. "description": "现货商品代码",
  47617. "type": "string"
  47618. },
  47619. "deliverygoodsid": {
  47620. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  47621. "type": "integer"
  47622. },
  47623. "deliverygoodsname": {
  47624. "description": "现货商品名称",
  47625. "type": "string"
  47626. },
  47627. "orderindex": {
  47628. "description": "排序",
  47629. "type": "integer"
  47630. }
  47631. }
  47632. },
  47633. "models.WrDraftUserInfo": {
  47634. "type": "object",
  47635. "properties": {
  47636. "address": {
  47637. "description": "地址",
  47638. "type": "string"
  47639. },
  47640. "attachment1": {
  47641. "description": "附件1",
  47642. "type": "string"
  47643. },
  47644. "attachment2": {
  47645. "description": "附件2",
  47646. "type": "string"
  47647. },
  47648. "attachment3": {
  47649. "description": "附件3",
  47650. "type": "string"
  47651. },
  47652. "attachment4": {
  47653. "description": "附件4",
  47654. "type": "string"
  47655. },
  47656. "attachment5": {
  47657. "description": "附件5",
  47658. "type": "string"
  47659. },
  47660. "bankaccount": {
  47661. "description": "银行帐号 (加密存储)",
  47662. "type": "string"
  47663. },
  47664. "bankaccountname": {
  47665. "description": "收款人名称",
  47666. "type": "string"
  47667. },
  47668. "bankcardfrontphotourl": {
  47669. "description": "银行卡正面照地址",
  47670. "type": "string"
  47671. },
  47672. "bankid": {
  47673. "description": "银行编码",
  47674. "type": "string"
  47675. },
  47676. "bankname": {
  47677. "description": "银行名称",
  47678. "type": "string"
  47679. },
  47680. "birthday": {
  47681. "description": "生日(个人:年月日)",
  47682. "type": "string"
  47683. },
  47684. "biznature": {
  47685. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  47686. "type": "integer"
  47687. },
  47688. "bizscope": {
  47689. "description": "企业经营范围(企业)",
  47690. "type": "string"
  47691. },
  47692. "biztype": {
  47693. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  47694. "type": "integer"
  47695. },
  47696. "cardbackphotourl": {
  47697. "description": "证件背面图片地址",
  47698. "type": "string"
  47699. },
  47700. "cardfrontphotourl": {
  47701. "description": "证件正面图片地址",
  47702. "type": "string"
  47703. },
  47704. "cardnum": {
  47705. "description": "证件号码(加密存储)",
  47706. "type": "string"
  47707. },
  47708. "cardtypeid": {
  47709. "description": "证件类型ID",
  47710. "type": "integer"
  47711. },
  47712. "cityid": {
  47713. "description": "市",
  47714. "type": "integer"
  47715. },
  47716. "company": {
  47717. "description": "公司(个人)",
  47718. "type": "string"
  47719. },
  47720. "contactcardbackphotourl": {
  47721. "description": "联系人证件背面图片地址",
  47722. "type": "string"
  47723. },
  47724. "contactcardfrontphotourl": {
  47725. "description": "联系人证件正面图片地址",
  47726. "type": "string"
  47727. },
  47728. "contactname": {
  47729. "description": "联系人",
  47730. "type": "string"
  47731. },
  47732. "countryid": {
  47733. "description": "国家",
  47734. "type": "integer"
  47735. },
  47736. "createtime": {
  47737. "description": "创建时间",
  47738. "type": "string"
  47739. },
  47740. "creatorid": {
  47741. "description": "创建人",
  47742. "type": "integer"
  47743. },
  47744. "creditquota": {
  47745. "description": "授信额度(金瑞)",
  47746. "type": "number"
  47747. },
  47748. "customername": {
  47749. "description": "客户名称(企业名称)",
  47750. "type": "string"
  47751. },
  47752. "districtid": {
  47753. "description": "地区",
  47754. "type": "integer"
  47755. },
  47756. "email": {
  47757. "description": "邮件(加密存储)",
  47758. "type": "string"
  47759. },
  47760. "fax": {
  47761. "description": "传真(加密存储)",
  47762. "type": "string"
  47763. },
  47764. "halfbodyphotourl": {
  47765. "description": "半身照地址",
  47766. "type": "string"
  47767. },
  47768. "hasencrypt": {
  47769. "description": "数据是否已加密 - 0:未加密 1:已加密",
  47770. "type": "integer"
  47771. },
  47772. "headurl": {
  47773. "description": "头像地址",
  47774. "type": "string"
  47775. },
  47776. "legalcardbackphotourl": {
  47777. "description": "法人身份证背面照地址",
  47778. "type": "string"
  47779. },
  47780. "legalcardfrontphotourl": {
  47781. "description": "法人身份证正面照地址",
  47782. "type": "string"
  47783. },
  47784. "legalpersonname": {
  47785. "description": "法人姓名(企业)",
  47786. "type": "string"
  47787. },
  47788. "mobile": {
  47789. "description": "手机号码(加密存储)",
  47790. "type": "string"
  47791. },
  47792. "mobile2": {
  47793. "description": "手机号码[明文-尚志]",
  47794. "type": "string"
  47795. },
  47796. "modifierid": {
  47797. "description": "修改人",
  47798. "type": "integer"
  47799. },
  47800. "modifiertime": {
  47801. "description": "修改时间",
  47802. "type": "string"
  47803. },
  47804. "needinvoice": {
  47805. "description": "是否需要发票 - 0:不需要 1:需要",
  47806. "type": "integer"
  47807. },
  47808. "nickname": {
  47809. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  47810. "type": "string"
  47811. },
  47812. "openmode": {
  47813. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  47814. "type": "integer"
  47815. },
  47816. "otherurl": {
  47817. "description": "其它图片地址[使用分号分隔]",
  47818. "type": "string"
  47819. },
  47820. "postalcode": {
  47821. "description": "邮政编码",
  47822. "type": "string"
  47823. },
  47824. "provinceid": {
  47825. "description": "省",
  47826. "type": "integer"
  47827. },
  47828. "proxystatementurl": {
  47829. "description": "授权委托书",
  47830. "type": "string"
  47831. },
  47832. "qq": {
  47833. "description": "QQ(加密存储",
  47834. "type": "string"
  47835. },
  47836. "remark": {
  47837. "description": "备注",
  47838. "type": "string"
  47839. },
  47840. "sex": {
  47841. "description": "用户性别 0: 女 1: 男",
  47842. "type": "integer"
  47843. },
  47844. "signpdfurl": {
  47845. "description": "签约pdf文件",
  47846. "type": "string"
  47847. },
  47848. "taxpayernum": {
  47849. "description": "纳税人识别号",
  47850. "type": "string"
  47851. },
  47852. "telphone": {
  47853. "description": "联系电话(加密存储)",
  47854. "type": "string"
  47855. },
  47856. "userid": {
  47857. "description": "用户ID",
  47858. "type": "integer"
  47859. },
  47860. "userinfotype": {
  47861. "description": "用户信息类型 - 1:个人 2:企业",
  47862. "type": "integer"
  47863. },
  47864. "userstatus": {
  47865. "description": "用户状态 - 1:正常 2:注销",
  47866. "type": "integer"
  47867. },
  47868. "usertype": {
  47869. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  47870. "type": "integer"
  47871. },
  47872. "wechat": {
  47873. "description": "微信(加密存储)",
  47874. "type": "string"
  47875. },
  47876. "wskhinfo": {
  47877. "description": "开户申请信息(JSON)",
  47878. "type": "string"
  47879. }
  47880. }
  47881. },
  47882. "models.WrFAProductDetail": {
  47883. "type": "object",
  47884. "properties": {
  47885. "accountid": {
  47886. "description": "资金账号",
  47887. "type": "integer"
  47888. },
  47889. "areauserid": {
  47890. "description": "金融机构ID",
  47891. "type": "integer"
  47892. },
  47893. "financingdays": {
  47894. "description": "天数(天)",
  47895. "type": "integer"
  47896. },
  47897. "interestminlen": {
  47898. "description": "最小起息天数",
  47899. "type": "integer"
  47900. },
  47901. "interestrate": {
  47902. "description": "利率",
  47903. "type": "number"
  47904. },
  47905. "interestratemode": {
  47906. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  47907. "type": "integer"
  47908. },
  47909. "interestsettlemode": {
  47910. "description": "结息方式 - 1:按日结息 3:按月结息",
  47911. "type": "integer"
  47912. },
  47913. "interestsettlevalue": {
  47914. "description": "结息方式值",
  47915. "type": "integer"
  47916. },
  47917. "isautoloan": {
  47918. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  47919. "type": "integer"
  47920. },
  47921. "loantag": {
  47922. "description": "放款标识: \"放款快\" 或者为空",
  47923. "type": "string"
  47924. },
  47925. "marginratio": {
  47926. "description": "保证金比率质押率 - [仓单质押]",
  47927. "type": "number"
  47928. },
  47929. "productdetailid": {
  47930. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  47931. "type": "integer"
  47932. },
  47933. "productid": {
  47934. "description": "金融产品ID",
  47935. "type": "integer"
  47936. },
  47937. "productname": {
  47938. "description": "产品名称",
  47939. "type": "string"
  47940. },
  47941. "updatetime": {
  47942. "description": "更新时间",
  47943. "type": "string"
  47944. },
  47945. "username": {
  47946. "description": "融出方",
  47947. "type": "string"
  47948. }
  47949. }
  47950. },
  47951. "models.WrFactorTypeInfo": {
  47952. "type": "object",
  47953. "properties": {
  47954. "deliverygoodscode": {
  47955. "description": "品种代码",
  47956. "type": "string"
  47957. },
  47958. "deliverygoodsname": {
  47959. "description": "品种名称",
  47960. "type": "string"
  47961. },
  47962. "dgfactoryitemid": {
  47963. "description": "选择项id",
  47964. "type": "integer"
  47965. },
  47966. "dgfactoryitemtypeid": {
  47967. "description": "要素选择项ID (1-仓库 2-品牌)",
  47968. "type": "integer"
  47969. },
  47970. "dgfactoryitemvalue": {
  47971. "description": "要素项值",
  47972. "type": "string"
  47973. },
  47974. "itemtypename": {
  47975. "description": "要素项名称",
  47976. "type": "string"
  47977. },
  47978. "optioncompare": {
  47979. "description": "选择比较串",
  47980. "type": "string"
  47981. },
  47982. "warehouseid": {
  47983. "description": "仓库id",
  47984. "type": "integer"
  47985. },
  47986. "wrfactortypeid": {
  47987. "description": "仓单要素ID",
  47988. "type": "string"
  47989. },
  47990. "wrfactortypename": {
  47991. "description": "要素名称",
  47992. "type": "string"
  47993. },
  47994. "wrfactortypename2": {
  47995. "description": "要素名称(不含仓库)",
  47996. "type": "string"
  47997. },
  47998. "wrstandardcode": {
  47999. "description": "品类代码",
  48000. "type": "string"
  48001. },
  48002. "wrstandardid": {
  48003. "description": "品类id",
  48004. "type": "integer"
  48005. },
  48006. "wrstandardname": {
  48007. "description": "品类名称",
  48008. "type": "string"
  48009. }
  48010. }
  48011. },
  48012. "models.WrFilterItem": {
  48013. "type": "object",
  48014. "properties": {
  48015. "itemcode": {
  48016. "description": "代码",
  48017. "type": "string"
  48018. },
  48019. "itemid": {
  48020. "description": "项id",
  48021. "type": "integer"
  48022. },
  48023. "itemname": {
  48024. "description": "名称",
  48025. "type": "string"
  48026. },
  48027. "itemtype": {
  48028. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  48029. "type": "integer"
  48030. }
  48031. }
  48032. },
  48033. "models.WrFinanceBuyApply": {
  48034. "type": "object",
  48035. "properties": {
  48036. "applydate": {
  48037. "description": "申请时间",
  48038. "type": "string"
  48039. },
  48040. "applystatus": {
  48041. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  48042. "type": "integer"
  48043. },
  48044. "applyuserid": {
  48045. "description": "申请人",
  48046. "type": "integer"
  48047. },
  48048. "auditdate": {
  48049. "description": "审核时间",
  48050. "type": "string"
  48051. },
  48052. "auditremark": {
  48053. "description": "审核备注",
  48054. "type": "string"
  48055. },
  48056. "audituserid": {
  48057. "description": "审核人",
  48058. "type": "integer"
  48059. },
  48060. "buyaccountid": {
  48061. "description": "买方资金账号",
  48062. "type": "integer"
  48063. },
  48064. "buyorsell": {
  48065. "description": "买卖 - 0:买 1:卖",
  48066. "type": "integer"
  48067. },
  48068. "buyuserid": {
  48069. "description": "买方用户ID",
  48070. "type": "integer"
  48071. },
  48072. "buyusername": {
  48073. "description": "买方名称",
  48074. "type": "string"
  48075. },
  48076. "buywrtradeorderid": {
  48077. "description": "融资方买委托单ID",
  48078. "type": "string"
  48079. },
  48080. "deliverygoodscode": {
  48081. "description": "品种代码",
  48082. "type": "string"
  48083. },
  48084. "deliverygoodsid": {
  48085. "description": "品种ID",
  48086. "type": "integer"
  48087. },
  48088. "deliverygoodsname": {
  48089. "description": "品种名称",
  48090. "type": "string"
  48091. },
  48092. "deliverymonth": {
  48093. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  48094. "type": "string"
  48095. },
  48096. "enumdicname": {
  48097. "description": "单位名称",
  48098. "type": "string"
  48099. },
  48100. "financeaccountid": {
  48101. "description": "融资方资金帐户ID",
  48102. "type": "integer"
  48103. },
  48104. "financeapplyid": {
  48105. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  48106. "type": "string"
  48107. },
  48108. "financeareauserid": {
  48109. "description": "融资方用户ID",
  48110. "type": "string"
  48111. },
  48112. "financename": {
  48113. "description": "融出方名称",
  48114. "type": "string"
  48115. },
  48116. "financetype": {
  48117. "description": "融资类型 1-融资回购",
  48118. "type": "integer"
  48119. },
  48120. "financingdays": {
  48121. "description": "天数(天)",
  48122. "type": "integer"
  48123. },
  48124. "freezebuymargin": {
  48125. "description": "冻结融资保证金(买方)",
  48126. "type": "number"
  48127. },
  48128. "handleremark": {
  48129. "description": "处理备注",
  48130. "type": "string"
  48131. },
  48132. "handlestatus": {
  48133. "description": "处理状态",
  48134. "type": "integer"
  48135. },
  48136. "interestminlen": {
  48137. "description": "最小起息天数",
  48138. "type": "integer"
  48139. },
  48140. "interestrate": {
  48141. "description": "利率",
  48142. "type": "number"
  48143. },
  48144. "interestratemode": {
  48145. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  48146. "type": "integer"
  48147. },
  48148. "interestsettlemode": {
  48149. "description": "结息方式 - 1:按日结息 3:按月结息",
  48150. "type": "integer"
  48151. },
  48152. "interestsettlevalue": {
  48153. "description": "结息方式值",
  48154. "type": "integer"
  48155. },
  48156. "isautoloan": {
  48157. "description": "是否自动放款 - 0:手动 1:自动",
  48158. "type": "integer"
  48159. },
  48160. "marginratio": {
  48161. "description": "保证金比率质押率 - [仓单质押]",
  48162. "type": "number"
  48163. },
  48164. "marketid": {
  48165. "description": "市场ID",
  48166. "type": "integer"
  48167. },
  48168. "minivalue": {
  48169. "description": "现货商品最小变动值",
  48170. "type": "integer"
  48171. },
  48172. "optioncompare": {
  48173. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  48174. "type": "string"
  48175. },
  48176. "orderqty": {
  48177. "description": "委托数量(商品数量)",
  48178. "type": "number"
  48179. },
  48180. "productdetailid": {
  48181. "description": "产品组合ID",
  48182. "type": "integer"
  48183. },
  48184. "productid": {
  48185. "description": "金融产品ID",
  48186. "type": "integer"
  48187. },
  48188. "productname": {
  48189. "description": "产品名称",
  48190. "type": "string"
  48191. },
  48192. "remark": {
  48193. "description": "备注",
  48194. "type": "string"
  48195. },
  48196. "scfcontractid": {
  48197. "description": "仓单回购合同ID",
  48198. "type": "string"
  48199. },
  48200. "sellaccountid": {
  48201. "description": "卖方资金账号",
  48202. "type": "integer"
  48203. },
  48204. "selluserid": {
  48205. "description": "卖方用户ID",
  48206. "type": "integer"
  48207. },
  48208. "sellwrtradeorderid": {
  48209. "description": "卖方委托单ID",
  48210. "type": "string"
  48211. },
  48212. "tradeamount": {
  48213. "description": "成交金额(借款金额)",
  48214. "type": "number"
  48215. },
  48216. "tradedate": {
  48217. "description": "交易日(yyyyMMdd)",
  48218. "type": "string"
  48219. },
  48220. "tradeprice": {
  48221. "description": "成交价格",
  48222. "type": "number"
  48223. },
  48224. "warehouseid": {
  48225. "description": "仓库ID",
  48226. "type": "integer"
  48227. },
  48228. "warehousename": {
  48229. "description": "仓库名称",
  48230. "type": "string"
  48231. },
  48232. "wrfactortypeid": {
  48233. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  48234. "type": "string"
  48235. },
  48236. "wrfactortypename": {
  48237. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  48238. "type": "string"
  48239. },
  48240. "wrpricetype": {
  48241. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  48242. "type": "integer"
  48243. },
  48244. "wrstandardcode": {
  48245. "description": "现货商品代码",
  48246. "type": "string"
  48247. },
  48248. "wrstandardid": {
  48249. "description": "现货商品ID",
  48250. "type": "integer"
  48251. },
  48252. "wrstandardname": {
  48253. "description": "商品名称",
  48254. "type": "string"
  48255. },
  48256. "wrtypename": {
  48257. "description": "商品",
  48258. "type": "string"
  48259. }
  48260. }
  48261. },
  48262. "models.WrFriendApply": {
  48263. "type": "object",
  48264. "properties": {
  48265. "applicantid": {
  48266. "description": "申请人",
  48267. "type": "integer"
  48268. },
  48269. "applyname": {
  48270. "description": "申请人名称",
  48271. "type": "string"
  48272. },
  48273. "applysrc": {
  48274. "description": "申请来源 - 1:管理端 2:终端",
  48275. "type": "integer"
  48276. },
  48277. "applystatus": {
  48278. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  48279. "type": "integer"
  48280. },
  48281. "applytime": {
  48282. "description": "申请时间",
  48283. "type": "string"
  48284. },
  48285. "auditname": {
  48286. "description": "审核人名称",
  48287. "type": "string"
  48288. },
  48289. "auditorid": {
  48290. "description": "审核人",
  48291. "type": "integer"
  48292. },
  48293. "auditremark": {
  48294. "description": "审核备注",
  48295. "type": "string"
  48296. },
  48297. "auditsrc": {
  48298. "description": "审核来源 - 1:管理端 2:终端",
  48299. "type": "integer"
  48300. },
  48301. "audittime": {
  48302. "description": "审核时间",
  48303. "type": "string"
  48304. },
  48305. "friendapplyid": {
  48306. "description": "申请ID(SEQ_FRIENDAPPLY)",
  48307. "type": "string"
  48308. },
  48309. "friendname": {
  48310. "description": "好友名字(已脱敏)",
  48311. "type": "string"
  48312. },
  48313. "frienduserid": {
  48314. "description": "好友用户ID",
  48315. "type": "string"
  48316. },
  48317. "remark": {
  48318. "description": "备注",
  48319. "type": "string"
  48320. },
  48321. "userid": {
  48322. "description": "申请人用户ID",
  48323. "type": "integer"
  48324. }
  48325. }
  48326. },
  48327. "models.WrFtDeliveryGoods": {
  48328. "type": "object",
  48329. "properties": {
  48330. "deliverygoodscode": {
  48331. "description": "品种代码",
  48332. "type": "string"
  48333. },
  48334. "deliverygoodsid": {
  48335. "description": "品种ID",
  48336. "type": "integer"
  48337. },
  48338. "deliverygoodsname": {
  48339. "description": "品种名称",
  48340. "type": "string"
  48341. },
  48342. "wdlst": {
  48343. "description": "商品列表",
  48344. "type": "array",
  48345. "items": {
  48346. "$ref": "#/definitions/models.WrFtWrstandard"
  48347. }
  48348. }
  48349. }
  48350. },
  48351. "models.WrFtWrstandard": {
  48352. "type": "object",
  48353. "properties": {
  48354. "enumdicname": {
  48355. "description": "单位名称",
  48356. "type": "string"
  48357. },
  48358. "minivalue": {
  48359. "description": "最小变动值",
  48360. "type": "integer"
  48361. },
  48362. "wrstandardcode": {
  48363. "description": "现货商品代码",
  48364. "type": "string"
  48365. },
  48366. "wrstandardid": {
  48367. "description": "现货商品ID",
  48368. "type": "integer"
  48369. },
  48370. "wrstandardname": {
  48371. "description": "商品名称",
  48372. "type": "string"
  48373. }
  48374. }
  48375. },
  48376. "models.WrGoodsInfo": {
  48377. "type": "object",
  48378. "properties": {
  48379. "haswr": {
  48380. "description": "0:仓单预售 1:仓单贸易",
  48381. "type": "integer"
  48382. },
  48383. "lstitem": {
  48384. "description": "商品信息项",
  48385. "type": "array",
  48386. "items": {
  48387. "$ref": "#/definitions/models.WrTypeItem"
  48388. }
  48389. },
  48390. "lststep": {
  48391. "description": "履约规则",
  48392. "type": "array",
  48393. "items": {
  48394. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  48395. }
  48396. },
  48397. "marketid": {
  48398. "description": "市场id",
  48399. "type": "integer"
  48400. }
  48401. }
  48402. },
  48403. "models.WrGoodsPerformanceStep": {
  48404. "type": "object",
  48405. "properties": {
  48406. "autoid": {
  48407. "description": "AutoID",
  48408. "type": "integer"
  48409. },
  48410. "isauto": {
  48411. "description": "是否自动 - 0:不自动 1:自动",
  48412. "type": "integer"
  48413. },
  48414. "remark": {
  48415. "description": "备注",
  48416. "type": "string"
  48417. },
  48418. "stepdate": {
  48419. "description": "天数信息(T+N)",
  48420. "type": "string"
  48421. },
  48422. "stepdays": {
  48423. "description": "距离上一步天数",
  48424. "type": "integer"
  48425. },
  48426. "stepindex": {
  48427. "description": "步骤序号",
  48428. "type": "integer"
  48429. },
  48430. "stepinfo": {
  48431. "description": "步骤信息(步骤名称+步骤值)",
  48432. "type": "string"
  48433. },
  48434. "steptypeid": {
  48435. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  48436. "type": "integer"
  48437. },
  48438. "steptypename": {
  48439. "description": "步骤名称",
  48440. "type": "string"
  48441. },
  48442. "stepvalue": {
  48443. "description": "期初均价",
  48444. "type": "number"
  48445. },
  48446. "templateid": {
  48447. "description": "履约计划模板ID",
  48448. "type": "integer"
  48449. }
  48450. }
  48451. },
  48452. "models.WrHoldLB": {
  48453. "type": "object",
  48454. "properties": {
  48455. "accountid": {
  48456. "description": "持有人帐户ID",
  48457. "type": "integer"
  48458. },
  48459. "bannerpicurl": {
  48460. "description": "Banner图",
  48461. "type": "string"
  48462. },
  48463. "createtime": {
  48464. "description": "创建时间(过户时间)",
  48465. "type": "string"
  48466. },
  48467. "deliverygoodscode": {
  48468. "description": "品种代码",
  48469. "type": "string"
  48470. },
  48471. "deliverygoodsid": {
  48472. "description": "品种ID",
  48473. "type": "integer"
  48474. },
  48475. "deliverygoodsname": {
  48476. "description": "品种名称",
  48477. "type": "string"
  48478. },
  48479. "enableqty": {
  48480. "description": "可用数量",
  48481. "type": "number"
  48482. },
  48483. "enumdicname": {
  48484. "description": "单位名称",
  48485. "type": "string"
  48486. },
  48487. "freezerqty": {
  48488. "description": "冻结数量",
  48489. "type": "number"
  48490. },
  48491. "ladingbillid": {
  48492. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  48493. "type": "string"
  48494. },
  48495. "minivalue": {
  48496. "description": "现货商品最小变动值",
  48497. "type": "integer"
  48498. },
  48499. "optioncompare": {
  48500. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  48501. "type": "string"
  48502. },
  48503. "parentsubnum": {
  48504. "description": "拆分父子单号",
  48505. "type": "integer"
  48506. },
  48507. "pledgeqty": {
  48508. "description": "质押数量",
  48509. "type": "number"
  48510. },
  48511. "qty": {
  48512. "description": "数量",
  48513. "type": "number"
  48514. },
  48515. "spotgoodsprice": {
  48516. "description": "参考价(THJ)",
  48517. "type": "number"
  48518. },
  48519. "subnum": {
  48520. "description": "提单子单号",
  48521. "type": "integer"
  48522. },
  48523. "thumurls": {
  48524. "description": "缩略图",
  48525. "type": "string"
  48526. },
  48527. "tradedate": {
  48528. "description": "交易日(yyyyMMdd)",
  48529. "type": "string"
  48530. },
  48531. "userid": {
  48532. "description": "持有人ID",
  48533. "type": "integer"
  48534. },
  48535. "warehouseid": {
  48536. "description": "仓库ID",
  48537. "type": "integer"
  48538. },
  48539. "warehousename": {
  48540. "description": "仓库名称",
  48541. "type": "string"
  48542. },
  48543. "wrfactortypeid": {
  48544. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  48545. "type": "string"
  48546. },
  48547. "wrfactortypename": {
  48548. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  48549. "type": "string"
  48550. },
  48551. "wrholdeno": {
  48552. "description": "仓单编号",
  48553. "type": "string"
  48554. },
  48555. "wrid": {
  48556. "description": "仓单变更ID",
  48557. "type": "string"
  48558. },
  48559. "wrstandardcode": {
  48560. "description": "现货商品代码",
  48561. "type": "string"
  48562. },
  48563. "wrstandardid": {
  48564. "description": "现货商品ID",
  48565. "type": "integer"
  48566. },
  48567. "wrstandardname": {
  48568. "description": "商品名称",
  48569. "type": "string"
  48570. },
  48571. "wrtypename": {
  48572. "description": "商品",
  48573. "type": "string"
  48574. }
  48575. }
  48576. },
  48577. "models.WrMarketTradeConfig": {
  48578. "type": "object",
  48579. "properties": {
  48580. "basisdownratio": {
  48581. "description": "浮动价基差下限比例(仓单贸易)",
  48582. "type": "number"
  48583. },
  48584. "basisupratio": {
  48585. "description": "浮动价基差上限比例(仓单贸易)",
  48586. "type": "number"
  48587. },
  48588. "buychargealgorithm": {
  48589. "description": "买方手续费收取方式 1:比率 2:固定",
  48590. "type": "integer"
  48591. },
  48592. "buychargealgorithm2": {
  48593. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  48594. "type": "integer"
  48595. },
  48596. "buychargealgorithmvalue": {
  48597. "description": "买方手续费设置值(交易所部分)",
  48598. "type": "number"
  48599. },
  48600. "buychargealgorithmvalue2": {
  48601. "description": "买方手续费设置值(会员部分)",
  48602. "type": "number"
  48603. },
  48604. "buychargealgorithmvalue3": {
  48605. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  48606. "type": "number"
  48607. },
  48608. "buychargealgorithmvalue4": {
  48609. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  48610. "type": "number"
  48611. },
  48612. "buyfirstmarginalgorithm": {
  48613. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  48614. "type": "integer"
  48615. },
  48616. "buyfirstmarginvalue": {
  48617. "description": "买方出价保证金设置值 - [竞拍]",
  48618. "type": "number"
  48619. },
  48620. "buymarginalgorithm": {
  48621. "description": "买方保证金方式 - 1:比率 2:固定",
  48622. "type": "integer"
  48623. },
  48624. "buymarginvalue": {
  48625. "description": "买方保证金设置值",
  48626. "type": "number"
  48627. },
  48628. "buyreleaseratio": {
  48629. "description": "买方释放比率[2:分步履约]",
  48630. "type": "number"
  48631. },
  48632. "executemode": {
  48633. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  48634. "type": "integer"
  48635. },
  48636. "executeside": {
  48637. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  48638. "type": "integer"
  48639. },
  48640. "failedchargealgorithm": {
  48641. "description": "流拍手续费收取方式 1:比率 2:固定",
  48642. "type": "integer"
  48643. },
  48644. "failedchargevalue": {
  48645. "description": "流拍手续费设置值",
  48646. "type": "number"
  48647. },
  48648. "failedchargevalue2": {
  48649. "description": "流拍卖方手续费设置值",
  48650. "type": "number"
  48651. },
  48652. "holddays": {
  48653. "description": "合同期限[2:分步履约]",
  48654. "type": "integer"
  48655. },
  48656. "listingmode": {
  48657. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  48658. "type": "integer"
  48659. },
  48660. "marketid": {
  48661. "description": "市场ID-仓单贸易、竞拍、预售",
  48662. "type": "integer"
  48663. },
  48664. "minqty": {
  48665. "description": "最小执行量[2:分步履约]",
  48666. "type": "number"
  48667. },
  48668. "modifierid": {
  48669. "description": "修改人",
  48670. "type": "integer"
  48671. },
  48672. "nowrquotaflag": {
  48673. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  48674. "type": "integer"
  48675. },
  48676. "performancetempid": {
  48677. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  48678. "type": "integer"
  48679. },
  48680. "performancetempid2": {
  48681. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  48682. "type": "integer"
  48683. },
  48684. "performancetempid2s": {
  48685. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  48686. "type": "string"
  48687. },
  48688. "performancetempids": {
  48689. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  48690. "type": "string"
  48691. },
  48692. "performanceway": {
  48693. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  48694. "type": "integer"
  48695. },
  48696. "sellchargealgorithm": {
  48697. "description": "卖方手续费收取方式 1:比率 2:固定",
  48698. "type": "integer"
  48699. },
  48700. "sellchargealgorithm2": {
  48701. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  48702. "type": "integer"
  48703. },
  48704. "sellchargealgorithmvalue": {
  48705. "description": "卖方手续费设置值(交易所部分)",
  48706. "type": "number"
  48707. },
  48708. "sellchargealgorithmvalue2": {
  48709. "description": "卖方手续费设置值(会员部分)",
  48710. "type": "number"
  48711. },
  48712. "sellchargealgorithmvalue3": {
  48713. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  48714. "type": "number"
  48715. },
  48716. "sellchargealgorithmvalue4": {
  48717. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  48718. "type": "number"
  48719. },
  48720. "sellmarginalgorithm": {
  48721. "description": "卖方保证金方式 - 1:比率 2:固定",
  48722. "type": "integer"
  48723. },
  48724. "sellmarginvalue": {
  48725. "description": "卖方保证金设置值",
  48726. "type": "number"
  48727. },
  48728. "sellmarginvalue2": {
  48729. "description": "卖方保证金设置值(无仓单)",
  48730. "type": "number"
  48731. },
  48732. "sellreleaseratio": {
  48733. "description": "卖方释放比率[2:分步履约]",
  48734. "type": "number"
  48735. },
  48736. "updatetime": {
  48737. "description": "更新时间",
  48738. "type": "string"
  48739. }
  48740. }
  48741. },
  48742. "models.WrOrderDetail": {
  48743. "type": "object",
  48744. "properties": {
  48745. "accountid": {
  48746. "description": "交易账号(资金账号)",
  48747. "type": "integer"
  48748. },
  48749. "allfriendsflag": {
  48750. "description": "是否全好友可见 - 0:否 1:是",
  48751. "type": "integer"
  48752. },
  48753. "amount": {
  48754. "description": "期初均价",
  48755. "type": "number"
  48756. },
  48757. "bannerpicurl": {
  48758. "description": "Banner图",
  48759. "type": "string"
  48760. },
  48761. "begindate": {
  48762. "description": "开始交易日(yyyymmdd)",
  48763. "type": "string"
  48764. },
  48765. "buyorsell": {
  48766. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  48767. "type": "integer"
  48768. },
  48769. "canbargain": {
  48770. "description": "是否可议价 - 0:不可 1:可",
  48771. "type": "integer"
  48772. },
  48773. "cancelqty": {
  48774. "description": "撤销数量",
  48775. "type": "number"
  48776. },
  48777. "canpart": {
  48778. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  48779. "type": "integer"
  48780. },
  48781. "delistminqty": {
  48782. "description": "起摘数量",
  48783. "type": "integer"
  48784. },
  48785. "deliverygoodscode": {
  48786. "description": "品种代码",
  48787. "type": "string"
  48788. },
  48789. "deliverygoodsid": {
  48790. "description": "品种ID",
  48791. "type": "integer"
  48792. },
  48793. "deliverygoodsname": {
  48794. "description": "品种名称",
  48795. "type": "string"
  48796. },
  48797. "deliverymonth": {
  48798. "description": "交收月",
  48799. "type": "string"
  48800. },
  48801. "enddate": {
  48802. "description": "结束交易日(yyyymmdd)",
  48803. "type": "string"
  48804. },
  48805. "enumdicname": {
  48806. "description": "单位名称",
  48807. "type": "string"
  48808. },
  48809. "fixedprice": {
  48810. "description": "固定价格 - [挂牌]",
  48811. "type": "number"
  48812. },
  48813. "freezecharge": {
  48814. "description": "期初均价",
  48815. "type": "number"
  48816. },
  48817. "freezemargin": {
  48818. "description": "期初均价",
  48819. "type": "number"
  48820. },
  48821. "futupricemove": {
  48822. "description": "期货升贴水",
  48823. "type": "number"
  48824. },
  48825. "futushow": {
  48826. "description": "期货合约/升贴水",
  48827. "type": "string"
  48828. },
  48829. "goodscode": {
  48830. "description": "期货合约",
  48831. "type": "string"
  48832. },
  48833. "goodsid": {
  48834. "description": "期货商品id",
  48835. "type": "integer"
  48836. },
  48837. "goodsname": {
  48838. "description": "商品名称",
  48839. "type": "string"
  48840. },
  48841. "haswr": {
  48842. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  48843. "type": "integer"
  48844. },
  48845. "isspecified": {
  48846. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  48847. "type": "integer"
  48848. },
  48849. "ladingbillid": {
  48850. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  48851. "type": "string"
  48852. },
  48853. "marginvalue": {
  48854. "description": "期初均价",
  48855. "type": "number"
  48856. },
  48857. "marketid": {
  48858. "description": "市场ID",
  48859. "type": "integer"
  48860. },
  48861. "matchusername": {
  48862. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  48863. "type": "string"
  48864. },
  48865. "minivalue": {
  48866. "description": "现货商品最小变动值",
  48867. "type": "integer"
  48868. },
  48869. "optioncompare": {
  48870. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  48871. "type": "string"
  48872. },
  48873. "orderqty": {
  48874. "description": "委托数量",
  48875. "type": "number"
  48876. },
  48877. "ordertime": {
  48878. "description": "委托时间(挂牌时间)",
  48879. "type": "string"
  48880. },
  48881. "performancetemplateid": {
  48882. "description": "履约模板id",
  48883. "type": "integer"
  48884. },
  48885. "pricemove": {
  48886. "description": "升贴水(浮动价时填写) - [挂牌]",
  48887. "type": "number"
  48888. },
  48889. "taname": {
  48890. "description": "交易用户名称(资金账号名称)",
  48891. "type": "string"
  48892. },
  48893. "thumurls": {
  48894. "description": "缩略图",
  48895. "type": "string"
  48896. },
  48897. "tradedate": {
  48898. "description": "交易日(yyyyMMdd)",
  48899. "type": "string"
  48900. },
  48901. "tradeprice": {
  48902. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  48903. "type": "number"
  48904. },
  48905. "tradeqty": {
  48906. "description": "成交数量",
  48907. "type": "number"
  48908. },
  48909. "unitid": {
  48910. "description": "现货商品单位ID",
  48911. "type": "integer"
  48912. },
  48913. "userid": {
  48914. "description": "用户ID",
  48915. "type": "integer"
  48916. },
  48917. "validtime": {
  48918. "description": "挂牌有效期",
  48919. "type": "string"
  48920. },
  48921. "validtype": {
  48922. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  48923. "type": "integer"
  48924. },
  48925. "warehouseid": {
  48926. "description": "仓库ID",
  48927. "type": "integer"
  48928. },
  48929. "warehousename": {
  48930. "description": "仓库名称",
  48931. "type": "string"
  48932. },
  48933. "wrfactortypeid": {
  48934. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  48935. "type": "string"
  48936. },
  48937. "wrfactortypename": {
  48938. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  48939. "type": "string"
  48940. },
  48941. "wrpricetype": {
  48942. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  48943. "type": "integer"
  48944. },
  48945. "wrstandardcode": {
  48946. "description": "现货商品代码",
  48947. "type": "string"
  48948. },
  48949. "wrstandardid": {
  48950. "description": "现货商品ID",
  48951. "type": "integer"
  48952. },
  48953. "wrstandardname": {
  48954. "description": "商品名称",
  48955. "type": "string"
  48956. },
  48957. "wrtradeorderid": {
  48958. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  48959. "type": "string"
  48960. },
  48961. "wrtradeorderstatus": {
  48962. "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:撤单解冻贷款失败",
  48963. "type": "integer"
  48964. },
  48965. "wrtradetype": {
  48966. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  48967. "type": "integer"
  48968. },
  48969. "wrtypename": {
  48970. "description": "商品",
  48971. "type": "string"
  48972. }
  48973. }
  48974. },
  48975. "models.WrOrderQuote": {
  48976. "type": "object",
  48977. "properties": {
  48978. "bannerpicurl": {
  48979. "description": "Banner图",
  48980. "type": "string"
  48981. },
  48982. "buyprice": {
  48983. "description": "买价",
  48984. "type": "number"
  48985. },
  48986. "buypricemove": {
  48987. "description": "买升贴水(基差)",
  48988. "type": "number"
  48989. },
  48990. "buyqty": {
  48991. "description": "买量",
  48992. "type": "number"
  48993. },
  48994. "deliverygoodscode": {
  48995. "description": "品种代码",
  48996. "type": "string"
  48997. },
  48998. "deliverygoodsid": {
  48999. "description": "品种id",
  49000. "type": "integer"
  49001. },
  49002. "deliverygoodsname": {
  49003. "description": "品种名称",
  49004. "type": "string"
  49005. },
  49006. "deliverymonth": {
  49007. "description": "交收月",
  49008. "type": "string"
  49009. },
  49010. "enumdicname": {
  49011. "description": "单位名称",
  49012. "type": "string"
  49013. },
  49014. "goodscode": {
  49015. "description": "商品合约(浮动价列表才有)",
  49016. "type": "string"
  49017. },
  49018. "goodsid": {
  49019. "description": "商品id(浮动价列表才有)",
  49020. "type": "integer"
  49021. },
  49022. "minivalue": {
  49023. "description": "现货商品最小变动值",
  49024. "type": "integer"
  49025. },
  49026. "pictureurls": {
  49027. "description": "详情图片(逗号分隔)",
  49028. "type": "string"
  49029. },
  49030. "sellprice": {
  49031. "description": "卖价",
  49032. "type": "number"
  49033. },
  49034. "sellpricemove": {
  49035. "description": "卖升贴水(基差)",
  49036. "type": "number"
  49037. },
  49038. "sellqty": {
  49039. "description": "卖量",
  49040. "type": "number"
  49041. },
  49042. "spotgoodsprice": {
  49043. "description": "参考价(THJ)",
  49044. "type": "number"
  49045. },
  49046. "thumurls": {
  49047. "description": "缩略图片(1:1)(逗号分隔)",
  49048. "type": "string"
  49049. },
  49050. "warehousecode": {
  49051. "description": "仓库代码",
  49052. "type": "string"
  49053. },
  49054. "warehouseid": {
  49055. "description": "仓库id",
  49056. "type": "integer"
  49057. },
  49058. "warehousename": {
  49059. "description": "仓库名称",
  49060. "type": "string"
  49061. },
  49062. "wrfactortypeid": {
  49063. "description": "仓单要素id",
  49064. "type": "string"
  49065. },
  49066. "wrfactortypename": {
  49067. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  49068. "type": "string"
  49069. },
  49070. "wrgoodsname": {
  49071. "description": "商品(商品名称+仓库要素名称 拼接)",
  49072. "type": "string"
  49073. },
  49074. "wrstandardcode": {
  49075. "description": "商品代码",
  49076. "type": "string"
  49077. },
  49078. "wrstandardid": {
  49079. "description": "商品id",
  49080. "type": "integer"
  49081. },
  49082. "wrstandardname": {
  49083. "description": "商品名称",
  49084. "type": "string"
  49085. }
  49086. }
  49087. },
  49088. "models.WrOrderQuoteDetail": {
  49089. "type": "object",
  49090. "properties": {
  49091. "buyorsell": {
  49092. "description": "买卖 - 0:买 1:卖",
  49093. "type": "integer"
  49094. },
  49095. "delistminqty": {
  49096. "description": "期初均价",
  49097. "type": "number"
  49098. },
  49099. "deliverymonth": {
  49100. "description": "交收月",
  49101. "type": "string"
  49102. },
  49103. "enumdicname": {
  49104. "description": "单位名称",
  49105. "type": "string"
  49106. },
  49107. "fixedprice": {
  49108. "description": "买(卖)价",
  49109. "type": "number"
  49110. },
  49111. "marketid": {
  49112. "description": "市场id",
  49113. "type": "integer"
  49114. },
  49115. "minivalue": {
  49116. "description": "现货商品最小变动值",
  49117. "type": "integer"
  49118. },
  49119. "orderqty": {
  49120. "description": "买(卖)量(=委托量-成交量)",
  49121. "type": "number"
  49122. },
  49123. "ordertime": {
  49124. "description": "委托时间",
  49125. "type": "string"
  49126. },
  49127. "pricemove": {
  49128. "description": "买(卖)升贴水- 基差",
  49129. "type": "number"
  49130. },
  49131. "userid": {
  49132. "description": "购买方(销售方)用户ID",
  49133. "type": "integer"
  49134. },
  49135. "username": {
  49136. "description": "购买方(销售方)",
  49137. "type": "string"
  49138. },
  49139. "wrtradeorderid": {
  49140. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  49141. "type": "string"
  49142. }
  49143. }
  49144. },
  49145. "models.WrOutInApply": {
  49146. "type": "object",
  49147. "properties": {
  49148. "address": {
  49149. "description": "详细地址",
  49150. "type": "string"
  49151. },
  49152. "applyid": {
  49153. "description": "申请单id",
  49154. "type": "string"
  49155. },
  49156. "applystatus": {
  49157. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  49158. "type": "integer"
  49159. },
  49160. "applytime": {
  49161. "description": "申请时间",
  49162. "type": "string"
  49163. },
  49164. "applytype": {
  49165. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  49166. "type": "integer"
  49167. },
  49168. "appointmentmodel": {
  49169. "description": "预约方式 - 1:物流 2:自送 3:自提",
  49170. "type": "integer"
  49171. },
  49172. "appointmentmodeldisplay": {
  49173. "description": "预约方式(显示枚举)",
  49174. "type": "string"
  49175. },
  49176. "appointmentremark": {
  49177. "description": "申请备注",
  49178. "type": "string"
  49179. },
  49180. "bannerpicurl": {
  49181. "description": "Banner图",
  49182. "type": "string"
  49183. },
  49184. "begindate": {
  49185. "description": "开始交易日(yyyymmdd)",
  49186. "type": "string"
  49187. },
  49188. "contactname": {
  49189. "description": "联系人",
  49190. "type": "string"
  49191. },
  49192. "contactnum": {
  49193. "description": "联系方式",
  49194. "type": "string"
  49195. },
  49196. "deliverygoodscode": {
  49197. "description": "品种代码",
  49198. "type": "string"
  49199. },
  49200. "deliverygoodsid": {
  49201. "description": "品种ID",
  49202. "type": "integer"
  49203. },
  49204. "deliverygoodsname": {
  49205. "description": "品种名称",
  49206. "type": "string"
  49207. },
  49208. "enddate": {
  49209. "description": "结束交易日(yyyymmdd)",
  49210. "type": "string"
  49211. },
  49212. "enumdicname": {
  49213. "description": "单位名称",
  49214. "type": "string"
  49215. },
  49216. "expresscompany": {
  49217. "description": "物流公司",
  49218. "type": "string"
  49219. },
  49220. "expressnum": {
  49221. "description": "物流单号",
  49222. "type": "string"
  49223. },
  49224. "minivalue": {
  49225. "description": "现货商品最小变动值",
  49226. "type": "integer"
  49227. },
  49228. "optioncompare": {
  49229. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  49230. "type": "string"
  49231. },
  49232. "qty": {
  49233. "description": "数量",
  49234. "type": "integer"
  49235. },
  49236. "userid": {
  49237. "description": "用户id",
  49238. "type": "integer"
  49239. },
  49240. "warehouseid": {
  49241. "description": "仓库ID",
  49242. "type": "integer"
  49243. },
  49244. "warehousename": {
  49245. "description": "仓库名称",
  49246. "type": "string"
  49247. },
  49248. "wrfactortypeid": {
  49249. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  49250. "type": "string"
  49251. },
  49252. "wrfactortypename": {
  49253. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  49254. "type": "string"
  49255. },
  49256. "wrstandardcode": {
  49257. "description": "现货商品代码",
  49258. "type": "string"
  49259. },
  49260. "wrstandardid": {
  49261. "description": "现货商品ID",
  49262. "type": "integer"
  49263. },
  49264. "wrstandardname": {
  49265. "description": "商品名称",
  49266. "type": "string"
  49267. },
  49268. "wrtypename": {
  49269. "description": "商品",
  49270. "type": "string"
  49271. }
  49272. }
  49273. },
  49274. "models.WrPerformancePlan": {
  49275. "type": "object",
  49276. "required": [
  49277. "userid"
  49278. ],
  49279. "properties": {
  49280. "activatemonth": {
  49281. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  49282. "type": "string"
  49283. },
  49284. "amount": {
  49285. "description": "履约金额(总金额)",
  49286. "type": "number"
  49287. },
  49288. "begindate": {
  49289. "description": "开始交易日(yyyymmdd)",
  49290. "type": "string"
  49291. },
  49292. "buyaccountid": {
  49293. "description": "买方账号",
  49294. "type": "integer"
  49295. },
  49296. "buyerfreezeamount": {
  49297. "description": "履约冻结(买履约)",
  49298. "type": "number"
  49299. },
  49300. "buyerfreezeamountremain": {
  49301. "description": "履约冻结剩余(买履约)",
  49302. "type": "number"
  49303. },
  49304. "buyorsell": {
  49305. "description": "买卖方向 0-买 1-卖",
  49306. "type": "integer"
  49307. },
  49308. "buypaidamount": {
  49309. "description": "买方已冻/已扣金额 (已付金额)",
  49310. "type": "number"
  49311. },
  49312. "buyusername": {
  49313. "description": "买方名字",
  49314. "type": "string"
  49315. },
  49316. "contractid": {
  49317. "description": "合同ID",
  49318. "type": "integer"
  49319. },
  49320. "createtime": {
  49321. "description": "创建时间",
  49322. "type": "string"
  49323. },
  49324. "creatorid": {
  49325. "description": "创建人",
  49326. "type": "integer"
  49327. },
  49328. "curstepdeadline": {
  49329. "description": "当前步骤到期时间",
  49330. "type": "string"
  49331. },
  49332. "curstepid": {
  49333. "description": "当前步骤ID",
  49334. "type": "string"
  49335. },
  49336. "curstepname": {
  49337. "description": "当前步骤名称",
  49338. "type": "string"
  49339. },
  49340. "deliverygoodscode": {
  49341. "description": "品种代码",
  49342. "type": "string"
  49343. },
  49344. "deliverygoodsid": {
  49345. "description": "品种ID",
  49346. "type": "integer"
  49347. },
  49348. "deliverygoodsname": {
  49349. "description": "品种名称",
  49350. "type": "string"
  49351. },
  49352. "enddate": {
  49353. "description": "结束交易日(yyyymmdd)",
  49354. "type": "string"
  49355. },
  49356. "enumdicname": {
  49357. "description": "单位名称",
  49358. "type": "string"
  49359. },
  49360. "expressfee": {
  49361. "description": "运费",
  49362. "type": "number"
  49363. },
  49364. "expressfeeconfirmed": {
  49365. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  49366. "type": "integer"
  49367. },
  49368. "hasovershort": {
  49369. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  49370. "type": "integer"
  49371. },
  49372. "haswr": {
  49373. "description": "类型 0-仓单预售 1-仓单贸易",
  49374. "type": "integer"
  49375. },
  49376. "marketid": {
  49377. "description": "市场ID",
  49378. "type": "integer"
  49379. },
  49380. "middleaccountid": {
  49381. "description": "中间商资金账号ID",
  49382. "type": "integer"
  49383. },
  49384. "middleuserid": {
  49385. "description": "中间商用户ID",
  49386. "type": "integer"
  49387. },
  49388. "minivalue": {
  49389. "description": "现货商品最小变动值",
  49390. "type": "integer"
  49391. },
  49392. "optioncompare": {
  49393. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  49394. "type": "string"
  49395. },
  49396. "overshortamount": {
  49397. "description": "溢短金额",
  49398. "type": "number"
  49399. },
  49400. "overshortqty": {
  49401. "description": "溢短数量",
  49402. "type": "number"
  49403. },
  49404. "paymenttype": {
  49405. "description": "付款方式 - 1:冻结 2:扣款",
  49406. "type": "integer"
  49407. },
  49408. "performanceplanid": {
  49409. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  49410. "type": "string"
  49411. },
  49412. "performancestatus": {
  49413. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  49414. "type": "integer"
  49415. },
  49416. "performancetype": {
  49417. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  49418. "type": "integer"
  49419. },
  49420. "qty": {
  49421. "description": "履约数量",
  49422. "type": "number"
  49423. },
  49424. "relatedorderid": {
  49425. "description": "关联单号(履约类型的关联单号)",
  49426. "type": "string"
  49427. },
  49428. "remark": {
  49429. "description": "备注",
  49430. "type": "string"
  49431. },
  49432. "sellaccountid": {
  49433. "description": "卖方账号",
  49434. "type": "integer"
  49435. },
  49436. "sellerfreezeamount": {
  49437. "description": "履约冻结(卖履约)",
  49438. "type": "number"
  49439. },
  49440. "sellerfreezeamountremain": {
  49441. "description": "履约冻结剩余(卖履约)",
  49442. "type": "number"
  49443. },
  49444. "sellreceivedamount": {
  49445. "description": "卖方已收金额",
  49446. "type": "number"
  49447. },
  49448. "sellusername": {
  49449. "description": "卖方名字",
  49450. "type": "string"
  49451. },
  49452. "shipremark": {
  49453. "description": "发货备注[物流单号]",
  49454. "type": "string"
  49455. },
  49456. "starttime": {
  49457. "description": "开始时间",
  49458. "type": "string"
  49459. },
  49460. "steptypeid": {
  49461. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  49462. "type": "integer"
  49463. },
  49464. "typename": {
  49465. "description": "履约类型 名称",
  49466. "type": "string"
  49467. },
  49468. "unpaidamount": {
  49469. "description": "期初均价",
  49470. "type": "number"
  49471. },
  49472. "userid": {
  49473. "description": "用户id",
  49474. "type": "integer"
  49475. },
  49476. "warehouseid": {
  49477. "description": "仓库ID",
  49478. "type": "integer"
  49479. },
  49480. "warehousename": {
  49481. "description": "仓库名称",
  49482. "type": "string"
  49483. },
  49484. "wrfactortypeid": {
  49485. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  49486. "type": "string"
  49487. },
  49488. "wrfactortypename": {
  49489. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  49490. "type": "string"
  49491. },
  49492. "wrstandardcode": {
  49493. "description": "现货商品代码",
  49494. "type": "string"
  49495. },
  49496. "wrstandardid": {
  49497. "description": "现货商品ID",
  49498. "type": "integer"
  49499. },
  49500. "wrstandardname": {
  49501. "description": "商品名称",
  49502. "type": "string"
  49503. },
  49504. "wrtransferuserid": {
  49505. "description": "仓单受让用户",
  49506. "type": "integer"
  49507. },
  49508. "wrtypename": {
  49509. "description": "商品",
  49510. "type": "string"
  49511. }
  49512. }
  49513. },
  49514. "models.WrPerformancePlanStep": {
  49515. "type": "object",
  49516. "properties": {
  49517. "delaydays": {
  49518. "description": "延期申请天数",
  49519. "type": "integer"
  49520. },
  49521. "deliverygoodscode": {
  49522. "description": "品种代码",
  49523. "type": "string"
  49524. },
  49525. "deliverygoodsid": {
  49526. "description": "品种ID",
  49527. "type": "integer"
  49528. },
  49529. "deliverygoodsname": {
  49530. "description": "品种名称",
  49531. "type": "string"
  49532. },
  49533. "endtime": {
  49534. "description": "结束日期",
  49535. "type": "string"
  49536. },
  49537. "enumdicname": {
  49538. "description": "单位名称",
  49539. "type": "string"
  49540. },
  49541. "executeside": {
  49542. "description": "步骤执行方 - 1:买方 2:卖方",
  49543. "type": "integer"
  49544. },
  49545. "handlestatus": {
  49546. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  49547. "type": "integer"
  49548. },
  49549. "isauto": {
  49550. "description": "是否自动 - 0:不自动 1:自动",
  49551. "type": "integer"
  49552. },
  49553. "islastreceivestep": {
  49554. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  49555. "type": "integer"
  49556. },
  49557. "minivalue": {
  49558. "description": "现货商品最小变动值",
  49559. "type": "integer"
  49560. },
  49561. "optioncompare": {
  49562. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  49563. "type": "string"
  49564. },
  49565. "overdays": {
  49566. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  49567. "type": "integer"
  49568. },
  49569. "performancestepid": {
  49570. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  49571. "type": "string"
  49572. },
  49573. "planid": {
  49574. "description": "所属履约计划ID",
  49575. "type": "string"
  49576. },
  49577. "realamount": {
  49578. "description": "实际完成金额",
  49579. "type": "number"
  49580. },
  49581. "relatedorderid": {
  49582. "description": "关联单号",
  49583. "type": "string"
  49584. },
  49585. "remaindays": {
  49586. "description": "剩余天数",
  49587. "type": "integer"
  49588. },
  49589. "remark": {
  49590. "description": "错误备注",
  49591. "type": "string"
  49592. },
  49593. "starttime": {
  49594. "description": "开始日期",
  49595. "type": "string"
  49596. },
  49597. "stepamount": {
  49598. "description": "步骤金额",
  49599. "type": "number"
  49600. },
  49601. "stepdays": {
  49602. "description": "距离上一步天数(分钟)",
  49603. "type": "integer"
  49604. },
  49605. "stepindex": {
  49606. "description": "步骤序号",
  49607. "type": "integer"
  49608. },
  49609. "steplanchtype": {
  49610. "description": "步骤启动类型 - 1:系统自动 2:手动",
  49611. "type": "integer"
  49612. },
  49613. "stepremark": {
  49614. "description": "步骤备注",
  49615. "type": "string"
  49616. },
  49617. "stepstatus": {
  49618. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  49619. "type": "integer"
  49620. },
  49621. "steptypeid": {
  49622. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  49623. "type": "integer"
  49624. },
  49625. "steptypename": {
  49626. "description": "步骤名称",
  49627. "type": "string"
  49628. },
  49629. "stepvalue": {
  49630. "description": "步骤值",
  49631. "type": "number"
  49632. },
  49633. "warehouseid": {
  49634. "description": "仓库ID",
  49635. "type": "integer"
  49636. },
  49637. "warehousename": {
  49638. "description": "仓库名称",
  49639. "type": "string"
  49640. },
  49641. "wrfactortypeid": {
  49642. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  49643. "type": "string"
  49644. },
  49645. "wrfactortypename": {
  49646. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  49647. "type": "string"
  49648. },
  49649. "wrstandardcode": {
  49650. "description": "现货商品代码",
  49651. "type": "string"
  49652. },
  49653. "wrstandardid": {
  49654. "description": "现货商品ID",
  49655. "type": "integer"
  49656. },
  49657. "wrstandardname": {
  49658. "description": "商品名称",
  49659. "type": "string"
  49660. },
  49661. "wrtypename": {
  49662. "description": "商品",
  49663. "type": "string"
  49664. }
  49665. }
  49666. },
  49667. "models.WrPerformanceStepType": {
  49668. "type": "object",
  49669. "properties": {
  49670. "canauto": {
  49671. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  49672. "type": "integer"
  49673. },
  49674. "steptypeid": {
  49675. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  49676. "type": "integer"
  49677. },
  49678. "steptypename": {
  49679. "description": "步骤类型名称",
  49680. "type": "string"
  49681. }
  49682. }
  49683. },
  49684. "models.WrPerformanceTemplateEx": {
  49685. "type": "object",
  49686. "properties": {
  49687. "autoid": {
  49688. "description": "AutoID 模板id",
  49689. "type": "integer"
  49690. },
  49691. "createtime": {
  49692. "description": "创建时间",
  49693. "type": "string"
  49694. },
  49695. "creatorid": {
  49696. "description": "创建人",
  49697. "type": "integer"
  49698. },
  49699. "lstStep": {
  49700. "description": "步骤信息列表",
  49701. "type": "array",
  49702. "items": {
  49703. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  49704. }
  49705. },
  49706. "paymenttype": {
  49707. "description": "支付方式 - 1:冻结 2:扣款",
  49708. "type": "integer"
  49709. },
  49710. "takemode": {
  49711. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  49712. "type": "integer"
  49713. },
  49714. "templatename": {
  49715. "description": "模板名称",
  49716. "type": "string"
  49717. },
  49718. "templatetype": {
  49719. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  49720. "type": "integer"
  49721. },
  49722. "userid": {
  49723. "description": "所属用户",
  49724. "type": "integer"
  49725. }
  49726. }
  49727. },
  49728. "models.WrPosition": {
  49729. "type": "object",
  49730. "properties": {
  49731. "accountid": {
  49732. "description": "帐户ID",
  49733. "type": "integer"
  49734. },
  49735. "buyexcuteqty": {
  49736. "description": "采购履约中数量",
  49737. "type": "number"
  49738. },
  49739. "creditcurqty": {
  49740. "description": "授信当前数量(预售仓单:预售当前量)",
  49741. "type": "number"
  49742. },
  49743. "creditenableqty": {
  49744. "description": "授信可用数量(预售仓单: 可用数量)",
  49745. "type": "number"
  49746. },
  49747. "creditfreezeqty": {
  49748. "description": "授信冻结数量(预售仓单: 当前数量)",
  49749. "type": "number"
  49750. },
  49751. "credittotalqty": {
  49752. "description": "授信总数量(预售仓单:预售总量)",
  49753. "type": "number"
  49754. },
  49755. "credittradeqty": {
  49756. "description": "授信成交数量(预售仓单:成交总量)",
  49757. "type": "number"
  49758. },
  49759. "deliverygoodscode": {
  49760. "description": "品种代码",
  49761. "type": "string"
  49762. },
  49763. "deliverygoodsid": {
  49764. "description": "品种ID",
  49765. "type": "integer"
  49766. },
  49767. "deliverygoodsname": {
  49768. "description": "品种名称",
  49769. "type": "string"
  49770. },
  49771. "enalbeqty": {
  49772. "description": "可用数量",
  49773. "type": "number"
  49774. },
  49775. "enumdicname": {
  49776. "description": "单位名称",
  49777. "type": "string"
  49778. },
  49779. "freezeqty": {
  49780. "description": "总冻结数量",
  49781. "type": "number"
  49782. },
  49783. "haswr": {
  49784. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  49785. "type": "integer"
  49786. },
  49787. "minivalue": {
  49788. "description": "现货商品最小变动值",
  49789. "type": "integer"
  49790. },
  49791. "modifytime": {
  49792. "description": "修改时间(过户时间)",
  49793. "type": "string"
  49794. },
  49795. "optioncompare": {
  49796. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  49797. "type": "string"
  49798. },
  49799. "pledgeqty": {
  49800. "description": "质押数量",
  49801. "type": "number"
  49802. },
  49803. "querytype": {
  49804. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  49805. "type": "integer"
  49806. },
  49807. "sellexcuteqty": {
  49808. "description": "销售履约中数量",
  49809. "type": "number"
  49810. },
  49811. "totalqty": {
  49812. "description": "总数量(库存数量)",
  49813. "type": "number"
  49814. },
  49815. "warehouseid": {
  49816. "description": "仓库ID",
  49817. "type": "integer"
  49818. },
  49819. "warehousename": {
  49820. "description": "仓库名称",
  49821. "type": "string"
  49822. },
  49823. "wrfactortypeid": {
  49824. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  49825. "type": "string"
  49826. },
  49827. "wrfactortypename": {
  49828. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  49829. "type": "string"
  49830. },
  49831. "wrpositionid": {
  49832. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  49833. "type": "string"
  49834. },
  49835. "wrpositionno": {
  49836. "description": "仓单编号",
  49837. "type": "string"
  49838. },
  49839. "wrstandardcode": {
  49840. "description": "现货商品代码",
  49841. "type": "string"
  49842. },
  49843. "wrstandardid": {
  49844. "description": "现货商品ID",
  49845. "type": "integer"
  49846. },
  49847. "wrstandardname": {
  49848. "description": "商品名称",
  49849. "type": "string"
  49850. },
  49851. "wrtypename": {
  49852. "description": "商品",
  49853. "type": "string"
  49854. },
  49855. "wruserid": {
  49856. "description": "持有人ID",
  49857. "type": "integer"
  49858. }
  49859. }
  49860. },
  49861. "models.WrPreSaleInfo": {
  49862. "type": "object",
  49863. "properties": {
  49864. "bannerpicurl": {
  49865. "description": "Banner图",
  49866. "type": "string"
  49867. },
  49868. "baseqty": {
  49869. "description": "中签基数",
  49870. "type": "number"
  49871. },
  49872. "createtime": {
  49873. "description": "创建时间",
  49874. "type": "string"
  49875. },
  49876. "deliverygoodsid": {
  49877. "description": "现货品种ID",
  49878. "type": "integer"
  49879. },
  49880. "enddate": {
  49881. "description": "预售结束日期",
  49882. "type": "string"
  49883. },
  49884. "enumdicname": {
  49885. "description": "单位名称",
  49886. "type": "string"
  49887. },
  49888. "lotteryflag": {
  49889. "description": "摇号标识 - 0:未摇号 1:已摇号",
  49890. "type": "integer"
  49891. },
  49892. "lotteryqty": {
  49893. "description": "摇号总量",
  49894. "type": "number"
  49895. },
  49896. "luckyqty": {
  49897. "description": "已中签量",
  49898. "type": "number"
  49899. },
  49900. "marketid": {
  49901. "description": "市场ID",
  49902. "type": "integer"
  49903. },
  49904. "maxbuyqty": {
  49905. "description": "单人最大申购量",
  49906. "type": "number"
  49907. },
  49908. "maxluckyqty": {
  49909. "description": "单人最大中签量",
  49910. "type": "number"
  49911. },
  49912. "pictureurls": {
  49913. "description": "详情图片(逗号分隔)",
  49914. "type": "string"
  49915. },
  49916. "placeqty": {
  49917. "description": "已配售量",
  49918. "type": "number"
  49919. },
  49920. "presaleapplyid": {
  49921. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  49922. "type": "string",
  49923. "example": "0"
  49924. },
  49925. "presaleqty": {
  49926. "description": "预售总量",
  49927. "type": "number"
  49928. },
  49929. "presalestatus": {
  49930. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  49931. "type": "integer"
  49932. },
  49933. "sellaccountid": {
  49934. "description": "发行方资金账户ID",
  49935. "type": "integer"
  49936. },
  49937. "selluserid": {
  49938. "description": "发行方用户ID",
  49939. "type": "integer"
  49940. },
  49941. "sellwrtradeorderid": {
  49942. "description": "发行方卖委托单ID",
  49943. "type": "string"
  49944. },
  49945. "startdate": {
  49946. "description": "预售开始日期",
  49947. "type": "string"
  49948. },
  49949. "takestartdate": {
  49950. "description": "提货开始日期",
  49951. "type": "string"
  49952. },
  49953. "thumurls": {
  49954. "description": "缩略图片(1:1)(逗号分隔)",
  49955. "type": "string"
  49956. },
  49957. "tradedate": {
  49958. "description": "交易日",
  49959. "type": "string"
  49960. },
  49961. "unitid": {
  49962. "description": "单位ID",
  49963. "type": "integer"
  49964. },
  49965. "unitprice": {
  49966. "description": "商品单价",
  49967. "type": "number"
  49968. },
  49969. "username": {
  49970. "description": "发行方用户名称",
  49971. "type": "string"
  49972. },
  49973. "warehousecode": {
  49974. "description": "仓库代码(仓库简称)",
  49975. "type": "string"
  49976. },
  49977. "warehouseid": {
  49978. "description": "仓库ID",
  49979. "type": "integer"
  49980. },
  49981. "warehousename": {
  49982. "description": "仓库名称",
  49983. "type": "string"
  49984. },
  49985. "wrfactortypeid": {
  49986. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  49987. "type": "string",
  49988. "example": "0"
  49989. },
  49990. "wrstandardid": {
  49991. "description": "现货商品ID",
  49992. "type": "integer"
  49993. },
  49994. "wrstandardname": {
  49995. "description": "现货商品名称",
  49996. "type": "string"
  49997. }
  49998. }
  49999. },
  50000. "models.WrQuoteOrderMyq": {
  50001. "type": "object",
  50002. "properties": {
  50003. "buyorsell": {
  50004. "description": "买卖 - 0:买 1:卖",
  50005. "type": "integer"
  50006. },
  50007. "canbargain": {
  50008. "description": "是否可议价 - 0:不可 1:可",
  50009. "type": "integer"
  50010. },
  50011. "canpart": {
  50012. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  50013. "type": "integer"
  50014. },
  50015. "delistminqty": {
  50016. "description": "期初均价",
  50017. "type": "number"
  50018. },
  50019. "deliverygoodscode": {
  50020. "description": "品种代码",
  50021. "type": "string"
  50022. },
  50023. "deliverygoodsid": {
  50024. "description": "品种ID",
  50025. "type": "integer"
  50026. },
  50027. "deliverygoodsname": {
  50028. "description": "品种名称",
  50029. "type": "string"
  50030. },
  50031. "deliverymonth": {
  50032. "description": "交收月",
  50033. "type": "string"
  50034. },
  50035. "enumdicname": {
  50036. "description": "单位名称",
  50037. "type": "string"
  50038. },
  50039. "fixedprice": {
  50040. "description": "买(卖)价",
  50041. "type": "number"
  50042. },
  50043. "goodscode": {
  50044. "description": "商品合约代码",
  50045. "type": "string"
  50046. },
  50047. "marginflag": {
  50048. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  50049. "type": "integer"
  50050. },
  50051. "marginvalue": {
  50052. "description": "保证金设置值",
  50053. "type": "number"
  50054. },
  50055. "minivalue": {
  50056. "description": "现货商品最小变动值",
  50057. "type": "integer"
  50058. },
  50059. "orderqty": {
  50060. "description": "买(卖)量(=委托量-成交量)",
  50061. "type": "number"
  50062. },
  50063. "ordertime": {
  50064. "description": "委托时间",
  50065. "type": "string"
  50066. },
  50067. "performancetemplateid": {
  50068. "description": "履约模板id",
  50069. "type": "integer"
  50070. },
  50071. "pricemove": {
  50072. "description": "买(卖)升贴水- 基差",
  50073. "type": "number"
  50074. },
  50075. "templatename": {
  50076. "description": "履约模板名称",
  50077. "type": "string"
  50078. },
  50079. "userid": {
  50080. "description": "购买方(销售方)用户ID",
  50081. "type": "integer"
  50082. },
  50083. "username": {
  50084. "description": "购买方(销售方)",
  50085. "type": "string"
  50086. },
  50087. "validtime": {
  50088. "description": "有效期限",
  50089. "type": "string"
  50090. },
  50091. "validtype": {
  50092. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  50093. "type": "integer"
  50094. },
  50095. "warehousename": {
  50096. "description": "仓库名称",
  50097. "type": "string"
  50098. },
  50099. "wrfactortypeid": {
  50100. "description": "仓单要素id",
  50101. "type": "string"
  50102. },
  50103. "wrstandardcode": {
  50104. "description": "现货商品代码",
  50105. "type": "string"
  50106. },
  50107. "wrstandardid": {
  50108. "description": "现货商品ID",
  50109. "type": "integer"
  50110. },
  50111. "wrstandardname": {
  50112. "description": "商品名称",
  50113. "type": "string"
  50114. },
  50115. "wrtradeorderid": {
  50116. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  50117. "type": "string"
  50118. },
  50119. "wrtypename": {
  50120. "description": "商品",
  50121. "type": "string"
  50122. }
  50123. }
  50124. },
  50125. "models.WrReckonSpotGoodsTradeSum": {
  50126. "type": "object",
  50127. "properties": {
  50128. "begindate": {
  50129. "description": "开始日期(结果含开始日期) yyyymmdd",
  50130. "type": "string"
  50131. },
  50132. "enddate": {
  50133. "description": "结束日期(结果含结束日期) yyyymmdd",
  50134. "type": "string"
  50135. },
  50136. "istoday": {
  50137. "description": "是否当日",
  50138. "type": "boolean"
  50139. },
  50140. "marketid": {
  50141. "description": "市场ID",
  50142. "type": "integer"
  50143. },
  50144. "price": {
  50145. "description": "价格 = 日成交金额 / 日成交数量",
  50146. "type": "string"
  50147. },
  50148. "reckondate": {
  50149. "description": "日期 格式 yyyymmdd",
  50150. "type": "string"
  50151. },
  50152. "tradeamount": {
  50153. "description": "期初均价",
  50154. "type": "number"
  50155. },
  50156. "tradeqty": {
  50157. "description": "期初均价",
  50158. "type": "number"
  50159. },
  50160. "wrstandardid": {
  50161. "description": "现货商品ID",
  50162. "type": "integer"
  50163. }
  50164. }
  50165. },
  50166. "models.WrScfContract": {
  50167. "type": "object",
  50168. "properties": {
  50169. "borroweruserid": {
  50170. "description": "借款用户ID",
  50171. "type": "integer"
  50172. },
  50173. "buybackwrpositionqty": {
  50174. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  50175. "type": "number"
  50176. },
  50177. "closeinterest": {
  50178. "description": "已结利息 -\u003e 已结费用",
  50179. "type": "number"
  50180. },
  50181. "currisklevel": {
  50182. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  50183. "type": "integer"
  50184. },
  50185. "deadline": {
  50186. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  50187. "type": "string"
  50188. },
  50189. "deliverygoodscode": {
  50190. "description": "品种代码",
  50191. "type": "string"
  50192. },
  50193. "deliverygoodsid": {
  50194. "description": "品种ID",
  50195. "type": "integer"
  50196. },
  50197. "deliverygoodsname": {
  50198. "description": "品种名称",
  50199. "type": "string"
  50200. },
  50201. "enumdicname": {
  50202. "description": "单位名称",
  50203. "type": "string"
  50204. },
  50205. "financingdays": {
  50206. "description": "天数(天)",
  50207. "type": "integer"
  50208. },
  50209. "initmargin": {
  50210. "description": "保证金 - [仓单回购]",
  50211. "type": "number"
  50212. },
  50213. "interestamount": {
  50214. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  50215. "type": "number"
  50216. },
  50217. "interestdebt": {
  50218. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  50219. "type": "number"
  50220. },
  50221. "interestminlen": {
  50222. "description": "最小起息天数",
  50223. "type": "integer"
  50224. },
  50225. "interestrate": {
  50226. "description": "利率",
  50227. "type": "number"
  50228. },
  50229. "interestratemode": {
  50230. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  50231. "type": "integer"
  50232. },
  50233. "interestsettlemode": {
  50234. "description": "结息方式 - 1:按日结息 3:按月结息",
  50235. "type": "integer"
  50236. },
  50237. "interestsettlevalue": {
  50238. "description": "结息方式值",
  50239. "type": "integer"
  50240. },
  50241. "isautoloan": {
  50242. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  50243. "type": "integer"
  50244. },
  50245. "lastcloseinterestday": {
  50246. "description": "最近结息日(yyyyMMdd)",
  50247. "type": "string"
  50248. },
  50249. "lenderamount": {
  50250. "description": "贷款金额 -\u003e 借款金额",
  50251. "type": "number"
  50252. },
  50253. "lenderuserid": {
  50254. "description": "贷款方用户ID -\u003e 融出方用户ID",
  50255. "type": "integer"
  50256. },
  50257. "lenderusername": {
  50258. "description": "融出方",
  50259. "type": "string"
  50260. },
  50261. "marginratio": {
  50262. "description": "保证金比率质押率 - [仓单质押]",
  50263. "type": "number"
  50264. },
  50265. "marketid": {
  50266. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  50267. "type": "integer"
  50268. },
  50269. "minivalue": {
  50270. "description": "现货商品最小变动值",
  50271. "type": "integer"
  50272. },
  50273. "optioncompare": {
  50274. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  50275. "type": "string"
  50276. },
  50277. "pricemove": {
  50278. "description": "估值升贴水值",
  50279. "type": "number"
  50280. },
  50281. "productdetailid": {
  50282. "description": "产品组合ID",
  50283. "type": "integer"
  50284. },
  50285. "productid": {
  50286. "description": "金融产品ID",
  50287. "type": "integer"
  50288. },
  50289. "productname": {
  50290. "description": "产品名称",
  50291. "type": "string"
  50292. },
  50293. "remainamount": {
  50294. "description": "合同剩余金额 -\u003e 剩余金额",
  50295. "type": "number"
  50296. },
  50297. "remainwrpositionqty": {
  50298. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  50299. "type": "number"
  50300. },
  50301. "remark": {
  50302. "description": "备注",
  50303. "type": "string"
  50304. },
  50305. "scfcontractid": {
  50306. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  50307. "type": "string"
  50308. },
  50309. "scfcontractstatus": {
  50310. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  50311. "type": "integer"
  50312. },
  50313. "scfcontracttype": {
  50314. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  50315. "type": "integer"
  50316. },
  50317. "startinterestday": {
  50318. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  50319. "type": "string"
  50320. },
  50321. "totalinterest": {
  50322. "description": "已计利息 -\u003e 已计费用",
  50323. "type": "number"
  50324. },
  50325. "unpaidinterest": {
  50326. "description": "期初均价",
  50327. "type": "number"
  50328. },
  50329. "updatetime": {
  50330. "description": "更新时间",
  50331. "type": "string"
  50332. },
  50333. "warehouseid": {
  50334. "description": "仓库ID",
  50335. "type": "integer"
  50336. },
  50337. "warehousename": {
  50338. "description": "仓库名称",
  50339. "type": "string"
  50340. },
  50341. "wrfactortypeid": {
  50342. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  50343. "type": "string"
  50344. },
  50345. "wrfactortypename": {
  50346. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  50347. "type": "string"
  50348. },
  50349. "wrqty": {
  50350. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  50351. "type": "number"
  50352. },
  50353. "wrstandardcode": {
  50354. "description": "现货商品代码",
  50355. "type": "string"
  50356. },
  50357. "wrstandardid": {
  50358. "description": "现货商品ID",
  50359. "type": "integer"
  50360. },
  50361. "wrstandardname": {
  50362. "description": "商品名称",
  50363. "type": "string"
  50364. },
  50365. "wrtypename": {
  50366. "description": "商品",
  50367. "type": "string"
  50368. }
  50369. }
  50370. },
  50371. "models.WrScfContractInterest": {
  50372. "type": "object",
  50373. "properties": {
  50374. "closeinterest": {
  50375. "description": "已结利息",
  50376. "type": "number"
  50377. },
  50378. "closeintereststatus": {
  50379. "description": "结息状态 - 1:未结 2:已结",
  50380. "type": "integer"
  50381. },
  50382. "closetime": {
  50383. "description": "结息时间",
  50384. "type": "string"
  50385. },
  50386. "closetradedate": {
  50387. "description": "结息交易日",
  50388. "type": "string"
  50389. },
  50390. "creatorid": {
  50391. "description": "操作人ID",
  50392. "type": "integer"
  50393. },
  50394. "dayrate": {
  50395. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  50396. "type": "number"
  50397. },
  50398. "interest": {
  50399. "description": "利息",
  50400. "type": "number"
  50401. },
  50402. "interestamount": {
  50403. "description": "计息金额",
  50404. "type": "number"
  50405. },
  50406. "interestday": {
  50407. "description": "计息日(yyyyMMdd)",
  50408. "type": "string"
  50409. },
  50410. "scfcontractid": {
  50411. "description": "SCF合同ID",
  50412. "type": "string"
  50413. },
  50414. "scfcontractinterestid": {
  50415. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  50416. "type": "integer"
  50417. },
  50418. "updatetime": {
  50419. "description": "更新时间",
  50420. "type": "string"
  50421. }
  50422. }
  50423. },
  50424. "models.WrSearchUser": {
  50425. "type": "object",
  50426. "required": [
  50427. "username"
  50428. ],
  50429. "properties": {
  50430. "userid": {
  50431. "description": "用户ID",
  50432. "type": "integer"
  50433. },
  50434. "username": {
  50435. "description": "用户名称(已脱敏)",
  50436. "type": "string"
  50437. },
  50438. "username2": {
  50439. "description": "用户名称(未脱敏)",
  50440. "type": "string"
  50441. },
  50442. "usertype": {
  50443. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  50444. "type": "integer"
  50445. }
  50446. }
  50447. },
  50448. "models.WrSiteColumnDetail": {
  50449. "type": "object",
  50450. "properties": {
  50451. "author": {
  50452. "description": "作者",
  50453. "type": "string"
  50454. },
  50455. "brief": {
  50456. "description": "简介",
  50457. "type": "string"
  50458. },
  50459. "context": {
  50460. "description": "内容",
  50461. "type": "string"
  50462. },
  50463. "coverimage": {
  50464. "description": "封面图片",
  50465. "type": "string"
  50466. },
  50467. "creaedate": {
  50468. "description": "创建时间",
  50469. "type": "string"
  50470. },
  50471. "id": {
  50472. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  50473. "type": "integer"
  50474. },
  50475. "istop": {
  50476. "description": "是否置顶 - 0:不置 1:置顶",
  50477. "type": "integer"
  50478. },
  50479. "publishdate": {
  50480. "description": "发布日期",
  50481. "type": "string"
  50482. },
  50483. "title": {
  50484. "description": "标题",
  50485. "type": "string"
  50486. },
  50487. "updatedate": {
  50488. "description": "修改时间",
  50489. "type": "string"
  50490. }
  50491. }
  50492. },
  50493. "models.WrSpecialMatchOrder": {
  50494. "type": "object",
  50495. "properties": {
  50496. "amount": {
  50497. "description": "金额 = 数量 * 价格",
  50498. "type": "number"
  50499. },
  50500. "buyorsell": {
  50501. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  50502. "type": "integer"
  50503. },
  50504. "cancelqty": {
  50505. "description": "撤销数量",
  50506. "type": "number"
  50507. },
  50508. "deliverygoodscode": {
  50509. "description": "品种代码",
  50510. "type": "string"
  50511. },
  50512. "deliverygoodsid": {
  50513. "description": "品种ID",
  50514. "type": "integer"
  50515. },
  50516. "deliverygoodsname": {
  50517. "description": "品种名称",
  50518. "type": "string"
  50519. },
  50520. "enumdicname": {
  50521. "description": "单位名称",
  50522. "type": "string"
  50523. },
  50524. "fixedprice": {
  50525. "description": "固定价格(价格)",
  50526. "type": "number"
  50527. },
  50528. "haswr": {
  50529. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  50530. "type": "integer"
  50531. },
  50532. "isspecified": {
  50533. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  50534. "type": "integer"
  50535. },
  50536. "marketid": {
  50537. "description": "市场ID",
  50538. "type": "integer"
  50539. },
  50540. "matchuserid": {
  50541. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  50542. "type": "integer"
  50543. },
  50544. "matchusername": {
  50545. "description": "指定方",
  50546. "type": "string"
  50547. },
  50548. "minivalue": {
  50549. "description": "现货商品最小变动值",
  50550. "type": "integer"
  50551. },
  50552. "optioncompare": {
  50553. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  50554. "type": "string"
  50555. },
  50556. "orderqty": {
  50557. "description": "委托数量",
  50558. "type": "number"
  50559. },
  50560. "ordertime": {
  50561. "description": "委托时间",
  50562. "type": "string"
  50563. },
  50564. "pricemove": {
  50565. "description": "升贴水(浮动价时填写) - [挂牌]",
  50566. "type": "number"
  50567. },
  50568. "tradedate": {
  50569. "description": "交易日(yyyyMMdd)",
  50570. "type": "string"
  50571. },
  50572. "tradeprice": {
  50573. "description": "成交价格",
  50574. "type": "number"
  50575. },
  50576. "tradeqty": {
  50577. "description": "成交数量",
  50578. "type": "number"
  50579. },
  50580. "userid": {
  50581. "description": "用户ID",
  50582. "type": "integer"
  50583. },
  50584. "username": {
  50585. "description": "发起方",
  50586. "type": "string"
  50587. },
  50588. "warehouseid": {
  50589. "description": "仓库ID",
  50590. "type": "integer"
  50591. },
  50592. "warehousename": {
  50593. "description": "仓库名称",
  50594. "type": "string"
  50595. },
  50596. "wrfactortypeid": {
  50597. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  50598. "type": "string"
  50599. },
  50600. "wrfactortypename": {
  50601. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  50602. "type": "string"
  50603. },
  50604. "wrpricetype": {
  50605. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  50606. "type": "integer"
  50607. },
  50608. "wrstandardcode": {
  50609. "description": "现货商品代码",
  50610. "type": "string"
  50611. },
  50612. "wrstandardid": {
  50613. "description": "现货商品ID",
  50614. "type": "integer"
  50615. },
  50616. "wrstandardname": {
  50617. "description": "商品名称",
  50618. "type": "string"
  50619. },
  50620. "wrtradeorderid": {
  50621. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  50622. "type": "string"
  50623. },
  50624. "wrtradeorderstatus": {
  50625. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  50626. "type": "integer"
  50627. },
  50628. "wrtradetype": {
  50629. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  50630. "type": "integer"
  50631. },
  50632. "wrtypename": {
  50633. "description": "商品",
  50634. "type": "string"
  50635. }
  50636. }
  50637. },
  50638. "models.WrSpotGroupTradeSum": {
  50639. "type": "object",
  50640. "properties": {
  50641. "deliverygoodscode": {
  50642. "description": "现货品种代码",
  50643. "type": "string"
  50644. },
  50645. "deliverygoodsid": {
  50646. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  50647. "type": "integer"
  50648. },
  50649. "deliverygoodsname": {
  50650. "description": "现货品种名称",
  50651. "type": "string"
  50652. },
  50653. "lastavgprice": {
  50654. "description": "上上个交易日价格(前2天价格)",
  50655. "type": "string"
  50656. },
  50657. "lastreckondate": {
  50658. "description": "上上个交易日(前2天交易日)",
  50659. "type": "string"
  50660. },
  50661. "reckondate": {
  50662. "description": "上个交易日(前1天交易日)",
  50663. "type": "string"
  50664. },
  50665. "todayavgprice": {
  50666. "description": "上个交易日价格(前1天价格)",
  50667. "type": "string"
  50668. },
  50669. "updown": {
  50670. "description": "涨跌",
  50671. "type": "string"
  50672. },
  50673. "updownratio": {
  50674. "description": "涨幅(已格式化, 直接显示即可)",
  50675. "type": "string"
  50676. }
  50677. }
  50678. },
  50679. "models.WrSpotGroupTradeSumDetail": {
  50680. "type": "object",
  50681. "properties": {
  50682. "deliverygoodsid": {
  50683. "description": "现货商品id",
  50684. "type": "integer"
  50685. },
  50686. "price": {
  50687. "description": "价格",
  50688. "type": "number"
  50689. },
  50690. "reckondate": {
  50691. "description": "日期(yyymmdd, 如:20211031)",
  50692. "type": "string"
  50693. }
  50694. }
  50695. },
  50696. "models.WrSpotGroupTradeSumEx": {
  50697. "type": "object",
  50698. "properties": {
  50699. "lst": {
  50700. "description": "指数列表",
  50701. "type": "array",
  50702. "items": {
  50703. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  50704. }
  50705. },
  50706. "prereckondate": {
  50707. "description": "上上个交易日(yyymmdd)",
  50708. "type": "string"
  50709. },
  50710. "reckondate": {
  50711. "description": "上个交易日(yyyymmdd)",
  50712. "type": "string"
  50713. }
  50714. }
  50715. },
  50716. "models.WrStandardFactoryItem": {
  50717. "type": "object",
  50718. "properties": {
  50719. "dgfactoryitemid": {
  50720. "description": "选择项id",
  50721. "type": "integer"
  50722. },
  50723. "dgfactoryitemvalue": {
  50724. "description": "要素项值",
  50725. "type": "string"
  50726. },
  50727. "warehouseid": {
  50728. "description": "仓库id",
  50729. "type": "integer"
  50730. }
  50731. }
  50732. },
  50733. "models.WrStandardFactoryItemEx": {
  50734. "type": "object",
  50735. "properties": {
  50736. "dgfactoryitemtypeid": {
  50737. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  50738. "type": "integer"
  50739. },
  50740. "itemlst": {
  50741. "description": "要素项列表",
  50742. "type": "array",
  50743. "items": {
  50744. "$ref": "#/definitions/models.WrStandardFactoryItem"
  50745. }
  50746. },
  50747. "itemtypename": {
  50748. "description": "要素项类型名称",
  50749. "type": "string"
  50750. },
  50751. "wrstandardid": {
  50752. "description": "品类",
  50753. "type": "integer"
  50754. }
  50755. }
  50756. },
  50757. "models.WrTradeDetail": {
  50758. "type": "object",
  50759. "properties": {
  50760. "accountid": {
  50761. "description": "资金账号",
  50762. "type": "integer"
  50763. },
  50764. "bannerpicurl": {
  50765. "description": "Banner图",
  50766. "type": "string"
  50767. },
  50768. "begindate": {
  50769. "description": "开始交易日(yyyymmdd)",
  50770. "type": "string"
  50771. },
  50772. "buyorsell": {
  50773. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  50774. "type": "integer"
  50775. },
  50776. "chargevalue": {
  50777. "description": "手续费",
  50778. "type": "number"
  50779. },
  50780. "contractaddr": {
  50781. "description": "合同地址",
  50782. "type": "string"
  50783. },
  50784. "deliverygoodscode": {
  50785. "description": "品种代码",
  50786. "type": "string"
  50787. },
  50788. "deliverygoodsid": {
  50789. "description": "品种ID",
  50790. "type": "integer"
  50791. },
  50792. "deliverygoodsname": {
  50793. "description": "品种名称",
  50794. "type": "string"
  50795. },
  50796. "deliverymonth": {
  50797. "description": "交收月",
  50798. "type": "string"
  50799. },
  50800. "enddate": {
  50801. "description": "结束交易日(yyyymmdd)",
  50802. "type": "string"
  50803. },
  50804. "enumdicname": {
  50805. "description": "单位名称",
  50806. "type": "string"
  50807. },
  50808. "haswr": {
  50809. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  50810. "type": "integer"
  50811. },
  50812. "marketid": {
  50813. "description": "市场ID",
  50814. "type": "integer"
  50815. },
  50816. "matchaccountid": {
  50817. "description": "对手账号",
  50818. "type": "integer"
  50819. },
  50820. "matchusername": {
  50821. "description": "对手方",
  50822. "type": "string"
  50823. },
  50824. "minivalue": {
  50825. "description": "现货商品最小变动值",
  50826. "type": "integer"
  50827. },
  50828. "optioncompare": {
  50829. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  50830. "type": "string"
  50831. },
  50832. "thumurls": {
  50833. "description": "缩略图",
  50834. "type": "string"
  50835. },
  50836. "tradedate": {
  50837. "description": "交易日(yyyyMMdd)",
  50838. "type": "string"
  50839. },
  50840. "tradeprice": {
  50841. "description": "成交价格",
  50842. "type": "number"
  50843. },
  50844. "tradeqty": {
  50845. "description": "成交数量",
  50846. "type": "number"
  50847. },
  50848. "tradetime": {
  50849. "description": "成交时间",
  50850. "type": "string"
  50851. },
  50852. "unitid": {
  50853. "description": "现货商品单位ID",
  50854. "type": "integer"
  50855. },
  50856. "userid": {
  50857. "description": "用户ID",
  50858. "type": "integer"
  50859. },
  50860. "warehouseid": {
  50861. "description": "仓库ID",
  50862. "type": "integer"
  50863. },
  50864. "warehousename": {
  50865. "description": "仓库名称",
  50866. "type": "string"
  50867. },
  50868. "wrfactortypeid": {
  50869. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  50870. "type": "string"
  50871. },
  50872. "wrfactortypename": {
  50873. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  50874. "type": "string"
  50875. },
  50876. "wrstandardcode": {
  50877. "description": "现货商品代码",
  50878. "type": "string"
  50879. },
  50880. "wrstandardid": {
  50881. "description": "现货商品ID",
  50882. "type": "integer"
  50883. },
  50884. "wrstandardname": {
  50885. "description": "商品名称",
  50886. "type": "string"
  50887. },
  50888. "wrtradedetailid": {
  50889. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  50890. "type": "string"
  50891. },
  50892. "wrtradetype": {
  50893. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  50894. "type": "integer"
  50895. },
  50896. "wrtypename": {
  50897. "description": "商品",
  50898. "type": "string"
  50899. }
  50900. }
  50901. },
  50902. "models.WrTradeOrderDetail": {
  50903. "type": "object",
  50904. "properties": {
  50905. "buyorsell": {
  50906. "description": "买卖方向 0-买 1-卖",
  50907. "type": "integer"
  50908. },
  50909. "goodsid": {
  50910. "description": "商品id",
  50911. "type": "integer"
  50912. },
  50913. "orderid": {
  50914. "description": "委托单号",
  50915. "type": "string"
  50916. },
  50917. "orderprice": {
  50918. "description": "期初均价",
  50919. "type": "number"
  50920. },
  50921. "orderqty": {
  50922. "description": "委托数量",
  50923. "type": "integer"
  50924. },
  50925. "userid": {
  50926. "description": "用户id",
  50927. "type": "integer"
  50928. },
  50929. "username": {
  50930. "description": "用户名称(已脱敏)",
  50931. "type": "string"
  50932. }
  50933. }
  50934. },
  50935. "models.WrTypeItem": {
  50936. "type": "object",
  50937. "properties": {
  50938. "name": {
  50939. "description": "名称",
  50940. "type": "string"
  50941. },
  50942. "value": {
  50943. "description": "值",
  50944. "type": "string"
  50945. }
  50946. }
  50947. },
  50948. "models.WrUserFriend": {
  50949. "type": "object",
  50950. "properties": {
  50951. "friendname": {
  50952. "description": "朋友名称(已脱敏)",
  50953. "type": "string"
  50954. },
  50955. "frienduserid": {
  50956. "description": "朋友id",
  50957. "type": "integer"
  50958. },
  50959. "isfriend": {
  50960. "description": "是否好友 0-不是 1-是",
  50961. "type": "integer"
  50962. },
  50963. "userid": {
  50964. "description": "用户id",
  50965. "type": "integer"
  50966. }
  50967. }
  50968. },
  50969. "models.WrUserReceiptInfo": {
  50970. "type": "object",
  50971. "properties": {
  50972. "address": {
  50973. "description": "地址[发票类型:企业]",
  50974. "type": "string"
  50975. },
  50976. "autoid": {
  50977. "description": "AutoID",
  50978. "type": "integer"
  50979. },
  50980. "contactinfo": {
  50981. "description": "联系方式",
  50982. "type": "string"
  50983. },
  50984. "email": {
  50985. "description": "收件邮箱",
  50986. "type": "string"
  50987. },
  50988. "idnum": {
  50989. "description": "身份证号码[发票类型:个人]",
  50990. "type": "string"
  50991. },
  50992. "isdefault": {
  50993. "description": "是否默认地址 - 0:否 1:是",
  50994. "type": "integer"
  50995. },
  50996. "receiptaccount": {
  50997. "description": "发票帐号[发票类型:企业]",
  50998. "type": "string"
  50999. },
  51000. "receiptbank": {
  51001. "description": "发票开户行[发票类型:企业]",
  51002. "type": "string"
  51003. },
  51004. "receipttype": {
  51005. "description": "发票类型 - 1:个人 2:企业",
  51006. "type": "integer"
  51007. },
  51008. "taxpayerid": {
  51009. "description": "纳税人识别号",
  51010. "type": "string"
  51011. },
  51012. "userid": {
  51013. "description": "用户ID",
  51014. "type": "integer"
  51015. },
  51016. "username": {
  51017. "description": "户名(个人姓名或企业名称)",
  51018. "type": "string"
  51019. }
  51020. }
  51021. },
  51022. "models.Wrtradetradequote": {
  51023. "type": "object",
  51024. "properties": {
  51025. "buyaccountid": {
  51026. "description": "买方账号ID",
  51027. "type": "integer"
  51028. },
  51029. "buychargevalue": {
  51030. "description": "买方手续费",
  51031. "type": "number"
  51032. },
  51033. "buyuserid": {
  51034. "description": "买方用户ID",
  51035. "type": "integer"
  51036. },
  51037. "deliverygoodsid": {
  51038. "description": "现货品种ID",
  51039. "type": "integer"
  51040. },
  51041. "exchangerate": {
  51042. "description": "汇率",
  51043. "type": "number"
  51044. },
  51045. "marketid": {
  51046. "description": "市场ID",
  51047. "type": "integer"
  51048. },
  51049. "oritradeamount": {
  51050. "description": "成交金额[商品币种]",
  51051. "type": "number"
  51052. },
  51053. "performanceplanid": {
  51054. "description": "履约计划ID/合同ID",
  51055. "type": "integer"
  51056. },
  51057. "sellaccountid": {
  51058. "description": "卖方账号ID",
  51059. "type": "integer"
  51060. },
  51061. "sellchargevalue": {
  51062. "description": "卖方手续费",
  51063. "type": "number"
  51064. },
  51065. "selluserid": {
  51066. "description": "卖方用户ID",
  51067. "type": "integer"
  51068. },
  51069. "tradeamount": {
  51070. "description": "成交金额",
  51071. "type": "number"
  51072. },
  51073. "tradedate": {
  51074. "description": "交易日(yyyyMMdd)",
  51075. "type": "string"
  51076. },
  51077. "tradeprice": {
  51078. "description": "成交价格",
  51079. "type": "number"
  51080. },
  51081. "tradeqty": {
  51082. "description": "成交数量",
  51083. "type": "integer"
  51084. },
  51085. "tradetime": {
  51086. "description": "成交时间",
  51087. "type": "string"
  51088. },
  51089. "wrfactortypeid": {
  51090. "description": "仓单要素类型ID",
  51091. "type": "integer"
  51092. },
  51093. "wrstandardid": {
  51094. "description": "现货商品ID",
  51095. "type": "integer"
  51096. },
  51097. "wrtradedetailid": {
  51098. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  51099. "type": "integer"
  51100. }
  51101. }
  51102. },
  51103. "models.XHBRAND": {
  51104. "type": "object",
  51105. "properties": {
  51106. "brandid": {
  51107. "description": "品牌id",
  51108. "type": "integer"
  51109. },
  51110. "brandname": {
  51111. "description": "品牌名称",
  51112. "type": "string"
  51113. },
  51114. "isvalid": {
  51115. "description": "是否有效 0-无效 1-有效",
  51116. "type": "integer"
  51117. }
  51118. }
  51119. },
  51120. "models.XHDeliveryGoods": {
  51121. "type": "object",
  51122. "properties": {
  51123. "areauserid": {
  51124. "description": "所属机构",
  51125. "type": "integer"
  51126. },
  51127. "bdlst": {
  51128. "description": "品牌列表",
  51129. "type": "array",
  51130. "items": {
  51131. "$ref": "#/definitions/models.XHBRAND"
  51132. }
  51133. },
  51134. "deliverygoodscode": {
  51135. "description": "现货品种代码",
  51136. "type": "string"
  51137. },
  51138. "deliverygoodsid": {
  51139. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  51140. "type": "integer"
  51141. },
  51142. "deliverygoodsname": {
  51143. "description": "现货品种名称",
  51144. "type": "string"
  51145. },
  51146. "dgstatus": {
  51147. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  51148. "type": "integer"
  51149. },
  51150. "filterSubEmpty": {
  51151. "description": "过滤下级为空的",
  51152. "type": "integer"
  51153. },
  51154. "isvalid": {
  51155. "description": "是否有效 - 0:无效 1:有效",
  51156. "type": "integer"
  51157. },
  51158. "remark": {
  51159. "description": "备注",
  51160. "type": "string"
  51161. },
  51162. "unitid": {
  51163. "description": "单位id(目前看,数据库中是空值)",
  51164. "type": "integer"
  51165. },
  51166. "wdlst": {
  51167. "description": "品类(现货商品)列表",
  51168. "type": "array",
  51169. "items": {
  51170. "$ref": "#/definitions/models.XHWrstandard"
  51171. }
  51172. }
  51173. }
  51174. },
  51175. "models.XHMiddleGoods": {
  51176. "type": "object",
  51177. "properties": {
  51178. "GPLST": {
  51179. "description": "期货品种列表",
  51180. "type": "array",
  51181. "items": {
  51182. "$ref": "#/definitions/models.TBGoodsGroup"
  51183. }
  51184. },
  51185. "convertratio": {
  51186. "description": "拆算系数",
  51187. "type": "number"
  51188. },
  51189. "costratio": {
  51190. "description": "成本权重",
  51191. "type": "number"
  51192. },
  51193. "deliverygoodsid": {
  51194. "description": "现货商品id",
  51195. "type": "integer"
  51196. },
  51197. "enumdicname": {
  51198. "description": "单位名称",
  51199. "type": "string"
  51200. },
  51201. "middlegoodscode": {
  51202. "description": "套保品种代码",
  51203. "type": "string"
  51204. },
  51205. "middlegoodsid": {
  51206. "description": "套保品种id",
  51207. "type": "integer"
  51208. },
  51209. "middlegoodsname": {
  51210. "description": "套保品种名称",
  51211. "type": "string"
  51212. },
  51213. "unitid": {
  51214. "description": "单位id",
  51215. "type": "integer"
  51216. }
  51217. }
  51218. },
  51219. "models.XHWrstandard": {
  51220. "type": "object",
  51221. "properties": {
  51222. "bannerpicurl": {
  51223. "description": "banner图",
  51224. "type": "string"
  51225. },
  51226. "deliverygoodsid": {
  51227. "description": "品种ID",
  51228. "type": "integer"
  51229. },
  51230. "enumdicname": {
  51231. "description": "单位名称",
  51232. "type": "string"
  51233. },
  51234. "mglst": {
  51235. "description": "套保品列表",
  51236. "type": "array",
  51237. "items": {
  51238. "$ref": "#/definitions/models.XHMiddleGoods"
  51239. }
  51240. },
  51241. "pictureurls": {
  51242. "description": "详情图片(逗号分隔)",
  51243. "type": "string"
  51244. },
  51245. "thumurls": {
  51246. "description": "缩略图片(1:1)(逗号分隔)",
  51247. "type": "string"
  51248. },
  51249. "unitid": {
  51250. "description": "单位id",
  51251. "type": "integer"
  51252. },
  51253. "vatrate": {
  51254. "description": "增值税率",
  51255. "type": "number"
  51256. },
  51257. "wrstandardcode": {
  51258. "description": "现货商品代码",
  51259. "type": "string"
  51260. },
  51261. "wrstandardid": {
  51262. "description": "现货商品ID(SEQ_WRSTANDARD)",
  51263. "type": "integer"
  51264. },
  51265. "wrstandardname": {
  51266. "description": "现货商品名称",
  51267. "type": "string"
  51268. }
  51269. }
  51270. },
  51271. "models.XhcpSellBackApplyEx": {
  51272. "type": "object",
  51273. "required": [
  51274. "userid"
  51275. ],
  51276. "properties": {
  51277. "applyremark": {
  51278. "description": "申请备注",
  51279. "type": "string"
  51280. },
  51281. "expirytype": {
  51282. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  51283. "type": "integer"
  51284. },
  51285. "goodsspec": {
  51286. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  51287. "type": "integer"
  51288. },
  51289. "holeflag": {
  51290. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  51291. "type": "integer"
  51292. },
  51293. "isunopened": {
  51294. "description": "是否原封 - 1:否 2:是",
  51295. "type": "integer"
  51296. },
  51297. "mpflag": {
  51298. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  51299. "type": "integer"
  51300. },
  51301. "openflag": {
  51302. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  51303. "type": "integer"
  51304. },
  51305. "phonenum": {
  51306. "description": "联系电话",
  51307. "type": "string"
  51308. },
  51309. "userid": {
  51310. "description": "所属用户ID",
  51311. "type": "integer"
  51312. },
  51313. "zpflag": {
  51314. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  51315. "type": "integer"
  51316. }
  51317. }
  51318. },
  51319. "models.Xhcpsellbackapply": {
  51320. "type": "object",
  51321. "required": [
  51322. "userid"
  51323. ],
  51324. "properties": {
  51325. "applyid": {
  51326. "description": "申请人",
  51327. "type": "integer"
  51328. },
  51329. "applyremark": {
  51330. "description": "申请备注",
  51331. "type": "string"
  51332. },
  51333. "applysrc": {
  51334. "description": "申请来源 - 1:管理端 2:终端",
  51335. "type": "integer"
  51336. },
  51337. "applystatus": {
  51338. "description": "申请状态 - 1:待确认 2:已处理",
  51339. "type": "integer"
  51340. },
  51341. "applytime": {
  51342. "description": "申请时间",
  51343. "type": "string"
  51344. },
  51345. "auditremark": {
  51346. "description": "审核备注",
  51347. "type": "string"
  51348. },
  51349. "auditsrc": {
  51350. "description": "审核来源 - 1:管理端 2:终端",
  51351. "type": "integer"
  51352. },
  51353. "expirytype": {
  51354. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  51355. "type": "integer"
  51356. },
  51357. "goodsspec": {
  51358. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  51359. "type": "integer"
  51360. },
  51361. "holeflag": {
  51362. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  51363. "type": "integer"
  51364. },
  51365. "isunopened": {
  51366. "description": "是否原封 - 1:否 2:是",
  51367. "type": "integer"
  51368. },
  51369. "mpflag": {
  51370. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  51371. "type": "integer"
  51372. },
  51373. "openflag": {
  51374. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  51375. "type": "integer"
  51376. },
  51377. "phonenum": {
  51378. "description": "联系电话",
  51379. "type": "string"
  51380. },
  51381. "sellbackapplyid": {
  51382. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  51383. "type": "string"
  51384. },
  51385. "userid": {
  51386. "description": "所属用户ID",
  51387. "type": "integer"
  51388. },
  51389. "zpflag": {
  51390. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  51391. "type": "integer"
  51392. }
  51393. }
  51394. },
  51395. "order.QueryHisTradeDetailRsp": {
  51396. "type": "object",
  51397. "required": [
  51398. "accountid",
  51399. "buyorsell",
  51400. "goodsid",
  51401. "histradedate",
  51402. "marketid",
  51403. "memberuserid",
  51404. "orderid",
  51405. "tradeamount",
  51406. "tradedate",
  51407. "tradeid",
  51408. "tradeprice",
  51409. "tradeqty",
  51410. "tradetime"
  51411. ],
  51412. "properties": {
  51413. "accountid": {
  51414. "description": "账户ID[报价币种]",
  51415. "type": "integer"
  51416. },
  51417. "advanceratio": {
  51418. "description": "首付比率",
  51419. "type": "number"
  51420. },
  51421. "buildtype": {
  51422. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  51423. "type": "integer"
  51424. },
  51425. "buyorsell": {
  51426. "description": "方向 - 0:买 1:卖",
  51427. "type": "integer"
  51428. },
  51429. "charge": {
  51430. "description": "手续费",
  51431. "type": "number"
  51432. },
  51433. "closecharge": {
  51434. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  51435. "type": "number"
  51436. },
  51437. "closeexchagechargevalue": {
  51438. "description": "平仓交易所手续费设置值",
  51439. "type": "number"
  51440. },
  51441. "closefeealgorithm": {
  51442. "description": "平仓手续费收取方式 1:比率 2:固定",
  51443. "type": "integer"
  51444. },
  51445. "closememberchargevalue": {
  51446. "description": "平仓会员手续费设置值",
  51447. "type": "number"
  51448. },
  51449. "closepl": {
  51450. "description": "平仓盈亏",
  51451. "type": "number"
  51452. },
  51453. "closepl2": {
  51454. "description": "平仓盈亏[逐笔]",
  51455. "type": "number"
  51456. },
  51457. "closeqty": {
  51458. "description": "平仓数量(先建后平操作 需要记录)",
  51459. "type": "number"
  51460. },
  51461. "creditamount": {
  51462. "description": "授信金额",
  51463. "type": "number"
  51464. },
  51465. "decimalplace": {
  51466. "description": "商品报价小数位",
  51467. "type": "integer"
  51468. },
  51469. "enumdicname": {
  51470. "description": "单位名称",
  51471. "type": "string"
  51472. },
  51473. "gcaccountid": {
  51474. "description": "账户ID[合约币种]",
  51475. "type": "integer"
  51476. },
  51477. "goodscode": {
  51478. "description": "商品代码",
  51479. "type": "string"
  51480. },
  51481. "goodsid": {
  51482. "description": "商品ID",
  51483. "type": "integer"
  51484. },
  51485. "goodsname": {
  51486. "description": "商品名称",
  51487. "type": "string"
  51488. },
  51489. "goodunitid": {
  51490. "description": "商品单位id",
  51491. "type": "integer"
  51492. },
  51493. "histradedate": {
  51494. "description": "历史交易日",
  51495. "type": "string"
  51496. },
  51497. "intclosepl": {
  51498. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  51499. "type": "integer"
  51500. },
  51501. "isconfirmexercise": {
  51502. "description": "是否确认行权- 0:否 1:是",
  51503. "type": "integer"
  51504. },
  51505. "ismain": {
  51506. "description": "是否主单 - 0:不是 1:是",
  51507. "type": "integer"
  51508. },
  51509. "ispreexercise": {
  51510. "description": "是否预申报- 0:否 1:是",
  51511. "type": "integer"
  51512. },
  51513. "isreckoned": {
  51514. "description": "是否结算 - 0:未结算 1:已结算",
  51515. "type": "integer"
  51516. },
  51517. "isvaliddata": {
  51518. "description": "是否有效 - 0:无效 1:有效",
  51519. "type": "integer"
  51520. },
  51521. "listingselecttype": {
  51522. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  51523. "type": "integer"
  51524. },
  51525. "marketid": {
  51526. "description": "市场ID",
  51527. "type": "integer"
  51528. },
  51529. "marketname": {
  51530. "description": "市场名称",
  51531. "type": "string"
  51532. },
  51533. "matchaccountid": {
  51534. "description": "对手账号id",
  51535. "type": "integer"
  51536. },
  51537. "memberuserid": {
  51538. "description": "会员id 个人投资者 需要填写",
  51539. "type": "integer"
  51540. },
  51541. "opencharge": {
  51542. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  51543. "type": "number"
  51544. },
  51545. "openexchagechargevalue": {
  51546. "description": "建仓交易所手续费设置值",
  51547. "type": "number"
  51548. },
  51549. "openfeealgorithm": {
  51550. "description": "建仓手续费收取方式 1:比率 2:固定",
  51551. "type": "integer"
  51552. },
  51553. "openmemberchargevalue": {
  51554. "description": "建仓会员手续费设置值",
  51555. "type": "number"
  51556. },
  51557. "openqty": {
  51558. "description": "开仓数量(先建后平操作 需要记录)",
  51559. "type": "number"
  51560. },
  51561. "optiontype": {
  51562. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  51563. "type": "integer"
  51564. },
  51565. "orderid": {
  51566. "description": "委托单号",
  51567. "type": "string"
  51568. },
  51569. "payamount": {
  51570. "description": "支付金额(付款金额)",
  51571. "type": "number"
  51572. },
  51573. "performanceplanid": {
  51574. "description": "履约计划ID[期权]",
  51575. "type": "integer"
  51576. },
  51577. "performancestatus": {
  51578. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  51579. "type": "integer"
  51580. },
  51581. "preexerciseprice": {
  51582. "description": "预申报价格",
  51583. "type": "number"
  51584. },
  51585. "premium": {
  51586. "description": "权利金 - [持仓单的权利金]",
  51587. "type": "number"
  51588. },
  51589. "qtydecimalplace": {
  51590. "description": "商品报价小数位",
  51591. "type": "integer"
  51592. },
  51593. "recvamount": {
  51594. "description": "到账金额 = 成交金额 - 手续费",
  51595. "type": "number"
  51596. },
  51597. "relatedouttradeid": {
  51598. "description": "关联外部成交单ID",
  51599. "type": "integer"
  51600. },
  51601. "status": {
  51602. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  51603. "type": "integer"
  51604. },
  51605. "totalamount": {
  51606. "description": "订单总额 = 成交金额 + 手续费",
  51607. "type": "number"
  51608. },
  51609. "tradeamount": {
  51610. "description": "成交金额[账户币种,用于所有权]",
  51611. "type": "number"
  51612. },
  51613. "tradedate": {
  51614. "description": "交易日(yyyyMMdd)",
  51615. "type": "string"
  51616. },
  51617. "tradeid": {
  51618. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  51619. "type": "string"
  51620. },
  51621. "trademode": {
  51622. "description": "交易模式",
  51623. "type": "integer"
  51624. },
  51625. "tradeprice": {
  51626. "description": "成交价格",
  51627. "type": "number"
  51628. },
  51629. "tradeproperty": {
  51630. "description": "交易属性",
  51631. "type": "integer"
  51632. },
  51633. "tradeqty": {
  51634. "description": "成交数量",
  51635. "type": "number"
  51636. },
  51637. "tradetime": {
  51638. "description": "成交时间",
  51639. "type": "string"
  51640. },
  51641. "tradetype": {
  51642. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  51643. "type": "integer"
  51644. }
  51645. }
  51646. },
  51647. "order.QueryHisTradeOrderDetailRsp": {
  51648. "type": "object",
  51649. "required": [
  51650. "accountid",
  51651. "buildtype",
  51652. "buyorsell",
  51653. "goodsid",
  51654. "histradedate",
  51655. "marketid",
  51656. "memberuserid",
  51657. "operatetype",
  51658. "orderid",
  51659. "orderqty",
  51660. "ordertime",
  51661. "pricemode",
  51662. "tradedate",
  51663. "validtype"
  51664. ],
  51665. "properties": {
  51666. "accountid": {
  51667. "description": "账户ID[报价币种]",
  51668. "type": "integer"
  51669. },
  51670. "buildtype": {
  51671. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  51672. "type": "integer"
  51673. },
  51674. "buyorsell": {
  51675. "description": "买卖 - 0:买 1:卖",
  51676. "type": "integer"
  51677. },
  51678. "cancelorderid": {
  51679. "description": "撤单单号(撤单时填写)",
  51680. "type": "string"
  51681. },
  51682. "cancelqty": {
  51683. "description": "撤单数量",
  51684. "type": "number"
  51685. },
  51686. "clientordertime": {
  51687. "description": "客户端委托时间",
  51688. "type": "string"
  51689. },
  51690. "clientticket": {
  51691. "description": "客户端流水号",
  51692. "type": "string"
  51693. },
  51694. "clienttype": {
  51695. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  51696. "type": "integer"
  51697. },
  51698. "closeexchagechargevalue": {
  51699. "description": "平仓交易所手续费设置值",
  51700. "type": "number"
  51701. },
  51702. "closefeealgorithm": {
  51703. "description": "平仓手续费收取方式 1:比率 2:固定",
  51704. "type": "integer"
  51705. },
  51706. "closefreezecharge": {
  51707. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  51708. "type": "number"
  51709. },
  51710. "closememberchargevalue": {
  51711. "description": "平仓会员手续费设置值",
  51712. "type": "number"
  51713. },
  51714. "closeqty": {
  51715. "description": "平仓数量(先建后平操作 需要记录)",
  51716. "type": "number"
  51717. },
  51718. "closetradeqty": {
  51719. "description": "平仓成交数量(先建后平操作,需要记录)",
  51720. "type": "number"
  51721. },
  51722. "closeunfreezecharge": {
  51723. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  51724. "type": "number"
  51725. },
  51726. "decimalplace": {
  51727. "description": "商品报价小数位",
  51728. "type": "integer"
  51729. },
  51730. "delistingtype": {
  51731. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  51732. "type": "integer"
  51733. },
  51734. "enumdicname": {
  51735. "description": "单位名称",
  51736. "type": "string"
  51737. },
  51738. "freezecharge": {
  51739. "description": "冻结手续费",
  51740. "type": "number"
  51741. },
  51742. "freezemargin": {
  51743. "description": "冻结保证金(冻结交易金额)",
  51744. "type": "number"
  51745. },
  51746. "gcaccountid": {
  51747. "description": "账户ID[合约币种]",
  51748. "type": "integer"
  51749. },
  51750. "goodscode": {
  51751. "description": "商品代码",
  51752. "type": "string"
  51753. },
  51754. "goodsid": {
  51755. "description": "商品ID",
  51756. "type": "integer"
  51757. },
  51758. "goodsname": {
  51759. "description": "商品名称",
  51760. "type": "string"
  51761. },
  51762. "goodunitid": {
  51763. "description": "商品单位id",
  51764. "type": "integer"
  51765. },
  51766. "histradedate": {
  51767. "description": "历史交易日",
  51768. "type": "string"
  51769. },
  51770. "isconfirmexercise": {
  51771. "description": "是否确认行权- 0:否 1:是",
  51772. "type": "integer"
  51773. },
  51774. "ispreexercise": {
  51775. "description": "是否预申报- 0:否 1:是",
  51776. "type": "integer"
  51777. },
  51778. "isvaliddata": {
  51779. "description": "是否有效 - 0:无效 1:有效",
  51780. "type": "integer"
  51781. },
  51782. "listingselecttype": {
  51783. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  51784. "type": "integer"
  51785. },
  51786. "marginalgorithm": {
  51787. "description": "保证金收取方式 1:比率 2:固定",
  51788. "type": "integer"
  51789. },
  51790. "marginvalue": {
  51791. "description": "即市保证金设置值",
  51792. "type": "number"
  51793. },
  51794. "marketid": {
  51795. "description": "市场ID",
  51796. "type": "integer"
  51797. },
  51798. "marketmaxsub": {
  51799. "description": "市价最大偏移范围",
  51800. "type": "number"
  51801. },
  51802. "marketname": {
  51803. "description": "市场名称",
  51804. "type": "string"
  51805. },
  51806. "memberuserid": {
  51807. "description": "所属会员UserID",
  51808. "type": "integer"
  51809. },
  51810. "openexchagechargevalue": {
  51811. "description": "建仓交易所手续费设置值",
  51812. "type": "number"
  51813. },
  51814. "openfeealgorithm": {
  51815. "description": "建仓手续费收取方式 1:比率 2:固定",
  51816. "type": "integer"
  51817. },
  51818. "openfreezecharge": {
  51819. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  51820. "type": "number"
  51821. },
  51822. "openmemberchargevalue": {
  51823. "description": "建仓会员手续费设置值",
  51824. "type": "number"
  51825. },
  51826. "openqty": {
  51827. "description": "开仓数量(先建后平操作,需要记录)",
  51828. "type": "number"
  51829. },
  51830. "opentradeqty": {
  51831. "description": "开仓成交数量(先建后平操作,需要记录)",
  51832. "type": "number"
  51833. },
  51834. "openunfreezecharge": {
  51835. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  51836. "type": "number"
  51837. },
  51838. "operatetype": {
  51839. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  51840. "type": "integer"
  51841. },
  51842. "operatorid": {
  51843. "description": "登录账号(LoginID)",
  51844. "type": "integer"
  51845. },
  51846. "optiontype": {
  51847. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  51848. "type": "integer"
  51849. },
  51850. "orderid": {
  51851. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  51852. "type": "string"
  51853. },
  51854. "orderprice": {
  51855. "description": "委托价格",
  51856. "type": "number"
  51857. },
  51858. "orderqty": {
  51859. "description": "委托数量",
  51860. "type": "number"
  51861. },
  51862. "ordersrc": {
  51863. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  51864. "type": "integer"
  51865. },
  51866. "orderstatus": {
  51867. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  51868. "type": "integer"
  51869. },
  51870. "ordertime": {
  51871. "description": "委托时间",
  51872. "type": "string"
  51873. },
  51874. "preexerciseprice": {
  51875. "description": "预申报价格",
  51876. "type": "number"
  51877. },
  51878. "premium": {
  51879. "description": "权利金",
  51880. "type": "number"
  51881. },
  51882. "preorderid": {
  51883. "description": "关联预埋单号(止盈止损单时填写)",
  51884. "type": "string"
  51885. },
  51886. "pricemode": {
  51887. "description": "取价方式 - 1:市价 2: 限价",
  51888. "type": "integer"
  51889. },
  51890. "qtydecimalplace": {
  51891. "description": "成交量小数位",
  51892. "type": "integer"
  51893. },
  51894. "quoteid": {
  51895. "description": "报价单ID",
  51896. "type": "integer"
  51897. },
  51898. "relatedid": {
  51899. "description": "关联单号(交割单)",
  51900. "type": "string"
  51901. },
  51902. "retcode": {
  51903. "description": "错误代码",
  51904. "type": "integer"
  51905. },
  51906. "sessionid": {
  51907. "description": "会话ID",
  51908. "type": "integer"
  51909. },
  51910. "tradedate": {
  51911. "description": "交易日(yyyyMMdd)",
  51912. "type": "string"
  51913. },
  51914. "trademode": {
  51915. "description": "交易模式",
  51916. "type": "integer"
  51917. },
  51918. "tradeproperty": {
  51919. "description": "交易属性",
  51920. "type": "integer"
  51921. },
  51922. "tradeqty": {
  51923. "description": "成交数量",
  51924. "type": "number"
  51925. },
  51926. "unfreezecharge": {
  51927. "description": "解冻手续费",
  51928. "type": "number"
  51929. },
  51930. "unfreezemargin": {
  51931. "description": "解冻保证金",
  51932. "type": "number"
  51933. },
  51934. "updatetime": {
  51935. "description": "更新时间",
  51936. "type": "string"
  51937. },
  51938. "uuid": {
  51939. "description": "发起端唯一id",
  51940. "type": "string"
  51941. },
  51942. "validtime": {
  51943. "description": "有效期限",
  51944. "type": "string"
  51945. },
  51946. "validtype": {
  51947. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  51948. "type": "integer"
  51949. },
  51950. "volumetype": {
  51951. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  51952. "type": "integer"
  51953. }
  51954. }
  51955. },
  51956. "order.QueryTradeDetailRsp": {
  51957. "type": "object",
  51958. "required": [
  51959. "accountid",
  51960. "buyorsell",
  51961. "goodsid",
  51962. "marketid",
  51963. "memberuserid",
  51964. "orderid",
  51965. "tradeamount",
  51966. "tradedate",
  51967. "tradeid",
  51968. "tradeprice",
  51969. "tradeqty",
  51970. "tradetime"
  51971. ],
  51972. "properties": {
  51973. "accountid": {
  51974. "description": "账户ID[报价币种]",
  51975. "type": "integer"
  51976. },
  51977. "advanceratio": {
  51978. "description": "首付比率",
  51979. "type": "number"
  51980. },
  51981. "buildtype": {
  51982. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  51983. "type": "integer"
  51984. },
  51985. "buyorsell": {
  51986. "description": "方向 - 0:买 1:卖",
  51987. "type": "integer"
  51988. },
  51989. "charge": {
  51990. "description": "手续费",
  51991. "type": "number"
  51992. },
  51993. "closecharge": {
  51994. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  51995. "type": "number"
  51996. },
  51997. "closeexchagechargevalue": {
  51998. "description": "平仓交易所手续费设置值",
  51999. "type": "number"
  52000. },
  52001. "closefeealgorithm": {
  52002. "description": "平仓手续费收取方式 1:比率 2:固定",
  52003. "type": "integer"
  52004. },
  52005. "closememberchargevalue": {
  52006. "description": "平仓会员手续费设置值",
  52007. "type": "number"
  52008. },
  52009. "closepl": {
  52010. "description": "平仓盈亏",
  52011. "type": "number"
  52012. },
  52013. "closepl2": {
  52014. "description": "平仓盈亏[逐笔]",
  52015. "type": "number"
  52016. },
  52017. "closeqty": {
  52018. "description": "平仓数量(先建后平操作 需要记录)",
  52019. "type": "number"
  52020. },
  52021. "creditamount": {
  52022. "description": "授信金额",
  52023. "type": "number"
  52024. },
  52025. "decimalplace": {
  52026. "description": "商品报价小数位",
  52027. "type": "integer"
  52028. },
  52029. "enumdicname": {
  52030. "description": "单位名称",
  52031. "type": "string"
  52032. },
  52033. "gcaccountid": {
  52034. "description": "账户ID[合约币种]",
  52035. "type": "integer"
  52036. },
  52037. "goodscode": {
  52038. "description": "商品代码",
  52039. "type": "string"
  52040. },
  52041. "goodsid": {
  52042. "description": "商品ID",
  52043. "type": "integer"
  52044. },
  52045. "goodsname": {
  52046. "description": "商品名称",
  52047. "type": "string"
  52048. },
  52049. "goodunitid": {
  52050. "description": "商品单位id",
  52051. "type": "integer"
  52052. },
  52053. "intclosepl": {
  52054. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  52055. "type": "integer"
  52056. },
  52057. "isconfirmexercise": {
  52058. "description": "是否确认行权- 0:否 1:是",
  52059. "type": "integer"
  52060. },
  52061. "ismain": {
  52062. "description": "是否主单 - 0:不是 1:是",
  52063. "type": "integer"
  52064. },
  52065. "ispreexercise": {
  52066. "description": "是否预申报- 0:否 1:是",
  52067. "type": "integer"
  52068. },
  52069. "isreckoned": {
  52070. "description": "是否结算 - 0:未结算 1:已结算",
  52071. "type": "integer"
  52072. },
  52073. "listingselecttype": {
  52074. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  52075. "type": "integer"
  52076. },
  52077. "marketid": {
  52078. "description": "市场ID",
  52079. "type": "integer"
  52080. },
  52081. "marketname": {
  52082. "description": "市场名称",
  52083. "type": "string"
  52084. },
  52085. "matchaccountid": {
  52086. "description": "对手账号id",
  52087. "type": "integer"
  52088. },
  52089. "memberuserid": {
  52090. "description": "会员id 个人投资者 需要填写",
  52091. "type": "integer"
  52092. },
  52093. "opencharge": {
  52094. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  52095. "type": "number"
  52096. },
  52097. "openexchagechargevalue": {
  52098. "description": "建仓交易所手续费设置值",
  52099. "type": "number"
  52100. },
  52101. "openfeealgorithm": {
  52102. "description": "建仓手续费收取方式 1:比率 2:固定",
  52103. "type": "integer"
  52104. },
  52105. "openmemberchargevalue": {
  52106. "description": "建仓会员手续费设置值",
  52107. "type": "number"
  52108. },
  52109. "openqty": {
  52110. "description": "开仓数量(先建后平操作 需要记录)",
  52111. "type": "number"
  52112. },
  52113. "optiontype": {
  52114. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  52115. "type": "integer"
  52116. },
  52117. "orderid": {
  52118. "description": "委托单号",
  52119. "type": "string"
  52120. },
  52121. "payamount": {
  52122. "description": "支付金额(付款金额)",
  52123. "type": "number"
  52124. },
  52125. "performanceplanid": {
  52126. "description": "履约计划ID[期权]",
  52127. "type": "integer"
  52128. },
  52129. "performancestatus": {
  52130. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  52131. "type": "integer"
  52132. },
  52133. "preexerciseprice": {
  52134. "description": "预申报价格",
  52135. "type": "number"
  52136. },
  52137. "premium": {
  52138. "description": "权利金 - [持仓单的权利金]",
  52139. "type": "number"
  52140. },
  52141. "qtydecimalplace": {
  52142. "description": "商品报价小数位",
  52143. "type": "integer"
  52144. },
  52145. "recvamount": {
  52146. "description": "到账金额 = 成交金额 - 手续费",
  52147. "type": "number"
  52148. },
  52149. "relatedouttradeid": {
  52150. "description": "关联外部成交单ID",
  52151. "type": "integer"
  52152. },
  52153. "status": {
  52154. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  52155. "type": "integer"
  52156. },
  52157. "totalamount": {
  52158. "description": "订单总额 = 成交金额 + 手续费",
  52159. "type": "number"
  52160. },
  52161. "tradeamount": {
  52162. "description": "成交金额[账户币种,用于所有权]",
  52163. "type": "number"
  52164. },
  52165. "tradedate": {
  52166. "description": "交易日(yyyyMMdd)",
  52167. "type": "string"
  52168. },
  52169. "tradeid": {
  52170. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  52171. "type": "string"
  52172. },
  52173. "trademode": {
  52174. "description": "交易模式",
  52175. "type": "integer"
  52176. },
  52177. "tradeprice": {
  52178. "description": "成交价格",
  52179. "type": "number"
  52180. },
  52181. "tradeproperty": {
  52182. "description": "交易属性",
  52183. "type": "integer"
  52184. },
  52185. "tradeqty": {
  52186. "description": "成交数量",
  52187. "type": "number"
  52188. },
  52189. "tradetime": {
  52190. "description": "成交时间",
  52191. "type": "string"
  52192. },
  52193. "tradetype": {
  52194. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  52195. "type": "integer"
  52196. }
  52197. }
  52198. },
  52199. "order.QueryTradeOrderDetailRsp": {
  52200. "type": "object",
  52201. "required": [
  52202. "accountid",
  52203. "buildtype",
  52204. "buyorsell",
  52205. "goodsid",
  52206. "marketid",
  52207. "operatetype",
  52208. "orderqty",
  52209. "ordertime",
  52210. "pricemode",
  52211. "tradedate",
  52212. "validtype"
  52213. ],
  52214. "properties": {
  52215. "accountid": {
  52216. "description": "账户ID[报价币种]",
  52217. "type": "integer"
  52218. },
  52219. "buildtype": {
  52220. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  52221. "type": "integer"
  52222. },
  52223. "buyorsell": {
  52224. "description": "买卖 - 0:买 1:卖",
  52225. "type": "integer"
  52226. },
  52227. "cancelorderid": {
  52228. "description": "撤单单号(撤单时填写)",
  52229. "type": "string"
  52230. },
  52231. "cancelqty": {
  52232. "description": "撤单数量",
  52233. "type": "number"
  52234. },
  52235. "clienttype": {
  52236. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  52237. "type": "integer"
  52238. },
  52239. "closefreezecharge": {
  52240. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  52241. "type": "number"
  52242. },
  52243. "closeqty": {
  52244. "description": "平仓数量(先建后平操作 需要记录)",
  52245. "type": "number"
  52246. },
  52247. "closetradeqty": {
  52248. "description": "平仓成交数量(先建后平操作,需要记录)",
  52249. "type": "number"
  52250. },
  52251. "closeunfreezecharge": {
  52252. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  52253. "type": "number"
  52254. },
  52255. "decimalplace": {
  52256. "description": "商品报价小数位",
  52257. "type": "integer"
  52258. },
  52259. "delistingtype": {
  52260. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  52261. "type": "integer"
  52262. },
  52263. "enableqty": {
  52264. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  52265. "type": "number"
  52266. },
  52267. "enumdicname": {
  52268. "description": "单位名称",
  52269. "type": "string"
  52270. },
  52271. "freezecharge": {
  52272. "description": "冻结手续费",
  52273. "type": "number"
  52274. },
  52275. "freezemargin": {
  52276. "description": "冻结保证金(冻结交易金额)",
  52277. "type": "number"
  52278. },
  52279. "goodscode": {
  52280. "description": "商品代码",
  52281. "type": "string"
  52282. },
  52283. "goodsid": {
  52284. "description": "商品ID",
  52285. "type": "integer"
  52286. },
  52287. "goodsname": {
  52288. "description": "商品名称",
  52289. "type": "string"
  52290. },
  52291. "goodunitid": {
  52292. "description": "商品单位id",
  52293. "type": "integer"
  52294. },
  52295. "listingselecttype": {
  52296. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  52297. "type": "integer"
  52298. },
  52299. "marketid": {
  52300. "description": "市场ID",
  52301. "type": "integer"
  52302. },
  52303. "marketname": {
  52304. "description": "市场名称",
  52305. "type": "string"
  52306. },
  52307. "openfreezecharge": {
  52308. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  52309. "type": "number"
  52310. },
  52311. "openqty": {
  52312. "description": "开仓数量(先建后平操作,需要记录)",
  52313. "type": "number"
  52314. },
  52315. "opentradeqty": {
  52316. "description": "开仓成交数量(先建后平操作,需要记录)",
  52317. "type": "number"
  52318. },
  52319. "openunfreezecharge": {
  52320. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  52321. "type": "number"
  52322. },
  52323. "operatetype": {
  52324. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  52325. "type": "integer"
  52326. },
  52327. "operatorid": {
  52328. "description": "登录账号(LoginID)",
  52329. "type": "integer"
  52330. },
  52331. "orderid": {
  52332. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  52333. "type": "string"
  52334. },
  52335. "orderprice": {
  52336. "description": "委托价格",
  52337. "type": "number"
  52338. },
  52339. "orderqty": {
  52340. "description": "委托数量",
  52341. "type": "number"
  52342. },
  52343. "ordersrc": {
  52344. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  52345. "type": "integer"
  52346. },
  52347. "orderstatus": {
  52348. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  52349. "type": "integer"
  52350. },
  52351. "ordertime": {
  52352. "description": "委托时间",
  52353. "type": "string"
  52354. },
  52355. "preorderid": {
  52356. "description": "关联预埋单号(止盈止损单时填写)",
  52357. "type": "string"
  52358. },
  52359. "pricemode": {
  52360. "description": "取价方式 - 1:市价 2: 限价",
  52361. "type": "integer"
  52362. },
  52363. "qtydecimalplace": {
  52364. "description": "商品报价小数位",
  52365. "type": "integer"
  52366. },
  52367. "relatedid": {
  52368. "description": "关联单号(交割单)",
  52369. "type": "string"
  52370. },
  52371. "tradedate": {
  52372. "description": "交易日(yyyyMMdd)",
  52373. "type": "string"
  52374. },
  52375. "trademode": {
  52376. "description": "交易模式",
  52377. "type": "integer"
  52378. },
  52379. "tradeqty": {
  52380. "description": "成交数量",
  52381. "type": "number"
  52382. },
  52383. "unfreezecharge": {
  52384. "description": "解冻手续费",
  52385. "type": "number"
  52386. },
  52387. "unfreezemargin": {
  52388. "description": "解冻保证金",
  52389. "type": "number"
  52390. },
  52391. "validtime": {
  52392. "description": "有效期限",
  52393. "type": "string"
  52394. },
  52395. "validtype": {
  52396. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  52397. "type": "integer"
  52398. },
  52399. "volumetype": {
  52400. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  52401. "type": "integer"
  52402. }
  52403. }
  52404. },
  52405. "order.QueryTradePositionRsp": {
  52406. "type": "object",
  52407. "required": [
  52408. "goodsid"
  52409. ],
  52410. "properties": {
  52411. "accountid": {
  52412. "description": "资金账户",
  52413. "type": "integer"
  52414. },
  52415. "agreeunit": {
  52416. "description": "合约单位",
  52417. "type": "number"
  52418. },
  52419. "averageprice": {
  52420. "description": "持仓均价",
  52421. "type": "number"
  52422. },
  52423. "buyorsell": {
  52424. "description": "方向 - 0:买 1:卖",
  52425. "type": "integer"
  52426. },
  52427. "closetotalqty": {
  52428. "description": "平仓总数量",
  52429. "type": "number"
  52430. },
  52431. "curholderamount": {
  52432. "description": "当前持仓总金额[商品币种]",
  52433. "type": "number"
  52434. },
  52435. "curpositionqty": {
  52436. "description": "当前持仓总数量",
  52437. "type": "number"
  52438. },
  52439. "currencyid": {
  52440. "description": "报价货币ID",
  52441. "type": "integer"
  52442. },
  52443. "curtdposition": {
  52444. "description": "期末今日头寸",
  52445. "type": "number"
  52446. },
  52447. "decimalplace": {
  52448. "description": "报价小数位",
  52449. "type": "integer"
  52450. },
  52451. "enableqty": {
  52452. "description": "可用量",
  52453. "type": "number"
  52454. },
  52455. "fretdposition": {
  52456. "description": "冻结今日头寸",
  52457. "type": "number"
  52458. },
  52459. "frozenqty": {
  52460. "description": "持仓冻结数量",
  52461. "type": "number"
  52462. },
  52463. "goodscode": {
  52464. "description": "商品代码",
  52465. "type": "string"
  52466. },
  52467. "goodsid": {
  52468. "description": "商品Id",
  52469. "type": "integer"
  52470. },
  52471. "goodsname": {
  52472. "description": "商品名称",
  52473. "type": "string"
  52474. },
  52475. "goodunit": {
  52476. "description": "报价单位",
  52477. "type": "string"
  52478. },
  52479. "goodunitid": {
  52480. "description": "报价单位ID",
  52481. "type": "integer"
  52482. },
  52483. "holderamount": {
  52484. "description": "期初持仓总金额[商品币种]",
  52485. "type": "number"
  52486. },
  52487. "lastprice": {
  52488. "description": "最新价",
  52489. "type": "number"
  52490. },
  52491. "marketamount": {
  52492. "description": "市值",
  52493. "type": "number"
  52494. },
  52495. "marketid": {
  52496. "description": "所属市场ID",
  52497. "type": "integer"
  52498. },
  52499. "openreqqty": {
  52500. "description": "开仓申请数量(用于比较最大持仓数量)",
  52501. "type": "number"
  52502. },
  52503. "opentotalqty": {
  52504. "description": "开仓总数量",
  52505. "type": "number"
  52506. },
  52507. "otherfrozenqty": {
  52508. "description": "持仓其他冻结数量(交割冻结)",
  52509. "type": "number"
  52510. },
  52511. "positionpl": {
  52512. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  52513. "type": "number"
  52514. },
  52515. "positionplrate": {
  52516. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  52517. "type": "number"
  52518. },
  52519. "positionqty": {
  52520. "description": "期初持仓数量",
  52521. "type": "number"
  52522. },
  52523. "qtydecimalplace": {
  52524. "description": "成交量小数位",
  52525. "type": "integer"
  52526. },
  52527. "refgoodscode": {
  52528. "description": "参考商品代码",
  52529. "type": "string"
  52530. },
  52531. "refgoodsid": {
  52532. "description": "参考商品ID",
  52533. "type": "integer"
  52534. },
  52535. "tnqty": {
  52536. "description": "T+N冻结总量",
  52537. "type": "number"
  52538. },
  52539. "tnusedqty": {
  52540. "description": "T+N使用量(可以使用T+N的冻结数量)",
  52541. "type": "number"
  52542. },
  52543. "trademode": {
  52544. "description": "交易模式",
  52545. "type": "integer"
  52546. },
  52547. "tradeproperty": {
  52548. "description": "交易属性",
  52549. "type": "integer"
  52550. },
  52551. "usedmargin": {
  52552. "description": "占用保证金[商品币种]",
  52553. "type": "number"
  52554. }
  52555. }
  52556. },
  52557. "pb.GoodsMarginCfgStruct": {
  52558. "type": "object",
  52559. "properties": {
  52560. "CustomerTypeID": {
  52561. "description": "投资者客户类型",
  52562. "type": "integer"
  52563. },
  52564. "GoodsID": {
  52565. "description": "商品ID",
  52566. "type": "integer"
  52567. },
  52568. "IsDefault": {
  52569. "description": "是否默认标志位",
  52570. "type": "integer"
  52571. },
  52572. "LockMarginValue": {
  52573. "description": "锁仓保证金",
  52574. "type": "number"
  52575. },
  52576. "MarginAlgorithm": {
  52577. "description": "保证金计算方式",
  52578. "type": "integer"
  52579. },
  52580. "MarketMarginValue": {
  52581. "description": "即市保证金值",
  52582. "type": "number"
  52583. },
  52584. "RealMarginAlgorithm": {
  52585. "description": "实付保证金计算方式",
  52586. "type": "integer"
  52587. },
  52588. "RealMarginValue": {
  52589. "description": "实付比例",
  52590. "type": "number"
  52591. },
  52592. "ReckonMarginValue": {
  52593. "description": "结算保证金值",
  52594. "type": "number"
  52595. }
  52596. }
  52597. },
  52598. "quote.HistoryData": {
  52599. "type": "object",
  52600. "properties": {
  52601. "c": {
  52602. "description": "收盘价",
  52603. "type": "number"
  52604. },
  52605. "f": {
  52606. "description": "是否补充数据",
  52607. "type": "boolean"
  52608. },
  52609. "h": {
  52610. "description": "最高价",
  52611. "type": "number"
  52612. },
  52613. "hv": {
  52614. "description": "持仓量",
  52615. "type": "integer"
  52616. },
  52617. "l": {
  52618. "description": "最低价",
  52619. "type": "number"
  52620. },
  52621. "o": {
  52622. "description": "开盘价",
  52623. "type": "number"
  52624. },
  52625. "s": {
  52626. "description": "结算价,日线周期(包括)以上才有",
  52627. "type": "number"
  52628. },
  52629. "ts": {
  52630. "description": "时间",
  52631. "type": "string"
  52632. },
  52633. "tt": {
  52634. "description": "总金额",
  52635. "type": "number"
  52636. },
  52637. "tv": {
  52638. "description": "总量(成交量)",
  52639. "type": "integer"
  52640. }
  52641. }
  52642. },
  52643. "quote.HistoryTikData": {
  52644. "type": "object",
  52645. "properties": {
  52646. "AV": {
  52647. "description": "卖量",
  52648. "type": "integer"
  52649. },
  52650. "Ask": {
  52651. "description": "卖价",
  52652. "type": "number"
  52653. },
  52654. "BV": {
  52655. "description": "买量",
  52656. "type": "integer"
  52657. },
  52658. "Bid": {
  52659. "description": "买价",
  52660. "type": "number"
  52661. },
  52662. "HI": {
  52663. "description": "单笔持仓",
  52664. "type": "integer"
  52665. },
  52666. "HV": {
  52667. "description": "持仓量",
  52668. "type": "integer"
  52669. },
  52670. "PE": {
  52671. "description": "现价",
  52672. "type": "number"
  52673. },
  52674. "TDR": {
  52675. "description": "交易方向,0:买 1:卖",
  52676. "type": "integer"
  52677. },
  52678. "TK": {
  52679. "description": "交易类型",
  52680. "type": "integer"
  52681. },
  52682. "TS": {
  52683. "description": "行情时间文本",
  52684. "type": "string"
  52685. },
  52686. "TT": {
  52687. "description": "现金额",
  52688. "type": "number"
  52689. },
  52690. "Vol": {
  52691. "description": "现量",
  52692. "type": "integer"
  52693. }
  52694. }
  52695. },
  52696. "quote.QueryQuoteDayRsp": {
  52697. "type": "object",
  52698. "properties": {
  52699. "ask": {
  52700. "description": "卖1",
  52701. "type": "number"
  52702. },
  52703. "ask10": {
  52704. "description": "卖10",
  52705. "type": "number"
  52706. },
  52707. "ask2": {
  52708. "description": "卖2",
  52709. "type": "number"
  52710. },
  52711. "ask3": {
  52712. "description": "卖3",
  52713. "type": "number"
  52714. },
  52715. "ask4": {
  52716. "description": "卖4",
  52717. "type": "number"
  52718. },
  52719. "ask5": {
  52720. "description": "卖5",
  52721. "type": "number"
  52722. },
  52723. "ask6": {
  52724. "description": "卖6",
  52725. "type": "number"
  52726. },
  52727. "ask7": {
  52728. "description": "卖7",
  52729. "type": "number"
  52730. },
  52731. "ask8": {
  52732. "description": "卖8",
  52733. "type": "number"
  52734. },
  52735. "ask9": {
  52736. "description": "卖9",
  52737. "type": "number"
  52738. },
  52739. "askorderid": {
  52740. "description": "卖单号1",
  52741. "type": "integer"
  52742. },
  52743. "askorderid2": {
  52744. "description": "卖单号2",
  52745. "type": "integer"
  52746. },
  52747. "askorderid3": {
  52748. "description": "卖单号3",
  52749. "type": "integer"
  52750. },
  52751. "askorderid4": {
  52752. "description": "卖单号4",
  52753. "type": "integer"
  52754. },
  52755. "askorderid5": {
  52756. "description": "卖单号5",
  52757. "type": "integer"
  52758. },
  52759. "askordervolume": {
  52760. "description": "卖单量1",
  52761. "type": "integer"
  52762. },
  52763. "askordervolume10": {
  52764. "description": "卖单量10",
  52765. "type": "integer"
  52766. },
  52767. "askordervolume2": {
  52768. "description": "卖单量2",
  52769. "type": "integer"
  52770. },
  52771. "askordervolume3": {
  52772. "description": "卖单量3",
  52773. "type": "integer"
  52774. },
  52775. "askordervolume4": {
  52776. "description": "卖单量4",
  52777. "type": "integer"
  52778. },
  52779. "askordervolume5": {
  52780. "description": "卖单量5",
  52781. "type": "integer"
  52782. },
  52783. "askordervolume6": {
  52784. "description": "卖单量6",
  52785. "type": "integer"
  52786. },
  52787. "askordervolume7": {
  52788. "description": "卖单量7",
  52789. "type": "integer"
  52790. },
  52791. "askordervolume8": {
  52792. "description": "卖单量8",
  52793. "type": "integer"
  52794. },
  52795. "askordervolume9": {
  52796. "description": "卖单量9",
  52797. "type": "integer"
  52798. },
  52799. "askqueueinfo": {
  52800. "description": "大利市卖港股用",
  52801. "type": "string"
  52802. },
  52803. "askvolume": {
  52804. "description": "卖量1",
  52805. "type": "integer"
  52806. },
  52807. "askvolume10": {
  52808. "description": "卖量10",
  52809. "type": "integer"
  52810. },
  52811. "askvolume2": {
  52812. "description": "卖量2",
  52813. "type": "integer"
  52814. },
  52815. "askvolume3": {
  52816. "description": "卖量3",
  52817. "type": "integer"
  52818. },
  52819. "askvolume4": {
  52820. "description": "卖量4",
  52821. "type": "integer"
  52822. },
  52823. "askvolume5": {
  52824. "description": "卖量5",
  52825. "type": "integer"
  52826. },
  52827. "askvolume6": {
  52828. "description": "卖量6",
  52829. "type": "integer"
  52830. },
  52831. "askvolume7": {
  52832. "description": "卖量7",
  52833. "type": "integer"
  52834. },
  52835. "askvolume8": {
  52836. "description": "卖量8",
  52837. "type": "integer"
  52838. },
  52839. "askvolume9": {
  52840. "description": "卖量9",
  52841. "type": "integer"
  52842. },
  52843. "averageprice": {
  52844. "description": "均价",
  52845. "type": "number"
  52846. },
  52847. "bid": {
  52848. "description": "买1",
  52849. "type": "number"
  52850. },
  52851. "bid10": {
  52852. "description": "买10",
  52853. "type": "number"
  52854. },
  52855. "bid2": {
  52856. "description": "买2",
  52857. "type": "number"
  52858. },
  52859. "bid3": {
  52860. "description": "买3",
  52861. "type": "number"
  52862. },
  52863. "bid4": {
  52864. "description": "买4",
  52865. "type": "number"
  52866. },
  52867. "bid5": {
  52868. "description": "买5",
  52869. "type": "number"
  52870. },
  52871. "bid6": {
  52872. "description": "买6",
  52873. "type": "number"
  52874. },
  52875. "bid7": {
  52876. "description": "买7",
  52877. "type": "number"
  52878. },
  52879. "bid8": {
  52880. "description": "买8",
  52881. "type": "number"
  52882. },
  52883. "bid9": {
  52884. "description": "买9",
  52885. "type": "number"
  52886. },
  52887. "bidorderid": {
  52888. "description": "买单号1",
  52889. "type": "integer"
  52890. },
  52891. "bidorderid2": {
  52892. "description": "买单号2",
  52893. "type": "integer"
  52894. },
  52895. "bidorderid3": {
  52896. "description": "买单号3",
  52897. "type": "integer"
  52898. },
  52899. "bidorderid4": {
  52900. "description": "买单号4",
  52901. "type": "integer"
  52902. },
  52903. "bidorderid5": {
  52904. "description": "买单号5",
  52905. "type": "integer"
  52906. },
  52907. "bidordervolume": {
  52908. "description": "买单量1",
  52909. "type": "integer"
  52910. },
  52911. "bidordervolume10": {
  52912. "description": "买单量10",
  52913. "type": "integer"
  52914. },
  52915. "bidordervolume2": {
  52916. "description": "买单量2",
  52917. "type": "integer"
  52918. },
  52919. "bidordervolume3": {
  52920. "description": "买单量3",
  52921. "type": "integer"
  52922. },
  52923. "bidordervolume4": {
  52924. "description": "买单量4",
  52925. "type": "integer"
  52926. },
  52927. "bidordervolume5": {
  52928. "description": "买单量5",
  52929. "type": "integer"
  52930. },
  52931. "bidordervolume6": {
  52932. "description": "买单量6",
  52933. "type": "integer"
  52934. },
  52935. "bidordervolume7": {
  52936. "description": "买单量7",
  52937. "type": "integer"
  52938. },
  52939. "bidordervolume8": {
  52940. "description": "买单量8",
  52941. "type": "integer"
  52942. },
  52943. "bidordervolume9": {
  52944. "description": "买单量9",
  52945. "type": "integer"
  52946. },
  52947. "bidqueueinfo": {
  52948. "description": "大利市买港股用",
  52949. "type": "string"
  52950. },
  52951. "bidvolume": {
  52952. "description": "买量1",
  52953. "type": "integer"
  52954. },
  52955. "bidvolume10": {
  52956. "description": "买量10",
  52957. "type": "integer"
  52958. },
  52959. "bidvolume2": {
  52960. "description": "买量2",
  52961. "type": "integer"
  52962. },
  52963. "bidvolume3": {
  52964. "description": "买量3",
  52965. "type": "integer"
  52966. },
  52967. "bidvolume4": {
  52968. "description": "买量4",
  52969. "type": "integer"
  52970. },
  52971. "bidvolume5": {
  52972. "description": "买量5",
  52973. "type": "integer"
  52974. },
  52975. "bidvolume6": {
  52976. "description": "买量6",
  52977. "type": "integer"
  52978. },
  52979. "bidvolume7": {
  52980. "description": "买量7",
  52981. "type": "integer"
  52982. },
  52983. "bidvolume8": {
  52984. "description": "买量8",
  52985. "type": "integer"
  52986. },
  52987. "bidvolume9": {
  52988. "description": "买量9",
  52989. "type": "integer"
  52990. },
  52991. "calloptionpremiums": {
  52992. "description": "认购期权1",
  52993. "type": "integer"
  52994. },
  52995. "calloptionpremiums2": {
  52996. "description": "认购期权2",
  52997. "type": "integer"
  52998. },
  52999. "calloptionpremiums3": {
  53000. "description": "认购期权3",
  53001. "type": "integer"
  53002. },
  53003. "calloptionpremiums4": {
  53004. "description": "认购期权4",
  53005. "type": "integer"
  53006. },
  53007. "calloptionpremiums5": {
  53008. "description": "认购期权5",
  53009. "type": "integer"
  53010. },
  53011. "cleartime": {
  53012. "description": "清盘时间",
  53013. "type": "integer"
  53014. },
  53015. "exchangecode": {
  53016. "description": "交易所代码",
  53017. "type": "integer"
  53018. },
  53019. "exchangedate": {
  53020. "description": "交易日",
  53021. "type": "integer"
  53022. },
  53023. "goodscode": {
  53024. "description": "商品代码",
  53025. "type": "string"
  53026. },
  53027. "grepmarketprice": {
  53028. "description": "暗盘价 港股专用",
  53029. "type": "number"
  53030. },
  53031. "highest": {
  53032. "description": "最高价",
  53033. "type": "number"
  53034. },
  53035. "holdincrement": {
  53036. "description": "单笔持仓",
  53037. "type": "integer"
  53038. },
  53039. "holdvolume": {
  53040. "description": "持仓",
  53041. "type": "integer"
  53042. },
  53043. "iep": {
  53044. "description": "平衡价 港股专用",
  53045. "type": "number"
  53046. },
  53047. "iev": {
  53048. "description": "平衡量 港股专用",
  53049. "type": "number"
  53050. },
  53051. "inventory": {
  53052. "description": "库存",
  53053. "type": "integer"
  53054. },
  53055. "iscleared": {
  53056. "description": "是否清盘标志",
  53057. "type": "integer"
  53058. },
  53059. "issettled": {
  53060. "description": "是否结算标志",
  53061. "type": "integer"
  53062. },
  53063. "last": {
  53064. "description": "最新价",
  53065. "type": "number"
  53066. },
  53067. "lastlot": {
  53068. "description": "最新成交手数",
  53069. "type": "integer"
  53070. },
  53071. "lasttime": {
  53072. "description": "行情时间(只有现价变化行情时间才变化)",
  53073. "type": "string"
  53074. },
  53075. "lastturnover": {
  53076. "description": "最新成交金额",
  53077. "type": "number"
  53078. },
  53079. "lastvolume": {
  53080. "description": "最新成交量",
  53081. "type": "integer"
  53082. },
  53083. "limitdown": {
  53084. "description": "跌停价",
  53085. "type": "number"
  53086. },
  53087. "limitup": {
  53088. "description": "涨停价",
  53089. "type": "number"
  53090. },
  53091. "lowest": {
  53092. "description": "最低价",
  53093. "type": "number"
  53094. },
  53095. "nontotalholdervolume": {
  53096. "description": "非交易持仓量",
  53097. "type": "integer"
  53098. },
  53099. "nontotallot": {
  53100. "description": "非交易总手数",
  53101. "type": "integer"
  53102. },
  53103. "nontotalturnover": {
  53104. "description": "非交易总金额",
  53105. "type": "integer"
  53106. },
  53107. "nontotalvolume": {
  53108. "description": "非交易总量",
  53109. "type": "integer"
  53110. },
  53111. "opened": {
  53112. "description": "开盘价",
  53113. "type": "number"
  53114. },
  53115. "opentime": {
  53116. "description": "开盘时间",
  53117. "type": "string"
  53118. },
  53119. "orderid": {
  53120. "description": "序号",
  53121. "type": "integer"
  53122. },
  53123. "preclose": {
  53124. "description": "昨收",
  53125. "type": "number"
  53126. },
  53127. "preholdvolume": {
  53128. "description": "昨持仓",
  53129. "type": "integer"
  53130. },
  53131. "presettle": {
  53132. "description": "昨结价",
  53133. "type": "number"
  53134. },
  53135. "publictradetype": {
  53136. "description": "公共交易标志类型 港股专用",
  53137. "type": "string"
  53138. },
  53139. "putoptionpremiums": {
  53140. "description": "认沽期权1",
  53141. "type": "integer"
  53142. },
  53143. "putoptionpremiums2": {
  53144. "description": "认沽期权2",
  53145. "type": "integer"
  53146. },
  53147. "putoptionpremiums3": {
  53148. "description": "认沽期权3",
  53149. "type": "integer"
  53150. },
  53151. "putoptionpremiums4": {
  53152. "description": "认沽期权4",
  53153. "type": "integer"
  53154. },
  53155. "putoptionpremiums5": {
  53156. "description": "认沽期权5",
  53157. "type": "integer"
  53158. },
  53159. "settle": {
  53160. "description": "结算价",
  53161. "type": "number"
  53162. },
  53163. "strikeprice": {
  53164. "description": "发行价",
  53165. "type": "number"
  53166. },
  53167. "totalaskvolume": {
  53168. "description": "内盘",
  53169. "type": "integer"
  53170. },
  53171. "totalbidvolume": {
  53172. "description": "外盘",
  53173. "type": "integer"
  53174. },
  53175. "totallot": {
  53176. "description": "总手数",
  53177. "type": "integer"
  53178. },
  53179. "totalturnover": {
  53180. "description": "总金额",
  53181. "type": "number"
  53182. },
  53183. "totalvolume": {
  53184. "description": "总量",
  53185. "type": "integer"
  53186. },
  53187. "utclasttime": {
  53188. "description": "utc的行情时间",
  53189. "type": "string"
  53190. }
  53191. }
  53192. },
  53193. "quote.QueryTSDataRsp": {
  53194. "type": "object",
  53195. "properties": {
  53196. "Count": {
  53197. "description": "交易日应有数据个数",
  53198. "type": "integer"
  53199. },
  53200. "decimalPlace": {
  53201. "description": "小数位",
  53202. "type": "integer"
  53203. },
  53204. "endTime": {
  53205. "description": "结束时间",
  53206. "type": "string"
  53207. },
  53208. "goodsCode": {
  53209. "description": "商品代码",
  53210. "type": "string"
  53211. },
  53212. "historyDatas": {
  53213. "description": "历史数据",
  53214. "type": "array",
  53215. "items": {
  53216. "$ref": "#/definitions/quote.HistoryData"
  53217. }
  53218. },
  53219. "outGoodsCode": {
  53220. "description": "外部商品代码",
  53221. "type": "string"
  53222. },
  53223. "preSettle": {
  53224. "description": "昨结价",
  53225. "type": "number"
  53226. },
  53227. "runSteps": {
  53228. "description": "交易日开休市计划",
  53229. "type": "array",
  53230. "items": {
  53231. "$ref": "#/definitions/quote.TSDataRunStep"
  53232. }
  53233. },
  53234. "startTime": {
  53235. "description": "开始时间",
  53236. "type": "string"
  53237. },
  53238. "tradeDate": {
  53239. "description": "交易日",
  53240. "type": "string"
  53241. }
  53242. }
  53243. },
  53244. "quote.TSDataRunStep": {
  53245. "type": "object",
  53246. "properties": {
  53247. "end": {
  53248. "description": "真实结束时间",
  53249. "type": "string"
  53250. },
  53251. "endflag": {
  53252. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  53253. "type": "integer"
  53254. },
  53255. "endtime": {
  53256. "description": "结束时间(HH:mm)",
  53257. "type": "string"
  53258. },
  53259. "endweekday": {
  53260. "description": "结束周几",
  53261. "type": "integer"
  53262. },
  53263. "groupid": {
  53264. "description": "分组ID",
  53265. "type": "integer"
  53266. },
  53267. "runstep": {
  53268. "description": "运行阶段 - 2:连续交易",
  53269. "type": "integer"
  53270. },
  53271. "sectionid": {
  53272. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  53273. "type": "integer"
  53274. },
  53275. "start": {
  53276. "description": "真实开始时间",
  53277. "type": "string"
  53278. },
  53279. "startflag": {
  53280. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  53281. "type": "integer"
  53282. },
  53283. "starttime": {
  53284. "description": "起始时间(HH:mm)",
  53285. "type": "string"
  53286. },
  53287. "startweekday": {
  53288. "description": "起始周几",
  53289. "type": "integer"
  53290. },
  53291. "tradeweekday": {
  53292. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  53293. "type": "integer"
  53294. }
  53295. }
  53296. },
  53297. "szdz.QueryConvertLogRsp": {
  53298. "type": "object",
  53299. "required": [
  53300. "logid"
  53301. ],
  53302. "properties": {
  53303. "accountid": {
  53304. "description": "资金账户ID",
  53305. "type": "integer"
  53306. },
  53307. "clientticket": {
  53308. "description": "客户端流水号",
  53309. "type": "string"
  53310. },
  53311. "converttype": {
  53312. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  53313. "type": "integer"
  53314. },
  53315. "createtime": {
  53316. "description": "记账时间",
  53317. "type": "string"
  53318. },
  53319. "daymaxvalue": {
  53320. "description": "配置当日最大转入限制",
  53321. "type": "number"
  53322. },
  53323. "daymaxvalue2": {
  53324. "description": "配置当日最大转入限制(转入)",
  53325. "type": "number"
  53326. },
  53327. "goodscode": {
  53328. "description": "商品代码",
  53329. "type": "string"
  53330. },
  53331. "goodsname": {
  53332. "description": "商品名称",
  53333. "type": "string"
  53334. },
  53335. "handlestatus": {
  53336. "description": "处理状态",
  53337. "type": "integer"
  53338. },
  53339. "innergoodsid": {
  53340. "description": "内部商品ID",
  53341. "type": "integer"
  53342. },
  53343. "inratio": {
  53344. "description": "配置转入比值",
  53345. "type": "integer"
  53346. },
  53347. "invalue": {
  53348. "description": "目标值",
  53349. "type": "number"
  53350. },
  53351. "logid": {
  53352. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  53353. "type": "integer"
  53354. },
  53355. "mobile": {
  53356. "description": "手机号码(加密存储)",
  53357. "type": "string"
  53358. },
  53359. "outergoodscode": {
  53360. "description": "外部商品代码[JD\\PD]",
  53361. "type": "string"
  53362. },
  53363. "outratio": {
  53364. "description": "配置转出比值",
  53365. "type": "integer"
  53366. },
  53367. "outvalue": {
  53368. "description": "源值",
  53369. "type": "number"
  53370. },
  53371. "pddecimalplace": {
  53372. "description": "PD小数位",
  53373. "type": "integer"
  53374. },
  53375. "qty": {
  53376. "description": "数量",
  53377. "type": "string"
  53378. },
  53379. "remark": {
  53380. "description": "备注",
  53381. "type": "string"
  53382. },
  53383. "sessionid": {
  53384. "description": "会话ID",
  53385. "type": "integer"
  53386. },
  53387. "timemaxvalue": {
  53388. "description": "配置单次最大转入限制",
  53389. "type": "number"
  53390. },
  53391. "timemaxvalue2": {
  53392. "description": "配置单次最大转入限制(转入)",
  53393. "type": "number"
  53394. },
  53395. "timeminvalue": {
  53396. "description": "配置单次最小数量限制",
  53397. "type": "number"
  53398. },
  53399. "timeminvalue2": {
  53400. "description": "配置单次最小数量限制(转入)",
  53401. "type": "number"
  53402. },
  53403. "tradedate": {
  53404. "description": "交易日(yyyyMMdd)",
  53405. "type": "string"
  53406. },
  53407. "userid": {
  53408. "description": "用户ID",
  53409. "type": "integer"
  53410. }
  53411. }
  53412. },
  53413. "szdz.QueryGoodsPickupRsp": {
  53414. "type": "object",
  53415. "required": [
  53416. "takeorderid"
  53417. ],
  53418. "properties": {
  53419. "accountid": {
  53420. "description": "账户ID",
  53421. "type": "integer"
  53422. },
  53423. "address": {
  53424. "description": "提货人详细地址",
  53425. "type": "string"
  53426. },
  53427. "auditer": {
  53428. "description": "审核人",
  53429. "type": "integer"
  53430. },
  53431. "audittime": {
  53432. "description": "审核时间",
  53433. "type": "string"
  53434. },
  53435. "cardnum": {
  53436. "description": "提货人证件号码",
  53437. "type": "string"
  53438. },
  53439. "cardtypeid": {
  53440. "description": "提货人证件类型",
  53441. "type": "integer"
  53442. },
  53443. "checkremark": {
  53444. "description": "审核备注",
  53445. "type": "string"
  53446. },
  53447. "goodscode": {
  53448. "description": "商品代码",
  53449. "type": "string"
  53450. },
  53451. "goodsid": {
  53452. "description": "商品ID",
  53453. "type": "integer"
  53454. },
  53455. "goodsname": {
  53456. "description": "商品名称",
  53457. "type": "string"
  53458. },
  53459. "handlestatus": {
  53460. "description": "处理状态",
  53461. "type": "integer"
  53462. },
  53463. "marketid": {
  53464. "description": "市场ID",
  53465. "type": "integer"
  53466. },
  53467. "phonenum": {
  53468. "description": "提货人联系方式",
  53469. "type": "string"
  53470. },
  53471. "qty": {
  53472. "description": "提货数量",
  53473. "type": "number"
  53474. },
  53475. "recivername": {
  53476. "description": "提货人姓名",
  53477. "type": "string"
  53478. },
  53479. "reqtime": {
  53480. "description": "更新时间",
  53481. "type": "string"
  53482. },
  53483. "takemode": {
  53484. "description": "提货方式 - 2:自提 3:配送",
  53485. "type": "integer"
  53486. },
  53487. "takeorderid": {
  53488. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  53489. "type": "string"
  53490. },
  53491. "takeorderstatus": {
  53492. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  53493. "type": "integer"
  53494. },
  53495. "takeremark": {
  53496. "description": "提货备注",
  53497. "type": "string"
  53498. },
  53499. "tradedate": {
  53500. "description": "交易日(yyyyMMdd)",
  53501. "type": "string"
  53502. },
  53503. "userid": {
  53504. "description": "用户ID",
  53505. "type": "integer"
  53506. }
  53507. }
  53508. },
  53509. "szdz.QueryRecieptOrderRsp": {
  53510. "type": "object",
  53511. "required": [
  53512. "ordertime"
  53513. ],
  53514. "properties": {
  53515. "accountName": {
  53516. "description": "所属账号名称(已脱敏)",
  53517. "type": "string"
  53518. },
  53519. "accountid": {
  53520. "description": "资金账号",
  53521. "type": "integer"
  53522. },
  53523. "buyorsell": {
  53524. "description": "方向 - 0:买 1:卖",
  53525. "type": "integer"
  53526. },
  53527. "enableqty": {
  53528. "description": "可摘数量",
  53529. "type": "integer"
  53530. },
  53531. "goodscode": {
  53532. "description": "商品代码",
  53533. "type": "string"
  53534. },
  53535. "goodsid": {
  53536. "description": "商品ID",
  53537. "type": "integer"
  53538. },
  53539. "goodsname": {
  53540. "description": "商品名称",
  53541. "type": "string"
  53542. },
  53543. "orderid": {
  53544. "description": "委托单号",
  53545. "type": "string"
  53546. },
  53547. "orderprice": {
  53548. "description": "委托价格",
  53549. "type": "number"
  53550. },
  53551. "ordertime": {
  53552. "description": "委托时间",
  53553. "type": "string"
  53554. },
  53555. "tradedate": {
  53556. "description": "交易日(yyyyMMdd)",
  53557. "type": "string"
  53558. }
  53559. }
  53560. },
  53561. "szdz.QuerySZDZTradePositionRsp": {
  53562. "type": "object",
  53563. "properties": {
  53564. "accountid": {
  53565. "description": "账号Id",
  53566. "type": "integer"
  53567. },
  53568. "agreeunit": {
  53569. "description": "合约单位",
  53570. "type": "number"
  53571. },
  53572. "averageprice": {
  53573. "description": "持仓均价",
  53574. "type": "number"
  53575. },
  53576. "buyorsell": {
  53577. "description": "方向 - 0:买 1:卖",
  53578. "type": "integer"
  53579. },
  53580. "closetotalqty": {
  53581. "description": "平仓总数量",
  53582. "type": "integer"
  53583. },
  53584. "curholderamount": {
  53585. "description": "当前持仓总金额",
  53586. "type": "number"
  53587. },
  53588. "curpositionqty": {
  53589. "description": "当前持仓总数量",
  53590. "type": "integer"
  53591. },
  53592. "currencyid": {
  53593. "description": "报价货币ID",
  53594. "type": "integer"
  53595. },
  53596. "curtdposition": {
  53597. "description": "期末今日头寸",
  53598. "type": "integer"
  53599. },
  53600. "decimalplace": {
  53601. "description": "报价小数位",
  53602. "type": "integer"
  53603. },
  53604. "enableqty": {
  53605. "description": "可用量",
  53606. "type": "integer"
  53607. },
  53608. "fretdposition": {
  53609. "description": "冻结今日头寸",
  53610. "type": "integer"
  53611. },
  53612. "frozenqty": {
  53613. "description": "持仓冻结数量",
  53614. "type": "integer"
  53615. },
  53616. "goodscode": {
  53617. "description": "商品代码(内部)",
  53618. "type": "string"
  53619. },
  53620. "goodsid": {
  53621. "description": "商品Id",
  53622. "type": "integer"
  53623. },
  53624. "goodsname": {
  53625. "description": "商品名称",
  53626. "type": "string"
  53627. },
  53628. "goodunit": {
  53629. "description": "报价单位",
  53630. "type": "string"
  53631. },
  53632. "goodunitid": {
  53633. "description": "报价单位ID",
  53634. "type": "integer"
  53635. },
  53636. "holderamount": {
  53637. "description": "期初持仓总金额",
  53638. "type": "number"
  53639. },
  53640. "marketid": {
  53641. "description": "市场ID",
  53642. "type": "integer"
  53643. },
  53644. "openreqqty": {
  53645. "description": "开仓申请数量",
  53646. "type": "integer"
  53647. },
  53648. "opentotalqty": {
  53649. "description": "开仓总数量",
  53650. "type": "integer"
  53651. },
  53652. "otherfrozenqty": {
  53653. "description": "持仓其他冻结数量(交割冻结)",
  53654. "type": "integer"
  53655. },
  53656. "positionqty": {
  53657. "description": "期初持仓数量",
  53658. "type": "integer"
  53659. },
  53660. "szdz3freezqty": {
  53661. "description": "尚志大宗转换冻结总数量",
  53662. "type": "integer"
  53663. },
  53664. "tnqty": {
  53665. "description": "T+N冻结总量",
  53666. "type": "integer"
  53667. },
  53668. "tnusedqty": {
  53669. "description": "T+N使用量",
  53670. "type": "integer"
  53671. },
  53672. "trademode": {
  53673. "description": "交易模式",
  53674. "type": "integer"
  53675. },
  53676. "usedmargin": {
  53677. "description": "占用保证金",
  53678. "type": "number"
  53679. }
  53680. }
  53681. },
  53682. "taaccount.QueryAmountLogRsp": {
  53683. "type": "object",
  53684. "required": [
  53685. "accountid",
  53686. "amount",
  53687. "amountadjusttype",
  53688. "autoid",
  53689. "balance",
  53690. "createtime",
  53691. "currentbalance",
  53692. "operatetype"
  53693. ],
  53694. "properties": {
  53695. "accountid": {
  53696. "description": "资金账户ID",
  53697. "type": "integer"
  53698. },
  53699. "agoodscode": {
  53700. "description": "竞拍商品代码",
  53701. "type": "string"
  53702. },
  53703. "agoodsname": {
  53704. "description": "竞拍商品名称",
  53705. "type": "string"
  53706. },
  53707. "amount": {
  53708. "description": "资金金额",
  53709. "type": "number"
  53710. },
  53711. "amountadjusttype": {
  53712. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  53713. "type": "integer"
  53714. },
  53715. "autoid": {
  53716. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  53717. "type": "integer"
  53718. },
  53719. "balance": {
  53720. "description": "期初余额",
  53721. "type": "number"
  53722. },
  53723. "businesscode": {
  53724. "description": "业务编号",
  53725. "type": "integer"
  53726. },
  53727. "createtime": {
  53728. "description": "发生时间",
  53729. "type": "string"
  53730. },
  53731. "currencyid": {
  53732. "description": "币种ID",
  53733. "type": "integer"
  53734. },
  53735. "currentbalance": {
  53736. "description": "期末余额(变动后金额)",
  53737. "type": "number"
  53738. },
  53739. "dgoodscode": {
  53740. "description": "交割商品代码",
  53741. "type": "string"
  53742. },
  53743. "dgoodsname": {
  53744. "description": "交割商品名称",
  53745. "type": "string"
  53746. },
  53747. "goodscode": {
  53748. "description": "商品代码",
  53749. "type": "string"
  53750. },
  53751. "goodsid": {
  53752. "description": "商品ID",
  53753. "type": "integer"
  53754. },
  53755. "goodsname": {
  53756. "description": "商品名称",
  53757. "type": "string"
  53758. },
  53759. "marketid": {
  53760. "description": "市场ID",
  53761. "type": "integer"
  53762. },
  53763. "marketname": {
  53764. "description": "市场名称",
  53765. "type": "string"
  53766. },
  53767. "moneyticket": {
  53768. "description": "资金流水号:银行端流水号",
  53769. "type": "integer"
  53770. },
  53771. "operatetype": {
  53772. "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:营销收款",
  53773. "type": "integer"
  53774. },
  53775. "relationorderid": {
  53776. "description": "关联单号",
  53777. "type": "string"
  53778. },
  53779. "remark": {
  53780. "description": "备注",
  53781. "type": "string"
  53782. },
  53783. "trademode": {
  53784. "description": "交易模式",
  53785. "type": "integer"
  53786. }
  53787. }
  53788. },
  53789. "taaccount.QueryHisAmountLogRsp": {
  53790. "type": "object",
  53791. "required": [
  53792. "accountid",
  53793. "amount",
  53794. "amountadjusttype",
  53795. "autoid",
  53796. "balance",
  53797. "createtime",
  53798. "currentbalance",
  53799. "histradedate",
  53800. "operatetype"
  53801. ],
  53802. "properties": {
  53803. "accountid": {
  53804. "description": "资金账户ID",
  53805. "type": "integer"
  53806. },
  53807. "agoodscode": {
  53808. "description": "竞拍商品代码",
  53809. "type": "string"
  53810. },
  53811. "agoodsname": {
  53812. "description": "竞拍商品名称",
  53813. "type": "string"
  53814. },
  53815. "amount": {
  53816. "description": "资金金额",
  53817. "type": "number"
  53818. },
  53819. "amountadjusttype": {
  53820. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  53821. "type": "integer"
  53822. },
  53823. "autoid": {
  53824. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  53825. "type": "integer"
  53826. },
  53827. "balance": {
  53828. "description": "期初余额",
  53829. "type": "number"
  53830. },
  53831. "businesscode": {
  53832. "description": "业务编号",
  53833. "type": "integer"
  53834. },
  53835. "createtime": {
  53836. "description": "发生时间",
  53837. "type": "string"
  53838. },
  53839. "currencyid": {
  53840. "description": "币种ID",
  53841. "type": "integer"
  53842. },
  53843. "currentbalance": {
  53844. "description": "期末余额(变动后金额)",
  53845. "type": "number"
  53846. },
  53847. "dgoodscode": {
  53848. "description": "交割商品代码",
  53849. "type": "string"
  53850. },
  53851. "dgoodsname": {
  53852. "description": "交割商品名称",
  53853. "type": "string"
  53854. },
  53855. "goodscode": {
  53856. "description": "商品代码",
  53857. "type": "string"
  53858. },
  53859. "goodsid": {
  53860. "description": "商品ID",
  53861. "type": "integer"
  53862. },
  53863. "goodsname": {
  53864. "description": "商品名称",
  53865. "type": "string"
  53866. },
  53867. "histradedate": {
  53868. "description": "历史交易日",
  53869. "type": "string"
  53870. },
  53871. "isvaliddata": {
  53872. "description": "是否有效 - 0:无效 1:有效",
  53873. "type": "integer"
  53874. },
  53875. "marketid": {
  53876. "description": "市场ID",
  53877. "type": "integer"
  53878. },
  53879. "marketname": {
  53880. "description": "市场名称",
  53881. "type": "string"
  53882. },
  53883. "moneyticket": {
  53884. "description": "资金流水号:银行端流水号",
  53885. "type": "integer"
  53886. },
  53887. "operatetype": {
  53888. "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:营销收款",
  53889. "type": "integer"
  53890. },
  53891. "relationorderid": {
  53892. "description": "关联单号",
  53893. "type": "string"
  53894. },
  53895. "remark": {
  53896. "description": "备注",
  53897. "type": "string"
  53898. },
  53899. "trademode": {
  53900. "description": "交易模式",
  53901. "type": "integer"
  53902. }
  53903. }
  53904. },
  53905. "trade.QueryRecieptOrderRsp": {
  53906. "type": "object",
  53907. "required": [
  53908. "ordertime"
  53909. ],
  53910. "properties": {
  53911. "accountName": {
  53912. "description": "所属账号名称(已脱敏)",
  53913. "type": "string"
  53914. },
  53915. "accountid": {
  53916. "description": "资金账号",
  53917. "type": "integer"
  53918. },
  53919. "buyorsell": {
  53920. "description": "方向 - 0:买 1:卖",
  53921. "type": "integer"
  53922. },
  53923. "enableqty": {
  53924. "description": "可摘数量",
  53925. "type": "integer"
  53926. },
  53927. "goodscode": {
  53928. "description": "商品代码",
  53929. "type": "string"
  53930. },
  53931. "goodsid": {
  53932. "description": "商品ID",
  53933. "type": "integer"
  53934. },
  53935. "goodsname": {
  53936. "description": "商品名称",
  53937. "type": "string"
  53938. },
  53939. "orderid": {
  53940. "description": "委托单号",
  53941. "type": "string"
  53942. },
  53943. "orderprice": {
  53944. "description": "委托价格",
  53945. "type": "number"
  53946. },
  53947. "ordertime": {
  53948. "description": "委托时间",
  53949. "type": "string"
  53950. },
  53951. "tradedate": {
  53952. "description": "交易日(yyyyMMdd)",
  53953. "type": "string"
  53954. }
  53955. }
  53956. },
  53957. "user.LoginQueryRsp": {
  53958. "type": "object",
  53959. "properties": {
  53960. "areaRoles": {
  53961. "description": "所属角色信息",
  53962. "type": "array",
  53963. "items": {
  53964. "$ref": "#/definitions/models.Arearole"
  53965. }
  53966. },
  53967. "exchangeRateConfigs": {
  53968. "description": "汇率信息",
  53969. "type": "array",
  53970. "items": {
  53971. "$ref": "#/definitions/models.Exchangerateconfig"
  53972. }
  53973. },
  53974. "externalExchanges": {
  53975. "description": "外部交易所",
  53976. "type": "array",
  53977. "items": {
  53978. "$ref": "#/definitions/models.Externalexchange"
  53979. }
  53980. },
  53981. "goodsgroups": {
  53982. "description": "商品组",
  53983. "type": "array",
  53984. "items": {
  53985. "$ref": "#/definitions/models.Goodsgroup"
  53986. }
  53987. },
  53988. "loginAccount": {
  53989. "description": "登录账号",
  53990. "$ref": "#/definitions/models.Loginaccount"
  53991. },
  53992. "markets": {
  53993. "description": "市场",
  53994. "type": "array",
  53995. "items": {
  53996. "$ref": "#/definitions/models.Market"
  53997. }
  53998. },
  53999. "systemParams": {
  54000. "description": "系统参数",
  54001. "type": "array",
  54002. "items": {
  54003. "$ref": "#/definitions/models.Systemparam"
  54004. }
  54005. },
  54006. "userAccount": {
  54007. "description": "用户账号",
  54008. "$ref": "#/definitions/models.Useraccount"
  54009. },
  54010. "userInfo": {
  54011. "description": "用户信息",
  54012. "$ref": "#/definitions/models.Userinfo"
  54013. },
  54014. "username": {
  54015. "description": "用户姓名",
  54016. "type": "string"
  54017. }
  54018. }
  54019. }
  54020. },
  54021. "securityDefinitions": {
  54022. "ApiKeyAuth": {
  54023. "type": "apiKey",
  54024. "name": "Authorization",
  54025. "in": "header"
  54026. },
  54027. "Group": {
  54028. "type": "apiKey",
  54029. "name": "Group",
  54030. "in": "header"
  54031. },
  54032. "LoginID": {
  54033. "type": "apiKey",
  54034. "name": "LoginID",
  54035. "in": "header"
  54036. }
  54037. }
  54038. }`
  54039. // SwaggerInfo holds exported Swagger Info so clients can modify it
  54040. var SwaggerInfo = &swag.Spec{
  54041. Version: "1.0",
  54042. Host: "",
  54043. BasePath: "",
  54044. Schemes: []string{},
  54045. Title: "MTP2.0 查询服务 API",
  54046. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  54047. InfoInstanceName: "swagger",
  54048. SwaggerTemplate: docTemplate,
  54049. }
  54050. func init() {
  54051. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  54052. }